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
718 LIBGNOMEPRINTUI_CFLAGS
762 SAMPLES_RPATH_POSTLINK
808 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
809 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
810 COND_BUILD_DEBUG_UNICODE_0
811 COND_BUILD_DEBUG_UNICODE_1
813 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
814 COND_BUILD_RELEASE_UNICODE_0
815 COND_BUILD_RELEASE_UNICODE_1
824 COND_MONOLITHIC_0_SHARED_0
825 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
826 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
827 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
828 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
829 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
830 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
831 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
832 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_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_XRC_1
844 COND_MONOLITHIC_0_USE_MEDIA_1
845 COND_MONOLITHIC_0_USE_ODBC_1
847 COND_MONOLITHIC_1_SHARED_0
848 COND_MONOLITHIC_1_SHARED_1
849 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
850 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
851 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
852 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
853 COND_PLATFORM_MACOSX_1
854 COND_PLATFORM_MACOSX_1_TOOLKIT_
855 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
856 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
857 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
858 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
859 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
860 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
861 COND_PLATFORM_MACOSX_1_USE_GUI_1
862 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
863 COND_PLATFORM_MACOS_1
865 COND_PLATFORM_MSDOS_0
866 COND_PLATFORM_MSDOS_1
870 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
871 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
872 COND_PLATFORM_UNIX_1_USE_GUI_1
873 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
874 COND_PLATFORM_WIN32_0
875 COND_PLATFORM_WIN32_1
877 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
878 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
879 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
880 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
881 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
882 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
883 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
884 COND_SHARED_0_USE_XRC_1
885 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
886 COND_SHARED_0_WXUSE_ODBC_BUILTIN
887 COND_SHARED_0_WXUSE_REGEX_BUILTIN
888 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
890 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
891 COND_SHARED_1_USE_XRC_1
894 COND_TOOLKIT_COCOA_USE_GUI_1
895 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
897 COND_TOOLKIT_DFB_USE_GUI_1
899 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
900 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
901 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
902 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
903 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
904 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
905 COND_TOOLKIT_GTK_USE_GUI_1
907 COND_TOOLKIT_MAC_USE_GUI_1
908 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
910 COND_TOOLKIT_MGL_USE_GUI_1
912 COND_TOOLKIT_MOTIF_USE_GUI_1
913 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
915 COND_TOOLKIT_MSW_USE_GUI_1
916 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
917 COND_TOOLKIT_MSW_WXUNIV_0
919 COND_TOOLKIT_PM_USE_GUI_1
920 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
922 COND_TOOLKIT_WINCE_USE_GUI_1
923 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
924 COND_TOOLKIT_WINCE_WXUNIV_0
926 COND_TOOLKIT_X11_USE_GUI_1
928 COND_USE_EXCEPTIONS_0
929 COND_USE_EXCEPTIONS_1
932 COND_USE_GUI_1_WXUNIV_0
933 COND_USE_GUI_1_WXUNIV_1
934 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
935 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
936 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
943 COND_USE_SOSYMLINKS_1
944 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
945 COND_USE_SOVERLINUX_1
947 COND_USE_SOVERSOLARIS_1
951 COND_WINDOWS_IMPLIB_1
952 COND_WITH_PLUGIN_SDL_1
955 COND_WXUSE_EXPAT_BUILTIN
956 COND_WXUSE_LIBJPEG_BUILTIN
957 COND_WXUSE_LIBPNG_BUILTIN
958 COND_WXUSE_LIBTIFF_BUILTIN
959 COND_WXUSE_ODBC_BUILTIN
960 COND_WXUSE_REGEX_BUILTIN
961 COND_WXUSE_ZLIB_BUILTIN
963 WX_LIBRARY_BASENAME_NOGUI
964 WX_LIBRARY_BASENAME_GUI
997 WX_RESOURCES_MACOSX_ASCII
998 WX_RESOURCES_MACOSX_DATA
1007 ac_precious_vars
='build_alias
1029 LIBGNOMEPRINTUI_CFLAGS
1030 LIBGNOMEPRINTUI_LIBS
1039 ac_subdirs_all
='src/expat'
1041 # Initialize some variables set by options.
1043 ac_init_version
=false
1044 # The variables have the same names as the options, with
1045 # dashes changed to underlines.
1046 cache_file
=/dev
/null
1053 program_transform_name
=s
,x
,x
,
1061 # Installation directory options.
1062 # These are left unexpanded so users can "make install exec_prefix=/foo"
1063 # and all the variables that are supposed to be based on exec_prefix
1064 # by default will actually change.
1065 # Use braces instead of parens because sh, perl, etc. also accept them.
1066 # (The list follows the same order as the GNU Coding Standards.)
1067 bindir
='${exec_prefix}/bin'
1068 sbindir
='${exec_prefix}/sbin'
1069 libexecdir
='${exec_prefix}/libexec'
1070 datarootdir
='${prefix}/share'
1071 datadir
='${datarootdir}'
1072 sysconfdir
='${prefix}/etc'
1073 sharedstatedir
='${prefix}/com'
1074 localstatedir
='${prefix}/var'
1075 includedir
='${prefix}/include'
1076 oldincludedir
='/usr/include'
1077 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1078 infodir
='${datarootdir}/info'
1083 libdir
='${exec_prefix}/lib'
1084 localedir
='${datarootdir}/locale'
1085 mandir
='${datarootdir}/man'
1091 # If the previous option needs an argument, assign it.
1092 if test -n "$ac_prev"; then
1093 eval $ac_prev=\
$ac_option
1099 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1103 # Accept the important Cygnus configure options, so we can diagnose typos.
1105 case $ac_dashdash$ac_option in
1109 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1111 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1112 bindir
=$ac_optarg ;;
1114 -build | --build | --buil | --bui | --bu)
1115 ac_prev
=build_alias
;;
1116 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1117 build_alias
=$ac_optarg ;;
1119 -cache-file | --cache-file | --cache-fil | --cache-fi \
1120 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1121 ac_prev
=cache_file
;;
1122 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1123 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1124 cache_file
=$ac_optarg ;;
1126 --config-cache | -C)
1127 cache_file
=config.cache
;;
1129 -datadir | --datadir | --datadi | --datad)
1131 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1132 datadir
=$ac_optarg ;;
1134 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1135 | --dataroo | --dataro | --datar)
1136 ac_prev
=datarootdir
;;
1137 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1138 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1139 datarootdir
=$ac_optarg ;;
1141 -disable-* | --disable-*)
1142 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1143 # Reject names that are not valid shell variable names.
1144 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1145 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1146 { (exit 1); exit 1; }; }
1147 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1148 eval enable_
$ac_feature=no
;;
1150 -docdir | --docdir | --docdi | --doc | --do)
1152 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1153 docdir
=$ac_optarg ;;
1155 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1157 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1158 dvidir
=$ac_optarg ;;
1160 -enable-* | --enable-*)
1161 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1162 # Reject names that are not valid shell variable names.
1163 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1164 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1165 { (exit 1); exit 1; }; }
1166 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1167 eval enable_
$ac_feature=\
$ac_optarg ;;
1169 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1170 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1171 | --exec | --exe | --ex)
1172 ac_prev
=exec_prefix
;;
1173 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1174 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1175 | --exec=* | --exe=* | --ex=*)
1176 exec_prefix
=$ac_optarg ;;
1178 -gas | --gas | --ga | --g)
1179 # Obsolete; use --with-gas.
1182 -help | --help | --hel | --he | -h)
1183 ac_init_help
=long
;;
1184 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1185 ac_init_help
=recursive
;;
1186 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1187 ac_init_help
=short
;;
1189 -host | --host | --hos | --ho)
1190 ac_prev
=host_alias
;;
1191 -host=* | --host=* | --hos=* | --ho=*)
1192 host_alias
=$ac_optarg ;;
1194 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1196 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1198 htmldir
=$ac_optarg ;;
1200 -includedir | --includedir | --includedi | --included | --include \
1201 | --includ | --inclu | --incl | --inc)
1202 ac_prev
=includedir
;;
1203 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1204 | --includ=* | --inclu=* | --incl=* | --inc=*)
1205 includedir
=$ac_optarg ;;
1207 -infodir | --infodir | --infodi | --infod | --info | --inf)
1209 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1210 infodir
=$ac_optarg ;;
1212 -libdir | --libdir | --libdi | --libd)
1214 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1215 libdir
=$ac_optarg ;;
1217 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1218 | --libexe | --libex | --libe)
1219 ac_prev
=libexecdir
;;
1220 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1221 | --libexe=* | --libex=* | --libe=*)
1222 libexecdir
=$ac_optarg ;;
1224 -localedir | --localedir | --localedi | --localed | --locale)
1225 ac_prev
=localedir
;;
1226 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1227 localedir
=$ac_optarg ;;
1229 -localstatedir | --localstatedir | --localstatedi | --localstated \
1230 | --localstate | --localstat | --localsta | --localst | --locals)
1231 ac_prev
=localstatedir
;;
1232 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1233 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1234 localstatedir
=$ac_optarg ;;
1236 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1238 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1239 mandir
=$ac_optarg ;;
1241 -nfp | --nfp | --nf)
1242 # Obsolete; use --without-fp.
1245 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1246 | --no-cr | --no-c | -n)
1249 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1250 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1253 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1254 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1255 | --oldin | --oldi | --old | --ol | --o)
1256 ac_prev
=oldincludedir
;;
1257 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1258 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1259 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1260 oldincludedir
=$ac_optarg ;;
1262 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1264 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1265 prefix
=$ac_optarg ;;
1267 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1268 | --program-pre | --program-pr | --program-p)
1269 ac_prev
=program_prefix
;;
1270 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1271 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1272 program_prefix
=$ac_optarg ;;
1274 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1275 | --program-suf | --program-su | --program-s)
1276 ac_prev
=program_suffix
;;
1277 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1278 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1279 program_suffix
=$ac_optarg ;;
1281 -program-transform-name | --program-transform-name \
1282 | --program-transform-nam | --program-transform-na \
1283 | --program-transform-n | --program-transform- \
1284 | --program-transform | --program-transfor \
1285 | --program-transfo | --program-transf \
1286 | --program-trans | --program-tran \
1287 | --progr-tra | --program-tr | --program-t)
1288 ac_prev
=program_transform_name
;;
1289 -program-transform-name=* | --program-transform-name=* \
1290 | --program-transform-nam=* | --program-transform-na=* \
1291 | --program-transform-n=* | --program-transform-=* \
1292 | --program-transform=* | --program-transfor=* \
1293 | --program-transfo=* | --program-transf=* \
1294 | --program-trans=* | --program-tran=* \
1295 | --progr-tra=* | --program-tr=* | --program-t=*)
1296 program_transform_name
=$ac_optarg ;;
1298 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1300 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1301 pdfdir
=$ac_optarg ;;
1303 -psdir | --psdir | --psdi | --psd | --ps)
1305 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1308 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1309 | -silent | --silent | --silen | --sile | --sil)
1312 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1314 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1316 sbindir
=$ac_optarg ;;
1318 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1319 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1320 | --sharedst | --shareds | --shared | --share | --shar \
1322 ac_prev
=sharedstatedir
;;
1323 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1324 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1325 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1327 sharedstatedir
=$ac_optarg ;;
1329 -site | --site | --sit)
1331 -site=* | --site=* | --sit=*)
1334 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1336 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1337 srcdir
=$ac_optarg ;;
1339 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1340 | --syscon | --sysco | --sysc | --sys | --sy)
1341 ac_prev
=sysconfdir
;;
1342 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1343 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1344 sysconfdir
=$ac_optarg ;;
1346 -target | --target | --targe | --targ | --tar | --ta | --t)
1347 ac_prev
=target_alias
;;
1348 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1349 target_alias
=$ac_optarg ;;
1351 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1354 -version | --version | --versio | --versi | --vers | -V)
1355 ac_init_version
=: ;;
1358 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1359 # Reject names that are not valid shell variable names.
1360 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1361 { echo "$as_me: error: invalid package name: $ac_package" >&2
1362 { (exit 1); exit 1; }; }
1363 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1364 eval with_
$ac_package=\
$ac_optarg ;;
1366 -without-* | --without-*)
1367 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1368 # Reject names that are not valid shell variable names.
1369 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1370 { echo "$as_me: error: invalid package name: $ac_package" >&2
1371 { (exit 1); exit 1; }; }
1372 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1373 eval with_
$ac_package=no
;;
1376 # Obsolete; use --with-x.
1379 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1380 | --x-incl | --x-inc | --x-in | --x-i)
1381 ac_prev
=x_includes
;;
1382 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1383 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1384 x_includes
=$ac_optarg ;;
1386 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1387 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1388 ac_prev
=x_libraries
;;
1389 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1390 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1391 x_libraries
=$ac_optarg ;;
1393 -*) { echo "$as_me: error: unrecognized option: $ac_option
1394 Try \`$0 --help' for more information." >&2
1395 { (exit 1); exit 1; }; }
1399 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1400 # Reject names that are not valid shell variable names.
1401 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1402 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1403 { (exit 1); exit 1; }; }
1404 eval $ac_envvar=\
$ac_optarg
1405 export $ac_envvar ;;
1408 # FIXME: should be removed in autoconf 3.0.
1409 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1410 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1411 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1412 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1418 if test -n "$ac_prev"; then
1419 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1420 { echo "$as_me: error: missing argument to $ac_option" >&2
1421 { (exit 1); exit 1; }; }
1424 # Be sure to have absolute directory names.
1425 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1426 datadir sysconfdir sharedstatedir localstatedir includedir \
1427 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1428 libdir localedir mandir
1430 eval ac_val
=\$
$ac_var
1432 [\\/$
]* | ?
:[\\/]* ) continue;;
1433 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1435 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1436 { (exit 1); exit 1; }; }
1439 # There might be people who depend on the old broken behavior: `$host'
1440 # used to hold the argument of --host etc.
1441 # FIXME: To remove some day.
1444 target
=$target_alias
1446 # FIXME: To remove some day.
1447 if test "x$host_alias" != x
; then
1448 if test "x$build_alias" = x
; then
1449 cross_compiling
=maybe
1450 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1451 If a cross compiler is detected then cross compile mode will be used." >&2
1452 elif test "x$build_alias" != "x$host_alias"; then
1458 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1460 test "$silent" = yes && exec 6>/dev
/null
1463 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1464 ac_ls_di
=`ls -di .` &&
1465 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1466 { echo "$as_me: error: Working directory cannot be determined" >&2
1467 { (exit 1); exit 1; }; }
1468 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1469 { echo "$as_me: error: pwd does not report name of working directory" >&2
1470 { (exit 1); exit 1; }; }
1473 # Find the source files, if location was not specified.
1474 if test -z "$srcdir"; then
1475 ac_srcdir_defaulted
=yes
1476 # Try the directory containing this script, then the parent directory.
1477 ac_confdir
=`$as_dirname -- "$0" ||
1478 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1479 X"$0" : 'X\(//\)[^/]' \| \
1480 X"$0" : 'X\(//\)$' \| \
1481 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1483 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1501 if test ! -r "$srcdir/$ac_unique_file"; then
1505 ac_srcdir_defaulted
=no
1507 if test ! -r "$srcdir/$ac_unique_file"; then
1508 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1509 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1510 { (exit 1); exit 1; }; }
1512 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1514 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1515 { (exit 1); exit 1; }; }
1517 # When building in place, set srcdir=.
1518 if test "$ac_abs_confdir" = "$ac_pwd"; then
1521 # Remove unnecessary trailing slashes from srcdir.
1522 # Double slashes in file names in object file debugging info
1523 # mess up M-x gdb in Emacs.
1525 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1527 for ac_var
in $ac_precious_vars; do
1528 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1529 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1530 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1531 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1535 # Report the --help message.
1537 if test "$ac_init_help" = "long"; then
1538 # Omit some internal or obsolete options to make the list less imposing.
1539 # This message is too long to be a string in the A/UX 3.1 sh.
1541 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1543 Usage: $0 [OPTION]... [VAR=VALUE]...
1545 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1546 VAR=VALUE. See below for descriptions of some of the useful variables.
1548 Defaults for the options are specified in brackets.
1551 -h, --help display this help and exit
1552 --help=short display options specific to this package
1553 --help=recursive display the short help of all the included packages
1554 -V, --version display version information and exit
1555 -q, --quiet, --silent do not print \`checking...' messages
1556 --cache-file=FILE cache test results in FILE [disabled]
1557 -C, --config-cache alias for \`--cache-file=config.cache'
1558 -n, --no-create do not create output files
1559 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1561 Installation directories:
1562 --prefix=PREFIX install architecture-independent files in PREFIX
1563 [$ac_default_prefix]
1564 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1567 By default, \`make install' will install all the files in
1568 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1569 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1570 for instance \`--prefix=\$HOME'.
1572 For better control, use the options below.
1574 Fine tuning of the installation directories:
1575 --bindir=DIR user executables [EPREFIX/bin]
1576 --sbindir=DIR system admin executables [EPREFIX/sbin]
1577 --libexecdir=DIR program executables [EPREFIX/libexec]
1578 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1579 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1580 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1581 --libdir=DIR object code libraries [EPREFIX/lib]
1582 --includedir=DIR C header files [PREFIX/include]
1583 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1584 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1585 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1586 --infodir=DIR info documentation [DATAROOTDIR/info]
1587 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1588 --mandir=DIR man documentation [DATAROOTDIR/man]
1589 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1590 --htmldir=DIR html documentation [DOCDIR]
1591 --dvidir=DIR dvi documentation [DOCDIR]
1592 --pdfdir=DIR pdf documentation [DOCDIR]
1593 --psdir=DIR ps documentation [DOCDIR]
1599 --x-includes=DIR X include files are
in DIR
1600 --x-libraries=DIR X library files are
in DIR
1603 --build=BUILD configure
for building on BUILD
[guessed
]
1604 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1605 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1609 if test -n "$ac_init_help"; then
1610 case $ac_init_help in
1611 short
| recursive
) echo "Configuration of wxWidgets 2.9.0:";;
1616 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1617 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1618 --enable-gui use GUI classes
1619 --enable-monolithic build wxWidgets as single library
1620 --enable-plugins build parts of wxWidgets as loadable components
1621 --enable-universal use wxWidgets GUI controls instead of native ones
1622 --enable-nanox use NanoX
1623 --disable-gtk2 use GTK
+ 1.2 instead of
2.0
1624 --enable-gpe use GNOME PDA Environment features
if possible
1625 --enable-shared create shared library code
1626 --enable-optimise create optimised code
1627 --enable-debug same as debug_flag and debug_info
1628 --enable-stl use STL
for containers
1629 --enable-omf use OMF object format
1630 --enable-debug_flag set __WXDEBUG__ flag
(recommended
for developers
!)
1631 --enable-debug_info create code with debugging information
1632 --enable-debug_gdb create code with extra GDB debugging information
1633 --enable-debug_cntxt use wxDebugContext
1634 --enable-mem_tracing create code with memory tracing
1635 --enable-profile create code with profiling information
1636 --enable-no_rtti create code without RTTI information
1637 --enable-no_exceptions create code without C
++ exceptions handling
1638 --enable-permissive compile code disregarding strict ANSI
1639 --enable-no_deps create code without dependency information
1640 --disable-vararg_macros don
't use vararg macros, even if they are supported
1641 --enable-universal_binary[=SDK] create Mac PowerPC and Intel Universal binary (not yet working)
1642 --enable-compat26 enable wxWidgets 2.6 compatibility
1643 --disable-compat28 disable wxWidgets 2.8 compatibility
1644 --disable-rpath disable use of rpath for uninstalled builds
1645 --enable-intl use internationalization system
1646 --enable-config use wxConfig (and derived) classes
1647 --enable-protocols use wxProtocol and derived classes
1648 --enable-ftp use wxFTP (requires wxProtocol
1649 --enable-http use wxHTTP (requires wxProtocol
1650 --enable-fileproto use wxFileProto class (requires wxProtocol
1651 --enable-sockets use socket/network classes
1652 --enable-ole use OLE classes (Win32 only)
1653 --enable-dataobj use data object classes
1654 --enable-ipc use interprocess communication (wxSocket etc.)
1655 --enable-apple_ieee use the Apple IEEE codec
1656 --enable-arcstream use wxArchive streams
1657 --enable-backtrace use wxStackWalker class for getting backtraces
1658 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1659 --enable-cmdline use wxCmdLineParser class
1660 --enable-datetime use wxDateTime class
1661 --enable-debugreport use wxDebugReport class
1662 --enable-dialupman use dialup network classes
1663 --enable-dynlib use wxLibrary class for DLL loading
1664 --enable-dynamicloader use (new) wxDynamicLibrary class
1665 --enable-exceptions build exception-safe library
1666 --enable-ffile use wxFFile class
1667 --enable-file use wxFile class
1668 --enable-filesystem use virtual file systems classes
1669 --enable-fontmap use font encodings conversion classes
1670 --enable-fs_archive use virtual archive filesystems
1671 --enable-fs_inet use virtual HTTP/FTP filesystems
1672 --enable-fs_zip now replaced by fs_archive
1673 --enable-geometry use geometry class
1674 --enable-log use logging system
1675 --enable-longlong use wxLongLong class
1676 --enable-mimetype use wxMimeTypesManager
1677 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1678 --enable-snglinst use wxSingleInstanceChecker class
1679 --enable-std_iostreams use standard C++ stream classes
1680 --enable-std_string use standard C++ string classes
1681 --enable-stdpaths use wxStandardPaths class
1682 --enable-stopwatch use wxStopWatch class
1683 --enable-streams use wxStream etc classes
1684 --enable-sysoptions use wxSystemOptions
1685 --enable-tarstream use wxTar streams
1686 --enable-textbuf use wxTextBuffer class
1687 --enable-textfile use wxTextFile class
1688 --enable-timer use wxTimer class
1689 --enable-unicode compile wxString with Unicode support
1690 --enable-sound use wxSound class
1691 --enable-mediactrl use wxMediaCtrl class
1692 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1693 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1694 --enable-zipstream use wxZip streams
1695 --enable-url use wxURL class
1696 --enable-variant use wxVariant class
1697 --enable-protocol use wxProtocol class
1698 --enable-protocol-http HTTP support in wxProtocol
1699 --enable-protocol-ftp FTP support in wxProtocol
1700 --enable-protocol-file FILE support in wxProtocol
1701 --enable-threads use threads
1702 --enable-docview use document view architecture
1703 --enable-help use help subsystem
1704 --enable-mshtmlhelp use MS HTML Help (win32)
1705 --enable-html use wxHTML sub-library
1706 --enable-htmlhelp use wxHTML-based help
1707 --enable-xrc use XRC resources sub-library
1708 --enable-aui use AUI docking library
1709 --enable-constraints use layout-constraints system
1710 --enable-printarch use printing architecture
1711 --enable-mdi use multiple document interface architecture
1712 --enable-mdidoc use docview architecture with MDI
1713 --enable-loggui use standard GUI logger
1714 --enable-logwin use wxLogWindow
1715 --enable-logdialog use wxLogDialog
1716 --enable-webkit use wxWebKitCtrl (Mac)
1717 --enable-richtext use wxRichTextCtrl
1718 --enable-graphics_ctx use graphics context 2D drawing API
1719 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1720 --enable-prologio not available; see contrib
1721 --enable-resources not available; see contrib
1722 --enable-clipboard use wxClipboard class
1723 --enable-dnd use Drag'n
'Drop classes
1724 --enable-metafile use win32 metafiles
1725 --enable-controls use all usual controls
1726 --enable-accel use accelerators
1727 --enable-animatectrl use wxAnimationCtrl class
1728 --enable-button use wxButton class
1729 --enable-bmpbutton use wxBitmapButton class
1730 --enable-bmpcombobox use wxBitmapComboBox class
1731 --enable-calendar use wxCalendarCtrl class
1732 --enable-caret use wxCaret class
1733 --enable-checkbox use wxCheckBox class
1734 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1735 --enable-choice use wxChoice class
1736 --enable-choicebook use wxChoicebook class
1737 --enable-collpane use wxCollapsiblePane class
1738 --enable-colourpicker use wxColourPickerCtrl class
1739 --enable-combobox use wxComboBox class
1740 --enable-comboctrl use wxComboCtrl class
1741 --enable-datepick use wxDatePickerCtrl class
1742 --enable-dirpicker use wxDirPickerCtrl class
1743 --enable-display use wxDisplay class
1744 --enable-detect_sm use code to detect X11 session manager
1745 --enable-filepicker use wxFilePickerCtrl class
1746 --enable-fontpicker use wxFontPickerCtrl class
1747 --enable-gauge use wxGauge class
1748 --enable-grid use wxGrid class
1749 --enable-dataviewctrl use wxDataViewCtrl class
1750 --enable-hyperlink use wxHyperlinkCtrl class
1751 --enable-imaglist use wxImageList class
1752 --enable-listbook use wxListbook class
1753 --enable-listbox use wxListBox class
1754 --enable-listctrl use wxListCtrl class
1755 --enable-notebook use wxNotebook class
1756 --enable-odcombobox use wxOwnerDrawnComboBox class
1757 --enable-radiobox use wxRadioBox class
1758 --enable-radiobtn use wxRadioButton class
1759 --enable-sash use wxSashWindow class
1760 --enable-scrollbar use wxScrollBar class and scrollable windows
1761 --enable-searchctrl use wxSearchCtrl class
1762 --enable-slider use wxSlider class
1763 --enable-spinbtn use wxSpinButton class
1764 --enable-spinctrl use wxSpinCtrl class
1765 --enable-splitter use wxSplitterWindow class
1766 --enable-statbmp use wxStaticBitmap class
1767 --enable-statbox use wxStaticBox class
1768 --enable-statline use wxStaticLine class
1769 --enable-stattext use wxStaticText class
1770 --enable-statusbar use wxStatusBar class
1771 --enable-tabdialog use wxTabControl class
1772 --enable-textctrl use wxTextCtrl class
1773 --enable-togglebtn use wxToggleButton class
1774 --enable-toolbar use wxToolBar class
1775 --enable-tbarnative use native wxToolBar class
1776 --enable-treebook use wxTreebook class
1777 --enable-toolbook use wxToolbook class
1778 --enable-treectrl use wxTreeCtrl class
1779 --enable-tipwindow use wxTipWindow class
1780 --enable-popupwin use wxPopUpWindow class
1781 --enable-commondlg use all common dialogs
1782 --enable-aboutdlg use wxAboutBox
1783 --enable-choicedlg use wxChoiceDialog
1784 --enable-coldlg use wxColourDialog
1785 --enable-filedlg use wxFileDialog
1786 --enable-finddlg use wxFindReplaceDialog
1787 --enable-fontdlg use wxFontDialog
1788 --enable-dirdlg use wxDirDialog
1789 --enable-msgdlg use wxMessageDialog
1790 --enable-numberdlg use wxNumberEntryDialog
1791 --enable-splash use wxSplashScreen
1792 --enable-textdlg use wxTextDialog
1793 --enable-tipdlg use startup tips
1794 --enable-progressdlg use wxProgressDialog
1795 --enable-wizarddlg use wxWizard
1796 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1797 --enable-miniframe use wxMiniFrame class
1798 --enable-tooltips use wxToolTip class
1799 --enable-splines use spline drawing code
1800 --enable-mousewheel use mousewheel
1801 --enable-validators use wxValidator and derived classes
1802 --enable-busyinfo use wxBusyInfo
1803 --enable-joystick use wxJoystick
1804 --enable-metafiles use wxMetaFile (Win32 only)
1805 --enable-dragimage use wxDragImage
1806 --enable-accessibility enable accessibility support
1807 --enable-dccache cache temporary wxDC objects (Win32 only)
1808 --enable-palette use wxPalette class
1809 --enable-image use wxImage class
1810 --enable-gif use gif images (GIF file format)
1811 --enable-pcx use pcx images (PCX file format)
1812 --enable-tga use tga images (TGA file format)
1813 --enable-iff use iff images (IFF file format)
1814 --enable-pnm use pnm images (PNM file format)
1815 --enable-xpm use xpm images (XPM file format)
1816 --enable-icocur use Windows ICO and CUR formats
1817 --enable-official_build official build of wxWidgets (win32 DLL only)
1818 --enable-vendor=VENDOR vendor name (win32 DLL only)
1819 --disable-largefile omit support for large files
1820 --disable-gtktest do not try to compile and run a test GTK+ program
1821 --disable-gtktest Do not try to compile and run a test GTK program
1822 --disable-sdltest Do not try to compile and run a test SDL program
1823 --enable-omf use OMF object format (OS/2)
1824 --disable-dependency-tracking
1825 don't use dependency tracking even
if the compiler
1827 --disable-precomp-headers
1828 don
't use precompiled headers even if compiler can
1831 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1832 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1833 --without-subdirs don't generate makefiles
for samples
/demos
/...
1834 --with-gtk[=VERSION
] use GTK
+, VERSION can be
2 (default
), 1 or
"any"
1835 --with-motif use Motif
/Lesstif
1836 --with-mac use Mac OS X
1837 --with-cocoa use Cocoa
1838 --with-wine use Wine
1839 --with-msw use MS
-Windows
1840 --with-pm use OS
/2 Presentation Manager
1841 --with-mgl use SciTech MGL
1842 --with-directfb use DirectFB
1843 --with-microwin use MicroWindows
1845 --with-libpng use libpng
(PNG image format
)
1846 --with-libjpeg use libjpeg
(JPEG
file format
)
1847 --with-libtiff use libtiff
(TIFF
file format
)
1848 --with-libxpm use libxpm
(XPM
file format
)
1849 --with-libmspack use libmspack
(CHM
help files loading
)
1850 --with-sdl use SDL
for audio on Unix
1851 --with-gnomeprint use GNOME print
for printing under GNOME
1852 --with-gnomevfs use GNOME VFS
for associating MIME types
1853 --with-hildon use Hildon framework
for Nokia
770
1854 --with-opengl use OpenGL
(or Mesa
)
1855 --with-themes=all
|list use only the specified comma
-separated list of wxUniversal themes
1856 --with-dmalloc use dmalloc library
(http
://dmalloc.com
/)
1857 --with-regex enable support
for wxRegEx class
1858 --with-zlib use zlib
for LZW compression
1859 --with-odbc use the IODBC and wxODBC classes
1860 --with-expat enable XML support using expat parser
1861 --with-flavour=NAME specify a name to identify this build
1862 --with-gtk-prefix=PFX Prefix where GTK is installed
(optional
)
1863 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed
(optional
)
1864 --with-x use the X Window System
1865 --with-libiconv-prefix=DIR search
for libiconv
in DIR
/include and DIR
/lib
1866 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1867 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1868 --with-cppunit-prefix=PFX Prefix where CppUnit is installed
(optional
)
1869 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed
(optional
)
1871 Some influential environment variables
:
1872 CC C compiler
command
1873 CFLAGS C compiler flags
1874 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1875 nonstandard directory
<lib dir
>
1876 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1877 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1878 you have headers
in a nonstandard directory
<include dir
>
1880 CXX C
++ compiler
command
1881 CXXFLAGS C
++ compiler flags
1882 PKG_CONFIG path to pkg
-config utility
1884 C compiler flags
for DIRECTFB
, overriding pkg
-config
1886 linker flags
for DIRECTFB
, overriding pkg
-config
1887 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1889 C compiler flags
for PANGOX
, overriding pkg
-config
1890 PANGOX_LIBS linker flags
for PANGOX
, overriding pkg
-config
1892 C compiler flags
for PANGOFT2
, overriding pkg
-config
1894 linker flags
for PANGOFT2
, overriding pkg
-config
1896 C compiler flags
for PANGOXFT
, overriding pkg
-config
1898 linker flags
for PANGOXFT
, overriding pkg
-config
1899 LIBGNOMEPRINTUI_CFLAGS
1900 C compiler flags
for LIBGNOMEPRINTUI
, overriding pkg
-config
1901 LIBGNOMEPRINTUI_LIBS
1902 linker flags
for LIBGNOMEPRINTUI
, overriding pkg
-config
1904 C compiler flags
for GNOMEVFS
, overriding pkg
-config
1906 linker flags
for GNOMEVFS
, overriding pkg
-config
1908 C compiler flags
for HILDON
, overriding pkg
-config
1909 HILDON_LIBS linker flags
for HILDON
, overriding pkg
-config
1911 C compiler flags
for CAIRO
, overriding pkg
-config
1912 CAIRO_LIBS linker flags
for CAIRO
, overriding pkg
-config
1913 GST_CFLAGS C compiler flags
for GST
, overriding pkg
-config
1914 GST_LIBS linker flags
for GST
, overriding pkg
-config
1916 Use these variables to override the choices made by
`configure' or to help
1917 it to find libraries and programs with nonstandard names/locations.
1919 Report bugs to <wx-dev@lists.wxwidgets.org>.
1924 if test "$ac_init_help" = "recursive"; then
1925 # If there are subdirs, report their specific --help.
1926 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1927 test -d "$ac_dir" || continue
1931 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1933 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1934 # A ".." for each directory in $ac_dir_suffix.
1935 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1936 case $ac_top_builddir_sub in
1937 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1938 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1941 ac_abs_top_builddir=$ac_pwd
1942 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1943 # for backward compatibility:
1944 ac_top_builddir=$ac_top_build_prefix
1947 .) # We are building in place.
1949 ac_top_srcdir=$ac_top_builddir_sub
1950 ac_abs_top_srcdir=$ac_pwd ;;
1951 [\\/]* | ?:[\\/]* ) # Absolute name.
1952 ac_srcdir=$srcdir$ac_dir_suffix;
1953 ac_top_srcdir=$srcdir
1954 ac_abs_top_srcdir=$srcdir ;;
1956 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1957 ac_top_srcdir=$ac_top_build_prefix$srcdir
1958 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1960 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1962 cd "$ac_dir" || { ac_status=$?; continue; }
1963 # Check for guested configure.
1964 if test -f "$ac_srcdir/configure.gnu"; then
1966 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1967 elif test -f "$ac_srcdir/configure"; then
1969 $SHELL "$ac_srcdir/configure" --help=recursive
1971 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1973 cd "$ac_pwd" || { ac_status=$?; break; }
1977 test -n "$ac_init_help" && exit $ac_status
1978 if $ac_init_version; then
1980 wxWidgets configure 2.9.0
1981 generated by GNU Autoconf 2.61
1983 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1984 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1985 This configure script is free software; the Free Software Foundation
1986 gives unlimited permission to copy, distribute and modify it.
1990 cat >config.log <<_ACEOF
1991 This file contains any messages produced by compilers while
1992 running configure, to aid debugging if configure makes a mistake.
1994 It was created by wxWidgets $as_me 2.9.0, which was
1995 generated by GNU Autoconf 2.61. Invocation command line was
2007 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
2008 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
2009 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
2010 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
2011 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
2013 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
2014 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
2016 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
2017 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
2018 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
2019 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null
|| echo unknown
`
2020 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
2021 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
2022 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
2026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2030 test -z "$as_dir" && as_dir=.
2031 echo "PATH: $as_dir"
2047 # Keep a trace of the command line.
2048 # Strip out --no-create and --no-recursion so they do not pile up.
2049 # Strip out --silent because we don't want to record it for future runs.
2050 # Also quote any args containing shell meta-characters.
2051 # Make two passes to allow for proper duplicate-argument suppression.
2055 ac_must_keep_next=false
2061 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2062 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2063 | -silent | --silent | --silen | --sile | --sil)
2066 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2069 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2071 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2072 if test $ac_must_keep_next = true; then
2073 ac_must_keep_next=false # Got value, back to normal.
2076 *=* | --config-cache | -C | -disable-* | --disable-* \
2077 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2078 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2079 | -with-* | --with-* | -without-* | --without-* | --x)
2080 case "$ac_configure_args0 " in
2081 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2084 -* ) ac_must_keep_next=true ;;
2087 ac_configure_args="$ac_configure_args '$ac_arg'"
2092 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2093 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2095 # When interrupted or exit'd, cleanup temporary files, and complete
2096 # config.log. We remove comments because anyway the quotes in there
2097 # would cause problems or look ugly.
2098 # WARNING: Use '\'' to represent an apostrophe within the trap.
2099 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2100 trap 'exit_status=$?
2101 # Save into config.log some information that might help in debugging.
2106 ## ---------------- ##
2107 ## Cache variables. ##
2108 ## ---------------- ##
2111 # The following way of writing the cache mishandles newlines in values,
2113 for ac_var in `(set) 2>&1 | sed -n '\''s
/^\
([a
-zA-Z_][a
-zA-Z0-9_]*\
)=.
*/\
1/p
'\''`; do
2114 eval ac_val=\$$ac_var
2118 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2119 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2122 _ | IFS | as_nl) ;; #(
2123 *) $as_unset $ac_var ;;
2128 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2129 *${as_nl}ac_space=\ *)
2131 "s/'\''/'\''\\\\'\'''\''/g;
2132 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2135 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2143 ## ----------------- ##
2144 ## Output variables. ##
2145 ## ----------------- ##
2148 for ac_var in $ac_subst_vars
2150 eval ac_val=\$$ac_var
2152 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2154 echo "$ac_var='\''$ac_val'\''"
2158 if test -n "$ac_subst_files"; then
2160 ## ------------------- ##
2161 ## File substitutions. ##
2162 ## ------------------- ##
2165 for ac_var in $ac_subst_files
2167 eval ac_val=\$$ac_var
2169 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2171 echo "$ac_var='\''$ac_val'\''"
2176 if test -s confdefs.h; then
2186 test "$ac_signal" != 0 &&
2187 echo "$as_me: caught signal $ac_signal"
2188 echo "$as_me: exit $exit_status"
2190 rm -f core *.core core.conftest.* &&
2191 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2194 for ac_signal in 1 2 13 15; do
2195 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2199 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2200 rm -f -r conftest* confdefs.h
2202 # Predefined preprocessor variables.
2204 cat >>confdefs.h <<_ACEOF
2205 #define PACKAGE_NAME "$PACKAGE_NAME"
2209 cat >>confdefs.h <<_ACEOF
2210 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2214 cat >>confdefs.h <<_ACEOF
2215 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2219 cat >>confdefs.h <<_ACEOF
2220 #define PACKAGE_STRING "$PACKAGE_STRING"
2224 cat >>confdefs.h <<_ACEOF
2225 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2229 # Let the site file select an alternate cache file if it wants to.
2230 # Prefer explicitly selected file to automatically selected ones.
2231 if test -n "$CONFIG_SITE"; then
2232 set x "$CONFIG_SITE"
2233 elif test "x$prefix" != xNONE; then
2234 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2236 set x "$ac_default_prefix/share/config.site" \
2237 "$ac_default_prefix/etc/config.site"
2242 if test -r "$ac_site_file"; then
2243 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2244 echo "$as_me: loading site script $ac_site_file" >&6;}
2245 sed 's/^/| /' "$ac_site_file" >&5
2250 if test -r "$cache_file"; then
2251 # Some versions of bash will fail to source /dev/null (special
2252 # files actually), so we avoid doing that.
2253 if test -f "$cache_file"; then
2254 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2255 echo "$as_me: loading cache $cache_file" >&6;}
2257 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2258 *) . "./$cache_file";;
2262 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2263 echo "$as_me: creating cache $cache_file" >&6;}
2267 # Check that the precious variables saved in the cache have kept the same
2269 ac_cache_corrupted=false
2270 for ac_var in $ac_precious_vars; do
2271 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2272 eval ac_new_set=\$ac_env_${ac_var}_set
2273 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2274 eval ac_new_val=\$ac_env_${ac_var}_value
2275 case $ac_old_set,$ac_new_set in
2277 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2278 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2279 ac_cache_corrupted=: ;;
2281 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
2282 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2283 ac_cache_corrupted=: ;;
2286 if test "x$ac_old_val" != "x$ac_new_val"; then
2287 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2288 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2289 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
2290 echo "$as_me: former value
: $ac_old_val" >&2;}
2291 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
2292 echo "$as_me: current value
: $ac_new_val" >&2;}
2293 ac_cache_corrupted=:
2296 # Pass precious variables to config.status.
2297 if test "$ac_new_set" = set; then
2299 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2300 *) ac_arg=$ac_var=$ac_new_val ;;
2302 case " $ac_configure_args " in
2303 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2304 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2308 if $ac_cache_corrupted; then
2309 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
2310 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
2311 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
2312 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
2313 { (exit 1); exit 1; }; }
2341 ac_cpp='$CPP $CPPFLAGS'
2342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2351 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2352 if test -f "$ac_dir/install-sh"; then
2354 ac_install_sh="$ac_aux_dir/install-sh -c"
2356 elif test -f "$ac_dir/install.sh"; then
2358 ac_install_sh="$ac_aux_dir/install.sh -c"
2360 elif test -f "$ac_dir/shtool"; then
2362 ac_install_sh="$ac_aux_dir/shtool install -c"
2366 if test -z "$ac_aux_dir"; then
2367 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2368 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2369 { (exit 1); exit 1; }; }
2372 # These three variables are undocumented and unsupported,
2373 # and are intended to be withdrawn in a future Autoconf release.
2374 # They can cause serious problems if a builder's source tree is in a directory
2375 # whose full name contains unusual characters.
2376 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2377 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2378 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2381 # Make sure we can run config.sub.
2382 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2383 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2384 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2385 { (exit 1); exit 1; }; }
2387 { echo "$as_me:$LINENO: checking build system type" >&5
2388 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2389 if test "${ac_cv_build+set}" = set; then
2390 echo $ECHO_N "(cached) $ECHO_C" >&6
2392 ac_build_alias=$build_alias
2393 test "x$ac_build_alias" = x &&
2394 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2395 test "x$ac_build_alias" = x &&
2396 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2397 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2398 { (exit 1); exit 1; }; }
2399 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2400 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2401 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2402 { (exit 1); exit 1; }; }
2405 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2406 echo "${ECHO_T}$ac_cv_build" >&6; }
2407 case $ac_cv_build in
2409 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2410 echo "$as_me: error: invalid value of canonical build" >&2;}
2411 { (exit 1); exit 1; }; };;
2414 ac_save_IFS=$IFS; IFS='-'
2420 # Remember, the first character of IFS is used to create $*,
2421 # except with old shells:
2424 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2427 { echo "$as_me:$LINENO: checking host system type" >&5
2428 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2429 if test "${ac_cv_host+set}" = set; then
2430 echo $ECHO_N "(cached) $ECHO_C" >&6
2432 if test "x$host_alias" = x; then
2433 ac_cv_host=$ac_cv_build
2435 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2436 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2437 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2438 { (exit 1); exit 1; }; }
2442 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2443 echo "${ECHO_T}$ac_cv_host" >&6; }
2446 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2447 echo "$as_me: error: invalid value of canonical host" >&2;}
2448 { (exit 1); exit 1; }; };;
2451 ac_save_IFS=$IFS; IFS='-'
2457 # Remember, the first character of IFS is used to create $*,
2458 # except with old shells:
2461 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2464 { echo "$as_me:$LINENO: checking target system type" >&5
2465 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2466 if test "${ac_cv_target+set}" = set; then
2467 echo $ECHO_N "(cached) $ECHO_C" >&6
2469 if test "x$target_alias" = x; then
2470 ac_cv_target=$ac_cv_host
2472 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2473 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2474 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2475 { (exit 1); exit 1; }; }
2479 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2480 echo "${ECHO_T}$ac_cv_target" >&6; }
2481 case $ac_cv_target in
2483 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2484 echo "$as_me: error: invalid value of canonical target" >&2;}
2485 { (exit 1); exit 1; }; };;
2487 target=$ac_cv_target
2488 ac_save_IFS=$IFS; IFS='-'
2494 # Remember, the first character of IFS is used to create $*,
2495 # except with old shells:
2498 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2501 # The aliases save the names the user supplied, while $host etc.
2502 # will get canonicalized.
2503 test -n "$target_alias" &&
2504 test "$program_prefix$program_suffix$program_transform_name" = \
2506 program_prefix=${target_alias}-
2510 wx_major_version_number=2
2511 wx_minor_version_number=9
2513 wx_subrelease_number=0
2515 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2516 WX_VERSION=$WX_RELEASE.$wx_release_number
2517 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2519 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2522 wx_top_builddir="`pwd`"
2535 USE_BSD= USE_DARWIN= USE_FREEBSD=
2541 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2547 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2549 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2551 DEFAULT_wxUSE_COCOA=0
2555 DEFAULT_wxUSE_MICROWIN=0
2556 DEFAULT_wxUSE_MOTIF=0
2562 DEFAULT_DEFAULT_wxUSE_COCOA=0
2563 DEFAULT_DEFAULT_wxUSE_GTK=0
2564 DEFAULT_DEFAULT_wxUSE_MAC=0
2565 DEFAULT_DEFAULT_wxUSE_MGL=0
2566 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2567 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2568 DEFAULT_DEFAULT_wxUSE_MSW=0
2569 DEFAULT_DEFAULT_wxUSE_PM=0
2570 DEFAULT_DEFAULT_wxUSE_X11=0
2571 DEFAULT_DEFAULT_wxUSE_DFB=0
2576 SAMPLES_RPATH_POSTLINK=
2578 DEFAULT_STD_FLAG=yes
2583 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2584 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2586 cat >>confdefs.h <<\_ACEOF
2591 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2595 cat >>confdefs.h <<\_ACEOF
2600 if test "x$TMP" = "xalpha"; then
2602 cat >>confdefs.h <<\_ACEOF
2607 DEFAULT_DEFAULT_wxUSE_GTK=1
2609 *-*-gnu* | *-*-k*bsd*-gnu )
2612 if test "x$TMP" = "xalpha"; then
2614 cat >>confdefs.h <<\_ACEOF
2619 DEFAULT_DEFAULT_wxUSE_GTK=1
2621 *-*-irix5* | *-*-irix6* )
2624 cat >>confdefs.h <<\_ACEOF
2628 cat >>confdefs.h <<\_ACEOF
2632 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2638 cat >>confdefs.h <<\_ACEOF
2642 cat >>confdefs.h <<\_ACEOF
2643 #define __SOLARIS__ 1
2646 cat >>confdefs.h <<\_ACEOF
2650 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2651 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2657 cat >>confdefs.h <<\_ACEOF
2661 cat >>confdefs.h <<\_ACEOF
2665 cat >>confdefs.h <<\_ACEOF
2669 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2674 cat >>confdefs.h <<\_ACEOF
2675 #define __FREEBSD__ 1
2678 cat >>confdefs.h <<\_ACEOF
2682 DEFAULT_DEFAULT_wxUSE_GTK=1
2684 *-*-openbsd*|*-*-mirbsd*)
2687 cat >>confdefs.h <<\_ACEOF
2688 #define __OPENBSD__ 1
2691 cat >>confdefs.h <<\_ACEOF
2695 DEFAULT_DEFAULT_wxUSE_GTK=1
2700 cat >>confdefs.h <<\_ACEOF
2701 #define __NETBSD__ 1
2704 cat >>confdefs.h <<\_ACEOF
2708 DEFAULT_DEFAULT_wxUSE_GTK=1
2709 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2711 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2716 cat >>confdefs.h <<\_ACEOF
2720 cat >>confdefs.h <<\_ACEOF
2724 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2725 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2730 cat >>confdefs.h <<\_ACEOF
2734 cat >>confdefs.h <<\_ACEOF
2738 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2743 cat >>confdefs.h <<\_ACEOF
2747 cat >>confdefs.h <<\_ACEOF
2751 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2758 cat >>confdefs.h <<\_ACEOF
2762 cat >>confdefs.h <<\_ACEOF
2766 cat >>confdefs.h <<\_ACEOF
2770 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2777 cat >>confdefs.h <<\_ACEOF
2778 #define __UNIXWARE__ 1
2783 *-*-cygwin* | *-*-mingw32* )
2786 DEFAULT_DEFAULT_wxUSE_MSW=1
2792 cat >>confdefs.h <<\_ACEOF
2797 DEFAULT_DEFAULT_wxUSE_MGL=1
2800 *-pc-os2_emx | *-pc-os2-emx )
2801 cat >>confdefs.h <<\_ACEOF
2806 cat >>confdefs.h <<\_ACEOF
2811 DEFAULT_DEFAULT_wxUSE_PM=1
2813 LDFLAGS="$LDFLAGS -Zcrtdll"
2814 ac_executable_extensions=".exe"
2815 export ac_executable_extensions
2819 for ac_dir in $PATH; do
2821 if test -z "$ac_TEMP_PATH"; then
2822 ac_TEMP_PATH="$ac_dir"
2824 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2827 export PATH="$ac_TEMP_PATH"
2836 cat >>confdefs.h <<\_ACEOF
2840 cat >>confdefs.h <<\_ACEOF
2841 #define __DARWIN__ 1
2844 cat >>confdefs.h <<\_ACEOF
2845 #define TARGET_CARBON 1
2848 DEFAULT_DEFAULT_wxUSE_MAC=1
2851 powerpc-apple-macos* )
2853 ac_cv_c_bigendian=yes
2855 DEFAULT_DEFAULT_wxUSE_MAC=1
2861 cat >>confdefs.h <<\_ACEOF
2868 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2869 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2870 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2871 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2873 DEFAULT_DEFAULT_wxUSE_X11=1
2874 DEFAULT_wxUSE_SHARED=no
2880 wx_arg_cache_file="configarg.cache"
2881 echo "loading argument cache $wx_arg_cache_file"
2882 rm -f ${wx_arg_cache_file}.tmp
2883 touch ${wx_arg_cache_file}.tmp
2884 touch ${wx_arg_cache_file}
2888 if test $DEBUG_CONFIGURE = 1; then
2889 DEFAULT_wxUSE_UNIVERSAL=no
2890 DEFAULT_wxUSE_STL=no
2892 DEFAULT_wxUSE_NANOX=no
2894 DEFAULT_wxUSE_THREADS=yes
2896 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2897 DEFAULT_wxUSE_OPTIMISE=no
2898 DEFAULT_wxUSE_PROFILE=no
2899 DEFAULT_wxUSE_NO_DEPS=no
2900 DEFAULT_wxUSE_VARARG_MACROS=no
2901 DEFAULT_wxUSE_NO_RTTI=no
2902 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2903 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2904 DEFAULT_wxUSE_RPATH=yes
2905 DEFAULT_wxUSE_PERMISSIVE=no
2906 DEFAULT_wxUSE_DEBUG_FLAG=yes
2907 DEFAULT_wxUSE_DEBUG_INFO=yes
2908 DEFAULT_wxUSE_DEBUG_GDB=yes
2909 DEFAULT_wxUSE_MEM_TRACING=no
2910 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2911 DEFAULT_wxUSE_DMALLOC=no
2912 DEFAULT_wxUSE_APPLE_IEEE=no
2914 DEFAULT_wxUSE_EXCEPTIONS=no
2915 DEFAULT_wxUSE_LOG=yes
2916 DEFAULT_wxUSE_LOGWINDOW=no
2917 DEFAULT_wxUSE_LOGGUI=no
2918 DEFAULT_wxUSE_LOGDIALOG=no
2920 DEFAULT_wxUSE_GUI=yes
2921 DEFAULT_wxUSE_CONTROLS=no
2923 DEFAULT_wxUSE_REGEX=no
2924 DEFAULT_wxUSE_XML=no
2925 DEFAULT_wxUSE_EXPAT=no
2926 DEFAULT_wxUSE_ZLIB=no
2927 DEFAULT_wxUSE_LIBPNG=no
2928 DEFAULT_wxUSE_LIBJPEG=no
2929 DEFAULT_wxUSE_LIBTIFF=no
2930 DEFAULT_wxUSE_LIBXPM=no
2931 DEFAULT_wxUSE_LIBMSPACK=no
2932 DEFAULT_wxUSE_LIBSDL=no
2933 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2934 DEFAULT_wxUSE_LIBGNOMEVFS=no
2935 DEFAULT_wxUSE_LIBHILDON=no
2936 DEFAULT_wxUSE_ODBC=no
2937 DEFAULT_wxUSE_OPENGL=no
2939 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2940 DEFAULT_wxUSE_STACKWALKER=no
2941 DEFAULT_wxUSE_DEBUGREPORT=no
2942 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2943 DEFAULT_wxUSE_STD_IOSTREAM=no
2944 DEFAULT_wxUSE_STD_STRING=no
2945 DEFAULT_wxUSE_CMDLINE_PARSER=no
2946 DEFAULT_wxUSE_DATETIME=no
2947 DEFAULT_wxUSE_TIMER=no
2948 DEFAULT_wxUSE_STOPWATCH=no
2949 DEFAULT_wxUSE_FILE=no
2950 DEFAULT_wxUSE_FFILE=no
2951 DEFAULT_wxUSE_STDPATHS=no
2952 DEFAULT_wxUSE_TEXTBUFFER=no
2953 DEFAULT_wxUSE_TEXTFILE=no
2954 DEFAULT_wxUSE_SOUND=no
2955 DEFAULT_wxUSE_MEDIACTRL=no
2956 DEFAULT_wxUSE_GSTREAMER8=no
2957 DEFAULT_wxUSE_PRINTF_POS_PARAMS=no
2958 DEFAULT_wxUSE_INTL=no
2959 DEFAULT_wxUSE_CONFIG=no
2960 DEFAULT_wxUSE_FONTMAP=no
2961 DEFAULT_wxUSE_STREAMS=no
2962 DEFAULT_wxUSE_SOCKETS=no
2963 DEFAULT_wxUSE_OLE=no
2964 DEFAULT_wxUSE_DATAOBJ=no
2965 DEFAULT_wxUSE_DIALUP_MANAGER=no
2966 DEFAULT_wxUSE_JOYSTICK=no
2967 DEFAULT_wxUSE_DYNLIB_CLASS=no
2968 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2969 DEFAULT_wxUSE_LONGLONG=no
2970 DEFAULT_wxUSE_GEOMETRY=no
2972 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2973 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2974 DEFAULT_wxUSE_POSTSCRIPT=no
2976 DEFAULT_wxUSE_CLIPBOARD=no
2977 DEFAULT_wxUSE_TOOLTIPS=no
2978 DEFAULT_wxUSE_DRAG_AND_DROP=no
2979 DEFAULT_wxUSE_DRAGIMAGE=no
2980 DEFAULT_wxUSE_SPLINES=no
2981 DEFAULT_wxUSE_MOUSEWHEEL=no
2983 DEFAULT_wxUSE_MDI=no
2984 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2985 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2986 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2988 DEFAULT_wxUSE_RESOURCES=no
2989 DEFAULT_wxUSE_CONSTRAINTS=no
2990 DEFAULT_wxUSE_IPC=no
2991 DEFAULT_wxUSE_HELP=no
2992 DEFAULT_wxUSE_MS_HTML_HELP=no
2993 DEFAULT_wxUSE_WXHTML_HELP=no
2994 DEFAULT_wxUSE_TREELAYOUT=no
2995 DEFAULT_wxUSE_METAFILE=no
2996 DEFAULT_wxUSE_MIMETYPE=no
2997 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2998 DEFAULT_wxUSE_PROTOCOL=no
2999 DEFAULT_wxUSE_PROTOCOL_HTTP=no
3000 DEFAULT_wxUSE_PROTOCOL_FTP=no
3001 DEFAULT_wxUSE_PROTOCOL_FILE=no
3002 DEFAULT_wxUSE_URL=no
3003 DEFAULT_wxUSE_VARIANT=no
3005 DEFAULT_wxUSE_ABOUTDLG=no
3006 DEFAULT_wxUSE_COMMONDLGS=no
3007 DEFAULT_wxUSE_CHOICEDLG=no
3008 DEFAULT_wxUSE_COLOURDLG=no
3009 DEFAULT_wxUSE_DIRDLG=no
3010 DEFAULT_wxUSE_FILEDLG=no
3011 DEFAULT_wxUSE_FINDREPLDLG=no
3012 DEFAULT_wxUSE_FONTDLG=no
3013 DEFAULT_wxUSE_MSGDLG=no
3014 DEFAULT_wxUSE_NUMBERDLG=no
3015 DEFAULT_wxUSE_TEXTDLG=no
3016 DEFAULT_wxUSE_SPLASH=no
3017 DEFAULT_wxUSE_STARTUP_TIPS=no
3018 DEFAULT_wxUSE_PROGRESSDLG=no
3019 DEFAULT_wxUSE_WIZARDDLG=no
3021 DEFAULT_wxUSE_MENUS=no
3022 DEFAULT_wxUSE_MINIFRAME=no
3023 DEFAULT_wxUSE_HTML=no
3024 DEFAULT_wxUSE_RICHTEXT=no
3025 DEFAULT_wxUSE_XRC=no
3026 DEFAULT_wxUSE_AUI=no
3027 DEFAULT_wxUSE_WEBKIT=no
3028 DEFAULT_wxUSE_FILESYSTEM=no
3029 DEFAULT_wxUSE_FS_INET=no
3030 DEFAULT_wxUSE_FS_ZIP=no
3031 DEFAULT_wxUSE_FS_ARCHIVE=no
3032 DEFAULT_wxUSE_BUSYINFO=no
3033 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
3034 DEFAULT_wxUSE_ZIPSTREAM=no
3035 DEFAULT_wxUSE_TARSTREAM=no
3036 DEFAULT_wxUSE_VALIDATORS=no
3038 DEFAULT_wxUSE_ACCEL=no
3039 DEFAULT_wxUSE_ANIMATIONCTRL=no
3040 DEFAULT_wxUSE_BUTTON=no
3041 DEFAULT_wxUSE_BMPBUTTON=no
3042 DEFAULT_wxUSE_BITMAPCOMBOBOX=no
3043 DEFAULT_wxUSE_CALCTRL=no
3044 DEFAULT_wxUSE_CARET=no
3045 DEFAULT_wxUSE_CHECKBOX=no
3046 DEFAULT_wxUSE_CHECKLST=no
3047 DEFAULT_wxUSE_CHOICE=no
3048 DEFAULT_wxUSE_CHOICEBOOK=no
3049 DEFAULT_wxUSE_COLLPANE=no
3050 DEFAULT_wxUSE_COLOURPICKERCTRL=no
3051 DEFAULT_wxUSE_COMBOBOX=no
3052 DEFAULT_wxUSE_COMBOCTRL=no
3053 DEFAULT_wxUSE_DATEPICKCTRL=no
3054 DEFAULT_wxUSE_DISPLAY=no
3055 DEFAULT_wxUSE_DETECT_SM=no
3056 DEFAULT_wxUSE_DIRPICKERCTRL=no
3057 DEFAULT_wxUSE_FILEPICKERCTRL=no
3058 DEFAULT_wxUSE_FONTPICKERCTRL=no
3059 DEFAULT_wxUSE_GAUGE=no
3060 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
3061 DEFAULT_wxUSE_GRID=no
3062 DEFAULT_wxUSE_HYPERLINKCTRL=no
3063 DEFAULT_wxUSE_DATAVIEWCTRL=no
3064 DEFAULT_wxUSE_IMAGLIST=no
3065 DEFAULT_wxUSE_LISTBOOK=no
3066 DEFAULT_wxUSE_LISTBOX=no
3067 DEFAULT_wxUSE_LISTCTRL=no
3068 DEFAULT_wxUSE_NOTEBOOK=no
3069 DEFAULT_wxUSE_ODCOMBOBOX=no
3070 DEFAULT_wxUSE_RADIOBOX=no
3071 DEFAULT_wxUSE_RADIOBTN=no
3072 DEFAULT_wxUSE_SASH=no
3073 DEFAULT_wxUSE_SCROLLBAR=no
3074 DEFAULT_wxUSE_SEARCHCTRL=no
3075 DEFAULT_wxUSE_SLIDER=no
3076 DEFAULT_wxUSE_SPINBTN=no
3077 DEFAULT_wxUSE_SPINCTRL=no
3078 DEFAULT_wxUSE_SPLITTER=no
3079 DEFAULT_wxUSE_STATBMP=no
3080 DEFAULT_wxUSE_STATBOX=no
3081 DEFAULT_wxUSE_STATLINE=no
3082 DEFAULT_wxUSE_STATTEXT=no
3083 DEFAULT_wxUSE_STATUSBAR=yes
3084 DEFAULT_wxUSE_TAB_DIALOG=no
3085 DEFAULT_wxUSE_TEXTCTRL=no
3086 DEFAULT_wxUSE_TOGGLEBTN=no
3087 DEFAULT_wxUSE_TOOLBAR=no
3088 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
3089 DEFAULT_wxUSE_TREEBOOK=no
3090 DEFAULT_wxUSE_TOOLBOOK=no
3091 DEFAULT_wxUSE_TREECTRL=no
3092 DEFAULT_wxUSE_POPUPWIN=no
3093 DEFAULT_wxUSE_TIPWINDOW=no
3095 DEFAULT_wxUSE_UNICODE=no
3096 DEFAULT_wxUSE_UNICODE_MSLU=no
3097 DEFAULT_wxUSE_WCSRTOMBS=no
3099 DEFAULT_wxUSE_PALETTE=no
3100 DEFAULT_wxUSE_IMAGE=no
3101 DEFAULT_wxUSE_GIF=no
3102 DEFAULT_wxUSE_PCX=no
3103 DEFAULT_wxUSE_TGA=no
3104 DEFAULT_wxUSE_PNM=no
3105 DEFAULT_wxUSE_IFF=no
3106 DEFAULT_wxUSE_XPM=no
3107 DEFAULT_wxUSE_ICO_CUR=no
3108 DEFAULT_wxUSE_ACCESSIBILITY=no
3110 DEFAULT_wxUSE_MONOLITHIC=no
3111 DEFAULT_wxUSE_PLUGINS=no
3112 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3114 DEFAULT_wxUSE_UNIVERSAL=no
3115 DEFAULT_wxUSE_STL=no
3117 DEFAULT_wxUSE_NANOX=no
3119 DEFAULT_wxUSE_THREADS=yes
3121 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
3122 DEFAULT_wxUSE_OPTIMISE=yes
3123 DEFAULT_wxUSE_PROFILE=no
3124 DEFAULT_wxUSE_NO_DEPS=no
3125 DEFAULT_wxUSE_VARARG_MACROS=yes
3126 DEFAULT_wxUSE_NO_RTTI=no
3127 DEFAULT_wxUSE_NO_EXCEPTIONS=no
3128 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
3129 DEFAULT_wxUSE_RPATH=yes
3130 DEFAULT_wxUSE_PERMISSIVE=no
3131 DEFAULT_wxUSE_DEBUG_FLAG=no
3132 DEFAULT_wxUSE_DEBUG_INFO=no
3133 DEFAULT_wxUSE_DEBUG_GDB=no
3134 DEFAULT_wxUSE_MEM_TRACING=no
3135 DEFAULT_wxUSE_DEBUG_CONTEXT=no
3136 DEFAULT_wxUSE_DMALLOC=no
3137 DEFAULT_wxUSE_APPLE_IEEE=yes
3139 DEFAULT_wxUSE_EXCEPTIONS=yes
3140 DEFAULT_wxUSE_LOG=yes
3141 DEFAULT_wxUSE_LOGWINDOW=yes
3142 DEFAULT_wxUSE_LOGGUI=yes
3143 DEFAULT_wxUSE_LOGDIALOG=yes
3145 DEFAULT_wxUSE_GUI=yes
3147 DEFAULT_wxUSE_REGEX=yes
3148 DEFAULT_wxUSE_XML=yes
3149 DEFAULT_wxUSE_EXPAT=yes
3150 DEFAULT_wxUSE_ZLIB=yes
3151 DEFAULT_wxUSE_LIBPNG=yes
3152 DEFAULT_wxUSE_LIBJPEG=yes
3153 DEFAULT_wxUSE_LIBTIFF=yes
3154 DEFAULT_wxUSE_LIBXPM=yes
3155 DEFAULT_wxUSE_LIBMSPACK=yes
3156 DEFAULT_wxUSE_LIBSDL=no
3157 DEFAULT_wxUSE_LIBGNOMEPRINT=yes
3158 DEFAULT_wxUSE_LIBGNOMEVFS=no
3159 DEFAULT_wxUSE_LIBHILDON=no
3160 DEFAULT_wxUSE_ODBC=no
3161 DEFAULT_wxUSE_OPENGL=no
3163 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
3164 DEFAULT_wxUSE_STACKWALKER=yes
3165 DEFAULT_wxUSE_DEBUGREPORT=yes
3166 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
3167 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
3168 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
3169 DEFAULT_wxUSE_CMDLINE_PARSER=yes
3170 DEFAULT_wxUSE_DATETIME=yes
3171 DEFAULT_wxUSE_TIMER=yes
3172 DEFAULT_wxUSE_STOPWATCH=yes
3173 DEFAULT_wxUSE_FILE=yes
3174 DEFAULT_wxUSE_FFILE=yes
3175 DEFAULT_wxUSE_STDPATHS=yes
3176 DEFAULT_wxUSE_TEXTBUFFER=yes
3177 DEFAULT_wxUSE_TEXTFILE=yes
3178 DEFAULT_wxUSE_SOUND=yes
3179 DEFAULT_wxUSE_MEDIACTRL=no
3180 DEFAULT_wxUSE_GSTREAMER8=no
3181 DEFAULT_wxUSE_PRINTF_POS_PARAMS=yes
3182 DEFAULT_wxUSE_INTL=yes
3183 DEFAULT_wxUSE_CONFIG=yes
3184 DEFAULT_wxUSE_FONTMAP=yes
3185 DEFAULT_wxUSE_STREAMS=yes
3186 DEFAULT_wxUSE_SOCKETS=yes
3187 DEFAULT_wxUSE_OLE=yes
3188 DEFAULT_wxUSE_DATAOBJ=yes
3189 DEFAULT_wxUSE_DIALUP_MANAGER=yes
3190 DEFAULT_wxUSE_JOYSTICK=yes
3191 DEFAULT_wxUSE_DYNLIB_CLASS=yes
3192 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
3193 DEFAULT_wxUSE_LONGLONG=yes
3194 DEFAULT_wxUSE_GEOMETRY=yes
3196 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
3197 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
3198 DEFAULT_wxUSE_POSTSCRIPT=yes
3200 DEFAULT_wxUSE_CLIPBOARD=yes
3201 DEFAULT_wxUSE_TOOLTIPS=yes
3202 DEFAULT_wxUSE_DRAG_AND_DROP=yes
3203 DEFAULT_wxUSE_DRAGIMAGE=yes
3204 DEFAULT_wxUSE_SPLINES=yes
3205 DEFAULT_wxUSE_MOUSEWHEEL=yes
3207 DEFAULT_wxUSE_MDI=yes
3208 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
3209 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
3210 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
3212 DEFAULT_wxUSE_RESOURCES=no
3213 DEFAULT_wxUSE_CONSTRAINTS=yes
3214 DEFAULT_wxUSE_IPC=yes
3215 DEFAULT_wxUSE_HELP=yes
3216 DEFAULT_wxUSE_MS_HTML_HELP=yes
3217 DEFAULT_wxUSE_WXHTML_HELP=yes
3218 DEFAULT_wxUSE_TREELAYOUT=yes
3219 DEFAULT_wxUSE_METAFILE=yes
3220 DEFAULT_wxUSE_MIMETYPE=yes
3221 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
3222 DEFAULT_wxUSE_PROTOCOL=yes
3223 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
3224 DEFAULT_wxUSE_PROTOCOL_FTP=yes
3225 DEFAULT_wxUSE_PROTOCOL_FILE=yes
3226 DEFAULT_wxUSE_URL=yes
3227 DEFAULT_wxUSE_VARIANT=yes
3229 DEFAULT_wxUSE_ABOUTDLG=yes
3230 DEFAULT_wxUSE_COMMONDLGS=yes
3231 DEFAULT_wxUSE_CHOICEDLG=yes
3232 DEFAULT_wxUSE_COLOURDLG=yes
3233 DEFAULT_wxUSE_DIRDLG=yes
3234 DEFAULT_wxUSE_FILEDLG=yes
3235 DEFAULT_wxUSE_FINDREPLDLG=yes
3236 DEFAULT_wxUSE_FONTDLG=yes
3237 DEFAULT_wxUSE_MSGDLG=yes
3238 DEFAULT_wxUSE_NUMBERDLG=yes
3239 DEFAULT_wxUSE_TEXTDLG=yes
3240 DEFAULT_wxUSE_SPLASH=yes
3241 DEFAULT_wxUSE_STARTUP_TIPS=yes
3242 DEFAULT_wxUSE_PROGRESSDLG=yes
3243 DEFAULT_wxUSE_WIZARDDLG=yes
3245 DEFAULT_wxUSE_MENUS=yes
3246 DEFAULT_wxUSE_MINIFRAME=yes
3247 DEFAULT_wxUSE_HTML=yes
3248 DEFAULT_wxUSE_RICHTEXT=yes
3249 DEFAULT_wxUSE_XRC=yes
3250 DEFAULT_wxUSE_AUI=yes
3251 DEFAULT_wxUSE_WEBKIT=yes
3252 DEFAULT_wxUSE_FILESYSTEM=yes
3253 DEFAULT_wxUSE_FS_INET=yes
3254 DEFAULT_wxUSE_FS_ZIP=yes
3255 DEFAULT_wxUSE_FS_ARCHIVE=yes
3256 DEFAULT_wxUSE_BUSYINFO=yes
3257 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
3258 DEFAULT_wxUSE_ZIPSTREAM=yes
3259 DEFAULT_wxUSE_TARSTREAM=yes
3260 DEFAULT_wxUSE_VALIDATORS=yes
3262 DEFAULT_wxUSE_ACCEL=yes
3263 DEFAULT_wxUSE_ANIMATIONCTRL=yes
3264 DEFAULT_wxUSE_BUTTON=yes
3265 DEFAULT_wxUSE_BMPBUTTON=yes
3266 DEFAULT_wxUSE_BITMAPCOMBOBOX=yes
3267 DEFAULT_wxUSE_CALCTRL=yes
3268 DEFAULT_wxUSE_CARET=yes
3269 DEFAULT_wxUSE_CHECKBOX=yes
3270 DEFAULT_wxUSE_CHECKLST=yes
3271 DEFAULT_wxUSE_CHOICE=yes
3272 DEFAULT_wxUSE_CHOICEBOOK=yes
3273 DEFAULT_wxUSE_COLLPANE=yes
3274 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
3275 DEFAULT_wxUSE_COMBOBOX=yes
3276 DEFAULT_wxUSE_COMBOCTRL=yes
3277 DEFAULT_wxUSE_DATEPICKCTRL=yes
3278 DEFAULT_wxUSE_DISPLAY=yes
3279 DEFAULT_wxUSE_DETECT_SM=yes
3280 DEFAULT_wxUSE_DIRPICKERCTRL=yes
3281 DEFAULT_wxUSE_FILEPICKERCTRL=yes
3282 DEFAULT_wxUSE_FONTPICKERCTRL=yes
3283 DEFAULT_wxUSE_GAUGE=yes
3284 DEFAULT_wxUSE_GRID=yes
3285 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
3286 DEFAULT_wxUSE_HYPERLINKCTRL=yes
3287 DEFAULT_wxUSE_DATAVIEWCTRL=no
3288 DEFAULT_wxUSE_IMAGLIST=yes
3289 DEFAULT_wxUSE_LISTBOOK=yes
3290 DEFAULT_wxUSE_LISTBOX=yes
3291 DEFAULT_wxUSE_LISTCTRL=yes
3292 DEFAULT_wxUSE_NOTEBOOK=yes
3293 DEFAULT_wxUSE_ODCOMBOBOX=yes
3294 DEFAULT_wxUSE_RADIOBOX=yes
3295 DEFAULT_wxUSE_RADIOBTN=yes
3296 DEFAULT_wxUSE_SASH=yes
3297 DEFAULT_wxUSE_SCROLLBAR=yes
3298 DEFAULT_wxUSE_SEARCHCTRL=yes
3299 DEFAULT_wxUSE_SLIDER=yes
3300 DEFAULT_wxUSE_SPINBTN=yes
3301 DEFAULT_wxUSE_SPINCTRL=yes
3302 DEFAULT_wxUSE_SPLITTER=yes
3303 DEFAULT_wxUSE_STATBMP=yes
3304 DEFAULT_wxUSE_STATBOX=yes
3305 DEFAULT_wxUSE_STATLINE=yes
3306 DEFAULT_wxUSE_STATTEXT=yes
3307 DEFAULT_wxUSE_STATUSBAR=yes
3308 DEFAULT_wxUSE_TAB_DIALOG=no
3309 DEFAULT_wxUSE_TEXTCTRL=yes
3310 DEFAULT_wxUSE_TOGGLEBTN=yes
3311 DEFAULT_wxUSE_TOOLBAR=yes
3312 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
3313 DEFAULT_wxUSE_TREEBOOK=yes
3314 DEFAULT_wxUSE_TOOLBOOK=yes
3315 DEFAULT_wxUSE_TREECTRL=yes
3316 DEFAULT_wxUSE_POPUPWIN=yes
3317 DEFAULT_wxUSE_TIPWINDOW=yes
3319 DEFAULT_wxUSE_UNICODE=no
3320 DEFAULT_wxUSE_UNICODE_MSLU=yes
3321 DEFAULT_wxUSE_WCSRTOMBS=no
3323 DEFAULT_wxUSE_PALETTE=yes
3324 DEFAULT_wxUSE_IMAGE=yes
3325 DEFAULT_wxUSE_GIF=yes
3326 DEFAULT_wxUSE_PCX=yes
3327 DEFAULT_wxUSE_TGA=yes
3328 DEFAULT_wxUSE_IFF=no DEFAULT_wxUSE_PNM=yes
3329 DEFAULT_wxUSE_XPM=yes
3330 DEFAULT_wxUSE_ICO_CUR=yes
3331 DEFAULT_wxUSE_ACCESSIBILITY=no
3333 DEFAULT_wxUSE_MONOLITHIC=no
3334 DEFAULT_wxUSE_PLUGINS=no
3335 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3337 DEFAULT_wxUSE_GTK2=yes
3343 for toolkit in `echo $ALL_TOOLKITS`; do
3344 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
3345 if test "x$LINE" != "x" ; then
3346 has_toolkit_in_cache=1
3347 eval "DEFAULT_$LINE"
3348 eval "CACHE_$toolkit=1"
3350 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
3351 if test "x$LINE" != "x" ; then
3352 eval "DEFAULT_$LINE"
3360 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3361 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3363 # Check whether --enable-gui was given.
3364 if test "${enable_gui+set}" = set; then
3365 enableval=$enable_gui;
3366 if test "$enableval" = yes; then
3367 ac_cv_use_gui='wxUSE_GUI=yes'
3369 ac_cv_use_gui='wxUSE_GUI=no'
3374 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
3375 if test "x$LINE" != x ; then
3376 eval "DEFAULT_$LINE"
3381 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
3386 eval "$ac_cv_use_gui"
3387 if test "$no_cache" != 1; then
3388 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
3391 if test "$wxUSE_GUI" = yes; then
3392 { echo "$as_me:$LINENO: result: yes" >&5
3393 echo "${ECHO_T}yes" >&6; }
3395 { echo "$as_me:$LINENO: result: no" >&5
3396 echo "${ECHO_T}no" >&6; }
3401 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3402 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3404 # Check whether --enable-monolithic was given.
3405 if test "${enable_monolithic+set}" = set; then
3406 enableval=$enable_monolithic;
3407 if test "$enableval" = yes; then
3408 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3410 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3415 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
3416 if test "x$LINE" != x ; then
3417 eval "DEFAULT_$LINE"
3422 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
3427 eval "$ac_cv_use_monolithic"
3428 if test "$no_cache" != 1; then
3429 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
3432 if test "$wxUSE_MONOLITHIC" = yes; then
3433 { echo "$as_me:$LINENO: result: yes" >&5
3434 echo "${ECHO_T}yes" >&6; }
3436 { echo "$as_me:$LINENO: result: no" >&5
3437 echo "${ECHO_T}no" >&6; }
3442 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3443 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3445 # Check whether --enable-plugins was given.
3446 if test "${enable_plugins+set}" = set; then
3447 enableval=$enable_plugins;
3448 if test "$enableval" = yes; then
3449 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
3451 ac_cv_use_plugins='wxUSE_PLUGINS=no'
3456 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
3457 if test "x$LINE" != x ; then
3458 eval "DEFAULT_$LINE"
3463 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
3468 eval "$ac_cv_use_plugins"
3469 if test "$no_cache" != 1; then
3470 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
3473 if test "$wxUSE_PLUGINS" = yes; then
3474 { echo "$as_me:$LINENO: result: yes" >&5
3475 echo "${ECHO_T}yes" >&6; }
3477 { echo "$as_me:$LINENO: result: no" >&5
3478 echo "${ECHO_T}no" >&6; }
3483 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3484 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3487 # Check whether --with-subdirs was given.
3488 if test "${with_subdirs+set}" = set; then
3489 withval=$with_subdirs;
3490 if test "$withval" = yes; then
3491 ac_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3493 ac_cv_use_subdirs='wxWITH_SUBDIRS=no'
3498 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
3499 if test "x$LINE" != x ; then
3500 eval "DEFAULT_$LINE"
3505 ac_cv_use_subdirs='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
3510 eval "$ac_cv_use_subdirs"
3511 if test "$no_cache" != 1; then
3512 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
3515 if test "$wxWITH_SUBDIRS" = yes; then
3516 { echo "$as_me:$LINENO: result: yes" >&5
3517 echo "${ECHO_T}yes" >&6; }
3519 { echo "$as_me:$LINENO: result: no" >&5
3520 echo "${ECHO_T}no" >&6; }
3524 if test "$wxUSE_GUI" = "yes"; then
3528 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3529 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3531 # Check whether --enable-universal was given.
3532 if test "${enable_universal+set}" = set; then
3533 enableval=$enable_universal;
3534 if test "$enableval" = yes; then
3535 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
3537 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
3542 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
3543 if test "x$LINE" != x ; then
3544 eval "DEFAULT_$LINE"
3549 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
3554 eval "$ac_cv_use_universal"
3555 if test "$no_cache" != 1; then
3556 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
3559 if test "$wxUSE_UNIVERSAL" = yes; then
3560 { echo "$as_me:$LINENO: result: yes" >&5
3561 echo "${ECHO_T}yes" >&6; }
3563 { echo "$as_me:$LINENO: result: no" >&5
3564 echo "${ECHO_T}no" >&6; }
3568 # Check whether --with-gtk was given.
3569 if test "${with_gtk+set}" = set; then
3570 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3574 # Check whether --with-motif was given.
3575 if test "${with_motif+set}" = set; then
3576 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3580 # Check whether --with-mac was given.
3581 if test "${with_mac+set}" = set; then
3582 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3586 # Check whether --with-cocoa was given.
3587 if test "${with_cocoa+set}" = set; then
3588 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3592 # Check whether --with-wine was given.
3593 if test "${with_wine+set}" = set; then
3594 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3598 # Check whether --with-msw was given.
3599 if test "${with_msw+set}" = set; then
3600 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3604 # Check whether --with-pm was given.
3605 if test "${with_pm+set}" = set; then
3606 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3610 # Check whether --with-mgl was given.
3611 if test "${with_mgl+set}" = set; then
3612 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3616 # Check whether --with-directfb was given.
3617 if test "${with_directfb+set}" = set; then
3618 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3622 # Check whether --with-microwin was given.
3623 if test "${with_microwin+set}" = set; then
3624 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3628 # Check whether --with-x11 was given.
3629 if test "${with_x11+set}" = set; then
3630 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3635 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3636 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3638 # Check whether --enable-nanox was given.
3639 if test "${enable_nanox+set}" = set; then
3640 enableval=$enable_nanox;
3641 if test "$enableval" = yes; then
3642 ac_cv_use_nanox='wxUSE_NANOX=yes'
3644 ac_cv_use_nanox='wxUSE_NANOX=no'
3649 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
3650 if test "x$LINE" != x ; then
3651 eval "DEFAULT_$LINE"
3656 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
3661 eval "$ac_cv_use_nanox"
3662 if test "$no_cache" != 1; then
3663 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
3666 if test "$wxUSE_NANOX" = yes; then
3667 { echo "$as_me:$LINENO: result: yes" >&5
3668 echo "${ECHO_T}yes" >&6; }
3670 { echo "$as_me:$LINENO: result: no" >&5
3671 echo "${ECHO_T}no" >&6; }
3675 # Check whether --enable-gtk2 was given.
3676 if test "${enable_gtk2+set}" = set; then
3677 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3682 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3683 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3685 # Check whether --enable-gpe was given.
3686 if test "${enable_gpe+set}" = set; then
3687 enableval=$enable_gpe;
3688 if test "$enableval" = yes; then
3689 ac_cv_use_gpe='wxUSE_GPE=yes'
3691 ac_cv_use_gpe='wxUSE_GPE=no'
3696 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
3697 if test "x$LINE" != x ; then
3698 eval "DEFAULT_$LINE"
3703 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
3708 eval "$ac_cv_use_gpe"
3709 if test "$no_cache" != 1; then
3710 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
3713 if test "$wxUSE_GPE" = yes; then
3714 { echo "$as_me:$LINENO: result: yes" >&5
3715 echo "${ECHO_T}yes" >&6; }
3717 { echo "$as_me:$LINENO: result: no" >&5
3718 echo "${ECHO_T}no" >&6; }
3723 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3724 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3727 # Check whether --with-libpng was given.
3728 if test "${with_libpng+set}" = set; then
3729 withval=$with_libpng;
3730 if test "$withval" = yes; then
3731 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
3732 elif test "$withval" = no; then
3733 ac_cv_use_libpng='wxUSE_LIBPNG=no'
3734 elif test "$withval" = sys; then
3735 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
3736 elif test "$withval" = builtin; then
3737 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
3739 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3740 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3741 { (exit 1); exit 1; }; }
3746 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
3747 if test "x$LINE" != x ; then
3748 eval "DEFAULT_$LINE"
3753 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3758 eval "$ac_cv_use_libpng"
3759 if test "$no_cache" != 1; then
3760 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3763 if test "$wxUSE_LIBPNG" = yes; then
3764 { echo "$as_me:$LINENO: result: yes" >&5
3765 echo "${ECHO_T}yes" >&6; }
3766 elif test "$wxUSE_LIBPNG" = no; then
3767 { echo "$as_me:$LINENO: result: no" >&5
3768 echo "${ECHO_T}no" >&6; }
3769 elif test "$wxUSE_LIBPNG" = sys; then
3770 { echo "$as_me:$LINENO: result: system version" >&5
3771 echo "${ECHO_T}system version" >&6; }
3772 elif test "$wxUSE_LIBPNG" = builtin; then
3773 { echo "$as_me:$LINENO: result: builtin version" >&5
3774 echo "${ECHO_T}builtin version" >&6; }
3776 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3777 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3778 { (exit 1); exit 1; }; }
3782 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3783 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3786 # Check whether --with-libjpeg was given.
3787 if test "${with_libjpeg+set}" = set; then
3788 withval=$with_libjpeg;
3789 if test "$withval" = yes; then
3790 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3791 elif test "$withval" = no; then
3792 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3793 elif test "$withval" = sys; then
3794 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3795 elif test "$withval" = builtin; then
3796 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3798 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3799 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3800 { (exit 1); exit 1; }; }
3805 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3806 if test "x$LINE" != x ; then
3807 eval "DEFAULT_$LINE"
3812 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3817 eval "$ac_cv_use_libjpeg"
3818 if test "$no_cache" != 1; then
3819 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3822 if test "$wxUSE_LIBJPEG" = yes; then
3823 { echo "$as_me:$LINENO: result: yes" >&5
3824 echo "${ECHO_T}yes" >&6; }
3825 elif test "$wxUSE_LIBJPEG" = no; then
3826 { echo "$as_me:$LINENO: result: no" >&5
3827 echo "${ECHO_T}no" >&6; }
3828 elif test "$wxUSE_LIBJPEG" = sys; then
3829 { echo "$as_me:$LINENO: result: system version" >&5
3830 echo "${ECHO_T}system version" >&6; }
3831 elif test "$wxUSE_LIBJPEG" = builtin; then
3832 { echo "$as_me:$LINENO: result: builtin version" >&5
3833 echo "${ECHO_T}builtin version" >&6; }
3835 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3836 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3837 { (exit 1); exit 1; }; }
3841 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3842 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3845 # Check whether --with-libtiff was given.
3846 if test "${with_libtiff+set}" = set; then
3847 withval=$with_libtiff;
3848 if test "$withval" = yes; then
3849 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3850 elif test "$withval" = no; then
3851 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
3852 elif test "$withval" = sys; then
3853 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3854 elif test "$withval" = builtin; then
3855 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3857 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3858 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3859 { (exit 1); exit 1; }; }
3864 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3865 if test "x$LINE" != x ; then
3866 eval "DEFAULT_$LINE"
3871 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3876 eval "$ac_cv_use_libtiff"
3877 if test "$no_cache" != 1; then
3878 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3881 if test "$wxUSE_LIBTIFF" = yes; then
3882 { echo "$as_me:$LINENO: result: yes" >&5
3883 echo "${ECHO_T}yes" >&6; }
3884 elif test "$wxUSE_LIBTIFF" = no; then
3885 { echo "$as_me:$LINENO: result: no" >&5
3886 echo "${ECHO_T}no" >&6; }
3887 elif test "$wxUSE_LIBTIFF" = sys; then
3888 { echo "$as_me:$LINENO: result: system version" >&5
3889 echo "${ECHO_T}system version" >&6; }
3890 elif test "$wxUSE_LIBTIFF" = builtin; then
3891 { echo "$as_me:$LINENO: result: builtin version" >&5
3892 echo "${ECHO_T}builtin version" >&6; }
3894 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3895 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3896 { (exit 1); exit 1; }; }
3900 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3901 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3904 # Check whether --with-libxpm was given.
3905 if test "${with_libxpm+set}" = set; then
3906 withval=$with_libxpm;
3907 if test "$withval" = yes; then
3908 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
3909 elif test "$withval" = no; then
3910 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
3911 elif test "$withval" = sys; then
3912 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
3913 elif test "$withval" = builtin; then
3914 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3916 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3917 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3918 { (exit 1); exit 1; }; }
3923 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3924 if test "x$LINE" != x ; then
3925 eval "DEFAULT_$LINE"
3930 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3935 eval "$ac_cv_use_libxpm"
3936 if test "$no_cache" != 1; then
3937 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3940 if test "$wxUSE_LIBXPM" = yes; then
3941 { echo "$as_me:$LINENO: result: yes" >&5
3942 echo "${ECHO_T}yes" >&6; }
3943 elif test "$wxUSE_LIBXPM" = no; then
3944 { echo "$as_me:$LINENO: result: no" >&5
3945 echo "${ECHO_T}no" >&6; }
3946 elif test "$wxUSE_LIBXPM" = sys; then
3947 { echo "$as_me:$LINENO: result: system version" >&5
3948 echo "${ECHO_T}system version" >&6; }
3949 elif test "$wxUSE_LIBXPM" = builtin; then
3950 { echo "$as_me:$LINENO: result: builtin version" >&5
3951 echo "${ECHO_T}builtin version" >&6; }
3953 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3954 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3955 { (exit 1); exit 1; }; }
3960 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3961 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3964 # Check whether --with-libmspack was given.
3965 if test "${with_libmspack+set}" = set; then
3966 withval=$with_libmspack;
3967 if test "$withval" = yes; then
3968 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3970 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3975 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3976 if test "x$LINE" != x ; then
3977 eval "DEFAULT_$LINE"
3982 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3987 eval "$ac_cv_use_libmspack"
3988 if test "$no_cache" != 1; then
3989 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3992 if test "$wxUSE_LIBMSPACK" = yes; then
3993 { echo "$as_me:$LINENO: result: yes" >&5
3994 echo "${ECHO_T}yes" >&6; }
3996 { echo "$as_me:$LINENO: result: no" >&5
3997 echo "${ECHO_T}no" >&6; }
4002 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4003 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4006 # Check whether --with-sdl was given.
4007 if test "${with_sdl+set}" = set; then
4009 if test "$withval" = yes; then
4010 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
4012 ac_cv_use_sdl='wxUSE_LIBSDL=no'
4017 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
4018 if test "x$LINE" != x ; then
4019 eval "DEFAULT_$LINE"
4024 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
4029 eval "$ac_cv_use_sdl"
4030 if test "$no_cache" != 1; then
4031 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
4034 if test "$wxUSE_LIBSDL" = yes; then
4035 { echo "$as_me:$LINENO: result: yes" >&5
4036 echo "${ECHO_T}yes" >&6; }
4038 { echo "$as_me:$LINENO: result: no" >&5
4039 echo "${ECHO_T}no" >&6; }
4044 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
4045 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
4048 # Check whether --with-gnomeprint was given.
4049 if test "${with_gnomeprint+set}" = set; then
4050 withval=$with_gnomeprint;
4051 if test "$withval" = yes; then
4052 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
4054 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
4059 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
4060 if test "x$LINE" != x ; then
4061 eval "DEFAULT_$LINE"
4066 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
4071 eval "$ac_cv_use_gnomeprint"
4072 if test "$no_cache" != 1; then
4073 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
4076 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
4077 { echo "$as_me:$LINENO: result: yes" >&5
4078 echo "${ECHO_T}yes" >&6; }
4080 { echo "$as_me:$LINENO: result: no" >&5
4081 echo "${ECHO_T}no" >&6; }
4086 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
4087 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
4090 # Check whether --with-gnomevfs was given.
4091 if test "${with_gnomevfs+set}" = set; then
4092 withval=$with_gnomevfs;
4093 if test "$withval" = yes; then
4094 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4096 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4101 LINE=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
4102 if test "x$LINE" != x ; then
4103 eval "DEFAULT_$LINE"
4108 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
4113 eval "$ac_cv_use_gnomevfs"
4114 if test "$no_cache" != 1; then
4115 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
4118 if test "$wxUSE_LIBGNOMEVFS" = yes; then
4119 { echo "$as_me:$LINENO: result: yes" >&5
4120 echo "${ECHO_T}yes" >&6; }
4122 { echo "$as_me:$LINENO: result: no" >&5
4123 echo "${ECHO_T}no" >&6; }
4128 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4129 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4132 # Check whether --with-hildon was given.
4133 if test "${with_hildon+set}" = set; then
4134 withval=$with_hildon;
4135 if test "$withval" = yes; then
4136 ac_cv_use_hildon='wxUSE_LIBHILDON=yes'
4138 ac_cv_use_hildon='wxUSE_LIBHILDON=no'
4143 LINE=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
4144 if test "x$LINE" != x ; then
4145 eval "DEFAULT_$LINE"
4150 ac_cv_use_hildon='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
4155 eval "$ac_cv_use_hildon"
4156 if test "$no_cache" != 1; then
4157 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
4160 if test "$wxUSE_LIBHILDON" = yes; then
4161 { echo "$as_me:$LINENO: result: yes" >&5
4162 echo "${ECHO_T}yes" >&6; }
4164 { echo "$as_me:$LINENO: result: no" >&5
4165 echo "${ECHO_T}no" >&6; }
4170 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4171 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4174 # Check whether --with-opengl was given.
4175 if test "${with_opengl+set}" = set; then
4176 withval=$with_opengl;
4177 if test "$withval" = yes; then
4178 ac_cv_use_opengl='wxUSE_OPENGL=yes'
4180 ac_cv_use_opengl='wxUSE_OPENGL=no'
4185 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
4186 if test "x$LINE" != x ; then
4187 eval "DEFAULT_$LINE"
4192 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
4197 eval "$ac_cv_use_opengl"
4198 if test "$no_cache" != 1; then
4199 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
4202 if test "$wxUSE_OPENGL" = yes; then
4203 { echo "$as_me:$LINENO: result: yes" >&5
4204 echo "${ECHO_T}yes" >&6; }
4206 { echo "$as_me:$LINENO: result: no" >&5
4207 echo "${ECHO_T}no" >&6; }
4211 if test "$wxUSE_UNIVERSAL" = "yes"; then
4213 # Check whether --with-themes was given.
4214 if test "${with_themes+set}" = set; then
4215 withval=$with_themes; wxUNIV_THEMES="$withval"
4224 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4225 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4228 # Check whether --with-dmalloc was given.
4229 if test "${with_dmalloc+set}" = set; then
4230 withval=$with_dmalloc;
4231 if test "$withval" = yes; then
4232 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4234 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
4239 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
4240 if test "x$LINE" != x ; then
4241 eval "DEFAULT_$LINE"
4246 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
4251 eval "$ac_cv_use_dmalloc"
4252 if test "$no_cache" != 1; then
4253 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
4256 if test "$wxUSE_DMALLOC" = yes; then
4257 { echo "$as_me:$LINENO: result: yes" >&5
4258 echo "${ECHO_T}yes" >&6; }
4260 { echo "$as_me:$LINENO: result: no" >&5
4261 echo "${ECHO_T}no" >&6; }
4265 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4266 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4269 # Check whether --with-regex was given.
4270 if test "${with_regex+set}" = set; then
4271 withval=$with_regex;
4272 if test "$withval" = yes; then
4273 ac_cv_use_regex='wxUSE_REGEX=yes'
4274 elif test "$withval" = no; then
4275 ac_cv_use_regex='wxUSE_REGEX=no'
4276 elif test "$withval" = sys; then
4277 ac_cv_use_regex='wxUSE_REGEX=sys'
4278 elif test "$withval" = builtin; then
4279 ac_cv_use_regex='wxUSE_REGEX=builtin'
4281 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4282 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4283 { (exit 1); exit 1; }; }
4288 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
4289 if test "x$LINE" != x ; then
4290 eval "DEFAULT_$LINE"
4295 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
4300 eval "$ac_cv_use_regex"
4301 if test "$no_cache" != 1; then
4302 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
4305 if test "$wxUSE_REGEX" = yes; then
4306 { echo "$as_me:$LINENO: result: yes" >&5
4307 echo "${ECHO_T}yes" >&6; }
4308 elif test "$wxUSE_REGEX" = no; then
4309 { echo "$as_me:$LINENO: result: no" >&5
4310 echo "${ECHO_T}no" >&6; }
4311 elif test "$wxUSE_REGEX" = sys; then
4312 { echo "$as_me:$LINENO: result: system version" >&5
4313 echo "${ECHO_T}system version" >&6; }
4314 elif test "$wxUSE_REGEX" = builtin; then
4315 { echo "$as_me:$LINENO: result: builtin version" >&5
4316 echo "${ECHO_T}builtin version" >&6; }
4318 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4319 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4320 { (exit 1); exit 1; }; }
4324 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4325 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4328 # Check whether --with-zlib was given.
4329 if test "${with_zlib+set}" = set; then
4331 if test "$withval" = yes; then
4332 ac_cv_use_zlib='wxUSE_ZLIB=yes'
4333 elif test "$withval" = no; then
4334 ac_cv_use_zlib='wxUSE_ZLIB=no'
4335 elif test "$withval" = sys; then
4336 ac_cv_use_zlib='wxUSE_ZLIB=sys'
4337 elif test "$withval" = builtin; then
4338 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
4340 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4341 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4342 { (exit 1); exit 1; }; }
4347 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
4348 if test "x$LINE" != x ; then
4349 eval "DEFAULT_$LINE"
4354 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
4359 eval "$ac_cv_use_zlib"
4360 if test "$no_cache" != 1; then
4361 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
4364 if test "$wxUSE_ZLIB" = yes; then
4365 { echo "$as_me:$LINENO: result: yes" >&5
4366 echo "${ECHO_T}yes" >&6; }
4367 elif test "$wxUSE_ZLIB" = no; then
4368 { echo "$as_me:$LINENO: result: no" >&5
4369 echo "${ECHO_T}no" >&6; }
4370 elif test "$wxUSE_ZLIB" = sys; then
4371 { echo "$as_me:$LINENO: result: system version" >&5
4372 echo "${ECHO_T}system version" >&6; }
4373 elif test "$wxUSE_ZLIB" = builtin; then
4374 { echo "$as_me:$LINENO: result: builtin version" >&5
4375 echo "${ECHO_T}builtin version" >&6; }
4377 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4378 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4379 { (exit 1); exit 1; }; }
4383 { echo "$as_me:$LINENO: checking for --with-odbc" >&5
4384 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6; }
4387 # Check whether --with-odbc was given.
4388 if test "${with_odbc+set}" = set; then
4390 if test "$withval" = yes; then
4391 ac_cv_use_odbc='wxUSE_ODBC=yes'
4392 elif test "$withval" = no; then
4393 ac_cv_use_odbc='wxUSE_ODBC=no'
4394 elif test "$withval" = sys; then
4395 ac_cv_use_odbc='wxUSE_ODBC=sys'
4396 elif test "$withval" = builtin; then
4397 ac_cv_use_odbc='wxUSE_ODBC=builtin'
4399 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4400 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4401 { (exit 1); exit 1; }; }
4406 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
4407 if test "x$LINE" != x ; then
4408 eval "DEFAULT_$LINE"
4413 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
4418 eval "$ac_cv_use_odbc"
4419 if test "$no_cache" != 1; then
4420 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
4423 if test "$wxUSE_ODBC" = yes; then
4424 { echo "$as_me:$LINENO: result: yes" >&5
4425 echo "${ECHO_T}yes" >&6; }
4426 elif test "$wxUSE_ODBC" = no; then
4427 { echo "$as_me:$LINENO: result: no" >&5
4428 echo "${ECHO_T}no" >&6; }
4429 elif test "$wxUSE_ODBC" = sys; then
4430 { echo "$as_me:$LINENO: result: system version" >&5
4431 echo "${ECHO_T}system version" >&6; }
4432 elif test "$wxUSE_ODBC" = builtin; then
4433 { echo "$as_me:$LINENO: result: builtin version" >&5
4434 echo "${ECHO_T}builtin version" >&6; }
4436 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4437 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4438 { (exit 1); exit 1; }; }
4442 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4443 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4446 # Check whether --with-expat was given.
4447 if test "${with_expat+set}" = set; then
4448 withval=$with_expat;
4449 if test "$withval" = yes; then
4450 ac_cv_use_expat='wxUSE_EXPAT=yes'
4451 elif test "$withval" = no; then
4452 ac_cv_use_expat='wxUSE_EXPAT=no'
4453 elif test "$withval" = sys; then
4454 ac_cv_use_expat='wxUSE_EXPAT=sys'
4455 elif test "$withval" = builtin; then
4456 ac_cv_use_expat='wxUSE_EXPAT=builtin'
4458 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4459 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4460 { (exit 1); exit 1; }; }
4465 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
4466 if test "x$LINE" != x ; then
4467 eval "DEFAULT_$LINE"
4472 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
4477 eval "$ac_cv_use_expat"
4478 if test "$no_cache" != 1; then
4479 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
4482 if test "$wxUSE_EXPAT" = yes; then
4483 { echo "$as_me:$LINENO: result: yes" >&5
4484 echo "${ECHO_T}yes" >&6; }
4485 elif test "$wxUSE_EXPAT" = no; then
4486 { echo "$as_me:$LINENO: result: no" >&5
4487 echo "${ECHO_T}no" >&6; }
4488 elif test "$wxUSE_EXPAT" = sys; then
4489 { echo "$as_me:$LINENO: result: system version" >&5
4490 echo "${ECHO_T}system version" >&6; }
4491 elif test "$wxUSE_EXPAT" = builtin; then
4492 { echo "$as_me:$LINENO: result: builtin version" >&5
4493 echo "${ECHO_T}builtin version" >&6; }
4495 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4496 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4497 { (exit 1); exit 1; }; }
4504 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4505 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4507 # Check whether --enable-shared was given.
4508 if test "${enable_shared+set}" = set; then
4509 enableval=$enable_shared;
4510 if test "$enableval" = yes; then
4511 ac_cv_use_shared='wxUSE_SHARED=yes'
4513 ac_cv_use_shared='wxUSE_SHARED=no'
4518 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
4519 if test "x$LINE" != x ; then
4520 eval "DEFAULT_$LINE"
4525 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
4530 eval "$ac_cv_use_shared"
4531 if test "$no_cache" != 1; then
4532 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
4535 if test "$wxUSE_SHARED" = yes; then
4536 { echo "$as_me:$LINENO: result: yes" >&5
4537 echo "${ECHO_T}yes" >&6; }
4539 { echo "$as_me:$LINENO: result: no" >&5
4540 echo "${ECHO_T}no" >&6; }
4545 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4546 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4548 # Check whether --enable-optimise was given.
4549 if test "${enable_optimise+set}" = set; then
4550 enableval=$enable_optimise;
4551 if test "$enableval" = yes; then
4552 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
4554 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
4559 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
4560 if test "x$LINE" != x ; then
4561 eval "DEFAULT_$LINE"
4566 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
4571 eval "$ac_cv_use_optimise"
4572 if test "$no_cache" != 1; then
4573 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
4576 if test "$wxUSE_OPTIMISE" = yes; then
4577 { echo "$as_me:$LINENO: result: yes" >&5
4578 echo "${ECHO_T}yes" >&6; }
4580 { echo "$as_me:$LINENO: result: no" >&5
4581 echo "${ECHO_T}no" >&6; }
4586 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4587 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4589 # Check whether --enable-debug was given.
4590 if test "${enable_debug+set}" = set; then
4591 enableval=$enable_debug;
4592 if test "$enableval" = yes; then
4593 ac_cv_use_debug='wxUSE_DEBUG=yes'
4595 ac_cv_use_debug='wxUSE_DEBUG=no'
4600 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
4601 if test "x$LINE" != x ; then
4602 eval "DEFAULT_$LINE"
4607 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
4612 eval "$ac_cv_use_debug"
4613 if test "$no_cache" != 1; then
4614 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
4617 if test "$wxUSE_DEBUG" = yes; then
4618 { echo "$as_me:$LINENO: result: yes" >&5
4619 echo "${ECHO_T}yes" >&6; }
4621 { echo "$as_me:$LINENO: result: no" >&5
4622 echo "${ECHO_T}no" >&6; }
4627 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4628 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4630 # Check whether --enable-stl was given.
4631 if test "${enable_stl+set}" = set; then
4632 enableval=$enable_stl;
4633 if test "$enableval" = yes; then
4634 ac_cv_use_stl='wxUSE_STL=yes'
4636 ac_cv_use_stl='wxUSE_STL=no'
4641 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
4642 if test "x$LINE" != x ; then
4643 eval "DEFAULT_$LINE"
4648 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
4653 eval "$ac_cv_use_stl"
4654 if test "$no_cache" != 1; then
4655 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
4658 if test "$wxUSE_STL" = yes; then
4659 { echo "$as_me:$LINENO: result: yes" >&5
4660 echo "${ECHO_T}yes" >&6; }
4662 { echo "$as_me:$LINENO: result: no" >&5
4663 echo "${ECHO_T}no" >&6; }
4666 if test "$USE_OS2" = "1"; then
4667 DEFAULT_wxUSE_OMF=no
4670 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4671 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4673 # Check whether --enable-omf was given.
4674 if test "${enable_omf+set}" = set; then
4675 enableval=$enable_omf;
4676 if test "$enableval" = yes; then
4677 ac_cv_use_omf='wxUSE_OMF=yes'
4679 ac_cv_use_omf='wxUSE_OMF=no'
4684 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
4685 if test "x$LINE" != x ; then
4686 eval "DEFAULT_$LINE"
4691 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
4696 eval "$ac_cv_use_omf"
4697 if test "$no_cache" != 1; then
4698 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
4701 if test "$wxUSE_OMF" = yes; then
4702 { echo "$as_me:$LINENO: result: yes" >&5
4703 echo "${ECHO_T}yes" >&6; }
4705 { echo "$as_me:$LINENO: result: no" >&5
4706 echo "${ECHO_T}no" >&6; }
4711 if test "$wxUSE_DEBUG" = "yes"; then
4712 DEFAULT_wxUSE_DEBUG_FLAG=yes
4713 DEFAULT_wxUSE_DEBUG_INFO=yes
4715 elif test "$wxUSE_DEBUG" = "no"; then
4716 DEFAULT_wxUSE_DEBUG_FLAG=no
4717 DEFAULT_wxUSE_DEBUG_INFO=no
4723 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4724 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4726 # Check whether --enable-debug_flag was given.
4727 if test "${enable_debug_flag+set}" = set; then
4728 enableval=$enable_debug_flag;
4729 if test "$enableval" = yes; then
4730 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4732 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4737 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
4738 if test "x$LINE" != x ; then
4739 eval "DEFAULT_$LINE"
4744 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
4749 eval "$ac_cv_use_debug_flag"
4750 if test "$no_cache" != 1; then
4751 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4754 if test "$wxUSE_DEBUG_FLAG" = yes; then
4755 { echo "$as_me:$LINENO: result: yes" >&5
4756 echo "${ECHO_T}yes" >&6; }
4758 { echo "$as_me:$LINENO: result: no" >&5
4759 echo "${ECHO_T}no" >&6; }
4764 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4765 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4767 # Check whether --enable-debug_info was given.
4768 if test "${enable_debug_info+set}" = set; then
4769 enableval=$enable_debug_info;
4770 if test "$enableval" = yes; then
4771 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4773 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4778 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
4779 if test "x$LINE" != x ; then
4780 eval "DEFAULT_$LINE"
4785 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4790 eval "$ac_cv_use_debug_info"
4791 if test "$no_cache" != 1; then
4792 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4795 if test "$wxUSE_DEBUG_INFO" = yes; then
4796 { echo "$as_me:$LINENO: result: yes" >&5
4797 echo "${ECHO_T}yes" >&6; }
4799 { echo "$as_me:$LINENO: result: no" >&5
4800 echo "${ECHO_T}no" >&6; }
4805 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4806 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4808 # Check whether --enable-debug_gdb was given.
4809 if test "${enable_debug_gdb+set}" = set; then
4810 enableval=$enable_debug_gdb;
4811 if test "$enableval" = yes; then
4812 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4814 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4819 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
4820 if test "x$LINE" != x ; then
4821 eval "DEFAULT_$LINE"
4826 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4831 eval "$ac_cv_use_debug_gdb"
4832 if test "$no_cache" != 1; then
4833 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4836 if test "$wxUSE_DEBUG_GDB" = yes; then
4837 { echo "$as_me:$LINENO: result: yes" >&5
4838 echo "${ECHO_T}yes" >&6; }
4840 { echo "$as_me:$LINENO: result: no" >&5
4841 echo "${ECHO_T}no" >&6; }
4846 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4847 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4849 # Check whether --enable-debug_cntxt was given.
4850 if test "${enable_debug_cntxt+set}" = set; then
4851 enableval=$enable_debug_cntxt;
4852 if test "$enableval" = yes; then
4853 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4855 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4860 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
4861 if test "x$LINE" != x ; then
4862 eval "DEFAULT_$LINE"
4867 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4872 eval "$ac_cv_use_debug_cntxt"
4873 if test "$no_cache" != 1; then
4874 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4877 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4878 { echo "$as_me:$LINENO: result: yes" >&5
4879 echo "${ECHO_T}yes" >&6; }
4881 { echo "$as_me:$LINENO: result: no" >&5
4882 echo "${ECHO_T}no" >&6; }
4887 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4888 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4890 # Check whether --enable-mem_tracing was given.
4891 if test "${enable_mem_tracing+set}" = set; then
4892 enableval=$enable_mem_tracing;
4893 if test "$enableval" = yes; then
4894 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4896 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4901 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4902 if test "x$LINE" != x ; then
4903 eval "DEFAULT_$LINE"
4908 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4913 eval "$ac_cv_use_mem_tracing"
4914 if test "$no_cache" != 1; then
4915 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4918 if test "$wxUSE_MEM_TRACING" = yes; then
4919 { echo "$as_me:$LINENO: result: yes" >&5
4920 echo "${ECHO_T}yes" >&6; }
4922 { echo "$as_me:$LINENO: result: no" >&5
4923 echo "${ECHO_T}no" >&6; }
4928 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4929 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
4931 # Check whether --enable-profile was given.
4932 if test "${enable_profile+set}" = set; then
4933 enableval=$enable_profile;
4934 if test "$enableval" = yes; then
4935 ac_cv_use_profile='wxUSE_PROFILE=yes'
4937 ac_cv_use_profile='wxUSE_PROFILE=no'
4942 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4943 if test "x$LINE" != x ; then
4944 eval "DEFAULT_$LINE"
4949 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4954 eval "$ac_cv_use_profile"
4955 if test "$no_cache" != 1; then
4956 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4959 if test "$wxUSE_PROFILE" = yes; then
4960 { echo "$as_me:$LINENO: result: yes" >&5
4961 echo "${ECHO_T}yes" >&6; }
4963 { echo "$as_me:$LINENO: result: no" >&5
4964 echo "${ECHO_T}no" >&6; }
4969 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4970 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
4972 # Check whether --enable-no_rtti was given.
4973 if test "${enable_no_rtti+set}" = set; then
4974 enableval=$enable_no_rtti;
4975 if test "$enableval" = yes; then
4976 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
4978 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
4983 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4984 if test "x$LINE" != x ; then
4985 eval "DEFAULT_$LINE"
4990 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4995 eval "$ac_cv_use_no_rtti"
4996 if test "$no_cache" != 1; then
4997 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
5000 if test "$wxUSE_NO_RTTI" = yes; then
5001 { echo "$as_me:$LINENO: result: yes" >&5
5002 echo "${ECHO_T}yes" >&6; }
5004 { echo "$as_me:$LINENO: result: no" >&5
5005 echo "${ECHO_T}no" >&6; }
5010 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5011 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5013 # Check whether --enable-no_exceptions was given.
5014 if test "${enable_no_exceptions+set}" = set; then
5015 enableval=$enable_no_exceptions;
5016 if test "$enableval" = yes; then
5017 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5019 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5024 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
5025 if test "x$LINE" != x ; then
5026 eval "DEFAULT_$LINE"
5031 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
5036 eval "$ac_cv_use_no_exceptions"
5037 if test "$no_cache" != 1; then
5038 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
5041 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
5042 { echo "$as_me:$LINENO: result: yes" >&5
5043 echo "${ECHO_T}yes" >&6; }
5045 { echo "$as_me:$LINENO: result: no" >&5
5046 echo "${ECHO_T}no" >&6; }
5051 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5052 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5054 # Check whether --enable-permissive was given.
5055 if test "${enable_permissive+set}" = set; then
5056 enableval=$enable_permissive;
5057 if test "$enableval" = yes; then
5058 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5060 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
5065 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
5066 if test "x$LINE" != x ; then
5067 eval "DEFAULT_$LINE"
5072 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
5077 eval "$ac_cv_use_permissive"
5078 if test "$no_cache" != 1; then
5079 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
5082 if test "$wxUSE_PERMISSIVE" = yes; then
5083 { echo "$as_me:$LINENO: result: yes" >&5
5084 echo "${ECHO_T}yes" >&6; }
5086 { echo "$as_me:$LINENO: result: no" >&5
5087 echo "${ECHO_T}no" >&6; }
5092 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5093 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5095 # Check whether --enable-no_deps was given.
5096 if test "${enable_no_deps+set}" = set; then
5097 enableval=$enable_no_deps;
5098 if test "$enableval" = yes; then
5099 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5101 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
5106 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
5107 if test "x$LINE" != x ; then
5108 eval "DEFAULT_$LINE"
5113 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
5118 eval "$ac_cv_use_no_deps"
5119 if test "$no_cache" != 1; then
5120 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
5123 if test "$wxUSE_NO_DEPS" = yes; then
5124 { echo "$as_me:$LINENO: result: yes" >&5
5125 echo "${ECHO_T}yes" >&6; }
5127 { echo "$as_me:$LINENO: result: no" >&5
5128 echo "${ECHO_T}no" >&6; }
5133 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5134 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5136 # Check whether --enable-vararg_macros was given.
5137 if test "${enable_vararg_macros+set}" = set; then
5138 enableval=$enable_vararg_macros;
5139 if test "$enableval" = yes; then
5140 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5142 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5147 LINE=`grep "wxUSE_VARARG_MACROS" ${wx_arg_cache_file}`
5148 if test "x$LINE" != x ; then
5149 eval "DEFAULT_$LINE"
5154 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS='$DEFAULT_wxUSE_VARARG_MACROS
5159 eval "$ac_cv_use_vararg_macros"
5160 if test "$no_cache" != 1; then
5161 echo $ac_cv_use_vararg_macros >> ${wx_arg_cache_file}.tmp
5164 if test "$wxUSE_VARARG_MACROS" = yes; then
5165 { echo "$as_me:$LINENO: result: yes" >&5
5166 echo "${ECHO_T}yes" >&6; }
5168 { echo "$as_me:$LINENO: result: no" >&5
5169 echo "${ECHO_T}no" >&6; }
5174 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5175 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5177 # Check whether --enable-universal_binary was given.
5178 if test "${enable_universal_binary+set}" = set; then
5179 enableval=$enable_universal_binary;
5180 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5184 LINE=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
5185 if test "x$LINE" != x ; then
5186 eval "DEFAULT_$LINE"
5187 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5190 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY=no"
5196 eval "$wx_cv_use_universal_binary"
5197 if test "$no_cache" != 1; then
5198 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
5201 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5202 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5207 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5208 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5210 # Check whether --enable-compat26 was given.
5211 if test "${enable_compat26+set}" = set; then
5212 enableval=$enable_compat26;
5213 if test "$enableval" = yes; then
5214 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5216 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5221 LINE=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
5222 if test "x$LINE" != x ; then
5223 eval "DEFAULT_$LINE"
5228 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
5233 eval "$ac_cv_use_compat26"
5234 if test "$no_cache" != 1; then
5235 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
5238 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
5239 { echo "$as_me:$LINENO: result: yes" >&5
5240 echo "${ECHO_T}yes" >&6; }
5242 { echo "$as_me:$LINENO: result: no" >&5
5243 echo "${ECHO_T}no" >&6; }
5247 enablestring=disable
5248 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5249 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5251 # Check whether --enable-compat28 was given.
5252 if test "${enable_compat28+set}" = set; then
5253 enableval=$enable_compat28;
5254 if test "$enableval" = yes; then
5255 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5257 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5262 LINE=`grep "WXWIN_COMPATIBILITY_2_8" ${wx_arg_cache_file}`
5263 if test "x$LINE" != x ; then
5264 eval "DEFAULT_$LINE"
5269 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8='$DEFAULT_WXWIN_COMPATIBILITY_2_8
5274 eval "$ac_cv_use_compat28"
5275 if test "$no_cache" != 1; then
5276 echo $ac_cv_use_compat28 >> ${wx_arg_cache_file}.tmp
5279 if test "$WXWIN_COMPATIBILITY_2_8" = yes; then
5280 { echo "$as_me:$LINENO: result: yes" >&5
5281 echo "${ECHO_T}yes" >&6; }
5283 { echo "$as_me:$LINENO: result: no" >&5
5284 echo "${ECHO_T}no" >&6; }
5290 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5291 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5293 # Check whether --enable-rpath was given.
5294 if test "${enable_rpath+set}" = set; then
5295 enableval=$enable_rpath;
5296 if test "$enableval" = yes; then
5297 ac_cv_use_rpath='wxUSE_RPATH=yes'
5299 ac_cv_use_rpath='wxUSE_RPATH=no'
5304 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
5305 if test "x$LINE" != x ; then
5306 eval "DEFAULT_$LINE"
5311 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
5316 eval "$ac_cv_use_rpath"
5317 if test "$no_cache" != 1; then
5318 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
5321 if test "$wxUSE_RPATH" = yes; then
5322 { echo "$as_me:$LINENO: result: yes" >&5
5323 echo "${ECHO_T}yes" >&6; }
5325 { echo "$as_me:$LINENO: result: no" >&5
5326 echo "${ECHO_T}no" >&6; }
5334 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5335 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5337 # Check whether --enable-intl was given.
5338 if test "${enable_intl+set}" = set; then
5339 enableval=$enable_intl;
5340 if test "$enableval" = yes; then
5341 ac_cv_use_intl='wxUSE_INTL=yes'
5343 ac_cv_use_intl='wxUSE_INTL=no'
5348 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
5349 if test "x$LINE" != x ; then
5350 eval "DEFAULT_$LINE"
5355 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
5360 eval "$ac_cv_use_intl"
5361 if test "$no_cache" != 1; then
5362 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
5365 if test "$wxUSE_INTL" = yes; then
5366 { echo "$as_me:$LINENO: result: yes" >&5
5367 echo "${ECHO_T}yes" >&6; }
5369 { echo "$as_me:$LINENO: result: no" >&5
5370 echo "${ECHO_T}no" >&6; }
5375 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5376 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5378 # Check whether --enable-config was given.
5379 if test "${enable_config+set}" = set; then
5380 enableval=$enable_config;
5381 if test "$enableval" = yes; then
5382 ac_cv_use_config='wxUSE_CONFIG=yes'
5384 ac_cv_use_config='wxUSE_CONFIG=no'
5389 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
5390 if test "x$LINE" != x ; then
5391 eval "DEFAULT_$LINE"
5396 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
5401 eval "$ac_cv_use_config"
5402 if test "$no_cache" != 1; then
5403 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
5406 if test "$wxUSE_CONFIG" = yes; then
5407 { echo "$as_me:$LINENO: result: yes" >&5
5408 echo "${ECHO_T}yes" >&6; }
5410 { echo "$as_me:$LINENO: result: no" >&5
5411 echo "${ECHO_T}no" >&6; }
5417 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5418 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5420 # Check whether --enable-protocols was given.
5421 if test "${enable_protocols+set}" = set; then
5422 enableval=$enable_protocols;
5423 if test "$enableval" = yes; then
5424 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
5426 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
5431 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5432 if test "x$LINE" != x ; then
5433 eval "DEFAULT_$LINE"
5438 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5443 eval "$ac_cv_use_protocols"
5444 if test "$no_cache" != 1; then
5445 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
5448 if test "$wxUSE_PROTOCOL" = yes; then
5449 { echo "$as_me:$LINENO: result: yes" >&5
5450 echo "${ECHO_T}yes" >&6; }
5452 { echo "$as_me:$LINENO: result: no" >&5
5453 echo "${ECHO_T}no" >&6; }
5458 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5459 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5461 # Check whether --enable-ftp was given.
5462 if test "${enable_ftp+set}" = set; then
5463 enableval=$enable_ftp;
5464 if test "$enableval" = yes; then
5465 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5467 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5472 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5473 if test "x$LINE" != x ; then
5474 eval "DEFAULT_$LINE"
5479 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5484 eval "$ac_cv_use_ftp"
5485 if test "$no_cache" != 1; then
5486 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
5489 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5490 { echo "$as_me:$LINENO: result: yes" >&5
5491 echo "${ECHO_T}yes" >&6; }
5493 { echo "$as_me:$LINENO: result: no" >&5
5494 echo "${ECHO_T}no" >&6; }
5499 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5500 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5502 # Check whether --enable-http was given.
5503 if test "${enable_http+set}" = set; then
5504 enableval=$enable_http;
5505 if test "$enableval" = yes; then
5506 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5508 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5513 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5514 if test "x$LINE" != x ; then
5515 eval "DEFAULT_$LINE"
5520 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5525 eval "$ac_cv_use_http"
5526 if test "$no_cache" != 1; then
5527 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
5530 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5531 { echo "$as_me:$LINENO: result: yes" >&5
5532 echo "${ECHO_T}yes" >&6; }
5534 { echo "$as_me:$LINENO: result: no" >&5
5535 echo "${ECHO_T}no" >&6; }
5540 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5541 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5543 # Check whether --enable-fileproto was given.
5544 if test "${enable_fileproto+set}" = set; then
5545 enableval=$enable_fileproto;
5546 if test "$enableval" = yes; then
5547 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5549 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5554 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5555 if test "x$LINE" != x ; then
5556 eval "DEFAULT_$LINE"
5561 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5566 eval "$ac_cv_use_fileproto"
5567 if test "$no_cache" != 1; then
5568 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
5571 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5572 { echo "$as_me:$LINENO: result: yes" >&5
5573 echo "${ECHO_T}yes" >&6; }
5575 { echo "$as_me:$LINENO: result: no" >&5
5576 echo "${ECHO_T}no" >&6; }
5581 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5582 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5584 # Check whether --enable-sockets was given.
5585 if test "${enable_sockets+set}" = set; then
5586 enableval=$enable_sockets;
5587 if test "$enableval" = yes; then
5588 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
5590 ac_cv_use_sockets='wxUSE_SOCKETS=no'
5595 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
5596 if test "x$LINE" != x ; then
5597 eval "DEFAULT_$LINE"
5602 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
5607 eval "$ac_cv_use_sockets"
5608 if test "$no_cache" != 1; then
5609 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
5612 if test "$wxUSE_SOCKETS" = yes; then
5613 { echo "$as_me:$LINENO: result: yes" >&5
5614 echo "${ECHO_T}yes" >&6; }
5616 { echo "$as_me:$LINENO: result: no" >&5
5617 echo "${ECHO_T}no" >&6; }
5622 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
5623 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
5625 # Check whether --enable-ole was given.
5626 if test "${enable_ole+set}" = set; then
5627 enableval=$enable_ole;
5628 if test "$enableval" = yes; then
5629 ac_cv_use_ole='wxUSE_OLE=yes'
5631 ac_cv_use_ole='wxUSE_OLE=no'
5636 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
5637 if test "x$LINE" != x ; then
5638 eval "DEFAULT_$LINE"
5643 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
5648 eval "$ac_cv_use_ole"
5649 if test "$no_cache" != 1; then
5650 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
5653 if test "$wxUSE_OLE" = yes; then
5654 { echo "$as_me:$LINENO: result: yes" >&5
5655 echo "${ECHO_T}yes" >&6; }
5657 { echo "$as_me:$LINENO: result: no" >&5
5658 echo "${ECHO_T}no" >&6; }
5663 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
5664 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
5666 # Check whether --enable-dataobj was given.
5667 if test "${enable_dataobj+set}" = set; then
5668 enableval=$enable_dataobj;
5669 if test "$enableval" = yes; then
5670 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
5672 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
5677 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
5678 if test "x$LINE" != x ; then
5679 eval "DEFAULT_$LINE"
5684 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
5689 eval "$ac_cv_use_dataobj"
5690 if test "$no_cache" != 1; then
5691 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
5694 if test "$wxUSE_DATAOBJ" = yes; then
5695 { echo "$as_me:$LINENO: result: yes" >&5
5696 echo "${ECHO_T}yes" >&6; }
5698 { echo "$as_me:$LINENO: result: no" >&5
5699 echo "${ECHO_T}no" >&6; }
5705 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
5706 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
5708 # Check whether --enable-ipc was given.
5709 if test "${enable_ipc+set}" = set; then
5710 enableval=$enable_ipc;
5711 if test "$enableval" = yes; then
5712 ac_cv_use_ipc='wxUSE_IPC=yes'
5714 ac_cv_use_ipc='wxUSE_IPC=no'
5719 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
5720 if test "x$LINE" != x ; then
5721 eval "DEFAULT_$LINE"
5726 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
5731 eval "$ac_cv_use_ipc"
5732 if test "$no_cache" != 1; then
5733 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
5736 if test "$wxUSE_IPC" = yes; then
5737 { echo "$as_me:$LINENO: result: yes" >&5
5738 echo "${ECHO_T}yes" >&6; }
5740 { echo "$as_me:$LINENO: result: no" >&5
5741 echo "${ECHO_T}no" >&6; }
5747 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
5748 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
5750 # Check whether --enable-apple_ieee was given.
5751 if test "${enable_apple_ieee+set}" = set; then
5752 enableval=$enable_apple_ieee;
5753 if test "$enableval" = yes; then
5754 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
5756 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
5761 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
5762 if test "x$LINE" != x ; then
5763 eval "DEFAULT_$LINE"
5768 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
5773 eval "$ac_cv_use_apple_ieee"
5774 if test "$no_cache" != 1; then
5775 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
5778 if test "$wxUSE_APPLE_IEEE" = yes; then
5779 { echo "$as_me:$LINENO: result: yes" >&5
5780 echo "${ECHO_T}yes" >&6; }
5782 { echo "$as_me:$LINENO: result: no" >&5
5783 echo "${ECHO_T}no" >&6; }
5788 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5789 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
5791 # Check whether --enable-arcstream was given.
5792 if test "${enable_arcstream+set}" = set; then
5793 enableval=$enable_arcstream;
5794 if test "$enableval" = yes; then
5795 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
5797 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
5802 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
5803 if test "x$LINE" != x ; then
5804 eval "DEFAULT_$LINE"
5809 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5814 eval "$ac_cv_use_arcstream"
5815 if test "$no_cache" != 1; then
5816 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5819 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5820 { echo "$as_me:$LINENO: result: yes" >&5
5821 echo "${ECHO_T}yes" >&6; }
5823 { echo "$as_me:$LINENO: result: no" >&5
5824 echo "${ECHO_T}no" >&6; }
5829 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5830 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
5832 # Check whether --enable-backtrace was given.
5833 if test "${enable_backtrace+set}" = set; then
5834 enableval=$enable_backtrace;
5835 if test "$enableval" = yes; then
5836 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
5838 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
5843 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
5844 if test "x$LINE" != x ; then
5845 eval "DEFAULT_$LINE"
5850 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5855 eval "$ac_cv_use_backtrace"
5856 if test "$no_cache" != 1; then
5857 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5860 if test "$wxUSE_STACKWALKER" = yes; then
5861 { echo "$as_me:$LINENO: result: yes" >&5
5862 echo "${ECHO_T}yes" >&6; }
5864 { echo "$as_me:$LINENO: result: no" >&5
5865 echo "${ECHO_T}no" >&6; }
5870 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5871 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
5873 # Check whether --enable-catch_segvs was given.
5874 if test "${enable_catch_segvs+set}" = set; then
5875 enableval=$enable_catch_segvs;
5876 if test "$enableval" = yes; then
5877 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5879 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5884 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5885 if test "x$LINE" != x ; then
5886 eval "DEFAULT_$LINE"
5891 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5896 eval "$ac_cv_use_catch_segvs"
5897 if test "$no_cache" != 1; then
5898 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5901 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5902 { echo "$as_me:$LINENO: result: yes" >&5
5903 echo "${ECHO_T}yes" >&6; }
5905 { echo "$as_me:$LINENO: result: no" >&5
5906 echo "${ECHO_T}no" >&6; }
5911 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5912 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
5914 # Check whether --enable-cmdline was given.
5915 if test "${enable_cmdline+set}" = set; then
5916 enableval=$enable_cmdline;
5917 if test "$enableval" = yes; then
5918 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
5920 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
5925 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5926 if test "x$LINE" != x ; then
5927 eval "DEFAULT_$LINE"
5932 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5937 eval "$ac_cv_use_cmdline"
5938 if test "$no_cache" != 1; then
5939 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5942 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5943 { echo "$as_me:$LINENO: result: yes" >&5
5944 echo "${ECHO_T}yes" >&6; }
5946 { echo "$as_me:$LINENO: result: no" >&5
5947 echo "${ECHO_T}no" >&6; }
5952 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5953 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
5955 # Check whether --enable-datetime was given.
5956 if test "${enable_datetime+set}" = set; then
5957 enableval=$enable_datetime;
5958 if test "$enableval" = yes; then
5959 ac_cv_use_datetime='wxUSE_DATETIME=yes'
5961 ac_cv_use_datetime='wxUSE_DATETIME=no'
5966 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5967 if test "x$LINE" != x ; then
5968 eval "DEFAULT_$LINE"
5973 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5978 eval "$ac_cv_use_datetime"
5979 if test "$no_cache" != 1; then
5980 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5983 if test "$wxUSE_DATETIME" = yes; then
5984 { echo "$as_me:$LINENO: result: yes" >&5
5985 echo "${ECHO_T}yes" >&6; }
5987 { echo "$as_me:$LINENO: result: no" >&5
5988 echo "${ECHO_T}no" >&6; }
5993 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5994 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
5996 # Check whether --enable-debugreport was given.
5997 if test "${enable_debugreport+set}" = set; then
5998 enableval=$enable_debugreport;
5999 if test "$enableval" = yes; then
6000 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6002 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6007 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
6008 if test "x$LINE" != x ; then
6009 eval "DEFAULT_$LINE"
6014 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
6019 eval "$ac_cv_use_debugreport"
6020 if test "$no_cache" != 1; then
6021 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
6024 if test "$wxUSE_DEBUGREPORT" = yes; then
6025 { echo "$as_me:$LINENO: result: yes" >&5
6026 echo "${ECHO_T}yes" >&6; }
6028 { echo "$as_me:$LINENO: result: no" >&5
6029 echo "${ECHO_T}no" >&6; }
6034 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6035 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6037 # Check whether --enable-dialupman was given.
6038 if test "${enable_dialupman+set}" = set; then
6039 enableval=$enable_dialupman;
6040 if test "$enableval" = yes; then
6041 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6043 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6048 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
6049 if test "x$LINE" != x ; then
6050 eval "DEFAULT_$LINE"
6055 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
6060 eval "$ac_cv_use_dialupman"
6061 if test "$no_cache" != 1; then
6062 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
6065 if test "$wxUSE_DIALUP_MANAGER" = yes; then
6066 { echo "$as_me:$LINENO: result: yes" >&5
6067 echo "${ECHO_T}yes" >&6; }
6069 { echo "$as_me:$LINENO: result: no" >&5
6070 echo "${ECHO_T}no" >&6; }
6075 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6076 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6078 # Check whether --enable-dynlib was given.
6079 if test "${enable_dynlib+set}" = set; then
6080 enableval=$enable_dynlib;
6081 if test "$enableval" = yes; then
6082 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6084 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6089 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
6090 if test "x$LINE" != x ; then
6091 eval "DEFAULT_$LINE"
6096 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
6101 eval "$ac_cv_use_dynlib"
6102 if test "$no_cache" != 1; then
6103 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
6106 if test "$wxUSE_DYNLIB_CLASS" = yes; then
6107 { echo "$as_me:$LINENO: result: yes" >&5
6108 echo "${ECHO_T}yes" >&6; }
6110 { echo "$as_me:$LINENO: result: no" >&5
6111 echo "${ECHO_T}no" >&6; }
6116 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6117 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6119 # Check whether --enable-dynamicloader was given.
6120 if test "${enable_dynamicloader+set}" = set; then
6121 enableval=$enable_dynamicloader;
6122 if test "$enableval" = yes; then
6123 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6125 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6130 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
6131 if test "x$LINE" != x ; then
6132 eval "DEFAULT_$LINE"
6137 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
6142 eval "$ac_cv_use_dynamicloader"
6143 if test "$no_cache" != 1; then
6144 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
6147 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
6148 { echo "$as_me:$LINENO: result: yes" >&5
6149 echo "${ECHO_T}yes" >&6; }
6151 { echo "$as_me:$LINENO: result: no" >&5
6152 echo "${ECHO_T}no" >&6; }
6157 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6158 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6160 # Check whether --enable-exceptions was given.
6161 if test "${enable_exceptions+set}" = set; then
6162 enableval=$enable_exceptions;
6163 if test "$enableval" = yes; then
6164 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6166 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6171 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
6172 if test "x$LINE" != x ; then
6173 eval "DEFAULT_$LINE"
6178 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
6183 eval "$ac_cv_use_exceptions"
6184 if test "$no_cache" != 1; then
6185 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
6188 if test "$wxUSE_EXCEPTIONS" = yes; then
6189 { echo "$as_me:$LINENO: result: yes" >&5
6190 echo "${ECHO_T}yes" >&6; }
6192 { echo "$as_me:$LINENO: result: no" >&5
6193 echo "${ECHO_T}no" >&6; }
6198 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6199 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6201 # Check whether --enable-ffile was given.
6202 if test "${enable_ffile+set}" = set; then
6203 enableval=$enable_ffile;
6204 if test "$enableval" = yes; then
6205 ac_cv_use_ffile='wxUSE_FFILE=yes'
6207 ac_cv_use_ffile='wxUSE_FFILE=no'
6212 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
6213 if test "x$LINE" != x ; then
6214 eval "DEFAULT_$LINE"
6219 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
6224 eval "$ac_cv_use_ffile"
6225 if test "$no_cache" != 1; then
6226 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
6229 if test "$wxUSE_FFILE" = yes; then
6230 { echo "$as_me:$LINENO: result: yes" >&5
6231 echo "${ECHO_T}yes" >&6; }
6233 { echo "$as_me:$LINENO: result: no" >&5
6234 echo "${ECHO_T}no" >&6; }
6239 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6240 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6242 # Check whether --enable-file was given.
6243 if test "${enable_file+set}" = set; then
6244 enableval=$enable_file;
6245 if test "$enableval" = yes; then
6246 ac_cv_use_file='wxUSE_FILE=yes'
6248 ac_cv_use_file='wxUSE_FILE=no'
6253 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
6254 if test "x$LINE" != x ; then
6255 eval "DEFAULT_$LINE"
6260 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
6265 eval "$ac_cv_use_file"
6266 if test "$no_cache" != 1; then
6267 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
6270 if test "$wxUSE_FILE" = yes; then
6271 { echo "$as_me:$LINENO: result: yes" >&5
6272 echo "${ECHO_T}yes" >&6; }
6274 { echo "$as_me:$LINENO: result: no" >&5
6275 echo "${ECHO_T}no" >&6; }
6280 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6281 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6283 # Check whether --enable-filesystem was given.
6284 if test "${enable_filesystem+set}" = set; then
6285 enableval=$enable_filesystem;
6286 if test "$enableval" = yes; then
6287 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6289 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6294 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
6295 if test "x$LINE" != x ; then
6296 eval "DEFAULT_$LINE"
6301 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
6306 eval "$ac_cv_use_filesystem"
6307 if test "$no_cache" != 1; then
6308 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
6311 if test "$wxUSE_FILESYSTEM" = yes; then
6312 { echo "$as_me:$LINENO: result: yes" >&5
6313 echo "${ECHO_T}yes" >&6; }
6315 { echo "$as_me:$LINENO: result: no" >&5
6316 echo "${ECHO_T}no" >&6; }
6321 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
6322 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
6324 # Check whether --enable-fontmap was given.
6325 if test "${enable_fontmap+set}" = set; then
6326 enableval=$enable_fontmap;
6327 if test "$enableval" = yes; then
6328 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
6330 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
6335 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
6336 if test "x$LINE" != x ; then
6337 eval "DEFAULT_$LINE"
6342 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
6347 eval "$ac_cv_use_fontmap"
6348 if test "$no_cache" != 1; then
6349 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
6352 if test "$wxUSE_FONTMAP" = yes; then
6353 { echo "$as_me:$LINENO: result: yes" >&5
6354 echo "${ECHO_T}yes" >&6; }
6356 { echo "$as_me:$LINENO: result: no" >&5
6357 echo "${ECHO_T}no" >&6; }
6362 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
6363 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
6365 # Check whether --enable-fs_archive was given.
6366 if test "${enable_fs_archive+set}" = set; then
6367 enableval=$enable_fs_archive;
6368 if test "$enableval" = yes; then
6369 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
6371 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
6376 LINE=`grep "wxUSE_FS_ARCHIVE" ${wx_arg_cache_file}`
6377 if test "x$LINE" != x ; then
6378 eval "DEFAULT_$LINE"
6383 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE='$DEFAULT_wxUSE_FS_ARCHIVE
6388 eval "$ac_cv_use_fs_archive"
6389 if test "$no_cache" != 1; then
6390 echo $ac_cv_use_fs_archive >> ${wx_arg_cache_file}.tmp
6393 if test "$wxUSE_FS_ARCHIVE" = yes; then
6394 { echo "$as_me:$LINENO: result: yes" >&5
6395 echo "${ECHO_T}yes" >&6; }
6397 { echo "$as_me:$LINENO: result: no" >&5
6398 echo "${ECHO_T}no" >&6; }
6403 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
6404 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
6406 # Check whether --enable-fs_inet was given.
6407 if test "${enable_fs_inet+set}" = set; then
6408 enableval=$enable_fs_inet;
6409 if test "$enableval" = yes; then
6410 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
6412 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
6417 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
6418 if test "x$LINE" != x ; then
6419 eval "DEFAULT_$LINE"
6424 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
6429 eval "$ac_cv_use_fs_inet"
6430 if test "$no_cache" != 1; then
6431 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
6434 if test "$wxUSE_FS_INET" = yes; then
6435 { echo "$as_me:$LINENO: result: yes" >&5
6436 echo "${ECHO_T}yes" >&6; }
6438 { echo "$as_me:$LINENO: result: no" >&5
6439 echo "${ECHO_T}no" >&6; }
6444 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
6445 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
6447 # Check whether --enable-fs_zip was given.
6448 if test "${enable_fs_zip+set}" = set; then
6449 enableval=$enable_fs_zip;
6450 if test "$enableval" = yes; then
6451 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
6453 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
6458 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
6459 if test "x$LINE" != x ; then
6460 eval "DEFAULT_$LINE"
6465 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
6470 eval "$ac_cv_use_fs_zip"
6471 if test "$no_cache" != 1; then
6472 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
6475 if test "$wxUSE_FS_ZIP" = yes; then
6476 { echo "$as_me:$LINENO: result: yes" >&5
6477 echo "${ECHO_T}yes" >&6; }
6479 { echo "$as_me:$LINENO: result: no" >&5
6480 echo "${ECHO_T}no" >&6; }
6485 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
6486 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
6488 # Check whether --enable-geometry was given.
6489 if test "${enable_geometry+set}" = set; then
6490 enableval=$enable_geometry;
6491 if test "$enableval" = yes; then
6492 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
6494 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
6499 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
6500 if test "x$LINE" != x ; then
6501 eval "DEFAULT_$LINE"
6506 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
6511 eval "$ac_cv_use_geometry"
6512 if test "$no_cache" != 1; then
6513 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
6516 if test "$wxUSE_GEOMETRY" = yes; then
6517 { echo "$as_me:$LINENO: result: yes" >&5
6518 echo "${ECHO_T}yes" >&6; }
6520 { echo "$as_me:$LINENO: result: no" >&5
6521 echo "${ECHO_T}no" >&6; }
6526 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
6527 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
6529 # Check whether --enable-log was given.
6530 if test "${enable_log+set}" = set; then
6531 enableval=$enable_log;
6532 if test "$enableval" = yes; then
6533 ac_cv_use_log='wxUSE_LOG=yes'
6535 ac_cv_use_log='wxUSE_LOG=no'
6540 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
6541 if test "x$LINE" != x ; then
6542 eval "DEFAULT_$LINE"
6547 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
6552 eval "$ac_cv_use_log"
6553 if test "$no_cache" != 1; then
6554 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
6557 if test "$wxUSE_LOG" = yes; then
6558 { echo "$as_me:$LINENO: result: yes" >&5
6559 echo "${ECHO_T}yes" >&6; }
6561 { echo "$as_me:$LINENO: result: no" >&5
6562 echo "${ECHO_T}no" >&6; }
6567 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
6568 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
6570 # Check whether --enable-longlong was given.
6571 if test "${enable_longlong+set}" = set; then
6572 enableval=$enable_longlong;
6573 if test "$enableval" = yes; then
6574 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
6576 ac_cv_use_longlong='wxUSE_LONGLONG=no'
6581 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
6582 if test "x$LINE" != x ; then
6583 eval "DEFAULT_$LINE"
6588 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
6593 eval "$ac_cv_use_longlong"
6594 if test "$no_cache" != 1; then
6595 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
6598 if test "$wxUSE_LONGLONG" = yes; then
6599 { echo "$as_me:$LINENO: result: yes" >&5
6600 echo "${ECHO_T}yes" >&6; }
6602 { echo "$as_me:$LINENO: result: no" >&5
6603 echo "${ECHO_T}no" >&6; }
6608 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
6609 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
6611 # Check whether --enable-mimetype was given.
6612 if test "${enable_mimetype+set}" = set; then
6613 enableval=$enable_mimetype;
6614 if test "$enableval" = yes; then
6615 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
6617 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
6622 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
6623 if test "x$LINE" != x ; then
6624 eval "DEFAULT_$LINE"
6629 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
6634 eval "$ac_cv_use_mimetype"
6635 if test "$no_cache" != 1; then
6636 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
6639 if test "$wxUSE_MIMETYPE" = yes; then
6640 { echo "$as_me:$LINENO: result: yes" >&5
6641 echo "${ECHO_T}yes" >&6; }
6643 { echo "$as_me:$LINENO: result: no" >&5
6644 echo "${ECHO_T}no" >&6; }
6649 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
6650 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
6652 # Check whether --enable-mslu was given.
6653 if test "${enable_mslu+set}" = set; then
6654 enableval=$enable_mslu;
6655 if test "$enableval" = yes; then
6656 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
6658 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
6663 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
6664 if test "x$LINE" != x ; then
6665 eval "DEFAULT_$LINE"
6670 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
6675 eval "$ac_cv_use_mslu"
6676 if test "$no_cache" != 1; then
6677 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
6680 if test "$wxUSE_UNICODE_MSLU" = yes; then
6681 { echo "$as_me:$LINENO: result: yes" >&5
6682 echo "${ECHO_T}yes" >&6; }
6684 { echo "$as_me:$LINENO: result: no" >&5
6685 echo "${ECHO_T}no" >&6; }
6690 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
6691 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
6693 # Check whether --enable-snglinst was given.
6694 if test "${enable_snglinst+set}" = set; then
6695 enableval=$enable_snglinst;
6696 if test "$enableval" = yes; then
6697 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
6699 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
6704 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
6705 if test "x$LINE" != x ; then
6706 eval "DEFAULT_$LINE"
6711 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
6716 eval "$ac_cv_use_snglinst"
6717 if test "$no_cache" != 1; then
6718 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
6721 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
6722 { echo "$as_me:$LINENO: result: yes" >&5
6723 echo "${ECHO_T}yes" >&6; }
6725 { echo "$as_me:$LINENO: result: no" >&5
6726 echo "${ECHO_T}no" >&6; }
6731 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
6732 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
6734 # Check whether --enable-std_iostreams was given.
6735 if test "${enable_std_iostreams+set}" = set; then
6736 enableval=$enable_std_iostreams;
6737 if test "$enableval" = yes; then
6738 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
6740 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
6745 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
6746 if test "x$LINE" != x ; then
6747 eval "DEFAULT_$LINE"
6752 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
6757 eval "$ac_cv_use_std_iostreams"
6758 if test "$no_cache" != 1; then
6759 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
6762 if test "$wxUSE_STD_IOSTREAM" = yes; then
6763 { echo "$as_me:$LINENO: result: yes" >&5
6764 echo "${ECHO_T}yes" >&6; }
6766 { echo "$as_me:$LINENO: result: no" >&5
6767 echo "${ECHO_T}no" >&6; }
6772 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
6773 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
6775 # Check whether --enable-std_string was given.
6776 if test "${enable_std_string+set}" = set; then
6777 enableval=$enable_std_string;
6778 if test "$enableval" = yes; then
6779 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
6781 ac_cv_use_std_string='wxUSE_STD_STRING=no'
6786 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
6787 if test "x$LINE" != x ; then
6788 eval "DEFAULT_$LINE"
6793 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
6798 eval "$ac_cv_use_std_string"
6799 if test "$no_cache" != 1; then
6800 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
6803 if test "$wxUSE_STD_STRING" = yes; then
6804 { echo "$as_me:$LINENO: result: yes" >&5
6805 echo "${ECHO_T}yes" >&6; }
6807 { echo "$as_me:$LINENO: result: no" >&5
6808 echo "${ECHO_T}no" >&6; }
6813 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
6814 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
6816 # Check whether --enable-stdpaths was given.
6817 if test "${enable_stdpaths+set}" = set; then
6818 enableval=$enable_stdpaths;
6819 if test "$enableval" = yes; then
6820 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
6822 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
6827 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
6828 if test "x$LINE" != x ; then
6829 eval "DEFAULT_$LINE"
6834 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
6839 eval "$ac_cv_use_stdpaths"
6840 if test "$no_cache" != 1; then
6841 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
6844 if test "$wxUSE_STDPATHS" = yes; then
6845 { echo "$as_me:$LINENO: result: yes" >&5
6846 echo "${ECHO_T}yes" >&6; }
6848 { echo "$as_me:$LINENO: result: no" >&5
6849 echo "${ECHO_T}no" >&6; }
6854 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6855 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
6857 # Check whether --enable-stopwatch was given.
6858 if test "${enable_stopwatch+set}" = set; then
6859 enableval=$enable_stopwatch;
6860 if test "$enableval" = yes; then
6861 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
6863 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
6868 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
6869 if test "x$LINE" != x ; then
6870 eval "DEFAULT_$LINE"
6875 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
6880 eval "$ac_cv_use_stopwatch"
6881 if test "$no_cache" != 1; then
6882 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
6885 if test "$wxUSE_STOPWATCH" = yes; then
6886 { echo "$as_me:$LINENO: result: yes" >&5
6887 echo "${ECHO_T}yes" >&6; }
6889 { echo "$as_me:$LINENO: result: no" >&5
6890 echo "${ECHO_T}no" >&6; }
6895 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
6896 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
6898 # Check whether --enable-streams was given.
6899 if test "${enable_streams+set}" = set; then
6900 enableval=$enable_streams;
6901 if test "$enableval" = yes; then
6902 ac_cv_use_streams='wxUSE_STREAMS=yes'
6904 ac_cv_use_streams='wxUSE_STREAMS=no'
6909 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
6910 if test "x$LINE" != x ; then
6911 eval "DEFAULT_$LINE"
6916 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
6921 eval "$ac_cv_use_streams"
6922 if test "$no_cache" != 1; then
6923 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
6926 if test "$wxUSE_STREAMS" = yes; then
6927 { echo "$as_me:$LINENO: result: yes" >&5
6928 echo "${ECHO_T}yes" >&6; }
6930 { echo "$as_me:$LINENO: result: no" >&5
6931 echo "${ECHO_T}no" >&6; }
6936 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
6937 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
6939 # Check whether --enable-system_options was given.
6940 if test "${enable_system_options+set}" = set; then
6941 enableval=$enable_system_options;
6942 if test "$enableval" = yes; then
6943 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
6945 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
6950 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6951 if test "x$LINE" != x ; then
6952 eval "DEFAULT_$LINE"
6957 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6962 eval "$ac_cv_use_system_options"
6963 if test "$no_cache" != 1; then
6964 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6967 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6968 { echo "$as_me:$LINENO: result: yes" >&5
6969 echo "${ECHO_T}yes" >&6; }
6971 { echo "$as_me:$LINENO: result: no" >&5
6972 echo "${ECHO_T}no" >&6; }
6977 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
6978 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
6980 # Check whether --enable-tarstream was given.
6981 if test "${enable_tarstream+set}" = set; then
6982 enableval=$enable_tarstream;
6983 if test "$enableval" = yes; then
6984 ac_cv_use_tarstream='wxUSE_TARSTREAM=yes'
6986 ac_cv_use_tarstream='wxUSE_TARSTREAM=no'
6991 LINE=`grep "wxUSE_TARSTREAM" ${wx_arg_cache_file}`
6992 if test "x$LINE" != x ; then
6993 eval "DEFAULT_$LINE"
6998 ac_cv_use_tarstream='wxUSE_TARSTREAM='$DEFAULT_wxUSE_TARSTREAM
7003 eval "$ac_cv_use_tarstream"
7004 if test "$no_cache" != 1; then
7005 echo $ac_cv_use_tarstream >> ${wx_arg_cache_file}.tmp
7008 if test "$wxUSE_TARSTREAM" = yes; then
7009 { echo "$as_me:$LINENO: result: yes" >&5
7010 echo "${ECHO_T}yes" >&6; }
7012 { echo "$as_me:$LINENO: result: no" >&5
7013 echo "${ECHO_T}no" >&6; }
7018 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7019 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7021 # Check whether --enable-textbuf was given.
7022 if test "${enable_textbuf+set}" = set; then
7023 enableval=$enable_textbuf;
7024 if test "$enableval" = yes; then
7025 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7027 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7032 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
7033 if test "x$LINE" != x ; then
7034 eval "DEFAULT_$LINE"
7039 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
7044 eval "$ac_cv_use_textbuf"
7045 if test "$no_cache" != 1; then
7046 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
7049 if test "$wxUSE_TEXTBUFFER" = yes; then
7050 { echo "$as_me:$LINENO: result: yes" >&5
7051 echo "${ECHO_T}yes" >&6; }
7053 { echo "$as_me:$LINENO: result: no" >&5
7054 echo "${ECHO_T}no" >&6; }
7059 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7060 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7062 # Check whether --enable-textfile was given.
7063 if test "${enable_textfile+set}" = set; then
7064 enableval=$enable_textfile;
7065 if test "$enableval" = yes; then
7066 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
7068 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
7073 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
7074 if test "x$LINE" != x ; then
7075 eval "DEFAULT_$LINE"
7080 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
7085 eval "$ac_cv_use_textfile"
7086 if test "$no_cache" != 1; then
7087 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
7090 if test "$wxUSE_TEXTFILE" = yes; then
7091 { echo "$as_me:$LINENO: result: yes" >&5
7092 echo "${ECHO_T}yes" >&6; }
7094 { echo "$as_me:$LINENO: result: no" >&5
7095 echo "${ECHO_T}no" >&6; }
7100 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7101 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7103 # Check whether --enable-timer was given.
7104 if test "${enable_timer+set}" = set; then
7105 enableval=$enable_timer;
7106 if test "$enableval" = yes; then
7107 ac_cv_use_timer='wxUSE_TIMER=yes'
7109 ac_cv_use_timer='wxUSE_TIMER=no'
7114 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
7115 if test "x$LINE" != x ; then
7116 eval "DEFAULT_$LINE"
7121 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
7126 eval "$ac_cv_use_timer"
7127 if test "$no_cache" != 1; then
7128 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
7131 if test "$wxUSE_TIMER" = yes; then
7132 { echo "$as_me:$LINENO: result: yes" >&5
7133 echo "${ECHO_T}yes" >&6; }
7135 { echo "$as_me:$LINENO: result: no" >&5
7136 echo "${ECHO_T}no" >&6; }
7141 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
7142 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
7144 # Check whether --enable-unicode was given.
7145 if test "${enable_unicode+set}" = set; then
7146 enableval=$enable_unicode;
7147 if test "$enableval" = yes; then
7148 ac_cv_use_unicode='wxUSE_UNICODE=yes'
7150 ac_cv_use_unicode='wxUSE_UNICODE=no'
7155 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
7156 if test "x$LINE" != x ; then
7157 eval "DEFAULT_$LINE"
7162 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
7167 eval "$ac_cv_use_unicode"
7168 if test "$no_cache" != 1; then
7169 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
7172 if test "$wxUSE_UNICODE" = yes; then
7173 { echo "$as_me:$LINENO: result: yes" >&5
7174 echo "${ECHO_T}yes" >&6; }
7176 { echo "$as_me:$LINENO: result: no" >&5
7177 echo "${ECHO_T}no" >&6; }
7182 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7183 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7185 # Check whether --enable-sound was given.
7186 if test "${enable_sound+set}" = set; then
7187 enableval=$enable_sound;
7188 if test "$enableval" = yes; then
7189 ac_cv_use_sound='wxUSE_SOUND=yes'
7191 ac_cv_use_sound='wxUSE_SOUND=no'
7196 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
7197 if test "x$LINE" != x ; then
7198 eval "DEFAULT_$LINE"
7203 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
7208 eval "$ac_cv_use_sound"
7209 if test "$no_cache" != 1; then
7210 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
7213 if test "$wxUSE_SOUND" = yes; then
7214 { echo "$as_me:$LINENO: result: yes" >&5
7215 echo "${ECHO_T}yes" >&6; }
7217 { echo "$as_me:$LINENO: result: no" >&5
7218 echo "${ECHO_T}no" >&6; }
7223 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
7224 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
7226 # Check whether --enable-mediactrl was given.
7227 if test "${enable_mediactrl+set}" = set; then
7228 enableval=$enable_mediactrl;
7229 if test "$enableval" = yes; then
7230 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
7232 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
7237 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
7238 if test "x$LINE" != x ; then
7239 eval "DEFAULT_$LINE"
7244 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
7249 eval "$ac_cv_use_mediactrl"
7250 if test "$no_cache" != 1; then
7251 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
7254 if test "$wxUSE_MEDIACTRL" = yes; then
7255 { echo "$as_me:$LINENO: result: yes" >&5
7256 echo "${ECHO_T}yes" >&6; }
7258 { echo "$as_me:$LINENO: result: no" >&5
7259 echo "${ECHO_T}no" >&6; }
7264 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
7265 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
7267 # Check whether --enable-gstreamer8 was given.
7268 if test "${enable_gstreamer8+set}" = set; then
7269 enableval=$enable_gstreamer8;
7270 if test "$enableval" = yes; then
7271 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
7273 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
7278 LINE=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
7279 if test "x$LINE" != x ; then
7280 eval "DEFAULT_$LINE"
7285 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
7290 eval "$ac_cv_use_gstreamer8"
7291 if test "$no_cache" != 1; then
7292 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
7295 if test "$wxUSE_GSTREAMER8" = yes; then
7296 { echo "$as_me:$LINENO: result: yes" >&5
7297 echo "${ECHO_T}yes" >&6; }
7299 { echo "$as_me:$LINENO: result: no" >&5
7300 echo "${ECHO_T}no" >&6; }
7305 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7306 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7308 # Check whether --enable-printfposparam was given.
7309 if test "${enable_printfposparam+set}" = set; then
7310 enableval=$enable_printfposparam;
7311 if test "$enableval" = yes; then
7312 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7314 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7319 LINE=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
7320 if test "x$LINE" != x ; then
7321 eval "DEFAULT_$LINE"
7326 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
7331 eval "$ac_cv_use_printfposparam"
7332 if test "$no_cache" != 1; then
7333 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
7336 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
7337 { echo "$as_me:$LINENO: result: yes" >&5
7338 echo "${ECHO_T}yes" >&6; }
7340 { echo "$as_me:$LINENO: result: no" >&5
7341 echo "${ECHO_T}no" >&6; }
7346 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7347 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7349 # Check whether --enable-zipstream was given.
7350 if test "${enable_zipstream+set}" = set; then
7351 enableval=$enable_zipstream;
7352 if test "$enableval" = yes; then
7353 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7355 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7360 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
7361 if test "x$LINE" != x ; then
7362 eval "DEFAULT_$LINE"
7367 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
7372 eval "$ac_cv_use_zipstream"
7373 if test "$no_cache" != 1; then
7374 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
7377 if test "$wxUSE_ZIPSTREAM" = yes; then
7378 { echo "$as_me:$LINENO: result: yes" >&5
7379 echo "${ECHO_T}yes" >&6; }
7381 { echo "$as_me:$LINENO: result: no" >&5
7382 echo "${ECHO_T}no" >&6; }
7388 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7389 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7391 # Check whether --enable-url was given.
7392 if test "${enable_url+set}" = set; then
7393 enableval=$enable_url;
7394 if test "$enableval" = yes; then
7395 ac_cv_use_url='wxUSE_URL=yes'
7397 ac_cv_use_url='wxUSE_URL=no'
7402 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
7403 if test "x$LINE" != x ; then
7404 eval "DEFAULT_$LINE"
7409 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
7414 eval "$ac_cv_use_url"
7415 if test "$no_cache" != 1; then
7416 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
7419 if test "$wxUSE_URL" = yes; then
7420 { echo "$as_me:$LINENO: result: yes" >&5
7421 echo "${ECHO_T}yes" >&6; }
7423 { echo "$as_me:$LINENO: result: no" >&5
7424 echo "${ECHO_T}no" >&6; }
7429 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7430 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7432 # Check whether --enable-variant was given.
7433 if test "${enable_variant+set}" = set; then
7434 enableval=$enable_variant;
7435 if test "$enableval" = yes; then
7436 ac_cv_use_variant='wxUSE_VARIANT=yes'
7438 ac_cv_use_variant='wxUSE_VARIANT=no'
7443 LINE=`grep "wxUSE_VARIANT" ${wx_arg_cache_file}`
7444 if test "x$LINE" != x ; then
7445 eval "DEFAULT_$LINE"
7450 ac_cv_use_variant='wxUSE_VARIANT='$DEFAULT_wxUSE_VARIANT
7455 eval "$ac_cv_use_variant"
7456 if test "$no_cache" != 1; then
7457 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
7460 if test "$wxUSE_VARIANT" = yes; then
7461 { echo "$as_me:$LINENO: result: yes" >&5
7462 echo "${ECHO_T}yes" >&6; }
7464 { echo "$as_me:$LINENO: result: no" >&5
7465 echo "${ECHO_T}no" >&6; }
7470 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7471 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7473 # Check whether --enable-protocol was given.
7474 if test "${enable_protocol+set}" = set; then
7475 enableval=$enable_protocol;
7476 if test "$enableval" = yes; then
7477 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
7479 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
7484 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
7485 if test "x$LINE" != x ; then
7486 eval "DEFAULT_$LINE"
7491 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
7496 eval "$ac_cv_use_protocol"
7497 if test "$no_cache" != 1; then
7498 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
7501 if test "$wxUSE_PROTOCOL" = yes; then
7502 { echo "$as_me:$LINENO: result: yes" >&5
7503 echo "${ECHO_T}yes" >&6; }
7505 { echo "$as_me:$LINENO: result: no" >&5
7506 echo "${ECHO_T}no" >&6; }
7511 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
7512 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
7514 # Check whether --enable-protocol_http was given.
7515 if test "${enable_protocol_http+set}" = set; then
7516 enableval=$enable_protocol_http;
7517 if test "$enableval" = yes; then
7518 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
7520 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
7525 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
7526 if test "x$LINE" != x ; then
7527 eval "DEFAULT_$LINE"
7532 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
7537 eval "$ac_cv_use_protocol_http"
7538 if test "$no_cache" != 1; then
7539 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
7542 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
7543 { echo "$as_me:$LINENO: result: yes" >&5
7544 echo "${ECHO_T}yes" >&6; }
7546 { echo "$as_me:$LINENO: result: no" >&5
7547 echo "${ECHO_T}no" >&6; }
7552 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
7553 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
7555 # Check whether --enable-protocol_ftp was given.
7556 if test "${enable_protocol_ftp+set}" = set; then
7557 enableval=$enable_protocol_ftp;
7558 if test "$enableval" = yes; then
7559 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
7561 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
7566 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
7567 if test "x$LINE" != x ; then
7568 eval "DEFAULT_$LINE"
7573 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
7578 eval "$ac_cv_use_protocol_ftp"
7579 if test "$no_cache" != 1; then
7580 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
7583 if test "$wxUSE_PROTOCOL_FTP" = yes; then
7584 { echo "$as_me:$LINENO: result: yes" >&5
7585 echo "${ECHO_T}yes" >&6; }
7587 { echo "$as_me:$LINENO: result: no" >&5
7588 echo "${ECHO_T}no" >&6; }
7593 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
7594 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
7596 # Check whether --enable-protocol_file was given.
7597 if test "${enable_protocol_file+set}" = set; then
7598 enableval=$enable_protocol_file;
7599 if test "$enableval" = yes; then
7600 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
7602 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
7607 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
7608 if test "x$LINE" != x ; then
7609 eval "DEFAULT_$LINE"
7614 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
7619 eval "$ac_cv_use_protocol_file"
7620 if test "$no_cache" != 1; then
7621 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
7624 if test "$wxUSE_PROTOCOL_FILE" = yes; then
7625 { echo "$as_me:$LINENO: result: yes" >&5
7626 echo "${ECHO_T}yes" >&6; }
7628 { echo "$as_me:$LINENO: result: no" >&5
7629 echo "${ECHO_T}no" >&6; }
7637 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
7638 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
7640 # Check whether --enable-threads was given.
7641 if test "${enable_threads+set}" = set; then
7642 enableval=$enable_threads;
7643 if test "$enableval" = yes; then
7644 ac_cv_use_threads='wxUSE_THREADS=yes'
7646 ac_cv_use_threads='wxUSE_THREADS=no'
7651 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
7652 if test "x$LINE" != x ; then
7653 eval "DEFAULT_$LINE"
7658 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
7663 eval "$ac_cv_use_threads"
7664 if test "$no_cache" != 1; then
7665 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
7668 if test "$wxUSE_THREADS" = yes; then
7669 { echo "$as_me:$LINENO: result: yes" >&5
7670 echo "${ECHO_T}yes" >&6; }
7672 { echo "$as_me:$LINENO: result: no" >&5
7673 echo "${ECHO_T}no" >&6; }
7677 if test "$wxUSE_GUI" = "yes"; then
7682 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
7683 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
7685 # Check whether --enable-docview was given.
7686 if test "${enable_docview+set}" = set; then
7687 enableval=$enable_docview;
7688 if test "$enableval" = yes; then
7689 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
7691 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
7696 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
7697 if test "x$LINE" != x ; then
7698 eval "DEFAULT_$LINE"
7703 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
7708 eval "$ac_cv_use_docview"
7709 if test "$no_cache" != 1; then
7710 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
7713 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
7714 { echo "$as_me:$LINENO: result: yes" >&5
7715 echo "${ECHO_T}yes" >&6; }
7717 { echo "$as_me:$LINENO: result: no" >&5
7718 echo "${ECHO_T}no" >&6; }
7723 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
7724 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
7726 # Check whether --enable-help was given.
7727 if test "${enable_help+set}" = set; then
7728 enableval=$enable_help;
7729 if test "$enableval" = yes; then
7730 ac_cv_use_help='wxUSE_HELP=yes'
7732 ac_cv_use_help='wxUSE_HELP=no'
7737 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
7738 if test "x$LINE" != x ; then
7739 eval "DEFAULT_$LINE"
7744 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
7749 eval "$ac_cv_use_help"
7750 if test "$no_cache" != 1; then
7751 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
7754 if test "$wxUSE_HELP" = yes; then
7755 { echo "$as_me:$LINENO: result: yes" >&5
7756 echo "${ECHO_T}yes" >&6; }
7758 { echo "$as_me:$LINENO: result: no" >&5
7759 echo "${ECHO_T}no" >&6; }
7764 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
7765 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
7767 # Check whether --enable-mshtmlhelp was given.
7768 if test "${enable_mshtmlhelp+set}" = set; then
7769 enableval=$enable_mshtmlhelp;
7770 if test "$enableval" = yes; then
7771 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
7773 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
7778 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
7779 if test "x$LINE" != x ; then
7780 eval "DEFAULT_$LINE"
7785 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
7790 eval "$ac_cv_use_mshtmlhelp"
7791 if test "$no_cache" != 1; then
7792 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
7795 if test "$wxUSE_MS_HTML_HELP" = yes; then
7796 { echo "$as_me:$LINENO: result: yes" >&5
7797 echo "${ECHO_T}yes" >&6; }
7799 { echo "$as_me:$LINENO: result: no" >&5
7800 echo "${ECHO_T}no" >&6; }
7805 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7806 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
7808 # Check whether --enable-html was given.
7809 if test "${enable_html+set}" = set; then
7810 enableval=$enable_html;
7811 if test "$enableval" = yes; then
7812 ac_cv_use_html='wxUSE_HTML=yes'
7814 ac_cv_use_html='wxUSE_HTML=no'
7819 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
7820 if test "x$LINE" != x ; then
7821 eval "DEFAULT_$LINE"
7826 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
7831 eval "$ac_cv_use_html"
7832 if test "$no_cache" != 1; then
7833 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7836 if test "$wxUSE_HTML" = yes; then
7837 { echo "$as_me:$LINENO: result: yes" >&5
7838 echo "${ECHO_T}yes" >&6; }
7840 { echo "$as_me:$LINENO: result: no" >&5
7841 echo "${ECHO_T}no" >&6; }
7846 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
7847 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
7849 # Check whether --enable-htmlhelp was given.
7850 if test "${enable_htmlhelp+set}" = set; then
7851 enableval=$enable_htmlhelp;
7852 if test "$enableval" = yes; then
7853 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
7855 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
7860 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
7861 if test "x$LINE" != x ; then
7862 eval "DEFAULT_$LINE"
7867 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
7872 eval "$ac_cv_use_htmlhelp"
7873 if test "$no_cache" != 1; then
7874 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
7877 if test "$wxUSE_WXHTML_HELP" = yes; then
7878 { echo "$as_me:$LINENO: result: yes" >&5
7879 echo "${ECHO_T}yes" >&6; }
7881 { echo "$as_me:$LINENO: result: no" >&5
7882 echo "${ECHO_T}no" >&6; }
7887 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
7888 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
7890 # Check whether --enable-xrc was given.
7891 if test "${enable_xrc+set}" = set; then
7892 enableval=$enable_xrc;
7893 if test "$enableval" = yes; then
7894 ac_cv_use_xrc='wxUSE_XRC=yes'
7896 ac_cv_use_xrc='wxUSE_XRC=no'
7901 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
7902 if test "x$LINE" != x ; then
7903 eval "DEFAULT_$LINE"
7908 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
7913 eval "$ac_cv_use_xrc"
7914 if test "$no_cache" != 1; then
7915 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
7918 if test "$wxUSE_XRC" = yes; then
7919 { echo "$as_me:$LINENO: result: yes" >&5
7920 echo "${ECHO_T}yes" >&6; }
7922 { echo "$as_me:$LINENO: result: no" >&5
7923 echo "${ECHO_T}no" >&6; }
7928 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
7929 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
7931 # Check whether --enable-aui was given.
7932 if test "${enable_aui+set}" = set; then
7933 enableval=$enable_aui;
7934 if test "$enableval" = yes; then
7935 ac_cv_use_aui='wxUSE_AUI=yes'
7937 ac_cv_use_aui='wxUSE_AUI=no'
7942 LINE=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
7943 if test "x$LINE" != x ; then
7944 eval "DEFAULT_$LINE"
7949 ac_cv_use_aui='wxUSE_AUI='$DEFAULT_wxUSE_AUI
7954 eval "$ac_cv_use_aui"
7955 if test "$no_cache" != 1; then
7956 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
7959 if test "$wxUSE_AUI" = yes; then
7960 { echo "$as_me:$LINENO: result: yes" >&5
7961 echo "${ECHO_T}yes" >&6; }
7963 { echo "$as_me:$LINENO: result: no" >&5
7964 echo "${ECHO_T}no" >&6; }
7969 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
7970 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
7972 # Check whether --enable-constraints was given.
7973 if test "${enable_constraints+set}" = set; then
7974 enableval=$enable_constraints;
7975 if test "$enableval" = yes; then
7976 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
7978 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
7983 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
7984 if test "x$LINE" != x ; then
7985 eval "DEFAULT_$LINE"
7990 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
7995 eval "$ac_cv_use_constraints"
7996 if test "$no_cache" != 1; then
7997 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
8000 if test "$wxUSE_CONSTRAINTS" = yes; then
8001 { echo "$as_me:$LINENO: result: yes" >&5
8002 echo "${ECHO_T}yes" >&6; }
8004 { echo "$as_me:$LINENO: result: no" >&5
8005 echo "${ECHO_T}no" >&6; }
8010 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
8011 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
8013 # Check whether --enable-printarch was given.
8014 if test "${enable_printarch+set}" = set; then
8015 enableval=$enable_printarch;
8016 if test "$enableval" = yes; then
8017 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
8019 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
8024 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
8025 if test "x$LINE" != x ; then
8026 eval "DEFAULT_$LINE"
8031 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
8036 eval "$ac_cv_use_printarch"
8037 if test "$no_cache" != 1; then
8038 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
8041 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
8042 { echo "$as_me:$LINENO: result: yes" >&5
8043 echo "${ECHO_T}yes" >&6; }
8045 { echo "$as_me:$LINENO: result: no" >&5
8046 echo "${ECHO_T}no" >&6; }
8051 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8052 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8054 # Check whether --enable-mdi was given.
8055 if test "${enable_mdi+set}" = set; then
8056 enableval=$enable_mdi;
8057 if test "$enableval" = yes; then
8058 ac_cv_use_mdi='wxUSE_MDI=yes'
8060 ac_cv_use_mdi='wxUSE_MDI=no'
8065 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
8066 if test "x$LINE" != x ; then
8067 eval "DEFAULT_$LINE"
8072 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
8077 eval "$ac_cv_use_mdi"
8078 if test "$no_cache" != 1; then
8079 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
8082 if test "$wxUSE_MDI" = yes; then
8083 { echo "$as_me:$LINENO: result: yes" >&5
8084 echo "${ECHO_T}yes" >&6; }
8086 { echo "$as_me:$LINENO: result: no" >&5
8087 echo "${ECHO_T}no" >&6; }
8092 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8093 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8095 # Check whether --enable-mdidoc was given.
8096 if test "${enable_mdidoc+set}" = set; then
8097 enableval=$enable_mdidoc;
8098 if test "$enableval" = yes; then
8099 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8101 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8106 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
8107 if test "x$LINE" != x ; then
8108 eval "DEFAULT_$LINE"
8113 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
8118 eval "$ac_cv_use_mdidoc"
8119 if test "$no_cache" != 1; then
8120 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
8123 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
8124 { echo "$as_me:$LINENO: result: yes" >&5
8125 echo "${ECHO_T}yes" >&6; }
8127 { echo "$as_me:$LINENO: result: no" >&5
8128 echo "${ECHO_T}no" >&6; }
8133 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8134 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8136 # Check whether --enable-loggui was given.
8137 if test "${enable_loggui+set}" = set; then
8138 enableval=$enable_loggui;
8139 if test "$enableval" = yes; then
8140 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
8142 ac_cv_use_loggui='wxUSE_LOGGUI=no'
8147 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
8148 if test "x$LINE" != x ; then
8149 eval "DEFAULT_$LINE"
8154 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
8159 eval "$ac_cv_use_loggui"
8160 if test "$no_cache" != 1; then
8161 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
8164 if test "$wxUSE_LOGGUI" = yes; then
8165 { echo "$as_me:$LINENO: result: yes" >&5
8166 echo "${ECHO_T}yes" >&6; }
8168 { echo "$as_me:$LINENO: result: no" >&5
8169 echo "${ECHO_T}no" >&6; }
8174 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8175 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8177 # Check whether --enable-logwin was given.
8178 if test "${enable_logwin+set}" = set; then
8179 enableval=$enable_logwin;
8180 if test "$enableval" = yes; then
8181 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8183 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
8188 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
8189 if test "x$LINE" != x ; then
8190 eval "DEFAULT_$LINE"
8195 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
8200 eval "$ac_cv_use_logwin"
8201 if test "$no_cache" != 1; then
8202 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
8205 if test "$wxUSE_LOGWINDOW" = yes; then
8206 { echo "$as_me:$LINENO: result: yes" >&5
8207 echo "${ECHO_T}yes" >&6; }
8209 { echo "$as_me:$LINENO: result: no" >&5
8210 echo "${ECHO_T}no" >&6; }
8215 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8216 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8218 # Check whether --enable-logdialog was given.
8219 if test "${enable_logdialog+set}" = set; then
8220 enableval=$enable_logdialog;
8221 if test "$enableval" = yes; then
8222 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8224 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8229 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
8230 if test "x$LINE" != x ; then
8231 eval "DEFAULT_$LINE"
8236 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
8241 eval "$ac_cv_use_logdialog"
8242 if test "$no_cache" != 1; then
8243 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
8246 if test "$wxUSE_LOGDIALOG" = yes; then
8247 { echo "$as_me:$LINENO: result: yes" >&5
8248 echo "${ECHO_T}yes" >&6; }
8250 { echo "$as_me:$LINENO: result: no" >&5
8251 echo "${ECHO_T}no" >&6; }
8256 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
8257 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
8259 # Check whether --enable-webkit was given.
8260 if test "${enable_webkit+set}" = set; then
8261 enableval=$enable_webkit;
8262 if test "$enableval" = yes; then
8263 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
8265 ac_cv_use_webkit='wxUSE_WEBKIT=no'
8270 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
8271 if test "x$LINE" != x ; then
8272 eval "DEFAULT_$LINE"
8277 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
8282 eval "$ac_cv_use_webkit"
8283 if test "$no_cache" != 1; then
8284 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
8287 if test "$wxUSE_WEBKIT" = yes; then
8288 { echo "$as_me:$LINENO: result: yes" >&5
8289 echo "${ECHO_T}yes" >&6; }
8291 { echo "$as_me:$LINENO: result: no" >&5
8292 echo "${ECHO_T}no" >&6; }
8297 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
8298 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
8300 # Check whether --enable-richtext was given.
8301 if test "${enable_richtext+set}" = set; then
8302 enableval=$enable_richtext;
8303 if test "$enableval" = yes; then
8304 ac_cv_use_richtext='wxUSE_RICHTEXT=yes'
8306 ac_cv_use_richtext='wxUSE_RICHTEXT=no'
8311 LINE=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
8312 if test "x$LINE" != x ; then
8313 eval "DEFAULT_$LINE"
8318 ac_cv_use_richtext='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
8323 eval "$ac_cv_use_richtext"
8324 if test "$no_cache" != 1; then
8325 echo $ac_cv_use_richtext >> ${wx_arg_cache_file}.tmp
8328 if test "$wxUSE_RICHTEXT" = yes; then
8329 { echo "$as_me:$LINENO: result: yes" >&5
8330 echo "${ECHO_T}yes" >&6; }
8332 { echo "$as_me:$LINENO: result: no" >&5
8333 echo "${ECHO_T}no" >&6; }
8338 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
8339 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
8341 # Check whether --enable-graphics_ctx was given.
8342 if test "${enable_graphics_ctx+set}" = set; then
8343 enableval=$enable_graphics_ctx;
8344 if test "$enableval" = yes; then
8345 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
8347 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
8352 LINE=`grep "wxUSE_GRAPHICS_CONTEXT" ${wx_arg_cache_file}`
8353 if test "x$LINE" != x ; then
8354 eval "DEFAULT_$LINE"
8359 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT='$DEFAULT_wxUSE_GRAPHICS_CONTEXT
8364 eval "$ac_cv_use_graphics_ctx"
8365 if test "$no_cache" != 1; then
8366 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
8369 if test "$wxUSE_GRAPHICS_CONTEXT" = yes; then
8370 { echo "$as_me:$LINENO: result: yes" >&5
8371 echo "${ECHO_T}yes" >&6; }
8373 { echo "$as_me:$LINENO: result: no" >&5
8374 echo "${ECHO_T}no" >&6; }
8380 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
8381 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
8383 # Check whether --enable-postscript was given.
8384 if test "${enable_postscript+set}" = set; then
8385 enableval=$enable_postscript;
8386 if test "$enableval" = yes; then
8387 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
8389 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
8394 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
8395 if test "x$LINE" != x ; then
8396 eval "DEFAULT_$LINE"
8401 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
8406 eval "$ac_cv_use_postscript"
8407 if test "$no_cache" != 1; then
8408 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
8411 if test "$wxUSE_POSTSCRIPT" = yes; then
8412 { echo "$as_me:$LINENO: result: yes" >&5
8413 echo "${ECHO_T}yes" >&6; }
8415 { echo "$as_me:$LINENO: result: no" >&5
8416 echo "${ECHO_T}no" >&6; }
8424 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
8425 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6; }
8427 # Check whether --enable-prologio was given.
8428 if test "${enable_prologio+set}" = set; then
8429 enableval=$enable_prologio;
8430 if test "$enableval" = yes; then
8431 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
8433 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
8438 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
8439 if test "x$LINE" != x ; then
8440 eval "DEFAULT_$LINE"
8445 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
8450 eval "$ac_cv_use_prologio"
8451 if test "$no_cache" != 1; then
8452 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
8455 if test "$wxUSE_PROLOGIO" = yes; then
8456 { echo "$as_me:$LINENO: result: yes" >&5
8457 echo "${ECHO_T}yes" >&6; }
8459 { echo "$as_me:$LINENO: result: no" >&5
8460 echo "${ECHO_T}no" >&6; }
8465 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
8466 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6; }
8468 # Check whether --enable-resources was given.
8469 if test "${enable_resources+set}" = set; then
8470 enableval=$enable_resources;
8471 if test "$enableval" = yes; then
8472 ac_cv_use_resources='wxUSE_RESOURCES=yes'
8474 ac_cv_use_resources='wxUSE_RESOURCES=no'
8479 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
8480 if test "x$LINE" != x ; then
8481 eval "DEFAULT_$LINE"
8486 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
8491 eval "$ac_cv_use_resources"
8492 if test "$no_cache" != 1; then
8493 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
8496 if test "$wxUSE_RESOURCES" = yes; then
8497 { echo "$as_me:$LINENO: result: yes" >&5
8498 echo "${ECHO_T}yes" >&6; }
8500 { echo "$as_me:$LINENO: result: no" >&5
8501 echo "${ECHO_T}no" >&6; }
8508 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
8509 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
8511 # Check whether --enable-clipboard was given.
8512 if test "${enable_clipboard+set}" = set; then
8513 enableval=$enable_clipboard;
8514 if test "$enableval" = yes; then
8515 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
8517 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
8522 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
8523 if test "x$LINE" != x ; then
8524 eval "DEFAULT_$LINE"
8529 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
8534 eval "$ac_cv_use_clipboard"
8535 if test "$no_cache" != 1; then
8536 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
8539 if test "$wxUSE_CLIPBOARD" = yes; then
8540 { echo "$as_me:$LINENO: result: yes" >&5
8541 echo "${ECHO_T}yes" >&6; }
8543 { echo "$as_me:$LINENO: result: no" >&5
8544 echo "${ECHO_T}no" >&6; }
8549 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
8550 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
8552 # Check whether --enable-dnd was given.
8553 if test "${enable_dnd+set}" = set; then
8554 enableval=$enable_dnd;
8555 if test "$enableval" = yes; then
8556 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
8558 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
8563 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
8564 if test "x$LINE" != x ; then
8565 eval "DEFAULT_$LINE"
8570 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
8575 eval "$ac_cv_use_dnd"
8576 if test "$no_cache" != 1; then
8577 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
8580 if test "$wxUSE_DRAG_AND_DROP" = yes; then
8581 { echo "$as_me:$LINENO: result: yes" >&5
8582 echo "${ECHO_T}yes" >&6; }
8584 { echo "$as_me:$LINENO: result: no" >&5
8585 echo "${ECHO_T}no" >&6; }
8590 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
8591 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
8593 # Check whether --enable-metafile was given.
8594 if test "${enable_metafile+set}" = set; then
8595 enableval=$enable_metafile;
8596 if test "$enableval" = yes; then
8597 ac_cv_use_metafile='wxUSE_METAFILE=yes'
8599 ac_cv_use_metafile='wxUSE_METAFILE=no'
8604 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8605 if test "x$LINE" != x ; then
8606 eval "DEFAULT_$LINE"
8611 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8616 eval "$ac_cv_use_metafile"
8617 if test "$no_cache" != 1; then
8618 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8621 if test "$wxUSE_METAFILE" = yes; then
8622 { echo "$as_me:$LINENO: result: yes" >&5
8623 echo "${ECHO_T}yes" >&6; }
8625 { echo "$as_me:$LINENO: result: no" >&5
8626 echo "${ECHO_T}no" >&6; }
8634 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
8635 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
8637 # Check whether --enable-controls was given.
8638 if test "${enable_controls+set}" = set; then
8639 enableval=$enable_controls;
8640 if test "$enableval" = yes; then
8641 ac_cv_use_controls='wxUSE_CONTROLS=yes'
8643 ac_cv_use_controls='wxUSE_CONTROLS=no'
8648 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
8649 if test "x$LINE" != x ; then
8650 eval "DEFAULT_$LINE"
8655 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
8660 eval "$ac_cv_use_controls"
8661 if test "$no_cache" != 1; then
8662 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
8665 if test "$wxUSE_CONTROLS" = yes; then
8666 { echo "$as_me:$LINENO: result: yes" >&5
8667 echo "${ECHO_T}yes" >&6; }
8669 { echo "$as_me:$LINENO: result: no" >&5
8670 echo "${ECHO_T}no" >&6; }
8674 if test "$wxUSE_CONTROLS" = "yes"; then
8675 DEFAULT_wxUSE_ACCEL=yes
8676 DEFAULT_wxUSE_ANIMATIONCTRL=yes
8677 DEFAULT_wxUSE_BMPBUTTON=yes
8678 DEFAULT_wxUSE_BUTTON=yes
8679 DEFAULT_wxUSE_CALCTRL=yes
8680 DEFAULT_wxUSE_CARET=yes
8681 DEFAULT_wxUSE_COMBOBOX=yes
8682 DEFAULT_wxUSE_CHECKBOX=yes
8683 DEFAULT_wxUSE_CHECKLISTBOX=yes
8684 DEFAULT_wxUSE_CHOICE=yes
8685 DEFAULT_wxUSE_CHOICEBOOK=yes
8686 DEFAULT_wxUSE_COLLPANE=yes
8687 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
8688 DEFAULT_wxUSE_COMBOBOX=yes
8689 DEFAULT_wxUSE_DATEPICKCTRL=yes
8690 DEFAULT_wxUSE_DISPLAY=yes
8691 DEFAULT_wxUSE_DETECT_SM=yes
8692 DEFAULT_wxUSE_DIRPICKERCTRL=yes
8693 DEFAULT_wxUSE_FILEPICKERCTRL=yes
8694 DEFAULT_wxUSE_FONTPICKERCTRL=yes
8695 DEFAULT_wxUSE_GAUGE=yes
8696 DEFAULT_wxUSE_GRID=yes
8697 DEFAULT_wxUSE_HYPERLINKCTRL=yes
8698 DEFAULT_wxUSE_DATAVIEWCTRL=no
8699 DEFAULT_wxUSE_IMAGLIST=yes
8700 DEFAULT_wxUSE_LISTBOOK=yes
8701 DEFAULT_wxUSE_LISTBOX=yes
8702 DEFAULT_wxUSE_LISTCTRL=yes
8703 DEFAULT_wxUSE_NOTEBOOK=yes
8704 DEFAULT_wxUSE_RADIOBOX=yes
8705 DEFAULT_wxUSE_RADIOBTN=yes
8706 DEFAULT_wxUSE_SASH=yes
8707 DEFAULT_wxUSE_SCROLLBAR=yes
8708 DEFAULT_wxUSE_SEARCHCTRL=yes
8709 DEFAULT_wxUSE_SLIDER=yes
8710 DEFAULT_wxUSE_SPINBTN=yes
8711 DEFAULT_wxUSE_SPINCTRL=yes
8712 DEFAULT_wxUSE_SPLITTER=yes
8713 DEFAULT_wxUSE_STATBMP=yes
8714 DEFAULT_wxUSE_STATBOX=yes
8715 DEFAULT_wxUSE_STATLINE=yes
8716 DEFAULT_wxUSE_STATUSBAR=yes
8717 DEFAULT_wxUSE_TAB_DIALOG=yes
8718 DEFAULT_wxUSE_TOGGLEBTN=yes
8719 DEFAULT_wxUSE_TOOLBAR=yes
8720 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
8721 DEFAULT_wxUSE_TOOLTIPS=yes
8722 DEFAULT_wxUSE_TREEBOOK=yes
8723 DEFAULT_wxUSE_TOOLBOOK=yes
8724 DEFAULT_wxUSE_TREECTRL=yes
8725 DEFAULT_wxUSE_POPUPWIN=yes
8726 DEFAULT_wxUSE_TIPWINDOW=yes
8727 elif test "$wxUSE_CONTROLS" = "no"; then
8728 DEFAULT_wxUSE_ACCEL=no
8729 DEFAULT_wxUSE_ANIMATIONCTRL=no
8730 DEFAULT_wxUSE_BMPBUTTON=no
8731 DEFAULT_wxUSE_BUTTON=no
8732 DEFAULT_wxUSE_CALCTRL=no
8733 DEFAULT_wxUSE_CARET=no
8734 DEFAULT_wxUSE_COLLPANE=no
8735 DEFAULT_wxUSE_COMBOBOX=no
8736 DEFAULT_wxUSE_CHECKBOX=no
8737 DEFAULT_wxUSE_CHECKLISTBOX=no
8738 DEFAULT_wxUSE_CHOICE=no
8739 DEFAULT_wxUSE_CHOICEBOOK=no
8740 DEFAULT_wxUSE_COLOURPICKERCTRL=no
8741 DEFAULT_wxUSE_COMBOBOX=no
8742 DEFAULT_wxUSE_DATEPICKCTRL=no
8743 DEFAULT_wxUSE_DISPLAY=no
8744 DEFAULT_wxUSE_DETECT_SM=no
8745 DEFAULT_wxUSE_DIRPICKERCTRL=no
8746 DEFAULT_wxUSE_FILEPICKERCTRL=no
8747 DEFAULT_wxUSE_FONTPICKERCTRL=no
8748 DEFAULT_wxUSE_GAUGE=no
8749 DEFAULT_wxUSE_GRID=no
8750 DEFAULT_wxUSE_HYPERLINKCTRL=no
8751 DEFAULT_wxUSE_DATAVIEWCTRL=no
8752 DEFAULT_wxUSE_IMAGLIST=no
8753 DEFAULT_wxUSE_LISTBOOK=no
8754 DEFAULT_wxUSE_LISTBOX=no
8755 DEFAULT_wxUSE_LISTCTRL=no
8756 DEFAULT_wxUSE_NOTEBOOK=no
8757 DEFAULT_wxUSE_RADIOBOX=no
8758 DEFAULT_wxUSE_RADIOBTN=no
8759 DEFAULT_wxUSE_SASH=no
8760 DEFAULT_wxUSE_SCROLLBAR=no
8761 DEFAULT_wxUSE_SEARCHCTRL=no
8762 DEFAULT_wxUSE_SLIDER=no
8763 DEFAULT_wxUSE_SPINBTN=no
8764 DEFAULT_wxUSE_SPINCTRL=no
8765 DEFAULT_wxUSE_SPLITTER=no
8766 DEFAULT_wxUSE_STATBMP=no
8767 DEFAULT_wxUSE_STATBOX=no
8768 DEFAULT_wxUSE_STATLINE=no
8769 DEFAULT_wxUSE_STATUSBAR=no
8770 DEFAULT_wxUSE_TAB_DIALOG=no
8771 DEFAULT_wxUSE_TOGGLEBTN=no
8772 DEFAULT_wxUSE_TOOLBAR=no
8773 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
8774 DEFAULT_wxUSE_TOOLTIPS=no
8775 DEFAULT_wxUSE_TREEBOOK=no
8776 DEFAULT_wxUSE_TOOLBOOK=no
8777 DEFAULT_wxUSE_TREECTRL=no
8778 DEFAULT_wxUSE_POPUPWIN=no
8779 DEFAULT_wxUSE_TIPWINDOW=no
8784 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
8785 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
8787 # Check whether --enable-accel was given.
8788 if test "${enable_accel+set}" = set; then
8789 enableval=$enable_accel;
8790 if test "$enableval" = yes; then
8791 ac_cv_use_accel='wxUSE_ACCEL=yes'
8793 ac_cv_use_accel='wxUSE_ACCEL=no'
8798 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
8799 if test "x$LINE" != x ; then
8800 eval "DEFAULT_$LINE"
8805 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
8810 eval "$ac_cv_use_accel"
8811 if test "$no_cache" != 1; then
8812 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
8815 if test "$wxUSE_ACCEL" = yes; then
8816 { echo "$as_me:$LINENO: result: yes" >&5
8817 echo "${ECHO_T}yes" >&6; }
8819 { echo "$as_me:$LINENO: result: no" >&5
8820 echo "${ECHO_T}no" >&6; }
8825 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
8826 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
8828 # Check whether --enable-animatectrl was given.
8829 if test "${enable_animatectrl+set}" = set; then
8830 enableval=$enable_animatectrl;
8831 if test "$enableval" = yes; then
8832 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
8834 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
8839 LINE=`grep "wxUSE_ANIMATIONCTRL" ${wx_arg_cache_file}`
8840 if test "x$LINE" != x ; then
8841 eval "DEFAULT_$LINE"
8846 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL='$DEFAULT_wxUSE_ANIMATIONCTRL
8851 eval "$ac_cv_use_animatectrl"
8852 if test "$no_cache" != 1; then
8853 echo $ac_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
8856 if test "$wxUSE_ANIMATIONCTRL" = yes; then
8857 { echo "$as_me:$LINENO: result: yes" >&5
8858 echo "${ECHO_T}yes" >&6; }
8860 { echo "$as_me:$LINENO: result: no" >&5
8861 echo "${ECHO_T}no" >&6; }
8866 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
8867 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
8869 # Check whether --enable-button was given.
8870 if test "${enable_button+set}" = set; then
8871 enableval=$enable_button;
8872 if test "$enableval" = yes; then
8873 ac_cv_use_button='wxUSE_BUTTON=yes'
8875 ac_cv_use_button='wxUSE_BUTTON=no'
8880 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
8881 if test "x$LINE" != x ; then
8882 eval "DEFAULT_$LINE"
8887 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
8892 eval "$ac_cv_use_button"
8893 if test "$no_cache" != 1; then
8894 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
8897 if test "$wxUSE_BUTTON" = yes; then
8898 { echo "$as_me:$LINENO: result: yes" >&5
8899 echo "${ECHO_T}yes" >&6; }
8901 { echo "$as_me:$LINENO: result: no" >&5
8902 echo "${ECHO_T}no" >&6; }
8907 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
8908 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
8910 # Check whether --enable-bmpbutton was given.
8911 if test "${enable_bmpbutton+set}" = set; then
8912 enableval=$enable_bmpbutton;
8913 if test "$enableval" = yes; then
8914 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
8916 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
8921 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
8922 if test "x$LINE" != x ; then
8923 eval "DEFAULT_$LINE"
8928 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
8933 eval "$ac_cv_use_bmpbutton"
8934 if test "$no_cache" != 1; then
8935 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
8938 if test "$wxUSE_BMPBUTTON" = yes; then
8939 { echo "$as_me:$LINENO: result: yes" >&5
8940 echo "${ECHO_T}yes" >&6; }
8942 { echo "$as_me:$LINENO: result: no" >&5
8943 echo "${ECHO_T}no" >&6; }
8948 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
8949 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
8951 # Check whether --enable-bmpcombobox was given.
8952 if test "${enable_bmpcombobox+set}" = set; then
8953 enableval=$enable_bmpcombobox;
8954 if test "$enableval" = yes; then
8955 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
8957 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
8962 LINE=`grep "wxUSE_BITMAPCOMBOBOX" ${wx_arg_cache_file}`
8963 if test "x$LINE" != x ; then
8964 eval "DEFAULT_$LINE"
8969 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX='$DEFAULT_wxUSE_BITMAPCOMBOBOX
8974 eval "$ac_cv_use_bmpcombobox"
8975 if test "$no_cache" != 1; then
8976 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
8979 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
8980 { echo "$as_me:$LINENO: result: yes" >&5
8981 echo "${ECHO_T}yes" >&6; }
8983 { echo "$as_me:$LINENO: result: no" >&5
8984 echo "${ECHO_T}no" >&6; }
8989 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
8990 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
8992 # Check whether --enable-calendar was given.
8993 if test "${enable_calendar+set}" = set; then
8994 enableval=$enable_calendar;
8995 if test "$enableval" = yes; then
8996 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
8998 ac_cv_use_calendar='wxUSE_CALCTRL=no'
9003 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
9004 if test "x$LINE" != x ; then
9005 eval "DEFAULT_$LINE"
9010 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
9015 eval "$ac_cv_use_calendar"
9016 if test "$no_cache" != 1; then
9017 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
9020 if test "$wxUSE_CALCTRL" = yes; then
9021 { echo "$as_me:$LINENO: result: yes" >&5
9022 echo "${ECHO_T}yes" >&6; }
9024 { echo "$as_me:$LINENO: result: no" >&5
9025 echo "${ECHO_T}no" >&6; }
9030 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9031 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9033 # Check whether --enable-caret was given.
9034 if test "${enable_caret+set}" = set; then
9035 enableval=$enable_caret;
9036 if test "$enableval" = yes; then
9037 ac_cv_use_caret='wxUSE_CARET=yes'
9039 ac_cv_use_caret='wxUSE_CARET=no'
9044 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
9045 if test "x$LINE" != x ; then
9046 eval "DEFAULT_$LINE"
9051 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
9056 eval "$ac_cv_use_caret"
9057 if test "$no_cache" != 1; then
9058 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
9061 if test "$wxUSE_CARET" = yes; then
9062 { echo "$as_me:$LINENO: result: yes" >&5
9063 echo "${ECHO_T}yes" >&6; }
9065 { echo "$as_me:$LINENO: result: no" >&5
9066 echo "${ECHO_T}no" >&6; }
9071 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9072 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9074 # Check whether --enable-checkbox was given.
9075 if test "${enable_checkbox+set}" = set; then
9076 enableval=$enable_checkbox;
9077 if test "$enableval" = yes; then
9078 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9080 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
9085 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
9086 if test "x$LINE" != x ; then
9087 eval "DEFAULT_$LINE"
9092 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
9097 eval "$ac_cv_use_checkbox"
9098 if test "$no_cache" != 1; then
9099 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
9102 if test "$wxUSE_CHECKBOX" = yes; then
9103 { echo "$as_me:$LINENO: result: yes" >&5
9104 echo "${ECHO_T}yes" >&6; }
9106 { echo "$as_me:$LINENO: result: no" >&5
9107 echo "${ECHO_T}no" >&6; }
9112 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9113 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9115 # Check whether --enable-checklst was given.
9116 if test "${enable_checklst+set}" = set; then
9117 enableval=$enable_checklst;
9118 if test "$enableval" = yes; then
9119 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
9121 ac_cv_use_checklst='wxUSE_CHECKLST=no'
9126 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
9127 if test "x$LINE" != x ; then
9128 eval "DEFAULT_$LINE"
9133 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
9138 eval "$ac_cv_use_checklst"
9139 if test "$no_cache" != 1; then
9140 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
9143 if test "$wxUSE_CHECKLST" = yes; then
9144 { echo "$as_me:$LINENO: result: yes" >&5
9145 echo "${ECHO_T}yes" >&6; }
9147 { echo "$as_me:$LINENO: result: no" >&5
9148 echo "${ECHO_T}no" >&6; }
9153 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9154 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9156 # Check whether --enable-choice was given.
9157 if test "${enable_choice+set}" = set; then
9158 enableval=$enable_choice;
9159 if test "$enableval" = yes; then
9160 ac_cv_use_choice='wxUSE_CHOICE=yes'
9162 ac_cv_use_choice='wxUSE_CHOICE=no'
9167 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
9168 if test "x$LINE" != x ; then
9169 eval "DEFAULT_$LINE"
9174 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
9179 eval "$ac_cv_use_choice"
9180 if test "$no_cache" != 1; then
9181 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
9184 if test "$wxUSE_CHOICE" = yes; then
9185 { echo "$as_me:$LINENO: result: yes" >&5
9186 echo "${ECHO_T}yes" >&6; }
9188 { echo "$as_me:$LINENO: result: no" >&5
9189 echo "${ECHO_T}no" >&6; }
9194 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
9195 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
9197 # Check whether --enable-choicebook was given.
9198 if test "${enable_choicebook+set}" = set; then
9199 enableval=$enable_choicebook;
9200 if test "$enableval" = yes; then
9201 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
9203 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
9208 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
9209 if test "x$LINE" != x ; then
9210 eval "DEFAULT_$LINE"
9215 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
9220 eval "$ac_cv_use_choicebook"
9221 if test "$no_cache" != 1; then
9222 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
9225 if test "$wxUSE_CHOICEBOOK" = yes; then
9226 { echo "$as_me:$LINENO: result: yes" >&5
9227 echo "${ECHO_T}yes" >&6; }
9229 { echo "$as_me:$LINENO: result: no" >&5
9230 echo "${ECHO_T}no" >&6; }
9235 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
9236 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
9238 # Check whether --enable-collpane was given.
9239 if test "${enable_collpane+set}" = set; then
9240 enableval=$enable_collpane;
9241 if test "$enableval" = yes; then
9242 ac_cv_use_collpane='wxUSE_COLLPANE=yes'
9244 ac_cv_use_collpane='wxUSE_COLLPANE=no'
9249 LINE=`grep "wxUSE_COLLPANE" ${wx_arg_cache_file}`
9250 if test "x$LINE" != x ; then
9251 eval "DEFAULT_$LINE"
9256 ac_cv_use_collpane='wxUSE_COLLPANE='$DEFAULT_wxUSE_COLLPANE
9261 eval "$ac_cv_use_collpane"
9262 if test "$no_cache" != 1; then
9263 echo $ac_cv_use_collpane >> ${wx_arg_cache_file}.tmp
9266 if test "$wxUSE_COLLPANE" = yes; then
9267 { echo "$as_me:$LINENO: result: yes" >&5
9268 echo "${ECHO_T}yes" >&6; }
9270 { echo "$as_me:$LINENO: result: no" >&5
9271 echo "${ECHO_T}no" >&6; }
9276 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
9277 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
9279 # Check whether --enable-colourpicker was given.
9280 if test "${enable_colourpicker+set}" = set; then
9281 enableval=$enable_colourpicker;
9282 if test "$enableval" = yes; then
9283 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
9285 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
9290 LINE=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
9291 if test "x$LINE" != x ; then
9292 eval "DEFAULT_$LINE"
9297 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
9302 eval "$ac_cv_use_colourpicker"
9303 if test "$no_cache" != 1; then
9304 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
9307 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
9308 { echo "$as_me:$LINENO: result: yes" >&5
9309 echo "${ECHO_T}yes" >&6; }
9311 { echo "$as_me:$LINENO: result: no" >&5
9312 echo "${ECHO_T}no" >&6; }
9317 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
9318 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
9320 # Check whether --enable-combobox was given.
9321 if test "${enable_combobox+set}" = set; then
9322 enableval=$enable_combobox;
9323 if test "$enableval" = yes; then
9324 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
9326 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
9331 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
9332 if test "x$LINE" != x ; then
9333 eval "DEFAULT_$LINE"
9338 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
9343 eval "$ac_cv_use_combobox"
9344 if test "$no_cache" != 1; then
9345 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
9348 if test "$wxUSE_COMBOBOX" = yes; then
9349 { echo "$as_me:$LINENO: result: yes" >&5
9350 echo "${ECHO_T}yes" >&6; }
9352 { echo "$as_me:$LINENO: result: no" >&5
9353 echo "${ECHO_T}no" >&6; }
9358 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
9359 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
9361 # Check whether --enable-comboctrl was given.
9362 if test "${enable_comboctrl+set}" = set; then
9363 enableval=$enable_comboctrl;
9364 if test "$enableval" = yes; then
9365 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
9367 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
9372 LINE=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
9373 if test "x$LINE" != x ; then
9374 eval "DEFAULT_$LINE"
9379 ac_cv_use_comboctrl='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
9384 eval "$ac_cv_use_comboctrl"
9385 if test "$no_cache" != 1; then
9386 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
9389 if test "$wxUSE_COMBOCTRL" = yes; then
9390 { echo "$as_me:$LINENO: result: yes" >&5
9391 echo "${ECHO_T}yes" >&6; }
9393 { echo "$as_me:$LINENO: result: no" >&5
9394 echo "${ECHO_T}no" >&6; }
9399 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
9400 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
9402 # Check whether --enable-datepick was given.
9403 if test "${enable_datepick+set}" = set; then
9404 enableval=$enable_datepick;
9405 if test "$enableval" = yes; then
9406 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
9408 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
9413 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
9414 if test "x$LINE" != x ; then
9415 eval "DEFAULT_$LINE"
9420 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
9425 eval "$ac_cv_use_datepick"
9426 if test "$no_cache" != 1; then
9427 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
9430 if test "$wxUSE_DATEPICKCTRL" = yes; then
9431 { echo "$as_me:$LINENO: result: yes" >&5
9432 echo "${ECHO_T}yes" >&6; }
9434 { echo "$as_me:$LINENO: result: no" >&5
9435 echo "${ECHO_T}no" >&6; }
9440 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
9441 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
9443 # Check whether --enable-dirpicker was given.
9444 if test "${enable_dirpicker+set}" = set; then
9445 enableval=$enable_dirpicker;
9446 if test "$enableval" = yes; then
9447 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
9449 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
9454 LINE=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
9455 if test "x$LINE" != x ; then
9456 eval "DEFAULT_$LINE"
9461 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
9466 eval "$ac_cv_use_dirpicker"
9467 if test "$no_cache" != 1; then
9468 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
9471 if test "$wxUSE_DIRPICKERCTRL" = yes; then
9472 { echo "$as_me:$LINENO: result: yes" >&5
9473 echo "${ECHO_T}yes" >&6; }
9475 { echo "$as_me:$LINENO: result: no" >&5
9476 echo "${ECHO_T}no" >&6; }
9481 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
9482 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
9484 # Check whether --enable-display was given.
9485 if test "${enable_display+set}" = set; then
9486 enableval=$enable_display;
9487 if test "$enableval" = yes; then
9488 ac_cv_use_display='wxUSE_DISPLAY=yes'
9490 ac_cv_use_display='wxUSE_DISPLAY=no'
9495 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
9496 if test "x$LINE" != x ; then
9497 eval "DEFAULT_$LINE"
9502 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
9507 eval "$ac_cv_use_display"
9508 if test "$no_cache" != 1; then
9509 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
9512 if test "$wxUSE_DISPLAY" = yes; then
9513 { echo "$as_me:$LINENO: result: yes" >&5
9514 echo "${ECHO_T}yes" >&6; }
9516 { echo "$as_me:$LINENO: result: no" >&5
9517 echo "${ECHO_T}no" >&6; }
9522 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
9523 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
9525 # Check whether --enable-detect_sm was given.
9526 if test "${enable_detect_sm+set}" = set; then
9527 enableval=$enable_detect_sm;
9528 if test "$enableval" = yes; then
9529 ac_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
9531 ac_cv_use_detect_sm='wxUSE_DETECT_SM=no'
9536 LINE=`grep "wxUSE_DETECT_SM" ${wx_arg_cache_file}`
9537 if test "x$LINE" != x ; then
9538 eval "DEFAULT_$LINE"
9543 ac_cv_use_detect_sm='wxUSE_DETECT_SM='$DEFAULT_wxUSE_DETECT_SM
9548 eval "$ac_cv_use_detect_sm"
9549 if test "$no_cache" != 1; then
9550 echo $ac_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
9553 if test "$wxUSE_DETECT_SM" = yes; then
9554 { echo "$as_me:$LINENO: result: yes" >&5
9555 echo "${ECHO_T}yes" >&6; }
9557 { echo "$as_me:$LINENO: result: no" >&5
9558 echo "${ECHO_T}no" >&6; }
9563 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
9564 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
9566 # Check whether --enable-filepicker was given.
9567 if test "${enable_filepicker+set}" = set; then
9568 enableval=$enable_filepicker;
9569 if test "$enableval" = yes; then
9570 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
9572 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
9577 LINE=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
9578 if test "x$LINE" != x ; then
9579 eval "DEFAULT_$LINE"
9584 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
9589 eval "$ac_cv_use_filepicker"
9590 if test "$no_cache" != 1; then
9591 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
9594 if test "$wxUSE_FILEPICKERCTRL" = yes; then
9595 { echo "$as_me:$LINENO: result: yes" >&5
9596 echo "${ECHO_T}yes" >&6; }
9598 { echo "$as_me:$LINENO: result: no" >&5
9599 echo "${ECHO_T}no" >&6; }
9604 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
9605 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
9607 # Check whether --enable-fontpicker was given.
9608 if test "${enable_fontpicker+set}" = set; then
9609 enableval=$enable_fontpicker;
9610 if test "$enableval" = yes; then
9611 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
9613 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
9618 LINE=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
9619 if test "x$LINE" != x ; then
9620 eval "DEFAULT_$LINE"
9625 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
9630 eval "$ac_cv_use_fontpicker"
9631 if test "$no_cache" != 1; then
9632 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
9635 if test "$wxUSE_FONTPICKERCTRL" = yes; then
9636 { echo "$as_me:$LINENO: result: yes" >&5
9637 echo "${ECHO_T}yes" >&6; }
9639 { echo "$as_me:$LINENO: result: no" >&5
9640 echo "${ECHO_T}no" >&6; }
9645 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
9646 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
9648 # Check whether --enable-gauge was given.
9649 if test "${enable_gauge+set}" = set; then
9650 enableval=$enable_gauge;
9651 if test "$enableval" = yes; then
9652 ac_cv_use_gauge='wxUSE_GAUGE=yes'
9654 ac_cv_use_gauge='wxUSE_GAUGE=no'
9659 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
9660 if test "x$LINE" != x ; then
9661 eval "DEFAULT_$LINE"
9666 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
9671 eval "$ac_cv_use_gauge"
9672 if test "$no_cache" != 1; then
9673 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
9676 if test "$wxUSE_GAUGE" = yes; then
9677 { echo "$as_me:$LINENO: result: yes" >&5
9678 echo "${ECHO_T}yes" >&6; }
9680 { echo "$as_me:$LINENO: result: no" >&5
9681 echo "${ECHO_T}no" >&6; }
9686 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
9687 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
9689 # Check whether --enable-grid was given.
9690 if test "${enable_grid+set}" = set; then
9691 enableval=$enable_grid;
9692 if test "$enableval" = yes; then
9693 ac_cv_use_grid='wxUSE_GRID=yes'
9695 ac_cv_use_grid='wxUSE_GRID=no'
9700 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
9701 if test "x$LINE" != x ; then
9702 eval "DEFAULT_$LINE"
9707 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
9712 eval "$ac_cv_use_grid"
9713 if test "$no_cache" != 1; then
9714 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
9717 if test "$wxUSE_GRID" = yes; then
9718 { echo "$as_me:$LINENO: result: yes" >&5
9719 echo "${ECHO_T}yes" >&6; }
9721 { echo "$as_me:$LINENO: result: no" >&5
9722 echo "${ECHO_T}no" >&6; }
9727 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
9728 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
9730 # Check whether --enable-dataviewctrl was given.
9731 if test "${enable_dataviewctrl+set}" = set; then
9732 enableval=$enable_dataviewctrl;
9733 if test "$enableval" = yes; then
9734 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
9736 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
9741 LINE=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
9742 if test "x$LINE" != x ; then
9743 eval "DEFAULT_$LINE"
9748 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
9753 eval "$ac_cv_use_dataviewctrl"
9754 if test "$no_cache" != 1; then
9755 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
9758 if test "$wxUSE_DATAVIEWCTRL" = yes; then
9759 { echo "$as_me:$LINENO: result: yes" >&5
9760 echo "${ECHO_T}yes" >&6; }
9762 { echo "$as_me:$LINENO: result: no" >&5
9763 echo "${ECHO_T}no" >&6; }
9768 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
9769 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
9771 # Check whether --enable-hyperlink was given.
9772 if test "${enable_hyperlink+set}" = set; then
9773 enableval=$enable_hyperlink;
9774 if test "$enableval" = yes; then
9775 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
9777 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
9782 LINE=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
9783 if test "x$LINE" != x ; then
9784 eval "DEFAULT_$LINE"
9789 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
9794 eval "$ac_cv_use_hyperlink"
9795 if test "$no_cache" != 1; then
9796 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
9799 if test "$wxUSE_HYPERLINKCTRL" = yes; then
9800 { echo "$as_me:$LINENO: result: yes" >&5
9801 echo "${ECHO_T}yes" >&6; }
9803 { echo "$as_me:$LINENO: result: no" >&5
9804 echo "${ECHO_T}no" >&6; }
9809 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
9810 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
9812 # Check whether --enable-imaglist was given.
9813 if test "${enable_imaglist+set}" = set; then
9814 enableval=$enable_imaglist;
9815 if test "$enableval" = yes; then
9816 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
9818 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
9823 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
9824 if test "x$LINE" != x ; then
9825 eval "DEFAULT_$LINE"
9830 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
9835 eval "$ac_cv_use_imaglist"
9836 if test "$no_cache" != 1; then
9837 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
9840 if test "$wxUSE_IMAGLIST" = yes; then
9841 { echo "$as_me:$LINENO: result: yes" >&5
9842 echo "${ECHO_T}yes" >&6; }
9844 { echo "$as_me:$LINENO: result: no" >&5
9845 echo "${ECHO_T}no" >&6; }
9850 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
9851 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
9853 # Check whether --enable-listbook was given.
9854 if test "${enable_listbook+set}" = set; then
9855 enableval=$enable_listbook;
9856 if test "$enableval" = yes; then
9857 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
9859 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
9864 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
9865 if test "x$LINE" != x ; then
9866 eval "DEFAULT_$LINE"
9871 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
9876 eval "$ac_cv_use_listbook"
9877 if test "$no_cache" != 1; then
9878 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
9881 if test "$wxUSE_LISTBOOK" = yes; then
9882 { echo "$as_me:$LINENO: result: yes" >&5
9883 echo "${ECHO_T}yes" >&6; }
9885 { echo "$as_me:$LINENO: result: no" >&5
9886 echo "${ECHO_T}no" >&6; }
9891 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
9892 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
9894 # Check whether --enable-listbox was given.
9895 if test "${enable_listbox+set}" = set; then
9896 enableval=$enable_listbox;
9897 if test "$enableval" = yes; then
9898 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
9900 ac_cv_use_listbox='wxUSE_LISTBOX=no'
9905 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
9906 if test "x$LINE" != x ; then
9907 eval "DEFAULT_$LINE"
9912 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
9917 eval "$ac_cv_use_listbox"
9918 if test "$no_cache" != 1; then
9919 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
9922 if test "$wxUSE_LISTBOX" = yes; then
9923 { echo "$as_me:$LINENO: result: yes" >&5
9924 echo "${ECHO_T}yes" >&6; }
9926 { echo "$as_me:$LINENO: result: no" >&5
9927 echo "${ECHO_T}no" >&6; }
9932 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
9933 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
9935 # Check whether --enable-listctrl was given.
9936 if test "${enable_listctrl+set}" = set; then
9937 enableval=$enable_listctrl;
9938 if test "$enableval" = yes; then
9939 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
9941 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
9946 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
9947 if test "x$LINE" != x ; then
9948 eval "DEFAULT_$LINE"
9953 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
9958 eval "$ac_cv_use_listctrl"
9959 if test "$no_cache" != 1; then
9960 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
9963 if test "$wxUSE_LISTCTRL" = yes; then
9964 { echo "$as_me:$LINENO: result: yes" >&5
9965 echo "${ECHO_T}yes" >&6; }
9967 { echo "$as_me:$LINENO: result: no" >&5
9968 echo "${ECHO_T}no" >&6; }
9973 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
9974 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
9976 # Check whether --enable-notebook was given.
9977 if test "${enable_notebook+set}" = set; then
9978 enableval=$enable_notebook;
9979 if test "$enableval" = yes; then
9980 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
9982 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
9987 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
9988 if test "x$LINE" != x ; then
9989 eval "DEFAULT_$LINE"
9994 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
9999 eval "$ac_cv_use_notebook"
10000 if test "$no_cache" != 1; then
10001 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
10004 if test "$wxUSE_NOTEBOOK" = yes; then
10005 { echo "$as_me:$LINENO: result: yes" >&5
10006 echo "${ECHO_T}yes" >&6; }
10008 { echo "$as_me:$LINENO: result: no" >&5
10009 echo "${ECHO_T}no" >&6; }
10014 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
10015 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
10017 # Check whether --enable-odcombobox was given.
10018 if test "${enable_odcombobox+set}" = set; then
10019 enableval=$enable_odcombobox;
10020 if test "$enableval" = yes; then
10021 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
10023 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
10028 LINE=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
10029 if test "x$LINE" != x ; then
10030 eval "DEFAULT_$LINE"
10035 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
10040 eval "$ac_cv_use_odcombobox"
10041 if test "$no_cache" != 1; then
10042 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
10045 if test "$wxUSE_ODCOMBOBOX" = yes; then
10046 { echo "$as_me:$LINENO: result: yes" >&5
10047 echo "${ECHO_T}yes" >&6; }
10049 { echo "$as_me:$LINENO: result: no" >&5
10050 echo "${ECHO_T}no" >&6; }
10055 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
10056 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
10058 # Check whether --enable-radiobox was given.
10059 if test "${enable_radiobox+set}" = set; then
10060 enableval=$enable_radiobox;
10061 if test "$enableval" = yes; then
10062 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
10064 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
10069 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
10070 if test "x$LINE" != x ; then
10071 eval "DEFAULT_$LINE"
10076 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
10081 eval "$ac_cv_use_radiobox"
10082 if test "$no_cache" != 1; then
10083 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
10086 if test "$wxUSE_RADIOBOX" = yes; then
10087 { echo "$as_me:$LINENO: result: yes" >&5
10088 echo "${ECHO_T}yes" >&6; }
10090 { echo "$as_me:$LINENO: result: no" >&5
10091 echo "${ECHO_T}no" >&6; }
10096 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
10097 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
10099 # Check whether --enable-radiobtn was given.
10100 if test "${enable_radiobtn+set}" = set; then
10101 enableval=$enable_radiobtn;
10102 if test "$enableval" = yes; then
10103 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
10105 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
10110 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
10111 if test "x$LINE" != x ; then
10112 eval "DEFAULT_$LINE"
10117 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
10122 eval "$ac_cv_use_radiobtn"
10123 if test "$no_cache" != 1; then
10124 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
10127 if test "$wxUSE_RADIOBTN" = yes; then
10128 { echo "$as_me:$LINENO: result: yes" >&5
10129 echo "${ECHO_T}yes" >&6; }
10131 { echo "$as_me:$LINENO: result: no" >&5
10132 echo "${ECHO_T}no" >&6; }
10137 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
10138 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
10140 # Check whether --enable-sash was given.
10141 if test "${enable_sash+set}" = set; then
10142 enableval=$enable_sash;
10143 if test "$enableval" = yes; then
10144 ac_cv_use_sash='wxUSE_SASH=yes'
10146 ac_cv_use_sash='wxUSE_SASH=no'
10151 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
10152 if test "x$LINE" != x ; then
10153 eval "DEFAULT_$LINE"
10158 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
10163 eval "$ac_cv_use_sash"
10164 if test "$no_cache" != 1; then
10165 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
10168 if test "$wxUSE_SASH" = yes; then
10169 { echo "$as_me:$LINENO: result: yes" >&5
10170 echo "${ECHO_T}yes" >&6; }
10172 { echo "$as_me:$LINENO: result: no" >&5
10173 echo "${ECHO_T}no" >&6; }
10178 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
10179 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
10181 # Check whether --enable-scrollbar was given.
10182 if test "${enable_scrollbar+set}" = set; then
10183 enableval=$enable_scrollbar;
10184 if test "$enableval" = yes; then
10185 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
10187 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
10192 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
10193 if test "x$LINE" != x ; then
10194 eval "DEFAULT_$LINE"
10199 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
10204 eval "$ac_cv_use_scrollbar"
10205 if test "$no_cache" != 1; then
10206 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
10209 if test "$wxUSE_SCROLLBAR" = yes; then
10210 { echo "$as_me:$LINENO: result: yes" >&5
10211 echo "${ECHO_T}yes" >&6; }
10213 { echo "$as_me:$LINENO: result: no" >&5
10214 echo "${ECHO_T}no" >&6; }
10219 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
10220 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
10222 # Check whether --enable-searchctrl was given.
10223 if test "${enable_searchctrl+set}" = set; then
10224 enableval=$enable_searchctrl;
10225 if test "$enableval" = yes; then
10226 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
10228 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
10233 LINE=`grep "wxUSE_SEARCHCTRL" ${wx_arg_cache_file}`
10234 if test "x$LINE" != x ; then
10235 eval "DEFAULT_$LINE"
10240 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL='$DEFAULT_wxUSE_SEARCHCTRL
10245 eval "$ac_cv_use_searchctrl"
10246 if test "$no_cache" != 1; then
10247 echo $ac_cv_use_searchctrl >> ${wx_arg_cache_file}.tmp
10250 if test "$wxUSE_SEARCHCTRL" = yes; then
10251 { echo "$as_me:$LINENO: result: yes" >&5
10252 echo "${ECHO_T}yes" >&6; }
10254 { echo "$as_me:$LINENO: result: no" >&5
10255 echo "${ECHO_T}no" >&6; }
10260 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
10261 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
10263 # Check whether --enable-slider was given.
10264 if test "${enable_slider+set}" = set; then
10265 enableval=$enable_slider;
10266 if test "$enableval" = yes; then
10267 ac_cv_use_slider='wxUSE_SLIDER=yes'
10269 ac_cv_use_slider='wxUSE_SLIDER=no'
10274 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
10275 if test "x$LINE" != x ; then
10276 eval "DEFAULT_$LINE"
10281 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
10286 eval "$ac_cv_use_slider"
10287 if test "$no_cache" != 1; then
10288 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
10291 if test "$wxUSE_SLIDER" = yes; then
10292 { echo "$as_me:$LINENO: result: yes" >&5
10293 echo "${ECHO_T}yes" >&6; }
10295 { echo "$as_me:$LINENO: result: no" >&5
10296 echo "${ECHO_T}no" >&6; }
10301 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
10302 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
10304 # Check whether --enable-spinbtn was given.
10305 if test "${enable_spinbtn+set}" = set; then
10306 enableval=$enable_spinbtn;
10307 if test "$enableval" = yes; then
10308 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
10310 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
10315 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
10316 if test "x$LINE" != x ; then
10317 eval "DEFAULT_$LINE"
10322 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
10327 eval "$ac_cv_use_spinbtn"
10328 if test "$no_cache" != 1; then
10329 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
10332 if test "$wxUSE_SPINBTN" = yes; then
10333 { echo "$as_me:$LINENO: result: yes" >&5
10334 echo "${ECHO_T}yes" >&6; }
10336 { echo "$as_me:$LINENO: result: no" >&5
10337 echo "${ECHO_T}no" >&6; }
10342 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
10343 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
10345 # Check whether --enable-spinctrl was given.
10346 if test "${enable_spinctrl+set}" = set; then
10347 enableval=$enable_spinctrl;
10348 if test "$enableval" = yes; then
10349 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
10351 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
10356 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
10357 if test "x$LINE" != x ; then
10358 eval "DEFAULT_$LINE"
10363 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
10368 eval "$ac_cv_use_spinctrl"
10369 if test "$no_cache" != 1; then
10370 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
10373 if test "$wxUSE_SPINCTRL" = yes; then
10374 { echo "$as_me:$LINENO: result: yes" >&5
10375 echo "${ECHO_T}yes" >&6; }
10377 { echo "$as_me:$LINENO: result: no" >&5
10378 echo "${ECHO_T}no" >&6; }
10383 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
10384 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
10386 # Check whether --enable-splitter was given.
10387 if test "${enable_splitter+set}" = set; then
10388 enableval=$enable_splitter;
10389 if test "$enableval" = yes; then
10390 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
10392 ac_cv_use_splitter='wxUSE_SPLITTER=no'
10397 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
10398 if test "x$LINE" != x ; then
10399 eval "DEFAULT_$LINE"
10404 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
10409 eval "$ac_cv_use_splitter"
10410 if test "$no_cache" != 1; then
10411 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
10414 if test "$wxUSE_SPLITTER" = yes; then
10415 { echo "$as_me:$LINENO: result: yes" >&5
10416 echo "${ECHO_T}yes" >&6; }
10418 { echo "$as_me:$LINENO: result: no" >&5
10419 echo "${ECHO_T}no" >&6; }
10424 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
10425 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
10427 # Check whether --enable-statbmp was given.
10428 if test "${enable_statbmp+set}" = set; then
10429 enableval=$enable_statbmp;
10430 if test "$enableval" = yes; then
10431 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
10433 ac_cv_use_statbmp='wxUSE_STATBMP=no'
10438 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
10439 if test "x$LINE" != x ; then
10440 eval "DEFAULT_$LINE"
10445 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
10450 eval "$ac_cv_use_statbmp"
10451 if test "$no_cache" != 1; then
10452 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
10455 if test "$wxUSE_STATBMP" = yes; then
10456 { echo "$as_me:$LINENO: result: yes" >&5
10457 echo "${ECHO_T}yes" >&6; }
10459 { echo "$as_me:$LINENO: result: no" >&5
10460 echo "${ECHO_T}no" >&6; }
10465 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
10466 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
10468 # Check whether --enable-statbox was given.
10469 if test "${enable_statbox+set}" = set; then
10470 enableval=$enable_statbox;
10471 if test "$enableval" = yes; then
10472 ac_cv_use_statbox='wxUSE_STATBOX=yes'
10474 ac_cv_use_statbox='wxUSE_STATBOX=no'
10479 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
10480 if test "x$LINE" != x ; then
10481 eval "DEFAULT_$LINE"
10486 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
10491 eval "$ac_cv_use_statbox"
10492 if test "$no_cache" != 1; then
10493 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
10496 if test "$wxUSE_STATBOX" = yes; then
10497 { echo "$as_me:$LINENO: result: yes" >&5
10498 echo "${ECHO_T}yes" >&6; }
10500 { echo "$as_me:$LINENO: result: no" >&5
10501 echo "${ECHO_T}no" >&6; }
10506 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
10507 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
10509 # Check whether --enable-statline was given.
10510 if test "${enable_statline+set}" = set; then
10511 enableval=$enable_statline;
10512 if test "$enableval" = yes; then
10513 ac_cv_use_statline='wxUSE_STATLINE=yes'
10515 ac_cv_use_statline='wxUSE_STATLINE=no'
10520 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
10521 if test "x$LINE" != x ; then
10522 eval "DEFAULT_$LINE"
10527 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
10532 eval "$ac_cv_use_statline"
10533 if test "$no_cache" != 1; then
10534 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
10537 if test "$wxUSE_STATLINE" = yes; then
10538 { echo "$as_me:$LINENO: result: yes" >&5
10539 echo "${ECHO_T}yes" >&6; }
10541 { echo "$as_me:$LINENO: result: no" >&5
10542 echo "${ECHO_T}no" >&6; }
10547 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
10548 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
10550 # Check whether --enable-stattext was given.
10551 if test "${enable_stattext+set}" = set; then
10552 enableval=$enable_stattext;
10553 if test "$enableval" = yes; then
10554 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
10556 ac_cv_use_stattext='wxUSE_STATTEXT=no'
10561 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
10562 if test "x$LINE" != x ; then
10563 eval "DEFAULT_$LINE"
10568 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
10573 eval "$ac_cv_use_stattext"
10574 if test "$no_cache" != 1; then
10575 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
10578 if test "$wxUSE_STATTEXT" = yes; then
10579 { echo "$as_me:$LINENO: result: yes" >&5
10580 echo "${ECHO_T}yes" >&6; }
10582 { echo "$as_me:$LINENO: result: no" >&5
10583 echo "${ECHO_T}no" >&6; }
10588 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
10589 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
10591 # Check whether --enable-statusbar was given.
10592 if test "${enable_statusbar+set}" = set; then
10593 enableval=$enable_statusbar;
10594 if test "$enableval" = yes; then
10595 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
10597 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
10602 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
10603 if test "x$LINE" != x ; then
10604 eval "DEFAULT_$LINE"
10609 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
10614 eval "$ac_cv_use_statusbar"
10615 if test "$no_cache" != 1; then
10616 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
10619 if test "$wxUSE_STATUSBAR" = yes; then
10620 { echo "$as_me:$LINENO: result: yes" >&5
10621 echo "${ECHO_T}yes" >&6; }
10623 { echo "$as_me:$LINENO: result: no" >&5
10624 echo "${ECHO_T}no" >&6; }
10629 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
10630 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
10632 # Check whether --enable-tabdialog was given.
10633 if test "${enable_tabdialog+set}" = set; then
10634 enableval=$enable_tabdialog;
10635 if test "$enableval" = yes; then
10636 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
10638 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
10643 LINE=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
10644 if test "x$LINE" != x ; then
10645 eval "DEFAULT_$LINE"
10650 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
10655 eval "$ac_cv_use_tabdialog"
10656 if test "$no_cache" != 1; then
10657 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
10660 if test "$wxUSE_TAB_DIALOG" = yes; then
10661 { echo "$as_me:$LINENO: result: yes" >&5
10662 echo "${ECHO_T}yes" >&6; }
10664 { echo "$as_me:$LINENO: result: no" >&5
10665 echo "${ECHO_T}no" >&6; }
10670 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
10671 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
10673 # Check whether --enable-textctrl was given.
10674 if test "${enable_textctrl+set}" = set; then
10675 enableval=$enable_textctrl;
10676 if test "$enableval" = yes; then
10677 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
10679 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
10684 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
10685 if test "x$LINE" != x ; then
10686 eval "DEFAULT_$LINE"
10691 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
10696 eval "$ac_cv_use_textctrl"
10697 if test "$no_cache" != 1; then
10698 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
10701 if test "$wxUSE_TEXTCTRL" = yes; then
10702 { echo "$as_me:$LINENO: result: yes" >&5
10703 echo "${ECHO_T}yes" >&6; }
10705 { echo "$as_me:$LINENO: result: no" >&5
10706 echo "${ECHO_T}no" >&6; }
10711 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
10712 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
10714 # Check whether --enable-togglebtn was given.
10715 if test "${enable_togglebtn+set}" = set; then
10716 enableval=$enable_togglebtn;
10717 if test "$enableval" = yes; then
10718 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
10720 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
10725 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
10726 if test "x$LINE" != x ; then
10727 eval "DEFAULT_$LINE"
10732 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
10737 eval "$ac_cv_use_togglebtn"
10738 if test "$no_cache" != 1; then
10739 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
10742 if test "$wxUSE_TOGGLEBTN" = yes; then
10743 { echo "$as_me:$LINENO: result: yes" >&5
10744 echo "${ECHO_T}yes" >&6; }
10746 { echo "$as_me:$LINENO: result: no" >&5
10747 echo "${ECHO_T}no" >&6; }
10752 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
10753 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
10755 # Check whether --enable-toolbar was given.
10756 if test "${enable_toolbar+set}" = set; then
10757 enableval=$enable_toolbar;
10758 if test "$enableval" = yes; then
10759 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
10761 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
10766 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
10767 if test "x$LINE" != x ; then
10768 eval "DEFAULT_$LINE"
10773 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
10778 eval "$ac_cv_use_toolbar"
10779 if test "$no_cache" != 1; then
10780 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
10783 if test "$wxUSE_TOOLBAR" = yes; then
10784 { echo "$as_me:$LINENO: result: yes" >&5
10785 echo "${ECHO_T}yes" >&6; }
10787 { echo "$as_me:$LINENO: result: no" >&5
10788 echo "${ECHO_T}no" >&6; }
10793 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
10794 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
10796 # Check whether --enable-tbarnative was given.
10797 if test "${enable_tbarnative+set}" = set; then
10798 enableval=$enable_tbarnative;
10799 if test "$enableval" = yes; then
10800 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
10802 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
10807 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
10808 if test "x$LINE" != x ; then
10809 eval "DEFAULT_$LINE"
10814 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
10819 eval "$ac_cv_use_tbarnative"
10820 if test "$no_cache" != 1; then
10821 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
10824 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
10825 { echo "$as_me:$LINENO: result: yes" >&5
10826 echo "${ECHO_T}yes" >&6; }
10828 { echo "$as_me:$LINENO: result: no" >&5
10829 echo "${ECHO_T}no" >&6; }
10834 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
10835 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
10837 # Check whether --enable-treebook was given.
10838 if test "${enable_treebook+set}" = set; then
10839 enableval=$enable_treebook;
10840 if test "$enableval" = yes; then
10841 ac_cv_use_treebook='wxUSE_TREEBOOK=yes'
10843 ac_cv_use_treebook='wxUSE_TREEBOOK=no'
10848 LINE=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
10849 if test "x$LINE" != x ; then
10850 eval "DEFAULT_$LINE"
10855 ac_cv_use_treebook='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
10860 eval "$ac_cv_use_treebook"
10861 if test "$no_cache" != 1; then
10862 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
10865 if test "$wxUSE_TREEBOOK" = yes; then
10866 { echo "$as_me:$LINENO: result: yes" >&5
10867 echo "${ECHO_T}yes" >&6; }
10869 { echo "$as_me:$LINENO: result: no" >&5
10870 echo "${ECHO_T}no" >&6; }
10875 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
10876 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
10878 # Check whether --enable-toolbook was given.
10879 if test "${enable_toolbook+set}" = set; then
10880 enableval=$enable_toolbook;
10881 if test "$enableval" = yes; then
10882 ac_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
10884 ac_cv_use_toolbook='wxUSE_TOOLBOOK=no'
10889 LINE=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
10890 if test "x$LINE" != x ; then
10891 eval "DEFAULT_$LINE"
10896 ac_cv_use_toolbook='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
10901 eval "$ac_cv_use_toolbook"
10902 if test "$no_cache" != 1; then
10903 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
10906 if test "$wxUSE_TOOLBOOK" = yes; then
10907 { echo "$as_me:$LINENO: result: yes" >&5
10908 echo "${ECHO_T}yes" >&6; }
10910 { echo "$as_me:$LINENO: result: no" >&5
10911 echo "${ECHO_T}no" >&6; }
10916 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
10917 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
10919 # Check whether --enable-treectrl was given.
10920 if test "${enable_treectrl+set}" = set; then
10921 enableval=$enable_treectrl;
10922 if test "$enableval" = yes; then
10923 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
10925 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
10930 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
10931 if test "x$LINE" != x ; then
10932 eval "DEFAULT_$LINE"
10937 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
10942 eval "$ac_cv_use_treectrl"
10943 if test "$no_cache" != 1; then
10944 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
10947 if test "$wxUSE_TREECTRL" = yes; then
10948 { echo "$as_me:$LINENO: result: yes" >&5
10949 echo "${ECHO_T}yes" >&6; }
10951 { echo "$as_me:$LINENO: result: no" >&5
10952 echo "${ECHO_T}no" >&6; }
10957 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
10958 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
10960 # Check whether --enable-tipwindow was given.
10961 if test "${enable_tipwindow+set}" = set; then
10962 enableval=$enable_tipwindow;
10963 if test "$enableval" = yes; then
10964 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
10966 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
10971 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
10972 if test "x$LINE" != x ; then
10973 eval "DEFAULT_$LINE"
10978 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
10983 eval "$ac_cv_use_tipwindow"
10984 if test "$no_cache" != 1; then
10985 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
10988 if test "$wxUSE_TIPWINDOW" = yes; then
10989 { echo "$as_me:$LINENO: result: yes" >&5
10990 echo "${ECHO_T}yes" >&6; }
10992 { echo "$as_me:$LINENO: result: no" >&5
10993 echo "${ECHO_T}no" >&6; }
10998 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
10999 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11001 # Check whether --enable-popupwin was given.
11002 if test "${enable_popupwin+set}" = set; then
11003 enableval=$enable_popupwin;
11004 if test "$enableval" = yes; then
11005 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11007 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
11012 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
11013 if test "x$LINE" != x ; then
11014 eval "DEFAULT_$LINE"
11019 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
11024 eval "$ac_cv_use_popupwin"
11025 if test "$no_cache" != 1; then
11026 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
11029 if test "$wxUSE_POPUPWIN" = yes; then
11030 { echo "$as_me:$LINENO: result: yes" >&5
11031 echo "${ECHO_T}yes" >&6; }
11033 { echo "$as_me:$LINENO: result: no" >&5
11034 echo "${ECHO_T}no" >&6; }
11041 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
11042 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
11044 # Check whether --enable-commondlg was given.
11045 if test "${enable_commondlg+set}" = set; then
11046 enableval=$enable_commondlg;
11047 if test "$enableval" = yes; then
11048 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
11050 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
11055 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
11056 if test "x$LINE" != x ; then
11057 eval "DEFAULT_$LINE"
11062 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
11067 eval "$ac_cv_use_commondlg"
11068 if test "$no_cache" != 1; then
11069 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
11072 if test "$wxUSE_COMMONDLGS" = yes; then
11073 { echo "$as_me:$LINENO: result: yes" >&5
11074 echo "${ECHO_T}yes" >&6; }
11076 { echo "$as_me:$LINENO: result: no" >&5
11077 echo "${ECHO_T}no" >&6; }
11082 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
11083 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
11085 # Check whether --enable-aboutdlg was given.
11086 if test "${enable_aboutdlg+set}" = set; then
11087 enableval=$enable_aboutdlg;
11088 if test "$enableval" = yes; then
11089 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
11091 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
11096 LINE=`grep "wxUSE_ABOUTDLG" ${wx_arg_cache_file}`
11097 if test "x$LINE" != x ; then
11098 eval "DEFAULT_$LINE"
11103 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG='$DEFAULT_wxUSE_ABOUTDLG
11108 eval "$ac_cv_use_aboutdlg"
11109 if test "$no_cache" != 1; then
11110 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
11113 if test "$wxUSE_ABOUTDLG" = yes; then
11114 { echo "$as_me:$LINENO: result: yes" >&5
11115 echo "${ECHO_T}yes" >&6; }
11117 { echo "$as_me:$LINENO: result: no" >&5
11118 echo "${ECHO_T}no" >&6; }
11123 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
11124 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
11126 # Check whether --enable-choicedlg was given.
11127 if test "${enable_choicedlg+set}" = set; then
11128 enableval=$enable_choicedlg;
11129 if test "$enableval" = yes; then
11130 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
11132 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
11137 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
11138 if test "x$LINE" != x ; then
11139 eval "DEFAULT_$LINE"
11144 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
11149 eval "$ac_cv_use_choicedlg"
11150 if test "$no_cache" != 1; then
11151 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
11154 if test "$wxUSE_CHOICEDLG" = yes; then
11155 { echo "$as_me:$LINENO: result: yes" >&5
11156 echo "${ECHO_T}yes" >&6; }
11158 { echo "$as_me:$LINENO: result: no" >&5
11159 echo "${ECHO_T}no" >&6; }
11164 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
11165 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
11167 # Check whether --enable-coldlg was given.
11168 if test "${enable_coldlg+set}" = set; then
11169 enableval=$enable_coldlg;
11170 if test "$enableval" = yes; then
11171 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
11173 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
11178 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
11179 if test "x$LINE" != x ; then
11180 eval "DEFAULT_$LINE"
11185 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
11190 eval "$ac_cv_use_coldlg"
11191 if test "$no_cache" != 1; then
11192 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
11195 if test "$wxUSE_COLOURDLG" = yes; then
11196 { echo "$as_me:$LINENO: result: yes" >&5
11197 echo "${ECHO_T}yes" >&6; }
11199 { echo "$as_me:$LINENO: result: no" >&5
11200 echo "${ECHO_T}no" >&6; }
11205 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
11206 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
11208 # Check whether --enable-filedlg was given.
11209 if test "${enable_filedlg+set}" = set; then
11210 enableval=$enable_filedlg;
11211 if test "$enableval" = yes; then
11212 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
11214 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
11219 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
11220 if test "x$LINE" != x ; then
11221 eval "DEFAULT_$LINE"
11226 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
11231 eval "$ac_cv_use_filedlg"
11232 if test "$no_cache" != 1; then
11233 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
11236 if test "$wxUSE_FILEDLG" = yes; then
11237 { echo "$as_me:$LINENO: result: yes" >&5
11238 echo "${ECHO_T}yes" >&6; }
11240 { echo "$as_me:$LINENO: result: no" >&5
11241 echo "${ECHO_T}no" >&6; }
11246 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
11247 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
11249 # Check whether --enable-finddlg was given.
11250 if test "${enable_finddlg+set}" = set; then
11251 enableval=$enable_finddlg;
11252 if test "$enableval" = yes; then
11253 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
11255 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
11260 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
11261 if test "x$LINE" != x ; then
11262 eval "DEFAULT_$LINE"
11267 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
11272 eval "$ac_cv_use_finddlg"
11273 if test "$no_cache" != 1; then
11274 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
11277 if test "$wxUSE_FINDREPLDLG" = yes; then
11278 { echo "$as_me:$LINENO: result: yes" >&5
11279 echo "${ECHO_T}yes" >&6; }
11281 { echo "$as_me:$LINENO: result: no" >&5
11282 echo "${ECHO_T}no" >&6; }
11287 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
11288 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
11290 # Check whether --enable-fontdlg was given.
11291 if test "${enable_fontdlg+set}" = set; then
11292 enableval=$enable_fontdlg;
11293 if test "$enableval" = yes; then
11294 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
11296 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
11301 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
11302 if test "x$LINE" != x ; then
11303 eval "DEFAULT_$LINE"
11308 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
11313 eval "$ac_cv_use_fontdlg"
11314 if test "$no_cache" != 1; then
11315 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
11318 if test "$wxUSE_FONTDLG" = yes; then
11319 { echo "$as_me:$LINENO: result: yes" >&5
11320 echo "${ECHO_T}yes" >&6; }
11322 { echo "$as_me:$LINENO: result: no" >&5
11323 echo "${ECHO_T}no" >&6; }
11328 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
11329 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
11331 # Check whether --enable-dirdlg was given.
11332 if test "${enable_dirdlg+set}" = set; then
11333 enableval=$enable_dirdlg;
11334 if test "$enableval" = yes; then
11335 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
11337 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
11342 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
11343 if test "x$LINE" != x ; then
11344 eval "DEFAULT_$LINE"
11349 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
11354 eval "$ac_cv_use_dirdlg"
11355 if test "$no_cache" != 1; then
11356 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
11359 if test "$wxUSE_DIRDLG" = yes; then
11360 { echo "$as_me:$LINENO: result: yes" >&5
11361 echo "${ECHO_T}yes" >&6; }
11363 { echo "$as_me:$LINENO: result: no" >&5
11364 echo "${ECHO_T}no" >&6; }
11369 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
11370 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
11372 # Check whether --enable-msgdlg was given.
11373 if test "${enable_msgdlg+set}" = set; then
11374 enableval=$enable_msgdlg;
11375 if test "$enableval" = yes; then
11376 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
11378 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
11383 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
11384 if test "x$LINE" != x ; then
11385 eval "DEFAULT_$LINE"
11390 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
11395 eval "$ac_cv_use_msgdlg"
11396 if test "$no_cache" != 1; then
11397 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
11400 if test "$wxUSE_MSGDLG" = yes; then
11401 { echo "$as_me:$LINENO: result: yes" >&5
11402 echo "${ECHO_T}yes" >&6; }
11404 { echo "$as_me:$LINENO: result: no" >&5
11405 echo "${ECHO_T}no" >&6; }
11410 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
11411 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
11413 # Check whether --enable-numberdlg was given.
11414 if test "${enable_numberdlg+set}" = set; then
11415 enableval=$enable_numberdlg;
11416 if test "$enableval" = yes; then
11417 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
11419 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
11424 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
11425 if test "x$LINE" != x ; then
11426 eval "DEFAULT_$LINE"
11431 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
11436 eval "$ac_cv_use_numberdlg"
11437 if test "$no_cache" != 1; then
11438 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
11441 if test "$wxUSE_NUMBERDLG" = yes; then
11442 { echo "$as_me:$LINENO: result: yes" >&5
11443 echo "${ECHO_T}yes" >&6; }
11445 { echo "$as_me:$LINENO: result: no" >&5
11446 echo "${ECHO_T}no" >&6; }
11451 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
11452 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
11454 # Check whether --enable-splash was given.
11455 if test "${enable_splash+set}" = set; then
11456 enableval=$enable_splash;
11457 if test "$enableval" = yes; then
11458 ac_cv_use_splash='wxUSE_SPLASH=yes'
11460 ac_cv_use_splash='wxUSE_SPLASH=no'
11465 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
11466 if test "x$LINE" != x ; then
11467 eval "DEFAULT_$LINE"
11472 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
11477 eval "$ac_cv_use_splash"
11478 if test "$no_cache" != 1; then
11479 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
11482 if test "$wxUSE_SPLASH" = yes; then
11483 { echo "$as_me:$LINENO: result: yes" >&5
11484 echo "${ECHO_T}yes" >&6; }
11486 { echo "$as_me:$LINENO: result: no" >&5
11487 echo "${ECHO_T}no" >&6; }
11492 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
11493 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
11495 # Check whether --enable-textdlg was given.
11496 if test "${enable_textdlg+set}" = set; then
11497 enableval=$enable_textdlg;
11498 if test "$enableval" = yes; then
11499 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
11501 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
11506 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
11507 if test "x$LINE" != x ; then
11508 eval "DEFAULT_$LINE"
11513 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
11518 eval "$ac_cv_use_textdlg"
11519 if test "$no_cache" != 1; then
11520 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
11523 if test "$wxUSE_TEXTDLG" = yes; then
11524 { echo "$as_me:$LINENO: result: yes" >&5
11525 echo "${ECHO_T}yes" >&6; }
11527 { echo "$as_me:$LINENO: result: no" >&5
11528 echo "${ECHO_T}no" >&6; }
11533 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
11534 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
11536 # Check whether --enable-tipdlg was given.
11537 if test "${enable_tipdlg+set}" = set; then
11538 enableval=$enable_tipdlg;
11539 if test "$enableval" = yes; then
11540 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
11542 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
11547 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
11548 if test "x$LINE" != x ; then
11549 eval "DEFAULT_$LINE"
11554 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
11559 eval "$ac_cv_use_tipdlg"
11560 if test "$no_cache" != 1; then
11561 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
11564 if test "$wxUSE_STARTUP_TIPS" = yes; then
11565 { echo "$as_me:$LINENO: result: yes" >&5
11566 echo "${ECHO_T}yes" >&6; }
11568 { echo "$as_me:$LINENO: result: no" >&5
11569 echo "${ECHO_T}no" >&6; }
11574 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
11575 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
11577 # Check whether --enable-progressdlg was given.
11578 if test "${enable_progressdlg+set}" = set; then
11579 enableval=$enable_progressdlg;
11580 if test "$enableval" = yes; then
11581 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
11583 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
11588 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
11589 if test "x$LINE" != x ; then
11590 eval "DEFAULT_$LINE"
11595 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
11600 eval "$ac_cv_use_progressdlg"
11601 if test "$no_cache" != 1; then
11602 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
11605 if test "$wxUSE_PROGRESSDLG" = yes; then
11606 { echo "$as_me:$LINENO: result: yes" >&5
11607 echo "${ECHO_T}yes" >&6; }
11609 { echo "$as_me:$LINENO: result: no" >&5
11610 echo "${ECHO_T}no" >&6; }
11615 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
11616 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
11618 # Check whether --enable-wizarddlg was given.
11619 if test "${enable_wizarddlg+set}" = set; then
11620 enableval=$enable_wizarddlg;
11621 if test "$enableval" = yes; then
11622 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
11624 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
11629 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
11630 if test "x$LINE" != x ; then
11631 eval "DEFAULT_$LINE"
11636 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
11641 eval "$ac_cv_use_wizarddlg"
11642 if test "$no_cache" != 1; then
11643 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
11646 if test "$wxUSE_WIZARDDLG" = yes; then
11647 { echo "$as_me:$LINENO: result: yes" >&5
11648 echo "${ECHO_T}yes" >&6; }
11650 { echo "$as_me:$LINENO: result: no" >&5
11651 echo "${ECHO_T}no" >&6; }
11658 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
11659 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
11661 # Check whether --enable-menus was given.
11662 if test "${enable_menus+set}" = set; then
11663 enableval=$enable_menus;
11664 if test "$enableval" = yes; then
11665 ac_cv_use_menus='wxUSE_MENUS=yes'
11667 ac_cv_use_menus='wxUSE_MENUS=no'
11672 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
11673 if test "x$LINE" != x ; then
11674 eval "DEFAULT_$LINE"
11679 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
11684 eval "$ac_cv_use_menus"
11685 if test "$no_cache" != 1; then
11686 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
11689 if test "$wxUSE_MENUS" = yes; then
11690 { echo "$as_me:$LINENO: result: yes" >&5
11691 echo "${ECHO_T}yes" >&6; }
11693 { echo "$as_me:$LINENO: result: no" >&5
11694 echo "${ECHO_T}no" >&6; }
11699 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
11700 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
11702 # Check whether --enable-miniframe was given.
11703 if test "${enable_miniframe+set}" = set; then
11704 enableval=$enable_miniframe;
11705 if test "$enableval" = yes; then
11706 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
11708 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
11713 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
11714 if test "x$LINE" != x ; then
11715 eval "DEFAULT_$LINE"
11720 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
11725 eval "$ac_cv_use_miniframe"
11726 if test "$no_cache" != 1; then
11727 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
11730 if test "$wxUSE_MINIFRAME" = yes; then
11731 { echo "$as_me:$LINENO: result: yes" >&5
11732 echo "${ECHO_T}yes" >&6; }
11734 { echo "$as_me:$LINENO: result: no" >&5
11735 echo "${ECHO_T}no" >&6; }
11740 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
11741 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
11743 # Check whether --enable-tooltips was given.
11744 if test "${enable_tooltips+set}" = set; then
11745 enableval=$enable_tooltips;
11746 if test "$enableval" = yes; then
11747 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
11749 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
11754 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
11755 if test "x$LINE" != x ; then
11756 eval "DEFAULT_$LINE"
11761 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
11766 eval "$ac_cv_use_tooltips"
11767 if test "$no_cache" != 1; then
11768 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
11771 if test "$wxUSE_TOOLTIPS" = yes; then
11772 { echo "$as_me:$LINENO: result: yes" >&5
11773 echo "${ECHO_T}yes" >&6; }
11775 { echo "$as_me:$LINENO: result: no" >&5
11776 echo "${ECHO_T}no" >&6; }
11781 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
11782 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
11784 # Check whether --enable-splines was given.
11785 if test "${enable_splines+set}" = set; then
11786 enableval=$enable_splines;
11787 if test "$enableval" = yes; then
11788 ac_cv_use_splines='wxUSE_SPLINES=yes'
11790 ac_cv_use_splines='wxUSE_SPLINES=no'
11795 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
11796 if test "x$LINE" != x ; then
11797 eval "DEFAULT_$LINE"
11802 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
11807 eval "$ac_cv_use_splines"
11808 if test "$no_cache" != 1; then
11809 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
11812 if test "$wxUSE_SPLINES" = yes; then
11813 { echo "$as_me:$LINENO: result: yes" >&5
11814 echo "${ECHO_T}yes" >&6; }
11816 { echo "$as_me:$LINENO: result: no" >&5
11817 echo "${ECHO_T}no" >&6; }
11822 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
11823 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
11825 # Check whether --enable-mousewheel was given.
11826 if test "${enable_mousewheel+set}" = set; then
11827 enableval=$enable_mousewheel;
11828 if test "$enableval" = yes; then
11829 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
11831 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
11836 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
11837 if test "x$LINE" != x ; then
11838 eval "DEFAULT_$LINE"
11843 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
11848 eval "$ac_cv_use_mousewheel"
11849 if test "$no_cache" != 1; then
11850 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
11853 if test "$wxUSE_MOUSEWHEEL" = yes; then
11854 { echo "$as_me:$LINENO: result: yes" >&5
11855 echo "${ECHO_T}yes" >&6; }
11857 { echo "$as_me:$LINENO: result: no" >&5
11858 echo "${ECHO_T}no" >&6; }
11863 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
11864 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
11866 # Check whether --enable-validators was given.
11867 if test "${enable_validators+set}" = set; then
11868 enableval=$enable_validators;
11869 if test "$enableval" = yes; then
11870 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
11872 ac_cv_use_validators='wxUSE_VALIDATORS=no'
11877 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
11878 if test "x$LINE" != x ; then
11879 eval "DEFAULT_$LINE"
11884 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
11889 eval "$ac_cv_use_validators"
11890 if test "$no_cache" != 1; then
11891 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
11894 if test "$wxUSE_VALIDATORS" = yes; then
11895 { echo "$as_me:$LINENO: result: yes" >&5
11896 echo "${ECHO_T}yes" >&6; }
11898 { echo "$as_me:$LINENO: result: no" >&5
11899 echo "${ECHO_T}no" >&6; }
11904 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
11905 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
11907 # Check whether --enable-busyinfo was given.
11908 if test "${enable_busyinfo+set}" = set; then
11909 enableval=$enable_busyinfo;
11910 if test "$enableval" = yes; then
11911 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
11913 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
11918 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
11919 if test "x$LINE" != x ; then
11920 eval "DEFAULT_$LINE"
11925 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
11930 eval "$ac_cv_use_busyinfo"
11931 if test "$no_cache" != 1; then
11932 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
11935 if test "$wxUSE_BUSYINFO" = yes; then
11936 { echo "$as_me:$LINENO: result: yes" >&5
11937 echo "${ECHO_T}yes" >&6; }
11939 { echo "$as_me:$LINENO: result: no" >&5
11940 echo "${ECHO_T}no" >&6; }
11945 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
11946 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
11948 # Check whether --enable-joystick was given.
11949 if test "${enable_joystick+set}" = set; then
11950 enableval=$enable_joystick;
11951 if test "$enableval" = yes; then
11952 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
11954 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
11959 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
11960 if test "x$LINE" != x ; then
11961 eval "DEFAULT_$LINE"
11966 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
11971 eval "$ac_cv_use_joystick"
11972 if test "$no_cache" != 1; then
11973 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
11976 if test "$wxUSE_JOYSTICK" = yes; then
11977 { echo "$as_me:$LINENO: result: yes" >&5
11978 echo "${ECHO_T}yes" >&6; }
11980 { echo "$as_me:$LINENO: result: no" >&5
11981 echo "${ECHO_T}no" >&6; }
11986 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
11987 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
11989 # Check whether --enable-metafile was given.
11990 if test "${enable_metafile+set}" = set; then
11991 enableval=$enable_metafile;
11992 if test "$enableval" = yes; then
11993 ac_cv_use_metafile='wxUSE_METAFILE=yes'
11995 ac_cv_use_metafile='wxUSE_METAFILE=no'
12000 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
12001 if test "x$LINE" != x ; then
12002 eval "DEFAULT_$LINE"
12007 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
12012 eval "$ac_cv_use_metafile"
12013 if test "$no_cache" != 1; then
12014 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
12017 if test "$wxUSE_METAFILE" = yes; then
12018 { echo "$as_me:$LINENO: result: yes" >&5
12019 echo "${ECHO_T}yes" >&6; }
12021 { echo "$as_me:$LINENO: result: no" >&5
12022 echo "${ECHO_T}no" >&6; }
12027 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
12028 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
12030 # Check whether --enable-dragimage was given.
12031 if test "${enable_dragimage+set}" = set; then
12032 enableval=$enable_dragimage;
12033 if test "$enableval" = yes; then
12034 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
12036 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
12041 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
12042 if test "x$LINE" != x ; then
12043 eval "DEFAULT_$LINE"
12048 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
12053 eval "$ac_cv_use_dragimage"
12054 if test "$no_cache" != 1; then
12055 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
12058 if test "$wxUSE_DRAGIMAGE" = yes; then
12059 { echo "$as_me:$LINENO: result: yes" >&5
12060 echo "${ECHO_T}yes" >&6; }
12062 { echo "$as_me:$LINENO: result: no" >&5
12063 echo "${ECHO_T}no" >&6; }
12068 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
12069 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
12071 # Check whether --enable-accessibility was given.
12072 if test "${enable_accessibility+set}" = set; then
12073 enableval=$enable_accessibility;
12074 if test "$enableval" = yes; then
12075 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
12077 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
12082 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
12083 if test "x$LINE" != x ; then
12084 eval "DEFAULT_$LINE"
12089 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
12094 eval "$ac_cv_use_accessibility"
12095 if test "$no_cache" != 1; then
12096 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
12099 if test "$wxUSE_ACCESSIBILITY" = yes; then
12100 { echo "$as_me:$LINENO: result: yes" >&5
12101 echo "${ECHO_T}yes" >&6; }
12103 { echo "$as_me:$LINENO: result: no" >&5
12104 echo "${ECHO_T}no" >&6; }
12108 if test "$wxUSE_MSW" = "1"; then
12111 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
12112 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
12114 # Check whether --enable-dccache was given.
12115 if test "${enable_dccache+set}" = set; then
12116 enableval=$enable_dccache;
12117 if test "$enableval" = yes; then
12118 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
12120 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
12125 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
12126 if test "x$LINE" != x ; then
12127 eval "DEFAULT_$LINE"
12132 ac_cv_use_dccache='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
12137 eval "$ac_cv_use_dccache"
12138 if test "$no_cache" != 1; then
12139 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
12142 if test "$wxUSE_DC_CACHEING" = yes; then
12143 { echo "$as_me:$LINENO: result: yes" >&5
12144 echo "${ECHO_T}yes" >&6; }
12146 { echo "$as_me:$LINENO: result: no" >&5
12147 echo "${ECHO_T}no" >&6; }
12155 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
12156 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
12158 # Check whether --enable-palette was given.
12159 if test "${enable_palette+set}" = set; then
12160 enableval=$enable_palette;
12161 if test "$enableval" = yes; then
12162 ac_cv_use_palette='wxUSE_PALETTE=yes'
12164 ac_cv_use_palette='wxUSE_PALETTE=no'
12169 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
12170 if test "x$LINE" != x ; then
12171 eval "DEFAULT_$LINE"
12176 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
12181 eval "$ac_cv_use_palette"
12182 if test "$no_cache" != 1; then
12183 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
12186 if test "$wxUSE_PALETTE" = yes; then
12187 { echo "$as_me:$LINENO: result: yes" >&5
12188 echo "${ECHO_T}yes" >&6; }
12190 { echo "$as_me:$LINENO: result: no" >&5
12191 echo "${ECHO_T}no" >&6; }
12196 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
12197 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
12199 # Check whether --enable-image was given.
12200 if test "${enable_image+set}" = set; then
12201 enableval=$enable_image;
12202 if test "$enableval" = yes; then
12203 ac_cv_use_image='wxUSE_IMAGE=yes'
12205 ac_cv_use_image='wxUSE_IMAGE=no'
12210 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
12211 if test "x$LINE" != x ; then
12212 eval "DEFAULT_$LINE"
12217 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
12222 eval "$ac_cv_use_image"
12223 if test "$no_cache" != 1; then
12224 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
12227 if test "$wxUSE_IMAGE" = yes; then
12228 { echo "$as_me:$LINENO: result: yes" >&5
12229 echo "${ECHO_T}yes" >&6; }
12231 { echo "$as_me:$LINENO: result: no" >&5
12232 echo "${ECHO_T}no" >&6; }
12237 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
12238 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
12240 # Check whether --enable-gif was given.
12241 if test "${enable_gif+set}" = set; then
12242 enableval=$enable_gif;
12243 if test "$enableval" = yes; then
12244 ac_cv_use_gif='wxUSE_GIF=yes'
12246 ac_cv_use_gif='wxUSE_GIF=no'
12251 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
12252 if test "x$LINE" != x ; then
12253 eval "DEFAULT_$LINE"
12258 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
12263 eval "$ac_cv_use_gif"
12264 if test "$no_cache" != 1; then
12265 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
12268 if test "$wxUSE_GIF" = yes; then
12269 { echo "$as_me:$LINENO: result: yes" >&5
12270 echo "${ECHO_T}yes" >&6; }
12272 { echo "$as_me:$LINENO: result: no" >&5
12273 echo "${ECHO_T}no" >&6; }
12278 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
12279 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
12281 # Check whether --enable-pcx was given.
12282 if test "${enable_pcx+set}" = set; then
12283 enableval=$enable_pcx;
12284 if test "$enableval" = yes; then
12285 ac_cv_use_pcx='wxUSE_PCX=yes'
12287 ac_cv_use_pcx='wxUSE_PCX=no'
12292 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
12293 if test "x$LINE" != x ; then
12294 eval "DEFAULT_$LINE"
12299 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
12304 eval "$ac_cv_use_pcx"
12305 if test "$no_cache" != 1; then
12306 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
12309 if test "$wxUSE_PCX" = yes; then
12310 { echo "$as_me:$LINENO: result: yes" >&5
12311 echo "${ECHO_T}yes" >&6; }
12313 { echo "$as_me:$LINENO: result: no" >&5
12314 echo "${ECHO_T}no" >&6; }
12319 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
12320 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
12322 # Check whether --enable-tga was given.
12323 if test "${enable_tga+set}" = set; then
12324 enableval=$enable_tga;
12325 if test "$enableval" = yes; then
12326 ac_cv_use_tga='wxUSE_TGA=yes'
12328 ac_cv_use_tga='wxUSE_TGA=no'
12333 LINE=`grep "wxUSE_TGA" ${wx_arg_cache_file}`
12334 if test "x$LINE" != x ; then
12335 eval "DEFAULT_$LINE"
12340 ac_cv_use_tga='wxUSE_TGA='$DEFAULT_wxUSE_TGA
12345 eval "$ac_cv_use_tga"
12346 if test "$no_cache" != 1; then
12347 echo $ac_cv_use_tga >> ${wx_arg_cache_file}.tmp
12350 if test "$wxUSE_TGA" = yes; then
12351 { echo "$as_me:$LINENO: result: yes" >&5
12352 echo "${ECHO_T}yes" >&6; }
12354 { echo "$as_me:$LINENO: result: no" >&5
12355 echo "${ECHO_T}no" >&6; }
12360 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
12361 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
12363 # Check whether --enable-iff was given.
12364 if test "${enable_iff+set}" = set; then
12365 enableval=$enable_iff;
12366 if test "$enableval" = yes; then
12367 ac_cv_use_iff='wxUSE_IFF=yes'
12369 ac_cv_use_iff='wxUSE_IFF=no'
12374 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
12375 if test "x$LINE" != x ; then
12376 eval "DEFAULT_$LINE"
12381 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
12386 eval "$ac_cv_use_iff"
12387 if test "$no_cache" != 1; then
12388 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
12391 if test "$wxUSE_IFF" = yes; then
12392 { echo "$as_me:$LINENO: result: yes" >&5
12393 echo "${ECHO_T}yes" >&6; }
12395 { echo "$as_me:$LINENO: result: no" >&5
12396 echo "${ECHO_T}no" >&6; }
12401 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
12402 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
12404 # Check whether --enable-pnm was given.
12405 if test "${enable_pnm+set}" = set; then
12406 enableval=$enable_pnm;
12407 if test "$enableval" = yes; then
12408 ac_cv_use_pnm='wxUSE_PNM=yes'
12410 ac_cv_use_pnm='wxUSE_PNM=no'
12415 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
12416 if test "x$LINE" != x ; then
12417 eval "DEFAULT_$LINE"
12422 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
12427 eval "$ac_cv_use_pnm"
12428 if test "$no_cache" != 1; then
12429 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
12432 if test "$wxUSE_PNM" = yes; then
12433 { echo "$as_me:$LINENO: result: yes" >&5
12434 echo "${ECHO_T}yes" >&6; }
12436 { echo "$as_me:$LINENO: result: no" >&5
12437 echo "${ECHO_T}no" >&6; }
12442 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
12443 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
12445 # Check whether --enable-xpm was given.
12446 if test "${enable_xpm+set}" = set; then
12447 enableval=$enable_xpm;
12448 if test "$enableval" = yes; then
12449 ac_cv_use_xpm='wxUSE_XPM=yes'
12451 ac_cv_use_xpm='wxUSE_XPM=no'
12456 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
12457 if test "x$LINE" != x ; then
12458 eval "DEFAULT_$LINE"
12463 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
12468 eval "$ac_cv_use_xpm"
12469 if test "$no_cache" != 1; then
12470 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
12473 if test "$wxUSE_XPM" = yes; then
12474 { echo "$as_me:$LINENO: result: yes" >&5
12475 echo "${ECHO_T}yes" >&6; }
12477 { echo "$as_me:$LINENO: result: no" >&5
12478 echo "${ECHO_T}no" >&6; }
12483 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
12484 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
12486 # Check whether --enable-ico_cur was given.
12487 if test "${enable_ico_cur+set}" = set; then
12488 enableval=$enable_ico_cur;
12489 if test "$enableval" = yes; then
12490 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
12492 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
12497 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
12498 if test "x$LINE" != x ; then
12499 eval "DEFAULT_$LINE"
12504 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
12509 eval "$ac_cv_use_ico_cur"
12510 if test "$no_cache" != 1; then
12511 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
12514 if test "$wxUSE_ICO_CUR" = yes; then
12515 { echo "$as_me:$LINENO: result: yes" >&5
12516 echo "${ECHO_T}yes" >&6; }
12518 { echo "$as_me:$LINENO: result: no" >&5
12519 echo "${ECHO_T}no" >&6; }
12527 # Check whether --with-flavour was given.
12528 if test "${with_flavour+set}" = set; then
12529 withval=$with_flavour; WX_FLAVOUR="$withval"
12536 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
12537 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
12539 # Check whether --enable-official_build was given.
12540 if test "${enable_official_build+set}" = set; then
12541 enableval=$enable_official_build;
12542 if test "$enableval" = yes; then
12543 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
12545 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
12550 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
12551 if test "x$LINE" != x ; then
12552 eval "DEFAULT_$LINE"
12557 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
12562 eval "$ac_cv_use_official_build"
12563 if test "$no_cache" != 1; then
12564 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
12567 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
12568 { echo "$as_me:$LINENO: result: yes" >&5
12569 echo "${ECHO_T}yes" >&6; }
12571 { echo "$as_me:$LINENO: result: no" >&5
12572 echo "${ECHO_T}no" >&6; }
12575 # Check whether --enable-vendor was given.
12576 if test "${enable_vendor+set}" = set; then
12577 enableval=$enable_vendor; VENDOR="$enableval"
12580 if test "x$VENDOR" = "x"; then
12587 echo "saving argument cache $wx_arg_cache_file"
12588 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
12592 { echo "$as_me:$LINENO: checking for toolkit" >&5
12593 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
12595 # In Wine, we need to default to MSW, not GTK or MOTIF
12596 if test "$wxUSE_WINE" = "yes"; then
12597 DEFAULT_DEFAULT_wxUSE_GTK=0
12598 DEFAULT_DEFAULT_wxUSE_MOTIF=0
12599 DEFAULT_DEFAULT_wxUSE_MSW=1
12602 CXX=${CXX:-wineg++}
12606 if test "$wxUSE_GUI" = "yes"; then
12608 if test "$USE_BEOS" = 1; then
12609 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
12610 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
12611 { (exit 1); exit 1; }; }
12614 if test "$TOOLKIT_GIVEN" = 1; then
12615 for toolkit in `echo $ALL_TOOLKITS`; do
12617 eval "value=\$${var}"
12618 if test "x$value" = "xno"; then
12620 elif test "x$value" != "x"; then
12624 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
12625 eval "wx${toolkit}_VERSION=$value"
12629 for toolkit in `echo $ALL_TOOLKITS`; do
12630 if test "$has_toolkit_in_cache" != 1; then
12631 var=DEFAULT_DEFAULT_wxUSE_$toolkit
12633 var=DEFAULT_wxUSE_$toolkit
12635 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
12636 if test "x$version" != "x"; then
12637 eval "wx${toolkit}_VERSION=$version"
12640 eval "wxUSE_$toolkit=\$${var}"
12644 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
12645 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
12646 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
12649 *-pc-os2_emx | *-pc-os2-emx )
12650 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
12653 case "$NUM_TOOLKITS" in
12657 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
12658 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
12659 { (exit 1); exit 1; }; }
12662 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
12663 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
12664 { (exit 1); exit 1; }; }
12667 # to be removed when --disable-gtk2 isn't needed
12668 if test "x$wxUSE_GTK2" = "xyes"; then
12670 elif test "x$wxUSE_GTK2" = "xno"; then
12674 for toolkit in `echo $ALL_TOOLKITS`; do
12676 eval "value=\$${var}"
12677 if test "x$value" != x; then
12678 cache_var=CACHE_$toolkit
12679 eval "cache=\$${cache_var}"
12680 if test "$cache" = 1; then
12681 echo "$var=$value" >> ${wx_arg_cache_file}
12682 eval "version=\$wx${toolkit}_VERSION"
12683 if test "x$version" != "x"; then
12684 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
12687 if test "$value" = 1; then
12688 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
12689 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
12690 echo "${ECHO_T}$toolkit_echo" >&6; }
12695 if test "x$host_alias" != "x"; then
12696 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
12697 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
12699 { echo "$as_me:$LINENO: result: base only" >&5
12700 echo "${ECHO_T}base only" >&6; }
12705 cat >confcache <<\_ACEOF
12706 # This file is a shell script that caches the results of configure
12707 # tests run on this system so they can be shared between configure
12708 # scripts and configure runs, see configure's option --config-cache.
12709 # It is not useful on other systems. If it contains results you don't
12710 # want to keep, you may remove or edit it.
12712 # config.status only pays attention to the cache file if you give it
12713 # the --recheck option to rerun configure.
12715 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
12716 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12717 # following values.
12721 # The following way of writing the cache mishandles newlines in values,
12722 # but we know of no workaround that is simple, portable, and efficient.
12723 # So, we kill variables containing newlines.
12724 # Ultrix sh set writes to stderr and can't be redirected directly,
12725 # and sets the high bit in the cache file unless we assign to the vars.
12727 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12728 eval ac_val
=\$
$ac_var
12732 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
12733 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
12736 _
| IFS
| as_nl
) ;; #(
12737 *) $as_unset $ac_var ;;
12743 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12744 *${as_nl}ac_space
=\
*)
12745 # `set' does not quote correctly, so add quotes (double-quote
12746 # substitution turns \\\\ into \\, and sed turns \\ into \).
12749 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12752 # `set' quotes correctly as required by POSIX, so do not add quotes.
12753 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12762 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12764 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12766 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
12767 if test -w "$cache_file"; then
12768 test "x$cache_file" != "x/dev/null" &&
12769 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
12770 echo "$as_me: updating cache $cache_file" >&6;}
12771 cat confcache
>$cache_file
12773 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
12774 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12784 ac_cpp
='$CPP $CPPFLAGS'
12785 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12786 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12787 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12788 if test -n "$ac_tool_prefix"; then
12789 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12790 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
12791 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12792 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12793 if test "${ac_cv_prog_CC+set}" = set; then
12794 echo $ECHO_N "(cached) $ECHO_C" >&6
12796 if test -n "$CC"; then
12797 ac_cv_prog_CC
="$CC" # Let the user override the test.
12799 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12800 for as_dir
in $PATH
12803 test -z "$as_dir" && as_dir
=.
12804 for ac_exec_ext
in '' $ac_executable_extensions; do
12805 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12806 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
12807 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12817 if test -n "$CC"; then
12818 { echo "$as_me:$LINENO: result: $CC" >&5
12819 echo "${ECHO_T}$CC" >&6; }
12821 { echo "$as_me:$LINENO: result: no" >&5
12822 echo "${ECHO_T}no" >&6; }
12827 if test -z "$ac_cv_prog_CC"; then
12829 # Extract the first word of "gcc", so it can be a program name with args.
12830 set dummy gcc
; ac_word
=$2
12831 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12832 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12833 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12834 echo $ECHO_N "(cached) $ECHO_C" >&6
12836 if test -n "$ac_ct_CC"; then
12837 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
12839 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12840 for as_dir
in $PATH
12843 test -z "$as_dir" && as_dir
=.
12844 for ac_exec_ext
in '' $ac_executable_extensions; do
12845 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12846 ac_cv_prog_ac_ct_CC
="gcc"
12847 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12856 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
12857 if test -n "$ac_ct_CC"; then
12858 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12859 echo "${ECHO_T}$ac_ct_CC" >&6; }
12861 { echo "$as_me:$LINENO: result: no" >&5
12862 echo "${ECHO_T}no" >&6; }
12865 if test "x$ac_ct_CC" = x
; then
12868 case $cross_compiling:$ac_tool_warned in
12870 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
12871 whose name does not start with the host triplet. If you think this
12872 configuration is useful to you, please write to autoconf@gnu.org." >&5
12873 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
12874 whose name does not start with the host triplet. If you think this
12875 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
12876 ac_tool_warned
=yes ;;
12881 CC
="$ac_cv_prog_CC"
12884 if test -z "$CC"; then
12885 if test -n "$ac_tool_prefix"; then
12886 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12887 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
12888 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12889 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12890 if test "${ac_cv_prog_CC+set}" = set; then
12891 echo $ECHO_N "(cached) $ECHO_C" >&6
12893 if test -n "$CC"; then
12894 ac_cv_prog_CC
="$CC" # Let the user override the test.
12896 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12897 for as_dir
in $PATH
12900 test -z "$as_dir" && as_dir
=.
12901 for ac_exec_ext
in '' $ac_executable_extensions; do
12902 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12903 ac_cv_prog_CC
="${ac_tool_prefix}cc"
12904 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12914 if test -n "$CC"; then
12915 { echo "$as_me:$LINENO: result: $CC" >&5
12916 echo "${ECHO_T}$CC" >&6; }
12918 { echo "$as_me:$LINENO: result: no" >&5
12919 echo "${ECHO_T}no" >&6; }
12925 if test -z "$CC"; then
12926 # Extract the first word of "cc", so it can be a program name with args.
12927 set dummy cc
; ac_word
=$2
12928 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12929 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12930 if test "${ac_cv_prog_CC+set}" = set; then
12931 echo $ECHO_N "(cached) $ECHO_C" >&6
12933 if test -n "$CC"; then
12934 ac_cv_prog_CC
="$CC" # Let the user override the test.
12936 ac_prog_rejected
=no
12937 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12938 for as_dir
in $PATH
12941 test -z "$as_dir" && as_dir
=.
12942 for ac_exec_ext
in '' $ac_executable_extensions; do
12943 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12944 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12945 ac_prog_rejected
=yes
12949 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12956 if test $ac_prog_rejected = yes; then
12957 # We found a bogon in the path, so make sure we never use it.
12958 set dummy
$ac_cv_prog_CC
12960 if test $# != 0; then
12961 # We chose a different compiler from the bogus one.
12962 # However, it has the same basename, so the bogon will be chosen
12963 # first if we set CC to just the basename; use the full file name.
12965 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
12971 if test -n "$CC"; then
12972 { echo "$as_me:$LINENO: result: $CC" >&5
12973 echo "${ECHO_T}$CC" >&6; }
12975 { echo "$as_me:$LINENO: result: no" >&5
12976 echo "${ECHO_T}no" >&6; }
12981 if test -z "$CC"; then
12982 if test -n "$ac_tool_prefix"; then
12983 for ac_prog
in cl.exe
12985 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12986 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12987 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12988 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12989 if test "${ac_cv_prog_CC+set}" = set; then
12990 echo $ECHO_N "(cached) $ECHO_C" >&6
12992 if test -n "$CC"; then
12993 ac_cv_prog_CC
="$CC" # Let the user override the test.
12995 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12996 for as_dir
in $PATH
12999 test -z "$as_dir" && as_dir
=.
13000 for ac_exec_ext
in '' $ac_executable_extensions; do
13001 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13002 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
13003 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13013 if test -n "$CC"; then
13014 { echo "$as_me:$LINENO: result: $CC" >&5
13015 echo "${ECHO_T}$CC" >&6; }
13017 { echo "$as_me:$LINENO: result: no" >&5
13018 echo "${ECHO_T}no" >&6; }
13022 test -n "$CC" && break
13025 if test -z "$CC"; then
13027 for ac_prog
in cl.exe
13029 # Extract the first word of "$ac_prog", so it can be a program name with args.
13030 set dummy
$ac_prog; ac_word
=$2
13031 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13032 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13033 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
13034 echo $ECHO_N "(cached) $ECHO_C" >&6
13036 if test -n "$ac_ct_CC"; then
13037 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
13039 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13040 for as_dir
in $PATH
13043 test -z "$as_dir" && as_dir
=.
13044 for ac_exec_ext
in '' $ac_executable_extensions; do
13045 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13046 ac_cv_prog_ac_ct_CC
="$ac_prog"
13047 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13056 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
13057 if test -n "$ac_ct_CC"; then
13058 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
13059 echo "${ECHO_T}$ac_ct_CC" >&6; }
13061 { echo "$as_me:$LINENO: result: no" >&5
13062 echo "${ECHO_T}no" >&6; }
13066 test -n "$ac_ct_CC" && break
13069 if test "x$ac_ct_CC" = x
; then
13072 case $cross_compiling:$ac_tool_warned in
13074 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13075 whose name does not start with the host triplet. If you think this
13076 configuration is useful to you, please write to autoconf@gnu.org." >&5
13077 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13078 whose name does not start with the host triplet. If you think this
13079 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13080 ac_tool_warned
=yes ;;
13089 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
13090 See \`config.log' for more details." >&5
13091 echo "$as_me: error: no acceptable C compiler found in \$PATH
13092 See \`config.log' for more details." >&2;}
13093 { (exit 1); exit 1; }; }
13095 # Provide some information about the compiler.
13096 echo "$as_me:$LINENO: checking for C compiler version" >&5
13097 ac_compiler
=`set X $ac_compile; echo $2`
13098 { (ac_try
="$ac_compiler --version >&5"
13099 case "(($ac_try" in
13100 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
13101 *) ac_try_echo=$ac_try;;
13103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13104 (eval "$ac_compiler --version >&5") 2>&5
13106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13107 (exit $ac_status); }
13108 { (ac_try="$ac_compiler -v >&5"
13109 case "(($ac_try" in
13110 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
13111 *) ac_try_echo
=$ac_try;;
13113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13114 (eval "$ac_compiler -v >&5") 2>&5
13116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13117 (exit $ac_status); }
13118 { (ac_try
="$ac_compiler -V >&5"
13119 case "(($ac_try" in
13120 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
13121 *) ac_try_echo=$ac_try;;
13123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13124 (eval "$ac_compiler -V >&5") 2>&5
13126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13127 (exit $ac_status); }
13129 cat >conftest.$ac_ext <<_ACEOF
13132 cat confdefs.h >>conftest.$ac_ext
13133 cat >>conftest.$ac_ext <<_ACEOF
13134 /* end confdefs.h. */
13144 ac_clean_files_save=$ac_clean_files
13145 ac_clean_files="$ac_clean_files a.out a.exe b.out"
13146 # Try to create an executable without -o first, disregard a.out.
13147 # It will help us diagnose broken compilers, and finding out an intuition
13149 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
13150 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
13151 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
13153 # List of possible output files, starting from the most likely.
13154 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
13155 # only as a last resort. b.out is created by i960 compilers.
13156 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
13158 # The IRIX 6 linker writes into existing files which may not be
13159 # executable, retaining their permissions. Remove them first so a
13160 # subsequent execution test works.
13162 for ac_file in $ac_files
13165 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
13166 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
13171 if { (ac_try="$ac_link_default"
13172 case "(($ac_try" in
13173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13174 *) ac_try_echo=$ac_try;;
13176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13177 (eval "$ac_link_default") 2>&5
13179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13180 (exit $ac_status); }; then
13181 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
13182 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
13183 # in a Makefile. We should not override ac_cv_exeext if it was cached,
13184 # so that the user can short-circuit this test for compilers unknown to
13186 for ac_file
in $ac_files ''
13188 test -f "$ac_file" || continue
13190 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
)
13193 # We found the default executable, but exeext='' is most
13197 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
13199 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
13201 # We set ac_cv_exeext here because the later test for it is not
13202 # safe: cross compilers may not add the suffix if given an `-o'
13203 # argument, so we may need to know it at that point already.
13204 # Even if this section looks crufty: it has the advantage of
13205 # actually working.
13211 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
13217 { echo "$as_me:$LINENO: result: $ac_file" >&5
13218 echo "${ECHO_T}$ac_file" >&6; }
13219 if test -z "$ac_file"; then
13220 echo "$as_me: failed program was:" >&5
13221 sed 's/^/| /' conftest.
$ac_ext >&5
13223 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
13224 See \`config.log' for more details." >&5
13225 echo "$as_me: error: C compiler cannot create executables
13226 See \`config.log' for more details." >&2;}
13227 { (exit 77); exit 77; }; }
13230 ac_exeext
=$ac_cv_exeext
13232 # Check that the compiler produces executables we can run. If not, either
13233 # the compiler is broken, or we cross compile.
13234 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
13235 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
13236 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
13237 # If not cross compiling, check that we can run a simple program.
13238 if test "$cross_compiling" != yes; then
13239 if { ac_try
='./$ac_file'
13240 { (case "(($ac_try" in
13241 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
13242 *) ac_try_echo=$ac_try;;
13244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13245 (eval "$ac_try") 2>&5
13247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13248 (exit $ac_status); }; }; then
13251 if test "$cross_compiling" = maybe; then
13252 cross_compiling=yes
13254 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
13255 If you meant to cross compile, use \`--host'.
13256 See \`config.log' for more details.
" >&5
13257 echo "$as_me: error
: cannot run C compiled programs.
13258 If you meant to cross compile
, use \
`--host'.
13259 See \`config.log
' for more details." >&2;}
13260 { (exit 1); exit 1; }; }
13264 { echo "$as_me:$LINENO: result: yes" >&5
13265 echo "${ECHO_T}yes" >&6; }
13267 rm -f a.out a.exe conftest$ac_cv_exeext b.out
13268 ac_clean_files=$ac_clean_files_save
13269 # Check that the compiler produces executables we can run. If not, either
13270 # the compiler is broken, or we cross compile.
13271 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
13272 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
13273 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
13274 echo "${ECHO_T}$cross_compiling" >&6; }
13276 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
13277 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
13278 if { (ac_try="$ac_link"
13279 case "(($ac_try" in
13280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13281 *) ac_try_echo=$ac_try;;
13283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13284 (eval "$ac_link") 2>&5
13286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13287 (exit $ac_status); }; then
13288 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
13289 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
13290 # work properly (i.e., refer to `conftest.exe
'), while it won't with
13292 for ac_file
in conftest.exe conftest conftest.
*; do
13293 test -f "$ac_file" || continue
13295 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
13296 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
13302 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
13303 See \`config.log' for more details." >&5
13304 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
13305 See \`config.log' for more details." >&2;}
13306 { (exit 1); exit 1; }; }
13309 rm -f conftest
$ac_cv_exeext
13310 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
13311 echo "${ECHO_T}$ac_cv_exeext" >&6; }
13313 rm -f conftest.
$ac_ext
13314 EXEEXT
=$ac_cv_exeext
13316 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
13317 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
13318 if test "${ac_cv_objext+set}" = set; then
13319 echo $ECHO_N "(cached) $ECHO_C" >&6
13321 cat >conftest.
$ac_ext <<_ACEOF
13324 cat confdefs.h
>>conftest.
$ac_ext
13325 cat >>conftest.
$ac_ext <<_ACEOF
13326 /* end confdefs.h. */
13336 rm -f conftest.o conftest.obj
13337 if { (ac_try
="$ac_compile"
13338 case "(($ac_try" in
13339 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
13340 *) ac_try_echo=$ac_try;;
13342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13343 (eval "$ac_compile") 2>&5
13345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13346 (exit $ac_status); }; then
13347 for ac_file in conftest.o conftest.obj conftest.*; do
13348 test -f "$ac_file" || continue;
13350 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
13351 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
13356 echo "$as_me: failed program was:" >&5
13357 sed 's/^/| /' conftest.$ac_ext >&5
13359 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
13360 See \`config.log
' for more details." >&5
13361 echo "$as_me: error: cannot compute suffix of object files: cannot compile
13362 See \`config.log' for more details.
" >&2;}
13363 { (exit 1); exit 1; }; }
13366 rm -f conftest.$ac_cv_objext conftest.$ac_ext
13368 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
13369 echo "${ECHO_T}$ac_cv_objext" >&6; }
13370 OBJEXT=$ac_cv_objext
13372 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
13373 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
13374 if test "${ac_cv_c_compiler_gnu+set}" = set; then
13375 echo $ECHO_N "(cached
) $ECHO_C" >&6
13377 cat >conftest.$ac_ext <<_ACEOF
13380 cat confdefs.h >>conftest.$ac_ext
13381 cat >>conftest.$ac_ext <<_ACEOF
13382 /* end confdefs.h. */
13395 rm -f conftest.$ac_objext
13396 if { (ac_try="$ac_compile"
13397 case "(($ac_try" in
13398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13399 *) ac_try_echo=$ac_try;;
13401 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13402 (eval "$ac_compile") 2>conftest.er1
13404 grep -v '^ *+' conftest.er1 >conftest.err
13406 cat conftest.err >&5
13407 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13408 (exit $ac_status); } && {
13409 test -z "$ac_c_werror_flag" ||
13410 test ! -s conftest.err
13411 } && test -s conftest.$ac_objext; then
13412 ac_compiler_gnu=yes
13414 echo "$as_me: failed program was
:" >&5
13415 sed 's/^/| /' conftest.$ac_ext >&5
13420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13421 ac_cv_c_compiler_gnu=$ac_compiler_gnu
13424 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
13425 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
13426 GCC=`test $ac_compiler_gnu = yes && echo yes`
13427 ac_test_CFLAGS=${CFLAGS+set}
13428 ac_save_CFLAGS=$CFLAGS
13429 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
13430 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
13431 if test "${ac_cv_prog_cc_g+set}" = set; then
13432 echo $ECHO_N "(cached
) $ECHO_C" >&6
13434 ac_save_c_werror_flag=$ac_c_werror_flag
13435 ac_c_werror_flag=yes
13438 cat >conftest.$ac_ext <<_ACEOF
13441 cat confdefs.h >>conftest.$ac_ext
13442 cat >>conftest.$ac_ext <<_ACEOF
13443 /* end confdefs.h. */
13453 rm -f conftest.$ac_objext
13454 if { (ac_try="$ac_compile"
13455 case "(($ac_try" in
13456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13457 *) ac_try_echo=$ac_try;;
13459 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13460 (eval "$ac_compile") 2>conftest.er1
13462 grep -v '^ *+' conftest.er1 >conftest.err
13464 cat conftest.err >&5
13465 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13466 (exit $ac_status); } && {
13467 test -z "$ac_c_werror_flag" ||
13468 test ! -s conftest.err
13469 } && test -s conftest.$ac_objext; then
13470 ac_cv_prog_cc_g=yes
13472 echo "$as_me: failed program was
:" >&5
13473 sed 's/^/| /' conftest.$ac_ext >&5
13476 cat >conftest.$ac_ext <<_ACEOF
13479 cat confdefs.h >>conftest.$ac_ext
13480 cat >>conftest.$ac_ext <<_ACEOF
13481 /* end confdefs.h. */
13491 rm -f conftest.$ac_objext
13492 if { (ac_try="$ac_compile"
13493 case "(($ac_try" in
13494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13495 *) ac_try_echo=$ac_try;;
13497 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13498 (eval "$ac_compile") 2>conftest.er1
13500 grep -v '^ *+' conftest.er1 >conftest.err
13502 cat conftest.err >&5
13503 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13504 (exit $ac_status); } && {
13505 test -z "$ac_c_werror_flag" ||
13506 test ! -s conftest.err
13507 } && test -s conftest.$ac_objext; then
13510 echo "$as_me: failed program was
:" >&5
13511 sed 's/^/| /' conftest.$ac_ext >&5
13513 ac_c_werror_flag=$ac_save_c_werror_flag
13515 cat >conftest.$ac_ext <<_ACEOF
13518 cat confdefs.h >>conftest.$ac_ext
13519 cat >>conftest.$ac_ext <<_ACEOF
13520 /* end confdefs.h. */
13530 rm -f conftest.$ac_objext
13531 if { (ac_try="$ac_compile"
13532 case "(($ac_try" in
13533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13534 *) ac_try_echo=$ac_try;;
13536 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13537 (eval "$ac_compile") 2>conftest.er1
13539 grep -v '^ *+' conftest.er1 >conftest.err
13541 cat conftest.err >&5
13542 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13543 (exit $ac_status); } && {
13544 test -z "$ac_c_werror_flag" ||
13545 test ! -s conftest.err
13546 } && test -s conftest.$ac_objext; then
13547 ac_cv_prog_cc_g=yes
13549 echo "$as_me: failed program was
:" >&5
13550 sed 's/^/| /' conftest.$ac_ext >&5
13555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13562 ac_c_werror_flag=$ac_save_c_werror_flag
13564 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
13565 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
13566 if test "$ac_test_CFLAGS" = set; then
13567 CFLAGS=$ac_save_CFLAGS
13568 elif test $ac_cv_prog_cc_g = yes; then
13569 if test "$GCC" = yes; then
13575 if test "$GCC" = yes; then
13581 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
13582 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
13583 if test "${ac_cv_prog_cc_c89+set}" = set; then
13584 echo $ECHO_N "(cached
) $ECHO_C" >&6
13586 ac_cv_prog_cc_c89=no
13588 cat >conftest.$ac_ext <<_ACEOF
13591 cat confdefs.h >>conftest.$ac_ext
13592 cat >>conftest.$ac_ext <<_ACEOF
13593 /* end confdefs.h. */
13594 #include <stdarg.h>
13596 #include <sys/types.h>
13597 #include <sys/stat.h>
13598 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
13599 struct buf { int x; };
13600 FILE * (*rcsopen) (struct buf *, struct stat *, int);
13601 static char *e (p, i)
13607 static char *f (char * (*g) (char **, int), char **p, ...)
13612 s = g (p, va_arg (v,int));
13617 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
13618 function prototypes and stuff, but not '\xHH' hex character constants.
13619 These don't provoke an error unfortunately, instead are silently treated
13620 as 'x'. The following induces an error, until -std is added to get
13621 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
13622 array size at least. It's necessary to write '\x00'==0 to get something
13623 that's true only with -std. */
13624 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13626 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13627 inside strings and character constants. */
13629 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13631 int test (int i, double x);
13632 struct s1 {int (*f) (int a);};
13633 struct s2 {int (*f) (double a);};
13634 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13640 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
13645 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13646 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13648 CC="$ac_save_CC $ac_arg"
13649 rm -f conftest.$ac_objext
13650 if { (ac_try="$ac_compile"
13651 case "(($ac_try" in
13652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13653 *) ac_try_echo=$ac_try;;
13655 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13656 (eval "$ac_compile") 2>conftest.er1
13658 grep -v '^ *+' conftest.er1 >conftest.err
13660 cat conftest.err >&5
13661 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13662 (exit $ac_status); } && {
13663 test -z "$ac_c_werror_flag" ||
13664 test ! -s conftest.err
13665 } && test -s conftest.$ac_objext; then
13666 ac_cv_prog_cc_c89=$ac_arg
13668 echo "$as_me: failed program was
:" >&5
13669 sed 's/^/| /' conftest.$ac_ext >&5
13674 rm -f core conftest.err conftest.$ac_objext
13675 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
13677 rm -f conftest.$ac_ext
13682 case "x
$ac_cv_prog_cc_c89" in
13684 { echo "$as_me:$LINENO: result
: none needed
" >&5
13685 echo "${ECHO_T}none needed
" >&6; } ;;
13687 { echo "$as_me:$LINENO: result
: unsupported
" >&5
13688 echo "${ECHO_T}unsupported
" >&6; } ;;
13690 CC="$CC $ac_cv_prog_cc_c89"
13691 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
13692 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
13697 ac_cpp='$CPP $CPPFLAGS'
13698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13705 ac_cpp='$CPP $CPPFLAGS'
13706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13710 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler
" >&5
13711 echo $ECHO_N "checking whether we are using the Intel C compiler...
$ECHO_C" >&6; }
13712 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
13713 echo $ECHO_N "(cached
) $ECHO_C" >&6
13715 cat >conftest.$ac_ext <<_ACEOF
13718 cat confdefs.h >>conftest.$ac_ext
13719 cat >>conftest.$ac_ext <<_ACEOF
13720 /* end confdefs.h. */
13726 #ifndef __INTEL_COMPILER
13734 rm -f conftest.$ac_objext
13735 if { (ac_try="$ac_compile"
13736 case "(($ac_try" in
13737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13738 *) ac_try_echo=$ac_try;;
13740 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13741 (eval "$ac_compile") 2>conftest.er1
13743 grep -v '^ *+' conftest.er1 >conftest.err
13745 cat conftest.err >&5
13746 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13747 (exit $ac_status); } && {
13748 test -z "$ac_c_werror_flag" ||
13749 test ! -s conftest.err
13750 } && test -s conftest.$ac_objext; then
13751 bakefile_cv_c_compiler___INTEL_COMPILER=yes
13753 echo "$as_me: failed program was
:" >&5
13754 sed 's/^/| /' conftest.$ac_ext >&5
13756 bakefile_cv_c_compiler___INTEL_COMPILER=no
13760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13764 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
13765 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
13767 ac_cpp='$CPP $CPPFLAGS'
13768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13772 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes
"; then
13779 if test "x
$GCC" != "xyes
"; then
13780 if test "xCC
" = "xC
"; then
13781 { echo "$as_me:$LINENO: checking
if the C compiler requires
-ext o
" >&5
13782 echo $ECHO_N "checking
if the C compiler requires
-ext o...
$ECHO_C" >&6; }
13783 if test "${bakefile_cv_c_exto+set}" = set; then
13784 echo $ECHO_N "(cached
) $ECHO_C" >&6
13786 cat >conftest.$ac_ext <<_ACEOF
13789 cat confdefs.h >>conftest.$ac_ext
13790 cat >>conftest.$ac_ext <<_ACEOF
13791 /* end confdefs.h. */
13801 rm -f conftest.$ac_objext conftest.$ac_ext.o
13802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13803 (eval $ac_compile) 2>&5
13805 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13806 (exit $ac_status); }; then
13807 for ac_file in `(ls conftest.* 2>/dev/null)`; do
13809 conftest.$ac_ext.o)
13810 bakefile_cv_c_exto="-ext o
"
13817 { { echo "$as_me:$LINENO: error
: cannot figure out
if compiler needs
-ext o
: cannot compile
13818 See \
`config.log' for more details." >&5
13819 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13820 See \`config.log
' for more details." >&2;}
13821 { (exit 1); exit 1; }; }
13825 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
13828 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
13829 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
13830 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13831 if test "c" = "c"; then
13832 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
13834 if test "c" = "cxx"; then
13835 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
13839 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13840 unset ac_cv_prog_cc_g
13841 ac_test_CFLAGS=${CFLAGS+set}
13842 ac_save_CFLAGS=$CFLAGS
13843 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13844 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
13845 if test "${ac_cv_prog_cc_g+set}" = set; then
13846 echo $ECHO_N "(cached) $ECHO_C" >&6
13848 ac_save_c_werror_flag=$ac_c_werror_flag
13849 ac_c_werror_flag=yes
13852 cat >conftest.$ac_ext <<_ACEOF
13855 cat confdefs.h >>conftest.$ac_ext
13856 cat >>conftest.$ac_ext <<_ACEOF
13857 /* end confdefs.h. */
13867 rm -f conftest.$ac_objext
13868 if { (ac_try="$ac_compile"
13869 case "(($ac_try" in
13870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13871 *) ac_try_echo=$ac_try;;
13873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13874 (eval "$ac_compile") 2>conftest.er1
13876 grep -v '^
*+' conftest.er1 >conftest.err
13878 cat conftest.err >&5
13879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13880 (exit $ac_status); } && {
13881 test -z "$ac_c_werror_flag" ||
13882 test ! -s conftest.err
13883 } && test -s conftest.$ac_objext; then
13884 ac_cv_prog_cc_g=yes
13886 echo "$as_me: failed program was:" >&5
13887 sed 's
/^
/| /' conftest.$ac_ext >&5
13890 cat >conftest.$ac_ext <<_ACEOF
13893 cat confdefs.h >>conftest.$ac_ext
13894 cat >>conftest.$ac_ext <<_ACEOF
13895 /* end confdefs.h. */
13905 rm -f conftest.$ac_objext
13906 if { (ac_try="$ac_compile"
13907 case "(($ac_try" in
13908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13909 *) ac_try_echo=$ac_try;;
13911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13912 (eval "$ac_compile") 2>conftest.er1
13914 grep -v '^
*+' conftest.er1 >conftest.err
13916 cat conftest.err >&5
13917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13918 (exit $ac_status); } && {
13919 test -z "$ac_c_werror_flag" ||
13920 test ! -s conftest.err
13921 } && test -s conftest.$ac_objext; then
13924 echo "$as_me: failed program was:" >&5
13925 sed 's
/^
/| /' conftest.$ac_ext >&5
13927 ac_c_werror_flag=$ac_save_c_werror_flag
13929 cat >conftest.$ac_ext <<_ACEOF
13932 cat confdefs.h >>conftest.$ac_ext
13933 cat >>conftest.$ac_ext <<_ACEOF
13934 /* end confdefs.h. */
13944 rm -f conftest.$ac_objext
13945 if { (ac_try="$ac_compile"
13946 case "(($ac_try" in
13947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13948 *) ac_try_echo=$ac_try;;
13950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13951 (eval "$ac_compile") 2>conftest.er1
13953 grep -v '^
*+' conftest.er1 >conftest.err
13955 cat conftest.err >&5
13956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13957 (exit $ac_status); } && {
13958 test -z "$ac_c_werror_flag" ||
13959 test ! -s conftest.err
13960 } && test -s conftest.$ac_objext; then
13961 ac_cv_prog_cc_g=yes
13963 echo "$as_me: failed program was:" >&5
13964 sed 's
/^
/| /' conftest.$ac_ext >&5
13969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13976 ac_c_werror_flag=$ac_save_c_werror_flag
13978 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13979 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
13980 if test "$ac_test_CFLAGS" = set; then
13981 CFLAGS=$ac_save_CFLAGS
13982 elif test $ac_cv_prog_cc_g = yes; then
13983 if test "$GCC" = yes; then
13989 if test "$GCC" = yes; then
14001 ac_cpp='$CPP $CPPFLAGS'
14002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14003 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14006 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
14007 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
14008 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
14009 echo $ECHO_N "(cached) $ECHO_C" >&6
14011 cat >conftest.$ac_ext <<_ACEOF
14014 cat confdefs.h >>conftest.$ac_ext
14015 cat >>conftest.$ac_ext <<_ACEOF
14016 /* end confdefs.h. */
14029 rm -f conftest.$ac_objext
14030 if { (ac_try="$ac_compile"
14031 case "(($ac_try" in
14032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14033 *) ac_try_echo=$ac_try;;
14035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14036 (eval "$ac_compile") 2>conftest.er1
14038 grep -v '^
*+' conftest.er1 >conftest.err
14040 cat conftest.err >&5
14041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14042 (exit $ac_status); } && {
14043 test -z "$ac_c_werror_flag" ||
14044 test ! -s conftest.err
14045 } && test -s conftest.$ac_objext; then
14046 bakefile_compiler_xlc=yes
14048 echo "$as_me: failed program was:" >&5
14049 sed 's
/^
/| /' conftest.$ac_ext >&5
14051 bakefile_compiler_xlc=no
14054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14055 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
14058 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
14059 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6; }
14061 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
14063 ac_cpp='$CPP $CPPFLAGS'
14064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14065 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14073 ac_cpp='$CPP $CPPFLAGS'
14074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14075 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14078 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
14079 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
14080 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
14081 echo $ECHO_N "(cached) $ECHO_C" >&6
14083 cat >conftest.$ac_ext <<_ACEOF
14086 cat confdefs.h >>conftest.$ac_ext
14087 cat >>conftest.$ac_ext <<_ACEOF
14088 /* end confdefs.h. */
14101 rm -f conftest.$ac_objext
14102 if { (ac_try="$ac_compile"
14103 case "(($ac_try" in
14104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14105 *) ac_try_echo=$ac_try;;
14107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14108 (eval "$ac_compile") 2>conftest.er1
14110 grep -v '^
*+' conftest.er1 >conftest.err
14112 cat conftest.err >&5
14113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14114 (exit $ac_status); } && {
14115 test -z "$ac_c_werror_flag" ||
14116 test ! -s conftest.err
14117 } && test -s conftest.$ac_objext; then
14118 bakefile_compiler_mwerks=yes
14120 echo "$as_me: failed program was:" >&5
14121 sed 's
/^
/| /' conftest.$ac_ext >&5
14123 bakefile_compiler_mwerks=no
14126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14127 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
14130 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
14131 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6; }
14133 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
14135 ac_cpp='$CPP $CPPFLAGS'
14136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14137 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14142 ac_cpp='$CPP $CPPFLAGS'
14143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14144 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14147 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
14148 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
14149 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
14150 echo $ECHO_N "(cached) $ECHO_C" >&6
14152 cat >conftest.$ac_ext <<_ACEOF
14155 cat confdefs.h >>conftest.$ac_ext
14156 cat >>conftest.$ac_ext <<_ACEOF
14157 /* end confdefs.h. */
14170 rm -f conftest.$ac_objext
14171 if { (ac_try="$ac_compile"
14172 case "(($ac_try" in
14173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14174 *) ac_try_echo=$ac_try;;
14176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14177 (eval "$ac_compile") 2>conftest.er1
14179 grep -v '^
*+' conftest.er1 >conftest.err
14181 cat conftest.err >&5
14182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14183 (exit $ac_status); } && {
14184 test -z "$ac_c_werror_flag" ||
14185 test ! -s conftest.err
14186 } && test -s conftest.$ac_objext; then
14187 bakefile_compiler_xlc=yes
14189 echo "$as_me: failed program was:" >&5
14190 sed 's
/^
/| /' conftest.$ac_ext >&5
14192 bakefile_compiler_xlc=no
14195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14196 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
14199 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
14200 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6; }
14202 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
14204 ac_cpp='$CPP $CPPFLAGS'
14205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14206 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14216 ac_cpp='$CPP $CPPFLAGS'
14217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14218 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14221 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
14222 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
14223 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
14224 echo $ECHO_N "(cached) $ECHO_C" >&6
14226 cat >conftest.$ac_ext <<_ACEOF
14229 cat confdefs.h >>conftest.$ac_ext
14230 cat >>conftest.$ac_ext <<_ACEOF
14231 /* end confdefs.h. */
14237 #ifndef _SGI_COMPILER_VERSION
14245 rm -f conftest.$ac_objext
14246 if { (ac_try="$ac_compile"
14247 case "(($ac_try" in
14248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14249 *) ac_try_echo=$ac_try;;
14251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14252 (eval "$ac_compile") 2>conftest.er1
14254 grep -v '^
*+' conftest.er1 >conftest.err
14256 cat conftest.err >&5
14257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14258 (exit $ac_status); } && {
14259 test -z "$ac_c_werror_flag" ||
14260 test ! -s conftest.err
14261 } && test -s conftest.$ac_objext; then
14262 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
14264 echo "$as_me: failed program was:" >&5
14265 sed 's
/^
/| /' conftest.$ac_ext >&5
14267 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
14271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14275 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
14276 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
14278 ac_cpp='$CPP $CPPFLAGS'
14279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14280 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14283 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14296 ac_cpp='$CPP $CPPFLAGS'
14297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14298 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14301 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
14302 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
14303 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
14304 echo $ECHO_N "(cached) $ECHO_C" >&6
14306 cat >conftest.$ac_ext <<_ACEOF
14309 cat confdefs.h >>conftest.$ac_ext
14310 cat >>conftest.$ac_ext <<_ACEOF
14311 /* end confdefs.h. */
14325 rm -f conftest.$ac_objext
14326 if { (ac_try="$ac_compile"
14327 case "(($ac_try" in
14328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14329 *) ac_try_echo=$ac_try;;
14331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14332 (eval "$ac_compile") 2>conftest.er1
14334 grep -v '^
*+' conftest.er1 >conftest.err
14336 cat conftest.err >&5
14337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14338 (exit $ac_status); } && {
14339 test -z "$ac_c_werror_flag" ||
14340 test ! -s conftest.err
14341 } && test -s conftest.$ac_objext; then
14342 bakefile_cv_c_compiler___HP_cc=yes
14344 echo "$as_me: failed program was:" >&5
14345 sed 's
/^
/| /' conftest.$ac_ext >&5
14347 bakefile_cv_c_compiler___HP_cc=no
14351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14355 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
14356 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
14358 ac_cpp='$CPP $CPPFLAGS'
14359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14360 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14363 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
14376 ac_cpp='$CPP $CPPFLAGS'
14377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14378 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14381 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
14382 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
14383 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
14384 echo $ECHO_N "(cached) $ECHO_C" >&6
14386 cat >conftest.$ac_ext <<_ACEOF
14389 cat confdefs.h >>conftest.$ac_ext
14390 cat >>conftest.$ac_ext <<_ACEOF
14391 /* end confdefs.h. */
14405 rm -f conftest.$ac_objext
14406 if { (ac_try="$ac_compile"
14407 case "(($ac_try" in
14408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14409 *) ac_try_echo=$ac_try;;
14411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14412 (eval "$ac_compile") 2>conftest.er1
14414 grep -v '^
*+' conftest.er1 >conftest.err
14416 cat conftest.err >&5
14417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14418 (exit $ac_status); } && {
14419 test -z "$ac_c_werror_flag" ||
14420 test ! -s conftest.err
14421 } && test -s conftest.$ac_objext; then
14422 bakefile_cv_c_compiler___DECC=yes
14424 echo "$as_me: failed program was:" >&5
14425 sed 's
/^
/| /' conftest.$ac_ext >&5
14427 bakefile_cv_c_compiler___DECC=no
14431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14435 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
14436 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
14438 ac_cpp='$CPP $CPPFLAGS'
14439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14440 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14443 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
14456 ac_cpp='$CPP $CPPFLAGS'
14457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14458 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14461 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
14462 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
14463 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
14464 echo $ECHO_N "(cached) $ECHO_C" >&6
14466 cat >conftest.$ac_ext <<_ACEOF
14469 cat confdefs.h >>conftest.$ac_ext
14470 cat >>conftest.$ac_ext <<_ACEOF
14471 /* end confdefs.h. */
14485 rm -f conftest.$ac_objext
14486 if { (ac_try="$ac_compile"
14487 case "(($ac_try" in
14488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14489 *) ac_try_echo=$ac_try;;
14491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14492 (eval "$ac_compile") 2>conftest.er1
14494 grep -v '^
*+' conftest.er1 >conftest.err
14496 cat conftest.err >&5
14497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14498 (exit $ac_status); } && {
14499 test -z "$ac_c_werror_flag" ||
14500 test ! -s conftest.err
14501 } && test -s conftest.$ac_objext; then
14502 bakefile_cv_c_compiler___SUNPRO_C=yes
14504 echo "$as_me: failed program was:" >&5
14505 sed 's
/^
/| /' conftest.$ac_ext >&5
14507 bakefile_cv_c_compiler___SUNPRO_C=no
14511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14515 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
14516 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
14518 ac_cpp='$CPP $CPPFLAGS'
14519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14520 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14523 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
14537 ac_cpp='$CPP $CPPFLAGS'
14538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14539 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14541 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
14542 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
14543 # On Suns, sometimes $CPP names a directory.
14544 if test -n "$CPP" && test -d "$CPP"; then
14547 if test -z "$CPP"; then
14548 if test "${ac_cv_prog_CPP+set}" = set; then
14549 echo $ECHO_N "(cached) $ECHO_C" >&6
14551 # Double quotes because CPP needs to be expanded
14552 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
14554 ac_preproc_ok=false
14555 for ac_c_preproc_warn_flag in '' yes
14557 # Use a header file that comes with gcc, so configuring glibc
14558 # with a fresh cross-compiler works.
14559 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14560 # <limits.h> exists even on freestanding compilers.
14561 # On the NeXT, cc -E runs the code through the compiler's parser
,
14562 # not just through cpp. "Syntax error" is here to catch this case.
14563 cat >conftest.
$ac_ext <<_ACEOF
14566 cat confdefs.h
>>conftest.
$ac_ext
14567 cat >>conftest.
$ac_ext <<_ACEOF
14568 /* end confdefs.h. */
14570 # include <limits.h>
14572 # include <assert.h>
14576 if { (ac_try
="$ac_cpp conftest.$ac_ext"
14577 case "(($ac_try" in
14578 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14579 *) ac_try_echo=$ac_try;;
14581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14582 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14584 grep -v '^ *+' conftest.er1 >conftest.err
14586 cat conftest.err >&5
14587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14588 (exit $ac_status); } >/dev/null && {
14589 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14590 test ! -s conftest.err
14594 echo "$as_me: failed program was:" >&5
14595 sed 's/^/| /' conftest.$ac_ext >&5
14597 # Broken: fails on valid input.
14601 rm -f conftest.err conftest.$ac_ext
14603 # OK, works on sane cases. Now check whether nonexistent headers
14604 # can be detected and how.
14605 cat >conftest.$ac_ext <<_ACEOF
14608 cat confdefs.h >>conftest.$ac_ext
14609 cat >>conftest.$ac_ext <<_ACEOF
14610 /* end confdefs.h. */
14611 #include <ac_nonexistent.h>
14613 if { (ac_try="$ac_cpp conftest.$ac_ext"
14614 case "(($ac_try" in
14615 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
14616 *) ac_try_echo
=$ac_try;;
14618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14619 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14621 grep -v '^ *+' conftest.er1
>conftest.err
14623 cat conftest.err
>&5
14624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14625 (exit $ac_status); } >/dev
/null
&& {
14626 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14627 test ! -s conftest.err
14629 # Broken: success on invalid input.
14632 echo "$as_me: failed program was:" >&5
14633 sed 's/^/| /' conftest.
$ac_ext >&5
14635 # Passes both tests.
14640 rm -f conftest.err conftest.
$ac_ext
14643 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14644 rm -f conftest.err conftest.
$ac_ext
14645 if $ac_preproc_ok; then
14650 ac_cv_prog_CPP
=$CPP
14653 CPP
=$ac_cv_prog_CPP
14655 ac_cv_prog_CPP
=$CPP
14657 { echo "$as_me:$LINENO: result: $CPP" >&5
14658 echo "${ECHO_T}$CPP" >&6; }
14659 ac_preproc_ok
=false
14660 for ac_c_preproc_warn_flag
in '' yes
14662 # Use a header file that comes with gcc, so configuring glibc
14663 # with a fresh cross-compiler works.
14664 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14665 # <limits.h> exists even on freestanding compilers.
14666 # On the NeXT, cc -E runs the code through the compiler's parser,
14667 # not just through cpp. "Syntax error" is here to catch this case.
14668 cat >conftest.
$ac_ext <<_ACEOF
14671 cat confdefs.h
>>conftest.
$ac_ext
14672 cat >>conftest.
$ac_ext <<_ACEOF
14673 /* end confdefs.h. */
14675 # include <limits.h>
14677 # include <assert.h>
14681 if { (ac_try
="$ac_cpp conftest.$ac_ext"
14682 case "(($ac_try" in
14683 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14684 *) ac_try_echo=$ac_try;;
14686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14687 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14689 grep -v '^ *+' conftest.er1 >conftest.err
14691 cat conftest.err >&5
14692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14693 (exit $ac_status); } >/dev/null && {
14694 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14695 test ! -s conftest.err
14699 echo "$as_me: failed program was:" >&5
14700 sed 's/^/| /' conftest.$ac_ext >&5
14702 # Broken: fails on valid input.
14706 rm -f conftest.err conftest.$ac_ext
14708 # OK, works on sane cases. Now check whether nonexistent headers
14709 # can be detected and how.
14710 cat >conftest.$ac_ext <<_ACEOF
14713 cat confdefs.h >>conftest.$ac_ext
14714 cat >>conftest.$ac_ext <<_ACEOF
14715 /* end confdefs.h. */
14716 #include <ac_nonexistent.h>
14718 if { (ac_try="$ac_cpp conftest.$ac_ext"
14719 case "(($ac_try" in
14720 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
14721 *) ac_try_echo
=$ac_try;;
14723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14724 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14726 grep -v '^ *+' conftest.er1
>conftest.err
14728 cat conftest.err
>&5
14729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14730 (exit $ac_status); } >/dev
/null
&& {
14731 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14732 test ! -s conftest.err
14734 # Broken: success on invalid input.
14737 echo "$as_me: failed program was:" >&5
14738 sed 's/^/| /' conftest.
$ac_ext >&5
14740 # Passes both tests.
14745 rm -f conftest.err conftest.
$ac_ext
14748 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14749 rm -f conftest.err conftest.
$ac_ext
14750 if $ac_preproc_ok; then
14753 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
14754 See \`config.log' for more details." >&5
14755 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
14756 See \`config.log' for more details." >&2;}
14757 { (exit 1); exit 1; }; }
14761 ac_cpp
='$CPP $CPPFLAGS'
14762 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14763 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14764 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14767 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
14768 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
14769 if test "${ac_cv_path_GREP+set}" = set; then
14770 echo $ECHO_N "(cached) $ECHO_C" >&6
14772 # Extract the first word of "grep ggrep" to use in msg output
14773 if test -z "$GREP"; then
14774 set dummy
grep ggrep
; ac_prog_name
=$2
14775 if test "${ac_cv_path_GREP+set}" = set; then
14776 echo $ECHO_N "(cached) $ECHO_C" >&6
14778 ac_path_GREP_found
=false
14779 # Loop through the user's path and test for each of PROGNAME-LIST
14780 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14781 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
14784 test -z "$as_dir" && as_dir
=.
14785 for ac_prog
in grep ggrep
; do
14786 for ac_exec_ext
in '' $ac_executable_extensions; do
14787 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
14788 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
14789 # Check for GNU ac_path_GREP and select it if it is found.
14790 # Check for GNU $ac_path_GREP
14791 case `"$ac_path_GREP" --version 2>&1` in
14793 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
14796 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
14799 cat "conftest.in" "conftest.in" >"conftest.tmp"
14800 mv "conftest.tmp" "conftest.in"
14801 cp "conftest.in" "conftest.nl"
14802 echo 'GREP' >> "conftest.nl"
14803 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
14804 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
14805 ac_count
=`expr $ac_count + 1`
14806 if test $ac_count -gt ${ac_path_GREP_max-0}; then
14807 # Best one so far, save it but keep looking for a better one
14808 ac_cv_path_GREP
="$ac_path_GREP"
14809 ac_path_GREP_max
=$ac_count
14811 # 10*(2^10) chars as input seems more than enough
14812 test $ac_count -gt 10 && break
14814 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
14818 $ac_path_GREP_found && break 3
14828 GREP
="$ac_cv_path_GREP"
14829 if test -z "$GREP"; then
14830 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
14831 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
14832 { (exit 1); exit 1; }; }
14836 ac_cv_path_GREP
=$GREP
14841 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
14842 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
14843 GREP
="$ac_cv_path_GREP"
14846 { echo "$as_me:$LINENO: checking for egrep" >&5
14847 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
14848 if test "${ac_cv_path_EGREP+set}" = set; then
14849 echo $ECHO_N "(cached) $ECHO_C" >&6
14851 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
14852 then ac_cv_path_EGREP
="$GREP -E"
14854 # Extract the first word of "egrep" to use in msg output
14855 if test -z "$EGREP"; then
14856 set dummy
egrep; ac_prog_name
=$2
14857 if test "${ac_cv_path_EGREP+set}" = set; then
14858 echo $ECHO_N "(cached) $ECHO_C" >&6
14860 ac_path_EGREP_found
=false
14861 # Loop through the user's path and test for each of PROGNAME-LIST
14862 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14863 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
14866 test -z "$as_dir" && as_dir
=.
14867 for ac_prog
in egrep; do
14868 for ac_exec_ext
in '' $ac_executable_extensions; do
14869 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
14870 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
14871 # Check for GNU ac_path_EGREP and select it if it is found.
14872 # Check for GNU $ac_path_EGREP
14873 case `"$ac_path_EGREP" --version 2>&1` in
14875 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
14878 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
14881 cat "conftest.in" "conftest.in" >"conftest.tmp"
14882 mv "conftest.tmp" "conftest.in"
14883 cp "conftest.in" "conftest.nl"
14884 echo 'EGREP' >> "conftest.nl"
14885 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
14886 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
14887 ac_count
=`expr $ac_count + 1`
14888 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
14889 # Best one so far, save it but keep looking for a better one
14890 ac_cv_path_EGREP
="$ac_path_EGREP"
14891 ac_path_EGREP_max
=$ac_count
14893 # 10*(2^10) chars as input seems more than enough
14894 test $ac_count -gt 10 && break
14896 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
14900 $ac_path_EGREP_found && break 3
14910 EGREP
="$ac_cv_path_EGREP"
14911 if test -z "$EGREP"; then
14912 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
14913 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
14914 { (exit 1); exit 1; }; }
14918 ac_cv_path_EGREP
=$EGREP
14924 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
14925 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
14926 EGREP
="$ac_cv_path_EGREP"
14929 if test $ac_cv_c_compiler_gnu = yes; then
14930 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
14931 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
14932 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
14933 echo $ECHO_N "(cached) $ECHO_C" >&6
14935 ac_pattern
="Autoconf.*'x'"
14936 cat >conftest.
$ac_ext <<_ACEOF
14939 cat confdefs.h
>>conftest.
$ac_ext
14940 cat >>conftest.
$ac_ext <<_ACEOF
14941 /* end confdefs.h. */
14945 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14946 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
14947 ac_cv_prog_gcc_traditional
=yes
14949 ac_cv_prog_gcc_traditional
=no
14954 if test $ac_cv_prog_gcc_traditional = no
; then
14955 cat >conftest.
$ac_ext <<_ACEOF
14958 cat confdefs.h
>>conftest.
$ac_ext
14959 cat >>conftest.
$ac_ext <<_ACEOF
14960 /* end confdefs.h. */
14961 #include <termio.h>
14964 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14965 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
14966 ac_cv_prog_gcc_traditional
=yes
14972 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
14973 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
14974 if test $ac_cv_prog_gcc_traditional = yes; then
14975 CC
="$CC -traditional"
14980 CXXFLAGS
=${CXXFLAGS:=}
14985 ac_cpp
='$CXXCPP $CPPFLAGS'
14986 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14987 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14988 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14989 if test -z "$CXX"; then
14990 if test -n "$CCC"; then
14993 if test -n "$ac_tool_prefix"; then
14994 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
14996 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14997 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
14998 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14999 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15000 if test "${ac_cv_prog_CXX+set}" = set; then
15001 echo $ECHO_N "(cached) $ECHO_C" >&6
15003 if test -n "$CXX"; then
15004 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
15006 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15007 for as_dir
in $PATH
15010 test -z "$as_dir" && as_dir
=.
15011 for ac_exec_ext
in '' $ac_executable_extensions; do
15012 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15013 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
15014 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15023 CXX
=$ac_cv_prog_CXX
15024 if test -n "$CXX"; then
15025 { echo "$as_me:$LINENO: result: $CXX" >&5
15026 echo "${ECHO_T}$CXX" >&6; }
15028 { echo "$as_me:$LINENO: result: no" >&5
15029 echo "${ECHO_T}no" >&6; }
15033 test -n "$CXX" && break
15036 if test -z "$CXX"; then
15038 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
15040 # Extract the first word of "$ac_prog", so it can be a program name with args.
15041 set dummy
$ac_prog; ac_word
=$2
15042 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15043 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15044 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
15045 echo $ECHO_N "(cached) $ECHO_C" >&6
15047 if test -n "$ac_ct_CXX"; then
15048 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
15050 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15051 for as_dir
in $PATH
15054 test -z "$as_dir" && as_dir
=.
15055 for ac_exec_ext
in '' $ac_executable_extensions; do
15056 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15057 ac_cv_prog_ac_ct_CXX
="$ac_prog"
15058 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15067 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
15068 if test -n "$ac_ct_CXX"; then
15069 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
15070 echo "${ECHO_T}$ac_ct_CXX" >&6; }
15072 { echo "$as_me:$LINENO: result: no" >&5
15073 echo "${ECHO_T}no" >&6; }
15077 test -n "$ac_ct_CXX" && break
15080 if test "x$ac_ct_CXX" = x
; then
15083 case $cross_compiling:$ac_tool_warned in
15085 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15086 whose name does not start with the host triplet. If you think this
15087 configuration is useful to you, please write to autoconf@gnu.org." >&5
15088 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15089 whose name does not start with the host triplet. If you think this
15090 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15091 ac_tool_warned
=yes ;;
15099 # Provide some information about the compiler.
15100 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
15101 ac_compiler
=`set X $ac_compile; echo $2`
15102 { (ac_try
="$ac_compiler --version >&5"
15103 case "(($ac_try" in
15104 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15105 *) ac_try_echo=$ac_try;;
15107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15108 (eval "$ac_compiler --version >&5") 2>&5
15110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15111 (exit $ac_status); }
15112 { (ac_try="$ac_compiler -v >&5"
15113 case "(($ac_try" in
15114 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15115 *) ac_try_echo
=$ac_try;;
15117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15118 (eval "$ac_compiler -v >&5") 2>&5
15120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15121 (exit $ac_status); }
15122 { (ac_try
="$ac_compiler -V >&5"
15123 case "(($ac_try" in
15124 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15125 *) ac_try_echo=$ac_try;;
15127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15128 (eval "$ac_compiler -V >&5") 2>&5
15130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15131 (exit $ac_status); }
15133 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
15134 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
15135 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
15136 echo $ECHO_N "(cached) $ECHO_C" >&6
15138 cat >conftest.$ac_ext <<_ACEOF
15141 cat confdefs.h >>conftest.$ac_ext
15142 cat >>conftest.$ac_ext <<_ACEOF
15143 /* end confdefs.h. */
15156 rm -f conftest.$ac_objext
15157 if { (ac_try="$ac_compile"
15158 case "(($ac_try" in
15159 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15160 *) ac_try_echo
=$ac_try;;
15162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15163 (eval "$ac_compile") 2>conftest.er1
15165 grep -v '^ *+' conftest.er1
>conftest.err
15167 cat conftest.err
>&5
15168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15169 (exit $ac_status); } && {
15170 test -z "$ac_cxx_werror_flag" ||
15171 test ! -s conftest.err
15172 } && test -s conftest.
$ac_objext; then
15173 ac_compiler_gnu
=yes
15175 echo "$as_me: failed program was:" >&5
15176 sed 's/^/| /' conftest.
$ac_ext >&5
15181 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15182 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
15185 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
15186 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
15187 GXX
=`test $ac_compiler_gnu = yes && echo yes`
15188 ac_test_CXXFLAGS
=${CXXFLAGS+set}
15189 ac_save_CXXFLAGS
=$CXXFLAGS
15190 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
15191 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
15192 if test "${ac_cv_prog_cxx_g+set}" = set; then
15193 echo $ECHO_N "(cached) $ECHO_C" >&6
15195 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
15196 ac_cxx_werror_flag
=yes
15197 ac_cv_prog_cxx_g
=no
15199 cat >conftest.
$ac_ext <<_ACEOF
15202 cat confdefs.h
>>conftest.
$ac_ext
15203 cat >>conftest.
$ac_ext <<_ACEOF
15204 /* end confdefs.h. */
15214 rm -f conftest.
$ac_objext
15215 if { (ac_try
="$ac_compile"
15216 case "(($ac_try" in
15217 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15218 *) ac_try_echo=$ac_try;;
15220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15221 (eval "$ac_compile") 2>conftest.er1
15223 grep -v '^ *+' conftest.er1 >conftest.err
15225 cat conftest.err >&5
15226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15227 (exit $ac_status); } && {
15228 test -z "$ac_cxx_werror_flag" ||
15229 test ! -s conftest.err
15230 } && test -s conftest.$ac_objext; then
15231 ac_cv_prog_cxx_g=yes
15233 echo "$as_me: failed program was:" >&5
15234 sed 's/^/| /' conftest.$ac_ext >&5
15237 cat >conftest.$ac_ext <<_ACEOF
15240 cat confdefs.h >>conftest.$ac_ext
15241 cat >>conftest.$ac_ext <<_ACEOF
15242 /* end confdefs.h. */
15252 rm -f conftest.$ac_objext
15253 if { (ac_try="$ac_compile"
15254 case "(($ac_try" in
15255 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15256 *) ac_try_echo
=$ac_try;;
15258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15259 (eval "$ac_compile") 2>conftest.er1
15261 grep -v '^ *+' conftest.er1
>conftest.err
15263 cat conftest.err
>&5
15264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15265 (exit $ac_status); } && {
15266 test -z "$ac_cxx_werror_flag" ||
15267 test ! -s conftest.err
15268 } && test -s conftest.
$ac_objext; then
15271 echo "$as_me: failed program was:" >&5
15272 sed 's/^/| /' conftest.
$ac_ext >&5
15274 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
15276 cat >conftest.
$ac_ext <<_ACEOF
15279 cat confdefs.h
>>conftest.
$ac_ext
15280 cat >>conftest.
$ac_ext <<_ACEOF
15281 /* end confdefs.h. */
15291 rm -f conftest.
$ac_objext
15292 if { (ac_try
="$ac_compile"
15293 case "(($ac_try" in
15294 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15295 *) ac_try_echo=$ac_try;;
15297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15298 (eval "$ac_compile") 2>conftest.er1
15300 grep -v '^ *+' conftest.er1 >conftest.err
15302 cat conftest.err >&5
15303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15304 (exit $ac_status); } && {
15305 test -z "$ac_cxx_werror_flag" ||
15306 test ! -s conftest.err
15307 } && test -s conftest.$ac_objext; then
15308 ac_cv_prog_cxx_g=yes
15310 echo "$as_me: failed program was:" >&5
15311 sed 's/^/| /' conftest.$ac_ext >&5
15316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15323 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15325 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
15326 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
15327 if test "$ac_test_CXXFLAGS" = set; then
15328 CXXFLAGS=$ac_save_CXXFLAGS
15329 elif test $ac_cv_prog_cxx_g = yes; then
15330 if test "$GXX" = yes; then
15336 if test "$GXX" = yes; then
15343 ac_cpp='$CPP $CPPFLAGS'
15344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15351 ac_cpp='$CXXCPP $CPPFLAGS'
15352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15356 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
15357 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
15358 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
15359 echo $ECHO_N "(cached) $ECHO_C" >&6
15361 cat >conftest.$ac_ext <<_ACEOF
15364 cat confdefs.h >>conftest.$ac_ext
15365 cat >>conftest.$ac_ext <<_ACEOF
15366 /* end confdefs.h. */
15372 #ifndef __INTEL_COMPILER
15380 rm -f conftest.$ac_objext
15381 if { (ac_try="$ac_compile"
15382 case "(($ac_try" in
15383 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15384 *) ac_try_echo
=$ac_try;;
15386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15387 (eval "$ac_compile") 2>conftest.er1
15389 grep -v '^ *+' conftest.er1
>conftest.err
15391 cat conftest.err
>&5
15392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15393 (exit $ac_status); } && {
15394 test -z "$ac_cxx_werror_flag" ||
15395 test ! -s conftest.err
15396 } && test -s conftest.
$ac_objext; then
15397 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
15399 echo "$as_me: failed program was:" >&5
15400 sed 's/^/| /' conftest.
$ac_ext >&5
15402 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
15406 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15410 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
15411 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
15413 ac_cpp
='$CPP $CPPFLAGS'
15414 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15415 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15416 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15418 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15425 if test "x$GCXX" != "xyes"; then
15426 if test "xCXX" = "xC"; then
15427 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15428 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15429 if test "${bakefile_cv_c_exto+set}" = set; then
15430 echo $ECHO_N "(cached) $ECHO_C" >&6
15432 cat >conftest.
$ac_ext <<_ACEOF
15435 cat confdefs.h
>>conftest.
$ac_ext
15436 cat >>conftest.
$ac_ext <<_ACEOF
15437 /* end confdefs.h. */
15447 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
15448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15449 (eval $ac_compile) 2>&5
15451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15452 (exit $ac_status); }; then
15453 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
15455 conftest.
$ac_ext.o
)
15456 bakefile_cv_c_exto
="-ext o"
15463 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15464 See \`config.log' for more details." >&5
15465 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15466 See \`config.log' for more details." >&2;}
15467 { (exit 1); exit 1; }; }
15471 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
15474 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15475 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15476 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15477 if test "c" = "c"; then
15478 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
15480 if test "c" = "cxx"; then
15481 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
15485 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15486 unset ac_cv_prog_cc_g
15487 ac_test_CFLAGS
=${CFLAGS+set}
15488 ac_save_CFLAGS
=$CFLAGS
15489 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15490 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15491 if test "${ac_cv_prog_cc_g+set}" = set; then
15492 echo $ECHO_N "(cached) $ECHO_C" >&6
15494 ac_save_c_werror_flag
=$ac_c_werror_flag
15495 ac_c_werror_flag
=yes
15498 cat >conftest.
$ac_ext <<_ACEOF
15501 cat confdefs.h
>>conftest.
$ac_ext
15502 cat >>conftest.
$ac_ext <<_ACEOF
15503 /* end confdefs.h. */
15513 rm -f conftest.
$ac_objext
15514 if { (ac_try
="$ac_compile"
15515 case "(($ac_try" in
15516 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15517 *) ac_try_echo=$ac_try;;
15519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15520 (eval "$ac_compile") 2>conftest.er1
15522 grep -v '^ *+' conftest.er1 >conftest.err
15524 cat conftest.err >&5
15525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15526 (exit $ac_status); } && {
15527 test -z "$ac_c_werror_flag" ||
15528 test ! -s conftest.err
15529 } && test -s conftest.$ac_objext; then
15530 ac_cv_prog_cc_g=yes
15532 echo "$as_me: failed program was:" >&5
15533 sed 's/^/| /' conftest.$ac_ext >&5
15536 cat >conftest.$ac_ext <<_ACEOF
15539 cat confdefs.h >>conftest.$ac_ext
15540 cat >>conftest.$ac_ext <<_ACEOF
15541 /* end confdefs.h. */
15551 rm -f conftest.$ac_objext
15552 if { (ac_try="$ac_compile"
15553 case "(($ac_try" in
15554 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15555 *) ac_try_echo
=$ac_try;;
15557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15558 (eval "$ac_compile") 2>conftest.er1
15560 grep -v '^ *+' conftest.er1
>conftest.err
15562 cat conftest.err
>&5
15563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15564 (exit $ac_status); } && {
15565 test -z "$ac_c_werror_flag" ||
15566 test ! -s conftest.err
15567 } && test -s conftest.
$ac_objext; then
15570 echo "$as_me: failed program was:" >&5
15571 sed 's/^/| /' conftest.
$ac_ext >&5
15573 ac_c_werror_flag
=$ac_save_c_werror_flag
15575 cat >conftest.
$ac_ext <<_ACEOF
15578 cat confdefs.h
>>conftest.
$ac_ext
15579 cat >>conftest.
$ac_ext <<_ACEOF
15580 /* end confdefs.h. */
15590 rm -f conftest.
$ac_objext
15591 if { (ac_try
="$ac_compile"
15592 case "(($ac_try" in
15593 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15594 *) ac_try_echo=$ac_try;;
15596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15597 (eval "$ac_compile") 2>conftest.er1
15599 grep -v '^ *+' conftest.er1 >conftest.err
15601 cat conftest.err >&5
15602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15603 (exit $ac_status); } && {
15604 test -z "$ac_c_werror_flag" ||
15605 test ! -s conftest.err
15606 } && test -s conftest.$ac_objext; then
15607 ac_cv_prog_cc_g=yes
15609 echo "$as_me: failed program was:" >&5
15610 sed 's/^/| /' conftest.$ac_ext >&5
15615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15622 ac_c_werror_flag=$ac_save_c_werror_flag
15624 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15625 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15626 if test "$ac_test_CFLAGS" = set; then
15627 CFLAGS=$ac_save_CFLAGS
15628 elif test $ac_cv_prog_cc_g = yes; then
15629 if test "$GCC" = yes; then
15635 if test "$GCC" = yes; then
15647 ac_cpp='$CXXCPP $CPPFLAGS'
15648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15652 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
15653 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
15654 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
15655 echo $ECHO_N "(cached) $ECHO_C" >&6
15657 cat >conftest.$ac_ext <<_ACEOF
15660 cat confdefs.h >>conftest.$ac_ext
15661 cat >>conftest.$ac_ext <<_ACEOF
15662 /* end confdefs.h. */
15675 rm -f conftest.$ac_objext
15676 if { (ac_try="$ac_compile"
15677 case "(($ac_try" in
15678 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15679 *) ac_try_echo
=$ac_try;;
15681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15682 (eval "$ac_compile") 2>conftest.er1
15684 grep -v '^ *+' conftest.er1
>conftest.err
15686 cat conftest.err
>&5
15687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15688 (exit $ac_status); } && {
15689 test -z "$ac_cxx_werror_flag" ||
15690 test ! -s conftest.err
15691 } && test -s conftest.
$ac_objext; then
15692 bakefile_compiler_xlc
=yes
15694 echo "$as_me: failed program was:" >&5
15695 sed 's/^/| /' conftest.
$ac_ext >&5
15697 bakefile_compiler_xlc
=no
15700 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15701 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
15704 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
15705 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6; }
15707 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
15709 ac_cpp
='$CPP $CPPFLAGS'
15710 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15711 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15712 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15719 ac_cpp
='$CXXCPP $CPPFLAGS'
15720 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15721 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15722 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15724 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
15725 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
15726 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
15727 echo $ECHO_N "(cached) $ECHO_C" >&6
15729 cat >conftest.
$ac_ext <<_ACEOF
15732 cat confdefs.h
>>conftest.
$ac_ext
15733 cat >>conftest.
$ac_ext <<_ACEOF
15734 /* end confdefs.h. */
15747 rm -f conftest.
$ac_objext
15748 if { (ac_try
="$ac_compile"
15749 case "(($ac_try" in
15750 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15751 *) ac_try_echo=$ac_try;;
15753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15754 (eval "$ac_compile") 2>conftest.er1
15756 grep -v '^ *+' conftest.er1 >conftest.err
15758 cat conftest.err >&5
15759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15760 (exit $ac_status); } && {
15761 test -z "$ac_cxx_werror_flag" ||
15762 test ! -s conftest.err
15763 } && test -s conftest.$ac_objext; then
15764 bakefile_compiler_mwerks=yes
15766 echo "$as_me: failed program was:" >&5
15767 sed 's/^/| /' conftest.$ac_ext >&5
15769 bakefile_compiler_mwerks=no
15772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15773 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
15776 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
15777 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6; }
15779 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
15781 ac_cpp='$CPP $CPPFLAGS'
15782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15788 ac_cpp='$CXXCPP $CPPFLAGS'
15789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15793 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
15794 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
15795 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
15796 echo $ECHO_N "(cached) $ECHO_C" >&6
15798 cat >conftest.$ac_ext <<_ACEOF
15801 cat confdefs.h >>conftest.$ac_ext
15802 cat >>conftest.$ac_ext <<_ACEOF
15803 /* end confdefs.h. */
15816 rm -f conftest.$ac_objext
15817 if { (ac_try="$ac_compile"
15818 case "(($ac_try" in
15819 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15820 *) ac_try_echo
=$ac_try;;
15822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15823 (eval "$ac_compile") 2>conftest.er1
15825 grep -v '^ *+' conftest.er1
>conftest.err
15827 cat conftest.err
>&5
15828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15829 (exit $ac_status); } && {
15830 test -z "$ac_cxx_werror_flag" ||
15831 test ! -s conftest.err
15832 } && test -s conftest.
$ac_objext; then
15833 bakefile_compiler_xlc
=yes
15835 echo "$as_me: failed program was:" >&5
15836 sed 's/^/| /' conftest.
$ac_ext >&5
15838 bakefile_compiler_xlc
=no
15841 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15842 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
15845 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
15846 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6; }
15848 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
15850 ac_cpp
='$CPP $CPPFLAGS'
15851 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15852 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15853 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15862 ac_cpp
='$CXXCPP $CPPFLAGS'
15863 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15864 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15865 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15867 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
15868 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
15869 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
15870 echo $ECHO_N "(cached) $ECHO_C" >&6
15872 cat >conftest.
$ac_ext <<_ACEOF
15875 cat confdefs.h
>>conftest.
$ac_ext
15876 cat >>conftest.
$ac_ext <<_ACEOF
15877 /* end confdefs.h. */
15883 #ifndef _SGI_COMPILER_VERSION
15891 rm -f conftest.
$ac_objext
15892 if { (ac_try
="$ac_compile"
15893 case "(($ac_try" in
15894 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15895 *) ac_try_echo=$ac_try;;
15897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15898 (eval "$ac_compile") 2>conftest.er1
15900 grep -v '^ *+' conftest.er1 >conftest.err
15902 cat conftest.err >&5
15903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15904 (exit $ac_status); } && {
15905 test -z "$ac_cxx_werror_flag" ||
15906 test ! -s conftest.err
15907 } && test -s conftest.$ac_objext; then
15908 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
15910 echo "$as_me: failed program was:" >&5
15911 sed 's/^/| /' conftest.$ac_ext >&5
15913 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
15917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15921 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
15922 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
15924 ac_cpp='$CPP $CPPFLAGS'
15925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15929 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15942 ac_cpp='$CXXCPP $CPPFLAGS'
15943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15947 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
15948 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
15949 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
15950 echo $ECHO_N "(cached) $ECHO_C" >&6
15952 cat >conftest.$ac_ext <<_ACEOF
15955 cat confdefs.h >>conftest.$ac_ext
15956 cat >>conftest.$ac_ext <<_ACEOF
15957 /* end confdefs.h. */
15971 rm -f conftest.$ac_objext
15972 if { (ac_try="$ac_compile"
15973 case "(($ac_try" in
15974 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15975 *) ac_try_echo
=$ac_try;;
15977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15978 (eval "$ac_compile") 2>conftest.er1
15980 grep -v '^ *+' conftest.er1
>conftest.err
15982 cat conftest.err
>&5
15983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15984 (exit $ac_status); } && {
15985 test -z "$ac_cxx_werror_flag" ||
15986 test ! -s conftest.err
15987 } && test -s conftest.
$ac_objext; then
15988 bakefile_cv_cxx_compiler___HP_aCC
=yes
15990 echo "$as_me: failed program was:" >&5
15991 sed 's/^/| /' conftest.
$ac_ext >&5
15993 bakefile_cv_cxx_compiler___HP_aCC
=no
15997 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16001 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
16002 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
16004 ac_cpp
='$CPP $CPPFLAGS'
16005 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16006 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16007 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16009 if test "x$bakefile_cv_c_compiler___HP_aCC" = "xyes"; then
16022 ac_cpp
='$CXXCPP $CPPFLAGS'
16023 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16024 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16025 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16027 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
16028 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
16029 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
16030 echo $ECHO_N "(cached) $ECHO_C" >&6
16032 cat >conftest.
$ac_ext <<_ACEOF
16035 cat confdefs.h
>>conftest.
$ac_ext
16036 cat >>conftest.
$ac_ext <<_ACEOF
16037 /* end confdefs.h. */
16051 rm -f conftest.
$ac_objext
16052 if { (ac_try
="$ac_compile"
16053 case "(($ac_try" in
16054 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16055 *) ac_try_echo=$ac_try;;
16057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16058 (eval "$ac_compile") 2>conftest.er1
16060 grep -v '^ *+' conftest.er1 >conftest.err
16062 cat conftest.err >&5
16063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16064 (exit $ac_status); } && {
16065 test -z "$ac_cxx_werror_flag" ||
16066 test ! -s conftest.err
16067 } && test -s conftest.$ac_objext; then
16068 bakefile_cv_cxx_compiler___DECCXX=yes
16070 echo "$as_me: failed program was:" >&5
16071 sed 's/^/| /' conftest.$ac_ext >&5
16073 bakefile_cv_cxx_compiler___DECCXX=no
16077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16081 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
16082 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
16084 ac_cpp='$CPP $CPPFLAGS'
16085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16089 if test "x$bakefile_cv_c_compiler___DECCXX" = "xyes"; then
16102 ac_cpp='$CXXCPP $CPPFLAGS'
16103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16107 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
16108 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
16109 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
16110 echo $ECHO_N "(cached) $ECHO_C" >&6
16112 cat >conftest.$ac_ext <<_ACEOF
16115 cat confdefs.h >>conftest.$ac_ext
16116 cat >>conftest.$ac_ext <<_ACEOF
16117 /* end confdefs.h. */
16123 #ifndef __SUNPRO_CC
16131 rm -f conftest.$ac_objext
16132 if { (ac_try="$ac_compile"
16133 case "(($ac_try" in
16134 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16135 *) ac_try_echo
=$ac_try;;
16137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16138 (eval "$ac_compile") 2>conftest.er1
16140 grep -v '^ *+' conftest.er1
>conftest.err
16142 cat conftest.err
>&5
16143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16144 (exit $ac_status); } && {
16145 test -z "$ac_cxx_werror_flag" ||
16146 test ! -s conftest.err
16147 } && test -s conftest.
$ac_objext; then
16148 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
16150 echo "$as_me: failed program was:" >&5
16151 sed 's/^/| /' conftest.
$ac_ext >&5
16153 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
16157 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16161 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
16162 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
16164 ac_cpp
='$CPP $CPPFLAGS'
16165 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16166 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16167 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16169 if test "x$bakefile_cv_c_compiler___SUNPRO_CC" = "xyes"; then
16182 if test -n "$ac_tool_prefix"; then
16183 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
16184 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
16185 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16186 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16187 if test "${ac_cv_prog_RANLIB+set}" = set; then
16188 echo $ECHO_N "(cached) $ECHO_C" >&6
16190 if test -n "$RANLIB"; then
16191 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
16193 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16194 for as_dir
in $PATH
16197 test -z "$as_dir" && as_dir
=.
16198 for ac_exec_ext
in '' $ac_executable_extensions; do
16199 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16200 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
16201 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16210 RANLIB
=$ac_cv_prog_RANLIB
16211 if test -n "$RANLIB"; then
16212 { echo "$as_me:$LINENO: result: $RANLIB" >&5
16213 echo "${ECHO_T}$RANLIB" >&6; }
16215 { echo "$as_me:$LINENO: result: no" >&5
16216 echo "${ECHO_T}no" >&6; }
16221 if test -z "$ac_cv_prog_RANLIB"; then
16222 ac_ct_RANLIB
=$RANLIB
16223 # Extract the first word of "ranlib", so it can be a program name with args.
16224 set dummy ranlib
; ac_word
=$2
16225 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16226 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16227 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
16228 echo $ECHO_N "(cached) $ECHO_C" >&6
16230 if test -n "$ac_ct_RANLIB"; then
16231 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
16233 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16234 for as_dir
in $PATH
16237 test -z "$as_dir" && as_dir
=.
16238 for ac_exec_ext
in '' $ac_executable_extensions; do
16239 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16240 ac_cv_prog_ac_ct_RANLIB
="ranlib"
16241 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16250 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
16251 if test -n "$ac_ct_RANLIB"; then
16252 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
16253 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
16255 { echo "$as_me:$LINENO: result: no" >&5
16256 echo "${ECHO_T}no" >&6; }
16259 if test "x$ac_ct_RANLIB" = x
; then
16262 case $cross_compiling:$ac_tool_warned in
16264 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16265 whose name does not start with the host triplet. If you think this
16266 configuration is useful to you, please write to autoconf@gnu.org." >&5
16267 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16268 whose name does not start with the host triplet. If you think this
16269 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16270 ac_tool_warned
=yes ;;
16272 RANLIB
=$ac_ct_RANLIB
16275 RANLIB
="$ac_cv_prog_RANLIB"
16279 if test "x$SUNCXX" != xyes
; then
16280 if test -n "$ac_tool_prefix"; then
16281 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
16282 set dummy
${ac_tool_prefix}ar; ac_word
=$2
16283 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16284 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16285 if test "${ac_cv_prog_AR+set}" = set; then
16286 echo $ECHO_N "(cached) $ECHO_C" >&6
16288 if test -n "$AR"; then
16289 ac_cv_prog_AR
="$AR" # Let the user override the test.
16291 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16292 for as_dir
in $PATH
16295 test -z "$as_dir" && as_dir
=.
16296 for ac_exec_ext
in '' $ac_executable_extensions; do
16297 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16298 ac_cv_prog_AR
="${ac_tool_prefix}ar"
16299 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16309 if test -n "$AR"; then
16310 { echo "$as_me:$LINENO: result: $AR" >&5
16311 echo "${ECHO_T}$AR" >&6; }
16313 { echo "$as_me:$LINENO: result: no" >&5
16314 echo "${ECHO_T}no" >&6; }
16319 if test -z "$ac_cv_prog_AR"; then
16321 # Extract the first word of "ar", so it can be a program name with args.
16322 set dummy
ar; ac_word
=$2
16323 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16324 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16325 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
16326 echo $ECHO_N "(cached) $ECHO_C" >&6
16328 if test -n "$ac_ct_AR"; then
16329 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
16331 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16332 for as_dir
in $PATH
16335 test -z "$as_dir" && as_dir
=.
16336 for ac_exec_ext
in '' $ac_executable_extensions; do
16337 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16338 ac_cv_prog_ac_ct_AR
="ar"
16339 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16348 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
16349 if test -n "$ac_ct_AR"; then
16350 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
16351 echo "${ECHO_T}$ac_ct_AR" >&6; }
16353 { echo "$as_me:$LINENO: result: no" >&5
16354 echo "${ECHO_T}no" >&6; }
16357 if test "x$ac_ct_AR" = x
; then
16360 case $cross_compiling:$ac_tool_warned in
16362 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16363 whose name does not start with the host triplet. If you think this
16364 configuration is useful to you, please write to autoconf@gnu.org." >&5
16365 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16366 whose name does not start with the host triplet. If you think this
16367 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16368 ac_tool_warned
=yes ;;
16373 AR
="$ac_cv_prog_AR"
16376 if test "x$AR" = "x" ; then
16377 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
16378 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
16379 { (exit 1); exit 1; }; }
16383 # Find a good install program. We prefer a C program (faster),
16384 # so one script is as good as another. But avoid the broken or
16385 # incompatible versions:
16386 # SysV /etc/install, /usr/sbin/install
16387 # SunOS /usr/etc/install
16388 # IRIX /sbin/install
16390 # AmigaOS /C/install, which installs bootblocks on floppy discs
16391 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
16392 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
16393 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
16394 # OS/2's system install, which has a completely different semantic
16395 # ./install, which can be erroneously created by make from ./install.sh.
16396 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
16397 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
16398 if test -z "$INSTALL"; then
16399 if test "${ac_cv_path_install+set}" = set; then
16400 echo $ECHO_N "(cached) $ECHO_C" >&6
16402 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16403 for as_dir
in $PATH
16406 test -z "$as_dir" && as_dir
=.
16407 # Account for people who put trailing slashes in PATH elements.
16409 .
/ | .
// | /cC
/* | \
16410 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
16411 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
16414 # OSF1 and SCO ODT 3.0 have their own names for install.
16415 # Don't use installbsd from OSF since it installs stuff as root
16417 for ac_prog
in ginstall scoinst
install; do
16418 for ac_exec_ext
in '' $ac_executable_extensions; do
16419 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
16420 if test $ac_prog = install &&
16421 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
16422 # AIX install. It has an incompatible calling convention.
16424 elif test $ac_prog = install &&
16425 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
16426 # program-specific install script used by HP pwplus--don't use.
16429 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
16442 if test "${ac_cv_path_install+set}" = set; then
16443 INSTALL
=$ac_cv_path_install
16445 # As a last resort, use the slow shell script. Don't cache a
16446 # value for INSTALL within a source directory, because that will
16447 # break other packages using the cache if that directory is
16448 # removed, or if the value is a relative name.
16449 INSTALL
=$ac_install_sh
16452 { echo "$as_me:$LINENO: result: $INSTALL" >&5
16453 echo "${ECHO_T}$INSTALL" >&6; }
16455 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
16456 # It thinks the first close brace ends the variable substitution.
16457 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
16459 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
16461 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
16467 ?
:* ) # Drive letter, considered as absolute.
16470 INSTALL
=`pwd`/${INSTALL} ;;
16477 INSTALL_PROGRAM
="cp -fp"
16478 INSTALL_DATA
="cp -fp"
16484 if test -n "$ac_tool_prefix"; then
16485 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
16486 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
16487 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16488 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16489 if test "${ac_cv_prog_STRIP+set}" = set; then
16490 echo $ECHO_N "(cached) $ECHO_C" >&6
16492 if test -n "$STRIP"; then
16493 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
16495 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16496 for as_dir
in $PATH
16499 test -z "$as_dir" && as_dir
=.
16500 for ac_exec_ext
in '' $ac_executable_extensions; do
16501 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16502 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
16503 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16512 STRIP
=$ac_cv_prog_STRIP
16513 if test -n "$STRIP"; then
16514 { echo "$as_me:$LINENO: result: $STRIP" >&5
16515 echo "${ECHO_T}$STRIP" >&6; }
16517 { echo "$as_me:$LINENO: result: no" >&5
16518 echo "${ECHO_T}no" >&6; }
16523 if test -z "$ac_cv_prog_STRIP"; then
16525 # Extract the first word of "strip", so it can be a program name with args.
16526 set dummy strip
; ac_word
=$2
16527 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16528 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16529 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
16530 echo $ECHO_N "(cached) $ECHO_C" >&6
16532 if test -n "$ac_ct_STRIP"; then
16533 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
16535 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16536 for as_dir
in $PATH
16539 test -z "$as_dir" && as_dir
=.
16540 for ac_exec_ext
in '' $ac_executable_extensions; do
16541 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16542 ac_cv_prog_ac_ct_STRIP
="strip"
16543 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16552 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
16553 if test -n "$ac_ct_STRIP"; then
16554 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
16555 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
16557 { echo "$as_me:$LINENO: result: no" >&5
16558 echo "${ECHO_T}no" >&6; }
16561 if test "x$ac_ct_STRIP" = x
; then
16564 case $cross_compiling:$ac_tool_warned in
16566 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16567 whose name does not start with the host triplet. If you think this
16568 configuration is useful to you, please write to autoconf@gnu.org." >&5
16569 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16570 whose name does not start with the host triplet. If you think this
16571 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16572 ac_tool_warned
=yes ;;
16577 STRIP
="$ac_cv_prog_STRIP"
16581 if test "$wxUSE_WINE" = "yes"; then
16582 if test -n "$ac_tool_prefix"; then
16583 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
16584 set dummy
${ac_tool_prefix}wrc
; ac_word
=$2
16585 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16586 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16587 if test "${ac_cv_prog_WINDRES+set}" = set; then
16588 echo $ECHO_N "(cached) $ECHO_C" >&6
16590 if test -n "$WINDRES"; then
16591 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
16593 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16594 for as_dir
in $PATH
16597 test -z "$as_dir" && as_dir
=.
16598 for ac_exec_ext
in '' $ac_executable_extensions; do
16599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16600 ac_cv_prog_WINDRES
="${ac_tool_prefix}wrc"
16601 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16610 WINDRES
=$ac_cv_prog_WINDRES
16611 if test -n "$WINDRES"; then
16612 { echo "$as_me:$LINENO: result: $WINDRES" >&5
16613 echo "${ECHO_T}$WINDRES" >&6; }
16615 { echo "$as_me:$LINENO: result: no" >&5
16616 echo "${ECHO_T}no" >&6; }
16621 if test -z "$ac_cv_prog_WINDRES"; then
16622 ac_ct_WINDRES
=$WINDRES
16623 # Extract the first word of "wrc", so it can be a program name with args.
16624 set dummy wrc
; ac_word
=$2
16625 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16626 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16627 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
16628 echo $ECHO_N "(cached) $ECHO_C" >&6
16630 if test -n "$ac_ct_WINDRES"; then
16631 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
16633 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16634 for as_dir
in $PATH
16637 test -z "$as_dir" && as_dir
=.
16638 for ac_exec_ext
in '' $ac_executable_extensions; do
16639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16640 ac_cv_prog_ac_ct_WINDRES
="wrc"
16641 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16650 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
16651 if test -n "$ac_ct_WINDRES"; then
16652 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
16653 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
16655 { echo "$as_me:$LINENO: result: no" >&5
16656 echo "${ECHO_T}no" >&6; }
16659 if test "x$ac_ct_WINDRES" = x
; then
16662 case $cross_compiling:$ac_tool_warned in
16664 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16665 whose name does not start with the host triplet. If you think this
16666 configuration is useful to you, please write to autoconf@gnu.org." >&5
16667 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16668 whose name does not start with the host triplet. If you think this
16669 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16670 ac_tool_warned
=yes ;;
16672 WINDRES
=$ac_ct_WINDRES
16675 WINDRES
="$ac_cv_prog_WINDRES"
16681 *-*-cygwin* | *-*-mingw32* )
16682 if test -n "$ac_tool_prefix"; then
16683 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
16684 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
16685 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16686 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16687 if test "${ac_cv_prog_WINDRES+set}" = set; then
16688 echo $ECHO_N "(cached) $ECHO_C" >&6
16690 if test -n "$WINDRES"; then
16691 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
16693 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16694 for as_dir
in $PATH
16697 test -z "$as_dir" && as_dir
=.
16698 for ac_exec_ext
in '' $ac_executable_extensions; do
16699 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16700 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
16701 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16710 WINDRES
=$ac_cv_prog_WINDRES
16711 if test -n "$WINDRES"; then
16712 { echo "$as_me:$LINENO: result: $WINDRES" >&5
16713 echo "${ECHO_T}$WINDRES" >&6; }
16715 { echo "$as_me:$LINENO: result: no" >&5
16716 echo "${ECHO_T}no" >&6; }
16721 if test -z "$ac_cv_prog_WINDRES"; then
16722 ac_ct_WINDRES
=$WINDRES
16723 # Extract the first word of "windres", so it can be a program name with args.
16724 set dummy windres
; ac_word
=$2
16725 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16726 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16727 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
16728 echo $ECHO_N "(cached) $ECHO_C" >&6
16730 if test -n "$ac_ct_WINDRES"; then
16731 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
16733 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16734 for as_dir
in $PATH
16737 test -z "$as_dir" && as_dir
=.
16738 for ac_exec_ext
in '' $ac_executable_extensions; do
16739 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16740 ac_cv_prog_ac_ct_WINDRES
="windres"
16741 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16750 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
16751 if test -n "$ac_ct_WINDRES"; then
16752 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
16753 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
16755 { echo "$as_me:$LINENO: result: no" >&5
16756 echo "${ECHO_T}no" >&6; }
16759 if test "x$ac_ct_WINDRES" = x
; then
16762 case $cross_compiling:$ac_tool_warned in
16764 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16765 whose name does not start with the host triplet. If you think this
16766 configuration is useful to you, please write to autoconf@gnu.org." >&5
16767 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16768 whose name does not start with the host triplet. If you think this
16769 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16770 ac_tool_warned
=yes ;;
16772 WINDRES
=$ac_ct_WINDRES
16775 WINDRES
="$ac_cv_prog_WINDRES"
16779 if test -n "$ac_tool_prefix"; then
16780 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
16781 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
16782 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16783 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16784 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
16785 echo $ECHO_N "(cached) $ECHO_C" >&6
16787 if test -n "$DLLTOOL"; then
16788 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
16790 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16791 for as_dir
in $PATH
16794 test -z "$as_dir" && as_dir
=.
16795 for ac_exec_ext
in '' $ac_executable_extensions; do
16796 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16797 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
16798 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16807 DLLTOOL
=$ac_cv_prog_DLLTOOL
16808 if test -n "$DLLTOOL"; then
16809 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
16810 echo "${ECHO_T}$DLLTOOL" >&6; }
16812 { echo "$as_me:$LINENO: result: no" >&5
16813 echo "${ECHO_T}no" >&6; }
16818 if test -z "$ac_cv_prog_DLLTOOL"; then
16819 ac_ct_DLLTOOL
=$DLLTOOL
16820 # Extract the first word of "dlltool", so it can be a program name with args.
16821 set dummy dlltool
; ac_word
=$2
16822 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16823 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16824 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
16825 echo $ECHO_N "(cached) $ECHO_C" >&6
16827 if test -n "$ac_ct_DLLTOOL"; then
16828 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
16830 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16831 for as_dir
in $PATH
16834 test -z "$as_dir" && as_dir
=.
16835 for ac_exec_ext
in '' $ac_executable_extensions; do
16836 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16837 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
16838 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16847 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
16848 if test -n "$ac_ct_DLLTOOL"; then
16849 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
16850 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
16852 { echo "$as_me:$LINENO: result: no" >&5
16853 echo "${ECHO_T}no" >&6; }
16856 if test "x$ac_ct_DLLTOOL" = x
; then
16859 case $cross_compiling:$ac_tool_warned in
16861 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16862 whose name does not start with the host triplet. If you think this
16863 configuration is useful to you, please write to autoconf@gnu.org." >&5
16864 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16865 whose name does not start with the host triplet. If you think this
16866 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16867 ac_tool_warned
=yes ;;
16869 DLLTOOL
=$ac_ct_DLLTOOL
16872 DLLTOOL
="$ac_cv_prog_DLLTOOL"
16879 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
16880 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
16881 if test "${wx_cv_prog_makeisgnu+set}" = set; then
16882 echo $ECHO_N "(cached) $ECHO_C" >&6
16885 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
16886 $EGREP -s GNU
> /dev
/null
); then
16887 wx_cv_prog_makeisgnu
="yes"
16889 wx_cv_prog_makeisgnu
="no"
16893 { echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
16894 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6; }
16896 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
16904 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
16905 { echo "$as_me:$LINENO: checking if make supports VPATH" >&5
16906 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6; }
16907 if test "${wx_cv_prog_makevpath+set}" = set; then
16908 echo $ECHO_N "(cached) $ECHO_C" >&6
16911 cat - << EOF > confMake
16917 if test ! -d sub
; then
16920 echo dummy
> sub
/file
16921 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
16923 rm -f sub
/file check final_file confMake
16925 if test "$RESULT" = 0; then
16926 wx_cv_prog_makevpath
="yes"
16928 wx_cv_prog_makevpath
="no"
16932 { echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
16933 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6; }
16935 if test "x$wx_cv_prog_makevpath" != "xyes"; then
16936 { { echo "$as_me:$LINENO: error:
16937 You need a make-utility that is able to use the variable
16939 If your version of make does not support VPATH correctly,
16940 please install GNU-make (possibly as gmake), and start
16941 configure with the following command:
16942 export MAKE=gmake; ./configure for sh-type shells
16943 setenv MAKE gmake; ./configure for csh-type shells
16944 Also please do remember to use gmake in this case every time
16945 you are trying to compile.
16947 echo "$as_me: error:
16948 You need a make-utility that is able to use the variable
16950 If your version of make does not support VPATH correctly,
16951 please install GNU-make (possibly as gmake), and start
16952 configure with the following command:
16953 export MAKE=gmake; ./configure for sh-type shells
16954 setenv MAKE gmake; ./configure for csh-type shells
16955 Also please do remember to use gmake in this case every time
16956 you are trying to compile.
16958 { (exit 1); exit 1; }; }
16960 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
16961 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
16963 if test "$LN_S" = "ln -s"; then
16964 { echo "$as_me:$LINENO: result: yes" >&5
16965 echo "${ECHO_T}yes" >&6; }
16967 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
16968 echo "${ECHO_T}no, using $LN_S" >&6; }
16974 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
16975 CXXFLAGS
="-qunique $CXXFLAGS"
16979 powerpc
-*-darwin* )
16980 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
16981 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
16982 cat >conftest.
$ac_ext <<_ACEOF
16985 cat confdefs.h
>>conftest.
$ac_ext
16986 cat >>conftest.
$ac_ext <<_ACEOF
16987 /* end confdefs.h. */
16992 #ifndef __POWERPC__
16993 choke me for lack of PowerPC
17000 rm -f conftest.
$ac_objext
17001 if { (ac_try
="$ac_compile"
17002 case "(($ac_try" in
17003 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17004 *) ac_try_echo=$ac_try;;
17006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17007 (eval "$ac_compile") 2>conftest.er1
17009 grep -v '^ *+' conftest.er1 >conftest.err
17011 cat conftest.err >&5
17012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17013 (exit $ac_status); } && {
17014 test -z "$ac_c_werror_flag" ||
17015 test ! -s conftest.err
17016 } && test -s conftest.$ac_objext; then
17017 { echo "$as_me:$LINENO: result: yes" >&5
17018 echo "${ECHO_T}yes" >&6; }
17020 echo "$as_me: failed program was:" >&5
17021 sed 's/^/| /' conftest.$ac_ext >&5
17023 { echo "$as_me:$LINENO: result: no" >&5
17024 echo "${ECHO_T}no" >&6; }
17025 cat >>confdefs.h <<\_ACEOF
17026 #define __POWERPC__ 1
17032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17038 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
17039 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
17040 cat >conftest.$ac_ext <<_ACEOF
17043 cat confdefs.h >>conftest.$ac_ext
17044 cat >>conftest.$ac_ext <<_ACEOF
17045 /* end confdefs.h. */
17046 #include <CoreFoundation/CFBase.h>
17056 rm -f conftest.$ac_objext
17057 if { (ac_try="$ac_compile"
17058 case "(($ac_try" in
17059 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17060 *) ac_try_echo
=$ac_try;;
17062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17063 (eval "$ac_compile") 2>conftest.er1
17065 grep -v '^ *+' conftest.er1
>conftest.err
17067 cat conftest.err
>&5
17068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17069 (exit $ac_status); } && {
17070 test -z "$ac_c_werror_flag" ||
17071 test ! -s conftest.err
17072 } && test -s conftest.
$ac_objext; then
17073 { echo "$as_me:$LINENO: result: yes" >&5
17074 echo "${ECHO_T}yes" >&6; }
17076 echo "$as_me: failed program was:" >&5
17077 sed 's/^/| /' conftest.
$ac_ext >&5
17079 { echo "$as_me:$LINENO: result: no" >&5
17080 echo "${ECHO_T}no" >&6; }
17081 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
17082 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
17083 cat >conftest.
$ac_ext <<_ACEOF
17086 cat confdefs.h
>>conftest.
$ac_ext
17087 cat >>conftest.
$ac_ext <<_ACEOF
17088 /* end confdefs.h. */
17089 #define __CF_USE_FRAMEWORK_INCLUDES__
17090 #include <CoreFoundation/CFBase.h>
17100 rm -f conftest.
$ac_objext
17101 if { (ac_try
="$ac_compile"
17102 case "(($ac_try" in
17103 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17104 *) ac_try_echo=$ac_try;;
17106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17107 (eval "$ac_compile") 2>conftest.er1
17109 grep -v '^ *+' conftest.er1 >conftest.err
17111 cat conftest.err >&5
17112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17113 (exit $ac_status); } && {
17114 test -z "$ac_c_werror_flag" ||
17115 test ! -s conftest.err
17116 } && test -s conftest.$ac_objext; then
17117 { echo "$as_me:$LINENO: result: yes" >&5
17118 echo "${ECHO_T}yes" >&6; }
17119 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
17121 echo "$as_me: failed program was:" >&5
17122 sed 's/^/| /' conftest.$ac_ext >&5
17124 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
17125 See \`config.log
' for more details." >&5
17126 echo "$as_me: error: no. CoreFoundation not available.
17127 See \`config.log' for more details.
" >&2;}
17128 { (exit 1); exit 1; }; }
17132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17142 doesnt_want_win32=0
17145 if test "$wxUSE_MSW" = 1 ; then
17148 { echo "$as_me:$LINENO: checking
if -mno-cygwin is
in effect
" >&5
17149 echo $ECHO_N "checking
if -mno-cygwin is
in effect...
$ECHO_C" >&6; }
17150 if test "${wx_cv_nocygwin+set}" = set; then
17151 echo $ECHO_N "(cached
) $ECHO_C" >&6
17154 cat >conftest.$ac_ext <<_ACEOF
17157 cat confdefs.h >>conftest.$ac_ext
17158 cat >>conftest.$ac_ext <<_ACEOF
17159 /* end confdefs.h. */
17173 rm -f conftest.$ac_objext
17174 if { (ac_try="$ac_compile"
17175 case "(($ac_try" in
17176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17177 *) ac_try_echo=$ac_try;;
17179 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17180 (eval "$ac_compile") 2>conftest.er1
17182 grep -v '^ *+' conftest.er1 >conftest.err
17184 cat conftest.err >&5
17185 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17186 (exit $ac_status); } && {
17187 test -z "$ac_c_werror_flag" ||
17188 test ! -s conftest.err
17189 } && test -s conftest.$ac_objext; then
17192 echo "$as_me: failed program was
:" >&5
17193 sed 's/^/| /' conftest.$ac_ext >&5
17199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17203 { echo "$as_me:$LINENO: result
: $wx_cv_nocygwin" >&5
17204 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
17206 if test "$wx_cv_nocygwin" = "yes"; then
17209 doesnt_want_win32=1
17212 if test "$wants_win32" = 1 ; then
17213 BAKEFILE_FORCE_PLATFORM=win32
17221 if test "$wxUSE_WINE" = "yes"; then
17223 LDFLAGS_GUI="-mwindows"
17226 if test "$wants_win32" = 1 ; then
17229 cat >>confdefs.h <<\_ACEOF
17230 #define __WIN32__ 1
17233 cat >>confdefs.h <<\_ACEOF
17234 #define __WIN95__ 1
17237 cat >>confdefs.h <<\_ACEOF
17238 #define __WINDOWS__ 1
17241 cat >>confdefs.h <<\_ACEOF
17242 #define __GNUWIN32__ 1
17245 cat >>confdefs.h <<\_ACEOF
17250 if test "$doesnt_want_win32" = 1 ; then
17255 if test "$USE_UNIX" = 1 ; then
17257 cat >>confdefs.h <<\_ACEOF
17264 *-pc-os2_emx | *-pc-os2-emx )
17265 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
17266 { echo "$as_me:$LINENO: checking
for drand48
in -lcExt" >&5
17267 echo $ECHO_N "checking
for drand48
in -lcExt...
$ECHO_C" >&6; }
17268 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
17269 echo $ECHO_N "(cached
) $ECHO_C" >&6
17271 ac_check_lib_save_LIBS=$LIBS
17272 LIBS="-lcExt $LIBS"
17273 cat >conftest.$ac_ext <<_ACEOF
17276 cat confdefs.h >>conftest.$ac_ext
17277 cat >>conftest.$ac_ext <<_ACEOF
17278 /* end confdefs.h. */
17280 /* Override any GCC internal prototype to avoid an error.
17281 Use char because int might match the return type of a GCC
17282 builtin and then its argument prototype would still apply. */
17295 rm -f conftest.$ac_objext conftest$ac_exeext
17296 if { (ac_try="$ac_link"
17297 case "(($ac_try" in
17298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17299 *) ac_try_echo=$ac_try;;
17301 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17302 (eval "$ac_link") 2>conftest.er1
17304 grep -v '^ *+' conftest.er1 >conftest.err
17306 cat conftest.err >&5
17307 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17308 (exit $ac_status); } && {
17309 test -z "$ac_c_werror_flag" ||
17310 test ! -s conftest.err
17311 } && test -s conftest$ac_exeext &&
17312 $as_test_x conftest$ac_exeext; then
17313 ac_cv_lib_cExt_drand48=yes
17315 echo "$as_me: failed program was
:" >&5
17316 sed 's/^/| /' conftest.$ac_ext >&5
17318 ac_cv_lib_cExt_drand48=no
17321 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17322 conftest$ac_exeext conftest.$ac_ext
17323 LIBS=$ac_check_lib_save_LIBS
17325 { echo "$as_me:$LINENO: result
: $ac_cv_lib_cExt_drand48" >&5
17326 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
17327 if test $ac_cv_lib_cExt_drand48 = yes; then
17328 LIBS="$LIBS -lcExt"
17332 RESPROGRAMOBJ="\
${top_srcdir}/include
/wx
/os
2/wx.res
"
17334 { echo "$as_me:$LINENO: checking
for gcc
/libc version
" >&5
17335 echo $ECHO_N "checking
for gcc
/libc version...
$ECHO_C" >&6; }
17336 if test "${wx_cv_gccversion+set}" = set; then
17337 echo $ECHO_N "(cached
) $ECHO_C" >&6
17340 if test "$cross_compiling" = yes; then
17341 wx_cv_gccversion="EMX2
"
17344 cat >conftest.$ac_ext <<_ACEOF
17347 cat confdefs.h >>conftest.$ac_ext
17348 cat >>conftest.$ac_ext <<_ACEOF
17349 /* end confdefs.h. */
17355 FILE *f=fopen("conftestval
", "w
");
17360 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
17362 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
17372 rm -f conftest$ac_exeext
17373 if { (ac_try="$ac_link"
17374 case "(($ac_try" in
17375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17376 *) ac_try_echo=$ac_try;;
17378 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17379 (eval "$ac_link") 2>&5
17381 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17382 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17383 { (case "(($ac_try" in
17384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17385 *) ac_try_echo=$ac_try;;
17387 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17388 (eval "$ac_try") 2>&5
17390 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17391 (exit $ac_status); }; }; then
17392 wx_cv_gccversion=`cat conftestval`
17394 echo "$as_me: program exited with status
$ac_status" >&5
17395 echo "$as_me: failed program was
:" >&5
17396 sed 's/^/| /' conftest.$ac_ext >&5
17398 ( exit $ac_status )
17399 wx_cv_gccversion="EMX2
"
17401 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17407 { echo "$as_me:$LINENO: result
: $wx_cv_gccversion" >&5
17408 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
17409 if test "$wx_cv_gccversion" = "EMX2
"; then
17410 LIBS="$LIBS -lstdcpp"
17411 LDFLAGS="$LDFLAGS -Zsysv-signals"
17413 if test "$wx_cv_gccversion" = "EMX3
"; then
17414 LIBS="$LIBS -lstdcxx -lgcc"
17415 LDFLAGS="$LDFLAGS -Zsysv-signals"
17417 LIBS="$LIBS -lstdc++"
17420 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no
"; then
17421 { echo "$as_me:$LINENO: WARNING
: Building DLLs requires OMF mode
, enabled
" >&5
17422 echo "$as_me: WARNING
: Building DLLs requires OMF mode
, enabled
" >&2;}
17429 { echo "$as_me:$LINENO: checking
for strcasecmp
() in string.h
" >&5
17430 echo $ECHO_N "checking
for strcasecmp
() in string.h...
$ECHO_C" >&6; }
17431 if test "${ac_cv_string_strcasecmp+set}" = set; then
17432 echo $ECHO_N "(cached
) $ECHO_C" >&6
17435 cat >conftest.$ac_ext <<_ACEOF
17438 cat confdefs.h >>conftest.$ac_ext
17439 cat >>conftest.$ac_ext <<_ACEOF
17440 /* end confdefs.h. */
17442 #include <string.h>
17448 strcasecmp("foo
", "bar
");
17454 rm -f conftest.$ac_objext conftest$ac_exeext
17455 if { (ac_try="$ac_link"
17456 case "(($ac_try" in
17457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17458 *) ac_try_echo=$ac_try;;
17460 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17461 (eval "$ac_link") 2>conftest.er1
17463 grep -v '^ *+' conftest.er1 >conftest.err
17465 cat conftest.err >&5
17466 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17467 (exit $ac_status); } && {
17468 test -z "$ac_c_werror_flag" ||
17469 test ! -s conftest.err
17470 } && test -s conftest$ac_exeext &&
17471 $as_test_x conftest$ac_exeext; then
17472 ac_cv_string_strcasecmp=yes
17474 echo "$as_me: failed program was
:" >&5
17475 sed 's/^/| /' conftest.$ac_ext >&5
17477 ac_cv_string_strcasecmp=no
17481 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17482 conftest$ac_exeext conftest.$ac_ext
17485 { echo "$as_me:$LINENO: result
: $ac_cv_string_strcasecmp" >&5
17486 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
17488 if test x"$ac_cv_string_strcasecmp" = "xyes
"; then
17489 cat >>confdefs.h <<\_ACEOF
17490 #define HAVE_STRCASECMP_IN_STRING_H 1
17494 { echo "$as_me:$LINENO: checking
for strcasecmp
() in strings.h
" >&5
17495 echo $ECHO_N "checking
for strcasecmp
() in strings.h...
$ECHO_C" >&6; }
17496 if test "${ac_cv_strings_strcasecmp+set}" = set; then
17497 echo $ECHO_N "(cached
) $ECHO_C" >&6
17500 cat >conftest.$ac_ext <<_ACEOF
17503 cat confdefs.h >>conftest.$ac_ext
17504 cat >>conftest.$ac_ext <<_ACEOF
17505 /* end confdefs.h. */
17507 #include <strings.h>
17513 strcasecmp("foo
", "bar
");
17519 rm -f conftest.$ac_objext conftest$ac_exeext
17520 if { (ac_try="$ac_link"
17521 case "(($ac_try" in
17522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17523 *) ac_try_echo=$ac_try;;
17525 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17526 (eval "$ac_link") 2>conftest.er1
17528 grep -v '^ *+' conftest.er1 >conftest.err
17530 cat conftest.err >&5
17531 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17532 (exit $ac_status); } && {
17533 test -z "$ac_c_werror_flag" ||
17534 test ! -s conftest.err
17535 } && test -s conftest$ac_exeext &&
17536 $as_test_x conftest$ac_exeext; then
17537 ac_cv_strings_strcasecmp=yes
17539 echo "$as_me: failed program was
:" >&5
17540 sed 's/^/| /' conftest.$ac_ext >&5
17542 ac_cv_strings_strcasecmp=no
17546 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17547 conftest$ac_exeext conftest.$ac_ext
17550 { echo "$as_me:$LINENO: result
: $ac_cv_strings_strcasecmp" >&5
17551 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
17553 if test x"$ac_cv_strings_strcasecmp" = "xyes
"; then
17554 cat >>confdefs.h <<\_ACEOF
17555 #define HAVE_STRCASECMP_IN_STRINGS_H 1
17559 { { echo "$as_me:$LINENO: error
: No
case-insensitive string comparison
function found.
" >&5
17560 echo "$as_me: error
: No
case-insensitive string comparison
function found.
" >&2;}
17561 { (exit 1); exit 1; }; }
17569 { echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
17570 echo $ECHO_N "checking
for ANSI C header files...
$ECHO_C" >&6; }
17571 if test "${ac_cv_header_stdc+set}" = set; then
17572 echo $ECHO_N "(cached
) $ECHO_C" >&6
17574 cat >conftest.$ac_ext <<_ACEOF
17577 cat confdefs.h >>conftest.$ac_ext
17578 cat >>conftest.$ac_ext <<_ACEOF
17579 /* end confdefs.h. */
17580 #include <stdlib.h>
17581 #include <stdarg.h>
17582 #include <string.h>
17593 rm -f conftest.$ac_objext
17594 if { (ac_try="$ac_compile"
17595 case "(($ac_try" in
17596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17597 *) ac_try_echo=$ac_try;;
17599 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17600 (eval "$ac_compile") 2>conftest.er1
17602 grep -v '^ *+' conftest.er1 >conftest.err
17604 cat conftest.err >&5
17605 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17606 (exit $ac_status); } && {
17607 test -z "$ac_c_werror_flag" ||
17608 test ! -s conftest.err
17609 } && test -s conftest.$ac_objext; then
17610 ac_cv_header_stdc=yes
17612 echo "$as_me: failed program was
:" >&5
17613 sed 's/^/| /' conftest.$ac_ext >&5
17615 ac_cv_header_stdc=no
17618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17620 if test $ac_cv_header_stdc = yes; then
17621 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
17622 cat >conftest.$ac_ext <<_ACEOF
17625 cat confdefs.h >>conftest.$ac_ext
17626 cat >>conftest.$ac_ext <<_ACEOF
17627 /* end confdefs.h. */
17628 #include <string.h>
17631 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
17632 $EGREP "memchr
" >/dev/null 2>&1; then
17635 ac_cv_header_stdc=no
17641 if test $ac_cv_header_stdc = yes; then
17642 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
17643 cat >conftest.$ac_ext <<_ACEOF
17646 cat confdefs.h >>conftest.$ac_ext
17647 cat >>conftest.$ac_ext <<_ACEOF
17648 /* end confdefs.h. */
17649 #include <stdlib.h>
17652 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
17653 $EGREP "free
" >/dev/null 2>&1; then
17656 ac_cv_header_stdc=no
17662 if test $ac_cv_header_stdc = yes; then
17663 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
17664 if test "$cross_compiling" = yes; then
17667 cat >conftest.$ac_ext <<_ACEOF
17670 cat confdefs.h >>conftest.$ac_ext
17671 cat >>conftest.$ac_ext <<_ACEOF
17672 /* end confdefs.h. */
17674 #include <stdlib.h>
17675 #if ((' ' & 0x0FF) == 0x020)
17676 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
17677 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
17679 # define ISLOWER(c) \
17680 (('a' <= (c) && (c) <= 'i') \
17681 || ('j' <= (c) && (c) <= 'r') \
17682 || ('s' <= (c) && (c) <= 'z'))
17683 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
17686 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
17691 for (i = 0; i < 256; i++)
17692 if (XOR (islower (i), ISLOWER (i))
17693 || toupper (i) != TOUPPER (i))
17698 rm -f conftest$ac_exeext
17699 if { (ac_try="$ac_link"
17700 case "(($ac_try" in
17701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17702 *) ac_try_echo=$ac_try;;
17704 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17705 (eval "$ac_link") 2>&5
17707 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17708 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17709 { (case "(($ac_try" in
17710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17711 *) ac_try_echo=$ac_try;;
17713 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17714 (eval "$ac_try") 2>&5
17716 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17717 (exit $ac_status); }; }; then
17720 echo "$as_me: program exited with status
$ac_status" >&5
17721 echo "$as_me: failed program was
:" >&5
17722 sed 's/^/| /' conftest.$ac_ext >&5
17724 ( exit $ac_status )
17725 ac_cv_header_stdc=no
17727 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17733 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
17734 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
17735 if test $ac_cv_header_stdc = yes; then
17737 cat >>confdefs.h <<\_ACEOF
17738 #define STDC_HEADERS 1
17743 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
17753 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
17754 inttypes.h stdint.h unistd.h
17756 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
17757 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
17758 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
17759 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
17760 echo $ECHO_N "(cached
) $ECHO_C" >&6
17762 cat >conftest.$ac_ext <<_ACEOF
17765 cat confdefs.h >>conftest.$ac_ext
17766 cat >>conftest.$ac_ext <<_ACEOF
17767 /* end confdefs.h. */
17768 $ac_includes_default
17770 #include <$ac_header>
17772 rm -f conftest.$ac_objext
17773 if { (ac_try="$ac_compile"
17774 case "(($ac_try" in
17775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17776 *) ac_try_echo=$ac_try;;
17778 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17779 (eval "$ac_compile") 2>conftest.er1
17781 grep -v '^ *+' conftest.er1 >conftest.err
17783 cat conftest.err >&5
17784 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17785 (exit $ac_status); } && {
17786 test -z "$ac_c_werror_flag" ||
17787 test ! -s conftest.err
17788 } && test -s conftest.$ac_objext; then
17789 eval "$as_ac_Header=yes"
17791 echo "$as_me: failed program was
:" >&5
17792 sed 's/^/| /' conftest.$ac_ext >&5
17794 eval "$as_ac_Header=no
"
17797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17799 ac_res=`eval echo '${'$as_ac_Header'}'`
17800 { echo "$as_me:$LINENO: result
: $ac_res" >&5
17801 echo "${ECHO_T}$ac_res" >&6; }
17802 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17803 cat >>confdefs.h <<_ACEOF
17804 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
17818 for ac_header in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
17820 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
17821 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
17822 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
17823 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
17824 echo $ECHO_N "(cached
) $ECHO_C" >&6
17826 cat >conftest.$ac_ext <<_ACEOF
17829 cat confdefs.h >>conftest.$ac_ext
17830 cat >>conftest.$ac_ext <<_ACEOF
17831 /* end confdefs.h. */
17832 $ac_includes_default
17834 #include <$ac_header>
17836 rm -f conftest.$ac_objext
17837 if { (ac_try="$ac_compile"
17838 case "(($ac_try" in
17839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17840 *) ac_try_echo=$ac_try;;
17842 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17843 (eval "$ac_compile") 2>conftest.er1
17845 grep -v '^ *+' conftest.er1 >conftest.err
17847 cat conftest.err >&5
17848 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17849 (exit $ac_status); } && {
17850 test -z "$ac_c_werror_flag" ||
17851 test ! -s conftest.err
17852 } && test -s conftest.$ac_objext; then
17853 eval "$as_ac_Header=yes"
17855 echo "$as_me: failed program was
:" >&5
17856 sed 's/^/| /' conftest.$ac_ext >&5
17858 eval "$as_ac_Header=no
"
17861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17863 ac_res=`eval echo '${'$as_ac_Header'}'`
17864 { echo "$as_me:$LINENO: result
: $ac_res" >&5
17865 echo "${ECHO_T}$ac_res" >&6; }
17866 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17867 cat >>confdefs.h <<_ACEOF
17868 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
17876 if test "$ac_cv_header_wchar_h" != "yes"; then
17877 { echo "$as_me:$LINENO: checking
for wcstr.h
" >&5
17878 echo $ECHO_N "checking
for wcstr.h...
$ECHO_C" >&6; }
17879 if test "${ac_cv_header_wcstr_h+set}" = set; then
17880 echo $ECHO_N "(cached
) $ECHO_C" >&6
17882 cat >conftest.$ac_ext <<_ACEOF
17885 cat confdefs.h >>conftest.$ac_ext
17886 cat >>conftest.$ac_ext <<_ACEOF
17887 /* end confdefs.h. */
17888 $ac_includes_default
17892 rm -f conftest.$ac_objext
17893 if { (ac_try="$ac_compile"
17894 case "(($ac_try" in
17895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17896 *) ac_try_echo=$ac_try;;
17898 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17899 (eval "$ac_compile") 2>conftest.er1
17901 grep -v '^ *+' conftest.er1 >conftest.err
17903 cat conftest.err >&5
17904 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17905 (exit $ac_status); } && {
17906 test -z "$ac_c_werror_flag" ||
17907 test ! -s conftest.err
17908 } && test -s conftest.$ac_objext; then
17909 ac_cv_header_wcstr_h=yes
17911 echo "$as_me: failed program was
:" >&5
17912 sed 's/^/| /' conftest.$ac_ext >&5
17914 ac_cv_header_wcstr_h=no
17917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17919 { echo "$as_me:$LINENO: result
: $ac_cv_header_wcstr_h" >&5
17920 echo "${ECHO_T}$ac_cv_header_wcstr_h" >&6; }
17926 *-pc-os2_emx | *-pc-os2-emx )
17927 if test $ac_cv_header_langinfo_h = "yes" \
17928 -a \( "$wx_cv_gccversion" = "EMX2
" \
17929 -o "$wx_cv_gccversion" = "EMX3
" \
17930 -o "$wx_cv_gccversion" = "Innotek5
" \); then
17931 LIBS="$LIBS -lintl"
17936 if test "$USE_UNIX" = 1 ; then
17937 { echo "$as_me:$LINENO: checking
for sys
/select.h
" >&5
17938 echo $ECHO_N "checking
for sys
/select.h...
$ECHO_C" >&6; }
17939 if test "${ac_cv_header_sys_select_h+set}" = set; then
17940 echo $ECHO_N "(cached
) $ECHO_C" >&6
17942 cat >conftest.$ac_ext <<_ACEOF
17945 cat confdefs.h >>conftest.$ac_ext
17946 cat >>conftest.$ac_ext <<_ACEOF
17947 /* end confdefs.h. */
17948 $ac_includes_default
17950 #include <sys/select.h>
17952 rm -f conftest.$ac_objext
17953 if { (ac_try="$ac_compile"
17954 case "(($ac_try" in
17955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17956 *) ac_try_echo=$ac_try;;
17958 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17959 (eval "$ac_compile") 2>conftest.er1
17961 grep -v '^ *+' conftest.er1 >conftest.err
17963 cat conftest.err >&5
17964 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17965 (exit $ac_status); } && {
17966 test -z "$ac_c_werror_flag" ||
17967 test ! -s conftest.err
17968 } && test -s conftest.$ac_objext; then
17969 ac_cv_header_sys_select_h=yes
17971 echo "$as_me: failed program was
:" >&5
17972 sed 's/^/| /' conftest.$ac_ext >&5
17974 ac_cv_header_sys_select_h=no
17977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17979 { echo "$as_me:$LINENO: result
: $ac_cv_header_sys_select_h" >&5
17980 echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6; }
17986 { echo "$as_me:$LINENO: checking
for an ANSI C
-conforming const
" >&5
17987 echo $ECHO_N "checking
for an ANSI C
-conforming const...
$ECHO_C" >&6; }
17988 if test "${ac_cv_c_const+set}" = set; then
17989 echo $ECHO_N "(cached
) $ECHO_C" >&6
17991 cat >conftest.$ac_ext <<_ACEOF
17994 cat confdefs.h >>conftest.$ac_ext
17995 cat >>conftest.$ac_ext <<_ACEOF
17996 /* end confdefs.h. */
18001 /* FIXME: Include the comments suggested by Paul. */
18002 #ifndef __cplusplus
18003 /* Ultrix mips cc rejects this. */
18004 typedef int charset[2];
18006 /* SunOS 4.1.1 cc rejects this. */
18007 char const *const *pcpcc;
18009 /* NEC SVR4.0.2 mips cc rejects this. */
18010 struct point {int x, y;};
18011 static struct point const zero = {0,0};
18012 /* AIX XL C 1.02.0.0 rejects this.
18013 It does not let you subtract one const X* pointer from another in
18014 an arm of an if-expression whose if-part is not a constant
18016 const char *g = "string
";
18017 pcpcc = &g + (g ? g-g : 0);
18018 /* HPUX 7.0 cc rejects these. */
18020 ppc = (char**) pcpcc;
18021 pcpcc = (char const *const *) ppc;
18022 { /* SCO 3.2v4 cc rejects this. */
18024 char const *s = 0 ? (char *) 0 : (char const *) 0;
18029 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18030 int x[] = {25, 17};
18031 const int *foo = &x[0];
18034 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18035 typedef const int *iptr;
18039 { /* AIX XL C 1.02.0.0 rejects this saying
18040 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18041 struct s { int j; const int *ap[3]; };
18042 struct s *b; b->j = 5;
18044 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18045 const int foo = 10;
18046 if (!foo) return 0;
18048 return !cs[0] && !zero.x;
18055 rm -f conftest.$ac_objext
18056 if { (ac_try="$ac_compile"
18057 case "(($ac_try" in
18058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18059 *) ac_try_echo=$ac_try;;
18061 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18062 (eval "$ac_compile") 2>conftest.er1
18064 grep -v '^ *+' conftest.er1 >conftest.err
18066 cat conftest.err >&5
18067 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18068 (exit $ac_status); } && {
18069 test -z "$ac_c_werror_flag" ||
18070 test ! -s conftest.err
18071 } && test -s conftest.$ac_objext; then
18074 echo "$as_me: failed program was
:" >&5
18075 sed 's/^/| /' conftest.$ac_ext >&5
18080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18082 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
18083 echo "${ECHO_T}$ac_cv_c_const" >&6; }
18084 if test $ac_cv_c_const = no; then
18086 cat >>confdefs.h <<\_ACEOF
18092 { echo "$as_me:$LINENO: checking
for inline
" >&5
18093 echo $ECHO_N "checking
for inline...
$ECHO_C" >&6; }
18094 if test "${ac_cv_c_inline+set}" = set; then
18095 echo $ECHO_N "(cached
) $ECHO_C" >&6
18098 for ac_kw in inline __inline__ __inline; do
18099 cat >conftest.$ac_ext <<_ACEOF
18102 cat confdefs.h >>conftest.$ac_ext
18103 cat >>conftest.$ac_ext <<_ACEOF
18104 /* end confdefs.h. */
18105 #ifndef __cplusplus
18107 static $ac_kw foo_t static_foo () {return 0; }
18108 $ac_kw foo_t foo () {return 0; }
18112 rm -f conftest.$ac_objext
18113 if { (ac_try="$ac_compile"
18114 case "(($ac_try" in
18115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18116 *) ac_try_echo=$ac_try;;
18118 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18119 (eval "$ac_compile") 2>conftest.er1
18121 grep -v '^ *+' conftest.er1 >conftest.err
18123 cat conftest.err >&5
18124 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18125 (exit $ac_status); } && {
18126 test -z "$ac_c_werror_flag" ||
18127 test ! -s conftest.err
18128 } && test -s conftest.$ac_objext; then
18129 ac_cv_c_inline=$ac_kw
18131 echo "$as_me: failed program was
:" >&5
18132 sed 's/^/| /' conftest.$ac_ext >&5
18137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18138 test "$ac_cv_c_inline" != no && break
18142 { echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
18143 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
18146 case $ac_cv_c_inline in
18149 case $ac_cv_c_inline in
18151 *) ac_val=$ac_cv_c_inline;;
18153 cat >>confdefs.h <<_ACEOF
18154 #ifndef __cplusplus
18155 #define inline $ac_val
18162 { echo "$as_me:$LINENO: checking
for short
" >&5
18163 echo $ECHO_N "checking
for short...
$ECHO_C" >&6; }
18164 if test "${ac_cv_type_short+set}" = set; then
18165 echo $ECHO_N "(cached
) $ECHO_C" >&6
18167 cat >conftest.$ac_ext <<_ACEOF
18170 cat confdefs.h >>conftest.$ac_ext
18171 cat >>conftest.$ac_ext <<_ACEOF
18172 /* end confdefs.h. */
18173 $ac_includes_default
18174 typedef short ac__type_new_;
18178 if ((ac__type_new_ *) 0)
18180 if (sizeof (ac__type_new_))
18186 rm -f conftest.$ac_objext
18187 if { (ac_try="$ac_compile"
18188 case "(($ac_try" in
18189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18190 *) ac_try_echo=$ac_try;;
18192 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18193 (eval "$ac_compile") 2>conftest.er1
18195 grep -v '^ *+' conftest.er1 >conftest.err
18197 cat conftest.err >&5
18198 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18199 (exit $ac_status); } && {
18200 test -z "$ac_c_werror_flag" ||
18201 test ! -s conftest.err
18202 } && test -s conftest.$ac_objext; then
18203 ac_cv_type_short=yes
18205 echo "$as_me: failed program was
:" >&5
18206 sed 's/^/| /' conftest.$ac_ext >&5
18208 ac_cv_type_short=no
18211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18213 { echo "$as_me:$LINENO: result
: $ac_cv_type_short" >&5
18214 echo "${ECHO_T}$ac_cv_type_short" >&6; }
18216 # The cast to long int works around a bug in the HP C Compiler
18217 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18218 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18219 # This bug is HP SR number 8606223364.
18220 { echo "$as_me:$LINENO: checking size of short
" >&5
18221 echo $ECHO_N "checking size of short...
$ECHO_C" >&6; }
18222 if test "${ac_cv_sizeof_short+set}" = set; then
18223 echo $ECHO_N "(cached
) $ECHO_C" >&6
18225 if test "$cross_compiling" = yes; then
18226 # Depending upon the size, compute the lo and hi bounds.
18227 cat >conftest.$ac_ext <<_ACEOF
18230 cat confdefs.h >>conftest.$ac_ext
18231 cat >>conftest.$ac_ext <<_ACEOF
18232 /* end confdefs.h. */
18233 $ac_includes_default
18234 typedef short ac__type_sizeof_;
18238 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
18245 rm -f conftest.$ac_objext
18246 if { (ac_try="$ac_compile"
18247 case "(($ac_try" in
18248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18249 *) ac_try_echo=$ac_try;;
18251 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18252 (eval "$ac_compile") 2>conftest.er1
18254 grep -v '^ *+' conftest.er1 >conftest.err
18256 cat conftest.err >&5
18257 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18258 (exit $ac_status); } && {
18259 test -z "$ac_c_werror_flag" ||
18260 test ! -s conftest.err
18261 } && test -s conftest.$ac_objext; then
18264 cat >conftest.$ac_ext <<_ACEOF
18267 cat confdefs.h >>conftest.$ac_ext
18268 cat >>conftest.$ac_ext <<_ACEOF
18269 /* end confdefs.h. */
18270 $ac_includes_default
18271 typedef short ac__type_sizeof_;
18275 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18282 rm -f conftest.$ac_objext
18283 if { (ac_try="$ac_compile"
18284 case "(($ac_try" in
18285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18286 *) ac_try_echo=$ac_try;;
18288 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18289 (eval "$ac_compile") 2>conftest.er1
18291 grep -v '^ *+' conftest.er1 >conftest.err
18293 cat conftest.err >&5
18294 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18295 (exit $ac_status); } && {
18296 test -z "$ac_c_werror_flag" ||
18297 test ! -s conftest.err
18298 } && test -s conftest.$ac_objext; then
18299 ac_hi=$ac_mid; break
18301 echo "$as_me: failed program was
:" >&5
18302 sed 's/^/| /' conftest.$ac_ext >&5
18304 ac_lo=`expr $ac_mid + 1`
18305 if test $ac_lo -le $ac_mid; then
18309 ac_mid=`expr 2 '*' $ac_mid + 1`
18312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18315 echo "$as_me: failed program was
:" >&5
18316 sed 's/^/| /' conftest.$ac_ext >&5
18318 cat >conftest.$ac_ext <<_ACEOF
18321 cat confdefs.h >>conftest.$ac_ext
18322 cat >>conftest.$ac_ext <<_ACEOF
18323 /* end confdefs.h. */
18324 $ac_includes_default
18325 typedef short ac__type_sizeof_;
18329 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
18336 rm -f conftest.$ac_objext
18337 if { (ac_try="$ac_compile"
18338 case "(($ac_try" in
18339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18340 *) ac_try_echo=$ac_try;;
18342 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18343 (eval "$ac_compile") 2>conftest.er1
18345 grep -v '^ *+' conftest.er1 >conftest.err
18347 cat conftest.err >&5
18348 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18349 (exit $ac_status); } && {
18350 test -z "$ac_c_werror_flag" ||
18351 test ! -s conftest.err
18352 } && test -s conftest.$ac_objext; then
18355 cat >conftest.$ac_ext <<_ACEOF
18358 cat confdefs.h >>conftest.$ac_ext
18359 cat >>conftest.$ac_ext <<_ACEOF
18360 /* end confdefs.h. */
18361 $ac_includes_default
18362 typedef short ac__type_sizeof_;
18366 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
18373 rm -f conftest.$ac_objext
18374 if { (ac_try="$ac_compile"
18375 case "(($ac_try" in
18376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18377 *) ac_try_echo=$ac_try;;
18379 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18380 (eval "$ac_compile") 2>conftest.er1
18382 grep -v '^ *+' conftest.er1 >conftest.err
18384 cat conftest.err >&5
18385 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18386 (exit $ac_status); } && {
18387 test -z "$ac_c_werror_flag" ||
18388 test ! -s conftest.err
18389 } && test -s conftest.$ac_objext; then
18390 ac_lo=$ac_mid; break
18392 echo "$as_me: failed program was
:" >&5
18393 sed 's/^/| /' conftest.$ac_ext >&5
18395 ac_hi=`expr '(' $ac_mid ')' - 1`
18396 if test $ac_mid -le $ac_hi; then
18400 ac_mid=`expr 2 '*' $ac_mid`
18403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18406 echo "$as_me: failed program was
:" >&5
18407 sed 's/^/| /' conftest.$ac_ext >&5
18412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18416 # Binary search between lo and hi bounds.
18417 while test "x
$ac_lo" != "x
$ac_hi"; do
18418 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18419 cat >conftest.$ac_ext <<_ACEOF
18422 cat confdefs.h >>conftest.$ac_ext
18423 cat >>conftest.$ac_ext <<_ACEOF
18424 /* end confdefs.h. */
18425 $ac_includes_default
18426 typedef short ac__type_sizeof_;
18430 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18437 rm -f conftest.$ac_objext
18438 if { (ac_try="$ac_compile"
18439 case "(($ac_try" in
18440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18441 *) ac_try_echo=$ac_try;;
18443 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18444 (eval "$ac_compile") 2>conftest.er1
18446 grep -v '^ *+' conftest.er1 >conftest.err
18448 cat conftest.err >&5
18449 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18450 (exit $ac_status); } && {
18451 test -z "$ac_c_werror_flag" ||
18452 test ! -s conftest.err
18453 } && test -s conftest.$ac_objext; then
18456 echo "$as_me: failed program was
:" >&5
18457 sed 's/^/| /' conftest.$ac_ext >&5
18459 ac_lo=`expr '(' $ac_mid ')' + 1`
18462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18465 ?*) ac_cv_sizeof_short=$ac_lo;;
18466 '') if test "$ac_cv_type_short" = yes; then
18467 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
18468 See \
`config.log' for more details." >&5
18469 echo "$as_me: error: cannot compute sizeof (short)
18470 See \`config.log
' for more details." >&2;}
18471 { (exit 77); exit 77; }; }
18473 ac_cv_sizeof_short=0
18477 cat >conftest.$ac_ext <<_ACEOF
18480 cat confdefs.h >>conftest.$ac_ext
18481 cat >>conftest.$ac_ext <<_ACEOF
18482 /* end confdefs.h. */
18483 $ac_includes_default
18484 typedef short ac__type_sizeof_;
18485 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
18486 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
18488 #include <stdlib.h>
18493 FILE *f = fopen ("conftest.val", "w");
18496 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
18498 long int i = longval ();
18499 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18501 fprintf (f, "%ld\n", i);
18505 unsigned long int i = ulongval ();
18506 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18508 fprintf (f, "%lu\n", i);
18510 return ferror (f) || fclose (f) != 0;
18516 rm -f conftest$ac_exeext
18517 if { (ac_try="$ac_link"
18518 case "(($ac_try" in
18519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18520 *) ac_try_echo=$ac_try;;
18522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18523 (eval "$ac_link") 2>&5
18525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18526 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
18527 { (case "(($ac_try" in
18528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18529 *) ac_try_echo=$ac_try;;
18531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18532 (eval "$ac_try") 2>&5
18534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18535 (exit $ac_status); }; }; then
18536 ac_cv_sizeof_short=`cat conftest.val`
18538 echo "$as_me: program exited with status $ac_status" >&5
18539 echo "$as_me: failed program was:" >&5
18540 sed 's
/^
/| /' conftest.$ac_ext >&5
18542 ( exit $ac_status )
18543 if test "$ac_cv_type_short" = yes; then
18544 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
18545 See \`config.log' for more details.
" >&5
18546 echo "$as_me: error
: cannot compute sizeof
(short
)
18547 See \
`config.log' for more details." >&2;}
18548 { (exit 77); exit 77; }; }
18550 ac_cv_sizeof_short=0
18553 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18557 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18558 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
18562 cat >>confdefs.h <<_ACEOF
18563 #define SIZEOF_SHORT $ac_cv_sizeof_short
18567 { echo "$as_me:$LINENO: checking for void *" >&5
18568 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
18569 if test "${ac_cv_type_void_p+set}" = set; then
18570 echo $ECHO_N "(cached) $ECHO_C" >&6
18572 cat >conftest.$ac_ext <<_ACEOF
18575 cat confdefs.h >>conftest.$ac_ext
18576 cat >>conftest.$ac_ext <<_ACEOF
18577 /* end confdefs.h. */
18578 $ac_includes_default
18579 typedef void * ac__type_new_;
18583 if ((ac__type_new_ *) 0)
18585 if (sizeof (ac__type_new_))
18591 rm -f conftest.$ac_objext
18592 if { (ac_try="$ac_compile"
18593 case "(($ac_try" in
18594 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18595 *) ac_try_echo
=$ac_try;;
18597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18598 (eval "$ac_compile") 2>conftest.er1
18600 grep -v '^ *+' conftest.er1
>conftest.err
18602 cat conftest.err
>&5
18603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18604 (exit $ac_status); } && {
18605 test -z "$ac_c_werror_flag" ||
18606 test ! -s conftest.err
18607 } && test -s conftest.
$ac_objext; then
18608 ac_cv_type_void_p
=yes
18610 echo "$as_me: failed program was:" >&5
18611 sed 's/^/| /' conftest.
$ac_ext >&5
18613 ac_cv_type_void_p
=no
18616 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18618 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
18619 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
18621 # The cast to long int works around a bug in the HP C Compiler
18622 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18623 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18624 # This bug is HP SR number 8606223364.
18625 { echo "$as_me:$LINENO: checking size of void *" >&5
18626 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
18627 if test "${ac_cv_sizeof_void_p+set}" = set; then
18628 echo $ECHO_N "(cached) $ECHO_C" >&6
18630 if test "$cross_compiling" = yes; then
18631 # Depending upon the size, compute the lo and hi bounds.
18632 cat >conftest.
$ac_ext <<_ACEOF
18635 cat confdefs.h
>>conftest.
$ac_ext
18636 cat >>conftest.
$ac_ext <<_ACEOF
18637 /* end confdefs.h. */
18638 $ac_includes_default
18639 typedef void * ac__type_sizeof_;
18643 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
18650 rm -f conftest.
$ac_objext
18651 if { (ac_try
="$ac_compile"
18652 case "(($ac_try" in
18653 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18654 *) ac_try_echo=$ac_try;;
18656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18657 (eval "$ac_compile") 2>conftest.er1
18659 grep -v '^ *+' conftest.er1 >conftest.err
18661 cat conftest.err >&5
18662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18663 (exit $ac_status); } && {
18664 test -z "$ac_c_werror_flag" ||
18665 test ! -s conftest.err
18666 } && test -s conftest.$ac_objext; then
18669 cat >conftest.$ac_ext <<_ACEOF
18672 cat confdefs.h >>conftest.$ac_ext
18673 cat >>conftest.$ac_ext <<_ACEOF
18674 /* end confdefs.h. */
18675 $ac_includes_default
18676 typedef void * ac__type_sizeof_;
18680 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18687 rm -f conftest.$ac_objext
18688 if { (ac_try="$ac_compile"
18689 case "(($ac_try" in
18690 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18691 *) ac_try_echo
=$ac_try;;
18693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18694 (eval "$ac_compile") 2>conftest.er1
18696 grep -v '^ *+' conftest.er1
>conftest.err
18698 cat conftest.err
>&5
18699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18700 (exit $ac_status); } && {
18701 test -z "$ac_c_werror_flag" ||
18702 test ! -s conftest.err
18703 } && test -s conftest.
$ac_objext; then
18704 ac_hi
=$ac_mid; break
18706 echo "$as_me: failed program was:" >&5
18707 sed 's/^/| /' conftest.
$ac_ext >&5
18709 ac_lo
=`expr $ac_mid + 1`
18710 if test $ac_lo -le $ac_mid; then
18714 ac_mid
=`expr 2 '*' $ac_mid + 1`
18717 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18720 echo "$as_me: failed program was:" >&5
18721 sed 's/^/| /' conftest.
$ac_ext >&5
18723 cat >conftest.
$ac_ext <<_ACEOF
18726 cat confdefs.h
>>conftest.
$ac_ext
18727 cat >>conftest.
$ac_ext <<_ACEOF
18728 /* end confdefs.h. */
18729 $ac_includes_default
18730 typedef void * ac__type_sizeof_;
18734 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
18741 rm -f conftest.
$ac_objext
18742 if { (ac_try
="$ac_compile"
18743 case "(($ac_try" in
18744 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18745 *) ac_try_echo=$ac_try;;
18747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18748 (eval "$ac_compile") 2>conftest.er1
18750 grep -v '^ *+' conftest.er1 >conftest.err
18752 cat conftest.err >&5
18753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18754 (exit $ac_status); } && {
18755 test -z "$ac_c_werror_flag" ||
18756 test ! -s conftest.err
18757 } && test -s conftest.$ac_objext; then
18760 cat >conftest.$ac_ext <<_ACEOF
18763 cat confdefs.h >>conftest.$ac_ext
18764 cat >>conftest.$ac_ext <<_ACEOF
18765 /* end confdefs.h. */
18766 $ac_includes_default
18767 typedef void * ac__type_sizeof_;
18771 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
18778 rm -f conftest.$ac_objext
18779 if { (ac_try="$ac_compile"
18780 case "(($ac_try" in
18781 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18782 *) ac_try_echo
=$ac_try;;
18784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18785 (eval "$ac_compile") 2>conftest.er1
18787 grep -v '^ *+' conftest.er1
>conftest.err
18789 cat conftest.err
>&5
18790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18791 (exit $ac_status); } && {
18792 test -z "$ac_c_werror_flag" ||
18793 test ! -s conftest.err
18794 } && test -s conftest.
$ac_objext; then
18795 ac_lo
=$ac_mid; break
18797 echo "$as_me: failed program was:" >&5
18798 sed 's/^/| /' conftest.
$ac_ext >&5
18800 ac_hi
=`expr '(' $ac_mid ')' - 1`
18801 if test $ac_mid -le $ac_hi; then
18805 ac_mid
=`expr 2 '*' $ac_mid`
18808 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18811 echo "$as_me: failed program was:" >&5
18812 sed 's/^/| /' conftest.
$ac_ext >&5
18817 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18820 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18821 # Binary search between lo and hi bounds.
18822 while test "x$ac_lo" != "x$ac_hi"; do
18823 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18824 cat >conftest.
$ac_ext <<_ACEOF
18827 cat confdefs.h
>>conftest.
$ac_ext
18828 cat >>conftest.
$ac_ext <<_ACEOF
18829 /* end confdefs.h. */
18830 $ac_includes_default
18831 typedef void * ac__type_sizeof_;
18835 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18842 rm -f conftest.
$ac_objext
18843 if { (ac_try
="$ac_compile"
18844 case "(($ac_try" in
18845 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18846 *) ac_try_echo=$ac_try;;
18848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18849 (eval "$ac_compile") 2>conftest.er1
18851 grep -v '^ *+' conftest.er1 >conftest.err
18853 cat conftest.err >&5
18854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18855 (exit $ac_status); } && {
18856 test -z "$ac_c_werror_flag" ||
18857 test ! -s conftest.err
18858 } && test -s conftest.$ac_objext; then
18861 echo "$as_me: failed program was:" >&5
18862 sed 's/^/| /' conftest.$ac_ext >&5
18864 ac_lo=`expr '(' $ac_mid ')' + 1`
18867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18870 ?*) ac_cv_sizeof_void_p=$ac_lo;;
18871 '') if test "$ac_cv_type_void_p" = yes; then
18872 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
18873 See \`config.log
' for more details." >&5
18874 echo "$as_me: error: cannot compute sizeof (void *)
18875 See \`config.log' for more details.
" >&2;}
18876 { (exit 77); exit 77; }; }
18878 ac_cv_sizeof_void_p=0
18882 cat >conftest.$ac_ext <<_ACEOF
18885 cat confdefs.h >>conftest.$ac_ext
18886 cat >>conftest.$ac_ext <<_ACEOF
18887 /* end confdefs.h. */
18888 $ac_includes_default
18889 typedef void * ac__type_sizeof_;
18890 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
18891 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
18893 #include <stdlib.h>
18898 FILE *f = fopen ("conftest.val
", "w
");
18901 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
18903 long int i = longval ();
18904 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18906 fprintf (f, "%ld
\n", i);
18910 unsigned long int i = ulongval ();
18911 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18913 fprintf (f, "%lu
\n", i);
18915 return ferror (f) || fclose (f) != 0;
18921 rm -f conftest$ac_exeext
18922 if { (ac_try="$ac_link"
18923 case "(($ac_try" in
18924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18925 *) ac_try_echo=$ac_try;;
18927 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18928 (eval "$ac_link") 2>&5
18930 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18931 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18932 { (case "(($ac_try" in
18933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18934 *) ac_try_echo=$ac_try;;
18936 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18937 (eval "$ac_try") 2>&5
18939 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18940 (exit $ac_status); }; }; then
18941 ac_cv_sizeof_void_p=`cat conftest.val`
18943 echo "$as_me: program exited with status
$ac_status" >&5
18944 echo "$as_me: failed program was
:" >&5
18945 sed 's/^/| /' conftest.$ac_ext >&5
18947 ( exit $ac_status )
18948 if test "$ac_cv_type_void_p" = yes; then
18949 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
18950 See \
`config.log' for more details." >&5
18951 echo "$as_me: error: cannot compute sizeof (void *)
18952 See \`config.log
' for more details." >&2;}
18953 { (exit 77); exit 77; }; }
18955 ac_cv_sizeof_void_p=0
18958 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18962 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
18963 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
18967 cat >>confdefs.h <<_ACEOF
18968 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
18972 { echo "$as_me:$LINENO: checking for int" >&5
18973 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
18974 if test "${ac_cv_type_int+set}" = set; then
18975 echo $ECHO_N "(cached) $ECHO_C" >&6
18977 cat >conftest.$ac_ext <<_ACEOF
18980 cat confdefs.h >>conftest.$ac_ext
18981 cat >>conftest.$ac_ext <<_ACEOF
18982 /* end confdefs.h. */
18983 $ac_includes_default
18984 typedef int ac__type_new_;
18988 if ((ac__type_new_ *) 0)
18990 if (sizeof (ac__type_new_))
18996 rm -f conftest.$ac_objext
18997 if { (ac_try="$ac_compile"
18998 case "(($ac_try" in
18999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19000 *) ac_try_echo=$ac_try;;
19002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19003 (eval "$ac_compile") 2>conftest.er1
19005 grep -v '^
*+' conftest.er1 >conftest.err
19007 cat conftest.err >&5
19008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19009 (exit $ac_status); } && {
19010 test -z "$ac_c_werror_flag" ||
19011 test ! -s conftest.err
19012 } && test -s conftest.$ac_objext; then
19015 echo "$as_me: failed program was:" >&5
19016 sed 's
/^
/| /' conftest.$ac_ext >&5
19021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19023 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19024 echo "${ECHO_T}$ac_cv_type_int" >&6; }
19026 # The cast to long int works around a bug in the HP C Compiler
19027 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19028 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19029 # This bug is HP SR number 8606223364.
19030 { echo "$as_me:$LINENO: checking size of int" >&5
19031 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
19032 if test "${ac_cv_sizeof_int+set}" = set; then
19033 echo $ECHO_N "(cached) $ECHO_C" >&6
19035 if test "$cross_compiling" = yes; then
19036 # Depending upon the size, compute the lo and hi bounds.
19037 cat >conftest.
$ac_ext <<_ACEOF
19040 cat confdefs.h
>>conftest.
$ac_ext
19041 cat >>conftest.
$ac_ext <<_ACEOF
19042 /* end confdefs.h. */
19043 $ac_includes_default
19044 typedef int ac__type_sizeof_;
19048 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19055 rm -f conftest.
$ac_objext
19056 if { (ac_try
="$ac_compile"
19057 case "(($ac_try" in
19058 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19059 *) ac_try_echo=$ac_try;;
19061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19062 (eval "$ac_compile") 2>conftest.er1
19064 grep -v '^ *+' conftest.er1 >conftest.err
19066 cat conftest.err >&5
19067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19068 (exit $ac_status); } && {
19069 test -z "$ac_c_werror_flag" ||
19070 test ! -s conftest.err
19071 } && test -s conftest.$ac_objext; then
19074 cat >conftest.$ac_ext <<_ACEOF
19077 cat confdefs.h >>conftest.$ac_ext
19078 cat >>conftest.$ac_ext <<_ACEOF
19079 /* end confdefs.h. */
19080 $ac_includes_default
19081 typedef int ac__type_sizeof_;
19085 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19092 rm -f conftest.$ac_objext
19093 if { (ac_try="$ac_compile"
19094 case "(($ac_try" in
19095 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19096 *) ac_try_echo
=$ac_try;;
19098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19099 (eval "$ac_compile") 2>conftest.er1
19101 grep -v '^ *+' conftest.er1
>conftest.err
19103 cat conftest.err
>&5
19104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19105 (exit $ac_status); } && {
19106 test -z "$ac_c_werror_flag" ||
19107 test ! -s conftest.err
19108 } && test -s conftest.
$ac_objext; then
19109 ac_hi
=$ac_mid; break
19111 echo "$as_me: failed program was:" >&5
19112 sed 's/^/| /' conftest.
$ac_ext >&5
19114 ac_lo
=`expr $ac_mid + 1`
19115 if test $ac_lo -le $ac_mid; then
19119 ac_mid
=`expr 2 '*' $ac_mid + 1`
19122 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19125 echo "$as_me: failed program was:" >&5
19126 sed 's/^/| /' conftest.
$ac_ext >&5
19128 cat >conftest.
$ac_ext <<_ACEOF
19131 cat confdefs.h
>>conftest.
$ac_ext
19132 cat >>conftest.
$ac_ext <<_ACEOF
19133 /* end confdefs.h. */
19134 $ac_includes_default
19135 typedef int ac__type_sizeof_;
19139 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19146 rm -f conftest.
$ac_objext
19147 if { (ac_try
="$ac_compile"
19148 case "(($ac_try" in
19149 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19150 *) ac_try_echo=$ac_try;;
19152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19153 (eval "$ac_compile") 2>conftest.er1
19155 grep -v '^ *+' conftest.er1 >conftest.err
19157 cat conftest.err >&5
19158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19159 (exit $ac_status); } && {
19160 test -z "$ac_c_werror_flag" ||
19161 test ! -s conftest.err
19162 } && test -s conftest.$ac_objext; then
19165 cat >conftest.$ac_ext <<_ACEOF
19168 cat confdefs.h >>conftest.$ac_ext
19169 cat >>conftest.$ac_ext <<_ACEOF
19170 /* end confdefs.h. */
19171 $ac_includes_default
19172 typedef int ac__type_sizeof_;
19176 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19183 rm -f conftest.$ac_objext
19184 if { (ac_try="$ac_compile"
19185 case "(($ac_try" in
19186 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19187 *) ac_try_echo
=$ac_try;;
19189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19190 (eval "$ac_compile") 2>conftest.er1
19192 grep -v '^ *+' conftest.er1
>conftest.err
19194 cat conftest.err
>&5
19195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19196 (exit $ac_status); } && {
19197 test -z "$ac_c_werror_flag" ||
19198 test ! -s conftest.err
19199 } && test -s conftest.
$ac_objext; then
19200 ac_lo
=$ac_mid; break
19202 echo "$as_me: failed program was:" >&5
19203 sed 's/^/| /' conftest.
$ac_ext >&5
19205 ac_hi
=`expr '(' $ac_mid ')' - 1`
19206 if test $ac_mid -le $ac_hi; then
19210 ac_mid
=`expr 2 '*' $ac_mid`
19213 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19216 echo "$as_me: failed program was:" >&5
19217 sed 's/^/| /' conftest.
$ac_ext >&5
19222 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19225 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19226 # Binary search between lo and hi bounds.
19227 while test "x$ac_lo" != "x$ac_hi"; do
19228 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19229 cat >conftest.
$ac_ext <<_ACEOF
19232 cat confdefs.h
>>conftest.
$ac_ext
19233 cat >>conftest.
$ac_ext <<_ACEOF
19234 /* end confdefs.h. */
19235 $ac_includes_default
19236 typedef int ac__type_sizeof_;
19240 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19247 rm -f conftest.
$ac_objext
19248 if { (ac_try
="$ac_compile"
19249 case "(($ac_try" in
19250 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19251 *) ac_try_echo=$ac_try;;
19253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19254 (eval "$ac_compile") 2>conftest.er1
19256 grep -v '^ *+' conftest.er1 >conftest.err
19258 cat conftest.err >&5
19259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19260 (exit $ac_status); } && {
19261 test -z "$ac_c_werror_flag" ||
19262 test ! -s conftest.err
19263 } && test -s conftest.$ac_objext; then
19266 echo "$as_me: failed program was:" >&5
19267 sed 's/^/| /' conftest.$ac_ext >&5
19269 ac_lo=`expr '(' $ac_mid ')' + 1`
19272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19275 ?*) ac_cv_sizeof_int=$ac_lo;;
19276 '') if test "$ac_cv_type_int" = yes; then
19277 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
19278 See \`config.log
' for more details." >&5
19279 echo "$as_me: error: cannot compute sizeof (int)
19280 See \`config.log' for more details.
" >&2;}
19281 { (exit 77); exit 77; }; }
19287 cat >conftest.$ac_ext <<_ACEOF
19290 cat confdefs.h >>conftest.$ac_ext
19291 cat >>conftest.$ac_ext <<_ACEOF
19292 /* end confdefs.h. */
19293 $ac_includes_default
19294 typedef int ac__type_sizeof_;
19295 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19296 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19298 #include <stdlib.h>
19303 FILE *f = fopen ("conftest.val
", "w
");
19306 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19308 long int i = longval ();
19309 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19311 fprintf (f, "%ld
\n", i);
19315 unsigned long int i = ulongval ();
19316 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19318 fprintf (f, "%lu
\n", i);
19320 return ferror (f) || fclose (f) != 0;
19326 rm -f conftest$ac_exeext
19327 if { (ac_try="$ac_link"
19328 case "(($ac_try" in
19329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19330 *) ac_try_echo=$ac_try;;
19332 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19333 (eval "$ac_link") 2>&5
19335 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19336 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19337 { (case "(($ac_try" in
19338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19339 *) ac_try_echo=$ac_try;;
19341 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19342 (eval "$ac_try") 2>&5
19344 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19345 (exit $ac_status); }; }; then
19346 ac_cv_sizeof_int=`cat conftest.val`
19348 echo "$as_me: program exited with status
$ac_status" >&5
19349 echo "$as_me: failed program was
:" >&5
19350 sed 's/^/| /' conftest.$ac_ext >&5
19352 ( exit $ac_status )
19353 if test "$ac_cv_type_int" = yes; then
19354 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
19355 See \
`config.log' for more details." >&5
19356 echo "$as_me: error: cannot compute sizeof (int)
19357 See \`config.log
' for more details." >&2;}
19358 { (exit 77); exit 77; }; }
19363 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19367 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
19368 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
19372 cat >>confdefs.h <<_ACEOF
19373 #define SIZEOF_INT $ac_cv_sizeof_int
19377 { echo "$as_me:$LINENO: checking for long" >&5
19378 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
19379 if test "${ac_cv_type_long+set}" = set; then
19380 echo $ECHO_N "(cached) $ECHO_C" >&6
19382 cat >conftest.$ac_ext <<_ACEOF
19385 cat confdefs.h >>conftest.$ac_ext
19386 cat >>conftest.$ac_ext <<_ACEOF
19387 /* end confdefs.h. */
19388 $ac_includes_default
19389 typedef long ac__type_new_;
19393 if ((ac__type_new_ *) 0)
19395 if (sizeof (ac__type_new_))
19401 rm -f conftest.$ac_objext
19402 if { (ac_try="$ac_compile"
19403 case "(($ac_try" in
19404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19405 *) ac_try_echo=$ac_try;;
19407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19408 (eval "$ac_compile") 2>conftest.er1
19410 grep -v '^
*+' conftest.er1 >conftest.err
19412 cat conftest.err >&5
19413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19414 (exit $ac_status); } && {
19415 test -z "$ac_c_werror_flag" ||
19416 test ! -s conftest.err
19417 } && test -s conftest.$ac_objext; then
19418 ac_cv_type_long=yes
19420 echo "$as_me: failed program was:" >&5
19421 sed 's
/^
/| /' conftest.$ac_ext >&5
19426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19428 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
19429 echo "${ECHO_T}$ac_cv_type_long" >&6; }
19431 # The cast to long int works around a bug in the HP C Compiler
19432 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19433 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19434 # This bug is HP SR number 8606223364.
19435 { echo "$as_me:$LINENO: checking size of long" >&5
19436 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
19437 if test "${ac_cv_sizeof_long+set}" = set; then
19438 echo $ECHO_N "(cached) $ECHO_C" >&6
19440 if test "$cross_compiling" = yes; then
19441 # Depending upon the size, compute the lo and hi bounds.
19442 cat >conftest.
$ac_ext <<_ACEOF
19445 cat confdefs.h
>>conftest.
$ac_ext
19446 cat >>conftest.
$ac_ext <<_ACEOF
19447 /* end confdefs.h. */
19448 $ac_includes_default
19449 typedef long ac__type_sizeof_;
19453 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19460 rm -f conftest.
$ac_objext
19461 if { (ac_try
="$ac_compile"
19462 case "(($ac_try" in
19463 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19464 *) ac_try_echo=$ac_try;;
19466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19467 (eval "$ac_compile") 2>conftest.er1
19469 grep -v '^ *+' conftest.er1 >conftest.err
19471 cat conftest.err >&5
19472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19473 (exit $ac_status); } && {
19474 test -z "$ac_c_werror_flag" ||
19475 test ! -s conftest.err
19476 } && test -s conftest.$ac_objext; then
19479 cat >conftest.$ac_ext <<_ACEOF
19482 cat confdefs.h >>conftest.$ac_ext
19483 cat >>conftest.$ac_ext <<_ACEOF
19484 /* end confdefs.h. */
19485 $ac_includes_default
19486 typedef long ac__type_sizeof_;
19490 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19497 rm -f conftest.$ac_objext
19498 if { (ac_try="$ac_compile"
19499 case "(($ac_try" in
19500 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19501 *) ac_try_echo
=$ac_try;;
19503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19504 (eval "$ac_compile") 2>conftest.er1
19506 grep -v '^ *+' conftest.er1
>conftest.err
19508 cat conftest.err
>&5
19509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19510 (exit $ac_status); } && {
19511 test -z "$ac_c_werror_flag" ||
19512 test ! -s conftest.err
19513 } && test -s conftest.
$ac_objext; then
19514 ac_hi
=$ac_mid; break
19516 echo "$as_me: failed program was:" >&5
19517 sed 's/^/| /' conftest.
$ac_ext >&5
19519 ac_lo
=`expr $ac_mid + 1`
19520 if test $ac_lo -le $ac_mid; then
19524 ac_mid
=`expr 2 '*' $ac_mid + 1`
19527 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19530 echo "$as_me: failed program was:" >&5
19531 sed 's/^/| /' conftest.
$ac_ext >&5
19533 cat >conftest.
$ac_ext <<_ACEOF
19536 cat confdefs.h
>>conftest.
$ac_ext
19537 cat >>conftest.
$ac_ext <<_ACEOF
19538 /* end confdefs.h. */
19539 $ac_includes_default
19540 typedef long ac__type_sizeof_;
19544 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19551 rm -f conftest.
$ac_objext
19552 if { (ac_try
="$ac_compile"
19553 case "(($ac_try" in
19554 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19555 *) ac_try_echo=$ac_try;;
19557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19558 (eval "$ac_compile") 2>conftest.er1
19560 grep -v '^ *+' conftest.er1 >conftest.err
19562 cat conftest.err >&5
19563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19564 (exit $ac_status); } && {
19565 test -z "$ac_c_werror_flag" ||
19566 test ! -s conftest.err
19567 } && test -s conftest.$ac_objext; then
19570 cat >conftest.$ac_ext <<_ACEOF
19573 cat confdefs.h >>conftest.$ac_ext
19574 cat >>conftest.$ac_ext <<_ACEOF
19575 /* end confdefs.h. */
19576 $ac_includes_default
19577 typedef long ac__type_sizeof_;
19581 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19588 rm -f conftest.$ac_objext
19589 if { (ac_try="$ac_compile"
19590 case "(($ac_try" in
19591 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19592 *) ac_try_echo
=$ac_try;;
19594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19595 (eval "$ac_compile") 2>conftest.er1
19597 grep -v '^ *+' conftest.er1
>conftest.err
19599 cat conftest.err
>&5
19600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19601 (exit $ac_status); } && {
19602 test -z "$ac_c_werror_flag" ||
19603 test ! -s conftest.err
19604 } && test -s conftest.
$ac_objext; then
19605 ac_lo
=$ac_mid; break
19607 echo "$as_me: failed program was:" >&5
19608 sed 's/^/| /' conftest.
$ac_ext >&5
19610 ac_hi
=`expr '(' $ac_mid ')' - 1`
19611 if test $ac_mid -le $ac_hi; then
19615 ac_mid
=`expr 2 '*' $ac_mid`
19618 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19621 echo "$as_me: failed program was:" >&5
19622 sed 's/^/| /' conftest.
$ac_ext >&5
19627 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19630 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19631 # Binary search between lo and hi bounds.
19632 while test "x$ac_lo" != "x$ac_hi"; do
19633 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19634 cat >conftest.
$ac_ext <<_ACEOF
19637 cat confdefs.h
>>conftest.
$ac_ext
19638 cat >>conftest.
$ac_ext <<_ACEOF
19639 /* end confdefs.h. */
19640 $ac_includes_default
19641 typedef long ac__type_sizeof_;
19645 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19652 rm -f conftest.
$ac_objext
19653 if { (ac_try
="$ac_compile"
19654 case "(($ac_try" in
19655 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19656 *) ac_try_echo=$ac_try;;
19658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19659 (eval "$ac_compile") 2>conftest.er1
19661 grep -v '^ *+' conftest.er1 >conftest.err
19663 cat conftest.err >&5
19664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19665 (exit $ac_status); } && {
19666 test -z "$ac_c_werror_flag" ||
19667 test ! -s conftest.err
19668 } && test -s conftest.$ac_objext; then
19671 echo "$as_me: failed program was:" >&5
19672 sed 's/^/| /' conftest.$ac_ext >&5
19674 ac_lo=`expr '(' $ac_mid ')' + 1`
19677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19680 ?*) ac_cv_sizeof_long=$ac_lo;;
19681 '') if test "$ac_cv_type_long" = yes; then
19682 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
19683 See \`config.log
' for more details." >&5
19684 echo "$as_me: error: cannot compute sizeof (long)
19685 See \`config.log' for more details.
" >&2;}
19686 { (exit 77); exit 77; }; }
19688 ac_cv_sizeof_long=0
19692 cat >conftest.$ac_ext <<_ACEOF
19695 cat confdefs.h >>conftest.$ac_ext
19696 cat >>conftest.$ac_ext <<_ACEOF
19697 /* end confdefs.h. */
19698 $ac_includes_default
19699 typedef long ac__type_sizeof_;
19700 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19701 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19703 #include <stdlib.h>
19708 FILE *f = fopen ("conftest.val
", "w
");
19711 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19713 long int i = longval ();
19714 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19716 fprintf (f, "%ld
\n", i);
19720 unsigned long int i = ulongval ();
19721 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19723 fprintf (f, "%lu
\n", i);
19725 return ferror (f) || fclose (f) != 0;
19731 rm -f conftest$ac_exeext
19732 if { (ac_try="$ac_link"
19733 case "(($ac_try" in
19734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19735 *) ac_try_echo=$ac_try;;
19737 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19738 (eval "$ac_link") 2>&5
19740 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19741 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19742 { (case "(($ac_try" in
19743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19744 *) ac_try_echo=$ac_try;;
19746 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19747 (eval "$ac_try") 2>&5
19749 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19750 (exit $ac_status); }; }; then
19751 ac_cv_sizeof_long=`cat conftest.val`
19753 echo "$as_me: program exited with status
$ac_status" >&5
19754 echo "$as_me: failed program was
:" >&5
19755 sed 's/^/| /' conftest.$ac_ext >&5
19757 ( exit $ac_status )
19758 if test "$ac_cv_type_long" = yes; then
19759 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
19760 See \
`config.log' for more details." >&5
19761 echo "$as_me: error: cannot compute sizeof (long)
19762 See \`config.log
' for more details." >&2;}
19763 { (exit 77); exit 77; }; }
19765 ac_cv_sizeof_long=0
19768 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19772 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
19773 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
19777 cat >>confdefs.h <<_ACEOF
19778 #define SIZEOF_LONG $ac_cv_sizeof_long
19782 { echo "$as_me:$LINENO: checking for size_t" >&5
19783 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
19784 if test "${ac_cv_type_size_t+set}" = set; then
19785 echo $ECHO_N "(cached) $ECHO_C" >&6
19787 cat >conftest.$ac_ext <<_ACEOF
19790 cat confdefs.h >>conftest.$ac_ext
19791 cat >>conftest.$ac_ext <<_ACEOF
19792 /* end confdefs.h. */
19793 $ac_includes_default
19794 typedef size_t ac__type_new_;
19798 if ((ac__type_new_ *) 0)
19800 if (sizeof (ac__type_new_))
19806 rm -f conftest.$ac_objext
19807 if { (ac_try="$ac_compile"
19808 case "(($ac_try" in
19809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19810 *) ac_try_echo=$ac_try;;
19812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19813 (eval "$ac_compile") 2>conftest.er1
19815 grep -v '^
*+' conftest.er1 >conftest.err
19817 cat conftest.err >&5
19818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19819 (exit $ac_status); } && {
19820 test -z "$ac_c_werror_flag" ||
19821 test ! -s conftest.err
19822 } && test -s conftest.$ac_objext; then
19823 ac_cv_type_size_t=yes
19825 echo "$as_me: failed program was:" >&5
19826 sed 's
/^
/| /' conftest.$ac_ext >&5
19828 ac_cv_type_size_t=no
19831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19833 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19834 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
19836 # The cast to long int works around a bug in the HP C Compiler
19837 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19838 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19839 # This bug is HP SR number 8606223364.
19840 { echo "$as_me:$LINENO: checking size of size_t" >&5
19841 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
19842 if test "${ac_cv_sizeof_size_t+set}" = set; then
19843 echo $ECHO_N "(cached) $ECHO_C" >&6
19845 if test "$cross_compiling" = yes; then
19846 # Depending upon the size, compute the lo and hi bounds.
19847 cat >conftest.
$ac_ext <<_ACEOF
19850 cat confdefs.h
>>conftest.
$ac_ext
19851 cat >>conftest.
$ac_ext <<_ACEOF
19852 /* end confdefs.h. */
19853 $ac_includes_default
19854 typedef size_t ac__type_sizeof_;
19858 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19865 rm -f conftest.
$ac_objext
19866 if { (ac_try
="$ac_compile"
19867 case "(($ac_try" in
19868 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19869 *) ac_try_echo=$ac_try;;
19871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19872 (eval "$ac_compile") 2>conftest.er1
19874 grep -v '^ *+' conftest.er1 >conftest.err
19876 cat conftest.err >&5
19877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19878 (exit $ac_status); } && {
19879 test -z "$ac_c_werror_flag" ||
19880 test ! -s conftest.err
19881 } && test -s conftest.$ac_objext; then
19884 cat >conftest.$ac_ext <<_ACEOF
19887 cat confdefs.h >>conftest.$ac_ext
19888 cat >>conftest.$ac_ext <<_ACEOF
19889 /* end confdefs.h. */
19890 $ac_includes_default
19891 typedef size_t ac__type_sizeof_;
19895 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19902 rm -f conftest.$ac_objext
19903 if { (ac_try="$ac_compile"
19904 case "(($ac_try" in
19905 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19906 *) ac_try_echo
=$ac_try;;
19908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19909 (eval "$ac_compile") 2>conftest.er1
19911 grep -v '^ *+' conftest.er1
>conftest.err
19913 cat conftest.err
>&5
19914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19915 (exit $ac_status); } && {
19916 test -z "$ac_c_werror_flag" ||
19917 test ! -s conftest.err
19918 } && test -s conftest.
$ac_objext; then
19919 ac_hi
=$ac_mid; break
19921 echo "$as_me: failed program was:" >&5
19922 sed 's/^/| /' conftest.
$ac_ext >&5
19924 ac_lo
=`expr $ac_mid + 1`
19925 if test $ac_lo -le $ac_mid; then
19929 ac_mid
=`expr 2 '*' $ac_mid + 1`
19932 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19935 echo "$as_me: failed program was:" >&5
19936 sed 's/^/| /' conftest.
$ac_ext >&5
19938 cat >conftest.
$ac_ext <<_ACEOF
19941 cat confdefs.h
>>conftest.
$ac_ext
19942 cat >>conftest.
$ac_ext <<_ACEOF
19943 /* end confdefs.h. */
19944 $ac_includes_default
19945 typedef size_t ac__type_sizeof_;
19949 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19956 rm -f conftest.
$ac_objext
19957 if { (ac_try
="$ac_compile"
19958 case "(($ac_try" in
19959 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19960 *) ac_try_echo=$ac_try;;
19962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19963 (eval "$ac_compile") 2>conftest.er1
19965 grep -v '^ *+' conftest.er1 >conftest.err
19967 cat conftest.err >&5
19968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19969 (exit $ac_status); } && {
19970 test -z "$ac_c_werror_flag" ||
19971 test ! -s conftest.err
19972 } && test -s conftest.$ac_objext; then
19975 cat >conftest.$ac_ext <<_ACEOF
19978 cat confdefs.h >>conftest.$ac_ext
19979 cat >>conftest.$ac_ext <<_ACEOF
19980 /* end confdefs.h. */
19981 $ac_includes_default
19982 typedef size_t ac__type_sizeof_;
19986 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19993 rm -f conftest.$ac_objext
19994 if { (ac_try="$ac_compile"
19995 case "(($ac_try" in
19996 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19997 *) ac_try_echo
=$ac_try;;
19999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20000 (eval "$ac_compile") 2>conftest.er1
20002 grep -v '^ *+' conftest.er1
>conftest.err
20004 cat conftest.err
>&5
20005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20006 (exit $ac_status); } && {
20007 test -z "$ac_c_werror_flag" ||
20008 test ! -s conftest.err
20009 } && test -s conftest.
$ac_objext; then
20010 ac_lo
=$ac_mid; break
20012 echo "$as_me: failed program was:" >&5
20013 sed 's/^/| /' conftest.
$ac_ext >&5
20015 ac_hi
=`expr '(' $ac_mid ')' - 1`
20016 if test $ac_mid -le $ac_hi; then
20020 ac_mid
=`expr 2 '*' $ac_mid`
20023 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20026 echo "$as_me: failed program was:" >&5
20027 sed 's/^/| /' conftest.
$ac_ext >&5
20032 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20035 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20036 # Binary search between lo and hi bounds.
20037 while test "x$ac_lo" != "x$ac_hi"; do
20038 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20039 cat >conftest.
$ac_ext <<_ACEOF
20042 cat confdefs.h
>>conftest.
$ac_ext
20043 cat >>conftest.
$ac_ext <<_ACEOF
20044 /* end confdefs.h. */
20045 $ac_includes_default
20046 typedef size_t ac__type_sizeof_;
20050 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20057 rm -f conftest.
$ac_objext
20058 if { (ac_try
="$ac_compile"
20059 case "(($ac_try" in
20060 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20061 *) ac_try_echo=$ac_try;;
20063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20064 (eval "$ac_compile") 2>conftest.er1
20066 grep -v '^ *+' conftest.er1 >conftest.err
20068 cat conftest.err >&5
20069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20070 (exit $ac_status); } && {
20071 test -z "$ac_c_werror_flag" ||
20072 test ! -s conftest.err
20073 } && test -s conftest.$ac_objext; then
20076 echo "$as_me: failed program was:" >&5
20077 sed 's/^/| /' conftest.$ac_ext >&5
20079 ac_lo=`expr '(' $ac_mid ')' + 1`
20082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20085 ?*) ac_cv_sizeof_size_t=$ac_lo;;
20086 '') if test "$ac_cv_type_size_t" = yes; then
20087 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
20088 See \`config.log
' for more details." >&5
20089 echo "$as_me: error: cannot compute sizeof (size_t)
20090 See \`config.log' for more details.
" >&2;}
20091 { (exit 77); exit 77; }; }
20093 ac_cv_sizeof_size_t=0
20097 cat >conftest.$ac_ext <<_ACEOF
20100 cat confdefs.h >>conftest.$ac_ext
20101 cat >>conftest.$ac_ext <<_ACEOF
20102 /* end confdefs.h. */
20103 $ac_includes_default
20104 typedef size_t ac__type_sizeof_;
20105 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20106 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20108 #include <stdlib.h>
20113 FILE *f = fopen ("conftest.val
", "w
");
20116 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20118 long int i = longval ();
20119 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20121 fprintf (f, "%ld
\n", i);
20125 unsigned long int i = ulongval ();
20126 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20128 fprintf (f, "%lu
\n", i);
20130 return ferror (f) || fclose (f) != 0;
20136 rm -f conftest$ac_exeext
20137 if { (ac_try="$ac_link"
20138 case "(($ac_try" in
20139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20140 *) ac_try_echo=$ac_try;;
20142 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20143 (eval "$ac_link") 2>&5
20145 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20146 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20147 { (case "(($ac_try" in
20148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20149 *) ac_try_echo=$ac_try;;
20151 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20152 (eval "$ac_try") 2>&5
20154 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20155 (exit $ac_status); }; }; then
20156 ac_cv_sizeof_size_t=`cat conftest.val`
20158 echo "$as_me: program exited with status
$ac_status" >&5
20159 echo "$as_me: failed program was
:" >&5
20160 sed 's/^/| /' conftest.$ac_ext >&5
20162 ( exit $ac_status )
20163 if test "$ac_cv_type_size_t" = yes; then
20164 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(size_t
)
20165 See \
`config.log' for more details." >&5
20166 echo "$as_me: error: cannot compute sizeof (size_t)
20167 See \`config.log
' for more details." >&2;}
20168 { (exit 77); exit 77; }; }
20170 ac_cv_sizeof_size_t=0
20173 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20177 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
20178 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
20182 cat >>confdefs.h <<_ACEOF
20183 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20190 { echo "$as_me:$LINENO: checking for long long" >&5
20191 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
20192 if test "${ac_cv_type_long_long+set}" = set; then
20193 echo $ECHO_N "(cached) $ECHO_C" >&6
20195 cat >conftest.$ac_ext <<_ACEOF
20198 cat confdefs.h >>conftest.$ac_ext
20199 cat >>conftest.$ac_ext <<_ACEOF
20200 /* end confdefs.h. */
20201 $ac_includes_default
20202 typedef long long ac__type_new_;
20206 if ((ac__type_new_ *) 0)
20208 if (sizeof (ac__type_new_))
20214 rm -f conftest.$ac_objext
20215 if { (ac_try="$ac_compile"
20216 case "(($ac_try" in
20217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20218 *) ac_try_echo=$ac_try;;
20220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20221 (eval "$ac_compile") 2>conftest.er1
20223 grep -v '^
*+' conftest.er1 >conftest.err
20225 cat conftest.err >&5
20226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20227 (exit $ac_status); } && {
20228 test -z "$ac_c_werror_flag" ||
20229 test ! -s conftest.err
20230 } && test -s conftest.$ac_objext; then
20231 ac_cv_type_long_long=yes
20233 echo "$as_me: failed program was:" >&5
20234 sed 's
/^
/| /' conftest.$ac_ext >&5
20236 ac_cv_type_long_long=no
20239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20241 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20242 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
20244 # The cast to long int works around a bug in the HP C Compiler
20245 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20246 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20247 # This bug is HP SR number 8606223364.
20248 { echo "$as_me:$LINENO: checking size of long long" >&5
20249 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
20250 if test "${ac_cv_sizeof_long_long+set}" = set; then
20251 echo $ECHO_N "(cached) $ECHO_C" >&6
20253 if test "$cross_compiling" = yes; then
20254 # Depending upon the size, compute the lo and hi bounds.
20255 cat >conftest.
$ac_ext <<_ACEOF
20258 cat confdefs.h
>>conftest.
$ac_ext
20259 cat >>conftest.
$ac_ext <<_ACEOF
20260 /* end confdefs.h. */
20261 $ac_includes_default
20262 typedef long long ac__type_sizeof_;
20266 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20273 rm -f conftest.
$ac_objext
20274 if { (ac_try
="$ac_compile"
20275 case "(($ac_try" in
20276 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20277 *) ac_try_echo=$ac_try;;
20279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20280 (eval "$ac_compile") 2>conftest.er1
20282 grep -v '^ *+' conftest.er1 >conftest.err
20284 cat conftest.err >&5
20285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20286 (exit $ac_status); } && {
20287 test -z "$ac_c_werror_flag" ||
20288 test ! -s conftest.err
20289 } && test -s conftest.$ac_objext; then
20292 cat >conftest.$ac_ext <<_ACEOF
20295 cat confdefs.h >>conftest.$ac_ext
20296 cat >>conftest.$ac_ext <<_ACEOF
20297 /* end confdefs.h. */
20298 $ac_includes_default
20299 typedef long long ac__type_sizeof_;
20303 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20310 rm -f conftest.$ac_objext
20311 if { (ac_try="$ac_compile"
20312 case "(($ac_try" in
20313 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20314 *) ac_try_echo
=$ac_try;;
20316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20317 (eval "$ac_compile") 2>conftest.er1
20319 grep -v '^ *+' conftest.er1
>conftest.err
20321 cat conftest.err
>&5
20322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20323 (exit $ac_status); } && {
20324 test -z "$ac_c_werror_flag" ||
20325 test ! -s conftest.err
20326 } && test -s conftest.
$ac_objext; then
20327 ac_hi
=$ac_mid; break
20329 echo "$as_me: failed program was:" >&5
20330 sed 's/^/| /' conftest.
$ac_ext >&5
20332 ac_lo
=`expr $ac_mid + 1`
20333 if test $ac_lo -le $ac_mid; then
20337 ac_mid
=`expr 2 '*' $ac_mid + 1`
20340 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20343 echo "$as_me: failed program was:" >&5
20344 sed 's/^/| /' conftest.
$ac_ext >&5
20346 cat >conftest.
$ac_ext <<_ACEOF
20349 cat confdefs.h
>>conftest.
$ac_ext
20350 cat >>conftest.
$ac_ext <<_ACEOF
20351 /* end confdefs.h. */
20352 $ac_includes_default
20353 typedef long long ac__type_sizeof_;
20357 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20364 rm -f conftest.
$ac_objext
20365 if { (ac_try
="$ac_compile"
20366 case "(($ac_try" in
20367 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20368 *) ac_try_echo=$ac_try;;
20370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20371 (eval "$ac_compile") 2>conftest.er1
20373 grep -v '^ *+' conftest.er1 >conftest.err
20375 cat conftest.err >&5
20376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20377 (exit $ac_status); } && {
20378 test -z "$ac_c_werror_flag" ||
20379 test ! -s conftest.err
20380 } && test -s conftest.$ac_objext; then
20383 cat >conftest.$ac_ext <<_ACEOF
20386 cat confdefs.h >>conftest.$ac_ext
20387 cat >>conftest.$ac_ext <<_ACEOF
20388 /* end confdefs.h. */
20389 $ac_includes_default
20390 typedef long long ac__type_sizeof_;
20394 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20401 rm -f conftest.$ac_objext
20402 if { (ac_try="$ac_compile"
20403 case "(($ac_try" in
20404 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20405 *) ac_try_echo
=$ac_try;;
20407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20408 (eval "$ac_compile") 2>conftest.er1
20410 grep -v '^ *+' conftest.er1
>conftest.err
20412 cat conftest.err
>&5
20413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20414 (exit $ac_status); } && {
20415 test -z "$ac_c_werror_flag" ||
20416 test ! -s conftest.err
20417 } && test -s conftest.
$ac_objext; then
20418 ac_lo
=$ac_mid; break
20420 echo "$as_me: failed program was:" >&5
20421 sed 's/^/| /' conftest.
$ac_ext >&5
20423 ac_hi
=`expr '(' $ac_mid ')' - 1`
20424 if test $ac_mid -le $ac_hi; then
20428 ac_mid
=`expr 2 '*' $ac_mid`
20431 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20434 echo "$as_me: failed program was:" >&5
20435 sed 's/^/| /' conftest.
$ac_ext >&5
20440 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20443 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20444 # Binary search between lo and hi bounds.
20445 while test "x$ac_lo" != "x$ac_hi"; do
20446 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20447 cat >conftest.
$ac_ext <<_ACEOF
20450 cat confdefs.h
>>conftest.
$ac_ext
20451 cat >>conftest.
$ac_ext <<_ACEOF
20452 /* end confdefs.h. */
20453 $ac_includes_default
20454 typedef long long ac__type_sizeof_;
20458 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20465 rm -f conftest.
$ac_objext
20466 if { (ac_try
="$ac_compile"
20467 case "(($ac_try" in
20468 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20469 *) ac_try_echo=$ac_try;;
20471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20472 (eval "$ac_compile") 2>conftest.er1
20474 grep -v '^ *+' conftest.er1 >conftest.err
20476 cat conftest.err >&5
20477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20478 (exit $ac_status); } && {
20479 test -z "$ac_c_werror_flag" ||
20480 test ! -s conftest.err
20481 } && test -s conftest.$ac_objext; then
20484 echo "$as_me: failed program was:" >&5
20485 sed 's/^/| /' conftest.$ac_ext >&5
20487 ac_lo=`expr '(' $ac_mid ')' + 1`
20490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20493 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20494 '') if test "$ac_cv_type_long_long" = yes; then
20495 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
20496 See \`config.log
' for more details." >&5
20497 echo "$as_me: error: cannot compute sizeof (long long)
20498 See \`config.log' for more details.
" >&2;}
20499 { (exit 77); exit 77; }; }
20501 ac_cv_sizeof_long_long=0
20505 cat >conftest.$ac_ext <<_ACEOF
20508 cat confdefs.h >>conftest.$ac_ext
20509 cat >>conftest.$ac_ext <<_ACEOF
20510 /* end confdefs.h. */
20511 $ac_includes_default
20512 typedef long long ac__type_sizeof_;
20513 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20514 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20516 #include <stdlib.h>
20521 FILE *f = fopen ("conftest.val
", "w
");
20524 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20526 long int i = longval ();
20527 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20529 fprintf (f, "%ld
\n", i);
20533 unsigned long int i = ulongval ();
20534 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20536 fprintf (f, "%lu
\n", i);
20538 return ferror (f) || fclose (f) != 0;
20544 rm -f conftest$ac_exeext
20545 if { (ac_try="$ac_link"
20546 case "(($ac_try" in
20547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20548 *) ac_try_echo=$ac_try;;
20550 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20551 (eval "$ac_link") 2>&5
20553 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20554 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20555 { (case "(($ac_try" in
20556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20557 *) ac_try_echo=$ac_try;;
20559 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20560 (eval "$ac_try") 2>&5
20562 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20563 (exit $ac_status); }; }; then
20564 ac_cv_sizeof_long_long=`cat conftest.val`
20566 echo "$as_me: program exited with status
$ac_status" >&5
20567 echo "$as_me: failed program was
:" >&5
20568 sed 's/^/| /' conftest.$ac_ext >&5
20570 ( exit $ac_status )
20571 if test "$ac_cv_type_long_long" = yes; then
20572 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
20573 See \
`config.log' for more details." >&5
20574 echo "$as_me: error: cannot compute sizeof (long long)
20575 See \`config.log
' for more details." >&2;}
20576 { (exit 77); exit 77; }; }
20578 ac_cv_sizeof_long_long=0
20581 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20585 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20586 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
20590 cat >>confdefs.h <<_ACEOF
20591 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20597 { echo "$as_me:$LINENO: checking for long long" >&5
20598 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
20599 if test "${ac_cv_type_long_long+set}" = set; then
20600 echo $ECHO_N "(cached) $ECHO_C" >&6
20602 cat >conftest.$ac_ext <<_ACEOF
20605 cat confdefs.h >>conftest.$ac_ext
20606 cat >>conftest.$ac_ext <<_ACEOF
20607 /* end confdefs.h. */
20608 $ac_includes_default
20609 typedef long long ac__type_new_;
20613 if ((ac__type_new_ *) 0)
20615 if (sizeof (ac__type_new_))
20621 rm -f conftest.$ac_objext
20622 if { (ac_try="$ac_compile"
20623 case "(($ac_try" in
20624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20625 *) ac_try_echo=$ac_try;;
20627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20628 (eval "$ac_compile") 2>conftest.er1
20630 grep -v '^
*+' conftest.er1 >conftest.err
20632 cat conftest.err >&5
20633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20634 (exit $ac_status); } && {
20635 test -z "$ac_c_werror_flag" ||
20636 test ! -s conftest.err
20637 } && test -s conftest.$ac_objext; then
20638 ac_cv_type_long_long=yes
20640 echo "$as_me: failed program was:" >&5
20641 sed 's
/^
/| /' conftest.$ac_ext >&5
20643 ac_cv_type_long_long=no
20646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20648 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20649 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
20651 # The cast to long int works around a bug in the HP C Compiler
20652 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20653 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20654 # This bug is HP SR number 8606223364.
20655 { echo "$as_me:$LINENO: checking size of long long" >&5
20656 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
20657 if test "${ac_cv_sizeof_long_long+set}" = set; then
20658 echo $ECHO_N "(cached) $ECHO_C" >&6
20660 if test "$cross_compiling" = yes; then
20661 # Depending upon the size, compute the lo and hi bounds.
20662 cat >conftest.
$ac_ext <<_ACEOF
20665 cat confdefs.h
>>conftest.
$ac_ext
20666 cat >>conftest.
$ac_ext <<_ACEOF
20667 /* end confdefs.h. */
20668 $ac_includes_default
20669 typedef long long ac__type_sizeof_;
20673 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20680 rm -f conftest.
$ac_objext
20681 if { (ac_try
="$ac_compile"
20682 case "(($ac_try" in
20683 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20684 *) ac_try_echo=$ac_try;;
20686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20687 (eval "$ac_compile") 2>conftest.er1
20689 grep -v '^ *+' conftest.er1 >conftest.err
20691 cat conftest.err >&5
20692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20693 (exit $ac_status); } && {
20694 test -z "$ac_c_werror_flag" ||
20695 test ! -s conftest.err
20696 } && test -s conftest.$ac_objext; then
20699 cat >conftest.$ac_ext <<_ACEOF
20702 cat confdefs.h >>conftest.$ac_ext
20703 cat >>conftest.$ac_ext <<_ACEOF
20704 /* end confdefs.h. */
20705 $ac_includes_default
20706 typedef long long ac__type_sizeof_;
20710 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20717 rm -f conftest.$ac_objext
20718 if { (ac_try="$ac_compile"
20719 case "(($ac_try" in
20720 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20721 *) ac_try_echo
=$ac_try;;
20723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20724 (eval "$ac_compile") 2>conftest.er1
20726 grep -v '^ *+' conftest.er1
>conftest.err
20728 cat conftest.err
>&5
20729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20730 (exit $ac_status); } && {
20731 test -z "$ac_c_werror_flag" ||
20732 test ! -s conftest.err
20733 } && test -s conftest.
$ac_objext; then
20734 ac_hi
=$ac_mid; break
20736 echo "$as_me: failed program was:" >&5
20737 sed 's/^/| /' conftest.
$ac_ext >&5
20739 ac_lo
=`expr $ac_mid + 1`
20740 if test $ac_lo -le $ac_mid; then
20744 ac_mid
=`expr 2 '*' $ac_mid + 1`
20747 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20750 echo "$as_me: failed program was:" >&5
20751 sed 's/^/| /' conftest.
$ac_ext >&5
20753 cat >conftest.
$ac_ext <<_ACEOF
20756 cat confdefs.h
>>conftest.
$ac_ext
20757 cat >>conftest.
$ac_ext <<_ACEOF
20758 /* end confdefs.h. */
20759 $ac_includes_default
20760 typedef long long ac__type_sizeof_;
20764 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20771 rm -f conftest.
$ac_objext
20772 if { (ac_try
="$ac_compile"
20773 case "(($ac_try" in
20774 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20775 *) ac_try_echo=$ac_try;;
20777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20778 (eval "$ac_compile") 2>conftest.er1
20780 grep -v '^ *+' conftest.er1 >conftest.err
20782 cat conftest.err >&5
20783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20784 (exit $ac_status); } && {
20785 test -z "$ac_c_werror_flag" ||
20786 test ! -s conftest.err
20787 } && test -s conftest.$ac_objext; then
20790 cat >conftest.$ac_ext <<_ACEOF
20793 cat confdefs.h >>conftest.$ac_ext
20794 cat >>conftest.$ac_ext <<_ACEOF
20795 /* end confdefs.h. */
20796 $ac_includes_default
20797 typedef long long ac__type_sizeof_;
20801 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20808 rm -f conftest.$ac_objext
20809 if { (ac_try="$ac_compile"
20810 case "(($ac_try" in
20811 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20812 *) ac_try_echo
=$ac_try;;
20814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20815 (eval "$ac_compile") 2>conftest.er1
20817 grep -v '^ *+' conftest.er1
>conftest.err
20819 cat conftest.err
>&5
20820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20821 (exit $ac_status); } && {
20822 test -z "$ac_c_werror_flag" ||
20823 test ! -s conftest.err
20824 } && test -s conftest.
$ac_objext; then
20825 ac_lo
=$ac_mid; break
20827 echo "$as_me: failed program was:" >&5
20828 sed 's/^/| /' conftest.
$ac_ext >&5
20830 ac_hi
=`expr '(' $ac_mid ')' - 1`
20831 if test $ac_mid -le $ac_hi; then
20835 ac_mid
=`expr 2 '*' $ac_mid`
20838 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20841 echo "$as_me: failed program was:" >&5
20842 sed 's/^/| /' conftest.
$ac_ext >&5
20847 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20850 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20851 # Binary search between lo and hi bounds.
20852 while test "x$ac_lo" != "x$ac_hi"; do
20853 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20854 cat >conftest.
$ac_ext <<_ACEOF
20857 cat confdefs.h
>>conftest.
$ac_ext
20858 cat >>conftest.
$ac_ext <<_ACEOF
20859 /* end confdefs.h. */
20860 $ac_includes_default
20861 typedef long long ac__type_sizeof_;
20865 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20872 rm -f conftest.
$ac_objext
20873 if { (ac_try
="$ac_compile"
20874 case "(($ac_try" in
20875 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20876 *) ac_try_echo=$ac_try;;
20878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20879 (eval "$ac_compile") 2>conftest.er1
20881 grep -v '^ *+' conftest.er1 >conftest.err
20883 cat conftest.err >&5
20884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20885 (exit $ac_status); } && {
20886 test -z "$ac_c_werror_flag" ||
20887 test ! -s conftest.err
20888 } && test -s conftest.$ac_objext; then
20891 echo "$as_me: failed program was:" >&5
20892 sed 's/^/| /' conftest.$ac_ext >&5
20894 ac_lo=`expr '(' $ac_mid ')' + 1`
20897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20900 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20901 '') if test "$ac_cv_type_long_long" = yes; then
20902 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
20903 See \`config.log
' for more details." >&5
20904 echo "$as_me: error: cannot compute sizeof (long long)
20905 See \`config.log' for more details.
" >&2;}
20906 { (exit 77); exit 77; }; }
20908 ac_cv_sizeof_long_long=0
20912 cat >conftest.$ac_ext <<_ACEOF
20915 cat confdefs.h >>conftest.$ac_ext
20916 cat >>conftest.$ac_ext <<_ACEOF
20917 /* end confdefs.h. */
20918 $ac_includes_default
20919 typedef long long ac__type_sizeof_;
20920 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20921 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20923 #include <stdlib.h>
20928 FILE *f = fopen ("conftest.val
", "w
");
20931 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20933 long int i = longval ();
20934 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20936 fprintf (f, "%ld
\n", i);
20940 unsigned long int i = ulongval ();
20941 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20943 fprintf (f, "%lu
\n", i);
20945 return ferror (f) || fclose (f) != 0;
20951 rm -f conftest$ac_exeext
20952 if { (ac_try="$ac_link"
20953 case "(($ac_try" in
20954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20955 *) ac_try_echo=$ac_try;;
20957 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20958 (eval "$ac_link") 2>&5
20960 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20961 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20962 { (case "(($ac_try" in
20963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20964 *) ac_try_echo=$ac_try;;
20966 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20967 (eval "$ac_try") 2>&5
20969 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20970 (exit $ac_status); }; }; then
20971 ac_cv_sizeof_long_long=`cat conftest.val`
20973 echo "$as_me: program exited with status
$ac_status" >&5
20974 echo "$as_me: failed program was
:" >&5
20975 sed 's/^/| /' conftest.$ac_ext >&5
20977 ( exit $ac_status )
20978 if test "$ac_cv_type_long_long" = yes; then
20979 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
20980 See \
`config.log' for more details." >&5
20981 echo "$as_me: error: cannot compute sizeof (long long)
20982 See \`config.log
' for more details." >&2;}
20983 { (exit 77); exit 77; }; }
20985 ac_cv_sizeof_long_long=0
20988 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20992 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20993 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
20997 cat >>confdefs.h <<_ACEOF
20998 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21002 if test "$ac_cv_sizeof_long_long" != "0"; then
21003 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
21007 { echo "$as_me:$LINENO: checking for long long" >&5
21008 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21009 if test "${ac_cv_type_long_long+set}" = set; then
21010 echo $ECHO_N "(cached) $ECHO_C" >&6
21012 cat >conftest.$ac_ext <<_ACEOF
21015 cat confdefs.h >>conftest.$ac_ext
21016 cat >>conftest.$ac_ext <<_ACEOF
21017 /* end confdefs.h. */
21018 $ac_includes_default
21019 typedef long long ac__type_new_;
21023 if ((ac__type_new_ *) 0)
21025 if (sizeof (ac__type_new_))
21031 rm -f conftest.$ac_objext
21032 if { (ac_try="$ac_compile"
21033 case "(($ac_try" in
21034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21035 *) ac_try_echo=$ac_try;;
21037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21038 (eval "$ac_compile") 2>conftest.er1
21040 grep -v '^
*+' conftest.er1 >conftest.err
21042 cat conftest.err >&5
21043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21044 (exit $ac_status); } && {
21045 test -z "$ac_c_werror_flag" ||
21046 test ! -s conftest.err
21047 } && test -s conftest.$ac_objext; then
21048 ac_cv_type_long_long=yes
21050 echo "$as_me: failed program was:" >&5
21051 sed 's
/^
/| /' conftest.$ac_ext >&5
21053 ac_cv_type_long_long=no
21056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21058 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21059 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21061 # The cast to long int works around a bug in the HP C Compiler
21062 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21063 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21064 # This bug is HP SR number 8606223364.
21065 { echo "$as_me:$LINENO: checking size of long long" >&5
21066 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21067 if test "${ac_cv_sizeof_long_long+set}" = set; then
21068 echo $ECHO_N "(cached) $ECHO_C" >&6
21070 if test "$cross_compiling" = yes; then
21071 # Depending upon the size, compute the lo and hi bounds.
21072 cat >conftest.
$ac_ext <<_ACEOF
21075 cat confdefs.h
>>conftest.
$ac_ext
21076 cat >>conftest.
$ac_ext <<_ACEOF
21077 /* end confdefs.h. */
21078 $ac_includes_default
21079 typedef long long ac__type_sizeof_;
21083 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21090 rm -f conftest.
$ac_objext
21091 if { (ac_try
="$ac_compile"
21092 case "(($ac_try" in
21093 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21094 *) ac_try_echo=$ac_try;;
21096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21097 (eval "$ac_compile") 2>conftest.er1
21099 grep -v '^ *+' conftest.er1 >conftest.err
21101 cat conftest.err >&5
21102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21103 (exit $ac_status); } && {
21104 test -z "$ac_c_werror_flag" ||
21105 test ! -s conftest.err
21106 } && test -s conftest.$ac_objext; then
21109 cat >conftest.$ac_ext <<_ACEOF
21112 cat confdefs.h >>conftest.$ac_ext
21113 cat >>conftest.$ac_ext <<_ACEOF
21114 /* end confdefs.h. */
21115 $ac_includes_default
21116 typedef long long ac__type_sizeof_;
21120 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21127 rm -f conftest.$ac_objext
21128 if { (ac_try="$ac_compile"
21129 case "(($ac_try" in
21130 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21131 *) ac_try_echo
=$ac_try;;
21133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21134 (eval "$ac_compile") 2>conftest.er1
21136 grep -v '^ *+' conftest.er1
>conftest.err
21138 cat conftest.err
>&5
21139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21140 (exit $ac_status); } && {
21141 test -z "$ac_c_werror_flag" ||
21142 test ! -s conftest.err
21143 } && test -s conftest.
$ac_objext; then
21144 ac_hi
=$ac_mid; break
21146 echo "$as_me: failed program was:" >&5
21147 sed 's/^/| /' conftest.
$ac_ext >&5
21149 ac_lo
=`expr $ac_mid + 1`
21150 if test $ac_lo -le $ac_mid; then
21154 ac_mid
=`expr 2 '*' $ac_mid + 1`
21157 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21160 echo "$as_me: failed program was:" >&5
21161 sed 's/^/| /' conftest.
$ac_ext >&5
21163 cat >conftest.
$ac_ext <<_ACEOF
21166 cat confdefs.h
>>conftest.
$ac_ext
21167 cat >>conftest.
$ac_ext <<_ACEOF
21168 /* end confdefs.h. */
21169 $ac_includes_default
21170 typedef long long ac__type_sizeof_;
21174 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21181 rm -f conftest.
$ac_objext
21182 if { (ac_try
="$ac_compile"
21183 case "(($ac_try" in
21184 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21185 *) ac_try_echo=$ac_try;;
21187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21188 (eval "$ac_compile") 2>conftest.er1
21190 grep -v '^ *+' conftest.er1 >conftest.err
21192 cat conftest.err >&5
21193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21194 (exit $ac_status); } && {
21195 test -z "$ac_c_werror_flag" ||
21196 test ! -s conftest.err
21197 } && test -s conftest.$ac_objext; then
21200 cat >conftest.$ac_ext <<_ACEOF
21203 cat confdefs.h >>conftest.$ac_ext
21204 cat >>conftest.$ac_ext <<_ACEOF
21205 /* end confdefs.h. */
21206 $ac_includes_default
21207 typedef long long ac__type_sizeof_;
21211 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21218 rm -f conftest.$ac_objext
21219 if { (ac_try="$ac_compile"
21220 case "(($ac_try" in
21221 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21222 *) ac_try_echo
=$ac_try;;
21224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21225 (eval "$ac_compile") 2>conftest.er1
21227 grep -v '^ *+' conftest.er1
>conftest.err
21229 cat conftest.err
>&5
21230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21231 (exit $ac_status); } && {
21232 test -z "$ac_c_werror_flag" ||
21233 test ! -s conftest.err
21234 } && test -s conftest.
$ac_objext; then
21235 ac_lo
=$ac_mid; break
21237 echo "$as_me: failed program was:" >&5
21238 sed 's/^/| /' conftest.
$ac_ext >&5
21240 ac_hi
=`expr '(' $ac_mid ')' - 1`
21241 if test $ac_mid -le $ac_hi; then
21245 ac_mid
=`expr 2 '*' $ac_mid`
21248 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21251 echo "$as_me: failed program was:" >&5
21252 sed 's/^/| /' conftest.
$ac_ext >&5
21257 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21260 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21261 # Binary search between lo and hi bounds.
21262 while test "x$ac_lo" != "x$ac_hi"; do
21263 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21264 cat >conftest.
$ac_ext <<_ACEOF
21267 cat confdefs.h
>>conftest.
$ac_ext
21268 cat >>conftest.
$ac_ext <<_ACEOF
21269 /* end confdefs.h. */
21270 $ac_includes_default
21271 typedef long long ac__type_sizeof_;
21275 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21282 rm -f conftest.
$ac_objext
21283 if { (ac_try
="$ac_compile"
21284 case "(($ac_try" in
21285 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21286 *) ac_try_echo=$ac_try;;
21288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21289 (eval "$ac_compile") 2>conftest.er1
21291 grep -v '^ *+' conftest.er1 >conftest.err
21293 cat conftest.err >&5
21294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21295 (exit $ac_status); } && {
21296 test -z "$ac_c_werror_flag" ||
21297 test ! -s conftest.err
21298 } && test -s conftest.$ac_objext; then
21301 echo "$as_me: failed program was:" >&5
21302 sed 's/^/| /' conftest.$ac_ext >&5
21304 ac_lo=`expr '(' $ac_mid ')' + 1`
21307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21310 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21311 '') if test "$ac_cv_type_long_long" = yes; then
21312 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21313 See \`config.log
' for more details." >&5
21314 echo "$as_me: error: cannot compute sizeof (long long)
21315 See \`config.log' for more details.
" >&2;}
21316 { (exit 77); exit 77; }; }
21318 ac_cv_sizeof_long_long=0
21322 cat >conftest.$ac_ext <<_ACEOF
21325 cat confdefs.h >>conftest.$ac_ext
21326 cat >>conftest.$ac_ext <<_ACEOF
21327 /* end confdefs.h. */
21328 $ac_includes_default
21329 typedef long long ac__type_sizeof_;
21330 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21331 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21333 #include <stdlib.h>
21338 FILE *f = fopen ("conftest.val
", "w
");
21341 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21343 long int i = longval ();
21344 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21346 fprintf (f, "%ld
\n", i);
21350 unsigned long int i = ulongval ();
21351 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21353 fprintf (f, "%lu
\n", i);
21355 return ferror (f) || fclose (f) != 0;
21361 rm -f conftest$ac_exeext
21362 if { (ac_try="$ac_link"
21363 case "(($ac_try" in
21364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21365 *) ac_try_echo=$ac_try;;
21367 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21368 (eval "$ac_link") 2>&5
21370 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21371 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21372 { (case "(($ac_try" in
21373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21374 *) ac_try_echo=$ac_try;;
21376 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21377 (eval "$ac_try") 2>&5
21379 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21380 (exit $ac_status); }; }; then
21381 ac_cv_sizeof_long_long=`cat conftest.val`
21383 echo "$as_me: program exited with status
$ac_status" >&5
21384 echo "$as_me: failed program was
:" >&5
21385 sed 's/^/| /' conftest.$ac_ext >&5
21387 ( exit $ac_status )
21388 if test "$ac_cv_type_long_long" = yes; then
21389 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
21390 See \
`config.log' for more details." >&5
21391 echo "$as_me: error: cannot compute sizeof (long long)
21392 See \`config.log
' for more details." >&2;}
21393 { (exit 77); exit 77; }; }
21395 ac_cv_sizeof_long_long=0
21398 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21402 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21403 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21407 cat >>confdefs.h <<_ACEOF
21408 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21414 { echo "$as_me:$LINENO: checking for wchar_t" >&5
21415 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
21416 if test "${ac_cv_type_wchar_t+set}" = set; then
21417 echo $ECHO_N "(cached) $ECHO_C" >&6
21419 cat >conftest.$ac_ext <<_ACEOF
21422 cat confdefs.h >>conftest.$ac_ext
21423 cat >>conftest.$ac_ext <<_ACEOF
21424 /* end confdefs.h. */
21426 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
21427 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21428 # error "fake wchar_t"
21430 #ifdef HAVE_WCHAR_H
21432 # include <stddef.h>
21434 # include <wchar.h>
21436 #ifdef HAVE_STDLIB_H
21437 # include <stdlib.h>
21443 typedef wchar_t ac__type_new_
;
21447 if ((ac__type_new_
*) 0)
21449 if (sizeof
(ac__type_new_
))
21455 rm -f conftest.
$ac_objext
21456 if { (ac_try
="$ac_compile"
21457 case "(($ac_try" in
21458 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21459 *) ac_try_echo=$ac_try;;
21461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21462 (eval "$ac_compile") 2>conftest.er1
21464 grep -v '^ *+' conftest.er1 >conftest.err
21466 cat conftest.err >&5
21467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21468 (exit $ac_status); } && {
21469 test -z "$ac_c_werror_flag" ||
21470 test ! -s conftest.err
21471 } && test -s conftest.$ac_objext; then
21472 ac_cv_type_wchar_t=yes
21474 echo "$as_me: failed program was:" >&5
21475 sed 's/^/| /' conftest.$ac_ext >&5
21477 ac_cv_type_wchar_t=no
21480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21482 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
21483 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
21485 # The cast to long int works around a bug in the HP C Compiler
21486 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21487 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
21488 # This bug is HP SR number 8606223364.
21489 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
21490 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
21491 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
21492 echo $ECHO_N "(cached) $ECHO_C" >&6
21494 if test "$cross_compiling" = yes; then
21495 # Depending upon the size, compute the lo and hi bounds.
21496 cat >conftest.$ac_ext <<_ACEOF
21499 cat confdefs.h >>conftest.$ac_ext
21500 cat >>conftest.$ac_ext <<_ACEOF
21501 /* end confdefs.h. */
21503 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
21504 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21505 # error "fake wchar_t"
21507 #ifdef HAVE_WCHAR_H
21509 # include <stddef.h>
21511 # include <wchar.h>
21513 #ifdef HAVE_STDLIB_H
21514 # include <stdlib.h>
21520 typedef wchar_t ac__type_sizeof_
;
21524 static int test_array
[1 - 2 * !(((long int
) (sizeof
(ac__type_sizeof_
))) >= 0)];
21531 rm -f conftest.
$ac_objext
21532 if { (ac_try
="$ac_compile"
21533 case "(($ac_try" in
21534 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21535 *) ac_try_echo=$ac_try;;
21537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21538 (eval "$ac_compile") 2>conftest.er1
21540 grep -v '^ *+' conftest.er1 >conftest.err
21542 cat conftest.err >&5
21543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21544 (exit $ac_status); } && {
21545 test -z "$ac_c_werror_flag" ||
21546 test ! -s conftest.err
21547 } && test -s conftest.$ac_objext; then
21550 cat >conftest.$ac_ext <<_ACEOF
21553 cat confdefs.h >>conftest.$ac_ext
21554 cat >>conftest.$ac_ext <<_ACEOF
21555 /* end confdefs.h. */
21557 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21558 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21559 # error "fake wchar_t"
21561 #ifdef HAVE_WCHAR_H
21563 # include <stddef.h>
21565 # include <wchar.h>
21567 #ifdef HAVE_STDLIB_H
21568 # include <stdlib.h>
21574 typedef wchar_t ac__type_sizeof_;
21578 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21585 rm -f conftest.$ac_objext
21586 if { (ac_try="$ac_compile"
21587 case "(($ac_try" in
21588 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21589 *) ac_try_echo
=$ac_try;;
21591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21592 (eval "$ac_compile") 2>conftest.er1
21594 grep -v '^ *+' conftest.er1
>conftest.err
21596 cat conftest.err
>&5
21597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21598 (exit $ac_status); } && {
21599 test -z "$ac_c_werror_flag" ||
21600 test ! -s conftest.err
21601 } && test -s conftest.
$ac_objext; then
21602 ac_hi
=$ac_mid; break
21604 echo "$as_me: failed program was:" >&5
21605 sed 's/^/| /' conftest.
$ac_ext >&5
21607 ac_lo
=`expr $ac_mid + 1`
21608 if test $ac_lo -le $ac_mid; then
21612 ac_mid
=`expr 2 '*' $ac_mid + 1`
21615 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21618 echo "$as_me: failed program was:" >&5
21619 sed 's/^/| /' conftest.
$ac_ext >&5
21621 cat >conftest.
$ac_ext <<_ACEOF
21624 cat confdefs.h
>>conftest.
$ac_ext
21625 cat >>conftest.
$ac_ext <<_ACEOF
21626 /* end confdefs.h. */
21628 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21629 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21630 # error "fake wchar_t"
21632 #ifdef HAVE_WCHAR_H
21634 # include <stddef.h>
21636 # include <wchar.h>
21638 #ifdef HAVE_STDLIB_H
21639 # include <stdlib.h>
21645 typedef wchar_t ac__type_sizeof_;
21649 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21656 rm -f conftest.
$ac_objext
21657 if { (ac_try
="$ac_compile"
21658 case "(($ac_try" in
21659 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21660 *) ac_try_echo=$ac_try;;
21662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21663 (eval "$ac_compile") 2>conftest.er1
21665 grep -v '^ *+' conftest.er1 >conftest.err
21667 cat conftest.err >&5
21668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21669 (exit $ac_status); } && {
21670 test -z "$ac_c_werror_flag" ||
21671 test ! -s conftest.err
21672 } && test -s conftest.$ac_objext; then
21675 cat >conftest.$ac_ext <<_ACEOF
21678 cat confdefs.h >>conftest.$ac_ext
21679 cat >>conftest.$ac_ext <<_ACEOF
21680 /* end confdefs.h. */
21682 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21683 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21684 # error "fake wchar_t"
21686 #ifdef HAVE_WCHAR_H
21688 # include <stddef.h>
21690 # include <wchar.h>
21692 #ifdef HAVE_STDLIB_H
21693 # include <stdlib.h>
21699 typedef wchar_t ac__type_sizeof_;
21703 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21710 rm -f conftest.$ac_objext
21711 if { (ac_try="$ac_compile"
21712 case "(($ac_try" in
21713 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21714 *) ac_try_echo
=$ac_try;;
21716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21717 (eval "$ac_compile") 2>conftest.er1
21719 grep -v '^ *+' conftest.er1
>conftest.err
21721 cat conftest.err
>&5
21722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21723 (exit $ac_status); } && {
21724 test -z "$ac_c_werror_flag" ||
21725 test ! -s conftest.err
21726 } && test -s conftest.
$ac_objext; then
21727 ac_lo
=$ac_mid; break
21729 echo "$as_me: failed program was:" >&5
21730 sed 's/^/| /' conftest.
$ac_ext >&5
21732 ac_hi
=`expr '(' $ac_mid ')' - 1`
21733 if test $ac_mid -le $ac_hi; then
21737 ac_mid
=`expr 2 '*' $ac_mid`
21740 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21743 echo "$as_me: failed program was:" >&5
21744 sed 's/^/| /' conftest.
$ac_ext >&5
21749 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21752 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21753 # Binary search between lo and hi bounds.
21754 while test "x$ac_lo" != "x$ac_hi"; do
21755 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21756 cat >conftest.
$ac_ext <<_ACEOF
21759 cat confdefs.h
>>conftest.
$ac_ext
21760 cat >>conftest.
$ac_ext <<_ACEOF
21761 /* end confdefs.h. */
21763 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21764 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21765 # error "fake wchar_t"
21767 #ifdef HAVE_WCHAR_H
21769 # include <stddef.h>
21771 # include <wchar.h>
21773 #ifdef HAVE_STDLIB_H
21774 # include <stdlib.h>
21780 typedef wchar_t ac__type_sizeof_;
21784 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21791 rm -f conftest.
$ac_objext
21792 if { (ac_try
="$ac_compile"
21793 case "(($ac_try" in
21794 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21795 *) ac_try_echo=$ac_try;;
21797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21798 (eval "$ac_compile") 2>conftest.er1
21800 grep -v '^ *+' conftest.er1 >conftest.err
21802 cat conftest.err >&5
21803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21804 (exit $ac_status); } && {
21805 test -z "$ac_c_werror_flag" ||
21806 test ! -s conftest.err
21807 } && test -s conftest.$ac_objext; then
21810 echo "$as_me: failed program was:" >&5
21811 sed 's/^/| /' conftest.$ac_ext >&5
21813 ac_lo=`expr '(' $ac_mid ')' + 1`
21816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21819 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
21820 '') if test "$ac_cv_type_wchar_t" = yes; then
21821 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
21822 See \`config.log
' for more details." >&5
21823 echo "$as_me: error: cannot compute sizeof (wchar_t)
21824 See \`config.log' for more details.
" >&2;}
21825 { (exit 77); exit 77; }; }
21827 ac_cv_sizeof_wchar_t=0
21831 cat >conftest.$ac_ext <<_ACEOF
21834 cat confdefs.h >>conftest.$ac_ext
21835 cat >>conftest.$ac_ext <<_ACEOF
21836 /* end confdefs.h. */
21838 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21839 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21840 # error "fake wchar_t
"
21842 #ifdef HAVE_WCHAR_H
21844 # include <stddef.h>
21846 # include <wchar.h>
21848 #ifdef HAVE_STDLIB_H
21849 # include <stdlib.h>
21855 typedef wchar_t ac__type_sizeof_;
21856 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21857 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21859 #include <stdlib.h>
21864 FILE *f = fopen ("conftest.val
", "w
");
21867 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21869 long int i = longval ();
21870 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21872 fprintf (f, "%ld
\n", i);
21876 unsigned long int i = ulongval ();
21877 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21879 fprintf (f, "%lu
\n", i);
21881 return ferror (f) || fclose (f) != 0;
21887 rm -f conftest$ac_exeext
21888 if { (ac_try="$ac_link"
21889 case "(($ac_try" in
21890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21891 *) ac_try_echo=$ac_try;;
21893 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21894 (eval "$ac_link") 2>&5
21896 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21897 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21898 { (case "(($ac_try" in
21899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21900 *) ac_try_echo=$ac_try;;
21902 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21903 (eval "$ac_try") 2>&5
21905 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21906 (exit $ac_status); }; }; then
21907 ac_cv_sizeof_wchar_t=`cat conftest.val`
21909 echo "$as_me: program exited with status
$ac_status" >&5
21910 echo "$as_me: failed program was
:" >&5
21911 sed 's/^/| /' conftest.$ac_ext >&5
21913 ( exit $ac_status )
21914 if test "$ac_cv_type_wchar_t" = yes; then
21915 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(wchar_t
)
21916 See \
`config.log' for more details." >&5
21917 echo "$as_me: error: cannot compute sizeof (wchar_t)
21918 See \`config.log
' for more details." >&2;}
21919 { (exit 77); exit 77; }; }
21921 ac_cv_sizeof_wchar_t=0
21924 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21928 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
21929 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
21933 cat >>confdefs.h <<_ACEOF
21934 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
21938 if test "$ac_cv_sizeof_wchar_t" != "0"; then
21944 { echo "$as_me:$LINENO: checking for va_copy" >&5
21945 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
21946 if test "${wx_cv_func_va_copy+set}" = set; then
21947 echo $ECHO_N "(cached) $ECHO_C" >&6
21950 cat >conftest.$ac_ext <<_ACEOF
21952 #include <stdarg.h>
21953 void foo(char *f, ...)
21967 rm -f conftest.$ac_objext conftest$ac_exeext
21968 if { (ac_try="$ac_link"
21969 case "(($ac_try" in
21970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21971 *) ac_try_echo=$ac_try;;
21973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21974 (eval "$ac_link") 2>conftest.er1
21976 grep -v '^
*+' conftest.er1 >conftest.err
21978 cat conftest.err >&5
21979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21980 (exit $ac_status); } && {
21981 test -z "$ac_c_werror_flag" ||
21982 test ! -s conftest.err
21983 } && test -s conftest$ac_exeext &&
21984 $as_test_x conftest$ac_exeext; then
21985 wx_cv_func_va_copy=yes
21987 echo "$as_me: failed program was:" >&5
21988 sed 's
/^
/| /' conftest.$ac_ext >&5
21990 wx_cv_func_va_copy=no
21994 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21995 conftest$ac_exeext conftest.$ac_ext
21999 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22000 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
22002 if test $wx_cv_func_va_copy = "yes"; then
22003 cat >>confdefs.h <<\_ACEOF
22004 #define HAVE_VA_COPY 1
22008 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22009 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
22010 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22011 echo $ECHO_N "(cached) $ECHO_C" >&6
22014 if test "$cross_compiling" = yes; then
22015 wx_cv_type_va_list_lvalue=yes
22018 cat >conftest.$ac_ext <<_ACEOF
22020 #include <stdarg.h>
22021 int foo(char *f, ...)
22026 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22034 return foo("hi", 17);
22037 rm -f conftest$ac_exeext
22038 if { (ac_try="$ac_link"
22039 case "(($ac_try" in
22040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22041 *) ac_try_echo=$ac_try;;
22043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22044 (eval "$ac_link") 2>&5
22046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22047 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
22048 { (case "(($ac_try" in
22049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22050 *) ac_try_echo=$ac_try;;
22052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22053 (eval "$ac_try") 2>&5
22055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22056 (exit $ac_status); }; }; then
22057 wx_cv_type_va_list_lvalue=yes
22059 echo "$as_me: program exited with status $ac_status" >&5
22060 echo "$as_me: failed program was:" >&5
22061 sed 's
/^
/| /' conftest.$ac_ext >&5
22063 ( exit $ac_status )
22064 wx_cv_type_va_list_lvalue=no
22066 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22073 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22074 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
22076 if test $wx_cv_type_va_list_lvalue != "yes"; then
22077 cat >>confdefs.h <<\_ACEOF
22078 #define VA_LIST_IS_ARRAY 1
22084 if test "$wxUSE_VARARG_MACROS" = "yes"; then
22086 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
22087 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
22088 if test "${wx_cv_have_variadic_macros+set}" = set; then
22089 echo $ECHO_N "(cached) $ECHO_C" >&6
22093 ac_cpp='$CXXCPP $CPPFLAGS'
22094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22095 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22098 cat >conftest.$ac_ext <<_ACEOF
22101 cat confdefs.h >>conftest.$ac_ext
22102 cat >>conftest.$ac_ext <<_ACEOF
22103 /* end confdefs.h. */
22106 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
22112 test("%s %d %p", "test", 1, 0);
22119 rm -f conftest.$ac_objext
22120 if { (ac_try="$ac_compile"
22121 case "(($ac_try" in
22122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22123 *) ac_try_echo=$ac_try;;
22125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22126 (eval "$ac_compile") 2>conftest.er1
22128 grep -v '^
*+' conftest.er1 >conftest.err
22130 cat conftest.err >&5
22131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22132 (exit $ac_status); } && {
22133 test -z "$ac_cxx_werror_flag" ||
22134 test ! -s conftest.err
22135 } && test -s conftest.$ac_objext; then
22136 wx_cv_have_variadic_macros=yes
22138 echo "$as_me: failed program was:" >&5
22139 sed 's
/^
/| /' conftest.$ac_ext >&5
22141 wx_cv_have_variadic_macros=no
22145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22147 ac_cpp='$CPP $CPPFLAGS'
22148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22149 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22155 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
22156 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
22158 if test $wx_cv_have_variadic_macros = "yes"; then
22159 cat >>confdefs.h <<\_ACEOF
22160 #define HAVE_VARIADIC_MACROS 1
22166 # Check whether --enable-largefile was given.
22167 if test "${enable_largefile+set}" = set; then
22168 enableval=$enable_largefile;
22171 if test "$enable_largefile" != no; then
22174 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
22175 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
22176 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
22177 echo $ECHO_N "(cached) $ECHO_C" >&6
22180 cat >conftest.$ac_ext <<_ACEOF
22183 cat confdefs.h >>conftest.$ac_ext
22184 cat >>conftest.$ac_ext <<_ACEOF
22185 /* end confdefs.h. */
22186 #define _FILE_OFFSET_BITS 64
22187 #include <sys/types.h>
22192 unsigned int field: sizeof(off_t) == 8;
22199 rm -f conftest.$ac_objext
22200 if { (ac_try="$ac_compile"
22201 case "(($ac_try" in
22202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22203 *) ac_try_echo=$ac_try;;
22205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22206 (eval "$ac_compile") 2>conftest.er1
22208 grep -v '^
*+' conftest.er1 >conftest.err
22210 cat conftest.err >&5
22211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22212 (exit $ac_status); } && {
22213 test -z "$ac_c_werror_flag" ||
22214 test ! -s conftest.err
22215 } && test -s conftest.$ac_objext; then
22216 ac_cv_sys_file_offset_bits=64
22218 echo "$as_me: failed program was:" >&5
22219 sed 's
/^
/| /' conftest.$ac_ext >&5
22221 ac_cv_sys_file_offset_bits=no
22224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22228 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
22229 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
22231 if test "$ac_cv_sys_file_offset_bits" != no; then
22233 cat >>confdefs.h <<_ACEOF
22234 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
22239 if test "x$wx_largefile" != "xyes"; then
22241 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
22242 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
22243 if test "${ac_cv_sys_large_files+set}" = set; then
22244 echo $ECHO_N "(cached) $ECHO_C" >&6
22247 cat >conftest.$ac_ext <<_ACEOF
22250 cat confdefs.h >>conftest.$ac_ext
22251 cat >>conftest.$ac_ext <<_ACEOF
22252 /* end confdefs.h. */
22253 #define _LARGE_FILES 1
22254 #include <sys/types.h>
22259 unsigned int field: sizeof(off_t) == 8;
22266 rm -f conftest.$ac_objext
22267 if { (ac_try="$ac_compile"
22268 case "(($ac_try" in
22269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22270 *) ac_try_echo=$ac_try;;
22272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22273 (eval "$ac_compile") 2>conftest.er1
22275 grep -v '^
*+' conftest.er1 >conftest.err
22277 cat conftest.err >&5
22278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22279 (exit $ac_status); } && {
22280 test -z "$ac_c_werror_flag" ||
22281 test ! -s conftest.err
22282 } && test -s conftest.$ac_objext; then
22283 ac_cv_sys_large_files=1
22285 echo "$as_me: failed program was:" >&5
22286 sed 's
/^
/| /' conftest.$ac_ext >&5
22288 ac_cv_sys_large_files=no
22291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22295 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
22296 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
22298 if test "$ac_cv_sys_large_files" != no; then
22300 cat >>confdefs.h <<_ACEOF
22301 #define _LARGE_FILES $ac_cv_sys_large_files
22308 { echo "$as_me:$LINENO: checking if large file support is available" >&5
22309 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
22310 if test "x$wx_largefile" = "xyes"; then
22311 cat >>confdefs.h <<\_ACEOF
22312 #define HAVE_LARGEFILE_SUPPORT 1
22316 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
22317 echo "${ECHO_T}$wx_largefile" >&6; }
22321 if test "x$wx_largefile" = "xyes"; then
22322 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
22323 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
22325 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
22326 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
22327 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
22328 if test "${wx_cv_STDC_EXT_required+set}" = set; then
22329 echo $ECHO_N "(cached) $ECHO_C" >&6
22333 ac_cpp='$CXXCPP $CPPFLAGS'
22334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22335 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22338 cat >conftest.$ac_ext <<_ACEOF
22341 cat confdefs.h >>conftest.$ac_ext
22342 cat >>conftest.$ac_ext <<_ACEOF
22343 /* end confdefs.h. */
22349 #ifndef __STDC_EXT__
22357 rm -f conftest.$ac_objext
22358 if { (ac_try="$ac_compile"
22359 case "(($ac_try" in
22360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22361 *) ac_try_echo=$ac_try;;
22363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22364 (eval "$ac_compile") 2>conftest.er1
22366 grep -v '^
*+' conftest.er1 >conftest.err
22368 cat conftest.err >&5
22369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22370 (exit $ac_status); } && {
22371 test -z "$ac_cxx_werror_flag" ||
22372 test ! -s conftest.err
22373 } && test -s conftest.$ac_objext; then
22374 wx_cv_STDC_EXT_required=no
22376 echo "$as_me: failed program was:" >&5
22377 sed 's
/^
/| /' conftest.$ac_ext >&5
22379 wx_cv_STDC_EXT_required=yes
22383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22385 ac_cpp='$CPP $CPPFLAGS'
22386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22387 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22393 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
22394 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
22395 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
22396 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
22400 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
22402 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
22403 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
22404 if test "${ac_cv_sys_largefile_source+set}" = set; then
22405 echo $ECHO_N "(cached) $ECHO_C" >&6
22408 cat >conftest.$ac_ext <<_ACEOF
22411 cat confdefs.h >>conftest.$ac_ext
22412 cat >>conftest.$ac_ext <<_ACEOF
22413 /* end confdefs.h. */
22414 #include <sys/types.h> /* for off_t */
22419 int (*fp) (FILE *, off_t, int) = fseeko;
22420 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
22425 rm -f conftest.$ac_objext conftest$ac_exeext
22426 if { (ac_try="$ac_link"
22427 case "(($ac_try" in
22428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22429 *) ac_try_echo=$ac_try;;
22431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22432 (eval "$ac_link") 2>conftest.er1
22434 grep -v '^
*+' conftest.er1 >conftest.err
22436 cat conftest.err >&5
22437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22438 (exit $ac_status); } && {
22439 test -z "$ac_c_werror_flag" ||
22440 test ! -s conftest.err
22441 } && test -s conftest$ac_exeext &&
22442 $as_test_x conftest$ac_exeext; then
22443 ac_cv_sys_largefile_source=no; break
22445 echo "$as_me: failed program was:" >&5
22446 sed 's
/^
/| /' conftest.$ac_ext >&5
22451 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22452 conftest$ac_exeext conftest.$ac_ext
22453 cat >conftest.$ac_ext <<_ACEOF
22456 cat confdefs.h >>conftest.$ac_ext
22457 cat >>conftest.$ac_ext <<_ACEOF
22458 /* end confdefs.h. */
22459 #define _LARGEFILE_SOURCE 1
22460 #include <sys/types.h> /* for off_t */
22465 int (*fp) (FILE *, off_t, int) = fseeko;
22466 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
22471 rm -f conftest.$ac_objext conftest$ac_exeext
22472 if { (ac_try="$ac_link"
22473 case "(($ac_try" in
22474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22475 *) ac_try_echo=$ac_try;;
22477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22478 (eval "$ac_link") 2>conftest.er1
22480 grep -v '^
*+' conftest.er1 >conftest.err
22482 cat conftest.err >&5
22483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22484 (exit $ac_status); } && {
22485 test -z "$ac_c_werror_flag" ||
22486 test ! -s conftest.err
22487 } && test -s conftest$ac_exeext &&
22488 $as_test_x conftest$ac_exeext; then
22489 ac_cv_sys_largefile_source=1; break
22491 echo "$as_me: failed program was:" >&5
22492 sed 's
/^
/| /' conftest.$ac_ext >&5
22497 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22498 conftest$ac_exeext conftest.$ac_ext
22499 ac_cv_sys_largefile_source=unknown
22503 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22504 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
22505 case $ac_cv_sys_largefile_source in #(
22508 cat >>confdefs.h <<_ACEOF
22509 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22515 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22516 # in glibc 2.1.3, but that breaks too many other things.
22517 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22518 if test $ac_cv_sys_largefile_source != unknown; then
22520 cat >>confdefs.h <<\_ACEOF
22521 #define HAVE_FSEEKO 1
22526 if test "$ac_cv_sys_largefile_source" != no; then
22527 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
22531 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22532 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
22533 if test "${ac_cv_c_bigendian+set}" = set; then
22534 echo $ECHO_N "(cached) $ECHO_C" >&6
22536 ac_cv_c_bigendian=unknown
22537 # See if sys/param.h defines the BYTE_ORDER macro.
22538 cat >conftest.$ac_ext <<_ACEOF
22541 cat confdefs.h >>conftest.$ac_ext
22542 cat >>conftest.$ac_ext <<_ACEOF
22543 /* end confdefs.h. */
22544 #include <sys/types.h>
22545 #include <sys/param.h>
22550 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22551 bogus endian macros
22557 rm -f conftest.$ac_objext
22558 if { (ac_try="$ac_compile"
22559 case "(($ac_try" in
22560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22561 *) ac_try_echo=$ac_try;;
22563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22564 (eval "$ac_compile") 2>conftest.er1
22566 grep -v '^
*+' conftest.er1 >conftest.err
22568 cat conftest.err >&5
22569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22570 (exit $ac_status); } && {
22571 test -z "$ac_c_werror_flag" ||
22572 test ! -s conftest.err
22573 } && test -s conftest.$ac_objext; then
22574 # It does; now see whether it defined to BIG_ENDIAN or not.
22575 cat >conftest.$ac_ext <<_ACEOF
22578 cat confdefs.h >>conftest.$ac_ext
22579 cat >>conftest.$ac_ext <<_ACEOF
22580 /* end confdefs.h. */
22581 #include <sys/types.h>
22582 #include <sys/param.h>
22587 #if BYTE_ORDER != BIG_ENDIAN
22594 rm -f conftest.$ac_objext
22595 if { (ac_try="$ac_compile"
22596 case "(($ac_try" in
22597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22598 *) ac_try_echo=$ac_try;;
22600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22601 (eval "$ac_compile") 2>conftest.er1
22603 grep -v '^
*+' conftest.er1 >conftest.err
22605 cat conftest.err >&5
22606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22607 (exit $ac_status); } && {
22608 test -z "$ac_c_werror_flag" ||
22609 test ! -s conftest.err
22610 } && test -s conftest.$ac_objext; then
22611 ac_cv_c_bigendian=yes
22613 echo "$as_me: failed program was:" >&5
22614 sed 's
/^
/| /' conftest.$ac_ext >&5
22616 ac_cv_c_bigendian=no
22619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22621 echo "$as_me: failed program was:" >&5
22622 sed 's
/^
/| /' conftest.$ac_ext >&5
22627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22628 if test $ac_cv_c_bigendian = unknown; then
22629 if test "$cross_compiling" = yes; then
22630 ac_cv_c_bigendian=unknown
22632 cat >conftest.$ac_ext <<_ACEOF
22635 cat confdefs.h >>conftest.$ac_ext
22636 cat >>conftest.$ac_ext <<_ACEOF
22637 /* end confdefs.h. */
22639 /* Are we little or big endian? From Harbison&Steele. */
22643 char c[sizeof (long)];
22646 exit (u.c[sizeof (long) - 1] == 1);
22649 rm -f conftest$ac_exeext
22650 if { (ac_try="$ac_link"
22651 case "(($ac_try" in
22652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22653 *) ac_try_echo=$ac_try;;
22655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22656 (eval "$ac_link") 2>&5
22658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22659 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
22660 { (case "(($ac_try" in
22661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22662 *) ac_try_echo=$ac_try;;
22664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22665 (eval "$ac_try") 2>&5
22667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22668 (exit $ac_status); }; }; then
22669 ac_cv_c_bigendian=no
22671 echo "$as_me: program exited with status $ac_status" >&5
22672 echo "$as_me: failed program was:" >&5
22673 sed 's
/^
/| /' conftest.$ac_ext >&5
22675 ( exit $ac_status )
22676 ac_cv_c_bigendian=yes
22678 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22684 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
22685 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
22686 if test $ac_cv_c_bigendian = unknown; then
22687 { 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
22688 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;}
22690 if test $ac_cv_c_bigendian = yes; then
22691 cat >>confdefs.h <<\_ACEOF
22692 #define WORDS_BIGENDIAN 1
22701 ac_cpp='$CXXCPP $CPPFLAGS'
22702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22703 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22707 { echo "$as_me:$LINENO: checking for iostream" >&5
22708 echo $ECHO_N "checking for iostream... $ECHO_C" >&6; }
22709 if test "${ac_cv_header_iostream+set}" = set; then
22710 echo $ECHO_N "(cached) $ECHO_C" >&6
22712 cat >conftest.$ac_ext <<_ACEOF
22715 cat confdefs.h >>conftest.$ac_ext
22716 cat >>conftest.$ac_ext <<_ACEOF
22717 /* end confdefs.h. */
22720 #include <iostream>
22722 rm -f conftest.$ac_objext
22723 if { (ac_try="$ac_compile"
22724 case "(($ac_try" in
22725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22726 *) ac_try_echo=$ac_try;;
22728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22729 (eval "$ac_compile") 2>conftest.er1
22731 grep -v '^
*+' conftest.er1 >conftest.err
22733 cat conftest.err >&5
22734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22735 (exit $ac_status); } && {
22736 test -z "$ac_cxx_werror_flag" ||
22737 test ! -s conftest.err
22738 } && test -s conftest.$ac_objext; then
22739 ac_cv_header_iostream=yes
22741 echo "$as_me: failed program was:" >&5
22742 sed 's
/^
/| /' conftest.$ac_ext >&5
22744 ac_cv_header_iostream=no
22747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22749 { echo "$as_me:$LINENO: result: $ac_cv_header_iostream" >&5
22750 echo "${ECHO_T}$ac_cv_header_iostream" >&6; }
22754 if test "$ac_cv_header_iostream" = "yes" ; then
22757 cat >>confdefs.h <<\_ACEOF
22758 #define wxUSE_IOSTREAMH 1
22764 ac_cpp='$CPP $CPPFLAGS'
22765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22766 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22772 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
22773 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
22774 if test "${wx_cv_cpp_bool+set}" = set; then
22775 echo $ECHO_N "(cached) $ECHO_C" >&6
22780 ac_cpp='$CXXCPP $CPPFLAGS'
22781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22782 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22786 cat >conftest.$ac_ext <<_ACEOF
22789 cat confdefs.h >>conftest.$ac_ext
22790 cat >>conftest.$ac_ext <<_ACEOF
22791 /* end confdefs.h. */
22806 rm -f conftest.$ac_objext
22807 if { (ac_try="$ac_compile"
22808 case "(($ac_try" in
22809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22810 *) ac_try_echo=$ac_try;;
22812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22813 (eval "$ac_compile") 2>conftest.er1
22815 grep -v '^
*+' conftest.er1 >conftest.err
22817 cat conftest.err >&5
22818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22819 (exit $ac_status); } && {
22820 test -z "$ac_cxx_werror_flag" ||
22821 test ! -s conftest.err
22822 } && test -s conftest.$ac_objext; then
22827 echo "$as_me: failed program was:" >&5
22828 sed 's
/^
/| /' conftest.$ac_ext >&5
22836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22839 ac_cpp='$CPP $CPPFLAGS'
22840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22841 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22846 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
22847 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
22849 if test "$wx_cv_cpp_bool" = "yes"; then
22850 cat >>confdefs.h <<\_ACEOF
22851 #define HAVE_BOOL 1
22858 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
22859 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
22860 if test "${wx_cv_explicit+set}" = set; then
22861 echo $ECHO_N "(cached) $ECHO_C" >&6
22866 ac_cpp='$CXXCPP $CPPFLAGS'
22867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22868 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22872 cat >conftest.$ac_ext <<_ACEOF
22875 cat confdefs.h >>conftest.$ac_ext
22876 cat >>conftest.$ac_ext <<_ACEOF
22877 /* end confdefs.h. */
22879 class Foo { public: explicit Foo(int) {} };
22891 rm -f conftest.$ac_objext
22892 if { (ac_try="$ac_compile"
22893 case "(($ac_try" in
22894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22895 *) ac_try_echo=$ac_try;;
22897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22898 (eval "$ac_compile") 2>conftest.er1
22900 grep -v '^
*+' conftest.er1 >conftest.err
22902 cat conftest.err >&5
22903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22904 (exit $ac_status); } && {
22905 test -z "$ac_cxx_werror_flag" ||
22906 test ! -s conftest.err
22907 } && test -s conftest.$ac_objext; then
22909 cat >conftest.$ac_ext <<_ACEOF
22912 cat confdefs.h >>conftest.$ac_ext
22913 cat >>conftest.$ac_ext <<_ACEOF
22914 /* end confdefs.h. */
22916 class Foo { public: explicit Foo(int) {} };
22917 static void TakeFoo(const Foo& foo) { }
22930 rm -f conftest.$ac_objext
22931 if { (ac_try="$ac_compile"
22932 case "(($ac_try" in
22933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22934 *) ac_try_echo=$ac_try;;
22936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22937 (eval "$ac_compile") 2>conftest.er1
22939 grep -v '^
*+' conftest.er1 >conftest.err
22941 cat conftest.err >&5
22942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22943 (exit $ac_status); } && {
22944 test -z "$ac_cxx_werror_flag" ||
22945 test ! -s conftest.err
22946 } && test -s conftest.$ac_objext; then
22949 echo "$as_me: failed program was:" >&5
22950 sed 's
/^
/| /' conftest.$ac_ext >&5
22956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22959 echo "$as_me: failed program was:" >&5
22960 sed 's
/^
/| /' conftest.$ac_ext >&5
22966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22969 ac_cpp='$CPP $CPPFLAGS'
22970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22971 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22976 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
22977 echo "${ECHO_T}$wx_cv_explicit" >&6; }
22979 if test "$wx_cv_explicit" = "yes"; then
22980 cat >>confdefs.h <<\_ACEOF
22981 #define HAVE_EXPLICIT 1
22987 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
22988 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
22989 if test "${ac_cv_cxx_const_cast+set}" = set; then
22990 echo $ECHO_N "(cached) $ECHO_C" >&6
22994 ac_cpp='$CXXCPP $CPPFLAGS'
22995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22996 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22999 cat >conftest.$ac_ext <<_ACEOF
23002 cat confdefs.h >>conftest.$ac_ext
23003 cat >>conftest.$ac_ext <<_ACEOF
23004 /* end confdefs.h. */
23009 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23014 rm -f conftest.$ac_objext
23015 if { (ac_try="$ac_compile"
23016 case "(($ac_try" in
23017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23018 *) ac_try_echo=$ac_try;;
23020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23021 (eval "$ac_compile") 2>conftest.er1
23023 grep -v '^
*+' conftest.er1 >conftest.err
23025 cat conftest.err >&5
23026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23027 (exit $ac_status); } && {
23028 test -z "$ac_cxx_werror_flag" ||
23029 test ! -s conftest.err
23030 } && test -s conftest.$ac_objext; then
23031 ac_cv_cxx_const_cast=yes
23033 echo "$as_me: failed program was:" >&5
23034 sed 's
/^
/| /' conftest.$ac_ext >&5
23036 ac_cv_cxx_const_cast=no
23039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23041 ac_cpp='$CPP $CPPFLAGS'
23042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23043 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23048 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23049 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
23050 if test "$ac_cv_cxx_const_cast" = yes; then
23052 cat >>confdefs.h <<\_ACEOF
23053 #define HAVE_CONST_CAST
23058 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23059 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
23060 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23061 echo $ECHO_N "(cached) $ECHO_C" >&6
23065 ac_cpp='$CXXCPP $CPPFLAGS'
23066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23067 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23070 cat >conftest.$ac_ext <<_ACEOF
23073 cat confdefs.h >>conftest.$ac_ext
23074 cat >>conftest.$ac_ext <<_ACEOF
23075 /* end confdefs.h. */
23076 #include <typeinfo>
23077 class Base { public : Base () {} virtual void f () = 0;};
23078 class Derived : public Base { public : Derived () {} virtual void f () {} };
23079 class Unrelated { public : Unrelated () {} };
23080 int g (Unrelated&) { return 0; }
23085 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23090 rm -f conftest.$ac_objext
23091 if { (ac_try="$ac_compile"
23092 case "(($ac_try" in
23093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23094 *) ac_try_echo=$ac_try;;
23096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23097 (eval "$ac_compile") 2>conftest.er1
23099 grep -v '^
*+' conftest.er1 >conftest.err
23101 cat conftest.err >&5
23102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23103 (exit $ac_status); } && {
23104 test -z "$ac_cxx_werror_flag" ||
23105 test ! -s conftest.err
23106 } && test -s conftest.$ac_objext; then
23107 ac_cv_cxx_reinterpret_cast=yes
23109 echo "$as_me: failed program was:" >&5
23110 sed 's
/^
/| /' conftest.$ac_ext >&5
23112 ac_cv_cxx_reinterpret_cast=no
23115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23117 ac_cpp='$CPP $CPPFLAGS'
23118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23119 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23124 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23125 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
23126 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23128 cat >>confdefs.h <<\_ACEOF
23129 #define HAVE_REINTERPRET_CAST
23134 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23135 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
23136 if test "${ac_cv_cxx_static_cast+set}" = set; then
23137 echo $ECHO_N "(cached) $ECHO_C" >&6
23141 ac_cpp='$CXXCPP $CPPFLAGS'
23142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23143 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23146 cat >conftest.$ac_ext <<_ACEOF
23149 cat confdefs.h >>conftest.$ac_ext
23150 cat >>conftest.$ac_ext <<_ACEOF
23151 /* end confdefs.h. */
23152 #include <typeinfo>
23153 class Base { public : Base () {} virtual void f () = 0; };
23154 class Derived : public Base { public : Derived () {} virtual void f () {} };
23155 int g (Derived&) { return 0; }
23160 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23165 rm -f conftest.$ac_objext
23166 if { (ac_try="$ac_compile"
23167 case "(($ac_try" in
23168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23169 *) ac_try_echo=$ac_try;;
23171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23172 (eval "$ac_compile") 2>conftest.er1
23174 grep -v '^
*+' conftest.er1 >conftest.err
23176 cat conftest.err >&5
23177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23178 (exit $ac_status); } && {
23179 test -z "$ac_cxx_werror_flag" ||
23180 test ! -s conftest.err
23181 } && test -s conftest.$ac_objext; then
23182 ac_cv_cxx_static_cast=yes
23184 echo "$as_me: failed program was:" >&5
23185 sed 's
/^
/| /' conftest.$ac_ext >&5
23187 ac_cv_cxx_static_cast=no
23190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23192 ac_cpp='$CPP $CPPFLAGS'
23193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23194 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23199 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23200 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
23201 if test "$ac_cv_cxx_static_cast" = yes; then
23203 cat >>confdefs.h <<\_ACEOF
23204 #define HAVE_STATIC_CAST
23210 if test "x$SUNCXX" = xyes; then
23211 CXXFLAGS="-features=tmplife $CXXFLAGS"
23214 if test "x$SUNCC" = xyes; then
23215 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23218 if test "x$SGICC" = "xyes"; then
23219 CFLAGS="-woff 3970 $CFLAGS"
23221 if test "x$SGICXX" = "xyes"; then
23222 CXXFLAGS="-woff 3970 $CXXFLAGS"
23225 if test "x$HPCC" = "xyes"; then
23226 CFLAGS="+W 2011,2450 $CFLAGS"
23228 if test "x$HPCXX" = "xyes"; then
23229 CXXFLAGS="+W 2340 $CXXFLAGS"
23232 if test "x$COMPAQCXX" = "xyes"; then
23233 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23237 ac_cpp='$CXXCPP $CPPFLAGS'
23238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23239 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23243 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23244 if test "$wxUSE_UNICODE" = "yes"; then
23245 std_string="std::wstring"
23246 char_type="wchar_t"
23248 std_string="std::string"
23252 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23253 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
23254 if test "${wx_cv_class_stdstring+set}" = set; then
23255 echo $ECHO_N "(cached) $ECHO_C" >&6
23258 cat >conftest.$ac_ext <<_ACEOF
23261 cat confdefs.h >>conftest.$ac_ext
23262 cat >>conftest.$ac_ext <<_ACEOF
23263 /* end confdefs.h. */
23273 rm -f conftest.$ac_objext
23274 if { (ac_try="$ac_compile"
23275 case "(($ac_try" in
23276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23277 *) ac_try_echo=$ac_try;;
23279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23280 (eval "$ac_compile") 2>conftest.er1
23282 grep -v '^
*+' conftest.er1 >conftest.err
23284 cat conftest.err >&5
23285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23286 (exit $ac_status); } && {
23287 test -z "$ac_cxx_werror_flag" ||
23288 test ! -s conftest.err
23289 } && test -s conftest.$ac_objext; then
23290 wx_cv_class_stdstring=yes
23292 echo "$as_me: failed program was:" >&5
23293 sed 's
/^
/| /' conftest.$ac_ext >&5
23295 wx_cv_class_stdstring=no
23299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23303 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
23304 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
23306 if test "$wx_cv_class_stdstring" = yes; then
23307 if test "$wxUSE_UNICODE" = "yes"; then
23308 cat >>confdefs.h <<\_ACEOF
23309 #define HAVE_STD_WSTRING 1
23314 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23315 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
23316 if test "${wx_cv_class_stdbasicstring+set}" = set; then
23317 echo $ECHO_N "(cached) $ECHO_C" >&6
23320 cat >conftest.$ac_ext <<_ACEOF
23323 cat confdefs.h >>conftest.$ac_ext
23324 cat >>conftest.$ac_ext <<_ACEOF
23325 /* end confdefs.h. */
23327 #ifdef HAVE_WCHAR_H
23329 # include <stddef.h>
23331 # include <wchar.h>
23333 #ifdef HAVE_STDLIB_H
23334 # include <stdlib.h>
23342 std::basic_string<$char_type> foo;
23343 const $char_type* dummy = foo.c_str();
23348 rm -f conftest.$ac_objext
23349 if { (ac_try="$ac_compile"
23350 case "(($ac_try" in
23351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23352 *) ac_try_echo=$ac_try;;
23354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23355 (eval "$ac_compile") 2>conftest.er1
23357 grep -v '^
*+' conftest.er1 >conftest.err
23359 cat conftest.err >&5
23360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23361 (exit $ac_status); } && {
23362 test -z "$ac_cxx_werror_flag" ||
23363 test ! -s conftest.err
23364 } && test -s conftest.$ac_objext; then
23365 wx_cv_class_stdbasicstring=yes
23367 echo "$as_me: failed program was:" >&5
23368 sed 's
/^
/| /' conftest.$ac_ext >&5
23370 wx_cv_class_stdbasicstring=no
23374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23378 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
23379 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
23381 if test "$wx_cv_class_stdbasicstring" != yes; then
23382 if test "$wxUSE_STL" = "yes"; then
23383 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl without
$std_string or std
::basic_string
<$char_type>" >&5
23384 echo "$as_me: error
: Can
't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
23385 { (exit 1); exit 1; }; }
23386 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
23387 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_string without
$std_string or std
::basic_string
<$char_type>" >&5
23388 echo "$as_me: error
: Can
't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
23389 { (exit 1); exit 1; }; }
23391 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
23392 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
23393 wxUSE_STD_STRING=no
23399 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23400 { echo "$as_me:$LINENO: checking for std::istream" >&5
23401 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
23402 if test "${ac_cv_type_std__istream+set}" = set; then
23403 echo $ECHO_N "(cached) $ECHO_C" >&6
23405 cat >conftest.$ac_ext <<_ACEOF
23408 cat confdefs.h >>conftest.$ac_ext
23409 cat >>conftest.$ac_ext <<_ACEOF
23410 /* end confdefs.h. */
23411 #include <iostream>
23413 typedef std::istream ac__type_new_;
23417 if ((ac__type_new_ *) 0)
23419 if (sizeof (ac__type_new_))
23425 rm -f conftest.$ac_objext
23426 if { (ac_try="$ac_compile"
23427 case "(($ac_try" in
23428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23429 *) ac_try_echo=$ac_try;;
23431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23432 (eval "$ac_compile") 2>conftest.er1
23434 grep -v '^
*+' conftest.er1 >conftest.err
23436 cat conftest.err >&5
23437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23438 (exit $ac_status); } && {
23439 test -z "$ac_cxx_werror_flag" ||
23440 test ! -s conftest.err
23441 } && test -s conftest.$ac_objext; then
23442 ac_cv_type_std__istream=yes
23444 echo "$as_me: failed program was:" >&5
23445 sed 's
/^
/| /' conftest.$ac_ext >&5
23447 ac_cv_type_std__istream=no
23450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23452 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
23453 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
23454 if test $ac_cv_type_std__istream = yes; then
23456 cat >>confdefs.h <<_ACEOF
23457 #define HAVE_STD__ISTREAM 1
23462 wxUSE_STD_IOSTREAM=no
23464 { echo "$as_me:$LINENO: checking for std::ostream" >&5
23465 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
23466 if test "${ac_cv_type_std__ostream+set}" = set; then
23467 echo $ECHO_N "(cached) $ECHO_C" >&6
23469 cat >conftest.$ac_ext <<_ACEOF
23472 cat confdefs.h >>conftest.$ac_ext
23473 cat >>conftest.$ac_ext <<_ACEOF
23474 /* end confdefs.h. */
23475 #include <iostream>
23477 typedef std::ostream ac__type_new_;
23481 if ((ac__type_new_ *) 0)
23483 if (sizeof (ac__type_new_))
23489 rm -f conftest.$ac_objext
23490 if { (ac_try="$ac_compile"
23491 case "(($ac_try" in
23492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23493 *) ac_try_echo=$ac_try;;
23495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23496 (eval "$ac_compile") 2>conftest.er1
23498 grep -v '^
*+' conftest.er1 >conftest.err
23500 cat conftest.err >&5
23501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23502 (exit $ac_status); } && {
23503 test -z "$ac_cxx_werror_flag" ||
23504 test ! -s conftest.err
23505 } && test -s conftest.$ac_objext; then
23506 ac_cv_type_std__ostream=yes
23508 echo "$as_me: failed program was:" >&5
23509 sed 's
/^
/| /' conftest.$ac_ext >&5
23511 ac_cv_type_std__ostream=no
23514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23516 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
23517 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
23518 if test $ac_cv_type_std__ostream = yes; then
23520 cat >>confdefs.h <<_ACEOF
23521 #define HAVE_STD__OSTREAM 1
23526 wxUSE_STD_IOSTREAM=no
23530 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
23531 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
23532 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_iostreams without std
::istream and std
::ostream
" >&5
23533 echo "$as_me: error
: Can
't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
23534 { (exit 1); exit 1; }; }
23536 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
23537 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
23542 if test "$wxUSE_STL" = "yes"; then
23543 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
23544 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
23545 if test "${wx_cv_lib_stl+set}" = set; then
23546 echo $ECHO_N "(cached) $ECHO_C" >&6
23548 cat >conftest.$ac_ext <<_ACEOF
23551 cat confdefs.h >>conftest.$ac_ext
23552 cat >>conftest.$ac_ext <<_ACEOF
23553 /* end confdefs.h. */
23555 #include <functional>
23556 #include <algorithm>
23562 std::vector<int> moo;
23563 std::list<int> foo;
23564 std::vector<int>::iterator it =
23565 std::find_if(moo.begin(), moo.end(),
23566 std::bind2nd(std::less<int>(), 3));
23571 rm -f conftest.$ac_objext
23572 if { (ac_try="$ac_compile"
23573 case "(($ac_try" in
23574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23575 *) ac_try_echo=$ac_try;;
23577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23578 (eval "$ac_compile") 2>conftest.er1
23580 grep -v '^
*+' conftest.er1 >conftest.err
23582 cat conftest.err >&5
23583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23584 (exit $ac_status); } && {
23585 test -z "$ac_cxx_werror_flag" ||
23586 test ! -s conftest.err
23587 } && test -s conftest.$ac_objext; then
23590 echo "$as_me: failed program was:" >&5
23591 sed 's
/^
/| /' conftest.$ac_ext >&5
23597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23600 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
23601 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
23603 if test "$wx_cv_lib_stl" != yes; then
23604 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl as basic STL functionality is missing
" >&5
23605 echo "$as_me: error
: Can
't use --enable-stl as basic STL functionality is missing" >&2;}
23606 { (exit 1); exit 1; }; }
23609 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
23610 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
23611 if test "${wx_cv_func_stdstring_compare+set}" = set; then
23612 echo $ECHO_N "(cached) $ECHO_C" >&6
23614 cat >conftest.$ac_ext <<_ACEOF
23617 cat confdefs.h >>conftest.$ac_ext
23618 cat >>conftest.$ac_ext <<_ACEOF
23619 /* end confdefs.h. */
23624 std::string foo, bar;
23626 foo.compare(1, 1, bar);
23627 foo.compare(1, 1, bar, 1, 1);
23629 foo.compare(1, 1, "");
23630 foo.compare(1, 1, "", 2);
23635 rm -f conftest.$ac_objext
23636 if { (ac_try="$ac_compile"
23637 case "(($ac_try" in
23638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23639 *) ac_try_echo=$ac_try;;
23641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23642 (eval "$ac_compile") 2>conftest.er1
23644 grep -v '^
*+' conftest.er1 >conftest.err
23646 cat conftest.err >&5
23647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23648 (exit $ac_status); } && {
23649 test -z "$ac_cxx_werror_flag" ||
23650 test ! -s conftest.err
23651 } && test -s conftest.$ac_objext; then
23652 wx_cv_func_stdstring_compare=yes
23654 echo "$as_me: failed program was:" >&5
23655 sed 's
/^
/| /' conftest.$ac_ext >&5
23657 wx_cv_func_stdstring_compare=no
23661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23664 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
23665 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
23667 if test "$wx_cv_func_stdstring_compare" = yes; then
23668 cat >>confdefs.h <<\_ACEOF
23669 #define HAVE_STD_STRING_COMPARE 1
23674 { echo "$as_me:$LINENO: checking for hash_map" >&5
23675 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
23676 if test "${ac_cv_header_hash_map+set}" = set; then
23677 echo $ECHO_N "(cached) $ECHO_C" >&6
23679 cat >conftest.$ac_ext <<_ACEOF
23682 cat confdefs.h >>conftest.$ac_ext
23683 cat >>conftest.$ac_ext <<_ACEOF
23684 /* end confdefs.h. */
23688 #include <hash_map>
23690 rm -f conftest.$ac_objext
23691 if { (ac_try="$ac_compile"
23692 case "(($ac_try" in
23693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23694 *) ac_try_echo=$ac_try;;
23696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23697 (eval "$ac_compile") 2>conftest.er1
23699 grep -v '^
*+' conftest.er1 >conftest.err
23701 cat conftest.err >&5
23702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23703 (exit $ac_status); } && {
23704 test -z "$ac_cxx_werror_flag" ||
23705 test ! -s conftest.err
23706 } && test -s conftest.$ac_objext; then
23707 ac_cv_header_hash_map=yes
23709 echo "$as_me: failed program was:" >&5
23710 sed 's
/^
/| /' conftest.$ac_ext >&5
23712 ac_cv_header_hash_map=no
23715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23717 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23718 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
23719 if test $ac_cv_header_hash_map = yes; then
23720 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
23721 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
23722 if test "${wx_cv_class_stdhashmapset+set}" = set; then
23723 echo $ECHO_N "(cached) $ECHO_C" >&6
23725 cat >conftest.$ac_ext <<_ACEOF
23728 cat confdefs.h >>conftest.$ac_ext
23729 cat >>conftest.$ac_ext <<_ACEOF
23730 /* end confdefs.h. */
23731 #include <hash_map>
23732 #include <hash_set>
23736 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
23737 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
23742 rm -f conftest.$ac_objext
23743 if { (ac_try="$ac_compile"
23744 case "(($ac_try" in
23745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23746 *) ac_try_echo=$ac_try;;
23748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23749 (eval "$ac_compile") 2>conftest.er1
23751 grep -v '^
*+' conftest.er1 >conftest.err
23753 cat conftest.err >&5
23754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23755 (exit $ac_status); } && {
23756 test -z "$ac_cxx_werror_flag" ||
23757 test ! -s conftest.err
23758 } && test -s conftest.$ac_objext; then
23759 wx_cv_class_stdhashmapset=yes
23761 echo "$as_me: failed program was:" >&5
23762 sed 's
/^
/| /' conftest.$ac_ext >&5
23764 wx_cv_class_stdhashmapset=no
23767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23771 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
23772 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
23777 if test "$wx_cv_class_stdhashmapset" = yes; then
23778 cat >>confdefs.h <<\_ACEOF
23779 #define HAVE_HASH_MAP 1
23782 cat >>confdefs.h <<\_ACEOF
23783 #define HAVE_STD_HASH_MAP 1
23788 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23789 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
23790 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23791 echo $ECHO_N "(cached) $ECHO_C" >&6
23793 cat >conftest.$ac_ext <<_ACEOF
23796 cat confdefs.h >>conftest.$ac_ext
23797 cat >>conftest.$ac_ext <<_ACEOF
23798 /* end confdefs.h. */
23802 #include <ext/hash_map>
23804 rm -f conftest.$ac_objext
23805 if { (ac_try="$ac_compile"
23806 case "(($ac_try" in
23807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23808 *) ac_try_echo=$ac_try;;
23810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23811 (eval "$ac_compile") 2>conftest.er1
23813 grep -v '^
*+' conftest.er1 >conftest.err
23815 cat conftest.err >&5
23816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23817 (exit $ac_status); } && {
23818 test -z "$ac_cxx_werror_flag" ||
23819 test ! -s conftest.err
23820 } && test -s conftest.$ac_objext; then
23821 ac_cv_header_ext_hash_map=yes
23823 echo "$as_me: failed program was:" >&5
23824 sed 's
/^
/| /' conftest.$ac_ext >&5
23826 ac_cv_header_ext_hash_map=no
23829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23831 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23832 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
23833 if test $ac_cv_header_ext_hash_map = yes; then
23834 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
23835 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
23836 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
23837 echo $ECHO_N "(cached) $ECHO_C" >&6
23839 cat >conftest.$ac_ext <<_ACEOF
23842 cat confdefs.h >>conftest.$ac_ext
23843 cat >>conftest.$ac_ext <<_ACEOF
23844 /* end confdefs.h. */
23845 #include <ext/hash_map>
23846 #include <ext/hash_set>
23850 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
23851 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
23856 rm -f conftest.$ac_objext
23857 if { (ac_try="$ac_compile"
23858 case "(($ac_try" in
23859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23860 *) ac_try_echo=$ac_try;;
23862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23863 (eval "$ac_compile") 2>conftest.er1
23865 grep -v '^
*+' conftest.er1 >conftest.err
23867 cat conftest.err >&5
23868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23869 (exit $ac_status); } && {
23870 test -z "$ac_cxx_werror_flag" ||
23871 test ! -s conftest.err
23872 } && test -s conftest.$ac_objext; then
23873 wx_cv_class_gnuhashmapset=yes
23875 echo "$as_me: failed program was:" >&5
23876 sed 's
/^
/| /' conftest.$ac_ext >&5
23878 wx_cv_class_gnuhashmapset=no
23881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23885 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
23886 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
23891 if test "$wx_cv_class_gnuhashmapset" = yes; then
23892 cat >>confdefs.h <<\_ACEOF
23893 #define HAVE_EXT_HASH_MAP 1
23896 cat >>confdefs.h <<\_ACEOF
23897 #define HAVE_GNU_CXX_HASH_MAP 1
23904 ac_cpp='$CPP $CPPFLAGS'
23905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23906 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23912 /usr/local/include \
23914 /usr/Motif-2.1/include \
23915 /usr/Motif-1.2/include \
23916 /usr/include/Motif1.2 \
23919 /usr/openwin/include \
23923 /usr/X11R6/include \
23924 /usr/X11R6.4/include \
23925 /usr/X11R5/include \
23926 /usr/X11R4/include \
23928 /usr/include/X11R6 \
23929 /usr/include/X11R5 \
23930 /usr/include/X11R4 \
23932 /usr/local/X11R6/include \
23933 /usr/local/X11R5/include \
23934 /usr/local/X11R4/include \
23936 /usr/local/include/X11R6 \
23937 /usr/local/include/X11R5 \
23938 /usr/local/include/X11R4 \
23942 /usr/local/X11/include \
23943 /usr/local/include/X11 \
23945 /usr/XFree86/include/X11 \
23948 /usr/openwin/share/include"
23950 { echo "$as_me:$LINENO: checking for libraries directory" >&5
23951 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
23955 if test "${wx_cv_std_libpath+set}" = set; then
23956 echo $ECHO_N "(cached) $ECHO_C" >&6
23959 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
23960 for e in a so sl dylib dll.a; do
23962 if test -f $libc; then
23965 cat >conftest.$ac_ext <<_ACEOF
23966 int main() { return 0; }
23968 rm -f conftest.$ac_objext conftest$ac_exeext
23969 if { (ac_try="$ac_link"
23970 case "(($ac_try" in
23971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23972 *) ac_try_echo=$ac_try;;
23974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23975 (eval "$ac_link") 2>conftest.er1
23977 grep -v '^
*+' conftest.er1 >conftest.err
23979 cat conftest.err >&5
23980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23981 (exit $ac_status); } && {
23982 test -z "$ac_c_werror_flag" ||
23983 test ! -s conftest.err
23984 } && test -s conftest$ac_exeext &&
23985 $as_test_x conftest$ac_exeext; then
23986 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
23988 echo "$as_me: failed program was:" >&5
23989 sed 's
/^
/| /' conftest.$ac_ext >&5
23994 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23995 conftest$ac_exeext conftest.$ac_ext
23997 if test "x$wx_cv_std_libpath" != "x"; then
24003 if test "x$wx_cv_std_libpath" = "x"; then
24004 wx_cv_std_libpath="lib"
24013 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24014 wx_cv_std_libpath="lib/64"
24016 wx_cv_std_libpath="lib"
24021 if test "$ac_cv_sizeof_void_p" = 8 -a \
24022 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24023 wx_cv_std_libpath="lib64"
24025 wx_cv_std_libpath="lib"
24030 wx_cv_std_libpath="lib";
24034 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24035 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
24037 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24039 if test "$build" != "$host" -a "$GCC" = yes; then
24040 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
24041 cross_root=`dirname $cross_root`
24042 cross_root=`dirname $cross_root`
24044 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24045 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24046 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
24048 if test -z "$PKG_CONFIG_PATH"; then
24049 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24050 export PKG_CONFIG_PATH
24053 if test -z "$x_includes" -o "$x_includes" = NONE; then
24056 for ac_dir in $SEARCH_INCLUDE /usr/include;
24058 if test -f "$ac_dir/X11/Intrinsic.h"; then
24059 ac_find_includes=$ac_dir
24064 x_includes=$ac_find_includes
24066 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
24069 for ac_dir in $SEARCH_LIB;
24071 for ac_extension in a so sl dylib dll.a; do
24072 if test -f "$ac_dir/libXt.$ac_extension"; then
24073 ac_find_libraries=$ac_dir
24079 x_libraries=$ac_find_libraries
24085 cat >confcache <<\_ACEOF
24086 # This file is a shell script that caches the results of configure
24087 # tests run on this system so they can be shared between configure
24088 # scripts and configure runs, see configure's option
--config-cache.
24089 # It is not useful on other systems. If it contains results you don't
24090 # want to keep, you may remove or edit it.
24092 # config.status only pays attention to the cache file if you give it
24093 # the --recheck option to rerun configure.
24095 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24096 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24097 # following values.
24101 # The following way of writing the cache mishandles newlines in values,
24102 # but we know of no workaround that is simple, portable, and efficient.
24103 # So, we kill variables containing newlines.
24104 # Ultrix sh set writes to stderr and can't be redirected directly,
24105 # and sets the high bit in the cache file unless we assign to the vars.
24107 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24108 eval ac_val
=\$
$ac_var
24112 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
24113 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
24116 _
| IFS
| as_nl
) ;; #(
24117 *) $as_unset $ac_var ;;
24123 case $as_nl`(ac_space=' '; set) 2>&1` in #(
24124 *${as_nl}ac_space
=\
*)
24125 # `set' does not quote correctly, so add quotes (double-quote
24126 # substitution turns \\\\ into \\, and sed turns \\ into \).
24129 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24132 # `set' quotes correctly as required by POSIX, so do not add quotes.
24133 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
24142 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24144 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24146 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
24147 if test -w "$cache_file"; then
24148 test "x$cache_file" != "x/dev/null" &&
24149 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
24150 echo "$as_me: updating cache $cache_file" >&6;}
24151 cat confcache
>$cache_file
24153 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
24154 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
24159 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24160 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24161 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
24162 if test "${wx_cv_lib_glibc21+set}" = set; then
24163 echo $ECHO_N "(cached) $ECHO_C" >&6
24166 cat >conftest.
$ac_ext <<_ACEOF
24169 cat confdefs.h
>>conftest.
$ac_ext
24170 cat >>conftest.
$ac_ext <<_ACEOF
24171 /* end confdefs.h. */
24172 #include <features.h>
24177 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24185 rm -f conftest.
$ac_objext
24186 if { (ac_try
="$ac_compile"
24187 case "(($ac_try" in
24188 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24189 *) ac_try_echo=$ac_try;;
24191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24192 (eval "$ac_compile") 2>conftest.er1
24194 grep -v '^ *+' conftest.er1 >conftest.err
24196 cat conftest.err >&5
24197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24198 (exit $ac_status); } && {
24199 test -z "$ac_c_werror_flag" ||
24200 test ! -s conftest.err
24201 } && test -s conftest.$ac_objext; then
24203 wx_cv_lib_glibc21=yes
24206 echo "$as_me: failed program was:" >&5
24207 sed 's/^/| /' conftest.$ac_ext >&5
24210 wx_cv_lib_glibc21=no
24215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24218 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24219 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
24220 if test "$wx_cv_lib_glibc21" = "yes"; then
24221 cat >>confdefs.h <<\_ACEOF
24222 #define wxHAVE_GLIBC2 1
24228 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24229 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24230 cat >>confdefs.h <<\_ACEOF
24231 #define _GNU_SOURCE 1
24242 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24243 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24244 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24245 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24246 echo $ECHO_N "(cached) $ECHO_C" >&6
24248 cat >conftest.$ac_ext <<_ACEOF
24251 cat confdefs.h >>conftest.$ac_ext
24252 cat >>conftest.$ac_ext <<_ACEOF
24253 /* end confdefs.h. */
24254 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24255 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24256 #define $ac_func innocuous_$ac_func
24258 /* System header to define __stub macros and hopefully few prototypes,
24259 which can conflict with char $ac_func (); below.
24260 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24261 <limits.h> exists even on freestanding compilers. */
24264 # include <limits.h>
24266 # include <assert.h>
24271 /* Override any GCC internal prototype to avoid an error.
24272 Use char because int might match the return type of a GCC
24273 builtin and then its argument prototype would still apply. */
24278 /* The GNU C library defines this for functions which it implements
24279 to always fail with ENOSYS. Some functions are actually named
24280 something starting with __ and the normal name is an alias. */
24281 #if defined __stub_$ac_func || defined __stub___$ac_func
24288 return $ac_func ();
24293 rm -f conftest.$ac_objext conftest$ac_exeext
24294 if { (ac_try="$ac_link"
24295 case "(($ac_try" in
24296 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24297 *) ac_try_echo
=$ac_try;;
24299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24300 (eval "$ac_link") 2>conftest.er1
24302 grep -v '^ *+' conftest.er1
>conftest.err
24304 cat conftest.err
>&5
24305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24306 (exit $ac_status); } && {
24307 test -z "$ac_c_werror_flag" ||
24308 test ! -s conftest.err
24309 } && test -s conftest
$ac_exeext &&
24310 $as_test_x conftest
$ac_exeext; then
24311 eval "$as_ac_var=yes"
24313 echo "$as_me: failed program was:" >&5
24314 sed 's/^/| /' conftest.
$ac_ext >&5
24316 eval "$as_ac_var=no"
24319 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
24320 conftest
$ac_exeext conftest.
$ac_ext
24322 ac_res
=`eval echo '${'$as_ac_var'}'`
24323 { echo "$as_me:$LINENO: result: $ac_res" >&5
24324 echo "${ECHO_T}$ac_res" >&6; }
24325 if test `eval echo '${'$as_ac_var'}'` = yes; then
24326 cat >>confdefs.h
<<_ACEOF
24327 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24334 for ac_func
in floor
24336 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24337 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24338 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24339 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24340 echo $ECHO_N "(cached) $ECHO_C" >&6
24342 cat >conftest.
$ac_ext <<_ACEOF
24345 cat confdefs.h
>>conftest.
$ac_ext
24346 cat >>conftest.
$ac_ext <<_ACEOF
24347 /* end confdefs.h. */
24348 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24349 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24350 #define $ac_func innocuous_$ac_func
24352 /* System header to define __stub macros and hopefully few prototypes,
24353 which can conflict with char $ac_func (); below.
24354 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24355 <limits.h> exists even on freestanding compilers. */
24358 # include <limits.h>
24360 # include <assert.h>
24365 /* Override any GCC internal prototype to avoid an error.
24366 Use char because int might match the return type of a GCC
24367 builtin and then its argument prototype would still apply. */
24372 /* The GNU C library defines this for functions which it implements
24373 to always fail with ENOSYS. Some functions are actually named
24374 something starting with __ and the normal name is an alias. */
24375 #if defined __stub_$ac_func || defined __stub___$ac_func
24382 return $ac_func ();
24387 rm -f conftest.
$ac_objext conftest
$ac_exeext
24388 if { (ac_try
="$ac_link"
24389 case "(($ac_try" in
24390 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24391 *) ac_try_echo=$ac_try;;
24393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24394 (eval "$ac_link") 2>conftest.er1
24396 grep -v '^ *+' conftest.er1 >conftest.err
24398 cat conftest.err >&5
24399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24400 (exit $ac_status); } && {
24401 test -z "$ac_c_werror_flag" ||
24402 test ! -s conftest.err
24403 } && test -s conftest$ac_exeext &&
24404 $as_test_x conftest$ac_exeext; then
24405 eval "$as_ac_var=yes"
24407 echo "$as_me: failed program was:" >&5
24408 sed 's/^/| /' conftest.$ac_ext >&5
24410 eval "$as_ac_var=no"
24413 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24414 conftest$ac_exeext conftest.$ac_ext
24416 ac_res=`eval echo '${'$as_ac_var'}'`
24417 { echo "$as_me:$LINENO: result: $ac_res" >&5
24418 echo "${ECHO_T}$ac_res" >&6; }
24419 if test `eval echo '${'$as_ac_var'}'` = yes; then
24420 cat >>confdefs.h <<_ACEOF
24421 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24427 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
24428 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
24429 if test "$have_cos" = 1 -a "$have_floor" = 1; then
24430 { echo "$as_me:$LINENO: result: yes" >&5
24431 echo "${ECHO_T}yes" >&6; }
24433 { echo "$as_me:$LINENO: result: no" >&5
24434 echo "${ECHO_T}no" >&6; }
24436 # use different functions to avoid configure caching
24442 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24443 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24444 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24445 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24446 echo $ECHO_N "(cached) $ECHO_C" >&6
24448 cat >conftest.$ac_ext <<_ACEOF
24451 cat confdefs.h >>conftest.$ac_ext
24452 cat >>conftest.$ac_ext <<_ACEOF
24453 /* end confdefs.h. */
24454 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24455 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24456 #define $ac_func innocuous_$ac_func
24458 /* System header to define __stub macros and hopefully few prototypes,
24459 which can conflict with char $ac_func (); below.
24460 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24461 <limits.h> exists even on freestanding compilers. */
24464 # include <limits.h>
24466 # include <assert.h>
24471 /* Override any GCC internal prototype to avoid an error.
24472 Use char because int might match the return type of a GCC
24473 builtin and then its argument prototype would still apply. */
24478 /* The GNU C library defines this for functions which it implements
24479 to always fail with ENOSYS. Some functions are actually named
24480 something starting with __ and the normal name is an alias. */
24481 #if defined __stub_$ac_func || defined __stub___$ac_func
24488 return $ac_func ();
24493 rm -f conftest.$ac_objext conftest$ac_exeext
24494 if { (ac_try="$ac_link"
24495 case "(($ac_try" in
24496 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24497 *) ac_try_echo
=$ac_try;;
24499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24500 (eval "$ac_link") 2>conftest.er1
24502 grep -v '^ *+' conftest.er1
>conftest.err
24504 cat conftest.err
>&5
24505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24506 (exit $ac_status); } && {
24507 test -z "$ac_c_werror_flag" ||
24508 test ! -s conftest.err
24509 } && test -s conftest
$ac_exeext &&
24510 $as_test_x conftest
$ac_exeext; then
24511 eval "$as_ac_var=yes"
24513 echo "$as_me: failed program was:" >&5
24514 sed 's/^/| /' conftest.
$ac_ext >&5
24516 eval "$as_ac_var=no"
24519 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
24520 conftest
$ac_exeext conftest.
$ac_ext
24522 ac_res
=`eval echo '${'$as_ac_var'}'`
24523 { echo "$as_me:$LINENO: result: $ac_res" >&5
24524 echo "${ECHO_T}$ac_res" >&6; }
24525 if test `eval echo '${'$as_ac_var'}'` = yes; then
24526 cat >>confdefs.h
<<_ACEOF
24527 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24534 for ac_func
in ceil
24536 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24537 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24538 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24539 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24540 echo $ECHO_N "(cached) $ECHO_C" >&6
24542 cat >conftest.
$ac_ext <<_ACEOF
24545 cat confdefs.h
>>conftest.
$ac_ext
24546 cat >>conftest.
$ac_ext <<_ACEOF
24547 /* end confdefs.h. */
24548 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24549 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24550 #define $ac_func innocuous_$ac_func
24552 /* System header to define __stub macros and hopefully few prototypes,
24553 which can conflict with char $ac_func (); below.
24554 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24555 <limits.h> exists even on freestanding compilers. */
24558 # include <limits.h>
24560 # include <assert.h>
24565 /* Override any GCC internal prototype to avoid an error.
24566 Use char because int might match the return type of a GCC
24567 builtin and then its argument prototype would still apply. */
24572 /* The GNU C library defines this for functions which it implements
24573 to always fail with ENOSYS. Some functions are actually named
24574 something starting with __ and the normal name is an alias. */
24575 #if defined __stub_$ac_func || defined __stub___$ac_func
24582 return $ac_func ();
24587 rm -f conftest.
$ac_objext conftest
$ac_exeext
24588 if { (ac_try
="$ac_link"
24589 case "(($ac_try" in
24590 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24591 *) ac_try_echo=$ac_try;;
24593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24594 (eval "$ac_link") 2>conftest.er1
24596 grep -v '^ *+' conftest.er1 >conftest.err
24598 cat conftest.err >&5
24599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24600 (exit $ac_status); } && {
24601 test -z "$ac_c_werror_flag" ||
24602 test ! -s conftest.err
24603 } && test -s conftest$ac_exeext &&
24604 $as_test_x conftest$ac_exeext; then
24605 eval "$as_ac_var=yes"
24607 echo "$as_me: failed program was:" >&5
24608 sed 's/^/| /' conftest.$ac_ext >&5
24610 eval "$as_ac_var=no"
24613 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24614 conftest$ac_exeext conftest.$ac_ext
24616 ac_res=`eval echo '${'$as_ac_var'}'`
24617 { echo "$as_me:$LINENO: result: $ac_res" >&5
24618 echo "${ECHO_T}$ac_res" >&6; }
24619 if test `eval echo '${'$as_ac_var'}'` = yes; then
24620 cat >>confdefs.h <<_ACEOF
24621 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24627 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
24628 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
24629 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
24630 { echo "$as_me:$LINENO: result: yes" >&5
24631 echo "${ECHO_T}yes" >&6; }
24633 { echo "$as_me:$LINENO: result: no" >&5
24634 echo "${ECHO_T}no" >&6; }
24635 # not sure we should warn the user, crash, etc.
24640 ac_cpp='$CXXCPP $CPPFLAGS'
24641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24645 if test "wxUSE_UNICODE" = "yes"; then
24647 for wx_func in wcstoull
24649 { echo "$as_me:$LINENO: checking for $wx_func" >&5
24650 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
24651 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
24652 echo $ECHO_N "(cached) $ECHO_C" >&6
24655 cat >conftest.$ac_ext <<_ACEOF
24659 cat confdefs.h >>conftest.$ac_ext
24660 cat >>conftest.$ac_ext <<_ACEOF
24661 /* end confdefs.h. */
24664 $ac_includes_default
24680 rm -f conftest.$ac_objext conftest$ac_exeext
24681 if { (ac_try="$ac_link"
24682 case "(($ac_try" in
24683 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24684 *) ac_try_echo
=$ac_try;;
24686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24687 (eval "$ac_link") 2>conftest.er1
24689 grep -v '^ *+' conftest.er1
>conftest.err
24691 cat conftest.err
>&5
24692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24693 (exit $ac_status); } && {
24694 test -z "$ac_cxx_werror_flag" ||
24695 test ! -s conftest.err
24696 } && test -s conftest
$ac_exeext &&
24697 $as_test_x conftest
$ac_exeext; then
24698 eval wx_cv_func_
$wx_func=yes
24700 echo "$as_me: failed program was:" >&5
24701 sed 's/^/| /' conftest.
$ac_ext >&5
24703 eval wx_cv_func_
$wx_func=no
24706 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
24707 conftest
$ac_exeext conftest.
$ac_ext
24710 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
24711 { echo "$as_me:$LINENO: result: $ac_res" >&5
24712 echo "${ECHO_T}$ac_res" >&6; }
24714 if eval test \
$wx_cv_func_$wx_func = yes
24716 cat >>confdefs.h
<<_ACEOF
24717 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
24729 for wx_func
in strtoull
24731 { echo "$as_me:$LINENO: checking for $wx_func" >&5
24732 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
24733 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
24734 echo $ECHO_N "(cached) $ECHO_C" >&6
24737 cat >conftest.
$ac_ext <<_ACEOF
24741 cat confdefs.h
>>conftest.
$ac_ext
24742 cat >>conftest.
$ac_ext <<_ACEOF
24743 /* end confdefs.h. */
24746 $ac_includes_default
24762 rm -f conftest.
$ac_objext conftest
$ac_exeext
24763 if { (ac_try
="$ac_link"
24764 case "(($ac_try" in
24765 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24766 *) ac_try_echo=$ac_try;;
24768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24769 (eval "$ac_link") 2>conftest.er1
24771 grep -v '^ *+' conftest.er1 >conftest.err
24773 cat conftest.err >&5
24774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24775 (exit $ac_status); } && {
24776 test -z "$ac_cxx_werror_flag" ||
24777 test ! -s conftest.err
24778 } && test -s conftest$ac_exeext &&
24779 $as_test_x conftest$ac_exeext; then
24780 eval wx_cv_func_$wx_func=yes
24782 echo "$as_me: failed program was:" >&5
24783 sed 's/^/| /' conftest.$ac_ext >&5
24785 eval wx_cv_func_$wx_func=no
24788 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24789 conftest$ac_exeext conftest.$ac_ext
24792 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
24793 { echo "$as_me:$LINENO: result: $ac_res" >&5
24794 echo "${ECHO_T}$ac_res" >&6; }
24796 if eval test \$wx_cv_func_$wx_func = yes
24798 cat >>confdefs.h <<_ACEOF
24799 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
24811 ac_cpp='$CPP $CPPFLAGS'
24812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24819 if test "$wxUSE_REGEX" != "no"; then
24820 cat >>confdefs.h <<\_ACEOF
24821 #define wxUSE_REGEX 1
24825 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
24826 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
24827 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
24828 wxUSE_REGEX=builtin
24831 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
24832 { echo "$as_me:$LINENO: checking for regex.h" >&5
24833 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
24834 if test "${ac_cv_header_regex_h+set}" = set; then
24835 echo $ECHO_N "(cached) $ECHO_C" >&6
24837 cat >conftest.$ac_ext <<_ACEOF
24840 cat confdefs.h >>conftest.$ac_ext
24841 cat >>conftest.$ac_ext <<_ACEOF
24842 /* end confdefs.h. */
24847 rm -f conftest.$ac_objext
24848 if { (ac_try="$ac_compile"
24849 case "(($ac_try" in
24850 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24851 *) ac_try_echo
=$ac_try;;
24853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24854 (eval "$ac_compile") 2>conftest.er1
24856 grep -v '^ *+' conftest.er1
>conftest.err
24858 cat conftest.err
>&5
24859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24860 (exit $ac_status); } && {
24861 test -z "$ac_c_werror_flag" ||
24862 test ! -s conftest.err
24863 } && test -s conftest.
$ac_objext; then
24864 ac_cv_header_regex_h
=yes
24866 echo "$as_me: failed program was:" >&5
24867 sed 's/^/| /' conftest.
$ac_ext >&5
24869 ac_cv_header_regex_h
=no
24872 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24874 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
24875 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
24876 if test $ac_cv_header_regex_h = yes; then
24879 for ac_func
in regcomp re_search
24881 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24882 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24883 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24884 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24885 echo $ECHO_N "(cached) $ECHO_C" >&6
24887 cat >conftest.
$ac_ext <<_ACEOF
24890 cat confdefs.h
>>conftest.
$ac_ext
24891 cat >>conftest.
$ac_ext <<_ACEOF
24892 /* end confdefs.h. */
24893 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24894 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24895 #define $ac_func innocuous_$ac_func
24897 /* System header to define __stub macros and hopefully few prototypes,
24898 which can conflict with char $ac_func (); below.
24899 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24900 <limits.h> exists even on freestanding compilers. */
24903 # include <limits.h>
24905 # include <assert.h>
24910 /* Override any GCC internal prototype to avoid an error.
24911 Use char because int might match the return type of a GCC
24912 builtin and then its argument prototype would still apply. */
24917 /* The GNU C library defines this for functions which it implements
24918 to always fail with ENOSYS. Some functions are actually named
24919 something starting with __ and the normal name is an alias. */
24920 #if defined __stub_$ac_func || defined __stub___$ac_func
24927 return $ac_func ();
24932 rm -f conftest.
$ac_objext conftest
$ac_exeext
24933 if { (ac_try
="$ac_link"
24934 case "(($ac_try" in
24935 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24936 *) ac_try_echo=$ac_try;;
24938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24939 (eval "$ac_link") 2>conftest.er1
24941 grep -v '^ *+' conftest.er1 >conftest.err
24943 cat conftest.err >&5
24944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24945 (exit $ac_status); } && {
24946 test -z "$ac_c_werror_flag" ||
24947 test ! -s conftest.err
24948 } && test -s conftest$ac_exeext &&
24949 $as_test_x conftest$ac_exeext; then
24950 eval "$as_ac_var=yes"
24952 echo "$as_me: failed program was:" >&5
24953 sed 's/^/| /' conftest.$ac_ext >&5
24955 eval "$as_ac_var=no"
24958 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24959 conftest$ac_exeext conftest.$ac_ext
24961 ac_res=`eval echo '${'$as_ac_var'}'`
24962 { echo "$as_me:$LINENO: result: $ac_res" >&5
24963 echo "${ECHO_T}$ac_res" >&6; }
24964 if test `eval echo '${'$as_ac_var'}'` = yes; then
24965 cat >>confdefs.h <<_ACEOF
24966 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24976 if test "x$ac_cv_func_regcomp" != "xyes"; then
24977 if test "$wxUSE_REGEX" = "sys" ; then
24978 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
24979 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
24980 { (exit 1); exit 1; }; }
24982 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
24983 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
24984 wxUSE_REGEX=builtin
24988 cat >>confdefs.h <<\_ACEOF
24989 #define WX_NO_REGEX_ADVANCED 1
24998 if test "$wxUSE_ZLIB" != "no" ; then
24999 cat >>confdefs.h <<\_ACEOF
25000 #define wxUSE_ZLIB 1
25004 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25005 if test "$USE_DARWIN" = 1; then
25006 system_zlib_h_ok="yes"
25008 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25009 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
25010 if test "${ac_cv_header_zlib_h+set}" = set; then
25011 echo $ECHO_N "(cached) $ECHO_C" >&6
25013 if test "$cross_compiling" = yes; then
25014 unset ac_cv_header_zlib_h
25017 cat >conftest.$ac_ext <<_ACEOF
25020 cat confdefs.h >>conftest.$ac_ext
25021 cat >>conftest.$ac_ext <<_ACEOF
25022 /* end confdefs.h. */
25029 FILE *f=fopen("conftestval", "w");
25032 ZLIB_VERSION[0] == '1' &&
25033 (ZLIB_VERSION[2] > '1' ||
25034 (ZLIB_VERSION[2] == '1' &&
25035 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25040 rm -f conftest$ac_exeext
25041 if { (ac_try="$ac_link"
25042 case "(($ac_try" in
25043 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25044 *) ac_try_echo
=$ac_try;;
25046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25047 (eval "$ac_link") 2>&5
25049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25050 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25051 { (case "(($ac_try" in
25052 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25053 *) ac_try_echo=$ac_try;;
25055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25056 (eval "$ac_try") 2>&5
25058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25059 (exit $ac_status); }; }; then
25060 ac_cv_header_zlib_h=`cat conftestval
`
25062 echo "$as_me: program exited with status $ac_status" >&5
25063 echo "$as_me: failed program was:" >&5
25064 sed 's/^/| /' conftest.$ac_ext >&5
25066 ( exit $ac_status )
25067 ac_cv_header_zlib_h=no
25069 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25075 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25076 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
25077 { echo "$as_me:$LINENO: checking for zlib.h" >&5
25078 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
25079 if test "${ac_cv_header_zlib_h+set}" = set; then
25080 echo $ECHO_N "(cached) $ECHO_C" >&6
25082 cat >conftest.$ac_ext <<_ACEOF
25085 cat confdefs.h >>conftest.$ac_ext
25086 cat >>conftest.$ac_ext <<_ACEOF
25087 /* end confdefs.h. */
25092 rm -f conftest.$ac_objext
25093 if { (ac_try="$ac_compile"
25094 case "(($ac_try" in
25095 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25096 *) ac_try_echo
=$ac_try;;
25098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25099 (eval "$ac_compile") 2>conftest.er1
25101 grep -v '^ *+' conftest.er1
>conftest.err
25103 cat conftest.err
>&5
25104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25105 (exit $ac_status); } && {
25106 test -z "$ac_c_werror_flag" ||
25107 test ! -s conftest.err
25108 } && test -s conftest.
$ac_objext; then
25109 ac_cv_header_zlib_h
=yes
25111 echo "$as_me: failed program was:" >&5
25112 sed 's/^/| /' conftest.
$ac_ext >&5
25114 ac_cv_header_zlib_h
=no
25117 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25119 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25120 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
25124 system_zlib_h_ok
=$ac_cv_header_zlib_h
25127 if test "$system_zlib_h_ok" = "yes"; then
25128 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
25129 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
25130 if test "${ac_cv_lib_z_deflate+set}" = set; then
25131 echo $ECHO_N "(cached) $ECHO_C" >&6
25133 ac_check_lib_save_LIBS
=$LIBS
25135 cat >conftest.
$ac_ext <<_ACEOF
25138 cat confdefs.h
>>conftest.
$ac_ext
25139 cat >>conftest.
$ac_ext <<_ACEOF
25140 /* end confdefs.h. */
25142 /* Override any GCC internal prototype to avoid an error.
25143 Use char because int might match the return type of a GCC
25144 builtin and then its argument prototype would still apply. */
25157 rm -f conftest.
$ac_objext conftest
$ac_exeext
25158 if { (ac_try
="$ac_link"
25159 case "(($ac_try" in
25160 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25161 *) ac_try_echo=$ac_try;;
25163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25164 (eval "$ac_link") 2>conftest.er1
25166 grep -v '^ *+' conftest.er1 >conftest.err
25168 cat conftest.err >&5
25169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25170 (exit $ac_status); } && {
25171 test -z "$ac_c_werror_flag" ||
25172 test ! -s conftest.err
25173 } && test -s conftest$ac_exeext &&
25174 $as_test_x conftest$ac_exeext; then
25175 ac_cv_lib_z_deflate=yes
25177 echo "$as_me: failed program was:" >&5
25178 sed 's/^/| /' conftest.$ac_ext >&5
25180 ac_cv_lib_z_deflate=no
25183 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25184 conftest$ac_exeext conftest.$ac_ext
25185 LIBS=$ac_check_lib_save_LIBS
25187 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
25188 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
25189 if test $ac_cv_lib_z_deflate = yes; then
25195 if test "x$ZLIB_LINK" = "x" ; then
25196 if test "$wxUSE_ZLIB" = "sys" ; then
25197 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
25198 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
25199 { (exit 1); exit 1; }; }
25201 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
25202 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
25213 if test "$wxUSE_LIBPNG" != "no" ; then
25214 cat >>confdefs.h <<\_ACEOF
25215 #define wxUSE_LIBPNG 1
25219 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
25220 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
25221 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
25225 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
25226 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
25227 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
25228 wxUSE_LIBPNG=builtin
25231 if test "$wxUSE_MGL" != 1 ; then
25232 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
25233 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
25234 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
25235 if test "${ac_cv_header_png_h+set}" = set; then
25236 echo $ECHO_N "(cached) $ECHO_C" >&6
25238 if test "$cross_compiling" = yes; then
25239 unset ac_cv_header_png_h
25242 cat >conftest.$ac_ext <<_ACEOF
25245 cat confdefs.h >>conftest.$ac_ext
25246 cat >>conftest.$ac_ext <<_ACEOF
25247 /* end confdefs.h. */
25254 FILE *f=fopen("conftestval", "w");
25257 PNG_LIBPNG_VER > 90 ? "yes" : "no");
25262 rm -f conftest$ac_exeext
25263 if { (ac_try="$ac_link"
25264 case "(($ac_try" in
25265 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25266 *) ac_try_echo
=$ac_try;;
25268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25269 (eval "$ac_link") 2>&5
25271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25272 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25273 { (case "(($ac_try" in
25274 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25275 *) ac_try_echo=$ac_try;;
25277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25278 (eval "$ac_try") 2>&5
25280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25281 (exit $ac_status); }; }; then
25282 ac_cv_header_png_h=`cat conftestval
`
25284 echo "$as_me: program exited with status $ac_status" >&5
25285 echo "$as_me: failed program was:" >&5
25286 sed 's/^/| /' conftest.$ac_ext >&5
25288 ( exit $ac_status )
25289 ac_cv_header_png_h=no
25291 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25297 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25298 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
25299 { echo "$as_me:$LINENO: checking for png.h" >&5
25300 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
25301 if test "${ac_cv_header_png_h+set}" = set; then
25302 echo $ECHO_N "(cached) $ECHO_C" >&6
25304 cat >conftest.$ac_ext <<_ACEOF
25307 cat confdefs.h >>conftest.$ac_ext
25308 cat >>conftest.$ac_ext <<_ACEOF
25309 /* end confdefs.h. */
25314 rm -f conftest.$ac_objext
25315 if { (ac_try="$ac_compile"
25316 case "(($ac_try" in
25317 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25318 *) ac_try_echo
=$ac_try;;
25320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25321 (eval "$ac_compile") 2>conftest.er1
25323 grep -v '^ *+' conftest.er1
>conftest.err
25325 cat conftest.err
>&5
25326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25327 (exit $ac_status); } && {
25328 test -z "$ac_c_werror_flag" ||
25329 test ! -s conftest.err
25330 } && test -s conftest.
$ac_objext; then
25331 ac_cv_header_png_h
=yes
25333 echo "$as_me: failed program was:" >&5
25334 sed 's/^/| /' conftest.
$ac_ext >&5
25336 ac_cv_header_png_h
=no
25339 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25341 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25342 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
25346 if test "$ac_cv_header_png_h" = "yes"; then
25347 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
25348 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
25349 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
25350 echo $ECHO_N "(cached) $ECHO_C" >&6
25352 ac_check_lib_save_LIBS
=$LIBS
25353 LIBS
="-lpng -lz -lm $LIBS"
25354 cat >conftest.
$ac_ext <<_ACEOF
25357 cat confdefs.h
>>conftest.
$ac_ext
25358 cat >>conftest.
$ac_ext <<_ACEOF
25359 /* end confdefs.h. */
25361 /* Override any GCC internal prototype to avoid an error.
25362 Use char because int might match the return type of a GCC
25363 builtin and then its argument prototype would still apply. */
25367 char png_check_sig ();
25371 return png_check_sig ();
25376 rm -f conftest.
$ac_objext conftest
$ac_exeext
25377 if { (ac_try
="$ac_link"
25378 case "(($ac_try" in
25379 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25380 *) ac_try_echo=$ac_try;;
25382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25383 (eval "$ac_link") 2>conftest.er1
25385 grep -v '^ *+' conftest.er1 >conftest.err
25387 cat conftest.err >&5
25388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25389 (exit $ac_status); } && {
25390 test -z "$ac_c_werror_flag" ||
25391 test ! -s conftest.err
25392 } && test -s conftest$ac_exeext &&
25393 $as_test_x conftest$ac_exeext; then
25394 ac_cv_lib_png_png_check_sig=yes
25396 echo "$as_me: failed program was:" >&5
25397 sed 's/^/| /' conftest.$ac_ext >&5
25399 ac_cv_lib_png_png_check_sig=no
25402 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25403 conftest$ac_exeext conftest.$ac_ext
25404 LIBS=$ac_check_lib_save_LIBS
25406 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
25407 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
25408 if test $ac_cv_lib_png_png_check_sig = yes; then
25409 PNG_LINK=" -lpng -lz"
25414 if test "x$PNG_LINK" = "x" ; then
25415 if test "$wxUSE_LIBPNG" = "sys" ; then
25416 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
25417 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
25418 { (exit 1); exit 1; }; }
25420 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
25421 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
25422 wxUSE_LIBPNG=builtin
25430 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
25435 if test "$wxUSE_LIBJPEG" != "no" ; then
25436 cat >>confdefs.h <<\_ACEOF
25437 #define wxUSE_LIBJPEG 1
25441 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
25442 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
25443 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
25447 if test "$wxUSE_MGL" != 1 ; then
25448 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
25449 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
25450 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
25451 if test "${ac_cv_header_jpeglib_h+set}" = set; then
25452 echo $ECHO_N "(cached) $ECHO_C" >&6
25454 cat >conftest.$ac_ext <<_ACEOF
25457 cat confdefs.h >>conftest.$ac_ext
25458 cat >>conftest.$ac_ext <<_ACEOF
25459 /* end confdefs.h. */
25461 #undef HAVE_STDLIB_H
25463 #include <jpeglib.h>
25474 rm -f conftest.$ac_objext
25475 if { (ac_try="$ac_compile"
25476 case "(($ac_try" in
25477 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25478 *) ac_try_echo
=$ac_try;;
25480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25481 (eval "$ac_compile") 2>conftest.er1
25483 grep -v '^ *+' conftest.er1
>conftest.err
25485 cat conftest.err
>&5
25486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25487 (exit $ac_status); } && {
25488 test -z "$ac_c_werror_flag" ||
25489 test ! -s conftest.err
25490 } && test -s conftest.
$ac_objext; then
25491 ac_cv_header_jpeglib_h
=yes
25493 echo "$as_me: failed program was:" >&5
25494 sed 's/^/| /' conftest.
$ac_ext >&5
25496 ac_cv_header_jpeglib_h
=no
25500 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25504 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
25505 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
25507 if test "$ac_cv_header_jpeglib_h" = "yes"; then
25508 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
25509 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
25510 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
25511 echo $ECHO_N "(cached) $ECHO_C" >&6
25513 ac_check_lib_save_LIBS
=$LIBS
25514 LIBS
="-ljpeg $LIBS"
25515 cat >conftest.
$ac_ext <<_ACEOF
25518 cat confdefs.h
>>conftest.
$ac_ext
25519 cat >>conftest.
$ac_ext <<_ACEOF
25520 /* end confdefs.h. */
25522 /* Override any GCC internal prototype to avoid an error.
25523 Use char because int might match the return type of a GCC
25524 builtin and then its argument prototype would still apply. */
25528 char jpeg_read_header ();
25532 return jpeg_read_header ();
25537 rm -f conftest.
$ac_objext conftest
$ac_exeext
25538 if { (ac_try
="$ac_link"
25539 case "(($ac_try" in
25540 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25541 *) ac_try_echo=$ac_try;;
25543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25544 (eval "$ac_link") 2>conftest.er1
25546 grep -v '^ *+' conftest.er1 >conftest.err
25548 cat conftest.err >&5
25549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25550 (exit $ac_status); } && {
25551 test -z "$ac_c_werror_flag" ||
25552 test ! -s conftest.err
25553 } && test -s conftest$ac_exeext &&
25554 $as_test_x conftest$ac_exeext; then
25555 ac_cv_lib_jpeg_jpeg_read_header=yes
25557 echo "$as_me: failed program was:" >&5
25558 sed 's/^/| /' conftest.$ac_ext >&5
25560 ac_cv_lib_jpeg_jpeg_read_header=no
25563 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25564 conftest$ac_exeext conftest.$ac_ext
25565 LIBS=$ac_check_lib_save_LIBS
25567 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
25568 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
25569 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
25570 JPEG_LINK=" -ljpeg"
25575 if test "x$JPEG_LINK" = "x" ; then
25576 if test "$wxUSE_LIBJPEG" = "sys" ; then
25577 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
25578 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
25579 { (exit 1); exit 1; }; }
25581 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
25582 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
25583 wxUSE_LIBJPEG=builtin
25588 if test "$wxUSE_MSW" = 1; then
25589 { echo "$as_me:$LINENO: checking for boolean" >&5
25590 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
25591 if test "${ac_cv_type_boolean+set}" = set; then
25592 echo $ECHO_N "(cached) $ECHO_C" >&6
25594 cat >conftest.$ac_ext <<_ACEOF
25597 cat confdefs.h >>conftest.$ac_ext
25598 cat >>conftest.$ac_ext <<_ACEOF
25599 /* end confdefs.h. */
25600 #include <windows.h>
25602 typedef boolean ac__type_new_;
25606 if ((ac__type_new_ *) 0)
25608 if (sizeof (ac__type_new_))
25614 rm -f conftest.$ac_objext
25615 if { (ac_try="$ac_compile"
25616 case "(($ac_try" in
25617 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25618 *) ac_try_echo
=$ac_try;;
25620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25621 (eval "$ac_compile") 2>conftest.er1
25623 grep -v '^ *+' conftest.er1
>conftest.err
25625 cat conftest.err
>&5
25626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25627 (exit $ac_status); } && {
25628 test -z "$ac_c_werror_flag" ||
25629 test ! -s conftest.err
25630 } && test -s conftest.
$ac_objext; then
25631 ac_cv_type_boolean
=yes
25633 echo "$as_me: failed program was:" >&5
25634 sed 's/^/| /' conftest.
$ac_ext >&5
25636 ac_cv_type_boolean
=no
25639 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25641 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
25642 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
25643 if test $ac_cv_type_boolean = yes; then
25645 cat >>confdefs.h
<<_ACEOF
25646 #define HAVE_BOOLEAN 1
25650 { echo "$as_me:$LINENO: checking for boolean" >&5
25651 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
25652 if test "${ac_cv_type_boolean+set}" = set; then
25653 echo $ECHO_N "(cached) $ECHO_C" >&6
25655 cat >conftest.
$ac_ext <<_ACEOF
25658 cat confdefs.h
>>conftest.
$ac_ext
25659 cat >>conftest.
$ac_ext <<_ACEOF
25660 /* end confdefs.h. */
25662 #undef HAVE_BOOLEAN
25664 #include <jpeglib.h>
25667 typedef boolean ac__type_new_;
25671 if ((ac__type_new_ *) 0)
25673 if (sizeof (ac__type_new_))
25679 rm -f conftest.
$ac_objext
25680 if { (ac_try
="$ac_compile"
25681 case "(($ac_try" in
25682 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25683 *) ac_try_echo=$ac_try;;
25685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25686 (eval "$ac_compile") 2>conftest.er1
25688 grep -v '^ *+' conftest.er1 >conftest.err
25690 cat conftest.err >&5
25691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25692 (exit $ac_status); } && {
25693 test -z "$ac_c_werror_flag" ||
25694 test ! -s conftest.err
25695 } && test -s conftest.$ac_objext; then
25696 ac_cv_type_boolean=yes
25698 echo "$as_me: failed program was:" >&5
25699 sed 's/^/| /' conftest.$ac_ext >&5
25701 ac_cv_type_boolean=no
25704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25706 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
25707 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
25709 # The cast to long int works around a bug in the HP C Compiler
25710 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25711 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
25712 # This bug is HP SR number 8606223364.
25713 { echo "$as_me:$LINENO: checking size of boolean" >&5
25714 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
25715 if test "${ac_cv_sizeof_boolean+set}" = set; then
25716 echo $ECHO_N "(cached) $ECHO_C" >&6
25718 if test "$cross_compiling" = yes; then
25719 # Depending upon the size, compute the lo and hi bounds.
25720 cat >conftest.$ac_ext <<_ACEOF
25723 cat confdefs.h >>conftest.$ac_ext
25724 cat >>conftest.$ac_ext <<_ACEOF
25725 /* end confdefs.h. */
25727 #undef HAVE_BOOLEAN
25729 #include <jpeglib.h>
25732 typedef boolean ac__type_sizeof_;
25736 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
25743 rm -f conftest.$ac_objext
25744 if { (ac_try="$ac_compile"
25745 case "(($ac_try" in
25746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25747 *) ac_try_echo=$ac_try;;
25749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25750 (eval "$ac_compile") 2>conftest.er1
25752 grep -v '^
*+' conftest.er1 >conftest.err
25754 cat conftest.err >&5
25755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25756 (exit $ac_status); } && {
25757 test -z "$ac_c_werror_flag" ||
25758 test ! -s conftest.err
25759 } && test -s conftest.$ac_objext; then
25762 cat >conftest.$ac_ext <<_ACEOF
25765 cat confdefs.h >>conftest.$ac_ext
25766 cat >>conftest.$ac_ext <<_ACEOF
25767 /* end confdefs.h. */
25769 #undef HAVE_BOOLEAN
25771 #include <jpeglib.h>
25774 typedef boolean ac__type_sizeof_;
25778 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25785 rm -f conftest.$ac_objext
25786 if { (ac_try="$ac_compile"
25787 case "(($ac_try" in
25788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25789 *) ac_try_echo=$ac_try;;
25791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25792 (eval "$ac_compile") 2>conftest.er1
25794 grep -v '^
*+' conftest.er1 >conftest.err
25796 cat conftest.err >&5
25797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25798 (exit $ac_status); } && {
25799 test -z "$ac_c_werror_flag" ||
25800 test ! -s conftest.err
25801 } && test -s conftest.$ac_objext; then
25802 ac_hi=$ac_mid; break
25804 echo "$as_me: failed program was:" >&5
25805 sed 's
/^
/| /' conftest.$ac_ext >&5
25807 ac_lo=`expr $ac_mid + 1`
25808 if test $ac_lo -le $ac_mid; then
25812 ac_mid=`expr 2 '*' $ac_mid + 1`
25815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25818 echo "$as_me: failed program was:" >&5
25819 sed 's
/^
/| /' conftest.$ac_ext >&5
25821 cat >conftest.$ac_ext <<_ACEOF
25824 cat confdefs.h >>conftest.$ac_ext
25825 cat >>conftest.$ac_ext <<_ACEOF
25826 /* end confdefs.h. */
25828 #undef HAVE_BOOLEAN
25830 #include <jpeglib.h>
25833 typedef boolean ac__type_sizeof_;
25837 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
25844 rm -f conftest.$ac_objext
25845 if { (ac_try="$ac_compile"
25846 case "(($ac_try" in
25847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25848 *) ac_try_echo=$ac_try;;
25850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25851 (eval "$ac_compile") 2>conftest.er1
25853 grep -v '^
*+' conftest.er1 >conftest.err
25855 cat conftest.err >&5
25856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25857 (exit $ac_status); } && {
25858 test -z "$ac_c_werror_flag" ||
25859 test ! -s conftest.err
25860 } && test -s conftest.$ac_objext; then
25863 cat >conftest.$ac_ext <<_ACEOF
25866 cat confdefs.h >>conftest.$ac_ext
25867 cat >>conftest.$ac_ext <<_ACEOF
25868 /* end confdefs.h. */
25870 #undef HAVE_BOOLEAN
25872 #include <jpeglib.h>
25875 typedef boolean ac__type_sizeof_;
25879 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
25886 rm -f conftest.$ac_objext
25887 if { (ac_try="$ac_compile"
25888 case "(($ac_try" in
25889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25890 *) ac_try_echo=$ac_try;;
25892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25893 (eval "$ac_compile") 2>conftest.er1
25895 grep -v '^
*+' conftest.er1 >conftest.err
25897 cat conftest.err >&5
25898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25899 (exit $ac_status); } && {
25900 test -z "$ac_c_werror_flag" ||
25901 test ! -s conftest.err
25902 } && test -s conftest.$ac_objext; then
25903 ac_lo=$ac_mid; break
25905 echo "$as_me: failed program was:" >&5
25906 sed 's
/^
/| /' conftest.$ac_ext >&5
25908 ac_hi=`expr '(' $ac_mid ')' - 1`
25909 if test $ac_mid -le $ac_hi; then
25913 ac_mid=`expr 2 '*' $ac_mid`
25916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25919 echo "$as_me: failed program was:" >&5
25920 sed 's
/^
/| /' conftest.$ac_ext >&5
25925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25929 # Binary search between lo and hi bounds.
25930 while test "x$ac_lo" != "x$ac_hi"; do
25931 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25932 cat >conftest.$ac_ext <<_ACEOF
25935 cat confdefs.h >>conftest.$ac_ext
25936 cat >>conftest.$ac_ext <<_ACEOF
25937 /* end confdefs.h. */
25939 #undef HAVE_BOOLEAN
25941 #include <jpeglib.h>
25944 typedef boolean ac__type_sizeof_;
25948 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25955 rm -f conftest.$ac_objext
25956 if { (ac_try="$ac_compile"
25957 case "(($ac_try" in
25958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25959 *) ac_try_echo=$ac_try;;
25961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25962 (eval "$ac_compile") 2>conftest.er1
25964 grep -v '^
*+' conftest.er1 >conftest.err
25966 cat conftest.err >&5
25967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25968 (exit $ac_status); } && {
25969 test -z "$ac_c_werror_flag" ||
25970 test ! -s conftest.err
25971 } && test -s conftest.$ac_objext; then
25974 echo "$as_me: failed program was:" >&5
25975 sed 's
/^
/| /' conftest.$ac_ext >&5
25977 ac_lo=`expr '(' $ac_mid ')' + 1`
25980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25983 ?*) ac_cv_sizeof_boolean=$ac_lo;;
25984 '') if test "$ac_cv_type_boolean" = yes; then
25985 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
25986 See \`config.log' for more details.
" >&5
25987 echo "$as_me: error
: cannot compute sizeof
(boolean
)
25988 See \
`config.log' for more details." >&2;}
25989 { (exit 77); exit 77; }; }
25991 ac_cv_sizeof_boolean=0
25995 cat >conftest.$ac_ext <<_ACEOF
25998 cat confdefs.h >>conftest.$ac_ext
25999 cat >>conftest.$ac_ext <<_ACEOF
26000 /* end confdefs.h. */
26002 #undef HAVE_BOOLEAN
26004 #include <jpeglib.h>
26007 typedef boolean ac__type_sizeof_;
26008 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
26009 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
26011 #include <stdlib.h>
26016 FILE *f = fopen ("conftest.val", "w");
26019 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
26021 long int i = longval ();
26022 if (i != ((long int) (sizeof (ac__type_sizeof_))))
26024 fprintf (f, "%ld\n", i);
26028 unsigned long int i = ulongval ();
26029 if (i != ((long int) (sizeof (ac__type_sizeof_))))
26031 fprintf (f, "%lu\n", i);
26033 return ferror (f) || fclose (f) != 0;
26039 rm -f conftest$ac_exeext
26040 if { (ac_try="$ac_link"
26041 case "(($ac_try" in
26042 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26043 *) ac_try_echo
=$ac_try;;
26045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26046 (eval "$ac_link") 2>&5
26048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26049 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26050 { (case "(($ac_try" in
26051 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26052 *) ac_try_echo=$ac_try;;
26054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26055 (eval "$ac_try") 2>&5
26057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26058 (exit $ac_status); }; }; then
26059 ac_cv_sizeof_boolean=`cat conftest.val
`
26061 echo "$as_me: program exited with status $ac_status" >&5
26062 echo "$as_me: failed program was:" >&5
26063 sed 's/^/| /' conftest.$ac_ext >&5
26065 ( exit $ac_status )
26066 if test "$ac_cv_type_boolean" = yes; then
26067 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
26068 See \`config.log
' for more details." >&5
26069 echo "$as_me: error: cannot compute sizeof (boolean)
26070 See \`config.log' for more details.
" >&2;}
26071 { (exit 77); exit 77; }; }
26073 ac_cv_sizeof_boolean=0
26076 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26080 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_boolean" >&5
26081 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
26085 cat >>confdefs.h <<_ACEOF
26086 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
26090 cat >>confdefs.h <<_ACEOF
26091 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
26105 TIFF_PREREQ_LINKS=-lm
26106 if test "$wxUSE_LIBTIFF" != "no
" ; then
26107 cat >>confdefs.h <<\_ACEOF
26108 #define wxUSE_LIBTIFF 1
26112 if test "$wxUSE_LIBTIFF" = "sys
" -o "$wxUSE_LIBTIFF" = "yes" ; then
26113 if test "$wxUSE_LIBJPEG" = "sys
"; then
26114 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
26116 if test "$wxUSE_ZLIB" = "sys
"; then
26117 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
26119 { echo "$as_me:$LINENO: checking
for tiffio.h
" >&5
26120 echo $ECHO_N "checking
for tiffio.h...
$ECHO_C" >&6; }
26121 if test "${ac_cv_header_tiffio_h+set}" = set; then
26122 echo $ECHO_N "(cached
) $ECHO_C" >&6
26124 cat >conftest.$ac_ext <<_ACEOF
26127 cat confdefs.h >>conftest.$ac_ext
26128 cat >>conftest.$ac_ext <<_ACEOF
26129 /* end confdefs.h. */
26133 #include <tiffio.h>
26135 rm -f conftest.$ac_objext
26136 if { (ac_try="$ac_compile"
26137 case "(($ac_try" in
26138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26139 *) ac_try_echo=$ac_try;;
26141 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26142 (eval "$ac_compile") 2>conftest.er1
26144 grep -v '^ *+' conftest.er1 >conftest.err
26146 cat conftest.err >&5
26147 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26148 (exit $ac_status); } && {
26149 test -z "$ac_c_werror_flag" ||
26150 test ! -s conftest.err
26151 } && test -s conftest.$ac_objext; then
26152 ac_cv_header_tiffio_h=yes
26154 echo "$as_me: failed program was
:" >&5
26155 sed 's/^/| /' conftest.$ac_ext >&5
26157 ac_cv_header_tiffio_h=no
26160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26162 { echo "$as_me:$LINENO: result
: $ac_cv_header_tiffio_h" >&5
26163 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
26164 if test $ac_cv_header_tiffio_h = yes; then
26166 { echo "$as_me:$LINENO: checking
for TIFFError
in -ltiff" >&5
26167 echo $ECHO_N "checking
for TIFFError
in -ltiff...
$ECHO_C" >&6; }
26168 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
26169 echo $ECHO_N "(cached
) $ECHO_C" >&6
26171 ac_check_lib_save_LIBS=$LIBS
26172 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
26173 cat >conftest.$ac_ext <<_ACEOF
26176 cat confdefs.h >>conftest.$ac_ext
26177 cat >>conftest.$ac_ext <<_ACEOF
26178 /* end confdefs.h. */
26180 /* Override any GCC internal prototype to avoid an error.
26181 Use char because int might match the return type of a GCC
26182 builtin and then its argument prototype would still apply. */
26190 return TIFFError ();
26195 rm -f conftest.$ac_objext conftest$ac_exeext
26196 if { (ac_try="$ac_link"
26197 case "(($ac_try" in
26198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26199 *) ac_try_echo=$ac_try;;
26201 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26202 (eval "$ac_link") 2>conftest.er1
26204 grep -v '^ *+' conftest.er1 >conftest.err
26206 cat conftest.err >&5
26207 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26208 (exit $ac_status); } && {
26209 test -z "$ac_c_werror_flag" ||
26210 test ! -s conftest.err
26211 } && test -s conftest$ac_exeext &&
26212 $as_test_x conftest$ac_exeext; then
26213 ac_cv_lib_tiff_TIFFError=yes
26215 echo "$as_me: failed program was
:" >&5
26216 sed 's/^/| /' conftest.$ac_ext >&5
26218 ac_cv_lib_tiff_TIFFError=no
26221 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26222 conftest$ac_exeext conftest.$ac_ext
26223 LIBS=$ac_check_lib_save_LIBS
26225 { echo "$as_me:$LINENO: result
: $ac_cv_lib_tiff_TIFFError" >&5
26226 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
26227 if test $ac_cv_lib_tiff_TIFFError = yes; then
26228 TIFF_LINK=" -ltiff"
26236 if test "x
$TIFF_LINK" = "x
" ; then
26237 if test "$wxUSE_LIBTIFF" = "sys
" ; then
26238 { { echo "$as_me:$LINENO: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&5
26239 echo "$as_me: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&2;}
26240 { (exit 1); exit 1; }; }
26242 { echo "$as_me:$LINENO: WARNING
: system tiff library not found
, will use built
-in instead
" >&5
26243 echo "$as_me: WARNING
: system tiff library not found
, will use built
-in instead
" >&2;}
26244 wxUSE_LIBTIFF=builtin
26253 if test "$wxUSE_WCHAR_T" != "yes"; then
26254 if test "$wxUSE_EXPAT" != "no
"; then
26255 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&5
26256 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&2;}
26259 if test "$wxUSE_XML" != "no
"; then
26260 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&5
26261 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&2;}
26266 if test "$wxUSE_EXPAT" != "no
"; then
26268 cat >>confdefs.h <<\_ACEOF
26269 #define wxUSE_EXPAT 1
26272 cat >>confdefs.h <<\_ACEOF
26273 #define wxUSE_XML 1
26277 if test "$wxUSE_EXPAT" = "sys
" -o "$wxUSE_EXPAT" = "yes" ; then
26278 { echo "$as_me:$LINENO: checking
for expat.h
" >&5
26279 echo $ECHO_N "checking
for expat.h...
$ECHO_C" >&6; }
26280 if test "${ac_cv_header_expat_h+set}" = set; then
26281 echo $ECHO_N "(cached
) $ECHO_C" >&6
26283 cat >conftest.$ac_ext <<_ACEOF
26286 cat confdefs.h >>conftest.$ac_ext
26287 cat >>conftest.$ac_ext <<_ACEOF
26288 /* end confdefs.h. */
26293 rm -f conftest.$ac_objext
26294 if { (ac_try="$ac_compile"
26295 case "(($ac_try" in
26296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26297 *) ac_try_echo=$ac_try;;
26299 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26300 (eval "$ac_compile") 2>conftest.er1
26302 grep -v '^ *+' conftest.er1 >conftest.err
26304 cat conftest.err >&5
26305 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26306 (exit $ac_status); } && {
26307 test -z "$ac_c_werror_flag" ||
26308 test ! -s conftest.err
26309 } && test -s conftest.$ac_objext; then
26310 ac_cv_header_expat_h=yes
26312 echo "$as_me: failed program was
:" >&5
26313 sed 's/^/| /' conftest.$ac_ext >&5
26315 ac_cv_header_expat_h=no
26318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26320 { echo "$as_me:$LINENO: result
: $ac_cv_header_expat_h" >&5
26321 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
26322 if test $ac_cv_header_expat_h = yes; then
26327 if test "x
$found_expat_h" = "x1
"; then
26328 { echo "$as_me:$LINENO: checking
if expat.h is valid C
++ header
" >&5
26329 echo $ECHO_N "checking
if expat.h is valid C
++ header...
$ECHO_C" >&6; }
26330 if test "${wx_cv_expat_is_not_broken+set}" = set; then
26331 echo $ECHO_N "(cached
) $ECHO_C" >&6
26335 ac_cpp='$CXXCPP $CPPFLAGS'
26336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26340 cat >conftest.$ac_ext <<_ACEOF
26343 cat confdefs.h >>conftest.$ac_ext
26344 cat >>conftest.$ac_ext <<_ACEOF
26345 /* end confdefs.h. */
26355 rm -f conftest.$ac_objext
26356 if { (ac_try="$ac_compile"
26357 case "(($ac_try" in
26358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26359 *) ac_try_echo=$ac_try;;
26361 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26362 (eval "$ac_compile") 2>conftest.er1
26364 grep -v '^ *+' conftest.er1 >conftest.err
26366 cat conftest.err >&5
26367 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26368 (exit $ac_status); } && {
26369 test -z "$ac_cxx_werror_flag" ||
26370 test ! -s conftest.err
26371 } && test -s conftest.$ac_objext; then
26372 wx_cv_expat_is_not_broken=yes
26374 echo "$as_me: failed program was
:" >&5
26375 sed 's/^/| /' conftest.$ac_ext >&5
26377 wx_cv_expat_is_not_broken=no
26381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26383 ac_cpp='$CPP $CPPFLAGS'
26384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26391 { echo "$as_me:$LINENO: result
: $wx_cv_expat_is_not_broken" >&5
26392 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
26393 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
26394 { echo "$as_me:$LINENO: checking
for XML_ParserCreate
in -lexpat" >&5
26395 echo $ECHO_N "checking
for XML_ParserCreate
in -lexpat...
$ECHO_C" >&6; }
26396 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
26397 echo $ECHO_N "(cached
) $ECHO_C" >&6
26399 ac_check_lib_save_LIBS=$LIBS
26400 LIBS="-lexpat $LIBS"
26401 cat >conftest.$ac_ext <<_ACEOF
26404 cat confdefs.h >>conftest.$ac_ext
26405 cat >>conftest.$ac_ext <<_ACEOF
26406 /* end confdefs.h. */
26408 /* Override any GCC internal prototype to avoid an error.
26409 Use char because int might match the return type of a GCC
26410 builtin and then its argument prototype would still apply. */
26414 char XML_ParserCreate ();
26418 return XML_ParserCreate ();
26423 rm -f conftest.$ac_objext conftest$ac_exeext
26424 if { (ac_try="$ac_link"
26425 case "(($ac_try" in
26426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26427 *) ac_try_echo=$ac_try;;
26429 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26430 (eval "$ac_link") 2>conftest.er1
26432 grep -v '^ *+' conftest.er1 >conftest.err
26434 cat conftest.err >&5
26435 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26436 (exit $ac_status); } && {
26437 test -z "$ac_c_werror_flag" ||
26438 test ! -s conftest.err
26439 } && test -s conftest$ac_exeext &&
26440 $as_test_x conftest$ac_exeext; then
26441 ac_cv_lib_expat_XML_ParserCreate=yes
26443 echo "$as_me: failed program was
:" >&5
26444 sed 's/^/| /' conftest.$ac_ext >&5
26446 ac_cv_lib_expat_XML_ParserCreate=no
26449 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26450 conftest$ac_exeext conftest.$ac_ext
26451 LIBS=$ac_check_lib_save_LIBS
26453 { echo "$as_me:$LINENO: result
: $ac_cv_lib_expat_XML_ParserCreate" >&5
26454 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
26455 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
26456 EXPAT_LINK=" -lexpat"
26461 if test "x
$EXPAT_LINK" = "x
" ; then
26462 if test "$wxUSE_EXPAT" = "sys
" ; then
26463 { { echo "$as_me:$LINENO: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&5
26464 echo "$as_me: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&2;}
26465 { (exit 1); exit 1; }; }
26467 { echo "$as_me:$LINENO: WARNING
: system expat library not found
, will use built
-in instead
" >&5
26468 echo "$as_me: WARNING
: system expat library not found
, will use built
-in instead
" >&2;}
26469 wxUSE_EXPAT=builtin
26475 if test "$wxUSE_EXPAT" = "builtin" ; then
26476 subdirs="$subdirs src
/expat
"
26483 if test "$wxUSE_LIBMSPACK" != "no
"; then
26484 { echo "$as_me:$LINENO: checking
for mspack.h
" >&5
26485 echo $ECHO_N "checking
for mspack.h...
$ECHO_C" >&6; }
26486 if test "${ac_cv_header_mspack_h+set}" = set; then
26487 echo $ECHO_N "(cached
) $ECHO_C" >&6
26489 cat >conftest.$ac_ext <<_ACEOF
26492 cat confdefs.h >>conftest.$ac_ext
26493 cat >>conftest.$ac_ext <<_ACEOF
26494 /* end confdefs.h. */
26497 #include <mspack.h>
26499 rm -f conftest.$ac_objext
26500 if { (ac_try="$ac_compile"
26501 case "(($ac_try" in
26502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26503 *) ac_try_echo=$ac_try;;
26505 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26506 (eval "$ac_compile") 2>conftest.er1
26508 grep -v '^ *+' conftest.er1 >conftest.err
26510 cat conftest.err >&5
26511 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26512 (exit $ac_status); } && {
26513 test -z "$ac_c_werror_flag" ||
26514 test ! -s conftest.err
26515 } && test -s conftest.$ac_objext; then
26516 ac_cv_header_mspack_h=yes
26518 echo "$as_me: failed program was
:" >&5
26519 sed 's/^/| /' conftest.$ac_ext >&5
26521 ac_cv_header_mspack_h=no
26524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26526 { echo "$as_me:$LINENO: result
: $ac_cv_header_mspack_h" >&5
26527 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
26528 if test $ac_cv_header_mspack_h = yes; then
26533 if test "x
$found_mspack_h" = "x1
"; then
26534 { echo "$as_me:$LINENO: checking
for mspack_create_chm_decompressor
in -lmspack" >&5
26535 echo $ECHO_N "checking
for mspack_create_chm_decompressor
in -lmspack...
$ECHO_C" >&6; }
26536 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
26537 echo $ECHO_N "(cached
) $ECHO_C" >&6
26539 ac_check_lib_save_LIBS=$LIBS
26540 LIBS="-lmspack $LIBS"
26541 cat >conftest.$ac_ext <<_ACEOF
26544 cat confdefs.h >>conftest.$ac_ext
26545 cat >>conftest.$ac_ext <<_ACEOF
26546 /* end confdefs.h. */
26548 /* Override any GCC internal prototype to avoid an error.
26549 Use char because int might match the return type of a GCC
26550 builtin and then its argument prototype would still apply. */
26554 char mspack_create_chm_decompressor ();
26558 return mspack_create_chm_decompressor ();
26563 rm -f conftest.$ac_objext conftest$ac_exeext
26564 if { (ac_try="$ac_link"
26565 case "(($ac_try" in
26566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26567 *) ac_try_echo=$ac_try;;
26569 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26570 (eval "$ac_link") 2>conftest.er1
26572 grep -v '^ *+' conftest.er1 >conftest.err
26574 cat conftest.err >&5
26575 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26576 (exit $ac_status); } && {
26577 test -z "$ac_c_werror_flag" ||
26578 test ! -s conftest.err
26579 } && test -s conftest$ac_exeext &&
26580 $as_test_x conftest$ac_exeext; then
26581 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
26583 echo "$as_me: failed program was
:" >&5
26584 sed 's/^/| /' conftest.$ac_ext >&5
26586 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
26589 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26590 conftest$ac_exeext conftest.$ac_ext
26591 LIBS=$ac_check_lib_save_LIBS
26593 { echo "$as_me:$LINENO: result
: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
26594 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
26595 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
26596 MSPACK_LINK=" -lmspack"
26600 if test "x
$MSPACK_LINK" = "x
" ; then
26605 if test "$wxUSE_LIBMSPACK" != "no
"; then
26606 cat >>confdefs.h <<\_ACEOF
26607 #define wxUSE_LIBMSPACK 1
26621 if test "$USE_WIN32" = 1 ; then
26622 { echo "$as_me:$LINENO: checking
for w32api.h
" >&5
26623 echo $ECHO_N "checking
for w32api.h...
$ECHO_C" >&6; }
26624 if test "${ac_cv_header_w32api_h+set}" = set; then
26625 echo $ECHO_N "(cached
) $ECHO_C" >&6
26627 cat >conftest.$ac_ext <<_ACEOF
26630 cat confdefs.h >>conftest.$ac_ext
26631 cat >>conftest.$ac_ext <<_ACEOF
26632 /* end confdefs.h. */
26635 #include <w32api.h>
26637 rm -f conftest.$ac_objext
26638 if { (ac_try="$ac_compile"
26639 case "(($ac_try" in
26640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26641 *) ac_try_echo=$ac_try;;
26643 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26644 (eval "$ac_compile") 2>conftest.er1
26646 grep -v '^ *+' conftest.er1 >conftest.err
26648 cat conftest.err >&5
26649 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26650 (exit $ac_status); } && {
26651 test -z "$ac_c_werror_flag" ||
26652 test ! -s conftest.err
26653 } && test -s conftest.$ac_objext; then
26654 ac_cv_header_w32api_h=yes
26656 echo "$as_me: failed program was
:" >&5
26657 sed 's/^/| /' conftest.$ac_ext >&5
26659 ac_cv_header_w32api_h=no
26662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26664 { echo "$as_me:$LINENO: result
: $ac_cv_header_w32api_h" >&5
26665 echo "${ECHO_T}$ac_cv_header_w32api_h" >&6; }
26668 { echo "$as_me:$LINENO: checking
for windows.h
" >&5
26669 echo $ECHO_N "checking
for windows.h...
$ECHO_C" >&6; }
26670 if test "${ac_cv_header_windows_h+set}" = set; then
26671 echo $ECHO_N "(cached
) $ECHO_C" >&6
26673 cat >conftest.$ac_ext <<_ACEOF
26676 cat confdefs.h >>conftest.$ac_ext
26677 cat >>conftest.$ac_ext <<_ACEOF
26678 /* end confdefs.h. */
26681 #include <windows.h>
26683 rm -f conftest.$ac_objext
26684 if { (ac_try="$ac_compile"
26685 case "(($ac_try" in
26686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26687 *) ac_try_echo=$ac_try;;
26689 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26690 (eval "$ac_compile") 2>conftest.er1
26692 grep -v '^ *+' conftest.er1 >conftest.err
26694 cat conftest.err >&5
26695 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26696 (exit $ac_status); } && {
26697 test -z "$ac_c_werror_flag" ||
26698 test ! -s conftest.err
26699 } && test -s conftest.$ac_objext; then
26700 ac_cv_header_windows_h=yes
26702 echo "$as_me: failed program was
:" >&5
26703 sed 's/^/| /' conftest.$ac_ext >&5
26705 ac_cv_header_windows_h=no
26708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26710 { echo "$as_me:$LINENO: result
: $ac_cv_header_windows_h" >&5
26711 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
26712 if test $ac_cv_header_windows_h = yes; then
26716 { { echo "$as_me:$LINENO: error
: please
set CFLAGS to contain the location of windows.h
" >&5
26717 echo "$as_me: error
: please
set CFLAGS to contain the location of windows.h
" >&2;}
26718 { (exit 1); exit 1; }; }
26724 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
26726 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
26727 LIBS="$LIBS -loleacc"
26732 LIBS="$LIBS -lkernel32 -luser32"
26735 if test "$wxUSE_ODBC" = "sys
" ; then
26738 if test "$wxUSE_ODBC" = "yes" ; then
26739 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
26740 cat >>confdefs.h <<\_ACEOF
26741 #define wxUSE_ODBC 1
26746 RESFLAGS="--include-dir \
$(top_srcdir)/include
--include-dir \
$(top_srcdir)/\
$(program_dir) --define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
26747 RESPROGRAMOBJ="\
$(PROGRAM)_resources.o
"
26749 WXCONFIG_RESFLAGS="--define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
26751 WIN32INSTALL=win32install
26753 { echo "$as_me:$LINENO: checking
for pbt.h
" >&5
26754 echo $ECHO_N "checking
for pbt.h...
$ECHO_C" >&6; }
26755 if test "${ac_cv_header_pbt_h+set}" = set; then
26756 echo $ECHO_N "(cached
) $ECHO_C" >&6
26758 cat >conftest.$ac_ext <<_ACEOF
26761 cat confdefs.h >>conftest.$ac_ext
26762 cat >>conftest.$ac_ext <<_ACEOF
26763 /* end confdefs.h. */
26768 rm -f conftest.$ac_objext
26769 if { (ac_try="$ac_compile"
26770 case "(($ac_try" in
26771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26772 *) ac_try_echo=$ac_try;;
26774 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26775 (eval "$ac_compile") 2>conftest.er1
26777 grep -v '^ *+' conftest.er1 >conftest.err
26779 cat conftest.err >&5
26780 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26781 (exit $ac_status); } && {
26782 test -z "$ac_c_werror_flag" ||
26783 test ! -s conftest.err
26784 } && test -s conftest.$ac_objext; then
26785 ac_cv_header_pbt_h=yes
26787 echo "$as_me: failed program was
:" >&5
26788 sed 's/^/| /' conftest.$ac_ext >&5
26790 ac_cv_header_pbt_h=no
26793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26795 { echo "$as_me:$LINENO: result
: $ac_cv_header_pbt_h" >&5
26796 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
26797 if test $ac_cv_header_pbt_h = yes; then
26800 cat >>confdefs.h <<\_ACEOF
26801 #define NEED_PBT_H 1
26809 if test "$wxUSE_GUI" = "yes"; then
26819 if test "$wxUSE_COCOA" = 1 ; then
26820 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
26821 { echo "$as_me:$LINENO: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&5
26822 echo "$as_me: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&2;}
26823 wxUSE_PRINTING_ARCHITECTURE=no
26825 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
26826 { echo "$as_me:$LINENO: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&5
26827 echo "$as_me: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&2;}
26828 wxUSE_DRAG_AND_DROP=no
26830 if test "$wxUSE_DRAGIMAGE" = "yes"; then
26831 { echo "$as_me:$LINENO: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&5
26832 echo "$as_me: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&2;}
26837 if test "$wxUSE_MSW" = 1 ; then
26843 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows
-mwindows"
26847 if test "$wxUSE_GTK" = 1; then
26848 { echo "$as_me:$LINENO: checking
for GTK
+ version
" >&5
26849 echo $ECHO_N "checking
for GTK
+ version...
$ECHO_C" >&6; }
26851 gtk_version_cached=1
26852 if test "${wx_cv_lib_gtk+set}" = set; then
26853 echo $ECHO_N "(cached
) $ECHO_C" >&6
26856 gtk_version_cached=0
26857 { echo "$as_me:$LINENO: result
: " >&5
26858 echo "${ECHO_T}" >&6; }
26861 if test "$wxUSE_THREADS" = "yes"; then
26862 GTK_MODULES=gthread
26866 if test "x
$wxGTK_VERSION" != "x1
"
26870 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
26875 # Check whether --enable-gtktest was given.
26876 if test "${enable_gtktest+set}" = set; then
26877 enableval=$enable_gtktest;
26883 pkg_config_args=gtk+-2.0
26884 for module in . $GTK_MODULES
26888 pkg_config_args="$pkg_config_args gthread
-2.0
"
26895 # Extract the first word of "pkg
-config", so it can be a program name with args.
26896 set dummy pkg-config; ac_word=$2
26897 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
26898 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
26899 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
26900 echo $ECHO_N "(cached
) $ECHO_C" >&6
26902 case $PKG_CONFIG in
26904 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
26907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26908 for as_dir in $PATH
26911 test -z "$as_dir" && as_dir=.
26912 for ac_exec_ext in '' $ac_executable_extensions; do
26913 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26914 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26915 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
26922 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no
"
26926 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
26927 if test -n "$PKG_CONFIG"; then
26928 { echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
26929 echo "${ECHO_T}$PKG_CONFIG" >&6; }
26931 { echo "$as_me:$LINENO: result
: no
" >&5
26932 echo "${ECHO_T}no
" >&6; }
26937 if test x$PKG_CONFIG != xno ; then
26938 if pkg-config --atleast-pkgconfig-version 0.7 ; then
26941 echo "*** pkg
-config too old
; version
0.7 or better required.
"
26949 min_gtk_version=2.0.0
26950 { echo "$as_me:$LINENO: checking
for GTK
+ - version
>= $min_gtk_version" >&5
26951 echo $ECHO_N "checking
for GTK
+ - version
>= $min_gtk_version...
$ECHO_C" >&6; }
26953 if test x$PKG_CONFIG != xno ; then
26954 ## don't try to run the test against uninstalled libtool libs
26955 if $PKG_CONFIG --uninstalled $pkg_config_args; then
26956 echo "Will use uninstalled version of GTK
+ found
in PKG_CONFIG_PATH
"
26960 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
26967 if test x"$no_gtk" = x ; then
26968 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
26969 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
26970 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
26971 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26972 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
26973 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26974 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
26975 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26976 if test "x
$enable_gtktest" = "xyes
" ; then
26977 ac_save_CFLAGS="$CFLAGS"
26978 ac_save_LIBS="$LIBS"
26979 CFLAGS="$CFLAGS $GTK_CFLAGS"
26980 LIBS="$GTK_LIBS $LIBS"
26982 if test "$cross_compiling" = yes; then
26983 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
26985 cat >conftest.$ac_ext <<_ACEOF
26988 cat confdefs.h >>conftest.$ac_ext
26989 cat >>conftest.$ac_ext <<_ACEOF
26990 /* end confdefs.h. */
26992 #include <gtk/gtk.h>
26994 #include <stdlib.h>
26999 int major, minor, micro;
27002 system ("touch conf.gtktest
");
27004 /* HP/UX 9 (%@#!) writes to sscanf strings */
27005 tmp_version = g_strdup("$min_gtk_version");
27006 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
27007 printf("%s
, bad version string
\n", "$min_gtk_version");
27011 if ((gtk_major_version != $gtk_config_major_version) ||
27012 (gtk_minor_version != $gtk_config_minor_version) ||
27013 (gtk_micro_version != $gtk_config_micro_version))
27015 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
27016 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27017 gtk_major_version, gtk_minor_version, gtk_micro_version);
27018 printf ("*** was found
! If pkg
-config was correct
, then it is best
\n");
27019 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
27020 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
27021 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
27022 printf("*** required on your system.
\n");
27023 printf("*** If pkg
-config was wrong
, set the environment variable PKG_CONFIG_PATH
\n");
27024 printf("*** to point to the correct configuration files
\n");
27026 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27027 (gtk_minor_version != GTK_MINOR_VERSION) ||
27028 (gtk_micro_version != GTK_MICRO_VERSION))
27030 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
27031 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27032 printf("*** library
(version
%d.
%d.
%d
)\n",
27033 gtk_major_version, gtk_minor_version, gtk_micro_version);
27037 if ((gtk_major_version > major) ||
27038 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27039 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27045 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
27046 gtk_major_version, gtk_minor_version, gtk_micro_version);
27047 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
27048 major, minor, micro);
27049 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
27051 printf("*** If you have already installed a sufficiently new version
, this error
\n");
27052 printf("*** probably means that the wrong copy of the pkg
-config shell
script is
\n");
27053 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
27054 printf("*** of GTK
+, but you can also
set the PKG_CONFIG environment to point to the
\n");
27055 printf("*** correct copy of pkg
-config.
(In this
case, you will have to
\n");
27056 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
27057 printf("*** so that the correct libraries are found
at run
-time))\n");
27064 rm -f conftest$ac_exeext
27065 if { (ac_try="$ac_link"
27066 case "(($ac_try" in
27067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27068 *) ac_try_echo=$ac_try;;
27070 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27071 (eval "$ac_link") 2>&5
27073 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27074 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27075 { (case "(($ac_try" in
27076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27077 *) ac_try_echo=$ac_try;;
27079 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27080 (eval "$ac_try") 2>&5
27082 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27083 (exit $ac_status); }; }; then
27086 echo "$as_me: program exited with status
$ac_status" >&5
27087 echo "$as_me: failed program was
:" >&5
27088 sed 's/^/| /' conftest.$ac_ext >&5
27090 ( exit $ac_status )
27093 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27097 CFLAGS="$ac_save_CFLAGS"
27098 LIBS="$ac_save_LIBS"
27101 if test "x
$no_gtk" = x ; then
27102 { echo "$as_me:$LINENO: result
: yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&5
27103 echo "${ECHO_T}yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&6; }
27106 { echo "$as_me:$LINENO: result
: no
" >&5
27107 echo "${ECHO_T}no
" >&6; }
27108 if test "$PKG_CONFIG" = "no
" ; then
27109 echo "*** A new enough version of pkg
-config was not found.
"
27110 echo "*** See http
://pkgconfig.sourceforge.net
"
27112 if test -f conf.gtktest ; then
27115 echo "*** Could not run GTK
+ test program
, checking why...
"
27116 ac_save_CFLAGS="$CFLAGS"
27117 ac_save_LIBS="$LIBS"
27118 CFLAGS="$CFLAGS $GTK_CFLAGS"
27119 LIBS="$LIBS $GTK_LIBS"
27120 cat >conftest.$ac_ext <<_ACEOF
27123 cat confdefs.h >>conftest.$ac_ext
27124 cat >>conftest.$ac_ext <<_ACEOF
27125 /* end confdefs.h. */
27127 #include <gtk/gtk.h>
27133 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27138 rm -f conftest.$ac_objext conftest$ac_exeext
27139 if { (ac_try="$ac_link"
27140 case "(($ac_try" in
27141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27142 *) ac_try_echo=$ac_try;;
27144 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27145 (eval "$ac_link") 2>conftest.er1
27147 grep -v '^ *+' conftest.er1 >conftest.err
27149 cat conftest.err >&5
27150 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27151 (exit $ac_status); } && {
27152 test -z "$ac_c_werror_flag" ||
27153 test ! -s conftest.err
27154 } && test -s conftest$ac_exeext &&
27155 $as_test_x conftest$ac_exeext; then
27156 echo "*** The
test program compiled
, but did not run. This usually means
"
27157 echo "*** that the run
-time linker is not finding GTK
+ or finding the wrong
"
27158 echo "*** version of GTK
+. If it is not finding GTK
+, you
'll need to set your"
27159 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27160 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27161 echo "*** is required on your system"
27163 echo "*** If you have an old version installed, it is best to remove it, although"
27164 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27166 echo "$as_me: failed program was:" >&5
27167 sed 's
/^
/| /' conftest.$ac_ext >&5
27169 echo "*** The test program failed to compile or link. See the file config.log for the"
27170 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
27173 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27174 conftest$ac_exeext conftest.$ac_ext
27175 CFLAGS="$ac_save_CFLAGS"
27176 LIBS="$ac_save_LIBS"
27190 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27191 GTK_CFLAGS=`echo $GTK_CFLAGS | sed 's
/-mt//'`
27192 GTK_LIBS=`echo $GTK_LIBS | sed 's
/-mt//'`
27194 if test "$wxUSE_SHARED" != "yes"; then
27195 GTK_LIBS="$GTK_LIBS -lX11"
27200 if test -z "$wx_cv_lib_gtk"; then
27201 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
27203 # Check whether --with-gtk-prefix was given.
27204 if test "${with_gtk_prefix+set}" = set; then
27205 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
27207 gtk_config_prefix=""
27211 # Check whether --with-gtk-exec-prefix was given.
27212 if test "${with_gtk_exec_prefix+set}" = set; then
27213 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
27215 gtk_config_exec_prefix=""
27218 # Check whether --enable-gtktest was given.
27219 if test "${enable_gtktest+set}" = set; then
27220 enableval=$enable_gtktest;
27226 for module in . $GTK_MODULES
27230 gtk_config_args="$gtk_config_args gthread"
27235 if test x$gtk_config_exec_prefix != x ; then
27236 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27237 if test x${GTK_CONFIG+set} != xset ; then
27238 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
27241 if test x$gtk_config_prefix != x ; then
27242 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
27243 if test x${GTK_CONFIG+set} != xset ; then
27244 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
27248 # Extract the first word of "gtk-config", so it can be a program name with args.
27249 set dummy gtk-config; ac_word=$2
27250 { echo "$as_me:$LINENO: checking for $ac_word" >&5
27251 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27252 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27253 echo $ECHO_N "(cached) $ECHO_C" >&6
27255 case $GTK_CONFIG in
27257 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
27260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27261 for as_dir in $PATH
27264 test -z "$as_dir" && as_dir=.
27265 for ac_exec_ext in '' $ac_executable_extensions; do
27266 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27267 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27268 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27275 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
27279 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
27280 if test -n "$GTK_CONFIG"; then
27281 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27282 echo "${ECHO_T}$GTK_CONFIG" >&6; }
27284 { echo "$as_me:$LINENO: result: no" >&5
27285 echo "${ECHO_T}no" >&6; }
27289 min_gtk_version=1.2.7
27290 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27291 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
27293 if test "$GTK_CONFIG" = "no" ; then
27296 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
27297 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
27298 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
27299 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
1/'`
27300 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
27301 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
2/'`
27302 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
27303 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
3/'`
27304 if test "x$enable_gtktest" = "xyes" ; then
27305 ac_save_CFLAGS="$CFLAGS"
27306 ac_save_LIBS="$LIBS"
27307 CFLAGS="$CFLAGS $GTK_CFLAGS"
27308 LIBS="$GTK_LIBS $LIBS"
27310 if test "$cross_compiling" = yes; then
27311 echo $ac_n "cross compiling; assumed OK... $ac_c"
27313 cat >conftest.$ac_ext <<_ACEOF
27316 cat confdefs.h >>conftest.$ac_ext
27317 cat >>conftest.$ac_ext <<_ACEOF
27318 /* end confdefs.h. */
27320 #include <gtk/gtk.h>
27322 #include <stdlib.h>
27327 int major, minor, micro;
27330 system ("touch conf.gtktest");
27332 /* HP/UX 9 (%@#!) writes to sscanf strings */
27333 tmp_version = g_strdup("$min_gtk_version");
27334 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
27335 printf("%s, bad version string\n", "$min_gtk_version");
27339 if ((gtk_major_version != $gtk_config_major_version) ||
27340 (gtk_minor_version != $gtk_config_minor_version) ||
27341 (gtk_micro_version != $gtk_config_micro_version))
27343 printf("\n*** 'gtk
-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27344 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27345 gtk_major_version, gtk_minor_version, gtk_micro_version);
27346 printf ("*** was found! If gtk-config was correct, then it is best\n");
27347 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27348 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27349 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27350 printf("*** required on your system.\n");
27351 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27352 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27353 printf("*** before re-running configure\n");
27355 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27356 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27357 (gtk_minor_version != GTK_MINOR_VERSION) ||
27358 (gtk_micro_version != GTK_MICRO_VERSION))
27360 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27361 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27362 printf("*** library (version %d.%d.%d)\n",
27363 gtk_major_version, gtk_minor_version, gtk_micro_version);
27365 #endif /* defined (GTK_MAJOR_VERSION) ... */
27368 if ((gtk_major_version > major) ||
27369 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27370 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27376 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27377 gtk_major_version, gtk_minor_version, gtk_micro_version);
27378 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27379 major, minor, micro);
27380 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27382 printf("*** If you have already installed a sufficiently new version, this error\n");
27383 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27384 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27385 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27386 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27387 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27388 printf("*** so that the correct libraries are found at run-time))\n");
27395 rm -f conftest$ac_exeext
27396 if { (ac_try="$ac_link"
27397 case "(($ac_try" in
27398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27399 *) ac_try_echo=$ac_try;;
27401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27402 (eval "$ac_link") 2>&5
27404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27405 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
27406 { (case "(($ac_try" in
27407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27408 *) ac_try_echo=$ac_try;;
27410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27411 (eval "$ac_try") 2>&5
27413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27414 (exit $ac_status); }; }; then
27417 echo "$as_me: program exited with status $ac_status" >&5
27418 echo "$as_me: failed program was:" >&5
27419 sed 's
/^
/| /' conftest.$ac_ext >&5
27421 ( exit $ac_status )
27424 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27428 CFLAGS="$ac_save_CFLAGS"
27429 LIBS="$ac_save_LIBS"
27432 if test "x$no_gtk" = x ; then
27433 { echo "$as_me:$LINENO: result: yes" >&5
27434 echo "${ECHO_T}yes" >&6; }
27435 wx_cv_lib_gtk=1.2.7
27437 { echo "$as_me:$LINENO: result: no" >&5
27438 echo "${ECHO_T}no" >&6; }
27439 if test "$GTK_CONFIG" = "no" ; then
27440 echo "*** The gtk-config script installed by GTK could not be found"
27441 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27442 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27443 echo "*** full path to gtk-config."
27445 if test -f conf.gtktest ; then
27448 echo "*** Could not run GTK test program, checking why..."
27449 CFLAGS="$CFLAGS $GTK_CFLAGS"
27450 LIBS="$LIBS $GTK_LIBS"
27451 cat >conftest.$ac_ext <<_ACEOF
27454 cat confdefs.h >>conftest.$ac_ext
27455 cat >>conftest.$ac_ext <<_ACEOF
27456 /* end confdefs.h. */
27458 #include <gtk/gtk.h>
27464 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27469 rm -f conftest.$ac_objext conftest$ac_exeext
27470 if { (ac_try="$ac_link"
27471 case "(($ac_try" in
27472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27473 *) ac_try_echo=$ac_try;;
27475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27476 (eval "$ac_link") 2>conftest.er1
27478 grep -v '^
*+' conftest.er1 >conftest.err
27480 cat conftest.err >&5
27481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27482 (exit $ac_status); } && {
27483 test -z "$ac_c_werror_flag" ||
27484 test ! -s conftest.err
27485 } && test -s conftest$ac_exeext &&
27486 $as_test_x conftest$ac_exeext; then
27487 echo "*** The test program compiled, but did not run. This usually means"
27488 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27489 echo "*** version of GTK. If it is not finding GTK, you'll need to
set your
"
27490 echo "*** LD_LIBRARY_PATH environment variable
, or edit
/etc
/ld.so.conf to point
"
27491 echo "*** to the installed location Also
, make sure you have run ldconfig
if that
"
27492 echo "*** is required on your system
"
27494 echo "*** If you have an old version installed
, it is best to remove it
, although
"
27495 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
"
27497 echo "*** If you have a RedHat
5.0 system
, you should remove the GTK package that
"
27498 echo "*** came with the system with the
command"
27500 echo "*** rpm
--erase --nodeps gtk gtk
-devel"
27502 echo "$as_me: failed program was
:" >&5
27503 sed 's/^/| /' conftest.$ac_ext >&5
27505 echo "*** The
test program failed to compile or link. See the
file config.log
for the
"
27506 echo "*** exact error that occured. This usually means GTK was incorrectly installed
"
27507 echo "*** or that you have moved GTK since it was installed. In the latter
case, you
"
27508 echo "*** may want to edit the gtk
-config script: $GTK_CONFIG"
27511 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27512 conftest$ac_exeext conftest.$ac_ext
27513 CFLAGS="$ac_save_CFLAGS"
27514 LIBS="$ac_save_LIBS"
27526 if test -z "$wx_cv_lib_gtk"; then
27528 # Check whether --with-gtk-prefix was given.
27529 if test "${with_gtk_prefix+set}" = set; then
27530 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
27532 gtk_config_prefix=""
27536 # Check whether --with-gtk-exec-prefix was given.
27537 if test "${with_gtk_exec_prefix+set}" = set; then
27538 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
27540 gtk_config_exec_prefix=""
27543 # Check whether --enable-gtktest was given.
27544 if test "${enable_gtktest+set}" = set; then
27545 enableval=$enable_gtktest;
27551 for module in . $GTK_MODULES
27555 gtk_config_args="$gtk_config_args gthread
"
27560 if test x$gtk_config_exec_prefix != x ; then
27561 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27562 if test x${GTK_CONFIG+set} != xset ; then
27563 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
27566 if test x$gtk_config_prefix != x ; then
27567 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
27568 if test x${GTK_CONFIG+set} != xset ; then
27569 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
27573 # Extract the first word of "gtk
-config", so it can be a program name with args.
27574 set dummy gtk-config; ac_word=$2
27575 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
27576 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
27577 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27578 echo $ECHO_N "(cached
) $ECHO_C" >&6
27580 case $GTK_CONFIG in
27582 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
27585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27586 for as_dir in $PATH
27589 test -z "$as_dir" && as_dir=.
27590 for ac_exec_ext in '' $ac_executable_extensions; do
27591 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27592 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27593 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
27600 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no
"
27604 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
27605 if test -n "$GTK_CONFIG"; then
27606 { echo "$as_me:$LINENO: result
: $GTK_CONFIG" >&5
27607 echo "${ECHO_T}$GTK_CONFIG" >&6; }
27609 { echo "$as_me:$LINENO: result
: no
" >&5
27610 echo "${ECHO_T}no
" >&6; }
27614 min_gtk_version=1.2.3
27615 { echo "$as_me:$LINENO: checking
for GTK
- version
>= $min_gtk_version" >&5
27616 echo $ECHO_N "checking
for GTK
- version
>= $min_gtk_version...
$ECHO_C" >&6; }
27618 if test "$GTK_CONFIG" = "no
" ; then
27621 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
27622 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
27623 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
27624 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27625 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
27626 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27627 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
27628 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27629 if test "x
$enable_gtktest" = "xyes
" ; then
27630 ac_save_CFLAGS="$CFLAGS"
27631 ac_save_LIBS="$LIBS"
27632 CFLAGS="$CFLAGS $GTK_CFLAGS"
27633 LIBS="$GTK_LIBS $LIBS"
27635 if test "$cross_compiling" = yes; then
27636 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
27638 cat >conftest.$ac_ext <<_ACEOF
27641 cat confdefs.h >>conftest.$ac_ext
27642 cat >>conftest.$ac_ext <<_ACEOF
27643 /* end confdefs.h. */
27645 #include <gtk/gtk.h>
27647 #include <stdlib.h>
27652 int major, minor, micro;
27655 system ("touch conf.gtktest
");
27657 /* HP/UX 9 (%@#!) writes to sscanf strings */
27658 tmp_version = g_strdup("$min_gtk_version");
27659 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
27660 printf("%s
, bad version string
\n", "$min_gtk_version");
27664 if ((gtk_major_version != $gtk_config_major_version) ||
27665 (gtk_minor_version != $gtk_config_minor_version) ||
27666 (gtk_micro_version != $gtk_config_micro_version))
27668 printf("\n*** 'gtk-config --version' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
27669 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27670 gtk_major_version, gtk_minor_version, gtk_micro_version);
27671 printf ("*** was found
! If gtk
-config was correct
, then it is best
\n");
27672 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
27673 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
27674 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
27675 printf("*** required on your system.
\n");
27676 printf("*** If gtk
-config was wrong
, set the environment variable GTK_CONFIG
\n");
27677 printf("*** to point to the correct copy of gtk
-config, and remove the
file config.cache
\n");
27678 printf("*** before re
-running configure
\n");
27680 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27681 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27682 (gtk_minor_version != GTK_MINOR_VERSION) ||
27683 (gtk_micro_version != GTK_MICRO_VERSION))
27685 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
27686 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27687 printf("*** library
(version
%d.
%d.
%d
)\n",
27688 gtk_major_version, gtk_minor_version, gtk_micro_version);
27690 #endif /* defined (GTK_MAJOR_VERSION) ... */
27693 if ((gtk_major_version > major) ||
27694 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27695 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27701 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
27702 gtk_major_version, gtk_minor_version, gtk_micro_version);
27703 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
27704 major, minor, micro);
27705 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
27707 printf("*** If you have already installed a sufficiently new version
, this error
\n");
27708 printf("*** probably means that the wrong copy of the gtk
-config shell
script is
\n");
27709 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
27710 printf("*** of GTK
+, but you can also
set the GTK_CONFIG environment to point to the
\n");
27711 printf("*** correct copy of gtk
-config.
(In this
case, you will have to
\n");
27712 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
27713 printf("*** so that the correct libraries are found
at run
-time))\n");
27720 rm -f conftest$ac_exeext
27721 if { (ac_try="$ac_link"
27722 case "(($ac_try" in
27723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27724 *) ac_try_echo=$ac_try;;
27726 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27727 (eval "$ac_link") 2>&5
27729 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27730 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27731 { (case "(($ac_try" in
27732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27733 *) ac_try_echo=$ac_try;;
27735 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27736 (eval "$ac_try") 2>&5
27738 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27739 (exit $ac_status); }; }; then
27742 echo "$as_me: program exited with status
$ac_status" >&5
27743 echo "$as_me: failed program was
:" >&5
27744 sed 's/^/| /' conftest.$ac_ext >&5
27746 ( exit $ac_status )
27749 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27753 CFLAGS="$ac_save_CFLAGS"
27754 LIBS="$ac_save_LIBS"
27757 if test "x
$no_gtk" = x ; then
27758 { echo "$as_me:$LINENO: result
: yes" >&5
27759 echo "${ECHO_T}yes" >&6; }
27760 wx_cv_lib_gtk=1.2.3
27762 { echo "$as_me:$LINENO: result
: no
" >&5
27763 echo "${ECHO_T}no
" >&6; }
27764 if test "$GTK_CONFIG" = "no
" ; then
27765 echo "*** The gtk
-config script installed by GTK could not be found
"
27766 echo "*** If GTK was installed
in PREFIX
, make sure PREFIX
/bin is
in"
27767 echo "*** your path
, or
set the GTK_CONFIG environment variable to the
"
27768 echo "*** full path to gtk
-config.
"
27770 if test -f conf.gtktest ; then
27773 echo "*** Could not run GTK
test program
, checking why...
"
27774 CFLAGS="$CFLAGS $GTK_CFLAGS"
27775 LIBS="$LIBS $GTK_LIBS"
27776 cat >conftest.$ac_ext <<_ACEOF
27779 cat confdefs.h >>conftest.$ac_ext
27780 cat >>conftest.$ac_ext <<_ACEOF
27781 /* end confdefs.h. */
27783 #include <gtk/gtk.h>
27789 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27794 rm -f conftest.$ac_objext conftest$ac_exeext
27795 if { (ac_try="$ac_link"
27796 case "(($ac_try" in
27797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27798 *) ac_try_echo=$ac_try;;
27800 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27801 (eval "$ac_link") 2>conftest.er1
27803 grep -v '^ *+' conftest.er1 >conftest.err
27805 cat conftest.err >&5
27806 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27807 (exit $ac_status); } && {
27808 test -z "$ac_c_werror_flag" ||
27809 test ! -s conftest.err
27810 } && test -s conftest$ac_exeext &&
27811 $as_test_x conftest$ac_exeext; then
27812 echo "*** The
test program compiled
, but did not run. This usually means
"
27813 echo "*** that the run
-time linker is not finding GTK or finding the wrong
"
27814 echo "*** version of GTK. If it is not finding GTK
, you
'll need to set your"
27815 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27816 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27817 echo "*** is required on your system"
27819 echo "*** If you have an old version installed, it is best to remove it, although"
27820 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27822 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27823 echo "*** came with the system with the command"
27825 echo "*** rpm --erase --nodeps gtk gtk-devel"
27827 echo "$as_me: failed program was:" >&5
27828 sed 's
/^
/| /' conftest.$ac_ext >&5
27830 echo "*** The test program failed to compile or link. See the file config.log for the"
27831 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27832 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27833 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27836 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27837 conftest$ac_exeext conftest.$ac_ext
27838 CFLAGS="$ac_save_CFLAGS"
27839 LIBS="$ac_save_LIBS"
27854 if test -z "$wx_cv_lib_gtk"; then
27857 wx_cv_cflags_gtk=$GTK_CFLAGS
27858 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's
/ -l[^
]*cairo
[^
]*//g
'`
27865 if test "$gtk_version_cached" = 1; then
27866 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
27867 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
27870 case "$wx_cv_lib_gtk" in
27879 *) { { echo "$as_me:$LINENO: error:
27880 The development files for GTK+ were not found. For GTK+ 2, please
27881 ensure that pkg-config is in the path and that gtk+-2.0.pc is
27882 installed. For GTK+ 1.2 please check that gtk-config is in the path,
27883 and that the version is 1.2.3 or above. Also check that the
27884 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
27885 --libs' are in the LD_LIBRARY_PATH or equivalent.
27887 echo "$as_me: error:
27888 The development files for GTK+ were not found. For GTK+ 2, please
27889 ensure that pkg-config is in the path and that gtk+-2.0.pc is
27890 installed. For GTK+ 1.2 please check that gtk-config is in the path,
27891 and that the version is 1.2.3 or above. Also check that the
27892 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
27893 --libs' are in the LD_LIBRARY_PATH or equivalent.
27895 { (exit 1); exit 1; }; }
27899 if test "$WXGTK20" = 1; then
27900 save_CFLAGS="$CFLAGS"
27902 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
27903 LIBS="$LIBS $wx_cv_libs_gtk"
27905 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
27906 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
27907 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
27908 echo $ECHO_N "(cached) $ECHO_C" >&6
27910 cat >conftest.$ac_ext <<_ACEOF
27913 cat confdefs.h >>conftest.$ac_ext
27914 cat >>conftest.$ac_ext <<_ACEOF
27915 /* end confdefs.h. */
27916 #include <gtk/gtk.h>
27921 #ifndef gtk_icon_size_lookup
27922 (void) gtk_icon_size_lookup;
27929 rm -f conftest.$ac_objext
27930 if { (ac_try="$ac_compile"
27931 case "(($ac_try" in
27932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27933 *) ac_try_echo=$ac_try;;
27935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27936 (eval "$ac_compile") 2>conftest.er1
27938 grep -v '^
*+' conftest.er1 >conftest.err
27940 cat conftest.err >&5
27941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27942 (exit $ac_status); } && {
27943 test -z "$ac_c_werror_flag" ||
27944 test ! -s conftest.err
27945 } && test -s conftest.$ac_objext; then
27946 ac_cv_have_decl_gtk_icon_size_lookup=yes
27948 echo "$as_me: failed program was:" >&5
27949 sed 's
/^
/| /' conftest.$ac_ext >&5
27951 ac_cv_have_decl_gtk_icon_size_lookup=no
27954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27956 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
27957 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
27958 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
27960 cat >>confdefs.h <<_ACEOF
27961 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
27966 cat >>confdefs.h <<_ACEOF
27967 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
27970 cat >>confdefs.h <<\_ACEOF
27971 #define NEED_GTK_ICON_SIZE_LOOKUP 1
27979 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
27980 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
27981 cat >conftest.$ac_ext <<_ACEOF
27984 cat confdefs.h >>conftest.$ac_ext
27985 cat >>conftest.$ac_ext <<_ACEOF
27986 /* end confdefs.h. */
27988 #include <gtk/gtk.h>
27994 #if !GTK_CHECK_VERSION(2,10,0)
28002 rm -f conftest.$ac_objext
28003 if { (ac_try="$ac_compile"
28004 case "(($ac_try" in
28005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28006 *) ac_try_echo=$ac_try;;
28008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28009 (eval "$ac_compile") 2>conftest.er1
28011 grep -v '^
*+' conftest.er1 >conftest.err
28013 cat conftest.err >&5
28014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28015 (exit $ac_status); } && {
28016 test -z "$ac_c_werror_flag" ||
28017 test ! -s conftest.err
28018 } && test -s conftest.$ac_objext; then
28020 cat >>confdefs.h <<\_ACEOF
28021 #define __WXGTK210__ 1
28024 cat >>confdefs.h <<\_ACEOF
28025 #define __WXGTK26__ 1
28028 cat >>confdefs.h <<\_ACEOF
28029 #define __WXGTK24__ 1
28032 { echo "$as_me:$LINENO: result: yes" >&5
28033 echo "${ECHO_T}yes" >&6; }
28037 echo "$as_me: failed program was:" >&5
28038 sed 's
/^
/| /' conftest.$ac_ext >&5
28041 { echo "$as_me:$LINENO: result: no" >&5
28042 echo "${ECHO_T}no" >&6; }
28047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28049 if test "$ac_wxgtk210" = 0; then
28050 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28051 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
28052 cat >conftest.$ac_ext <<_ACEOF
28055 cat confdefs.h >>conftest.$ac_ext
28056 cat >>conftest.$ac_ext <<_ACEOF
28057 /* end confdefs.h. */
28059 #include <gtk/gtk.h>
28065 #if !GTK_CHECK_VERSION(2,6,0)
28073 rm -f conftest.$ac_objext
28074 if { (ac_try="$ac_compile"
28075 case "(($ac_try" in
28076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28077 *) ac_try_echo=$ac_try;;
28079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28080 (eval "$ac_compile") 2>conftest.er1
28082 grep -v '^
*+' conftest.er1 >conftest.err
28084 cat conftest.err >&5
28085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28086 (exit $ac_status); } && {
28087 test -z "$ac_c_werror_flag" ||
28088 test ! -s conftest.err
28089 } && test -s conftest.$ac_objext; then
28091 cat >>confdefs.h <<\_ACEOF
28092 #define __WXGTK26__ 1
28095 cat >>confdefs.h <<\_ACEOF
28096 #define __WXGTK24__ 1
28099 { echo "$as_me:$LINENO: result: yes" >&5
28100 echo "${ECHO_T}yes" >&6; }
28104 echo "$as_me: failed program was:" >&5
28105 sed 's
/^
/| /' conftest.$ac_ext >&5
28108 { echo "$as_me:$LINENO: result: no" >&5
28109 echo "${ECHO_T}no" >&6; }
28114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28117 if test "$ac_wxgtk26" = 0; then
28118 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
28119 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
28120 cat >conftest.$ac_ext <<_ACEOF
28123 cat confdefs.h >>conftest.$ac_ext
28124 cat >>conftest.$ac_ext <<_ACEOF
28125 /* end confdefs.h. */
28127 #include <gtk/gtk.h>
28133 #if !GTK_CHECK_VERSION(2,4,0)
28141 rm -f conftest.$ac_objext
28142 if { (ac_try="$ac_compile"
28143 case "(($ac_try" in
28144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28145 *) ac_try_echo=$ac_try;;
28147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28148 (eval "$ac_compile") 2>conftest.er1
28150 grep -v '^
*+' conftest.er1 >conftest.err
28152 cat conftest.err >&5
28153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28154 (exit $ac_status); } && {
28155 test -z "$ac_c_werror_flag" ||
28156 test ! -s conftest.err
28157 } && test -s conftest.$ac_objext; then
28159 cat >>confdefs.h <<\_ACEOF
28160 #define __WXGTK24__ 1
28163 { echo "$as_me:$LINENO: result: yes" >&5
28164 echo "${ECHO_T}yes" >&6; }
28167 echo "$as_me: failed program was:" >&5
28168 sed 's
/^
/| /' conftest.$ac_ext >&5
28171 { echo "$as_me:$LINENO: result: no" >&5
28172 echo "${ECHO_T}no" >&6; }
28176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28179 CFLAGS="$save_CFLAGS"
28182 if test "$wxUSE_UNICODE" = "yes"; then
28183 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
28184 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
28188 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
28189 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
28190 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
28191 echo $ECHO_N "(cached) $ECHO_C" >&6
28193 ac_check_lib_save_LIBS=$LIBS
28195 cat >conftest.$ac_ext <<_ACEOF
28198 cat confdefs.h >>conftest.$ac_ext
28199 cat >>conftest.$ac_ext <<_ACEOF
28200 /* end confdefs.h. */
28202 /* Override any GCC internal prototype to avoid an error.
28203 Use char because int might match the return type of a GCC
28204 builtin and then its argument prototype would still apply. */
28208 char gdk_im_open ();
28212 return gdk_im_open ();
28217 rm -f conftest.$ac_objext conftest$ac_exeext
28218 if { (ac_try="$ac_link"
28219 case "(($ac_try" in
28220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28221 *) ac_try_echo=$ac_try;;
28223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28224 (eval "$ac_link") 2>conftest.er1
28226 grep -v '^
*+' conftest.er1 >conftest.err
28228 cat conftest.err >&5
28229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28230 (exit $ac_status); } && {
28231 test -z "$ac_c_werror_flag" ||
28232 test ! -s conftest.err
28233 } && test -s conftest$ac_exeext &&
28234 $as_test_x conftest$ac_exeext; then
28235 ac_cv_lib_gdk_gdk_im_open=yes
28237 echo "$as_me: failed program was:" >&5
28238 sed 's
/^
/| /' conftest.$ac_ext >&5
28240 ac_cv_lib_gdk_gdk_im_open=no
28243 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28244 conftest$ac_exeext conftest.$ac_ext
28245 LIBS=$ac_check_lib_save_LIBS
28247 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
28248 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
28249 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
28250 cat >>confdefs.h <<\_ACEOF
28257 if test "$USE_DARWIN" != 1; then
28259 for ac_func in poll
28261 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28262 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28263 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28264 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28265 echo $ECHO_N "(cached) $ECHO_C" >&6
28267 cat >conftest.$ac_ext <<_ACEOF
28270 cat confdefs.h >>conftest.$ac_ext
28271 cat >>conftest.$ac_ext <<_ACEOF
28272 /* end confdefs.h. */
28273 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28274 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28275 #define $ac_func innocuous_$ac_func
28277 /* System header to define __stub macros and hopefully few prototypes,
28278 which can conflict with char $ac_func (); below.
28279 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28280 <limits.h> exists even on freestanding compilers. */
28283 # include <limits.h>
28285 # include <assert.h>
28290 /* Override any GCC internal prototype to avoid an error.
28291 Use char because int might match the return type of a GCC
28292 builtin and then its argument prototype would still apply. */
28297 /* The GNU C library defines this for functions which it implements
28298 to always fail with ENOSYS. Some functions are actually named
28299 something starting with __ and the normal name is an alias. */
28300 #if defined __stub_$ac_func || defined __stub___$ac_func
28307 return $ac_func ();
28312 rm -f conftest.$ac_objext conftest$ac_exeext
28313 if { (ac_try="$ac_link"
28314 case "(($ac_try" in
28315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28316 *) ac_try_echo=$ac_try;;
28318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28319 (eval "$ac_link") 2>conftest.er1
28321 grep -v '^
*+' conftest.er1 >conftest.err
28323 cat conftest.err >&5
28324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28325 (exit $ac_status); } && {
28326 test -z "$ac_c_werror_flag" ||
28327 test ! -s conftest.err
28328 } && test -s conftest$ac_exeext &&
28329 $as_test_x conftest$ac_exeext; then
28330 eval "$as_ac_var=yes"
28332 echo "$as_me: failed program was:" >&5
28333 sed 's
/^
/| /' conftest.$ac_ext >&5
28335 eval "$as_ac_var=no"
28338 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28339 conftest$ac_exeext conftest.$ac_ext
28341 ac_res=`eval echo '${'$as_ac_var'}'`
28342 { echo "$as_me:$LINENO: result: $ac_res" >&5
28343 echo "${ECHO_T}$ac_res" >&6; }
28344 if test `eval echo '${'$as_ac_var'}'` = yes; then
28345 cat >>confdefs.h <<_ACEOF
28346 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28355 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
28356 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
28358 AFMINSTALL=afminstall
28362 if test "$wxUSE_GPE" = "yes"; then
28363 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
28364 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
28367 for ac_dir in $SEARCH_LIB;
28369 for ac_extension in a so sl dylib dll.a; do
28370 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
28371 ac_find_libraries=$ac_dir
28377 if test "$ac_find_libraries" != "" ; then
28379 if test "$ac_find_libraries" = "default location"; then
28382 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
28384 if test $result = 0; then
28387 ac_path_to_link=" -L$ac_find_libraries"
28391 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
28393 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
28394 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
28396 { echo "$as_me:$LINENO: result: not found" >&5
28397 echo "${ECHO_T}not found" >&6; }
28403 if test "$wxUSE_MGL" = 1; then
28404 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
28405 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
28406 if test "x$MGL_ROOT" = x ; then
28407 { echo "$as_me:$LINENO: result: not found" >&5
28408 echo "${ECHO_T}not found" >&6; }
28409 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
28410 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
28411 { (exit 1); exit 1; }; }
28413 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
28414 echo "${ECHO_T}$MGL_ROOT" >&6; }
28417 { echo "$as_me:$LINENO: checking for libmgl location" >&5
28418 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
28421 if test "x$wxUSE_SHARED" = xyes ; then
28422 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
28424 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
28428 mgl_os_candidates="dos32/dj2"
28431 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
28432 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
28433 { (exit 1); exit 1; }; }
28439 for mgl_os_i in $mgl_os_candidates ; do
28440 if test "x$mgl_os" = x ; then
28441 if test "$wxUSE_DEBUG_FLAG" = yes ; then
28442 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
28443 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
28448 if test "x$mgl_lib_type" = x ; then
28449 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
28450 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
28451 mgl_lib_type=release
28458 if test "x$mgl_os" = x ; then
28459 { echo "$as_me:$LINENO: result: not found" >&5
28460 echo "${ECHO_T}not found" >&6; }
28461 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
28462 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
28463 { (exit 1); exit 1; }; }
28465 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
28466 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
28468 wxUSE_UNIVERSAL="yes"
28470 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
28471 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
28473 AFMINSTALL=afminstall
28478 if test "$wxUSE_DFB" = 1; then
28481 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28482 if test -n "$ac_tool_prefix"; then
28483 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28484 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
28485 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28486 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28487 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28488 echo $ECHO_N "(cached) $ECHO_C" >&6
28490 case $PKG_CONFIG in
28492 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28496 for as_dir in $PATH
28499 test -z "$as_dir" && as_dir=.
28500 for ac_exec_ext in '' $ac_executable_extensions; do
28501 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28502 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28503 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28513 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28514 if test -n "$PKG_CONFIG"; then
28515 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28516 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28518 { echo "$as_me:$LINENO: result: no" >&5
28519 echo "${ECHO_T}no" >&6; }
28524 if test -z "$ac_cv_path_PKG_CONFIG"; then
28525 ac_pt_PKG_CONFIG=$PKG_CONFIG
28526 # Extract the first word of "pkg-config", so it can be a program name with args.
28527 set dummy pkg-config; ac_word=$2
28528 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28529 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28530 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
28531 echo $ECHO_N "(cached) $ECHO_C" >&6
28533 case $ac_pt_PKG_CONFIG in
28535 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28539 for as_dir in $PATH
28542 test -z "$as_dir" && as_dir=.
28543 for ac_exec_ext in '' $ac_executable_extensions; do
28544 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28545 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28546 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28556 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
28557 if test -n "$ac_pt_PKG_CONFIG"; then
28558 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
28559 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
28561 { echo "$as_me:$LINENO: result: no" >&5
28562 echo "${ECHO_T}no" >&6; }
28565 if test "x$ac_pt_PKG_CONFIG" = x; then
28568 case $cross_compiling:$ac_tool_warned in
28570 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
28571 whose name does not start with the host triplet. If you think this
28572 configuration is useful to you, please write to autoconf@gnu.org." >&5
28573 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
28574 whose name does not start with the host triplet. If you think this
28575 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
28576 ac_tool_warned=yes ;;
28578 PKG_CONFIG=$ac_pt_PKG_CONFIG
28581 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
28585 if test -n "$PKG_CONFIG"; then
28586 _pkg_min_version=0.9.0
28587 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
28588 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
28589 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28590 { echo "$as_me:$LINENO: result: yes" >&5
28591 echo "${ECHO_T}yes" >&6; }
28593 { echo "$as_me:$LINENO: result: no" >&5
28594 echo "${ECHO_T}no" >&6; }
28602 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
28603 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
28605 if test -n "$PKG_CONFIG"; then
28606 if test -n "$DIRECTFB_CFLAGS"; then
28607 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
28609 if test -n "$PKG_CONFIG" && \
28610 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
28611 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
28613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28614 (exit $ac_status); }; then
28615 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
28623 if test -n "$PKG_CONFIG"; then
28624 if test -n "$DIRECTFB_LIBS"; then
28625 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
28627 if test -n "$PKG_CONFIG" && \
28628 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
28629 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
28631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28632 (exit $ac_status); }; then
28633 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
28644 if test $pkg_failed = yes; then
28646 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28647 _pkg_short_errors_supported=yes
28649 _pkg_short_errors_supported=no
28651 if test $_pkg_short_errors_supported = yes; then
28652 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
28654 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
28656 # Put the nasty error message in config.log where it belongs
28657 echo "$DIRECTFB_PKG_ERRORS" >&5
28660 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
28661 echo "$as_me: error: DirectFB not found." >&2;}
28662 { (exit 1); exit 1; }; }
28665 elif test $pkg_failed = untried; then
28667 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
28668 echo "$as_me: error: DirectFB not found." >&2;}
28669 { (exit 1); exit 1; }; }
28673 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
28674 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
28675 { echo "$as_me:$LINENO: result: yes" >&5
28676 echo "${ECHO_T}yes" >&6; }
28678 wxUSE_UNIVERSAL="yes"
28679 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
28680 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
28687 if test "$wxUSE_MICROWIN" = 1; then
28688 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
28689 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
28690 if test "x$MICROWINDOWS" = x ; then
28691 { echo "$as_me:$LINENO: result: not found" >&5
28692 echo "${ECHO_T}not found" >&6; }
28693 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
28694 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
28695 { (exit 1); exit 1; }; }
28697 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
28698 echo "${ECHO_T}$MICROWINDOWS" >&6; }
28701 if test -f $MICROWINDOWS/lib/libmwin.a; then
28702 { echo "$as_me:$LINENO: result: MicroWindows' libraries found.
" >&5
28703 echo "${ECHO_T}MicroWindows
' libraries found." >&6; }
28705 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
28706 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
28707 { (exit 1); exit 1; }; }
28710 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
28711 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
28713 wxUSE_UNIVERSAL="yes"
28715 AFMINSTALL=afminstall
28717 GUIDIST=MICROWIN_DIST
28719 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
28722 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
28723 { echo "$as_me:$LINENO: checking for X" >&5
28724 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
28727 # Check whether --with-x was given.
28728 if test "${with_x+set}" = set; then
28732 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
28733 if test "x$with_x" = xno; then
28734 # The user explicitly disabled X.
28737 case $x_includes,$x_libraries in #(
28738 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
28739 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
28740 { (exit 1); exit 1; }; };; #(
28741 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
28742 echo $ECHO_N "(cached) $ECHO_C" >&6
28744 # One or both of the vars are not set, and there is no cached value.
28745 ac_x_includes=no ac_x_libraries=no
28746 rm -f -r conftest.dir
28747 if mkdir conftest.dir; then
28749 cat >Imakefile <<'_ACEOF'
28751 @echo incroot='${INCROOT}'
28753 @echo usrlibdir='${USRLIBDIR}'
28755 @echo libdir='${LIBDIR}'
28757 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
28758 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
28759 for ac_var in incroot usrlibdir libdir; do
28760 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
28762 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
28763 for ac_extension in a so sl; do
28764 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
28765 test -f "$ac_im_libdir/libX11.$ac_extension"; then
28766 ac_im_usrlibdir=$ac_im_libdir; break
28769 # Screen out bogus values from the imake configuration. They are
28770 # bogus both because they are the default anyway, and because
28771 # using them would break gcc on systems where it needs fixed includes.
28772 case $ac_im_incroot in
28773 /usr/include) ac_x_includes= ;;
28774 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
28776 case $ac_im_usrlibdir in
28777 /usr/lib | /lib) ;;
28778 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
28782 rm -f -r conftest.dir
28785 # Standard set of common directories for X headers.
28786 # Check X11 before X11Rn because it is often a symlink to the current release.
28798 /usr
/local
/X
11/include
28799 /usr
/local
/X
11R
6/include
28800 /usr
/local
/X
11R
5/include
28801 /usr
/local
/X
11R
4/include
28803 /usr
/local
/include
/X11
28804 /usr
/local
/include
/X11R6
28805 /usr
/local
/include
/X11R5
28806 /usr
/local
/include
/X11R4
28810 /usr
/XFree
86/include
/X11
28814 /usr
/unsupported
/include
28815 /usr
/athena
/include
28816 /usr
/local
/x
11r
5/include
28817 /usr
/lpp
/Xamples
/include
28819 /usr
/openwin
/include
28820 /usr
/openwin
/share
/include
'
28822 if test "$ac_x_includes" = no; then
28823 # Guess where to find include files, by looking for Xlib.h.
28824 # First, try using that file with no special directory specified.
28825 cat >conftest.$ac_ext <<_ACEOF
28828 cat confdefs.h >>conftest.$ac_ext
28829 cat >>conftest.$ac_ext <<_ACEOF
28830 /* end confdefs.h. */
28831 #include <X11/Xlib.h>
28833 if { (ac_try="$ac_cpp conftest.$ac_ext"
28834 case "(($ac_try" in
28835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28836 *) ac_try_echo=$ac_try;;
28838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28839 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28841 grep -v '^
*+' conftest.er1 >conftest.err
28843 cat conftest.err >&5
28844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28845 (exit $ac_status); } >/dev/null && {
28846 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28847 test ! -s conftest.err
28849 # We can compile using X headers with no special include directory.
28852 echo "$as_me: failed program was:" >&5
28853 sed 's
/^
/| /' conftest.$ac_ext >&5
28855 for ac_dir in $ac_x_header_dirs; do
28856 if test -r "$ac_dir/X11/Xlib.h"; then
28857 ac_x_includes=$ac_dir
28863 rm -f conftest.err conftest.$ac_ext
28864 fi # $ac_x_includes = no
28866 if test "$ac_x_libraries" = no; then
28867 # Check for the libraries.
28868 # See if we find them without any special options.
28869 # Don't add to
$LIBS permanently.
28872 cat >conftest.
$ac_ext <<_ACEOF
28875 cat confdefs.h
>>conftest.
$ac_ext
28876 cat >>conftest.
$ac_ext <<_ACEOF
28877 /* end confdefs.h. */
28878 #include <X11/Xlib.h>
28887 rm -f conftest.
$ac_objext conftest
$ac_exeext
28888 if { (ac_try
="$ac_link"
28889 case "(($ac_try" in
28890 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28891 *) ac_try_echo=$ac_try;;
28893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28894 (eval "$ac_link") 2>conftest.er1
28896 grep -v '^ *+' conftest.er1 >conftest.err
28898 cat conftest.err >&5
28899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28900 (exit $ac_status); } && {
28901 test -z "$ac_c_werror_flag" ||
28902 test ! -s conftest.err
28903 } && test -s conftest$ac_exeext &&
28904 $as_test_x conftest$ac_exeext; then
28906 # We can link X programs with no special library path.
28909 echo "$as_me: failed program was:" >&5
28910 sed 's/^/| /' conftest.$ac_ext >&5
28913 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s
/include
/lib
/g
`
28915 # Don't even attempt the hair of trying to link an X program!
28916 for ac_extension in a so sl; do
28917 if test -r "$ac_dir/libX11.$ac_extension"; then
28918 ac_x_libraries=$ac_dir
28925 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28926 conftest$ac_exeext conftest.$ac_ext
28927 fi # $ac_x_libraries = no
28929 case $ac_x_includes,$ac_x_libraries in #(
28930 no,* | *,no | *\'*)
28931 # Didn't find X, or a directory has "'" in its name.
28932 ac_cv_have_x="have_x=no";; #(
28934 # Record where we found X for the cache.
28935 ac_cv_have_x="have_x=yes\
28936 ac_x_includes='$ac_x_includes'\
28937 ac_x_libraries='$ac_x_libraries'"
28943 eval "$ac_cv_have_x"
28946 if test "$have_x" != yes; then
28947 { echo "$as_me:$LINENO: result: $have_x" >&5
28948 echo "${ECHO_T}$have_x" >&6; }
28951 # If each of the values was on the command line, it overrides each guess.
28952 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
28953 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
28954 # Update the cache value to reflect the command line values.
28955 ac_cv_have_x="have_x=yes\
28956 ac_x_includes='$x_includes'\
28957 ac_x_libraries='$x_libraries'"
28958 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
28959 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
28962 if test "$no_x" = yes; then
28963 # Not all programs may use this symbol, but it does not hurt to define it.
28965 cat >>confdefs.h <<\_ACEOF
28966 #define X_DISPLAY_MISSING 1
28969 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
28971 if test -n "$x_includes"; then
28972 X_CFLAGS="$X_CFLAGS -I$x_includes"
28975 # It would also be nice to do this for all -L options, not just this one.
28976 if test -n "$x_libraries"; then
28977 X_LIBS="$X_LIBS -L$x_libraries"
28978 # For Solaris; some versions of Sun CC require a space after -R and
28979 # others require no space. Words are not sufficient . . . .
28980 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
28981 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
28982 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
28983 ac_xsave_c_werror_flag=$ac_c_werror_flag
28984 ac_c_werror_flag=yes
28985 cat >conftest.$ac_ext <<_ACEOF
28988 cat confdefs.h >>conftest.$ac_ext
28989 cat >>conftest.$ac_ext <<_ACEOF
28990 /* end confdefs.h. */
29000 rm -f conftest.$ac_objext conftest$ac_exeext
29001 if { (ac_try="$ac_link"
29002 case "(($ac_try" in
29003 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29004 *) ac_try_echo
=$ac_try;;
29006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29007 (eval "$ac_link") 2>conftest.er1
29009 grep -v '^ *+' conftest.er1
>conftest.err
29011 cat conftest.err
>&5
29012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29013 (exit $ac_status); } && {
29014 test -z "$ac_c_werror_flag" ||
29015 test ! -s conftest.err
29016 } && test -s conftest
$ac_exeext &&
29017 $as_test_x conftest
$ac_exeext; then
29018 { echo "$as_me:$LINENO: result: no" >&5
29019 echo "${ECHO_T}no" >&6; }
29020 X_LIBS
="$X_LIBS -R$x_libraries"
29022 echo "$as_me: failed program was:" >&5
29023 sed 's/^/| /' conftest.
$ac_ext >&5
29025 LIBS
="$ac_xsave_LIBS -R $x_libraries"
29026 cat >conftest.
$ac_ext <<_ACEOF
29029 cat confdefs.h
>>conftest.
$ac_ext
29030 cat >>conftest.
$ac_ext <<_ACEOF
29031 /* end confdefs.h. */
29041 rm -f conftest.
$ac_objext conftest
$ac_exeext
29042 if { (ac_try
="$ac_link"
29043 case "(($ac_try" in
29044 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29045 *) ac_try_echo=$ac_try;;
29047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29048 (eval "$ac_link") 2>conftest.er1
29050 grep -v '^ *+' conftest.er1 >conftest.err
29052 cat conftest.err >&5
29053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29054 (exit $ac_status); } && {
29055 test -z "$ac_c_werror_flag" ||
29056 test ! -s conftest.err
29057 } && test -s conftest$ac_exeext &&
29058 $as_test_x conftest$ac_exeext; then
29059 { echo "$as_me:$LINENO: result: yes" >&5
29060 echo "${ECHO_T}yes" >&6; }
29061 X_LIBS="$X_LIBS -R $x_libraries"
29063 echo "$as_me: failed program was:" >&5
29064 sed 's/^/| /' conftest.$ac_ext >&5
29066 { echo "$as_me:$LINENO: result: neither works" >&5
29067 echo "${ECHO_T}neither works" >&6; }
29070 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29071 conftest$ac_exeext conftest.$ac_ext
29074 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29075 conftest$ac_exeext conftest.$ac_ext
29076 ac_c_werror_flag=$ac_xsave_c_werror_flag
29077 LIBS=$ac_xsave_LIBS
29080 # Check for system-dependent libraries X programs must link with.
29081 # Do this before checking for the system-independent R6 libraries
29082 # (-lICE), since we may need -lsocket or whatever for X linking.
29084 if test "$ISC" = yes; then
29085 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
29087 # Martyn Johnson says this is needed for Ultrix, if the X
29088 # libraries were built with DECnet support. And Karl Berry says
29089 # the Alpha needs dnet_stub (dnet does not exist).
29090 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
29091 cat >conftest.$ac_ext <<_ACEOF
29094 cat confdefs.h >>conftest.$ac_ext
29095 cat >>conftest.$ac_ext <<_ACEOF
29096 /* end confdefs.h. */
29098 /* Override any GCC internal prototype to avoid an error.
29099 Use char because int might match the return type of a GCC
29100 builtin and then its argument prototype would still apply. */
29104 char XOpenDisplay ();
29108 return XOpenDisplay ();
29113 rm -f conftest.$ac_objext conftest$ac_exeext
29114 if { (ac_try="$ac_link"
29115 case "(($ac_try" in
29116 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29117 *) ac_try_echo
=$ac_try;;
29119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29120 (eval "$ac_link") 2>conftest.er1
29122 grep -v '^ *+' conftest.er1
>conftest.err
29124 cat conftest.err
>&5
29125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29126 (exit $ac_status); } && {
29127 test -z "$ac_c_werror_flag" ||
29128 test ! -s conftest.err
29129 } && test -s conftest
$ac_exeext &&
29130 $as_test_x conftest
$ac_exeext; then
29133 echo "$as_me: failed program was:" >&5
29134 sed 's/^/| /' conftest.
$ac_ext >&5
29136 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29137 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
29138 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
29139 echo $ECHO_N "(cached) $ECHO_C" >&6
29141 ac_check_lib_save_LIBS
=$LIBS
29142 LIBS
="-ldnet $LIBS"
29143 cat >conftest.
$ac_ext <<_ACEOF
29146 cat confdefs.h
>>conftest.
$ac_ext
29147 cat >>conftest.
$ac_ext <<_ACEOF
29148 /* end confdefs.h. */
29150 /* Override any GCC internal prototype to avoid an error.
29151 Use char because int might match the return type of a GCC
29152 builtin and then its argument prototype would still apply. */
29160 return dnet_ntoa ();
29165 rm -f conftest.
$ac_objext conftest
$ac_exeext
29166 if { (ac_try
="$ac_link"
29167 case "(($ac_try" in
29168 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29169 *) ac_try_echo=$ac_try;;
29171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29172 (eval "$ac_link") 2>conftest.er1
29174 grep -v '^ *+' conftest.er1 >conftest.err
29176 cat conftest.err >&5
29177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29178 (exit $ac_status); } && {
29179 test -z "$ac_c_werror_flag" ||
29180 test ! -s conftest.err
29181 } && test -s conftest$ac_exeext &&
29182 $as_test_x conftest$ac_exeext; then
29183 ac_cv_lib_dnet_dnet_ntoa=yes
29185 echo "$as_me: failed program was:" >&5
29186 sed 's/^/| /' conftest.$ac_ext >&5
29188 ac_cv_lib_dnet_dnet_ntoa=no
29191 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29192 conftest$ac_exeext conftest.$ac_ext
29193 LIBS=$ac_check_lib_save_LIBS
29195 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
29196 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
29197 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
29198 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
29201 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
29202 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
29203 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
29204 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
29205 echo $ECHO_N "(cached) $ECHO_C" >&6
29207 ac_check_lib_save_LIBS=$LIBS
29208 LIBS="-ldnet_stub $LIBS"
29209 cat >conftest.$ac_ext <<_ACEOF
29212 cat confdefs.h >>conftest.$ac_ext
29213 cat >>conftest.$ac_ext <<_ACEOF
29214 /* end confdefs.h. */
29216 /* Override any GCC internal prototype to avoid an error.
29217 Use char because int might match the return type of a GCC
29218 builtin and then its argument prototype would still apply. */
29226 return dnet_ntoa ();
29231 rm -f conftest.$ac_objext conftest$ac_exeext
29232 if { (ac_try="$ac_link"
29233 case "(($ac_try" in
29234 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29235 *) ac_try_echo
=$ac_try;;
29237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29238 (eval "$ac_link") 2>conftest.er1
29240 grep -v '^ *+' conftest.er1
>conftest.err
29242 cat conftest.err
>&5
29243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29244 (exit $ac_status); } && {
29245 test -z "$ac_c_werror_flag" ||
29246 test ! -s conftest.err
29247 } && test -s conftest
$ac_exeext &&
29248 $as_test_x conftest
$ac_exeext; then
29249 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
29251 echo "$as_me: failed program was:" >&5
29252 sed 's/^/| /' conftest.
$ac_ext >&5
29254 ac_cv_lib_dnet_stub_dnet_ntoa
=no
29257 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
29258 conftest
$ac_exeext conftest.
$ac_ext
29259 LIBS
=$ac_check_lib_save_LIBS
29261 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
29262 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
29263 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
29264 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
29270 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
29271 conftest
$ac_exeext conftest.
$ac_ext
29272 LIBS
="$ac_xsave_LIBS"
29274 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
29275 # to get the SysV transport functions.
29276 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
29278 # The nsl library prevents programs from opening the X display
29279 # on Irix 5.2, according to T.E. Dickey.
29280 # The functions gethostbyname, getservbyname, and inet_addr are
29281 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
29282 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
29283 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
29284 if test "${ac_cv_func_gethostbyname+set}" = set; then
29285 echo $ECHO_N "(cached) $ECHO_C" >&6
29287 cat >conftest.
$ac_ext <<_ACEOF
29290 cat confdefs.h
>>conftest.
$ac_ext
29291 cat >>conftest.
$ac_ext <<_ACEOF
29292 /* end confdefs.h. */
29293 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
29294 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29295 #define gethostbyname innocuous_gethostbyname
29297 /* System header to define __stub macros and hopefully few prototypes,
29298 which can conflict with char gethostbyname (); below.
29299 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29300 <limits.h> exists even on freestanding compilers. */
29303 # include <limits.h>
29305 # include <assert.h>
29308 #undef gethostbyname
29310 /* Override any GCC internal prototype to avoid an error.
29311 Use char because int might match the return type of a GCC
29312 builtin and then its argument prototype would still apply. */
29316 char gethostbyname ();
29317 /* The GNU C library defines this for functions which it implements
29318 to always fail with ENOSYS. Some functions are actually named
29319 something starting with __ and the normal name is an alias. */
29320 #if defined __stub_gethostbyname || defined __stub___gethostbyname
29327 return gethostbyname ();
29332 rm -f conftest.
$ac_objext conftest
$ac_exeext
29333 if { (ac_try
="$ac_link"
29334 case "(($ac_try" in
29335 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29336 *) ac_try_echo=$ac_try;;
29338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29339 (eval "$ac_link") 2>conftest.er1
29341 grep -v '^ *+' conftest.er1 >conftest.err
29343 cat conftest.err >&5
29344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29345 (exit $ac_status); } && {
29346 test -z "$ac_c_werror_flag" ||
29347 test ! -s conftest.err
29348 } && test -s conftest$ac_exeext &&
29349 $as_test_x conftest$ac_exeext; then
29350 ac_cv_func_gethostbyname=yes
29352 echo "$as_me: failed program was:" >&5
29353 sed 's/^/| /' conftest.$ac_ext >&5
29355 ac_cv_func_gethostbyname=no
29358 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29359 conftest$ac_exeext conftest.$ac_ext
29361 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
29362 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
29364 if test $ac_cv_func_gethostbyname = no; then
29365 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
29366 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
29367 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
29368 echo $ECHO_N "(cached) $ECHO_C" >&6
29370 ac_check_lib_save_LIBS=$LIBS
29372 cat >conftest.$ac_ext <<_ACEOF
29375 cat confdefs.h >>conftest.$ac_ext
29376 cat >>conftest.$ac_ext <<_ACEOF
29377 /* end confdefs.h. */
29379 /* Override any GCC internal prototype to avoid an error.
29380 Use char because int might match the return type of a GCC
29381 builtin and then its argument prototype would still apply. */
29385 char gethostbyname ();
29389 return gethostbyname ();
29394 rm -f conftest.$ac_objext conftest$ac_exeext
29395 if { (ac_try="$ac_link"
29396 case "(($ac_try" in
29397 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29398 *) ac_try_echo
=$ac_try;;
29400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29401 (eval "$ac_link") 2>conftest.er1
29403 grep -v '^ *+' conftest.er1
>conftest.err
29405 cat conftest.err
>&5
29406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29407 (exit $ac_status); } && {
29408 test -z "$ac_c_werror_flag" ||
29409 test ! -s conftest.err
29410 } && test -s conftest
$ac_exeext &&
29411 $as_test_x conftest
$ac_exeext; then
29412 ac_cv_lib_nsl_gethostbyname
=yes
29414 echo "$as_me: failed program was:" >&5
29415 sed 's/^/| /' conftest.
$ac_ext >&5
29417 ac_cv_lib_nsl_gethostbyname
=no
29420 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
29421 conftest
$ac_exeext conftest.
$ac_ext
29422 LIBS
=$ac_check_lib_save_LIBS
29424 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
29425 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
29426 if test $ac_cv_lib_nsl_gethostbyname = yes; then
29427 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
29430 if test $ac_cv_lib_nsl_gethostbyname = no
; then
29431 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
29432 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
29433 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
29434 echo $ECHO_N "(cached) $ECHO_C" >&6
29436 ac_check_lib_save_LIBS
=$LIBS
29438 cat >conftest.
$ac_ext <<_ACEOF
29441 cat confdefs.h
>>conftest.
$ac_ext
29442 cat >>conftest.
$ac_ext <<_ACEOF
29443 /* end confdefs.h. */
29445 /* Override any GCC internal prototype to avoid an error.
29446 Use char because int might match the return type of a GCC
29447 builtin and then its argument prototype would still apply. */
29451 char gethostbyname ();
29455 return gethostbyname ();
29460 rm -f conftest.
$ac_objext conftest
$ac_exeext
29461 if { (ac_try
="$ac_link"
29462 case "(($ac_try" in
29463 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29464 *) ac_try_echo=$ac_try;;
29466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29467 (eval "$ac_link") 2>conftest.er1
29469 grep -v '^ *+' conftest.er1 >conftest.err
29471 cat conftest.err >&5
29472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29473 (exit $ac_status); } && {
29474 test -z "$ac_c_werror_flag" ||
29475 test ! -s conftest.err
29476 } && test -s conftest$ac_exeext &&
29477 $as_test_x conftest$ac_exeext; then
29478 ac_cv_lib_bsd_gethostbyname=yes
29480 echo "$as_me: failed program was:" >&5
29481 sed 's/^/| /' conftest.$ac_ext >&5
29483 ac_cv_lib_bsd_gethostbyname=no
29486 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29487 conftest$ac_exeext conftest.$ac_ext
29488 LIBS=$ac_check_lib_save_LIBS
29490 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
29491 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
29492 if test $ac_cv_lib_bsd_gethostbyname = yes; then
29493 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
29499 # lieder@skyler.mavd.honeywell.com says without -lsocket,
29500 # socket/setsockopt and other routines are undefined under SCO ODT
29501 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
29502 # on later versions), says Simon Leinen: it contains gethostby*
29503 # variants that don't use the name server (or something). -lsocket
29504 # must be given before -lnsl if both are needed. We assume that
29505 # if connect needs -lnsl, so does gethostbyname.
29506 { echo "$as_me:$LINENO: checking for connect" >&5
29507 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
29508 if test "${ac_cv_func_connect+set}" = set; then
29509 echo $ECHO_N "(cached) $ECHO_C" >&6
29511 cat >conftest.$ac_ext <<_ACEOF
29514 cat confdefs.h >>conftest.$ac_ext
29515 cat >>conftest.$ac_ext <<_ACEOF
29516 /* end confdefs.h. */
29517 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
29518 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29519 #define connect innocuous_connect
29521 /* System header to define __stub macros and hopefully few prototypes,
29522 which can conflict with char connect (); below.
29523 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29524 <limits.h> exists even on freestanding compilers. */
29527 # include <limits.h>
29529 # include <assert.h>
29534 /* Override any GCC internal prototype to avoid an error.
29535 Use char because int might match the return type of a GCC
29536 builtin and then its argument prototype would still apply. */
29541 /* The GNU C library defines this for functions which it implements
29542 to always fail with ENOSYS. Some functions are actually named
29543 something starting with __ and the normal name is an alias. */
29544 #if defined __stub_connect || defined __stub___connect
29556 rm -f conftest.$ac_objext conftest$ac_exeext
29557 if { (ac_try="$ac_link"
29558 case "(($ac_try" in
29559 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29560 *) ac_try_echo
=$ac_try;;
29562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29563 (eval "$ac_link") 2>conftest.er1
29565 grep -v '^ *+' conftest.er1
>conftest.err
29567 cat conftest.err
>&5
29568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29569 (exit $ac_status); } && {
29570 test -z "$ac_c_werror_flag" ||
29571 test ! -s conftest.err
29572 } && test -s conftest
$ac_exeext &&
29573 $as_test_x conftest
$ac_exeext; then
29574 ac_cv_func_connect
=yes
29576 echo "$as_me: failed program was:" >&5
29577 sed 's/^/| /' conftest.
$ac_ext >&5
29579 ac_cv_func_connect
=no
29582 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
29583 conftest
$ac_exeext conftest.
$ac_ext
29585 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
29586 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
29588 if test $ac_cv_func_connect = no
; then
29589 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
29590 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
29591 if test "${ac_cv_lib_socket_connect+set}" = set; then
29592 echo $ECHO_N "(cached) $ECHO_C" >&6
29594 ac_check_lib_save_LIBS
=$LIBS
29595 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
29596 cat >conftest.
$ac_ext <<_ACEOF
29599 cat confdefs.h
>>conftest.
$ac_ext
29600 cat >>conftest.
$ac_ext <<_ACEOF
29601 /* end confdefs.h. */
29603 /* Override any GCC internal prototype to avoid an error.
29604 Use char because int might match the return type of a GCC
29605 builtin and then its argument prototype would still apply. */
29618 rm -f conftest.
$ac_objext conftest
$ac_exeext
29619 if { (ac_try
="$ac_link"
29620 case "(($ac_try" in
29621 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29622 *) ac_try_echo=$ac_try;;
29624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29625 (eval "$ac_link") 2>conftest.er1
29627 grep -v '^ *+' conftest.er1 >conftest.err
29629 cat conftest.err >&5
29630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29631 (exit $ac_status); } && {
29632 test -z "$ac_c_werror_flag" ||
29633 test ! -s conftest.err
29634 } && test -s conftest$ac_exeext &&
29635 $as_test_x conftest$ac_exeext; then
29636 ac_cv_lib_socket_connect=yes
29638 echo "$as_me: failed program was:" >&5
29639 sed 's/^/| /' conftest.$ac_ext >&5
29641 ac_cv_lib_socket_connect=no
29644 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29645 conftest$ac_exeext conftest.$ac_ext
29646 LIBS=$ac_check_lib_save_LIBS
29648 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
29649 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
29650 if test $ac_cv_lib_socket_connect = yes; then
29651 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
29656 # Guillermo Gomez says -lposix is necessary on A/UX.
29657 { echo "$as_me:$LINENO: checking for remove" >&5
29658 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
29659 if test "${ac_cv_func_remove+set}" = set; then
29660 echo $ECHO_N "(cached) $ECHO_C" >&6
29662 cat >conftest.$ac_ext <<_ACEOF
29665 cat confdefs.h >>conftest.$ac_ext
29666 cat >>conftest.$ac_ext <<_ACEOF
29667 /* end confdefs.h. */
29668 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
29669 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29670 #define remove innocuous_remove
29672 /* System header to define __stub macros and hopefully few prototypes,
29673 which can conflict with char remove (); below.
29674 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29675 <limits.h> exists even on freestanding compilers. */
29678 # include <limits.h>
29680 # include <assert.h>
29685 /* Override any GCC internal prototype to avoid an error.
29686 Use char because int might match the return type of a GCC
29687 builtin and then its argument prototype would still apply. */
29692 /* The GNU C library defines this for functions which it implements
29693 to always fail with ENOSYS. Some functions are actually named
29694 something starting with __ and the normal name is an alias. */
29695 #if defined __stub_remove || defined __stub___remove
29707 rm -f conftest.$ac_objext conftest$ac_exeext
29708 if { (ac_try="$ac_link"
29709 case "(($ac_try" in
29710 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29711 *) ac_try_echo
=$ac_try;;
29713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29714 (eval "$ac_link") 2>conftest.er1
29716 grep -v '^ *+' conftest.er1
>conftest.err
29718 cat conftest.err
>&5
29719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29720 (exit $ac_status); } && {
29721 test -z "$ac_c_werror_flag" ||
29722 test ! -s conftest.err
29723 } && test -s conftest
$ac_exeext &&
29724 $as_test_x conftest
$ac_exeext; then
29725 ac_cv_func_remove
=yes
29727 echo "$as_me: failed program was:" >&5
29728 sed 's/^/| /' conftest.
$ac_ext >&5
29730 ac_cv_func_remove
=no
29733 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
29734 conftest
$ac_exeext conftest.
$ac_ext
29736 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
29737 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
29739 if test $ac_cv_func_remove = no
; then
29740 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
29741 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
29742 if test "${ac_cv_lib_posix_remove+set}" = set; then
29743 echo $ECHO_N "(cached) $ECHO_C" >&6
29745 ac_check_lib_save_LIBS
=$LIBS
29746 LIBS
="-lposix $LIBS"
29747 cat >conftest.
$ac_ext <<_ACEOF
29750 cat confdefs.h
>>conftest.
$ac_ext
29751 cat >>conftest.
$ac_ext <<_ACEOF
29752 /* end confdefs.h. */
29754 /* Override any GCC internal prototype to avoid an error.
29755 Use char because int might match the return type of a GCC
29756 builtin and then its argument prototype would still apply. */
29769 rm -f conftest.
$ac_objext conftest
$ac_exeext
29770 if { (ac_try
="$ac_link"
29771 case "(($ac_try" in
29772 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29773 *) ac_try_echo=$ac_try;;
29775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29776 (eval "$ac_link") 2>conftest.er1
29778 grep -v '^ *+' conftest.er1 >conftest.err
29780 cat conftest.err >&5
29781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29782 (exit $ac_status); } && {
29783 test -z "$ac_c_werror_flag" ||
29784 test ! -s conftest.err
29785 } && test -s conftest$ac_exeext &&
29786 $as_test_x conftest$ac_exeext; then
29787 ac_cv_lib_posix_remove=yes
29789 echo "$as_me: failed program was:" >&5
29790 sed 's/^/| /' conftest.$ac_ext >&5
29792 ac_cv_lib_posix_remove=no
29795 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29796 conftest$ac_exeext conftest.$ac_ext
29797 LIBS=$ac_check_lib_save_LIBS
29799 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
29800 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
29801 if test $ac_cv_lib_posix_remove = yes; then
29802 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
29807 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
29808 { echo "$as_me:$LINENO: checking for shmat" >&5
29809 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
29810 if test "${ac_cv_func_shmat+set}" = set; then
29811 echo $ECHO_N "(cached) $ECHO_C" >&6
29813 cat >conftest.$ac_ext <<_ACEOF
29816 cat confdefs.h >>conftest.$ac_ext
29817 cat >>conftest.$ac_ext <<_ACEOF
29818 /* end confdefs.h. */
29819 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
29820 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29821 #define shmat innocuous_shmat
29823 /* System header to define __stub macros and hopefully few prototypes,
29824 which can conflict with char shmat (); below.
29825 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29826 <limits.h> exists even on freestanding compilers. */
29829 # include <limits.h>
29831 # include <assert.h>
29836 /* Override any GCC internal prototype to avoid an error.
29837 Use char because int might match the return type of a GCC
29838 builtin and then its argument prototype would still apply. */
29843 /* The GNU C library defines this for functions which it implements
29844 to always fail with ENOSYS. Some functions are actually named
29845 something starting with __ and the normal name is an alias. */
29846 #if defined __stub_shmat || defined __stub___shmat
29858 rm -f conftest.$ac_objext conftest$ac_exeext
29859 if { (ac_try="$ac_link"
29860 case "(($ac_try" in
29861 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29862 *) ac_try_echo
=$ac_try;;
29864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29865 (eval "$ac_link") 2>conftest.er1
29867 grep -v '^ *+' conftest.er1
>conftest.err
29869 cat conftest.err
>&5
29870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29871 (exit $ac_status); } && {
29872 test -z "$ac_c_werror_flag" ||
29873 test ! -s conftest.err
29874 } && test -s conftest
$ac_exeext &&
29875 $as_test_x conftest
$ac_exeext; then
29876 ac_cv_func_shmat
=yes
29878 echo "$as_me: failed program was:" >&5
29879 sed 's/^/| /' conftest.
$ac_ext >&5
29881 ac_cv_func_shmat
=no
29884 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
29885 conftest
$ac_exeext conftest.
$ac_ext
29887 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
29888 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
29890 if test $ac_cv_func_shmat = no
; then
29891 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
29892 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
29893 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
29894 echo $ECHO_N "(cached) $ECHO_C" >&6
29896 ac_check_lib_save_LIBS
=$LIBS
29898 cat >conftest.
$ac_ext <<_ACEOF
29901 cat confdefs.h
>>conftest.
$ac_ext
29902 cat >>conftest.
$ac_ext <<_ACEOF
29903 /* end confdefs.h. */
29905 /* Override any GCC internal prototype to avoid an error.
29906 Use char because int might match the return type of a GCC
29907 builtin and then its argument prototype would still apply. */
29920 rm -f conftest.
$ac_objext conftest
$ac_exeext
29921 if { (ac_try
="$ac_link"
29922 case "(($ac_try" in
29923 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29924 *) ac_try_echo=$ac_try;;
29926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29927 (eval "$ac_link") 2>conftest.er1
29929 grep -v '^ *+' conftest.er1 >conftest.err
29931 cat conftest.err >&5
29932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29933 (exit $ac_status); } && {
29934 test -z "$ac_c_werror_flag" ||
29935 test ! -s conftest.err
29936 } && test -s conftest$ac_exeext &&
29937 $as_test_x conftest$ac_exeext; then
29938 ac_cv_lib_ipc_shmat=yes
29940 echo "$as_me: failed program was:" >&5
29941 sed 's/^/| /' conftest.$ac_ext >&5
29943 ac_cv_lib_ipc_shmat=no
29946 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29947 conftest$ac_exeext conftest.$ac_ext
29948 LIBS=$ac_check_lib_save_LIBS
29950 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
29951 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
29952 if test $ac_cv_lib_ipc_shmat = yes; then
29953 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
29959 # Check for libraries that X11R6 Xt/Xaw programs need.
29960 ac_save_LDFLAGS=$LDFLAGS
29961 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
29962 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
29963 # check for ICE first), but we must link in the order -lSM -lICE or
29964 # we get undefined symbols. So assume we have SM if we have ICE.
29965 # These have to be linked with before -lX11, unlike the other
29966 # libraries we check for below, so use a different variable.
29967 # John Interrante, Karl Berry
29968 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
29969 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
29970 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
29971 echo $ECHO_N "(cached) $ECHO_C" >&6
29973 ac_check_lib_save_LIBS=$LIBS
29974 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
29975 cat >conftest.$ac_ext <<_ACEOF
29978 cat confdefs.h >>conftest.$ac_ext
29979 cat >>conftest.$ac_ext <<_ACEOF
29980 /* end confdefs.h. */
29982 /* Override any GCC internal prototype to avoid an error.
29983 Use char because int might match the return type of a GCC
29984 builtin and then its argument prototype would still apply. */
29988 char IceConnectionNumber ();
29992 return IceConnectionNumber ();
29997 rm -f conftest.$ac_objext conftest$ac_exeext
29998 if { (ac_try="$ac_link"
29999 case "(($ac_try" in
30000 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30001 *) ac_try_echo
=$ac_try;;
30003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30004 (eval "$ac_link") 2>conftest.er1
30006 grep -v '^ *+' conftest.er1
>conftest.err
30008 cat conftest.err
>&5
30009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30010 (exit $ac_status); } && {
30011 test -z "$ac_c_werror_flag" ||
30012 test ! -s conftest.err
30013 } && test -s conftest
$ac_exeext &&
30014 $as_test_x conftest
$ac_exeext; then
30015 ac_cv_lib_ICE_IceConnectionNumber
=yes
30017 echo "$as_me: failed program was:" >&5
30018 sed 's/^/| /' conftest.
$ac_ext >&5
30020 ac_cv_lib_ICE_IceConnectionNumber
=no
30023 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30024 conftest
$ac_exeext conftest.
$ac_ext
30025 LIBS
=$ac_check_lib_save_LIBS
30027 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30028 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
30029 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
30030 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
30033 LDFLAGS
=$ac_save_LDFLAGS
30038 if test "$no_x" = "yes"; then
30039 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30040 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30041 { (exit 1); exit 1; }; }
30044 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30045 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
30046 AFMINSTALL
=afminstall
30047 COMPILED_X_PROGRAM
=0
30051 if test "$wxUSE_X11" = 1; then
30052 if test "$wxUSE_NANOX" = "yes"; then
30053 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30054 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
30055 if test "x$MICROWIN" = x
; then
30056 { echo "$as_me:$LINENO: result: not found" >&5
30057 echo "${ECHO_T}not found" >&6; }
30058 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30059 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30060 { (exit 1); exit 1; }; }
30062 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
30063 echo "${ECHO_T}$MICROWIN" >&6; }
30064 cat >>confdefs.h
<<\_ACEOF
30065 #define wxUSE_NANOX 1
30071 if test "$wxUSE_UNICODE" = "yes"; then
30074 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30075 if test -n "$ac_tool_prefix"; then
30076 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30077 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
30078 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30079 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30080 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30081 echo $ECHO_N "(cached) $ECHO_C" >&6
30083 case $PKG_CONFIG in
30085 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
30088 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30089 for as_dir
in $PATH
30092 test -z "$as_dir" && as_dir
=.
30093 for ac_exec_ext
in '' $ac_executable_extensions; do
30094 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30095 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
30096 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30106 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
30107 if test -n "$PKG_CONFIG"; then
30108 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30109 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30111 { echo "$as_me:$LINENO: result: no" >&5
30112 echo "${ECHO_T}no" >&6; }
30117 if test -z "$ac_cv_path_PKG_CONFIG"; then
30118 ac_pt_PKG_CONFIG
=$PKG_CONFIG
30119 # Extract the first word of "pkg-config", so it can be a program name with args.
30120 set dummy pkg
-config; ac_word
=$2
30121 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30122 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30123 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30124 echo $ECHO_N "(cached) $ECHO_C" >&6
30126 case $ac_pt_PKG_CONFIG in
30128 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30131 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30132 for as_dir
in $PATH
30135 test -z "$as_dir" && as_dir
=.
30136 for ac_exec_ext
in '' $ac_executable_extensions; do
30137 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30138 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
30139 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30149 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
30150 if test -n "$ac_pt_PKG_CONFIG"; then
30151 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30152 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
30154 { echo "$as_me:$LINENO: result: no" >&5
30155 echo "${ECHO_T}no" >&6; }
30158 if test "x$ac_pt_PKG_CONFIG" = x
; then
30161 case $cross_compiling:$ac_tool_warned in
30163 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30164 whose name does not start with the host triplet. If you think this
30165 configuration is useful to you, please write to autoconf@gnu.org." >&5
30166 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30167 whose name does not start with the host triplet. If you think this
30168 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30169 ac_tool_warned
=yes ;;
30171 PKG_CONFIG
=$ac_pt_PKG_CONFIG
30174 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
30178 if test -n "$PKG_CONFIG"; then
30179 _pkg_min_version
=0.9.0
30180 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30181 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
30182 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30183 { echo "$as_me:$LINENO: result: yes" >&5
30184 echo "${ECHO_T}yes" >&6; }
30186 { echo "$as_me:$LINENO: result: no" >&5
30187 echo "${ECHO_T}no" >&6; }
30195 { echo "$as_me:$LINENO: checking for PANGOX" >&5
30196 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
30198 if test -n "$PKG_CONFIG"; then
30199 if test -n "$PANGOX_CFLAGS"; then
30200 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
30202 if test -n "$PKG_CONFIG" && \
30203 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30204 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30207 (exit $ac_status); }; then
30208 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
30216 if test -n "$PKG_CONFIG"; then
30217 if test -n "$PANGOX_LIBS"; then
30218 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
30220 if test -n "$PKG_CONFIG" && \
30221 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30222 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30225 (exit $ac_status); }; then
30226 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
30237 if test $pkg_failed = yes; then
30239 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30240 _pkg_short_errors_supported
=yes
30242 _pkg_short_errors_supported
=no
30244 if test $_pkg_short_errors_supported = yes; then
30245 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
30247 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
30249 # Put the nasty error message in config.log where it belongs
30250 echo "$PANGOX_PKG_ERRORS" >&5
30253 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30254 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30255 { (exit 1); exit 1; }; }
30258 elif test $pkg_failed = untried
; then
30260 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30261 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30262 { (exit 1); exit 1; }; }
30266 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
30267 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
30268 { echo "$as_me:$LINENO: result: yes" >&5
30269 echo "${ECHO_T}yes" >&6; }
30271 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
30272 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
30273 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
30278 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
30279 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
30281 if test -n "$PKG_CONFIG"; then
30282 if test -n "$PANGOFT2_CFLAGS"; then
30283 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
30285 if test -n "$PKG_CONFIG" && \
30286 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30287 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30290 (exit $ac_status); }; then
30291 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
30299 if test -n "$PKG_CONFIG"; then
30300 if test -n "$PANGOFT2_LIBS"; then
30301 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
30303 if test -n "$PKG_CONFIG" && \
30304 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30305 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30308 (exit $ac_status); }; then
30309 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
30320 if test $pkg_failed = yes; then
30322 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30323 _pkg_short_errors_supported
=yes
30325 _pkg_short_errors_supported
=no
30327 if test $_pkg_short_errors_supported = yes; then
30328 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
30330 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
30332 # Put the nasty error message in config.log where it belongs
30333 echo "$PANGOFT2_PKG_ERRORS" >&5
30336 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30337 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30338 wxUSE_PRINTING_ARCHITECTURE
="no"
30341 elif test $pkg_failed = untried
; then
30343 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30344 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30345 wxUSE_PRINTING_ARCHITECTURE
="no"
30349 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
30350 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
30351 { echo "$as_me:$LINENO: result: yes" >&5
30352 echo "${ECHO_T}yes" >&6; }
30354 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
30355 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
30356 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
30361 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
30362 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
30364 if test -n "$PKG_CONFIG"; then
30365 if test -n "$PANGOXFT_CFLAGS"; then
30366 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
30368 if test -n "$PKG_CONFIG" && \
30369 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30370 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30373 (exit $ac_status); }; then
30374 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
30382 if test -n "$PKG_CONFIG"; then
30383 if test -n "$PANGOXFT_LIBS"; then
30384 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
30386 if test -n "$PKG_CONFIG" && \
30387 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30388 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30391 (exit $ac_status); }; then
30392 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
30403 if test $pkg_failed = yes; then
30405 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30406 _pkg_short_errors_supported
=yes
30408 _pkg_short_errors_supported
=no
30410 if test $_pkg_short_errors_supported = yes; then
30411 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
30413 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
30415 # Put the nasty error message in config.log where it belongs
30416 echo "$PANGOXFT_PKG_ERRORS" >&5
30419 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30420 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30423 elif test $pkg_failed = untried
; then
30425 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30426 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30430 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
30431 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
30432 { echo "$as_me:$LINENO: result: yes" >&5
30433 echo "${ECHO_T}yes" >&6; }
30435 cat >>confdefs.h
<<\_ACEOF
30436 #define HAVE_PANGO_XFT 1
30439 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
30440 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
30441 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
30445 LIBS
="$LIBS $PANGOX_LIBS"
30447 for ac_func
in pango_font_family_is_monospace
30449 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30450 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30451 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30452 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30453 echo $ECHO_N "(cached) $ECHO_C" >&6
30455 cat >conftest.
$ac_ext <<_ACEOF
30458 cat confdefs.h
>>conftest.
$ac_ext
30459 cat >>conftest.
$ac_ext <<_ACEOF
30460 /* end confdefs.h. */
30461 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30462 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30463 #define $ac_func innocuous_$ac_func
30465 /* System header to define __stub macros and hopefully few prototypes,
30466 which can conflict with char $ac_func (); below.
30467 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30468 <limits.h> exists even on freestanding compilers. */
30471 # include <limits.h>
30473 # include <assert.h>
30478 /* Override any GCC internal prototype to avoid an error.
30479 Use char because int might match the return type of a GCC
30480 builtin and then its argument prototype would still apply. */
30485 /* The GNU C library defines this for functions which it implements
30486 to always fail with ENOSYS. Some functions are actually named
30487 something starting with __ and the normal name is an alias. */
30488 #if defined __stub_$ac_func || defined __stub___$ac_func
30495 return $ac_func ();
30500 rm -f conftest.
$ac_objext conftest
$ac_exeext
30501 if { (ac_try
="$ac_link"
30502 case "(($ac_try" in
30503 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30504 *) ac_try_echo=$ac_try;;
30506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30507 (eval "$ac_link") 2>conftest.er1
30509 grep -v '^ *+' conftest.er1 >conftest.err
30511 cat conftest.err >&5
30512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30513 (exit $ac_status); } && {
30514 test -z "$ac_c_werror_flag" ||
30515 test ! -s conftest.err
30516 } && test -s conftest$ac_exeext &&
30517 $as_test_x conftest$ac_exeext; then
30518 eval "$as_ac_var=yes"
30520 echo "$as_me: failed program was:" >&5
30521 sed 's/^/| /' conftest.$ac_ext >&5
30523 eval "$as_ac_var=no"
30526 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30527 conftest$ac_exeext conftest.$ac_ext
30529 ac_res=`eval echo '${'$as_ac_var'}'`
30530 { echo "$as_me:$LINENO: result: $ac_res" >&5
30531 echo "${ECHO_T}$ac_res" >&6; }
30532 if test `eval echo '${'$as_ac_var'}'` = yes; then
30533 cat >>confdefs.h <<_ACEOF
30534 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30543 wxUSE_UNIVERSAL="yes"
30545 if test "$wxUSE_NANOX" = "yes"; then
30546 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
30547 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"
30548 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
30550 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
30557 if test "$wxUSE_MOTIF" = 1; then
30558 if test "$wxUSE_UNICODE" = "yes"; then
30559 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
30560 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
30561 { (exit 1); exit 1; }; }
30564 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
30565 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
30568 for ac_dir in $SEARCH_INCLUDE /usr/include;
30570 if test -f "$ac_dir/Xm/Xm.h"; then
30571 ac_find_includes=$ac_dir
30576 if test "$ac_find_includes" != "" ; then
30577 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
30578 echo "${ECHO_T}found in $ac_find_includes" >&6; }
30580 if test "x$ac_find_includes" = "x/usr/include"; then
30581 ac_path_to_include=""
30583 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
30585 if test $result = 0; then
30586 ac_path_to_include=""
30588 ac_path_to_include=" -I$ac_find_includes"
30592 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
30594 save_CFLAGS=$CFLAGS
30595 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30597 cat >conftest.$ac_ext <<_ACEOF
30600 cat confdefs.h >>conftest.$ac_ext
30601 cat >>conftest.$ac_ext <<_ACEOF
30602 /* end confdefs.h. */
30611 version = xmUseVersion;
30617 rm -f conftest.$ac_objext
30618 if { (ac_try="$ac_compile"
30619 case "(($ac_try" in
30620 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30621 *) ac_try_echo
=$ac_try;;
30623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30624 (eval "$ac_compile") 2>conftest.er1
30626 grep -v '^ *+' conftest.er1
>conftest.err
30628 cat conftest.err
>&5
30629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30630 (exit $ac_status); } && {
30631 test -z "$ac_c_werror_flag" ||
30632 test ! -s conftest.err
30633 } && test -s conftest.
$ac_objext; then
30635 { echo "$as_me:$LINENO: result: found in default search path" >&5
30636 echo "${ECHO_T}found in default search path" >&6; }
30637 COMPILED_X_PROGRAM
=1
30640 echo "$as_me: failed program was:" >&5
30641 sed 's/^/| /' conftest.
$ac_ext >&5
30644 { echo "$as_me:$LINENO: result: no" >&5
30645 echo "${ECHO_T}no" >&6; }
30646 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
30647 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
30648 { (exit 1); exit 1; }; }
30653 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30655 CFLAGS
=$save_CFLAGS
30659 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
30660 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
30663 for ac_dir
in $SEARCH_LIB;
30665 for ac_extension
in a so sl dylib dll.a
; do
30666 if test -f "$ac_dir/libXm.$ac_extension"; then
30667 ac_find_libraries
=$ac_dir
30674 if test "x$ac_find_libraries" != "x" ; then
30675 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30676 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
30679 if test "$ac_find_libraries" = "default location"; then
30682 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
30684 if test $result = 0; then
30687 ac_path_to_link
=" -L$ac_find_libraries"
30691 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
30693 save_CFLAGS
=$CFLAGS
30694 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
30696 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
30698 cat >conftest.
$ac_ext <<_ACEOF
30701 cat confdefs.h
>>conftest.
$ac_ext
30702 cat >>conftest.
$ac_ext <<_ACEOF
30703 /* end confdefs.h. */
30712 version = xmUseVersion;
30718 rm -f conftest.
$ac_objext conftest
$ac_exeext
30719 if { (ac_try
="$ac_link"
30720 case "(($ac_try" in
30721 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30722 *) ac_try_echo=$ac_try;;
30724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30725 (eval "$ac_link") 2>conftest.er1
30727 grep -v '^ *+' conftest.er1 >conftest.err
30729 cat conftest.err >&5
30730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30731 (exit $ac_status); } && {
30732 test -z "$ac_c_werror_flag" ||
30733 test ! -s conftest.err
30734 } && test -s conftest$ac_exeext &&
30735 $as_test_x conftest$ac_exeext; then
30737 { echo "$as_me:$LINENO: result: found in default search path" >&5
30738 echo "${ECHO_T}found in default search path" >&6; }
30739 COMPILED_X_PROGRAM=1
30742 echo "$as_me: failed program was:" >&5
30743 sed 's/^/| /' conftest.$ac_ext >&5
30746 { echo "$as_me:$LINENO: result: no" >&5
30747 echo "${ECHO_T}no" >&6; }
30748 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
30749 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
30750 { (exit 1); exit 1; }; }
30755 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30756 conftest$ac_exeext conftest.$ac_ext
30758 CFLAGS=$save_CFLAGS
30762 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
30763 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
30767 for libp in "" " -lXp"; do
30768 if test "$libs_found" = "0"; then
30769 for libsm_ice in "" " -lSM -lICE"; do
30770 if test "$libs_found" = "0"; then
30772 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
30773 save_CFLAGS=$CFLAGS
30774 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30776 cat >conftest.$ac_ext <<_ACEOF
30779 cat confdefs.h >>conftest.$ac_ext
30780 cat >>conftest.$ac_ext <<_ACEOF
30781 /* end confdefs.h. */
30784 #include <Xm/List.h>
30790 XmString string = NULL;
30793 XmListAddItem(w, string, position);
30799 rm -f conftest.$ac_objext conftest$ac_exeext
30800 if { (ac_try="$ac_link"
30801 case "(($ac_try" in
30802 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30803 *) ac_try_echo
=$ac_try;;
30805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30806 (eval "$ac_link") 2>conftest.er1
30808 grep -v '^ *+' conftest.er1
>conftest.err
30810 cat conftest.err
>&5
30811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30812 (exit $ac_status); } && {
30813 test -z "$ac_c_werror_flag" ||
30814 test ! -s conftest.err
30815 } && test -s conftest
$ac_exeext &&
30816 $as_test_x conftest
$ac_exeext; then
30819 libsm_ice_link
="$libsm_ice"
30820 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
30821 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
30825 echo "$as_me: failed program was:" >&5
30826 sed 's/^/| /' conftest.
$ac_ext >&5
30832 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30833 conftest
$ac_exeext conftest.
$ac_ext
30836 CFLAGS
=$save_CFLAGS
30842 if test "$libs_found" = "0"; then
30843 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
30844 echo "${ECHO_T}can't find the right libraries" >&6; }
30845 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
30846 echo "$as_me: error: can't link a simple motif program" >&2;}
30847 { (exit 1); exit 1; }; }
30850 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
30851 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
30852 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
30853 echo $ECHO_N "(cached) $ECHO_C" >&6
30855 ac_check_lib_save_LIBS
=$LIBS
30857 cat >conftest.
$ac_ext <<_ACEOF
30860 cat confdefs.h
>>conftest.
$ac_ext
30861 cat >>conftest.
$ac_ext <<_ACEOF
30862 /* end confdefs.h. */
30864 /* Override any GCC internal prototype to avoid an error.
30865 Use char because int might match the return type of a GCC
30866 builtin and then its argument prototype would still apply. */
30870 char SgCreateList ();
30874 return SgCreateList ();
30879 rm -f conftest.
$ac_objext conftest
$ac_exeext
30880 if { (ac_try
="$ac_link"
30881 case "(($ac_try" in
30882 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30883 *) ac_try_echo=$ac_try;;
30885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30886 (eval "$ac_link") 2>conftest.er1
30888 grep -v '^ *+' conftest.er1 >conftest.err
30890 cat conftest.err >&5
30891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30892 (exit $ac_status); } && {
30893 test -z "$ac_c_werror_flag" ||
30894 test ! -s conftest.err
30895 } && test -s conftest$ac_exeext &&
30896 $as_test_x conftest$ac_exeext; then
30897 ac_cv_lib_Sgm_SgCreateList=yes
30899 echo "$as_me: failed program was:" >&5
30900 sed 's/^/| /' conftest.$ac_ext >&5
30902 ac_cv_lib_Sgm_SgCreateList=no
30905 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30906 conftest$ac_exeext conftest.$ac_ext
30907 LIBS=$ac_check_lib_save_LIBS
30909 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
30910 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
30911 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
30912 libsgm_link=" -lSgm"
30916 save_CFLAGS=$CFLAGS
30917 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30919 { echo "$as_me:$LINENO: checking for Motif 2" >&5
30920 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
30921 if test "${wx_cv_lib_motif2+set}" = set; then
30922 echo $ECHO_N "(cached) $ECHO_C" >&6
30924 cat >conftest.$ac_ext <<_ACEOF
30927 cat confdefs.h >>conftest.$ac_ext
30928 cat >>conftest.$ac_ext <<_ACEOF
30929 /* end confdefs.h. */
30937 #if XmVersion < 2000
30945 rm -f conftest.$ac_objext
30946 if { (ac_try="$ac_compile"
30947 case "(($ac_try" in
30948 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30949 *) ac_try_echo
=$ac_try;;
30951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30952 (eval "$ac_compile") 2>conftest.er1
30954 grep -v '^ *+' conftest.er1
>conftest.err
30956 cat conftest.err
>&5
30957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30958 (exit $ac_status); } && {
30959 test -z "$ac_c_werror_flag" ||
30960 test ! -s conftest.err
30961 } && test -s conftest.
$ac_objext; then
30962 wx_cv_lib_motif2
="yes"
30964 echo "$as_me: failed program was:" >&5
30965 sed 's/^/| /' conftest.
$ac_ext >&5
30967 wx_cv_lib_motif2
="no"
30970 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30972 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
30973 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
30974 if test "$wx_cv_lib_motif2" = "yes"; then
30975 cat >>confdefs.h
<<\_ACEOF
30976 #define __WXMOTIF20__ 1
30980 cat >>confdefs.h
<<\_ACEOF
30981 #define __WXMOTIF20__ 0
30986 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
30987 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
30988 if test "${wx_cv_lib_lesstif+set}" = set; then
30989 echo $ECHO_N "(cached) $ECHO_C" >&6
30991 cat >conftest.
$ac_ext <<_ACEOF
30994 cat confdefs.h
>>conftest.
$ac_ext
30995 cat >>conftest.
$ac_ext <<_ACEOF
30996 /* end confdefs.h. */
31004 #if !defined(LesstifVersion) || LesstifVersion <= 0
31012 rm -f conftest.
$ac_objext
31013 if { (ac_try
="$ac_compile"
31014 case "(($ac_try" in
31015 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31016 *) ac_try_echo=$ac_try;;
31018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31019 (eval "$ac_compile") 2>conftest.er1
31021 grep -v '^ *+' conftest.er1 >conftest.err
31023 cat conftest.err >&5
31024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31025 (exit $ac_status); } && {
31026 test -z "$ac_c_werror_flag" ||
31027 test ! -s conftest.err
31028 } && test -s conftest.$ac_objext; then
31029 wx_cv_lib_lesstif="yes"
31031 echo "$as_me: failed program was:" >&5
31032 sed 's/^/| /' conftest.$ac_ext >&5
31034 wx_cv_lib_lesstif="no"
31037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31040 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31041 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
31042 if test "$wx_cv_lib_lesstif" = "yes"; then
31043 cat >>confdefs.h <<\_ACEOF
31044 #define __WXLESSTIF__ 1
31048 cat >>confdefs.h <<\_ACEOF
31049 #define __WXLESSTIF__ 0
31054 CFLAGS=$save_CFLAGS
31056 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31061 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31062 if test "$wxUSE_LIBXPM" = "sys"; then
31063 { echo "$as_me:$LINENO: checking for Xpm library" >&5
31064 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
31067 for ac_dir in $SEARCH_LIB;
31069 for ac_extension in a so sl dylib dll.a; do
31070 if test -f "$ac_dir/libXpm.$ac_extension"; then
31071 ac_find_libraries=$ac_dir
31077 if test "$ac_find_libraries" != "" ; then
31079 if test "$ac_find_libraries" = "default location"; then
31082 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31084 if test $result = 0; then
31087 ac_path_to_link=" -L$ac_find_libraries"
31091 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31092 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31093 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31095 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31096 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
31097 if test "${wx_cv_x11_xpm_h+set}" = set; then
31098 echo $ECHO_N "(cached) $ECHO_C" >&6
31101 save_CFLAGS=$CFLAGS
31102 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31104 cat >conftest.$ac_ext <<_ACEOF
31107 cat confdefs.h >>conftest.$ac_ext
31108 cat >>conftest.$ac_ext <<_ACEOF
31109 /* end confdefs.h. */
31111 #include <X11/xpm.h>
31118 version = XpmLibraryVersion();
31124 rm -f conftest.$ac_objext
31125 if { (ac_try="$ac_compile"
31126 case "(($ac_try" in
31127 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31128 *) ac_try_echo
=$ac_try;;
31130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31131 (eval "$ac_compile") 2>conftest.er1
31133 grep -v '^ *+' conftest.er1
>conftest.err
31135 cat conftest.err
>&5
31136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31137 (exit $ac_status); } && {
31138 test -z "$ac_c_werror_flag" ||
31139 test ! -s conftest.err
31140 } && test -s conftest.
$ac_objext; then
31141 wx_cv_x11_xpm_h
=yes
31143 echo "$as_me: failed program was:" >&5
31144 sed 's/^/| /' conftest.
$ac_ext >&5
31150 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31152 CFLAGS
=$save_CFLAGS
31156 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
31157 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
31159 if test $wx_cv_x11_xpm_h = "yes"; then
31160 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
31161 cat >>confdefs.h
<<\_ACEOF
31162 #define wxHAVE_LIB_XPM 1
31166 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
31167 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
31173 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
31174 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
31175 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
31176 echo $ECHO_N "(cached) $ECHO_C" >&6
31178 ac_check_lib_save_LIBS
=$LIBS
31179 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
31180 cat >conftest.
$ac_ext <<_ACEOF
31183 cat confdefs.h
>>conftest.
$ac_ext
31184 cat >>conftest.
$ac_ext <<_ACEOF
31185 /* end confdefs.h. */
31187 /* Override any GCC internal prototype to avoid an error.
31188 Use char because int might match the return type of a GCC
31189 builtin and then its argument prototype would still apply. */
31193 char XShapeQueryExtension ();
31197 return XShapeQueryExtension ();
31202 rm -f conftest.
$ac_objext conftest
$ac_exeext
31203 if { (ac_try
="$ac_link"
31204 case "(($ac_try" in
31205 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31206 *) ac_try_echo=$ac_try;;
31208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31209 (eval "$ac_link") 2>conftest.er1
31211 grep -v '^ *+' conftest.er1 >conftest.err
31213 cat conftest.err >&5
31214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31215 (exit $ac_status); } && {
31216 test -z "$ac_c_werror_flag" ||
31217 test ! -s conftest.err
31218 } && test -s conftest$ac_exeext &&
31219 $as_test_x conftest$ac_exeext; then
31220 ac_cv_lib_Xext_XShapeQueryExtension=yes
31222 echo "$as_me: failed program was:" >&5
31223 sed 's/^/| /' conftest.$ac_ext >&5
31225 ac_cv_lib_Xext_XShapeQueryExtension=no
31228 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31229 conftest$ac_exeext conftest.$ac_ext
31230 LIBS=$ac_check_lib_save_LIBS
31232 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
31233 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
31234 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
31236 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
31242 if test "$wxHAVE_XEXT_LIB" = 1; then
31243 save_CFLAGS="$CFLAGS"
31244 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31246 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
31247 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
31248 cat >conftest.$ac_ext <<_ACEOF
31251 cat confdefs.h >>conftest.$ac_ext
31252 cat >>conftest.$ac_ext <<_ACEOF
31253 /* end confdefs.h. */
31255 #include <X11/Xlib.h>
31256 #include <X11/extensions/shape.h>
31262 int dummy1, dummy2;
31263 XShapeQueryExtension((Display*)NULL,
31264 (int*)NULL, (int*)NULL);
31270 rm -f conftest.$ac_objext
31271 if { (ac_try="$ac_compile"
31272 case "(($ac_try" in
31273 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31274 *) ac_try_echo
=$ac_try;;
31276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31277 (eval "$ac_compile") 2>conftest.er1
31279 grep -v '^ *+' conftest.er1
>conftest.err
31281 cat conftest.err
>&5
31282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31283 (exit $ac_status); } && {
31284 test -z "$ac_c_werror_flag" ||
31285 test ! -s conftest.err
31286 } && test -s conftest.
$ac_objext; then
31288 cat >>confdefs.h
<<\_ACEOF
31289 #define HAVE_XSHAPE 1
31292 { echo "$as_me:$LINENO: result: found" >&5
31293 echo "${ECHO_T}found" >&6; }
31296 echo "$as_me: failed program was:" >&5
31297 sed 's/^/| /' conftest.
$ac_ext >&5
31300 { echo "$as_me:$LINENO: result: not found" >&5
31301 echo "${ECHO_T}not found" >&6; }
31305 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31306 CFLAGS
="$save_CFLAGS"
31311 if test "$wxUSE_MAC" = 1; then
31312 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
31313 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
31314 if test "$GCC" = yes; then
31315 { echo "$as_me:$LINENO: result: gcc" >&5
31316 echo "${ECHO_T}gcc" >&6; }
31317 CPPFLAGS_PASCAL
="-fpascal-strings"
31318 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
31319 { echo "$as_me:$LINENO: result: xlc" >&5
31320 echo "${ECHO_T}xlc" >&6; }
31321 CPPFLAGS_PASCAL
="-qmacpstr"
31323 { echo "$as_me:$LINENO: result: none" >&5
31324 echo "${ECHO_T}none" >&6; }
31327 if test "x$wxUSE_UNIX" = "xyes"; then
31328 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
31330 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
31335 WXBASEPORT
="_carbon"
31338 if test "$wxUSE_COCOA" = 1; then
31343 if test "$wxUSE_PM" = 1; then
31346 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
31347 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
31348 if test "${wx_cv_spbcdata+set}" = set; then
31349 echo $ECHO_N "(cached) $ECHO_C" >&6
31352 cat >conftest.
$ac_ext <<_ACEOF
31355 cat confdefs.h
>>conftest.
$ac_ext
31356 cat >>conftest.
$ac_ext <<_ACEOF
31357 /* end confdefs.h. */
31372 rm -f conftest.
$ac_objext
31373 if { (ac_try
="$ac_compile"
31374 case "(($ac_try" in
31375 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31376 *) ac_try_echo=$ac_try;;
31378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31379 (eval "$ac_compile") 2>conftest.er1
31381 grep -v '^ *+' conftest.er1 >conftest.err
31383 cat conftest.err >&5
31384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31385 (exit $ac_status); } && {
31386 test -z "$ac_c_werror_flag" ||
31387 test ! -s conftest.err
31388 } && test -s conftest.$ac_objext; then
31391 echo "$as_me: failed program was:" >&5
31392 sed 's/^/| /' conftest.$ac_ext >&5
31398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31402 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
31403 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
31405 if test $wx_cv_spbcdata = "yes"; then
31406 cat >>confdefs.h <<\_ACEOF
31407 #define HAVE_SPBCDATA 1
31413 if test "$TOOLKIT" = "PM" ; then
31416 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
31419 if test "$wxUSE_UNIVERSAL" = "yes"; then
31420 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
31424 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
31425 DISTDIR="wx\$(TOOLKIT)"
31431 if test "$USE_WIN32" = 1 ; then
31435 GUIDIST="BASE_DIST"
31440 if test "$wxUSE_GUI" = "yes"; then
31441 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
31442 { echo "$as_me:$LINENO: checking for X11/Xlib.h" >&5
31443 echo $ECHO_N "checking for X11/Xlib.h... $ECHO_C" >&6; }
31444 if test "${ac_cv_header_X11_Xlib_h+set}" = set; then
31445 echo $ECHO_N "(cached) $ECHO_C" >&6
31447 cat >conftest.$ac_ext <<_ACEOF
31450 cat confdefs.h >>conftest.$ac_ext
31451 cat >>conftest.$ac_ext <<_ACEOF
31452 /* end confdefs.h. */
31455 #include <X11/Xlib.h>
31457 rm -f conftest.$ac_objext
31458 if { (ac_try="$ac_compile"
31459 case "(($ac_try" in
31460 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31461 *) ac_try_echo
=$ac_try;;
31463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31464 (eval "$ac_compile") 2>conftest.er1
31466 grep -v '^ *+' conftest.er1
>conftest.err
31468 cat conftest.err
>&5
31469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31470 (exit $ac_status); } && {
31471 test -z "$ac_c_werror_flag" ||
31472 test ! -s conftest.err
31473 } && test -s conftest.
$ac_objext; then
31474 ac_cv_header_X11_Xlib_h
=yes
31476 echo "$as_me: failed program was:" >&5
31477 sed 's/^/| /' conftest.
$ac_ext >&5
31479 ac_cv_header_X11_Xlib_h
=no
31482 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31484 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xlib_h" >&5
31485 echo "${ECHO_T}$ac_cv_header_X11_Xlib_h" >&6; }
31488 { echo "$as_me:$LINENO: checking for X11/XKBlib.h" >&5
31489 echo $ECHO_N "checking for X11/XKBlib.h... $ECHO_C" >&6; }
31490 if test "${ac_cv_header_X11_XKBlib_h+set}" = set; then
31491 echo $ECHO_N "(cached) $ECHO_C" >&6
31493 cat >conftest.
$ac_ext <<_ACEOF
31496 cat confdefs.h
>>conftest.
$ac_ext
31497 cat >>conftest.
$ac_ext <<_ACEOF
31498 /* end confdefs.h. */
31500 #if HAVE_X11_XLIB_H
31501 #include <X11/Xlib.h>
31505 #include <X11/XKBlib.h>
31507 rm -f conftest.
$ac_objext
31508 if { (ac_try
="$ac_compile"
31509 case "(($ac_try" in
31510 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31511 *) ac_try_echo=$ac_try;;
31513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31514 (eval "$ac_compile") 2>conftest.er1
31516 grep -v '^ *+' conftest.er1 >conftest.err
31518 cat conftest.err >&5
31519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31520 (exit $ac_status); } && {
31521 test -z "$ac_c_werror_flag" ||
31522 test ! -s conftest.err
31523 } && test -s conftest.$ac_objext; then
31524 ac_cv_header_X11_XKBlib_h=yes
31526 echo "$as_me: failed program was:" >&5
31527 sed 's/^/| /' conftest.$ac_ext >&5
31529 ac_cv_header_X11_XKBlib_h=no
31532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31534 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_XKBlib_h" >&5
31535 echo "${ECHO_T}$ac_cv_header_X11_XKBlib_h" >&6; }
31546 if test "$TOOLKIT" != "MSW" ; then
31548 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
31550 { echo "$as_me:$LINENO: checking for sql.h" >&5
31551 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
31552 if test "${ac_cv_header_sql_h+set}" = set; then
31553 echo $ECHO_N "(cached) $ECHO_C" >&6
31555 cat >conftest.$ac_ext <<_ACEOF
31558 cat confdefs.h >>conftest.$ac_ext
31559 cat >>conftest.$ac_ext <<_ACEOF
31560 /* end confdefs.h. */
31565 rm -f conftest.$ac_objext
31566 if { (ac_try="$ac_compile"
31567 case "(($ac_try" in
31568 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31569 *) ac_try_echo
=$ac_try;;
31571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31572 (eval "$ac_compile") 2>conftest.er1
31574 grep -v '^ *+' conftest.er1
>conftest.err
31576 cat conftest.err
>&5
31577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31578 (exit $ac_status); } && {
31579 test -z "$ac_c_werror_flag" ||
31580 test ! -s conftest.err
31581 } && test -s conftest.
$ac_objext; then
31582 ac_cv_header_sql_h
=yes
31584 echo "$as_me: failed program was:" >&5
31585 sed 's/^/| /' conftest.
$ac_ext >&5
31587 ac_cv_header_sql_h
=no
31590 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31592 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
31593 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
31594 if test $ac_cv_header_sql_h = yes; then
31599 if test "x$found_sql_h" = "x1" ; then
31600 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
31601 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6; }
31602 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
31603 echo $ECHO_N "(cached) $ECHO_C" >&6
31605 ac_check_lib_save_LIBS
=$LIBS
31606 LIBS
="-liodbc $LIBS"
31607 cat >conftest.
$ac_ext <<_ACEOF
31610 cat confdefs.h
>>conftest.
$ac_ext
31611 cat >>conftest.
$ac_ext <<_ACEOF
31612 /* end confdefs.h. */
31614 /* Override any GCC internal prototype to avoid an error.
31615 Use char because int might match the return type of a GCC
31616 builtin and then its argument prototype would still apply. */
31620 char SQLAllocEnv ();
31624 return SQLAllocEnv ();
31629 rm -f conftest.
$ac_objext conftest
$ac_exeext
31630 if { (ac_try
="$ac_link"
31631 case "(($ac_try" in
31632 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31633 *) ac_try_echo=$ac_try;;
31635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31636 (eval "$ac_link") 2>conftest.er1
31638 grep -v '^ *+' conftest.er1 >conftest.err
31640 cat conftest.err >&5
31641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31642 (exit $ac_status); } && {
31643 test -z "$ac_c_werror_flag" ||
31644 test ! -s conftest.err
31645 } && test -s conftest$ac_exeext &&
31646 $as_test_x conftest$ac_exeext; then
31647 ac_cv_lib_iodbc_SQLAllocEnv=yes
31649 echo "$as_me: failed program was:" >&5
31650 sed 's/^/| /' conftest.$ac_ext >&5
31652 ac_cv_lib_iodbc_SQLAllocEnv=no
31655 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31656 conftest$ac_exeext conftest.$ac_ext
31657 LIBS=$ac_check_lib_save_LIBS
31659 { echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
31660 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6; }
31661 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
31662 ODBC_LINK=" -liodbc"
31665 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
31666 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6; }
31667 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
31668 echo $ECHO_N "(cached) $ECHO_C" >&6
31670 ac_check_lib_save_LIBS=$LIBS
31671 LIBS="-lunixodbc $LIBS"
31672 cat >conftest.$ac_ext <<_ACEOF
31675 cat confdefs.h >>conftest.$ac_ext
31676 cat >>conftest.$ac_ext <<_ACEOF
31677 /* end confdefs.h. */
31679 /* Override any GCC internal prototype to avoid an error.
31680 Use char because int might match the return type of a GCC
31681 builtin and then its argument prototype would still apply. */
31685 char SQLAllocEnv ();
31689 return SQLAllocEnv ();
31694 rm -f conftest.$ac_objext conftest$ac_exeext
31695 if { (ac_try="$ac_link"
31696 case "(($ac_try" in
31697 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31698 *) ac_try_echo
=$ac_try;;
31700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31701 (eval "$ac_link") 2>conftest.er1
31703 grep -v '^ *+' conftest.er1
>conftest.err
31705 cat conftest.err
>&5
31706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31707 (exit $ac_status); } && {
31708 test -z "$ac_c_werror_flag" ||
31709 test ! -s conftest.err
31710 } && test -s conftest
$ac_exeext &&
31711 $as_test_x conftest
$ac_exeext; then
31712 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
31714 echo "$as_me: failed program was:" >&5
31715 sed 's/^/| /' conftest.
$ac_ext >&5
31717 ac_cv_lib_unixodbc_SQLAllocEnv
=no
31720 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31721 conftest
$ac_exeext conftest.
$ac_ext
31722 LIBS
=$ac_check_lib_save_LIBS
31724 { echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
31725 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6; }
31726 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
31727 ODBC_LINK
=" -lunixodbc"
31730 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
31731 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6; }
31732 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
31733 echo $ECHO_N "(cached) $ECHO_C" >&6
31735 ac_check_lib_save_LIBS
=$LIBS
31736 LIBS
="-lodbc $LIBS"
31737 cat >conftest.
$ac_ext <<_ACEOF
31740 cat confdefs.h
>>conftest.
$ac_ext
31741 cat >>conftest.
$ac_ext <<_ACEOF
31742 /* end confdefs.h. */
31744 /* Override any GCC internal prototype to avoid an error.
31745 Use char because int might match the return type of a GCC
31746 builtin and then its argument prototype would still apply. */
31750 char SQLAllocEnv ();
31754 return SQLAllocEnv ();
31759 rm -f conftest.
$ac_objext conftest
$ac_exeext
31760 if { (ac_try
="$ac_link"
31761 case "(($ac_try" in
31762 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31763 *) ac_try_echo=$ac_try;;
31765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31766 (eval "$ac_link") 2>conftest.er1
31768 grep -v '^ *+' conftest.er1 >conftest.err
31770 cat conftest.err >&5
31771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31772 (exit $ac_status); } && {
31773 test -z "$ac_c_werror_flag" ||
31774 test ! -s conftest.err
31775 } && test -s conftest$ac_exeext &&
31776 $as_test_x conftest$ac_exeext; then
31777 ac_cv_lib_odbc_SQLAllocEnv=yes
31779 echo "$as_me: failed program was:" >&5
31780 sed 's/^/| /' conftest.$ac_ext >&5
31782 ac_cv_lib_odbc_SQLAllocEnv=no
31785 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31786 conftest$ac_exeext conftest.$ac_ext
31787 LIBS=$ac_check_lib_save_LIBS
31789 { echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
31790 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6; }
31791 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
31792 ODBC_LINK=" -lodbc"
31802 if test "x$ODBC_LINK" = "x" ; then
31803 if test "$wxUSE_ODBC" = "sys" ; then
31804 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
31805 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
31806 { (exit 1); exit 1; }; }
31808 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
31809 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
31817 if test "$wxUSE_ODBC" = "builtin" ; then
31818 cat >>confdefs.h <<\_ACEOF
31819 #define wxUSE_BUILTIN_IODBC 1
31825 if test "$wxUSE_ODBC" != "no" ; then
31826 cat >>confdefs.h <<\_ACEOF
31827 #define wxUSE_ODBC 1
31830 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
31832 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
31836 if test "$wxUSE_DISPLAY" = "yes"; then
31837 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
31838 { echo "$as_me:$LINENO: checking for Xinerama" >&5
31839 echo $ECHO_N "checking for Xinerama... $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/libXinerama.$ac_extension"; then
31846 ac_find_libraries=$ac_dir
31852 if test "$ac_find_libraries" != "" ; then
31854 if test "$ac_find_libraries" = "default location"; then
31857 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
31859 if test $result = 0; then
31862 ac_path_to_link=" -L$ac_find_libraries"
31866 if test "$ac_path_to_link" != " -L/usr/lib" ; then
31867 LDFLAGS="$LDFLAGS $ac_path_to_link"
31869 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
31870 { echo "$as_me:$LINENO: result: yes" >&5
31871 echo "${ECHO_T}yes" >&6; }
31873 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
31874 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
31877 for ac_dir in $SEARCH_LIB;
31879 for ac_extension in a so sl dylib dll.a; do
31880 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
31881 ac_find_libraries=$ac_dir
31887 if test "$ac_find_libraries" != "" ; then
31888 { echo "$as_me:$LINENO: result: yes" >&5
31889 echo "${ECHO_T}yes" >&6; }
31890 { echo "$as_me:$LINENO: checking for X11/extensions/xf86vmode.h" >&5
31891 echo $ECHO_N "checking for X11/extensions/xf86vmode.h... $ECHO_C" >&6; }
31892 if test "${ac_cv_header_X11_extensions_xf86vmode_h+set}" = set; then
31893 echo $ECHO_N "(cached) $ECHO_C" >&6
31895 cat >conftest.$ac_ext <<_ACEOF
31898 cat confdefs.h >>conftest.$ac_ext
31899 cat >>conftest.$ac_ext <<_ACEOF
31900 /* end confdefs.h. */
31902 #if HAVE_X11_XLIB_H
31903 #include <X11/Xlib.h>
31907 #include <X11/extensions/xf86vmode.h>
31909 rm -f conftest.$ac_objext
31910 if { (ac_try="$ac_compile"
31911 case "(($ac_try" in
31912 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31913 *) ac_try_echo
=$ac_try;;
31915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31916 (eval "$ac_compile") 2>conftest.er1
31918 grep -v '^ *+' conftest.er1
>conftest.err
31920 cat conftest.err
>&5
31921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31922 (exit $ac_status); } && {
31923 test -z "$ac_c_werror_flag" ||
31924 test ! -s conftest.err
31925 } && test -s conftest.
$ac_objext; then
31926 ac_cv_header_X11_extensions_xf86vmode_h
=yes
31928 echo "$as_me: failed program was:" >&5
31929 sed 's/^/| /' conftest.
$ac_ext >&5
31931 ac_cv_header_X11_extensions_xf86vmode_h
=no
31934 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31936 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_xf86vmode_h" >&5
31937 echo "${ECHO_T}$ac_cv_header_X11_extensions_xf86vmode_h" >&6; }
31938 if test $ac_cv_header_X11_extensions_xf86vmode_h = yes; then
31940 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
31946 { echo "$as_me:$LINENO: result: no" >&5
31947 echo "${ECHO_T}no" >&6; }
31951 { echo "$as_me:$LINENO: result: no" >&5
31952 echo "${ECHO_T}no" >&6; }
31953 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
31954 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
31957 elif test "$wxUSE_MSW" = 1; then
31958 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
31959 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
31960 if test "${ac_cv_header_ddraw_h+set}" = set; then
31961 echo $ECHO_N "(cached) $ECHO_C" >&6
31963 cat >conftest.
$ac_ext <<_ACEOF
31966 cat confdefs.h
>>conftest.
$ac_ext
31967 cat >>conftest.
$ac_ext <<_ACEOF
31968 /* end confdefs.h. */
31969 #include <windows.h>
31973 rm -f conftest.
$ac_objext
31974 if { (ac_try
="$ac_compile"
31975 case "(($ac_try" in
31976 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31977 *) ac_try_echo=$ac_try;;
31979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31980 (eval "$ac_compile") 2>conftest.er1
31982 grep -v '^ *+' conftest.er1 >conftest.err
31984 cat conftest.err >&5
31985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31986 (exit $ac_status); } && {
31987 test -z "$ac_c_werror_flag" ||
31988 test ! -s conftest.err
31989 } && test -s conftest.$ac_objext; then
31990 ac_cv_header_ddraw_h=yes
31992 echo "$as_me: failed program was:" >&5
31993 sed 's/^/| /' conftest.$ac_ext >&5
31995 ac_cv_header_ddraw_h=no
31998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32000 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
32001 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
32007 if test "$wxUSE_DETECT_SM" = "yes"; then
32008 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32009 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
32010 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
32013 for ac_dir in $SEARCH_LIB;
32015 for ac_extension in a so sl dylib dll.a; do
32016 if test -f "$ac_dir/libSM.$ac_extension"; then
32017 ac_find_libraries=$ac_dir
32023 if test "$ac_find_libraries" != "" ; then
32025 if test "$ac_find_libraries" = "default location"; then
32028 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32030 if test $result = 0; then
32033 ac_path_to_link=" -L$ac_find_libraries"
32037 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32038 LDFLAGS="$LDFLAGS $ac_path_to_link"
32040 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
32041 { echo "$as_me:$LINENO: result: yes" >&5
32042 echo "${ECHO_T}yes" >&6; }
32044 { echo "$as_me:$LINENO: result: no" >&5
32045 echo "${ECHO_T}no" >&6; }
32046 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
32047 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
32048 wxUSE_DETECT_SM="no"
32051 wxUSE_DETECT_SM="no"
32058 if test "$wxUSE_OPENGL" = "yes"; then
32059 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
32060 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
32061 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
32063 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
32064 OPENGL_LIBS="-framework OpenGL -framework AGL"
32065 elif test "$wxUSE_MSW" = 1; then
32066 OPENGL_LIBS="-lopengl32 -lglu32"
32068 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
32069 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
32072 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
32074 if test -f "$ac_dir/GL/gl.h"; then
32075 ac_find_includes=$ac_dir
32080 if test "$ac_find_includes" != "" ; then
32081 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32082 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32084 if test "x$ac_find_includes" = "x/usr/include"; then
32085 ac_path_to_include=""
32087 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
32089 if test $result = 0; then
32090 ac_path_to_include=""
32092 ac_path_to_include=" -I$ac_find_includes"
32096 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
32098 { echo "$as_me:$LINENO: result: not found" >&5
32099 echo "${ECHO_T}not found" >&6; }
32102 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32103 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
32104 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32105 echo $ECHO_N "(cached) $ECHO_C" >&6
32107 cat >conftest.$ac_ext <<_ACEOF
32110 cat confdefs.h >>conftest.$ac_ext
32111 cat >>conftest.$ac_ext <<_ACEOF
32112 /* end confdefs.h. */
32117 rm -f conftest.$ac_objext
32118 if { (ac_try="$ac_compile"
32119 case "(($ac_try" in
32120 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32121 *) ac_try_echo
=$ac_try;;
32123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32124 (eval "$ac_compile") 2>conftest.er1
32126 grep -v '^ *+' conftest.er1
>conftest.err
32128 cat conftest.err
>&5
32129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32130 (exit $ac_status); } && {
32131 test -z "$ac_c_werror_flag" ||
32132 test ! -s conftest.err
32133 } && test -s conftest.
$ac_objext; then
32134 ac_cv_header_GL_gl_h
=yes
32136 echo "$as_me: failed program was:" >&5
32137 sed 's/^/| /' conftest.
$ac_ext >&5
32139 ac_cv_header_GL_gl_h
=no
32142 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32144 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32145 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
32146 if test $ac_cv_header_GL_gl_h = yes; then
32148 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32149 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32150 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32151 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32152 echo $ECHO_N "(cached) $ECHO_C" >&6
32154 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32155 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32157 # Is the header compilable?
32158 { echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
32159 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6; }
32160 cat >conftest.
$ac_ext <<_ACEOF
32163 cat confdefs.h
>>conftest.
$ac_ext
32164 cat >>conftest.
$ac_ext <<_ACEOF
32165 /* end confdefs.h. */
32166 $ac_includes_default
32167 #include <GL/glu.h>
32169 rm -f conftest.
$ac_objext
32170 if { (ac_try
="$ac_compile"
32171 case "(($ac_try" in
32172 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32173 *) ac_try_echo=$ac_try;;
32175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32176 (eval "$ac_compile") 2>conftest.er1
32178 grep -v '^ *+' conftest.er1 >conftest.err
32180 cat conftest.err >&5
32181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32182 (exit $ac_status); } && {
32183 test -z "$ac_c_werror_flag" ||
32184 test ! -s conftest.err
32185 } && test -s conftest.$ac_objext; then
32186 ac_header_compiler=yes
32188 echo "$as_me: failed program was:" >&5
32189 sed 's/^/| /' conftest.$ac_ext >&5
32191 ac_header_compiler=no
32194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32195 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32196 echo "${ECHO_T}$ac_header_compiler" >&6; }
32198 # Is the header present?
32199 { echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
32200 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6; }
32201 cat >conftest.$ac_ext <<_ACEOF
32204 cat confdefs.h >>conftest.$ac_ext
32205 cat >>conftest.$ac_ext <<_ACEOF
32206 /* end confdefs.h. */
32207 #include <GL/glu.h>
32209 if { (ac_try="$ac_cpp conftest.$ac_ext"
32210 case "(($ac_try" in
32211 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32212 *) ac_try_echo
=$ac_try;;
32214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32215 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32217 grep -v '^ *+' conftest.er1
>conftest.err
32219 cat conftest.err
>&5
32220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32221 (exit $ac_status); } >/dev
/null
&& {
32222 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32223 test ! -s conftest.err
32225 ac_header_preproc
=yes
32227 echo "$as_me: failed program was:" >&5
32228 sed 's/^/| /' conftest.
$ac_ext >&5
32230 ac_header_preproc
=no
32233 rm -f conftest.err conftest.
$ac_ext
32234 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32235 echo "${ECHO_T}$ac_header_preproc" >&6; }
32237 # So? What about this header?
32238 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32240 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
32241 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32242 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
32243 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
32244 ac_header_preproc
=yes
32247 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
32248 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
32249 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
32250 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
32251 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
32252 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
32253 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
32254 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
32255 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
32256 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
32257 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
32258 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
32260 ## ----------------------------------------- ##
32261 ## Report this to wx-dev@lists.wxwidgets.org ##
32262 ## ----------------------------------------- ##
32264 ) | sed "s/^/$as_me: WARNING: /" >&2
32267 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32268 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32269 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32270 echo $ECHO_N "(cached) $ECHO_C" >&6
32272 ac_cv_header_GL_glu_h
=$ac_header_preproc
32274 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32275 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32278 if test $ac_cv_header_GL_glu_h = yes; then
32282 { echo "$as_me:$LINENO: checking for -lGL" >&5
32283 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
32286 for ac_dir
in $SEARCH_LIB /opt
/graphics
/OpenGL
/lib
;
32288 for ac_extension
in a so sl dylib dll.a
; do
32289 if test -f "$ac_dir/libGL.$ac_extension"; then
32290 ac_find_libraries
=$ac_dir
32296 if test "$ac_find_libraries" != "" ; then
32297 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32298 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32301 if test "$ac_find_libraries" = "default location"; then
32304 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
32306 if test $result = 0; then
32309 ac_path_to_link
=" -L$ac_find_libraries"
32313 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32314 LDFLAGS_GL
="$ac_path_to_link"
32317 { echo "$as_me:$LINENO: checking for -lGLU" >&5
32318 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
32321 for ac_dir
in $SEARCH_LIB;
32323 for ac_extension
in a so sl dylib dll.a
; do
32324 if test -f "$ac_dir/libGLU.$ac_extension"; then
32325 ac_find_libraries
=$ac_dir
32331 if test "$ac_find_libraries" != "" ; then
32333 if test "$ac_find_libraries" = "default location"; then
32336 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
32338 if test $result = 0; then
32341 ac_path_to_link
=" -L$ac_find_libraries"
32345 if test "$ac_path_to_link" != " -L/usr/lib" -a \
32346 "$ac_path_to_link" != "$LDFLAGS_GL"; then
32347 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
32351 OPENGL_LIBS
="-lGL -lGLU"
32352 { echo "$as_me:$LINENO: result: yes" >&5
32353 echo "${ECHO_T}yes" >&6; }
32355 { echo "$as_me:$LINENO: result: no" >&5
32356 echo "${ECHO_T}no" >&6; }
32359 { echo "$as_me:$LINENO: result: no" >&5
32360 echo "${ECHO_T}no" >&6; }
32363 if test "$found_gl" != 1; then
32364 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
32365 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
32368 for ac_dir
in $SEARCH_LIB;
32370 for ac_extension
in a so sl dylib dll.a
; do
32371 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
32372 ac_find_libraries
=$ac_dir
32378 if test "$ac_find_libraries" != "" ; then
32380 if test "$ac_find_libraries" = "default location"; then
32383 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
32385 if test $result = 0; then
32388 ac_path_to_link
=" -L$ac_find_libraries"
32392 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
32393 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
32394 { echo "$as_me:$LINENO: result: yes" >&5
32395 echo "${ECHO_T}yes" >&6; }
32397 { echo "$as_me:$LINENO: result: no" >&5
32398 echo "${ECHO_T}no" >&6; }
32410 if test "x$OPENGL_LIBS" = "x"; then
32411 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
32412 echo "$as_me: error: OpenGL libraries not available" >&2;}
32413 { (exit 1); exit 1; }; }
32417 if test "$wxUSE_OPENGL" = "yes"; then
32419 cat >>confdefs.h
<<\_ACEOF
32420 #define wxUSE_OPENGL 1
32423 cat >>confdefs.h
<<\_ACEOF
32424 #define wxUSE_GLCANVAS 1
32427 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
32432 if test -n "$TOOLKIT" ; then
32433 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
32438 if test "$wxUSE_SHARED" = "yes"; then
32442 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
32443 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
32448 if test "$wxUSE_SHARED" = "yes"; then
32452 *-*-cygwin* | *-*-mingw* )
32453 wx_cv_version_script
=no
32457 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
32458 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
32459 if test "${wx_cv_version_script+set}" = set; then
32460 echo $ECHO_N "(cached) $ECHO_C" >&6
32463 echo "VER_1 { *; };" >conftest.sym
32464 echo "int main() { return 0; }" >conftest.cpp
32467 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32468 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
32469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32470 (eval $ac_try) 2>&5
32472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32473 (exit $ac_status); }; } ; then
32474 if test -s conftest.stderr
; then
32475 wx_cv_version_script
=no
32477 wx_cv_version_script
=yes
32480 wx_cv_version_script
=no
32483 if test $wx_cv_version_script = yes
32485 echo "struct B { virtual ~B() { } }; \
32486 struct D : public B { }; \
32487 void F() { D d; }" > conftest.cpp
32490 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32491 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
32492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32493 (eval $ac_try) 2>&5
32495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32496 (exit $ac_status); }; } &&
32498 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32499 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
32500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32501 (eval $ac_try) 2>&5
32503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32504 (exit $ac_status); }; }
32507 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32508 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
32509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32510 (eval $ac_try) 2>&5
32512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32513 (exit $ac_status); }; }
32515 wx_cv_version_script
=yes
32517 wx_cv_version_script
=no
32522 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
32523 rm -f conftest1.output conftest2.output conftest3.output
32526 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
32527 echo "${ECHO_T}$wx_cv_version_script" >&6; }
32529 if test $wx_cv_version_script = yes ; then
32530 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(wx_top_builddir)/version-script"
32537 *-*-linux* | *-*-gnu* )
32538 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
32539 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
32543 if test "$GCC" = yes ; then
32544 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
32546 saveLdflags
="$LDFLAGS"
32547 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
32548 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
32549 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
32550 cat >conftest.
$ac_ext <<_ACEOF
32553 cat confdefs.h
>>conftest.
$ac_ext
32554 cat >>conftest.
$ac_ext <<_ACEOF
32555 /* end confdefs.h. */
32565 rm -f conftest.
$ac_objext conftest
$ac_exeext
32566 if { (ac_try
="$ac_link"
32567 case "(($ac_try" in
32568 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32569 *) ac_try_echo=$ac_try;;
32571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32572 (eval "$ac_link") 2>conftest.er1
32574 grep -v '^ *+' conftest.er1 >conftest.err
32576 cat conftest.err >&5
32577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32578 (exit $ac_status); } && {
32579 test -z "$ac_c_werror_flag" ||
32580 test ! -s conftest.err
32581 } && test -s conftest$ac_exeext &&
32582 $as_test_x conftest$ac_exeext; then
32584 { echo "$as_me:$LINENO: result: yes" >&5
32585 echo "${ECHO_T}yes" >&6; }
32586 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
32587 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
32590 echo "$as_me: failed program was:" >&5
32591 sed 's/^/| /' conftest.$ac_ext >&5
32594 { echo "$as_me:$LINENO: result: no" >&5
32595 echo "${ECHO_T}no" >&6; }
32596 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
32597 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
32598 LDFLAGS="$saveLdflags -Wl,-R,/"
32599 cat >conftest.$ac_ext <<_ACEOF
32602 cat confdefs.h >>conftest.$ac_ext
32603 cat >>conftest.$ac_ext <<_ACEOF
32604 /* end confdefs.h. */
32614 rm -f conftest.$ac_objext conftest$ac_exeext
32615 if { (ac_try="$ac_link"
32616 case "(($ac_try" in
32617 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32618 *) ac_try_echo
=$ac_try;;
32620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32621 (eval "$ac_link") 2>conftest.er1
32623 grep -v '^ *+' conftest.er1
>conftest.err
32625 cat conftest.err
>&5
32626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32627 (exit $ac_status); } && {
32628 test -z "$ac_c_werror_flag" ||
32629 test ! -s conftest.err
32630 } && test -s conftest
$ac_exeext &&
32631 $as_test_x conftest
$ac_exeext; then
32633 { echo "$as_me:$LINENO: result: yes" >&5
32634 echo "${ECHO_T}yes" >&6; }
32635 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
32636 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
32639 echo "$as_me: failed program was:" >&5
32640 sed 's/^/| /' conftest.
$ac_ext >&5
32643 { echo "$as_me:$LINENO: result: no" >&5
32644 echo "${ECHO_T}no" >&6; }
32648 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32649 conftest
$ac_exeext conftest.
$ac_ext
32653 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32654 conftest
$ac_exeext conftest.
$ac_ext
32655 LDFLAGS
="$saveLdflags"
32657 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
32658 WXCONFIG_RPATH
="-R\$libdir"
32663 install_name_tool
=`which install_name_tool`
32664 if test "$install_name_tool" -a -x "$install_name_tool"; then
32665 SAMPLES_RPATH_POSTLINK
="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
32666 cat <<EOF >change-install-names
32668 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
32669 inst_cmd="install_name_tool "
32670 for i in \${libnames} ; do
32671 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
32675 chmod +x change
-install-names
32679 *-*-cygwin* | *-*-mingw32* )
32680 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
32684 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
32685 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
32690 if test $wxUSE_RPATH = "no"; then
32691 SAMPLES_RPATH_FLAG
=''
32692 SAMPLES_RPATH_POSTLINK
=''
32700 config_linkage_component
="-static"
32707 lib_unicode_suffix
=
32709 if test "$wxUSE_UNICODE" = "yes"; then
32710 lib_unicode_suffix
=u
32711 WX_CHARTYPE
="unicode"
32716 WX_DEBUGTYPE
="release"
32718 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
32720 WX_DEBUGTYPE
="debug"
32724 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
32725 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
32728 if test "$wxUSE_DEBUG_INFO" = "yes"; then
32732 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
32734 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
32736 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
32738 if test "$cross_compiling" = "yes"; then
32739 HOST_SUFFIX
="-$host_alias"
32740 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
32741 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
32744 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32745 if test "${TOOLKIT_DIR}" = "os2"; then
32746 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32748 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32753 if test "$wxUSE_COCOA" = 1; then
32756 ac_cpp
='$CPP $CPPFLAGS'
32757 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32758 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32759 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32763 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
32764 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
32765 cat >conftest.
$ac_ext <<_ACEOF
32768 cat confdefs.h
>>conftest.
$ac_ext
32769 cat >>conftest.
$ac_ext <<_ACEOF
32770 /* end confdefs.h. */
32771 #include <AppKit/NSEvent.h>
32772 #include <CoreFoundation/CoreFoundation.h>
32782 rm -f conftest.
$ac_objext
32783 if { (ac_try
="$ac_compile"
32784 case "(($ac_try" in
32785 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32786 *) ac_try_echo=$ac_try;;
32788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32789 (eval "$ac_compile") 2>conftest.er1
32791 grep -v '^ *+' conftest.er1 >conftest.err
32793 cat conftest.err >&5
32794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32795 (exit $ac_status); } && {
32796 test -z "$ac_c_werror_flag" ||
32797 test ! -s conftest.err
32798 } && test -s conftest.$ac_objext; then
32799 { echo "$as_me:$LINENO: result: no" >&5
32800 echo "${ECHO_T}no" >&6; }
32802 echo "$as_me: failed program was:" >&5
32803 sed 's/^/| /' conftest.$ac_ext >&5
32805 { echo "$as_me:$LINENO: result: yes" >&5
32806 echo "${ECHO_T}yes" >&6; }
32807 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
32808 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
32809 cat >conftest.$ac_ext <<_ACEOF
32812 cat confdefs.h >>conftest.$ac_ext
32813 cat >>conftest.$ac_ext <<_ACEOF
32814 /* end confdefs.h. */
32815 #define __Point__ 1
32816 #include <AppKit/NSEvent.h>
32817 #include <CoreFoundation/CoreFoundation.h>
32827 rm -f conftest.$ac_objext
32828 if { (ac_try="$ac_compile"
32829 case "(($ac_try" in
32830 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32831 *) ac_try_echo
=$ac_try;;
32833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32834 (eval "$ac_compile") 2>conftest.er1
32836 grep -v '^ *+' conftest.er1
>conftest.err
32838 cat conftest.err
>&5
32839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32840 (exit $ac_status); } && {
32841 test -z "$ac_c_werror_flag" ||
32842 test ! -s conftest.err
32843 } && test -s conftest.
$ac_objext; then
32844 { echo "$as_me:$LINENO: result: yes" >&5
32845 echo "${ECHO_T}yes" >&6; }
32846 cat >>confdefs.h
<<\_ACEOF
32847 #define __Point__ 1
32852 echo "$as_me: failed program was:" >&5
32853 sed 's/^/| /' conftest.
$ac_ext >&5
32855 { { echo "$as_me:$LINENO: error: no
32856 See \`config.log' for more details." >&5
32857 echo "$as_me: error: no
32858 See \`config.log' for more details." >&2;}
32859 { (exit 1); exit 1; }; }
32863 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32867 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32869 ac_cpp
='$CPP $CPPFLAGS'
32870 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32871 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32872 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32876 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
32877 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
32878 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
32880 LIBWXMACRES
="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
32882 # Extract the first word of "Rez", so it can be a program name with args.
32883 set dummy Rez
; ac_word
=$2
32884 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32885 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32886 if test "${ac_cv_prog_REZ+set}" = set; then
32887 echo $ECHO_N "(cached) $ECHO_C" >&6
32889 if test -n "$REZ"; then
32890 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
32892 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32893 for as_dir
in $PATH
32896 test -z "$as_dir" && as_dir
=.
32897 for ac_exec_ext
in '' $ac_executable_extensions; do
32898 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32899 ac_cv_prog_REZ
="Rez"
32900 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32907 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
32910 REZ
=$ac_cv_prog_REZ
32911 if test -n "$REZ"; then
32912 { echo "$as_me:$LINENO: result: $REZ" >&5
32913 echo "${ECHO_T}$REZ" >&6; }
32915 { echo "$as_me:$LINENO: result: no" >&5
32916 echo "${ECHO_T}no" >&6; }
32920 # Extract the first word of "DeRez", so it can be a program name with args.
32921 set dummy DeRez
; ac_word
=$2
32922 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32923 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32924 if test "${ac_cv_prog_DEREZ+set}" = set; then
32925 echo $ECHO_N "(cached) $ECHO_C" >&6
32927 if test -n "$DEREZ"; then
32928 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
32930 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32931 for as_dir
in $PATH
32934 test -z "$as_dir" && as_dir
=.
32935 for ac_exec_ext
in '' $ac_executable_extensions; do
32936 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32937 ac_cv_prog_DEREZ
="DeRez"
32938 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32945 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
32948 DEREZ
=$ac_cv_prog_DEREZ
32949 if test -n "$DEREZ"; then
32950 { echo "$as_me:$LINENO: result: $DEREZ" >&5
32951 echo "${ECHO_T}$DEREZ" >&6; }
32953 { echo "$as_me:$LINENO: result: no" >&5
32954 echo "${ECHO_T}no" >&6; }
32958 # Extract the first word of "SetFile", so it can be a program name with args.
32959 set dummy SetFile
; ac_word
=$2
32960 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32961 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32962 if test "${ac_cv_prog_SETFILE+set}" = set; then
32963 echo $ECHO_N "(cached) $ECHO_C" >&6
32965 if test -n "$SETFILE"; then
32966 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
32968 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32969 for as_dir
in $PATH
32972 test -z "$as_dir" && as_dir
=.
32973 for ac_exec_ext
in '' $ac_executable_extensions; do
32974 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32975 ac_cv_prog_SETFILE
="SetFile"
32976 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32983 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
32986 SETFILE
=$ac_cv_prog_SETFILE
32987 if test -n "$SETFILE"; then
32988 { echo "$as_me:$LINENO: result: $SETFILE" >&5
32989 echo "${ECHO_T}$SETFILE" >&6; }
32991 { echo "$as_me:$LINENO: result: no" >&5
32992 echo "${ECHO_T}no" >&6; }
32997 MACSETFILE
="\$(SETFILE)"
32999 if test "$wxUSE_MAC" = 1; then
33000 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
33002 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
33004 POSTLINK_COMMAND
="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
33005 RESCOMP
="echo -n \| $REZ"
33006 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
33012 if test "$wxUSE_PM" = 1; then
33014 WXCONFIG_RESFLAGS
="-ep"
33016 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
33018 POSTLINK_COMMAND
="@true"
33025 { echo "$as_me:$LINENO: checking for mode_t" >&5
33026 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
33027 if test "${ac_cv_type_mode_t+set}" = set; then
33028 echo $ECHO_N "(cached) $ECHO_C" >&6
33030 cat >conftest.
$ac_ext <<_ACEOF
33033 cat confdefs.h
>>conftest.
$ac_ext
33034 cat >>conftest.
$ac_ext <<_ACEOF
33035 /* end confdefs.h. */
33036 $ac_includes_default
33037 typedef mode_t ac__type_new_;
33041 if ((ac__type_new_ *) 0)
33043 if (sizeof (ac__type_new_))
33049 rm -f conftest.
$ac_objext
33050 if { (ac_try
="$ac_compile"
33051 case "(($ac_try" in
33052 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33053 *) ac_try_echo=$ac_try;;
33055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33056 (eval "$ac_compile") 2>conftest.er1
33058 grep -v '^ *+' conftest.er1 >conftest.err
33060 cat conftest.err >&5
33061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33062 (exit $ac_status); } && {
33063 test -z "$ac_c_werror_flag" ||
33064 test ! -s conftest.err
33065 } && test -s conftest.$ac_objext; then
33066 ac_cv_type_mode_t=yes
33068 echo "$as_me: failed program was:" >&5
33069 sed 's/^/| /' conftest.$ac_ext >&5
33071 ac_cv_type_mode_t=no
33074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33076 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33077 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
33078 if test $ac_cv_type_mode_t = yes; then
33082 cat >>confdefs.h <<_ACEOF
33088 { echo "$as_me:$LINENO: checking for off_t" >&5
33089 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
33090 if test "${ac_cv_type_off_t+set}" = set; then
33091 echo $ECHO_N "(cached) $ECHO_C" >&6
33093 cat >conftest.$ac_ext <<_ACEOF
33096 cat confdefs.h >>conftest.$ac_ext
33097 cat >>conftest.$ac_ext <<_ACEOF
33098 /* end confdefs.h. */
33099 $ac_includes_default
33100 typedef off_t ac__type_new_;
33104 if ((ac__type_new_ *) 0)
33106 if (sizeof (ac__type_new_))
33112 rm -f conftest.$ac_objext
33113 if { (ac_try="$ac_compile"
33114 case "(($ac_try" in
33115 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33116 *) ac_try_echo
=$ac_try;;
33118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33119 (eval "$ac_compile") 2>conftest.er1
33121 grep -v '^ *+' conftest.er1
>conftest.err
33123 cat conftest.err
>&5
33124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33125 (exit $ac_status); } && {
33126 test -z "$ac_c_werror_flag" ||
33127 test ! -s conftest.err
33128 } && test -s conftest.
$ac_objext; then
33129 ac_cv_type_off_t
=yes
33131 echo "$as_me: failed program was:" >&5
33132 sed 's/^/| /' conftest.
$ac_ext >&5
33134 ac_cv_type_off_t
=no
33137 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33139 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33140 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
33141 if test $ac_cv_type_off_t = yes; then
33145 cat >>confdefs.h
<<_ACEOF
33146 #define off_t long int
33151 { echo "$as_me:$LINENO: checking for pid_t" >&5
33152 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
33153 if test "${ac_cv_type_pid_t+set}" = set; then
33154 echo $ECHO_N "(cached) $ECHO_C" >&6
33156 cat >conftest.
$ac_ext <<_ACEOF
33159 cat confdefs.h
>>conftest.
$ac_ext
33160 cat >>conftest.
$ac_ext <<_ACEOF
33161 /* end confdefs.h. */
33162 $ac_includes_default
33163 typedef pid_t ac__type_new_;
33167 if ((ac__type_new_ *) 0)
33169 if (sizeof (ac__type_new_))
33175 rm -f conftest.
$ac_objext
33176 if { (ac_try
="$ac_compile"
33177 case "(($ac_try" in
33178 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33179 *) ac_try_echo=$ac_try;;
33181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33182 (eval "$ac_compile") 2>conftest.er1
33184 grep -v '^ *+' conftest.er1 >conftest.err
33186 cat conftest.err >&5
33187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33188 (exit $ac_status); } && {
33189 test -z "$ac_c_werror_flag" ||
33190 test ! -s conftest.err
33191 } && test -s conftest.$ac_objext; then
33192 ac_cv_type_pid_t=yes
33194 echo "$as_me: failed program was:" >&5
33195 sed 's/^/| /' conftest.$ac_ext >&5
33197 ac_cv_type_pid_t=no
33200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33202 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
33203 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
33204 if test $ac_cv_type_pid_t = yes; then
33208 cat >>confdefs.h <<_ACEOF
33214 { echo "$as_me:$LINENO: checking for size_t" >&5
33215 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
33216 if test "${ac_cv_type_size_t+set}" = set; then
33217 echo $ECHO_N "(cached) $ECHO_C" >&6
33219 cat >conftest.$ac_ext <<_ACEOF
33222 cat confdefs.h >>conftest.$ac_ext
33223 cat >>conftest.$ac_ext <<_ACEOF
33224 /* end confdefs.h. */
33225 $ac_includes_default
33226 typedef size_t ac__type_new_;
33230 if ((ac__type_new_ *) 0)
33232 if (sizeof (ac__type_new_))
33238 rm -f conftest.$ac_objext
33239 if { (ac_try="$ac_compile"
33240 case "(($ac_try" in
33241 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33242 *) ac_try_echo
=$ac_try;;
33244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33245 (eval "$ac_compile") 2>conftest.er1
33247 grep -v '^ *+' conftest.er1
>conftest.err
33249 cat conftest.err
>&5
33250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33251 (exit $ac_status); } && {
33252 test -z "$ac_c_werror_flag" ||
33253 test ! -s conftest.err
33254 } && test -s conftest.
$ac_objext; then
33255 ac_cv_type_size_t
=yes
33257 echo "$as_me: failed program was:" >&5
33258 sed 's/^/| /' conftest.
$ac_ext >&5
33260 ac_cv_type_size_t
=no
33263 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33265 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
33266 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
33267 if test $ac_cv_type_size_t = yes; then
33271 cat >>confdefs.h
<<_ACEOF
33272 #define size_t unsigned int
33277 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
33278 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
33279 if test "${ac_cv_type_uid_t+set}" = set; then
33280 echo $ECHO_N "(cached) $ECHO_C" >&6
33282 cat >conftest.
$ac_ext <<_ACEOF
33285 cat confdefs.h
>>conftest.
$ac_ext
33286 cat >>conftest.
$ac_ext <<_ACEOF
33287 /* end confdefs.h. */
33288 #include <sys/types.h>
33291 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
33292 $EGREP "uid_t" >/dev
/null
2>&1; then
33293 ac_cv_type_uid_t
=yes
33295 ac_cv_type_uid_t
=no
33300 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
33301 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
33302 if test $ac_cv_type_uid_t = no
; then
33304 cat >>confdefs.h
<<\_ACEOF
33309 cat >>confdefs.h
<<\_ACEOF
33316 { echo "$as_me:$LINENO: checking for ssize_t" >&5
33317 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
33318 if test "${ac_cv_type_ssize_t+set}" = set; then
33319 echo $ECHO_N "(cached) $ECHO_C" >&6
33321 cat >conftest.
$ac_ext <<_ACEOF
33324 cat confdefs.h
>>conftest.
$ac_ext
33325 cat >>conftest.
$ac_ext <<_ACEOF
33326 /* end confdefs.h. */
33327 $ac_includes_default
33328 typedef ssize_t ac__type_new_;
33332 if ((ac__type_new_ *) 0)
33334 if (sizeof (ac__type_new_))
33340 rm -f conftest.
$ac_objext
33341 if { (ac_try
="$ac_compile"
33342 case "(($ac_try" in
33343 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33344 *) ac_try_echo=$ac_try;;
33346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33347 (eval "$ac_compile") 2>conftest.er1
33349 grep -v '^ *+' conftest.er1 >conftest.err
33351 cat conftest.err >&5
33352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33353 (exit $ac_status); } && {
33354 test -z "$ac_c_werror_flag" ||
33355 test ! -s conftest.err
33356 } && test -s conftest.$ac_objext; then
33357 ac_cv_type_ssize_t=yes
33359 echo "$as_me: failed program was:" >&5
33360 sed 's/^/| /' conftest.$ac_ext >&5
33362 ac_cv_type_ssize_t=no
33365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33367 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
33368 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
33369 if test $ac_cv_type_ssize_t = yes; then
33371 cat >>confdefs.h <<_ACEOF
33372 #define HAVE_SSIZE_T 1
33380 ac_cpp='$CXXCPP $CPPFLAGS'
33381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33384 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
33385 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
33386 if test "${wx_cv_size_t_is_uint+set}" = set; then
33387 echo $ECHO_N "(cached) $ECHO_C" >&6
33390 cat >conftest.$ac_ext <<_ACEOF
33393 cat confdefs.h >>conftest.$ac_ext
33394 cat >>conftest.$ac_ext <<_ACEOF
33395 /* end confdefs.h. */
33396 #include <stddef.h>
33403 struct Foo { void foo(size_t); void foo(unsigned int); };
33411 rm -f conftest.$ac_objext
33412 if { (ac_try="$ac_compile"
33413 case "(($ac_try" in
33414 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33415 *) ac_try_echo
=$ac_try;;
33417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33418 (eval "$ac_compile") 2>conftest.er1
33420 grep -v '^ *+' conftest.er1
>conftest.err
33422 cat conftest.err
>&5
33423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33424 (exit $ac_status); } && {
33425 test -z "$ac_cxx_werror_flag" ||
33426 test ! -s conftest.err
33427 } && test -s conftest.
$ac_objext; then
33428 wx_cv_size_t_is_uint
=no
33430 echo "$as_me: failed program was:" >&5
33431 sed 's/^/| /' conftest.
$ac_ext >&5
33433 wx_cv_size_t_is_uint
=yes
33437 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33441 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
33442 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
33444 if test "$wx_cv_size_t_is_uint" = "yes"; then
33445 cat >>confdefs.h
<<\_ACEOF
33446 #define wxSIZE_T_IS_UINT 1
33450 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
33451 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
33452 if test "${wx_cv_size_t_is_ulong+set}" = set; then
33453 echo $ECHO_N "(cached) $ECHO_C" >&6
33455 cat >conftest.
$ac_ext <<_ACEOF
33458 cat confdefs.h
>>conftest.
$ac_ext
33459 cat >>conftest.
$ac_ext <<_ACEOF
33460 /* end confdefs.h. */
33461 #include <stddef.h>
33468 struct Foo { void foo(size_t); void foo(unsigned long); };
33476 rm -f conftest.
$ac_objext
33477 if { (ac_try
="$ac_compile"
33478 case "(($ac_try" in
33479 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33480 *) ac_try_echo=$ac_try;;
33482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33483 (eval "$ac_compile") 2>conftest.er1
33485 grep -v '^ *+' conftest.er1 >conftest.err
33487 cat conftest.err >&5
33488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33489 (exit $ac_status); } && {
33490 test -z "$ac_cxx_werror_flag" ||
33491 test ! -s conftest.err
33492 } && test -s conftest.$ac_objext; then
33493 wx_cv_size_t_is_ulong=no
33495 echo "$as_me: failed program was:" >&5
33496 sed 's/^/| /' conftest.$ac_ext >&5
33498 wx_cv_size_t_is_ulong=yes
33502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33505 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
33506 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
33508 if test "$wx_cv_size_t_is_ulong" = "yes"; then
33509 cat >>confdefs.h <<\_ACEOF
33510 #define wxSIZE_T_IS_ULONG 1
33517 ac_cpp='$CPP $CPPFLAGS'
33518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33523 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
33524 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
33525 if test "${wx_cv_struct_pw_gecos+set}" = set; then
33526 echo $ECHO_N "(cached) $ECHO_C" >&6
33529 cat >conftest.$ac_ext <<_ACEOF
33532 cat confdefs.h >>conftest.$ac_ext
33533 cat >>conftest.$ac_ext <<_ACEOF
33534 /* end confdefs.h. */
33548 rm -f conftest.$ac_objext
33549 if { (ac_try="$ac_compile"
33550 case "(($ac_try" in
33551 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33552 *) ac_try_echo
=$ac_try;;
33554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33555 (eval "$ac_compile") 2>conftest.er1
33557 grep -v '^ *+' conftest.er1
>conftest.err
33559 cat conftest.err
>&5
33560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33561 (exit $ac_status); } && {
33562 test -z "$ac_c_werror_flag" ||
33563 test ! -s conftest.err
33564 } && test -s conftest.
$ac_objext; then
33566 wx_cv_struct_pw_gecos
=yes
33569 echo "$as_me: failed program was:" >&5
33570 sed 's/^/| /' conftest.
$ac_ext >&5
33573 wx_cv_struct_pw_gecos
=no
33578 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33582 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
33583 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
33585 if test "$wx_cv_struct_pw_gecos" = "yes"; then
33586 cat >>confdefs.h
<<\_ACEOF
33587 #define HAVE_PW_GECOS 1
33593 if test "$wxUSE_WCHAR_T" = "yes"; then
33594 cat >>confdefs.h
<<\_ACEOF
33595 #define wxUSE_WCHAR_T 1
33602 for ac_func
in wcslen
33604 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33605 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33606 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33607 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33608 echo $ECHO_N "(cached) $ECHO_C" >&6
33610 cat >conftest.
$ac_ext <<_ACEOF
33613 cat confdefs.h
>>conftest.
$ac_ext
33614 cat >>conftest.
$ac_ext <<_ACEOF
33615 /* end confdefs.h. */
33616 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33617 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33618 #define $ac_func innocuous_$ac_func
33620 /* System header to define __stub macros and hopefully few prototypes,
33621 which can conflict with char $ac_func (); below.
33622 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33623 <limits.h> exists even on freestanding compilers. */
33626 # include <limits.h>
33628 # include <assert.h>
33633 /* Override any GCC internal prototype to avoid an error.
33634 Use char because int might match the return type of a GCC
33635 builtin and then its argument prototype would still apply. */
33640 /* The GNU C library defines this for functions which it implements
33641 to always fail with ENOSYS. Some functions are actually named
33642 something starting with __ and the normal name is an alias. */
33643 #if defined __stub_$ac_func || defined __stub___$ac_func
33650 return $ac_func ();
33655 rm -f conftest.
$ac_objext conftest
$ac_exeext
33656 if { (ac_try
="$ac_link"
33657 case "(($ac_try" in
33658 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33659 *) ac_try_echo=$ac_try;;
33661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33662 (eval "$ac_link") 2>conftest.er1
33664 grep -v '^ *+' conftest.er1 >conftest.err
33666 cat conftest.err >&5
33667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33668 (exit $ac_status); } && {
33669 test -z "$ac_c_werror_flag" ||
33670 test ! -s conftest.err
33671 } && test -s conftest$ac_exeext &&
33672 $as_test_x conftest$ac_exeext; then
33673 eval "$as_ac_var=yes"
33675 echo "$as_me: failed program was:" >&5
33676 sed 's/^/| /' conftest.$ac_ext >&5
33678 eval "$as_ac_var=no"
33681 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33682 conftest$ac_exeext conftest.$ac_ext
33684 ac_res=`eval echo '${'$as_ac_var'}'`
33685 { echo "$as_me:$LINENO: result: $ac_res" >&5
33686 echo "${ECHO_T}$ac_res" >&6; }
33687 if test `eval echo '${'$as_ac_var'}'` = yes; then
33688 cat >>confdefs.h <<_ACEOF
33689 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33696 if test "$WCSLEN_FOUND" = 0; then
33697 if test "$TOOLKIT" = "MSW"; then
33698 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
33699 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
33700 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
33701 echo $ECHO_N "(cached) $ECHO_C" >&6
33703 ac_check_lib_save_LIBS=$LIBS
33704 LIBS="-lmsvcrt $LIBS"
33705 cat >conftest.$ac_ext <<_ACEOF
33708 cat confdefs.h >>conftest.$ac_ext
33709 cat >>conftest.$ac_ext <<_ACEOF
33710 /* end confdefs.h. */
33712 /* Override any GCC internal prototype to avoid an error.
33713 Use char because int might match the return type of a GCC
33714 builtin and then its argument prototype would still apply. */
33727 rm -f conftest.$ac_objext conftest$ac_exeext
33728 if { (ac_try="$ac_link"
33729 case "(($ac_try" in
33730 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33731 *) ac_try_echo
=$ac_try;;
33733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33734 (eval "$ac_link") 2>conftest.er1
33736 grep -v '^ *+' conftest.er1
>conftest.err
33738 cat conftest.err
>&5
33739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33740 (exit $ac_status); } && {
33741 test -z "$ac_c_werror_flag" ||
33742 test ! -s conftest.err
33743 } && test -s conftest
$ac_exeext &&
33744 $as_test_x conftest
$ac_exeext; then
33745 ac_cv_lib_msvcrt_wcslen
=yes
33747 echo "$as_me: failed program was:" >&5
33748 sed 's/^/| /' conftest.
$ac_ext >&5
33750 ac_cv_lib_msvcrt_wcslen
=no
33753 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33754 conftest
$ac_exeext conftest.
$ac_ext
33755 LIBS
=$ac_check_lib_save_LIBS
33757 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
33758 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
33759 if test $ac_cv_lib_msvcrt_wcslen = yes; then
33764 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
33765 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
33766 if test "${ac_cv_lib_w_wcslen+set}" = set; then
33767 echo $ECHO_N "(cached) $ECHO_C" >&6
33769 ac_check_lib_save_LIBS
=$LIBS
33771 cat >conftest.
$ac_ext <<_ACEOF
33774 cat confdefs.h
>>conftest.
$ac_ext
33775 cat >>conftest.
$ac_ext <<_ACEOF
33776 /* end confdefs.h. */
33778 /* Override any GCC internal prototype to avoid an error.
33779 Use char because int might match the return type of a GCC
33780 builtin and then its argument prototype would still apply. */
33793 rm -f conftest.
$ac_objext conftest
$ac_exeext
33794 if { (ac_try
="$ac_link"
33795 case "(($ac_try" in
33796 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33797 *) ac_try_echo=$ac_try;;
33799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33800 (eval "$ac_link") 2>conftest.er1
33802 grep -v '^ *+' conftest.er1 >conftest.err
33804 cat conftest.err >&5
33805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33806 (exit $ac_status); } && {
33807 test -z "$ac_c_werror_flag" ||
33808 test ! -s conftest.err
33809 } && test -s conftest$ac_exeext &&
33810 $as_test_x conftest$ac_exeext; then
33811 ac_cv_lib_w_wcslen=yes
33813 echo "$as_me: failed program was:" >&5
33814 sed 's/^/| /' conftest.$ac_ext >&5
33816 ac_cv_lib_w_wcslen=no
33819 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33820 conftest$ac_exeext conftest.$ac_ext
33821 LIBS=$ac_check_lib_save_LIBS
33823 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
33824 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
33825 if test $ac_cv_lib_w_wcslen = yes; then
33835 if test "$WCSLEN_FOUND" = 1; then
33836 cat >>confdefs.h <<\_ACEOF
33837 #define HAVE_WCSLEN 1
33842 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
33843 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
33846 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
33847 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
33848 if test "${ac_cv_type_mbstate_t+set}" = set; then
33849 echo $ECHO_N "(cached) $ECHO_C" >&6
33851 cat >conftest.$ac_ext <<_ACEOF
33854 cat confdefs.h >>conftest.$ac_ext
33855 cat >>conftest.$ac_ext <<_ACEOF
33856 /* end confdefs.h. */
33859 typedef mbstate_t ac__type_new_;
33863 if ((ac__type_new_ *) 0)
33865 if (sizeof (ac__type_new_))
33871 rm -f conftest.$ac_objext
33872 if { (ac_try="$ac_compile"
33873 case "(($ac_try" in
33874 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33875 *) ac_try_echo
=$ac_try;;
33877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33878 (eval "$ac_compile") 2>conftest.er1
33880 grep -v '^ *+' conftest.er1
>conftest.err
33882 cat conftest.err
>&5
33883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33884 (exit $ac_status); } && {
33885 test -z "$ac_c_werror_flag" ||
33886 test ! -s conftest.err
33887 } && test -s conftest.
$ac_objext; then
33888 ac_cv_type_mbstate_t
=yes
33890 echo "$as_me: failed program was:" >&5
33891 sed 's/^/| /' conftest.
$ac_ext >&5
33893 ac_cv_type_mbstate_t
=no
33896 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33898 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
33899 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
33900 if test $ac_cv_type_mbstate_t = yes; then
33902 cat >>confdefs.h
<<_ACEOF
33903 #define HAVE_MBSTATE_T 1
33907 for ac_func
in wcsrtombs
33909 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33910 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33911 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33912 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33913 echo $ECHO_N "(cached) $ECHO_C" >&6
33915 cat >conftest.
$ac_ext <<_ACEOF
33918 cat confdefs.h
>>conftest.
$ac_ext
33919 cat >>conftest.
$ac_ext <<_ACEOF
33920 /* end confdefs.h. */
33921 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33922 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33923 #define $ac_func innocuous_$ac_func
33925 /* System header to define __stub macros and hopefully few prototypes,
33926 which can conflict with char $ac_func (); below.
33927 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33928 <limits.h> exists even on freestanding compilers. */
33931 # include <limits.h>
33933 # include <assert.h>
33938 /* Override any GCC internal prototype to avoid an error.
33939 Use char because int might match the return type of a GCC
33940 builtin and then its argument prototype would still apply. */
33945 /* The GNU C library defines this for functions which it implements
33946 to always fail with ENOSYS. Some functions are actually named
33947 something starting with __ and the normal name is an alias. */
33948 #if defined __stub_$ac_func || defined __stub___$ac_func
33955 return $ac_func ();
33960 rm -f conftest.
$ac_objext conftest
$ac_exeext
33961 if { (ac_try
="$ac_link"
33962 case "(($ac_try" in
33963 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33964 *) ac_try_echo=$ac_try;;
33966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33967 (eval "$ac_link") 2>conftest.er1
33969 grep -v '^ *+' conftest.er1 >conftest.err
33971 cat conftest.err >&5
33972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33973 (exit $ac_status); } && {
33974 test -z "$ac_c_werror_flag" ||
33975 test ! -s conftest.err
33976 } && test -s conftest$ac_exeext &&
33977 $as_test_x conftest$ac_exeext; then
33978 eval "$as_ac_var=yes"
33980 echo "$as_me: failed program was:" >&5
33981 sed 's/^/| /' conftest.$ac_ext >&5
33983 eval "$as_ac_var=no"
33986 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33987 conftest$ac_exeext conftest.$ac_ext
33989 ac_res=`eval echo '${'$as_ac_var'}'`
33990 { echo "$as_me:$LINENO: result: $ac_res" >&5
33991 echo "${ECHO_T}$ac_res" >&6; }
33992 if test `eval echo '${'$as_ac_var'}'` = yes; then
33993 cat >>confdefs.h <<_ACEOF
33994 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34003 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
34004 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
34009 for ac_func in snprintf vsnprintf
34011 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34012 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34013 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34014 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34015 echo $ECHO_N "(cached) $ECHO_C" >&6
34017 cat >conftest.$ac_ext <<_ACEOF
34020 cat confdefs.h >>conftest.$ac_ext
34021 cat >>conftest.$ac_ext <<_ACEOF
34022 /* end confdefs.h. */
34023 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34024 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34025 #define $ac_func innocuous_$ac_func
34027 /* System header to define __stub macros and hopefully few prototypes,
34028 which can conflict with char $ac_func (); below.
34029 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34030 <limits.h> exists even on freestanding compilers. */
34033 # include <limits.h>
34035 # include <assert.h>
34040 /* Override any GCC internal prototype to avoid an error.
34041 Use char because int might match the return type of a GCC
34042 builtin and then its argument prototype would still apply. */
34047 /* The GNU C library defines this for functions which it implements
34048 to always fail with ENOSYS. Some functions are actually named
34049 something starting with __ and the normal name is an alias. */
34050 #if defined __stub_$ac_func || defined __stub___$ac_func
34057 return $ac_func ();
34062 rm -f conftest.$ac_objext conftest$ac_exeext
34063 if { (ac_try="$ac_link"
34064 case "(($ac_try" in
34065 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34066 *) ac_try_echo
=$ac_try;;
34068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34069 (eval "$ac_link") 2>conftest.er1
34071 grep -v '^ *+' conftest.er1
>conftest.err
34073 cat conftest.err
>&5
34074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34075 (exit $ac_status); } && {
34076 test -z "$ac_c_werror_flag" ||
34077 test ! -s conftest.err
34078 } && test -s conftest
$ac_exeext &&
34079 $as_test_x conftest
$ac_exeext; then
34080 eval "$as_ac_var=yes"
34082 echo "$as_me: failed program was:" >&5
34083 sed 's/^/| /' conftest.
$ac_ext >&5
34085 eval "$as_ac_var=no"
34088 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34089 conftest
$ac_exeext conftest.
$ac_ext
34091 ac_res
=`eval echo '${'$as_ac_var'}'`
34092 { echo "$as_me:$LINENO: result: $ac_res" >&5
34093 echo "${ECHO_T}$ac_res" >&6; }
34094 if test `eval echo '${'$as_ac_var'}'` = yes; then
34095 cat >>confdefs.h
<<_ACEOF
34096 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34103 if test "$ac_cv_func_vsnprintf" = "yes"; then
34104 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
34105 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
34106 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
34107 echo $ECHO_N "(cached) $ECHO_C" >&6
34110 cat >conftest.
$ac_ext <<_ACEOF
34113 cat confdefs.h
>>conftest.
$ac_ext
34114 cat >>conftest.
$ac_ext <<_ACEOF
34115 /* end confdefs.h. */
34118 #include <stdarg.h>
34120 #if __MSL__ >= 0x6000
34122 using namespace std;
34132 vsnprintf(buf, 10u, "%s", ap);
34138 rm -f conftest.
$ac_objext
34139 if { (ac_try
="$ac_compile"
34140 case "(($ac_try" in
34141 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34142 *) ac_try_echo=$ac_try;;
34144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34145 (eval "$ac_compile") 2>conftest.er1
34147 grep -v '^ *+' conftest.er1 >conftest.err
34149 cat conftest.err >&5
34150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34151 (exit $ac_status); } && {
34152 test -z "$ac_c_werror_flag" ||
34153 test ! -s conftest.err
34154 } && test -s conftest.$ac_objext; then
34155 wx_cv_func_vsnprintf_decl=yes
34157 echo "$as_me: failed program was:" >&5
34158 sed 's/^/| /' conftest.$ac_ext >&5
34160 wx_cv_func_vsnprintf_decl=no
34164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34168 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
34169 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
34171 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
34172 cat >>confdefs.h <<\_ACEOF
34173 #define HAVE_VSNPRINTF_DECL 1
34177 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
34178 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
34179 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
34180 echo $ECHO_N "(cached) $ECHO_C" >&6
34183 cat >conftest.$ac_ext <<_ACEOF
34186 cat confdefs.h >>conftest.$ac_ext
34187 cat >>conftest.$ac_ext <<_ACEOF
34188 /* end confdefs.h. */
34191 #include <stdarg.h>
34193 #if __MSL__ >= 0x6000
34195 using namespace std;
34205 const char *fmt = "%s";
34206 vsnprintf(buf, 10u, fmt, ap);
34212 rm -f conftest.$ac_objext
34213 if { (ac_try="$ac_compile"
34214 case "(($ac_try" in
34215 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34216 *) ac_try_echo
=$ac_try;;
34218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34219 (eval "$ac_compile") 2>conftest.er1
34221 grep -v '^ *+' conftest.er1
>conftest.err
34223 cat conftest.err
>&5
34224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34225 (exit $ac_status); } && {
34226 test -z "$ac_c_werror_flag" ||
34227 test ! -s conftest.err
34228 } && test -s conftest.
$ac_objext; then
34229 wx_cv_func_broken_vsnprintf_decl
=no
34231 echo "$as_me: failed program was:" >&5
34232 sed 's/^/| /' conftest.
$ac_ext >&5
34234 wx_cv_func_broken_vsnprintf_decl
=yes
34238 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34242 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
34243 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
34245 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
34246 cat >>confdefs.h
<<\_ACEOF
34247 #define HAVE_BROKEN_VSNPRINTF_DECL 1
34254 if test "$ac_cv_func_snprintf" = "yes"; then
34255 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
34256 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
34257 if test "${wx_cv_func_snprintf_decl+set}" = set; then
34258 echo $ECHO_N "(cached) $ECHO_C" >&6
34261 cat >conftest.
$ac_ext <<_ACEOF
34264 cat confdefs.h
>>conftest.
$ac_ext
34265 cat >>conftest.
$ac_ext <<_ACEOF
34266 /* end confdefs.h. */
34269 #include <stdarg.h>
34271 #if __MSL__ >= 0x6000
34273 using namespace std;
34282 snprintf(buf, 10u, "%s", "wx");
34288 rm -f conftest.
$ac_objext
34289 if { (ac_try
="$ac_compile"
34290 case "(($ac_try" in
34291 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34292 *) ac_try_echo=$ac_try;;
34294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34295 (eval "$ac_compile") 2>conftest.er1
34297 grep -v '^ *+' conftest.er1 >conftest.err
34299 cat conftest.err >&5
34300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34301 (exit $ac_status); } && {
34302 test -z "$ac_c_werror_flag" ||
34303 test ! -s conftest.err
34304 } && test -s conftest.$ac_objext; then
34305 wx_cv_func_snprintf_decl=yes
34307 echo "$as_me: failed program was:" >&5
34308 sed 's/^/| /' conftest.$ac_ext >&5
34310 wx_cv_func_snprintf_decl=no
34314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34318 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
34319 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
34321 if test "$wx_cv_func_snprintf_decl" = "yes"; then
34322 cat >>confdefs.h <<\_ACEOF
34323 #define HAVE_SNPRINTF_DECL 1
34327 { echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
34328 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6; }
34329 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
34330 echo $ECHO_N "(cached) $ECHO_C" >&6
34333 cat >conftest.$ac_ext <<_ACEOF
34336 cat confdefs.h >>conftest.$ac_ext
34337 cat >>conftest.$ac_ext <<_ACEOF
34338 /* end confdefs.h. */
34341 #include <stdarg.h>
34343 #if __MSL__ >= 0x6000
34345 using namespace std;
34354 const char *fmt = "%s";
34355 snprintf(buf, 10u, fmt, "wx");
34361 rm -f conftest.$ac_objext
34362 if { (ac_try="$ac_compile"
34363 case "(($ac_try" in
34364 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34365 *) ac_try_echo
=$ac_try;;
34367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34368 (eval "$ac_compile") 2>conftest.er1
34370 grep -v '^ *+' conftest.er1
>conftest.err
34372 cat conftest.err
>&5
34373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34374 (exit $ac_status); } && {
34375 test -z "$ac_c_werror_flag" ||
34376 test ! -s conftest.err
34377 } && test -s conftest.
$ac_objext; then
34378 wx_cv_func_broken_snprintf_decl
=no
34380 echo "$as_me: failed program was:" >&5
34381 sed 's/^/| /' conftest.
$ac_ext >&5
34383 wx_cv_func_broken_snprintf_decl
=yes
34387 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34391 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
34392 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6; }
34394 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
34395 cat >>confdefs.h
<<\_ACEOF
34396 #define HAVE_BROKEN_SNPRINTF_DECL 1
34402 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
34404 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
34405 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
34406 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
34407 echo $ECHO_N "(cached) $ECHO_C" >&6
34410 if test "$cross_compiling" = yes; then
34412 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
34413 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
34414 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
34415 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
34416 wx_cv_func_snprintf_pos_params
=no
34420 cat >conftest.
$ac_ext <<_ACEOF
34423 cat confdefs.h
>>conftest.
$ac_ext
34424 cat >>conftest.
$ac_ext <<_ACEOF
34425 /* end confdefs.h. */
34432 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
34433 if (strcmp ("2 3 1", buffer) == 0)
34439 rm -f conftest
$ac_exeext
34440 if { (ac_try
="$ac_link"
34441 case "(($ac_try" in
34442 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34443 *) ac_try_echo=$ac_try;;
34445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34446 (eval "$ac_link") 2>&5
34448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34449 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
34450 { (case "(($ac_try" in
34451 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34452 *) ac_try_echo
=$ac_try;;
34454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34455 (eval "$ac_try") 2>&5
34457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34458 (exit $ac_status); }; }; then
34459 wx_cv_func_snprintf_pos_params
=no
34461 echo "$as_me: program exited with status $ac_status" >&5
34462 echo "$as_me: failed program was:" >&5
34463 sed 's/^/| /' conftest.
$ac_ext >&5
34465 ( exit $ac_status )
34466 wx_cv_func_snprintf_pos_params
=yes
34468 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
34475 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
34476 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
34478 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
34479 cat >>confdefs.h
<<\_ACEOF
34480 #define HAVE_UNIX98_PRINTF 1
34487 if test "$wxUSE_UNICODE" = yes; then
34490 for ac_func
in swprintf
34492 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34493 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34494 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34495 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34496 echo $ECHO_N "(cached) $ECHO_C" >&6
34498 cat >conftest.
$ac_ext <<_ACEOF
34501 cat confdefs.h
>>conftest.
$ac_ext
34502 cat >>conftest.
$ac_ext <<_ACEOF
34503 /* end confdefs.h. */
34504 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34505 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34506 #define $ac_func innocuous_$ac_func
34508 /* System header to define __stub macros and hopefully few prototypes,
34509 which can conflict with char $ac_func (); below.
34510 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34511 <limits.h> exists even on freestanding compilers. */
34514 # include <limits.h>
34516 # include <assert.h>
34521 /* Override any GCC internal prototype to avoid an error.
34522 Use char because int might match the return type of a GCC
34523 builtin and then its argument prototype would still apply. */
34528 /* The GNU C library defines this for functions which it implements
34529 to always fail with ENOSYS. Some functions are actually named
34530 something starting with __ and the normal name is an alias. */
34531 #if defined __stub_$ac_func || defined __stub___$ac_func
34538 return $ac_func ();
34543 rm -f conftest.
$ac_objext conftest
$ac_exeext
34544 if { (ac_try
="$ac_link"
34545 case "(($ac_try" in
34546 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34547 *) ac_try_echo=$ac_try;;
34549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34550 (eval "$ac_link") 2>conftest.er1
34552 grep -v '^ *+' conftest.er1 >conftest.err
34554 cat conftest.err >&5
34555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34556 (exit $ac_status); } && {
34557 test -z "$ac_c_werror_flag" ||
34558 test ! -s conftest.err
34559 } && test -s conftest$ac_exeext &&
34560 $as_test_x conftest$ac_exeext; then
34561 eval "$as_ac_var=yes"
34563 echo "$as_me: failed program was:" >&5
34564 sed 's/^/| /' conftest.$ac_ext >&5
34566 eval "$as_ac_var=no"
34569 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34570 conftest$ac_exeext conftest.$ac_ext
34572 ac_res=`eval echo '${'$as_ac_var'}'`
34573 { echo "$as_me:$LINENO: result: $ac_res" >&5
34574 echo "${ECHO_T}$ac_res" >&6; }
34575 if test `eval echo '${'$as_ac_var'}'` = yes; then
34576 cat >>confdefs.h <<_ACEOF
34577 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34584 if test "$ac_cv_func_swprintf" = "yes"; then
34585 { echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
34586 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6; }
34587 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
34588 echo $ECHO_N "(cached) $ECHO_C" >&6
34591 cat >conftest.$ac_ext <<_ACEOF
34594 cat confdefs.h >>conftest.$ac_ext
34595 cat >>conftest.$ac_ext <<_ACEOF
34596 /* end confdefs.h. */
34599 #include <stdarg.h>
34607 const wchar_t *fmt = L"test";
34608 swprintf(buf, 10u, fmt);
34614 rm -f conftest.$ac_objext
34615 if { (ac_try="$ac_compile"
34616 case "(($ac_try" in
34617 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34618 *) ac_try_echo
=$ac_try;;
34620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34621 (eval "$ac_compile") 2>conftest.er1
34623 grep -v '^ *+' conftest.er1
>conftest.err
34625 cat conftest.err
>&5
34626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34627 (exit $ac_status); } && {
34628 test -z "$ac_c_werror_flag" ||
34629 test ! -s conftest.err
34630 } && test -s conftest.
$ac_objext; then
34631 wx_cv_func_broken_swprintf_decl
=no
34633 echo "$as_me: failed program was:" >&5
34634 sed 's/^/| /' conftest.
$ac_ext >&5
34636 wx_cv_func_broken_swprintf_decl
=yes
34640 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34644 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
34645 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6; }
34647 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
34648 cat >>confdefs.h
<<\_ACEOF
34649 #define HAVE_BROKEN_SWPRINTF_DECL 1
34655 wchar_headers
="#include <stdio.h>
34656 #include <wchar.h>"
34659 { echo "$as_me:$LINENO: checking for widec.h" >&5
34660 echo $ECHO_N "checking for widec.h... $ECHO_C" >&6; }
34661 if test "${ac_cv_header_widec_h+set}" = set; then
34662 echo $ECHO_N "(cached) $ECHO_C" >&6
34664 cat >conftest.
$ac_ext <<_ACEOF
34667 cat confdefs.h
>>conftest.
$ac_ext
34668 cat >>conftest.
$ac_ext <<_ACEOF
34669 /* end confdefs.h. */
34670 $ac_includes_default
34674 rm -f conftest.
$ac_objext
34675 if { (ac_try
="$ac_compile"
34676 case "(($ac_try" in
34677 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34678 *) ac_try_echo=$ac_try;;
34680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34681 (eval "$ac_compile") 2>conftest.er1
34683 grep -v '^ *+' conftest.er1 >conftest.err
34685 cat conftest.err >&5
34686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34687 (exit $ac_status); } && {
34688 test -z "$ac_c_werror_flag" ||
34689 test ! -s conftest.err
34690 } && test -s conftest.$ac_objext; then
34691 ac_cv_header_widec_h=yes
34693 echo "$as_me: failed program was:" >&5
34694 sed 's/^/| /' conftest.$ac_ext >&5
34696 ac_cv_header_widec_h=no
34699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34701 { echo "$as_me:$LINENO: result: $ac_cv_header_widec_h" >&5
34702 echo "${ECHO_T}$ac_cv_header_widec_h" >&6; }
34705 if test "$ac_cv_header_widec_h" = "yes"; then
34706 wchar_headers="$wchar_headers
34707 #include <widec.h>"
34712 for wx_func in wputc wputchar putws fputws wprintf vswprintf
34714 { echo "$as_me:$LINENO: checking for $wx_func" >&5
34715 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
34716 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
34717 echo $ECHO_N "(cached) $ECHO_C" >&6
34720 cat >conftest.$ac_ext <<_ACEOF
34724 cat confdefs.h >>conftest.$ac_ext
34725 cat >>conftest.$ac_ext <<_ACEOF
34726 /* end confdefs.h. */
34729 $ac_includes_default
34745 rm -f conftest.$ac_objext conftest$ac_exeext
34746 if { (ac_try="$ac_link"
34747 case "(($ac_try" in
34748 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34749 *) ac_try_echo
=$ac_try;;
34751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34752 (eval "$ac_link") 2>conftest.er1
34754 grep -v '^ *+' conftest.er1
>conftest.err
34756 cat conftest.err
>&5
34757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34758 (exit $ac_status); } && {
34759 test -z "$ac_c_werror_flag" ||
34760 test ! -s conftest.err
34761 } && test -s conftest
$ac_exeext &&
34762 $as_test_x conftest
$ac_exeext; then
34763 eval wx_cv_func_
$wx_func=yes
34765 echo "$as_me: failed program was:" >&5
34766 sed 's/^/| /' conftest.
$ac_ext >&5
34768 eval wx_cv_func_
$wx_func=no
34771 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34772 conftest
$ac_exeext conftest.
$ac_ext
34775 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
34776 { echo "$as_me:$LINENO: result: $ac_res" >&5
34777 echo "${ECHO_T}$ac_res" >&6; }
34779 if eval test \
$wx_cv_func_$wx_func = yes
34781 cat >>confdefs.h
<<_ACEOF
34782 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
34793 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
34794 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
34795 cat >conftest.
$ac_ext <<_ACEOF
34798 cat confdefs.h
>>conftest.
$ac_ext
34799 cat >>conftest.
$ac_ext <<_ACEOF
34800 /* end confdefs.h. */
34810 rm -f conftest.
$ac_objext
34811 if { (ac_try
="$ac_compile"
34812 case "(($ac_try" in
34813 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34814 *) ac_try_echo=$ac_try;;
34816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34817 (eval "$ac_compile") 2>conftest.er1
34819 grep -v '^ *+' conftest.er1 >conftest.err
34821 cat conftest.err >&5
34822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34823 (exit $ac_status); } && {
34824 test -z "$ac_c_werror_flag" ||
34825 test ! -s conftest.err
34826 } && test -s conftest.$ac_objext; then
34827 { echo "$as_me:$LINENO: result: yes" >&5
34828 echo "${ECHO_T}yes" >&6; }
34829 cat >>confdefs.h <<\_ACEOF
34830 #define HAVE__VSNWPRINTF 1
34834 echo "$as_me: failed program was:" >&5
34835 sed 's/^/| /' conftest.$ac_ext >&5
34837 { echo "$as_me:$LINENO: result: no" >&5
34838 echo "${ECHO_T}no" >&6; }
34841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
34844 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
34846 for wx_func in fnmatch
34848 { echo "$as_me:$LINENO: checking for $wx_func" >&5
34849 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
34850 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
34851 echo $ECHO_N "(cached) $ECHO_C" >&6
34854 cat >conftest.$ac_ext <<_ACEOF
34858 cat confdefs.h >>conftest.$ac_ext
34859 cat >>conftest.$ac_ext <<_ACEOF
34860 /* end confdefs.h. */
34862 #include <fnmatch.h>
34863 $ac_includes_default
34879 rm -f conftest.$ac_objext conftest$ac_exeext
34880 if { (ac_try="$ac_link"
34881 case "(($ac_try" in
34882 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34883 *) ac_try_echo
=$ac_try;;
34885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34886 (eval "$ac_link") 2>conftest.er1
34888 grep -v '^ *+' conftest.er1
>conftest.err
34890 cat conftest.err
>&5
34891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34892 (exit $ac_status); } && {
34893 test -z "$ac_c_werror_flag" ||
34894 test ! -s conftest.err
34895 } && test -s conftest
$ac_exeext &&
34896 $as_test_x conftest
$ac_exeext; then
34897 eval wx_cv_func_
$wx_func=yes
34899 echo "$as_me: failed program was:" >&5
34900 sed 's/^/| /' conftest.
$ac_ext >&5
34902 eval wx_cv_func_
$wx_func=no
34905 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34906 conftest
$ac_exeext conftest.
$ac_ext
34909 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
34910 { echo "$as_me:$LINENO: result: $ac_res" >&5
34911 echo "${ECHO_T}$ac_res" >&6; }
34913 if eval test \
$wx_cv_func_$wx_func = yes
34915 cat >>confdefs.h
<<_ACEOF
34916 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
34928 if test "$wxUSE_FILE" = "yes"; then
34930 for wx_func
in fsync
34932 { echo "$as_me:$LINENO: checking for $wx_func" >&5
34933 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
34934 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
34935 echo $ECHO_N "(cached) $ECHO_C" >&6
34938 cat >conftest.
$ac_ext <<_ACEOF
34942 cat confdefs.h
>>conftest.
$ac_ext
34943 cat >>conftest.
$ac_ext <<_ACEOF
34944 /* end confdefs.h. */
34947 $ac_includes_default
34963 rm -f conftest.
$ac_objext conftest
$ac_exeext
34964 if { (ac_try
="$ac_link"
34965 case "(($ac_try" in
34966 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34967 *) ac_try_echo=$ac_try;;
34969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34970 (eval "$ac_link") 2>conftest.er1
34972 grep -v '^ *+' conftest.er1 >conftest.err
34974 cat conftest.err >&5
34975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34976 (exit $ac_status); } && {
34977 test -z "$ac_c_werror_flag" ||
34978 test ! -s conftest.err
34979 } && test -s conftest$ac_exeext &&
34980 $as_test_x conftest$ac_exeext; then
34981 eval wx_cv_func_$wx_func=yes
34983 echo "$as_me: failed program was:" >&5
34984 sed 's/^/| /' conftest.$ac_ext >&5
34986 eval wx_cv_func_$wx_func=no
34989 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34990 conftest$ac_exeext conftest.$ac_ext
34993 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
34994 { echo "$as_me:$LINENO: result: $ac_res" >&5
34995 echo "${ECHO_T}$ac_res" >&6; }
34997 if eval test \$wx_cv_func_$wx_func = yes
34999 cat >>confdefs.h <<_ACEOF
35000 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35013 for wx_func in round
35015 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35016 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35017 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35018 echo $ECHO_N "(cached) $ECHO_C" >&6
35021 cat >conftest.$ac_ext <<_ACEOF
35025 cat confdefs.h >>conftest.$ac_ext
35026 cat >>conftest.$ac_ext <<_ACEOF
35027 /* end confdefs.h. */
35030 $ac_includes_default
35046 rm -f conftest.$ac_objext conftest$ac_exeext
35047 if { (ac_try="$ac_link"
35048 case "(($ac_try" in
35049 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35050 *) ac_try_echo
=$ac_try;;
35052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35053 (eval "$ac_link") 2>conftest.er1
35055 grep -v '^ *+' conftest.er1
>conftest.err
35057 cat conftest.err
>&5
35058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35059 (exit $ac_status); } && {
35060 test -z "$ac_c_werror_flag" ||
35061 test ! -s conftest.err
35062 } && test -s conftest
$ac_exeext &&
35063 $as_test_x conftest
$ac_exeext; then
35064 eval wx_cv_func_
$wx_func=yes
35066 echo "$as_me: failed program was:" >&5
35067 sed 's/^/| /' conftest.
$ac_ext >&5
35069 eval wx_cv_func_
$wx_func=no
35072 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35073 conftest
$ac_exeext conftest.
$ac_ext
35076 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
35077 { echo "$as_me:$LINENO: result: $ac_res" >&5
35078 echo "${ECHO_T}$ac_res" >&6; }
35080 if eval test \
$wx_cv_func_$wx_func = yes
35082 cat >>confdefs.h
<<_ACEOF
35083 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35094 if test "$TOOLKIT" != "MSW"; then
35100 # Check whether --with-libiconv-prefix was given.
35101 if test "${with_libiconv_prefix+set}" = set; then
35102 withval
=$with_libiconv_prefix;
35103 for dir
in `echo "$withval" | tr : ' '`; do
35104 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
35105 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
35111 { echo "$as_me:$LINENO: checking for iconv" >&5
35112 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
35113 if test "${am_cv_func_iconv+set}" = set; then
35114 echo $ECHO_N "(cached) $ECHO_C" >&6
35117 am_cv_func_iconv
="no, consider installing GNU libiconv"
35119 cat >conftest.
$ac_ext <<_ACEOF
35122 cat confdefs.h
>>conftest.
$ac_ext
35123 cat >>conftest.
$ac_ext <<_ACEOF
35124 /* end confdefs.h. */
35125 #include <stdlib.h>
35130 iconv_t cd = iconv_open("","");
35131 iconv(cd,NULL,NULL,NULL,NULL);
35137 rm -f conftest.
$ac_objext conftest
$ac_exeext
35138 if { (ac_try
="$ac_link"
35139 case "(($ac_try" in
35140 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35141 *) ac_try_echo=$ac_try;;
35143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35144 (eval "$ac_link") 2>conftest.er1
35146 grep -v '^ *+' conftest.er1 >conftest.err
35148 cat conftest.err >&5
35149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35150 (exit $ac_status); } && {
35151 test -z "$ac_c_werror_flag" ||
35152 test ! -s conftest.err
35153 } && test -s conftest$ac_exeext &&
35154 $as_test_x conftest$ac_exeext; then
35155 am_cv_func_iconv=yes
35157 echo "$as_me: failed program was:" >&5
35158 sed 's/^/| /' conftest.$ac_ext >&5
35163 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35164 conftest$ac_exeext conftest.$ac_ext
35165 if test "$am_cv_func_iconv" != yes; then
35166 am_save_LIBS="$LIBS"
35167 LIBS="$LIBS -liconv"
35168 cat >conftest.$ac_ext <<_ACEOF
35171 cat confdefs.h >>conftest.$ac_ext
35172 cat >>conftest.$ac_ext <<_ACEOF
35173 /* end confdefs.h. */
35174 #include <stdlib.h>
35179 iconv_t cd = iconv_open("","");
35180 iconv(cd,NULL,NULL,NULL,NULL);
35186 rm -f conftest.$ac_objext conftest$ac_exeext
35187 if { (ac_try="$ac_link"
35188 case "(($ac_try" in
35189 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35190 *) ac_try_echo
=$ac_try;;
35192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35193 (eval "$ac_link") 2>conftest.er1
35195 grep -v '^ *+' conftest.er1
>conftest.err
35197 cat conftest.err
>&5
35198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35199 (exit $ac_status); } && {
35200 test -z "$ac_c_werror_flag" ||
35201 test ! -s conftest.err
35202 } && test -s conftest
$ac_exeext &&
35203 $as_test_x conftest
$ac_exeext; then
35204 am_cv_lib_iconv
=yes
35205 am_cv_func_iconv
=yes
35207 echo "$as_me: failed program was:" >&5
35208 sed 's/^/| /' conftest.
$ac_ext >&5
35213 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35214 conftest
$ac_exeext conftest.
$ac_ext
35215 LIBS
="$am_save_LIBS"
35219 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
35220 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
35221 if test "$am_cv_func_iconv" = yes; then
35223 cat >>confdefs.h
<<\_ACEOF
35224 #define HAVE_ICONV 1
35227 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
35228 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
35229 if test "${wx_cv_func_iconv_const+set}" = set; then
35230 echo $ECHO_N "(cached) $ECHO_C" >&6
35232 cat >conftest.
$ac_ext <<_ACEOF
35235 cat confdefs.h
>>conftest.
$ac_ext
35236 cat >>conftest.
$ac_ext <<_ACEOF
35237 /* end confdefs.h. */
35239 #include <stdlib.h>
35245 #if defined(__STDC__) || defined(__cplusplus)
35246 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
35259 rm -f conftest.
$ac_objext
35260 if { (ac_try
="$ac_compile"
35261 case "(($ac_try" in
35262 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35263 *) ac_try_echo=$ac_try;;
35265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35266 (eval "$ac_compile") 2>conftest.er1
35268 grep -v '^ *+' conftest.er1 >conftest.err
35270 cat conftest.err >&5
35271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35272 (exit $ac_status); } && {
35273 test -z "$ac_c_werror_flag" ||
35274 test ! -s conftest.err
35275 } && test -s conftest.$ac_objext; then
35276 wx_cv_func_iconv_const="no"
35278 echo "$as_me: failed program was:" >&5
35279 sed 's/^/| /' conftest.$ac_ext >&5
35281 wx_cv_func_iconv_const="yes"
35285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35288 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
35289 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
35292 if test "x$wx_cv_func_iconv_const" = "xyes"; then
35293 iconv_const="const"
35297 cat >>confdefs.h <<_ACEOF
35298 #define ICONV_CONST $iconv_const
35303 if test "$am_cv_lib_iconv" = yes; then
35308 LIBS="$LIBICONV $LIBS"
35310 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35312 for ac_func in sigaction
35314 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35315 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35316 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35317 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35318 echo $ECHO_N "(cached) $ECHO_C" >&6
35320 cat >conftest.$ac_ext <<_ACEOF
35323 cat confdefs.h >>conftest.$ac_ext
35324 cat >>conftest.$ac_ext <<_ACEOF
35325 /* end confdefs.h. */
35326 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35327 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35328 #define $ac_func innocuous_$ac_func
35330 /* System header to define __stub macros and hopefully few prototypes,
35331 which can conflict with char $ac_func (); below.
35332 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35333 <limits.h> exists even on freestanding compilers. */
35336 # include <limits.h>
35338 # include <assert.h>
35343 /* Override any GCC internal prototype to avoid an error.
35344 Use char because int might match the return type of a GCC
35345 builtin and then its argument prototype would still apply. */
35350 /* The GNU C library defines this for functions which it implements
35351 to always fail with ENOSYS. Some functions are actually named
35352 something starting with __ and the normal name is an alias. */
35353 #if defined __stub_$ac_func || defined __stub___$ac_func
35360 return $ac_func ();
35365 rm -f conftest.$ac_objext conftest$ac_exeext
35366 if { (ac_try="$ac_link"
35367 case "(($ac_try" in
35368 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35369 *) ac_try_echo
=$ac_try;;
35371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35372 (eval "$ac_link") 2>conftest.er1
35374 grep -v '^ *+' conftest.er1
>conftest.err
35376 cat conftest.err
>&5
35377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35378 (exit $ac_status); } && {
35379 test -z "$ac_c_werror_flag" ||
35380 test ! -s conftest.err
35381 } && test -s conftest
$ac_exeext &&
35382 $as_test_x conftest
$ac_exeext; then
35383 eval "$as_ac_var=yes"
35385 echo "$as_me: failed program was:" >&5
35386 sed 's/^/| /' conftest.
$ac_ext >&5
35388 eval "$as_ac_var=no"
35391 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35392 conftest
$ac_exeext conftest.
$ac_ext
35394 ac_res
=`eval echo '${'$as_ac_var'}'`
35395 { echo "$as_me:$LINENO: result: $ac_res" >&5
35396 echo "${ECHO_T}$ac_res" >&6; }
35397 if test `eval echo '${'$as_ac_var'}'` = yes; then
35398 cat >>confdefs.h
<<_ACEOF
35399 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35406 if test "$ac_cv_func_sigaction" = "no"; then
35407 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
35408 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
35409 wxUSE_ON_FATAL_EXCEPTION
=no
35412 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35413 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
35414 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
35415 if test "${wx_cv_type_sa_handler+set}" = set; then
35416 echo $ECHO_N "(cached) $ECHO_C" >&6
35420 ac_cpp
='$CXXCPP $CPPFLAGS'
35421 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35422 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35423 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35425 cat >conftest.
$ac_ext <<_ACEOF
35428 cat confdefs.h
>>conftest.
$ac_ext
35429 cat >>conftest.
$ac_ext <<_ACEOF
35430 /* end confdefs.h. */
35431 #include <signal.h>
35436 extern void testSigHandler(int);
35438 struct sigaction sa;
35439 sa.sa_handler = testSigHandler;
35445 rm -f conftest.
$ac_objext
35446 if { (ac_try
="$ac_compile"
35447 case "(($ac_try" in
35448 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35449 *) ac_try_echo=$ac_try;;
35451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35452 (eval "$ac_compile") 2>conftest.er1
35454 grep -v '^ *+' conftest.er1 >conftest.err
35456 cat conftest.err >&5
35457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35458 (exit $ac_status); } && {
35459 test -z "$ac_cxx_werror_flag" ||
35460 test ! -s conftest.err
35461 } && test -s conftest.$ac_objext; then
35463 wx_cv_type_sa_handler=int
35466 echo "$as_me: failed program was:" >&5
35467 sed 's/^/| /' conftest.$ac_ext >&5
35470 wx_cv_type_sa_handler=void
35474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35476 ac_cpp='$CPP $CPPFLAGS'
35477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35483 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
35484 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
35486 cat >>confdefs.h <<_ACEOF
35487 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
35493 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35494 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
35495 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
35496 if test "${wx_cv_func_backtrace+set}" = set; then
35497 echo $ECHO_N "(cached) $ECHO_C" >&6
35501 ac_cpp='$CXXCPP $CPPFLAGS'
35502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35506 cat >conftest.$ac_ext <<_ACEOF
35509 cat confdefs.h >>conftest.$ac_ext
35510 cat >>conftest.$ac_ext <<_ACEOF
35511 /* end confdefs.h. */
35512 #include <execinfo.h>
35520 backtrace(trace, 1);
35521 messages = backtrace_symbols(trace, 1);
35527 rm -f conftest.$ac_objext
35528 if { (ac_try="$ac_compile"
35529 case "(($ac_try" in
35530 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35531 *) ac_try_echo
=$ac_try;;
35533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35534 (eval "$ac_compile") 2>conftest.er1
35536 grep -v '^ *+' conftest.er1
>conftest.err
35538 cat conftest.err
>&5
35539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35540 (exit $ac_status); } && {
35541 test -z "$ac_cxx_werror_flag" ||
35542 test ! -s conftest.err
35543 } && test -s conftest.
$ac_objext; then
35544 wx_cv_func_backtrace
=yes
35546 echo "$as_me: failed program was:" >&5
35547 sed 's/^/| /' conftest.
$ac_ext >&5
35549 wx_cv_func_backtrace
=no
35553 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35555 ac_cpp
='$CPP $CPPFLAGS'
35556 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35557 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35558 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35563 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
35564 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
35567 if test "$wx_cv_func_backtrace" = "no"; then
35568 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
35569 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
35570 wxUSE_STACKWALKER
=no
35572 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
35573 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
35574 if test "${wx_cv_func_cxa_demangle+set}" = set; then
35575 echo $ECHO_N "(cached) $ECHO_C" >&6
35579 ac_cpp
='$CXXCPP $CPPFLAGS'
35580 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35581 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35582 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35584 cat >conftest.
$ac_ext <<_ACEOF
35587 cat confdefs.h
>>conftest.
$ac_ext
35588 cat >>conftest.
$ac_ext <<_ACEOF
35589 /* end confdefs.h. */
35590 #include <cxxabi.h>
35596 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
35602 rm -f conftest.
$ac_objext conftest
$ac_exeext
35603 if { (ac_try
="$ac_link"
35604 case "(($ac_try" in
35605 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35606 *) ac_try_echo=$ac_try;;
35608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35609 (eval "$ac_link") 2>conftest.er1
35611 grep -v '^ *+' conftest.er1 >conftest.err
35613 cat conftest.err >&5
35614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35615 (exit $ac_status); } && {
35616 test -z "$ac_cxx_werror_flag" ||
35617 test ! -s conftest.err
35618 } && test -s conftest$ac_exeext &&
35619 $as_test_x conftest$ac_exeext; then
35620 wx_cv_func_cxa_demangle=yes
35622 echo "$as_me: failed program was:" >&5
35623 sed 's/^/| /' conftest.$ac_ext >&5
35625 wx_cv_func_cxa_demangle=no
35629 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35630 conftest$ac_exeext conftest.$ac_ext
35632 ac_cpp='$CPP $CPPFLAGS'
35633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35640 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
35641 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
35643 if test "$wx_cv_func_cxa_demangle" = "yes"; then
35644 cat >>confdefs.h <<\_ACEOF
35645 #define HAVE_CXA_DEMANGLE 1
35652 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
35653 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
35654 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
35655 wxUSE_STACKWALKER=no
35661 for ac_func in mkstemp mktemp
35663 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35664 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35665 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35666 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35667 echo $ECHO_N "(cached) $ECHO_C" >&6
35669 cat >conftest.$ac_ext <<_ACEOF
35672 cat confdefs.h >>conftest.$ac_ext
35673 cat >>conftest.$ac_ext <<_ACEOF
35674 /* end confdefs.h. */
35675 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35676 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35677 #define $ac_func innocuous_$ac_func
35679 /* System header to define __stub macros and hopefully few prototypes,
35680 which can conflict with char $ac_func (); below.
35681 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35682 <limits.h> exists even on freestanding compilers. */
35685 # include <limits.h>
35687 # include <assert.h>
35692 /* Override any GCC internal prototype to avoid an error.
35693 Use char because int might match the return type of a GCC
35694 builtin and then its argument prototype would still apply. */
35699 /* The GNU C library defines this for functions which it implements
35700 to always fail with ENOSYS. Some functions are actually named
35701 something starting with __ and the normal name is an alias. */
35702 #if defined __stub_$ac_func || defined __stub___$ac_func
35709 return $ac_func ();
35714 rm -f conftest.$ac_objext conftest$ac_exeext
35715 if { (ac_try="$ac_link"
35716 case "(($ac_try" in
35717 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35718 *) ac_try_echo
=$ac_try;;
35720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35721 (eval "$ac_link") 2>conftest.er1
35723 grep -v '^ *+' conftest.er1
>conftest.err
35725 cat conftest.err
>&5
35726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35727 (exit $ac_status); } && {
35728 test -z "$ac_c_werror_flag" ||
35729 test ! -s conftest.err
35730 } && test -s conftest
$ac_exeext &&
35731 $as_test_x conftest
$ac_exeext; then
35732 eval "$as_ac_var=yes"
35734 echo "$as_me: failed program was:" >&5
35735 sed 's/^/| /' conftest.
$ac_ext >&5
35737 eval "$as_ac_var=no"
35740 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35741 conftest
$ac_exeext conftest.
$ac_ext
35743 ac_res
=`eval echo '${'$as_ac_var'}'`
35744 { echo "$as_me:$LINENO: result: $ac_res" >&5
35745 echo "${ECHO_T}$ac_res" >&6; }
35746 if test `eval echo '${'$as_ac_var'}'` = yes; then
35747 cat >>confdefs.h
<<_ACEOF
35748 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35755 { echo "$as_me:$LINENO: checking for statfs" >&5
35756 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
35757 if test "${wx_cv_func_statfs+set}" = set; then
35758 echo $ECHO_N "(cached) $ECHO_C" >&6
35760 cat >conftest.
$ac_ext <<_ACEOF
35763 cat confdefs.h
>>conftest.
$ac_ext
35764 cat >>conftest.
$ac_ext <<_ACEOF
35765 /* end confdefs.h. */
35767 #if defined(__BSD__)
35768 #include <sys/param.h>
35769 #include <sys/mount.h>
35771 #include <sys/vfs.h>
35789 rm -f conftest.
$ac_objext
35790 if { (ac_try
="$ac_compile"
35791 case "(($ac_try" in
35792 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35793 *) ac_try_echo=$ac_try;;
35795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35796 (eval "$ac_compile") 2>conftest.er1
35798 grep -v '^ *+' conftest.er1 >conftest.err
35800 cat conftest.err >&5
35801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35802 (exit $ac_status); } && {
35803 test -z "$ac_c_werror_flag" ||
35804 test ! -s conftest.err
35805 } && test -s conftest.$ac_objext; then
35806 wx_cv_func_statfs=yes
35808 echo "$as_me: failed program was:" >&5
35809 sed 's/^/| /' conftest.$ac_ext >&5
35811 wx_cv_func_statfs=no
35815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35818 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
35819 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
35821 if test "$wx_cv_func_statfs" = "yes"; then
35822 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
35823 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
35824 if test "${wx_cv_func_statfs_decl+set}" = set; then
35825 echo $ECHO_N "(cached) $ECHO_C" >&6
35828 ac_cpp='$CXXCPP $CPPFLAGS'
35829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35833 cat >conftest.$ac_ext <<_ACEOF
35836 cat confdefs.h >>conftest.$ac_ext
35837 cat >>conftest.$ac_ext <<_ACEOF
35838 /* end confdefs.h. */
35840 #if defined(__BSD__)
35841 #include <sys/param.h>
35842 #include <sys/mount.h>
35844 #include <sys/vfs.h>
35858 rm -f conftest.$ac_objext
35859 if { (ac_try="$ac_compile"
35860 case "(($ac_try" in
35861 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35862 *) ac_try_echo
=$ac_try;;
35864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35865 (eval "$ac_compile") 2>conftest.er1
35867 grep -v '^ *+' conftest.er1
>conftest.err
35869 cat conftest.err
>&5
35870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35871 (exit $ac_status); } && {
35872 test -z "$ac_cxx_werror_flag" ||
35873 test ! -s conftest.err
35874 } && test -s conftest.
$ac_objext; then
35875 wx_cv_func_statfs_decl
=yes
35877 echo "$as_me: failed program was:" >&5
35878 sed 's/^/| /' conftest.
$ac_ext >&5
35880 wx_cv_func_statfs_decl
=no
35884 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35886 ac_cpp
='$CPP $CPPFLAGS'
35887 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35888 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35889 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35893 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
35894 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
35896 if test "$wx_cv_func_statfs_decl" = "yes"; then
35897 cat >>confdefs.h
<<\_ACEOF
35898 #define HAVE_STATFS_DECL 1
35903 wx_cv_type_statvfs_t
="struct statfs"
35904 cat >>confdefs.h
<<\_ACEOF
35905 #define HAVE_STATFS 1
35909 { echo "$as_me:$LINENO: checking for statvfs" >&5
35910 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
35911 if test "${wx_cv_func_statvfs+set}" = set; then
35912 echo $ECHO_N "(cached) $ECHO_C" >&6
35914 cat >conftest.
$ac_ext <<_ACEOF
35917 cat confdefs.h
>>conftest.
$ac_ext
35918 cat >>conftest.
$ac_ext <<_ACEOF
35919 /* end confdefs.h. */
35921 #include <stddef.h>
35922 #include <sys/statvfs.h>
35928 statvfs("/", NULL);
35934 rm -f conftest.
$ac_objext
35935 if { (ac_try
="$ac_compile"
35936 case "(($ac_try" in
35937 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35938 *) ac_try_echo=$ac_try;;
35940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35941 (eval "$ac_compile") 2>conftest.er1
35943 grep -v '^ *+' conftest.er1 >conftest.err
35945 cat conftest.err >&5
35946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35947 (exit $ac_status); } && {
35948 test -z "$ac_c_werror_flag" ||
35949 test ! -s conftest.err
35950 } && test -s conftest.$ac_objext; then
35951 wx_cv_func_statvfs=yes
35953 echo "$as_me: failed program was:" >&5
35954 sed 's/^/| /' conftest.$ac_ext >&5
35956 wx_cv_func_statvfs=no
35960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35963 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
35964 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
35966 if test "$wx_cv_func_statvfs" = "yes"; then
35967 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
35968 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
35969 if test "${wx_cv_type_statvfs_t+set}" = set; then
35970 echo $ECHO_N "(cached) $ECHO_C" >&6
35973 ac_cpp='$CXXCPP $CPPFLAGS'
35974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35978 cat >conftest.$ac_ext <<_ACEOF
35981 cat confdefs.h >>conftest.$ac_ext
35982 cat >>conftest.$ac_ext <<_ACEOF
35983 /* end confdefs.h. */
35985 #include <sys/statvfs.h>
36002 rm -f conftest.$ac_objext
36003 if { (ac_try="$ac_compile"
36004 case "(($ac_try" in
36005 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36006 *) ac_try_echo
=$ac_try;;
36008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36009 (eval "$ac_compile") 2>conftest.er1
36011 grep -v '^ *+' conftest.er1
>conftest.err
36013 cat conftest.err
>&5
36014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36015 (exit $ac_status); } && {
36016 test -z "$ac_cxx_werror_flag" ||
36017 test ! -s conftest.err
36018 } && test -s conftest.
$ac_objext; then
36019 wx_cv_type_statvfs_t
=statvfs_t
36021 echo "$as_me: failed program was:" >&5
36022 sed 's/^/| /' conftest.
$ac_ext >&5
36025 cat >conftest.
$ac_ext <<_ACEOF
36028 cat confdefs.h
>>conftest.
$ac_ext
36029 cat >>conftest.
$ac_ext <<_ACEOF
36030 /* end confdefs.h. */
36032 #include <sys/statvfs.h>
36049 rm -f conftest.
$ac_objext
36050 if { (ac_try
="$ac_compile"
36051 case "(($ac_try" in
36052 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36053 *) ac_try_echo=$ac_try;;
36055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36056 (eval "$ac_compile") 2>conftest.er1
36058 grep -v '^ *+' conftest.er1 >conftest.err
36060 cat conftest.err >&5
36061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36062 (exit $ac_status); } && {
36063 test -z "$ac_cxx_werror_flag" ||
36064 test ! -s conftest.err
36065 } && test -s conftest.$ac_objext; then
36066 wx_cv_type_statvfs_t="struct statvfs"
36068 echo "$as_me: failed program was:" >&5
36069 sed 's/^/| /' conftest.$ac_ext >&5
36071 wx_cv_type_statvfs_t="unknown"
36075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36082 ac_cpp='$CPP $CPPFLAGS'
36083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36089 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
36090 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
36092 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36093 cat >>confdefs.h <<\_ACEOF
36094 #define HAVE_STATVFS 1
36099 wx_cv_type_statvfs_t="unknown"
36103 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36104 cat >>confdefs.h <<_ACEOF
36105 #define WX_STATFS_T $wx_cv_type_statvfs_t
36109 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
36110 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
36113 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36116 for ac_func in fcntl flock
36118 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36119 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36120 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36121 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36122 echo $ECHO_N "(cached) $ECHO_C" >&6
36124 cat >conftest.$ac_ext <<_ACEOF
36127 cat confdefs.h >>conftest.$ac_ext
36128 cat >>conftest.$ac_ext <<_ACEOF
36129 /* end confdefs.h. */
36130 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36131 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36132 #define $ac_func innocuous_$ac_func
36134 /* System header to define __stub macros and hopefully few prototypes,
36135 which can conflict with char $ac_func (); below.
36136 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36137 <limits.h> exists even on freestanding compilers. */
36140 # include <limits.h>
36142 # include <assert.h>
36147 /* Override any GCC internal prototype to avoid an error.
36148 Use char because int might match the return type of a GCC
36149 builtin and then its argument prototype would still apply. */
36154 /* The GNU C library defines this for functions which it implements
36155 to always fail with ENOSYS. Some functions are actually named
36156 something starting with __ and the normal name is an alias. */
36157 #if defined __stub_$ac_func || defined __stub___$ac_func
36164 return $ac_func ();
36169 rm -f conftest.$ac_objext conftest$ac_exeext
36170 if { (ac_try="$ac_link"
36171 case "(($ac_try" in
36172 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36173 *) ac_try_echo
=$ac_try;;
36175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36176 (eval "$ac_link") 2>conftest.er1
36178 grep -v '^ *+' conftest.er1
>conftest.err
36180 cat conftest.err
>&5
36181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36182 (exit $ac_status); } && {
36183 test -z "$ac_c_werror_flag" ||
36184 test ! -s conftest.err
36185 } && test -s conftest
$ac_exeext &&
36186 $as_test_x conftest
$ac_exeext; then
36187 eval "$as_ac_var=yes"
36189 echo "$as_me: failed program was:" >&5
36190 sed 's/^/| /' conftest.
$ac_ext >&5
36192 eval "$as_ac_var=no"
36195 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36196 conftest
$ac_exeext conftest.
$ac_ext
36198 ac_res
=`eval echo '${'$as_ac_var'}'`
36199 { echo "$as_me:$LINENO: result: $ac_res" >&5
36200 echo "${ECHO_T}$ac_res" >&6; }
36201 if test `eval echo '${'$as_ac_var'}'` = yes; then
36202 cat >>confdefs.h
<<_ACEOF
36203 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36210 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
36211 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
36212 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
36213 wxUSE_SNGLINST_CHECKER
=no
36218 for ac_func
in timegm
36220 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36221 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36222 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36223 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36224 echo $ECHO_N "(cached) $ECHO_C" >&6
36226 cat >conftest.
$ac_ext <<_ACEOF
36229 cat confdefs.h
>>conftest.
$ac_ext
36230 cat >>conftest.
$ac_ext <<_ACEOF
36231 /* end confdefs.h. */
36232 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36233 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36234 #define $ac_func innocuous_$ac_func
36236 /* System header to define __stub macros and hopefully few prototypes,
36237 which can conflict with char $ac_func (); below.
36238 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36239 <limits.h> exists even on freestanding compilers. */
36242 # include <limits.h>
36244 # include <assert.h>
36249 /* Override any GCC internal prototype to avoid an error.
36250 Use char because int might match the return type of a GCC
36251 builtin and then its argument prototype would still apply. */
36256 /* The GNU C library defines this for functions which it implements
36257 to always fail with ENOSYS. Some functions are actually named
36258 something starting with __ and the normal name is an alias. */
36259 #if defined __stub_$ac_func || defined __stub___$ac_func
36266 return $ac_func ();
36271 rm -f conftest.
$ac_objext conftest
$ac_exeext
36272 if { (ac_try
="$ac_link"
36273 case "(($ac_try" in
36274 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36275 *) ac_try_echo=$ac_try;;
36277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36278 (eval "$ac_link") 2>conftest.er1
36280 grep -v '^ *+' conftest.er1 >conftest.err
36282 cat conftest.err >&5
36283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36284 (exit $ac_status); } && {
36285 test -z "$ac_c_werror_flag" ||
36286 test ! -s conftest.err
36287 } && test -s conftest$ac_exeext &&
36288 $as_test_x conftest$ac_exeext; then
36289 eval "$as_ac_var=yes"
36291 echo "$as_me: failed program was:" >&5
36292 sed 's/^/| /' conftest.$ac_ext >&5
36294 eval "$as_ac_var=no"
36297 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36298 conftest$ac_exeext conftest.$ac_ext
36300 ac_res=`eval echo '${'$as_ac_var'}'`
36301 { echo "$as_me:$LINENO: result: $ac_res" >&5
36302 echo "${ECHO_T}$ac_res" >&6; }
36303 if test `eval echo '${'$as_ac_var'}'` = yes; then
36304 cat >>confdefs.h <<_ACEOF
36305 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36314 for ac_func in putenv setenv
36316 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36317 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36318 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36319 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36320 echo $ECHO_N "(cached) $ECHO_C" >&6
36322 cat >conftest.$ac_ext <<_ACEOF
36325 cat confdefs.h >>conftest.$ac_ext
36326 cat >>conftest.$ac_ext <<_ACEOF
36327 /* end confdefs.h. */
36328 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36329 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36330 #define $ac_func innocuous_$ac_func
36332 /* System header to define __stub macros and hopefully few prototypes,
36333 which can conflict with char $ac_func (); below.
36334 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36335 <limits.h> exists even on freestanding compilers. */
36338 # include <limits.h>
36340 # include <assert.h>
36345 /* Override any GCC internal prototype to avoid an error.
36346 Use char because int might match the return type of a GCC
36347 builtin and then its argument prototype would still apply. */
36352 /* The GNU C library defines this for functions which it implements
36353 to always fail with ENOSYS. Some functions are actually named
36354 something starting with __ and the normal name is an alias. */
36355 #if defined __stub_$ac_func || defined __stub___$ac_func
36362 return $ac_func ();
36367 rm -f conftest.$ac_objext conftest$ac_exeext
36368 if { (ac_try="$ac_link"
36369 case "(($ac_try" in
36370 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36371 *) ac_try_echo
=$ac_try;;
36373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36374 (eval "$ac_link") 2>conftest.er1
36376 grep -v '^ *+' conftest.er1
>conftest.err
36378 cat conftest.err
>&5
36379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36380 (exit $ac_status); } && {
36381 test -z "$ac_c_werror_flag" ||
36382 test ! -s conftest.err
36383 } && test -s conftest
$ac_exeext &&
36384 $as_test_x conftest
$ac_exeext; then
36385 eval "$as_ac_var=yes"
36387 echo "$as_me: failed program was:" >&5
36388 sed 's/^/| /' conftest.
$ac_ext >&5
36390 eval "$as_ac_var=no"
36393 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36394 conftest
$ac_exeext conftest.
$ac_ext
36396 ac_res
=`eval echo '${'$as_ac_var'}'`
36397 { echo "$as_me:$LINENO: result: $ac_res" >&5
36398 echo "${ECHO_T}$ac_res" >&6; }
36399 if test `eval echo '${'$as_ac_var'}'` = yes; then
36400 cat >>confdefs.h
<<_ACEOF
36401 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36408 HAVE_SOME_SLEEP_FUNC
=0
36409 if test "$USE_BEOS" = 1; then
36410 cat >>confdefs.h
<<\_ACEOF
36411 #define HAVE_SLEEP 1
36414 HAVE_SOME_SLEEP_FUNC
=1
36417 if test "$USE_DARWIN" = 1; then
36418 cat >>confdefs.h
<<\_ACEOF
36419 #define HAVE_USLEEP 1
36422 HAVE_SOME_SLEEP_FUNC
=1
36425 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
36428 for ac_func
in nanosleep
36430 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36431 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36432 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36433 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36434 echo $ECHO_N "(cached) $ECHO_C" >&6
36436 cat >conftest.
$ac_ext <<_ACEOF
36439 cat confdefs.h
>>conftest.
$ac_ext
36440 cat >>conftest.
$ac_ext <<_ACEOF
36441 /* end confdefs.h. */
36442 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36443 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36444 #define $ac_func innocuous_$ac_func
36446 /* System header to define __stub macros and hopefully few prototypes,
36447 which can conflict with char $ac_func (); below.
36448 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36449 <limits.h> exists even on freestanding compilers. */
36452 # include <limits.h>
36454 # include <assert.h>
36459 /* Override any GCC internal prototype to avoid an error.
36460 Use char because int might match the return type of a GCC
36461 builtin and then its argument prototype would still apply. */
36466 /* The GNU C library defines this for functions which it implements
36467 to always fail with ENOSYS. Some functions are actually named
36468 something starting with __ and the normal name is an alias. */
36469 #if defined __stub_$ac_func || defined __stub___$ac_func
36476 return $ac_func ();
36481 rm -f conftest.
$ac_objext conftest
$ac_exeext
36482 if { (ac_try
="$ac_link"
36483 case "(($ac_try" in
36484 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36485 *) ac_try_echo=$ac_try;;
36487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36488 (eval "$ac_link") 2>conftest.er1
36490 grep -v '^ *+' conftest.er1 >conftest.err
36492 cat conftest.err >&5
36493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36494 (exit $ac_status); } && {
36495 test -z "$ac_c_werror_flag" ||
36496 test ! -s conftest.err
36497 } && test -s conftest$ac_exeext &&
36498 $as_test_x conftest$ac_exeext; then
36499 eval "$as_ac_var=yes"
36501 echo "$as_me: failed program was:" >&5
36502 sed 's/^/| /' conftest.$ac_ext >&5
36504 eval "$as_ac_var=no"
36507 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36508 conftest$ac_exeext conftest.$ac_ext
36510 ac_res=`eval echo '${'$as_ac_var'}'`
36511 { echo "$as_me:$LINENO: result: $ac_res" >&5
36512 echo "${ECHO_T}$ac_res" >&6; }
36513 if test `eval echo '${'$as_ac_var'}'` = yes; then
36514 cat >>confdefs.h <<_ACEOF
36515 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36517 cat >>confdefs.h <<\_ACEOF
36518 #define HAVE_NANOSLEEP 1
36523 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
36524 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
36525 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
36526 echo $ECHO_N "(cached) $ECHO_C" >&6
36528 ac_check_lib_save_LIBS=$LIBS
36529 LIBS="-lposix4 $LIBS"
36530 cat >conftest.$ac_ext <<_ACEOF
36533 cat confdefs.h >>conftest.$ac_ext
36534 cat >>conftest.$ac_ext <<_ACEOF
36535 /* end confdefs.h. */
36537 /* Override any GCC internal prototype to avoid an error.
36538 Use char because int might match the return type of a GCC
36539 builtin and then its argument prototype would still apply. */
36547 return nanosleep ();
36552 rm -f conftest.$ac_objext conftest$ac_exeext
36553 if { (ac_try="$ac_link"
36554 case "(($ac_try" in
36555 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36556 *) ac_try_echo
=$ac_try;;
36558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36559 (eval "$ac_link") 2>conftest.er1
36561 grep -v '^ *+' conftest.er1
>conftest.err
36563 cat conftest.err
>&5
36564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36565 (exit $ac_status); } && {
36566 test -z "$ac_c_werror_flag" ||
36567 test ! -s conftest.err
36568 } && test -s conftest
$ac_exeext &&
36569 $as_test_x conftest
$ac_exeext; then
36570 ac_cv_lib_posix4_nanosleep
=yes
36572 echo "$as_me: failed program was:" >&5
36573 sed 's/^/| /' conftest.
$ac_ext >&5
36575 ac_cv_lib_posix4_nanosleep
=no
36578 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36579 conftest
$ac_exeext conftest.
$ac_ext
36580 LIBS
=$ac_check_lib_save_LIBS
36582 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
36583 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
36584 if test $ac_cv_lib_posix4_nanosleep = yes; then
36586 cat >>confdefs.h
<<\_ACEOF
36587 #define HAVE_NANOSLEEP 1
36590 POSIX4_LINK
=" -lposix4"
36595 for wx_func
in usleep
36597 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36598 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36599 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36600 echo $ECHO_N "(cached) $ECHO_C" >&6
36603 cat >conftest.
$ac_ext <<_ACEOF
36607 cat confdefs.h
>>conftest.
$ac_ext
36608 cat >>conftest.
$ac_ext <<_ACEOF
36609 /* end confdefs.h. */
36612 $ac_includes_default
36628 rm -f conftest.
$ac_objext conftest
$ac_exeext
36629 if { (ac_try
="$ac_link"
36630 case "(($ac_try" in
36631 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36632 *) ac_try_echo=$ac_try;;
36634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36635 (eval "$ac_link") 2>conftest.er1
36637 grep -v '^ *+' conftest.er1 >conftest.err
36639 cat conftest.err >&5
36640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36641 (exit $ac_status); } && {
36642 test -z "$ac_c_werror_flag" ||
36643 test ! -s conftest.err
36644 } && test -s conftest$ac_exeext &&
36645 $as_test_x conftest$ac_exeext; then
36646 eval wx_cv_func_$wx_func=yes
36648 echo "$as_me: failed program was:" >&5
36649 sed 's/^/| /' conftest.$ac_ext >&5
36651 eval wx_cv_func_$wx_func=no
36654 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36655 conftest$ac_exeext conftest.$ac_ext
36658 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36659 { echo "$as_me:$LINENO: result: $ac_res" >&5
36660 echo "${ECHO_T}$ac_res" >&6; }
36662 if eval test \$wx_cv_func_$wx_func = yes
36664 cat >>confdefs.h <<_ACEOF
36665 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36671 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
36672 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
36689 for wx_func in uname
36691 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36692 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36693 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36694 echo $ECHO_N "(cached) $ECHO_C" >&6
36697 cat >conftest.$ac_ext <<_ACEOF
36701 cat confdefs.h >>conftest.$ac_ext
36702 cat >>conftest.$ac_ext <<_ACEOF
36703 /* end confdefs.h. */
36705 #include <sys/utsname.h>
36706 $ac_includes_default
36722 rm -f conftest.$ac_objext conftest$ac_exeext
36723 if { (ac_try="$ac_link"
36724 case "(($ac_try" in
36725 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36726 *) ac_try_echo
=$ac_try;;
36728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36729 (eval "$ac_link") 2>conftest.er1
36731 grep -v '^ *+' conftest.er1
>conftest.err
36733 cat conftest.err
>&5
36734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36735 (exit $ac_status); } && {
36736 test -z "$ac_c_werror_flag" ||
36737 test ! -s conftest.err
36738 } && test -s conftest
$ac_exeext &&
36739 $as_test_x conftest
$ac_exeext; then
36740 eval wx_cv_func_
$wx_func=yes
36742 echo "$as_me: failed program was:" >&5
36743 sed 's/^/| /' conftest.
$ac_ext >&5
36745 eval wx_cv_func_
$wx_func=no
36748 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36749 conftest
$ac_exeext conftest.
$ac_ext
36752 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
36753 { echo "$as_me:$LINENO: result: $ac_res" >&5
36754 echo "${ECHO_T}$ac_res" >&6; }
36756 if eval test \
$wx_cv_func_$wx_func = yes
36758 cat >>confdefs.h
<<_ACEOF
36759 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36769 if test "$wx_cv_func_uname" != yes; then
36771 for wx_func
in gethostname
36773 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36774 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36775 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36776 echo $ECHO_N "(cached) $ECHO_C" >&6
36779 cat >conftest.
$ac_ext <<_ACEOF
36783 cat confdefs.h
>>conftest.
$ac_ext
36784 cat >>conftest.
$ac_ext <<_ACEOF
36785 /* end confdefs.h. */
36788 $ac_includes_default
36804 rm -f conftest.
$ac_objext conftest
$ac_exeext
36805 if { (ac_try
="$ac_link"
36806 case "(($ac_try" in
36807 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36808 *) ac_try_echo=$ac_try;;
36810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36811 (eval "$ac_link") 2>conftest.er1
36813 grep -v '^ *+' conftest.er1 >conftest.err
36815 cat conftest.err >&5
36816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36817 (exit $ac_status); } && {
36818 test -z "$ac_c_werror_flag" ||
36819 test ! -s conftest.err
36820 } && test -s conftest$ac_exeext &&
36821 $as_test_x conftest$ac_exeext; then
36822 eval wx_cv_func_$wx_func=yes
36824 echo "$as_me: failed program was:" >&5
36825 sed 's/^/| /' conftest.$ac_ext >&5
36827 eval wx_cv_func_$wx_func=no
36830 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36831 conftest$ac_exeext conftest.$ac_ext
36834 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36835 { echo "$as_me:$LINENO: result: $ac_res" >&5
36836 echo "${ECHO_T}$ac_res" >&6; }
36838 if eval test \$wx_cv_func_$wx_func = yes
36840 cat >>confdefs.h <<_ACEOF
36841 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36854 for wx_func in strtok_r
36856 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36857 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36858 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36859 echo $ECHO_N "(cached) $ECHO_C" >&6
36862 cat >conftest.$ac_ext <<_ACEOF
36866 cat confdefs.h >>conftest.$ac_ext
36867 cat >>conftest.$ac_ext <<_ACEOF
36868 /* end confdefs.h. */
36871 $ac_includes_default
36887 rm -f conftest.$ac_objext conftest$ac_exeext
36888 if { (ac_try="$ac_link"
36889 case "(($ac_try" in
36890 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36891 *) ac_try_echo
=$ac_try;;
36893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36894 (eval "$ac_link") 2>conftest.er1
36896 grep -v '^ *+' conftest.er1
>conftest.err
36898 cat conftest.err
>&5
36899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36900 (exit $ac_status); } && {
36901 test -z "$ac_c_werror_flag" ||
36902 test ! -s conftest.err
36903 } && test -s conftest
$ac_exeext &&
36904 $as_test_x conftest
$ac_exeext; then
36905 eval wx_cv_func_
$wx_func=yes
36907 echo "$as_me: failed program was:" >&5
36908 sed 's/^/| /' conftest.
$ac_ext >&5
36910 eval wx_cv_func_
$wx_func=no
36913 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36914 conftest
$ac_exeext conftest.
$ac_ext
36917 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
36918 { echo "$as_me:$LINENO: result: $ac_res" >&5
36919 echo "${ECHO_T}$ac_res" >&6; }
36921 if eval test \
$wx_cv_func_$wx_func = yes
36923 cat >>confdefs.h
<<_ACEOF
36924 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36937 for ac_func
in inet_addr
36939 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36940 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36941 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36942 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36943 echo $ECHO_N "(cached) $ECHO_C" >&6
36945 cat >conftest.
$ac_ext <<_ACEOF
36948 cat confdefs.h
>>conftest.
$ac_ext
36949 cat >>conftest.
$ac_ext <<_ACEOF
36950 /* end confdefs.h. */
36951 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36952 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36953 #define $ac_func innocuous_$ac_func
36955 /* System header to define __stub macros and hopefully few prototypes,
36956 which can conflict with char $ac_func (); below.
36957 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36958 <limits.h> exists even on freestanding compilers. */
36961 # include <limits.h>
36963 # include <assert.h>
36968 /* Override any GCC internal prototype to avoid an error.
36969 Use char because int might match the return type of a GCC
36970 builtin and then its argument prototype would still apply. */
36975 /* The GNU C library defines this for functions which it implements
36976 to always fail with ENOSYS. Some functions are actually named
36977 something starting with __ and the normal name is an alias. */
36978 #if defined __stub_$ac_func || defined __stub___$ac_func
36985 return $ac_func ();
36990 rm -f conftest.
$ac_objext conftest
$ac_exeext
36991 if { (ac_try
="$ac_link"
36992 case "(($ac_try" in
36993 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36994 *) ac_try_echo=$ac_try;;
36996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36997 (eval "$ac_link") 2>conftest.er1
36999 grep -v '^ *+' conftest.er1 >conftest.err
37001 cat conftest.err >&5
37002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37003 (exit $ac_status); } && {
37004 test -z "$ac_c_werror_flag" ||
37005 test ! -s conftest.err
37006 } && test -s conftest$ac_exeext &&
37007 $as_test_x conftest$ac_exeext; then
37008 eval "$as_ac_var=yes"
37010 echo "$as_me: failed program was:" >&5
37011 sed 's/^/| /' conftest.$ac_ext >&5
37013 eval "$as_ac_var=no"
37016 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37017 conftest$ac_exeext conftest.$ac_ext
37019 ac_res=`eval echo '${'$as_ac_var'}'`
37020 { echo "$as_me:$LINENO: result: $ac_res" >&5
37021 echo "${ECHO_T}$ac_res" >&6; }
37022 if test `eval echo '${'$as_ac_var'}'` = yes; then
37023 cat >>confdefs.h <<_ACEOF
37024 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37026 cat >>confdefs.h <<\_ACEOF
37027 #define HAVE_INET_ADDR 1
37032 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
37033 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
37034 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
37035 echo $ECHO_N "(cached) $ECHO_C" >&6
37037 ac_check_lib_save_LIBS=$LIBS
37039 cat >conftest.$ac_ext <<_ACEOF
37042 cat confdefs.h >>conftest.$ac_ext
37043 cat >>conftest.$ac_ext <<_ACEOF
37044 /* end confdefs.h. */
37046 /* Override any GCC internal prototype to avoid an error.
37047 Use char because int might match the return type of a GCC
37048 builtin and then its argument prototype would still apply. */
37056 return inet_addr ();
37061 rm -f conftest.$ac_objext conftest$ac_exeext
37062 if { (ac_try="$ac_link"
37063 case "(($ac_try" in
37064 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37065 *) ac_try_echo
=$ac_try;;
37067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37068 (eval "$ac_link") 2>conftest.er1
37070 grep -v '^ *+' conftest.er1
>conftest.err
37072 cat conftest.err
>&5
37073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37074 (exit $ac_status); } && {
37075 test -z "$ac_c_werror_flag" ||
37076 test ! -s conftest.err
37077 } && test -s conftest
$ac_exeext &&
37078 $as_test_x conftest
$ac_exeext; then
37079 ac_cv_lib_nsl_inet_addr
=yes
37081 echo "$as_me: failed program was:" >&5
37082 sed 's/^/| /' conftest.
$ac_ext >&5
37084 ac_cv_lib_nsl_inet_addr
=no
37087 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37088 conftest
$ac_exeext conftest.
$ac_ext
37089 LIBS
=$ac_check_lib_save_LIBS
37091 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
37092 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
37093 if test $ac_cv_lib_nsl_inet_addr = yes; then
37097 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
37098 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
37099 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
37100 echo $ECHO_N "(cached) $ECHO_C" >&6
37102 ac_check_lib_save_LIBS
=$LIBS
37103 LIBS
="-lresolv $LIBS"
37104 cat >conftest.
$ac_ext <<_ACEOF
37107 cat confdefs.h
>>conftest.
$ac_ext
37108 cat >>conftest.
$ac_ext <<_ACEOF
37109 /* end confdefs.h. */
37111 /* Override any GCC internal prototype to avoid an error.
37112 Use char because int might match the return type of a GCC
37113 builtin and then its argument prototype would still apply. */
37121 return inet_addr ();
37126 rm -f conftest.
$ac_objext conftest
$ac_exeext
37127 if { (ac_try
="$ac_link"
37128 case "(($ac_try" in
37129 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37130 *) ac_try_echo=$ac_try;;
37132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37133 (eval "$ac_link") 2>conftest.er1
37135 grep -v '^ *+' conftest.er1 >conftest.err
37137 cat conftest.err >&5
37138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37139 (exit $ac_status); } && {
37140 test -z "$ac_c_werror_flag" ||
37141 test ! -s conftest.err
37142 } && test -s conftest$ac_exeext &&
37143 $as_test_x conftest$ac_exeext; then
37144 ac_cv_lib_resolv_inet_addr=yes
37146 echo "$as_me: failed program was:" >&5
37147 sed 's/^/| /' conftest.$ac_ext >&5
37149 ac_cv_lib_resolv_inet_addr=no
37152 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37153 conftest$ac_exeext conftest.$ac_ext
37154 LIBS=$ac_check_lib_save_LIBS
37156 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
37157 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
37158 if test $ac_cv_lib_resolv_inet_addr = yes; then
37162 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
37163 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
37164 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
37165 echo $ECHO_N "(cached) $ECHO_C" >&6
37167 ac_check_lib_save_LIBS=$LIBS
37168 LIBS="-lsocket $LIBS"
37169 cat >conftest.$ac_ext <<_ACEOF
37172 cat confdefs.h >>conftest.$ac_ext
37173 cat >>conftest.$ac_ext <<_ACEOF
37174 /* end confdefs.h. */
37176 /* Override any GCC internal prototype to avoid an error.
37177 Use char because int might match the return type of a GCC
37178 builtin and then its argument prototype would still apply. */
37186 return inet_addr ();
37191 rm -f conftest.$ac_objext conftest$ac_exeext
37192 if { (ac_try="$ac_link"
37193 case "(($ac_try" in
37194 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37195 *) ac_try_echo
=$ac_try;;
37197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37198 (eval "$ac_link") 2>conftest.er1
37200 grep -v '^ *+' conftest.er1
>conftest.err
37202 cat conftest.err
>&5
37203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37204 (exit $ac_status); } && {
37205 test -z "$ac_c_werror_flag" ||
37206 test ! -s conftest.err
37207 } && test -s conftest
$ac_exeext &&
37208 $as_test_x conftest
$ac_exeext; then
37209 ac_cv_lib_socket_inet_addr
=yes
37211 echo "$as_me: failed program was:" >&5
37212 sed 's/^/| /' conftest.
$ac_ext >&5
37214 ac_cv_lib_socket_inet_addr
=no
37217 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37218 conftest
$ac_exeext conftest.
$ac_ext
37219 LIBS
=$ac_check_lib_save_LIBS
37221 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
37222 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
37223 if test $ac_cv_lib_socket_inet_addr = yes; then
37243 for ac_func
in inet_aton
37245 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37246 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37247 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37248 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37249 echo $ECHO_N "(cached) $ECHO_C" >&6
37251 cat >conftest.
$ac_ext <<_ACEOF
37254 cat confdefs.h
>>conftest.
$ac_ext
37255 cat >>conftest.
$ac_ext <<_ACEOF
37256 /* end confdefs.h. */
37257 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37258 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37259 #define $ac_func innocuous_$ac_func
37261 /* System header to define __stub macros and hopefully few prototypes,
37262 which can conflict with char $ac_func (); below.
37263 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37264 <limits.h> exists even on freestanding compilers. */
37267 # include <limits.h>
37269 # include <assert.h>
37274 /* Override any GCC internal prototype to avoid an error.
37275 Use char because int might match the return type of a GCC
37276 builtin and then its argument prototype would still apply. */
37281 /* The GNU C library defines this for functions which it implements
37282 to always fail with ENOSYS. Some functions are actually named
37283 something starting with __ and the normal name is an alias. */
37284 #if defined __stub_$ac_func || defined __stub___$ac_func
37291 return $ac_func ();
37296 rm -f conftest.
$ac_objext conftest
$ac_exeext
37297 if { (ac_try
="$ac_link"
37298 case "(($ac_try" in
37299 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37300 *) ac_try_echo=$ac_try;;
37302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37303 (eval "$ac_link") 2>conftest.er1
37305 grep -v '^ *+' conftest.er1 >conftest.err
37307 cat conftest.err >&5
37308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37309 (exit $ac_status); } && {
37310 test -z "$ac_c_werror_flag" ||
37311 test ! -s conftest.err
37312 } && test -s conftest$ac_exeext &&
37313 $as_test_x conftest$ac_exeext; then
37314 eval "$as_ac_var=yes"
37316 echo "$as_me: failed program was:" >&5
37317 sed 's/^/| /' conftest.$ac_ext >&5
37319 eval "$as_ac_var=no"
37322 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37323 conftest$ac_exeext conftest.$ac_ext
37325 ac_res=`eval echo '${'$as_ac_var'}'`
37326 { echo "$as_me:$LINENO: result: $ac_res" >&5
37327 echo "${ECHO_T}$ac_res" >&6; }
37328 if test `eval echo '${'$as_ac_var'}'` = yes; then
37329 cat >>confdefs.h <<_ACEOF
37330 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37332 cat >>confdefs.h <<\_ACEOF
37333 #define HAVE_INET_ATON 1
37338 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
37339 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
37340 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
37341 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
37342 echo $ECHO_N "(cached) $ECHO_C" >&6
37344 ac_check_lib_save_LIBS=$LIBS
37345 LIBS="-l$INET_LINK $LIBS"
37346 cat >conftest.$ac_ext <<_ACEOF
37349 cat confdefs.h >>conftest.$ac_ext
37350 cat >>conftest.$ac_ext <<_ACEOF
37351 /* end confdefs.h. */
37353 /* Override any GCC internal prototype to avoid an error.
37354 Use char because int might match the return type of a GCC
37355 builtin and then its argument prototype would still apply. */
37363 return inet_aton ();
37368 rm -f conftest.$ac_objext conftest$ac_exeext
37369 if { (ac_try="$ac_link"
37370 case "(($ac_try" in
37371 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37372 *) ac_try_echo
=$ac_try;;
37374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37375 (eval "$ac_link") 2>conftest.er1
37377 grep -v '^ *+' conftest.er1
>conftest.err
37379 cat conftest.err
>&5
37380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37381 (exit $ac_status); } && {
37382 test -z "$ac_c_werror_flag" ||
37383 test ! -s conftest.err
37384 } && test -s conftest
$ac_exeext &&
37385 $as_test_x conftest
$ac_exeext; then
37386 eval "$as_ac_Lib=yes"
37388 echo "$as_me: failed program was:" >&5
37389 sed 's/^/| /' conftest.
$ac_ext >&5
37391 eval "$as_ac_Lib=no"
37394 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37395 conftest
$ac_exeext conftest.
$ac_ext
37396 LIBS
=$ac_check_lib_save_LIBS
37398 ac_res
=`eval echo '${'$as_ac_Lib'}'`
37399 { echo "$as_me:$LINENO: result: $ac_res" >&5
37400 echo "${ECHO_T}$ac_res" >&6; }
37401 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
37402 cat >>confdefs.h
<<\_ACEOF
37403 #define HAVE_INET_ATON 1
37413 if test "x$INET_LINK" != "x"; then
37414 cat >>confdefs.h
<<\_ACEOF
37415 #define HAVE_INET_ADDR 1
37418 INET_LINK
=" -l$INET_LINK"
37422 for wx_func
in fdopen
37424 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37425 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37426 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37427 echo $ECHO_N "(cached) $ECHO_C" >&6
37430 cat >conftest.
$ac_ext <<_ACEOF
37434 cat confdefs.h
>>conftest.
$ac_ext
37435 cat >>conftest.
$ac_ext <<_ACEOF
37436 /* end confdefs.h. */
37439 $ac_includes_default
37455 rm -f conftest.
$ac_objext conftest
$ac_exeext
37456 if { (ac_try
="$ac_link"
37457 case "(($ac_try" in
37458 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37459 *) ac_try_echo=$ac_try;;
37461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37462 (eval "$ac_link") 2>conftest.er1
37464 grep -v '^ *+' conftest.er1 >conftest.err
37466 cat conftest.err >&5
37467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37468 (exit $ac_status); } && {
37469 test -z "$ac_c_werror_flag" ||
37470 test ! -s conftest.err
37471 } && test -s conftest$ac_exeext &&
37472 $as_test_x conftest$ac_exeext; then
37473 eval wx_cv_func_$wx_func=yes
37475 echo "$as_me: failed program was:" >&5
37476 sed 's/^/| /' conftest.$ac_ext >&5
37478 eval wx_cv_func_$wx_func=no
37481 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37482 conftest$ac_exeext conftest.$ac_ext
37485 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37486 { echo "$as_me:$LINENO: result: $ac_res" >&5
37487 echo "${ECHO_T}$ac_res" >&6; }
37489 if eval test \$wx_cv_func_$wx_func = yes
37491 cat >>confdefs.h <<_ACEOF
37492 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37509 { echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
37510 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6; }
37511 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
37512 echo $ECHO_N "(cached) $ECHO_C" >&6
37514 ac_check_lib_save_LIBS=$LIBS
37516 cat >conftest.$ac_ext <<_ACEOF
37519 cat confdefs.h >>conftest.$ac_ext
37520 cat >>conftest.$ac_ext <<_ACEOF
37521 /* end confdefs.h. */
37523 /* Override any GCC internal prototype to avoid an error.
37524 Use char because int might match the return type of a GCC
37525 builtin and then its argument prototype would still apply. */
37533 return esd_close ();
37538 rm -f conftest.$ac_objext conftest$ac_exeext
37539 if { (ac_try="$ac_link"
37540 case "(($ac_try" in
37541 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37542 *) ac_try_echo
=$ac_try;;
37544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37545 (eval "$ac_link") 2>conftest.er1
37547 grep -v '^ *+' conftest.er1
>conftest.err
37549 cat conftest.err
>&5
37550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37551 (exit $ac_status); } && {
37552 test -z "$ac_c_werror_flag" ||
37553 test ! -s conftest.err
37554 } && test -s conftest
$ac_exeext &&
37555 $as_test_x conftest
$ac_exeext; then
37556 ac_cv_lib_esd_esd_close
=yes
37558 echo "$as_me: failed program was:" >&5
37559 sed 's/^/| /' conftest.
$ac_ext >&5
37561 ac_cv_lib_esd_esd_close
=no
37564 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37565 conftest
$ac_exeext conftest.
$ac_ext
37566 LIBS
=$ac_check_lib_save_LIBS
37568 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
37569 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6; }
37570 if test $ac_cv_lib_esd_esd_close = yes; then
37572 { echo "$as_me:$LINENO: checking for esd.h" >&5
37573 echo $ECHO_N "checking for esd.h... $ECHO_C" >&6; }
37574 if test "${ac_cv_header_esd_h+set}" = set; then
37575 echo $ECHO_N "(cached) $ECHO_C" >&6
37577 cat >conftest.
$ac_ext <<_ACEOF
37580 cat confdefs.h
>>conftest.
$ac_ext
37581 cat >>conftest.
$ac_ext <<_ACEOF
37582 /* end confdefs.h. */
37587 rm -f conftest.
$ac_objext
37588 if { (ac_try
="$ac_compile"
37589 case "(($ac_try" in
37590 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37591 *) ac_try_echo=$ac_try;;
37593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37594 (eval "$ac_compile") 2>conftest.er1
37596 grep -v '^ *+' conftest.er1 >conftest.err
37598 cat conftest.err >&5
37599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37600 (exit $ac_status); } && {
37601 test -z "$ac_c_werror_flag" ||
37602 test ! -s conftest.err
37603 } && test -s conftest.$ac_objext; then
37604 ac_cv_header_esd_h=yes
37606 echo "$as_me: failed program was:" >&5
37607 sed 's/^/| /' conftest.$ac_ext >&5
37609 ac_cv_header_esd_h=no
37612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37614 { echo "$as_me:$LINENO: result: $ac_cv_header_esd_h" >&5
37615 echo "${ECHO_T}$ac_cv_header_esd_h" >&6; }
37616 if test $ac_cv_header_esd_h = yes; then
37618 EXTRALIBS_ESD="-lesd"
37628 { echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
37629 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6; }
37630 cat >conftest.$ac_ext <<_ACEOF
37633 cat confdefs.h >>conftest.$ac_ext
37634 cat >>conftest.$ac_ext <<_ACEOF
37635 /* end confdefs.h. */
37637 #include <linux/cdrom.h>
37640 #include <sys/cdio.h>
37646 struct cdrom_tocentry entry, old_entry;
37651 rm -f conftest.$ac_objext
37652 if { (ac_try="$ac_compile"
37653 case "(($ac_try" in
37654 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37655 *) ac_try_echo
=$ac_try;;
37657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37658 (eval "$ac_compile") 2>conftest.er1
37660 grep -v '^ *+' conftest.er1
>conftest.err
37662 cat conftest.err
>&5
37663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37664 (exit $ac_status); } && {
37665 test -z "$ac_c_werror_flag" ||
37666 test ! -s conftest.err
37667 } && test -s conftest.
$ac_objext; then
37668 { echo "$as_me:$LINENO: result: yes" >&5
37669 echo "${ECHO_T}yes" >&6; }
37670 cat >>confdefs.h
<<\_ACEOF
37671 #define HAVE_KNOWN_CDROM_INTERFACE 1
37675 echo "$as_me: failed program was:" >&5
37676 sed 's/^/| /' conftest.
$ac_ext >&5
37678 { echo "$as_me:$LINENO: result: no" >&5
37679 echo "${ECHO_T}no" >&6; }
37682 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37685 cat >confcache
<<\_ACEOF
37686 # This file is a shell script that caches the results of configure
37687 # tests run on this system so they can be shared between configure
37688 # scripts and configure runs, see configure's option --config-cache.
37689 # It is not useful on other systems. If it contains results you don't
37690 # want to keep, you may remove or edit it.
37692 # config.status only pays attention to the cache file if you give it
37693 # the --recheck option to rerun configure.
37695 # `ac_cv_env_foo' variables (set or unset) will be overridden when
37696 # loading this file, other *unset* `ac_cv_foo' will be assigned the
37697 # following values.
37701 # The following way of writing the cache mishandles newlines in values,
37702 # but we know of no workaround that is simple, portable, and efficient.
37703 # So, we kill variables containing newlines.
37704 # Ultrix sh set writes to stderr and can't be redirected directly,
37705 # and sets the high bit in the cache file unless we assign to the vars.
37707 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
37708 eval ac_val
=\$
$ac_var
37712 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
37713 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
37716 _
| IFS
| as_nl
) ;; #(
37717 *) $as_unset $ac_var ;;
37723 case $as_nl`(ac_space=' '; set) 2>&1` in #(
37724 *${as_nl}ac_space
=\
*)
37725 # `set' does not quote correctly, so add quotes (double-quote
37726 # substitution turns \\\\ into \\, and sed turns \\ into \).
37729 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
37732 # `set' quotes correctly as required by POSIX, so do not add quotes.
37733 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
37742 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
37744 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
37746 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
37747 if test -w "$cache_file"; then
37748 test "x$cache_file" != "x/dev/null" &&
37749 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
37750 echo "$as_me: updating cache $cache_file" >&6;}
37751 cat confcache
>$cache_file
37753 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
37754 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
37760 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
37766 if test "$wxUSE_THREADS" = "yes" ; then
37767 if test "$USE_BEOS" = 1; then
37768 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
37769 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
37774 if test "$wxUSE_THREADS" = "yes" ; then
37777 THREAD_OPTS
="-pthread"
37779 *-*-solaris2* | *-*-sunos4* )
37780 if test "x$GCC" = "xyes"; then
37781 THREAD_OPTS
="-pthreads $THREAD_OPTS"
37783 THREAD_OPTS
="-mt $THREAD_OPTS"
37787 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
37789 *-*-darwin* | *-*-cygwin* )
37793 THREAD_OPTS
="pthreads"
37796 if test "x$GCC" = "xyes"; then
37797 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
37805 if test "x$GCC" = "xyes"; then
37811 if test "x$GCC" != "xyes"; then
37812 THREAD_OPTS
="-Ethread"
37817 THREAD_OPTS
="$THREAD_OPTS pthread none"
37820 for flag
in $THREAD_OPTS; do
37823 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
37824 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
37828 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
37829 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
37830 THREADS_CFLAGS
="$flag"
37834 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
37835 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
37836 THREADS_LINK
="-l$flag"
37841 save_CFLAGS
="$CFLAGS"
37842 LIBS
="$THREADS_LINK $LIBS"
37843 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
37845 cat >conftest.
$ac_ext <<_ACEOF
37848 cat confdefs.h
>>conftest.
$ac_ext
37849 cat >>conftest.
$ac_ext <<_ACEOF
37850 /* end confdefs.h. */
37851 #include <pthread.h>
37855 pthread_create(0,0,0,0);
37860 rm -f conftest.
$ac_objext conftest
$ac_exeext
37861 if { (ac_try
="$ac_link"
37862 case "(($ac_try" in
37863 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37864 *) ac_try_echo=$ac_try;;
37866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37867 (eval "$ac_link") 2>conftest.er1
37869 grep -v '^ *+' conftest.er1 >conftest.err
37871 cat conftest.err >&5
37872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37873 (exit $ac_status); } && {
37874 test -z "$ac_c_werror_flag" ||
37875 test ! -s conftest.err
37876 } && test -s conftest$ac_exeext &&
37877 $as_test_x conftest$ac_exeext; then
37880 echo "$as_me: failed program was:" >&5
37881 sed 's/^/| /' conftest.$ac_ext >&5
37886 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37887 conftest$ac_exeext conftest.$ac_ext
37890 CFLAGS="$save_CFLAGS"
37892 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
37893 echo "${ECHO_T}$THREADS_OK" >&6; }
37894 if test "x$THREADS_OK" = "xyes"; then
37902 if test "x$THREADS_OK" != "xyes"; then
37904 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
37905 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
37907 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
37908 LIBS="$THREADS_LINK $LIBS"
37910 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
37911 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
37915 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
37916 flag="-D_THREAD_SAFE"
37919 flag="-D_THREAD_SAFE"
37922 flag="-D_REENTRANT"
37923 if test "x$GCC" != "xyes"; then
37924 flag="$flag -D_RWSTD_MULTI_THREAD"
37927 *solaris* | alpha*-osf*)
37928 flag="-D_REENTRANT"
37931 { echo "$as_me:$LINENO: result: ${flag}" >&5
37932 echo "${ECHO_T}${flag}" >&6; }
37933 if test "x$flag" != xno; then
37934 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
37937 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
37941 if test "$wxUSE_THREADS" = "yes" ; then
37943 for ac_func in thr_setconcurrency
37945 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37946 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37947 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37948 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37949 echo $ECHO_N "(cached) $ECHO_C" >&6
37951 cat >conftest.$ac_ext <<_ACEOF
37954 cat confdefs.h >>conftest.$ac_ext
37955 cat >>conftest.$ac_ext <<_ACEOF
37956 /* end confdefs.h. */
37957 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37958 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37959 #define $ac_func innocuous_$ac_func
37961 /* System header to define __stub macros and hopefully few prototypes,
37962 which can conflict with char $ac_func (); below.
37963 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37964 <limits.h> exists even on freestanding compilers. */
37967 # include <limits.h>
37969 # include <assert.h>
37974 /* Override any GCC internal prototype to avoid an error.
37975 Use char because int might match the return type of a GCC
37976 builtin and then its argument prototype would still apply. */
37981 /* The GNU C library defines this for functions which it implements
37982 to always fail with ENOSYS. Some functions are actually named
37983 something starting with __ and the normal name is an alias. */
37984 #if defined __stub_$ac_func || defined __stub___$ac_func
37991 return $ac_func ();
37996 rm -f conftest.$ac_objext conftest$ac_exeext
37997 if { (ac_try="$ac_link"
37998 case "(($ac_try" in
37999 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38000 *) ac_try_echo
=$ac_try;;
38002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38003 (eval "$ac_link") 2>conftest.er1
38005 grep -v '^ *+' conftest.er1
>conftest.err
38007 cat conftest.err
>&5
38008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38009 (exit $ac_status); } && {
38010 test -z "$ac_c_werror_flag" ||
38011 test ! -s conftest.err
38012 } && test -s conftest
$ac_exeext &&
38013 $as_test_x conftest
$ac_exeext; then
38014 eval "$as_ac_var=yes"
38016 echo "$as_me: failed program was:" >&5
38017 sed 's/^/| /' conftest.
$ac_ext >&5
38019 eval "$as_ac_var=no"
38022 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38023 conftest
$ac_exeext conftest.
$ac_ext
38025 ac_res
=`eval echo '${'$as_ac_var'}'`
38026 { echo "$as_me:$LINENO: result: $ac_res" >&5
38027 echo "${ECHO_T}$ac_res" >&6; }
38028 if test `eval echo '${'$as_ac_var'}'` = yes; then
38029 cat >>confdefs.h
<<_ACEOF
38030 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38037 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
38038 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
38039 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
38040 echo $ECHO_N "(cached) $ECHO_C" >&6
38043 cat >conftest.
$ac_ext <<_ACEOF
38046 cat confdefs.h
>>conftest.
$ac_ext
38047 cat >>conftest.
$ac_ext <<_ACEOF
38048 /* end confdefs.h. */
38049 #include <pthread.h>
38050 void ThreadCleanupFunc(void *p);
38057 pthread_cleanup_push(ThreadCleanupFunc, p);
38058 pthread_cleanup_pop(0);
38064 rm -f conftest.
$ac_objext
38065 if { (ac_try
="$ac_compile"
38066 case "(($ac_try" in
38067 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38068 *) ac_try_echo=$ac_try;;
38070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38071 (eval "$ac_compile") 2>conftest.er1
38073 grep -v '^ *+' conftest.er1 >conftest.err
38075 cat conftest.err >&5
38076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38077 (exit $ac_status); } && {
38078 test -z "$ac_c_werror_flag" ||
38079 test ! -s conftest.err
38080 } && test -s conftest.$ac_objext; then
38082 wx_cv_func_pthread_cleanup=yes
38085 echo "$as_me: failed program was:" >&5
38086 sed 's/^/| /' conftest.$ac_ext >&5
38089 wx_cv_func_pthread_cleanup=no
38094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38097 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
38098 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
38099 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
38100 cat >>confdefs.h <<\_ACEOF
38101 #define wxHAVE_PTHREAD_CLEANUP 1
38106 { echo "$as_me:$LINENO: checking for sched.h" >&5
38107 echo $ECHO_N "checking for sched.h... $ECHO_C" >&6; }
38108 if test "${ac_cv_header_sched_h+set}" = set; then
38109 echo $ECHO_N "(cached) $ECHO_C" >&6
38111 cat >conftest.$ac_ext <<_ACEOF
38114 cat confdefs.h >>conftest.$ac_ext
38115 cat >>conftest.$ac_ext <<_ACEOF
38116 /* end confdefs.h. */
38117 $ac_includes_default
38121 rm -f conftest.$ac_objext
38122 if { (ac_try="$ac_compile"
38123 case "(($ac_try" in
38124 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38125 *) ac_try_echo
=$ac_try;;
38127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38128 (eval "$ac_compile") 2>conftest.er1
38130 grep -v '^ *+' conftest.er1
>conftest.err
38132 cat conftest.err
>&5
38133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38134 (exit $ac_status); } && {
38135 test -z "$ac_c_werror_flag" ||
38136 test ! -s conftest.err
38137 } && test -s conftest.
$ac_objext; then
38138 ac_cv_header_sched_h
=yes
38140 echo "$as_me: failed program was:" >&5
38141 sed 's/^/| /' conftest.
$ac_ext >&5
38143 ac_cv_header_sched_h
=no
38146 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38148 { echo "$as_me:$LINENO: result: $ac_cv_header_sched_h" >&5
38149 echo "${ECHO_T}$ac_cv_header_sched_h" >&6; }
38152 if test "$ac_cv_header_sched_h" = "yes"; then
38153 { echo "$as_me:$LINENO: checking for sched_yield" >&5
38154 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
38155 if test "${ac_cv_func_sched_yield+set}" = set; then
38156 echo $ECHO_N "(cached) $ECHO_C" >&6
38158 cat >conftest.
$ac_ext <<_ACEOF
38161 cat confdefs.h
>>conftest.
$ac_ext
38162 cat >>conftest.
$ac_ext <<_ACEOF
38163 /* end confdefs.h. */
38164 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
38165 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38166 #define sched_yield innocuous_sched_yield
38168 /* System header to define __stub macros and hopefully few prototypes,
38169 which can conflict with char sched_yield (); below.
38170 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38171 <limits.h> exists even on freestanding compilers. */
38174 # include <limits.h>
38176 # include <assert.h>
38181 /* Override any GCC internal prototype to avoid an error.
38182 Use char because int might match the return type of a GCC
38183 builtin and then its argument prototype would still apply. */
38187 char sched_yield ();
38188 /* The GNU C library defines this for functions which it implements
38189 to always fail with ENOSYS. Some functions are actually named
38190 something starting with __ and the normal name is an alias. */
38191 #if defined __stub_sched_yield || defined __stub___sched_yield
38198 return sched_yield ();
38203 rm -f conftest.
$ac_objext conftest
$ac_exeext
38204 if { (ac_try
="$ac_link"
38205 case "(($ac_try" in
38206 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38207 *) ac_try_echo=$ac_try;;
38209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38210 (eval "$ac_link") 2>conftest.er1
38212 grep -v '^ *+' conftest.er1 >conftest.err
38214 cat conftest.err >&5
38215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38216 (exit $ac_status); } && {
38217 test -z "$ac_c_werror_flag" ||
38218 test ! -s conftest.err
38219 } && test -s conftest$ac_exeext &&
38220 $as_test_x conftest$ac_exeext; then
38221 ac_cv_func_sched_yield=yes
38223 echo "$as_me: failed program was:" >&5
38224 sed 's/^/| /' conftest.$ac_ext >&5
38226 ac_cv_func_sched_yield=no
38229 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38230 conftest$ac_exeext conftest.$ac_ext
38232 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
38233 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
38234 if test $ac_cv_func_sched_yield = yes; then
38235 cat >>confdefs.h <<\_ACEOF
38236 #define HAVE_SCHED_YIELD 1
38241 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
38242 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
38243 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
38244 echo $ECHO_N "(cached) $ECHO_C" >&6
38246 ac_check_lib_save_LIBS=$LIBS
38247 LIBS="-lposix4 $LIBS"
38248 cat >conftest.$ac_ext <<_ACEOF
38251 cat confdefs.h >>conftest.$ac_ext
38252 cat >>conftest.$ac_ext <<_ACEOF
38253 /* end confdefs.h. */
38255 /* Override any GCC internal prototype to avoid an error.
38256 Use char because int might match the return type of a GCC
38257 builtin and then its argument prototype would still apply. */
38261 char sched_yield ();
38265 return sched_yield ();
38270 rm -f conftest.$ac_objext conftest$ac_exeext
38271 if { (ac_try="$ac_link"
38272 case "(($ac_try" in
38273 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38274 *) ac_try_echo
=$ac_try;;
38276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38277 (eval "$ac_link") 2>conftest.er1
38279 grep -v '^ *+' conftest.er1
>conftest.err
38281 cat conftest.err
>&5
38282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38283 (exit $ac_status); } && {
38284 test -z "$ac_c_werror_flag" ||
38285 test ! -s conftest.err
38286 } && test -s conftest
$ac_exeext &&
38287 $as_test_x conftest
$ac_exeext; then
38288 ac_cv_lib_posix4_sched_yield
=yes
38290 echo "$as_me: failed program was:" >&5
38291 sed 's/^/| /' conftest.
$ac_ext >&5
38293 ac_cv_lib_posix4_sched_yield
=no
38296 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38297 conftest
$ac_exeext conftest.
$ac_ext
38298 LIBS
=$ac_check_lib_save_LIBS
38300 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
38301 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
38302 if test $ac_cv_lib_posix4_sched_yield = yes; then
38303 cat >>confdefs.h
<<\_ACEOF
38304 #define HAVE_SCHED_YIELD 1
38306 POSIX4_LINK
=" -lposix4"
38308 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
38309 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
38320 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
38321 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
38322 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
38323 echo $ECHO_N "(cached) $ECHO_C" >&6
38325 cat >conftest.
$ac_ext <<_ACEOF
38328 cat confdefs.h
>>conftest.
$ac_ext
38329 cat >>conftest.
$ac_ext <<_ACEOF
38330 /* end confdefs.h. */
38331 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
38332 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38333 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
38335 /* System header to define __stub macros and hopefully few prototypes,
38336 which can conflict with char pthread_attr_getschedpolicy (); below.
38337 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38338 <limits.h> exists even on freestanding compilers. */
38341 # include <limits.h>
38343 # include <assert.h>
38346 #undef pthread_attr_getschedpolicy
38348 /* Override any GCC internal prototype to avoid an error.
38349 Use char because int might match the return type of a GCC
38350 builtin and then its argument prototype would still apply. */
38354 char pthread_attr_getschedpolicy ();
38355 /* The GNU C library defines this for functions which it implements
38356 to always fail with ENOSYS. Some functions are actually named
38357 something starting with __ and the normal name is an alias. */
38358 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
38365 return pthread_attr_getschedpolicy ();
38370 rm -f conftest.
$ac_objext conftest
$ac_exeext
38371 if { (ac_try
="$ac_link"
38372 case "(($ac_try" in
38373 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38374 *) ac_try_echo=$ac_try;;
38376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38377 (eval "$ac_link") 2>conftest.er1
38379 grep -v '^ *+' conftest.er1 >conftest.err
38381 cat conftest.err >&5
38382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38383 (exit $ac_status); } && {
38384 test -z "$ac_c_werror_flag" ||
38385 test ! -s conftest.err
38386 } && test -s conftest$ac_exeext &&
38387 $as_test_x conftest$ac_exeext; then
38388 ac_cv_func_pthread_attr_getschedpolicy=yes
38390 echo "$as_me: failed program was:" >&5
38391 sed 's/^/| /' conftest.$ac_ext >&5
38393 ac_cv_func_pthread_attr_getschedpolicy=no
38396 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38397 conftest$ac_exeext conftest.$ac_ext
38399 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
38400 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
38401 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
38402 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
38403 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
38404 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
38405 echo $ECHO_N "(cached) $ECHO_C" >&6
38407 cat >conftest.$ac_ext <<_ACEOF
38410 cat confdefs.h >>conftest.$ac_ext
38411 cat >>conftest.$ac_ext <<_ACEOF
38412 /* end confdefs.h. */
38413 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
38414 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38415 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
38417 /* System header to define __stub macros and hopefully few prototypes,
38418 which can conflict with char pthread_attr_setschedparam (); below.
38419 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38420 <limits.h> exists even on freestanding compilers. */
38423 # include <limits.h>
38425 # include <assert.h>
38428 #undef pthread_attr_setschedparam
38430 /* Override any GCC internal prototype to avoid an error.
38431 Use char because int might match the return type of a GCC
38432 builtin and then its argument prototype would still apply. */
38436 char pthread_attr_setschedparam ();
38437 /* The GNU C library defines this for functions which it implements
38438 to always fail with ENOSYS. Some functions are actually named
38439 something starting with __ and the normal name is an alias. */
38440 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
38447 return pthread_attr_setschedparam ();
38452 rm -f conftest.$ac_objext conftest$ac_exeext
38453 if { (ac_try="$ac_link"
38454 case "(($ac_try" in
38455 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38456 *) ac_try_echo
=$ac_try;;
38458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38459 (eval "$ac_link") 2>conftest.er1
38461 grep -v '^ *+' conftest.er1
>conftest.err
38463 cat conftest.err
>&5
38464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38465 (exit $ac_status); } && {
38466 test -z "$ac_c_werror_flag" ||
38467 test ! -s conftest.err
38468 } && test -s conftest
$ac_exeext &&
38469 $as_test_x conftest
$ac_exeext; then
38470 ac_cv_func_pthread_attr_setschedparam
=yes
38472 echo "$as_me: failed program was:" >&5
38473 sed 's/^/| /' conftest.
$ac_ext >&5
38475 ac_cv_func_pthread_attr_setschedparam
=no
38478 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38479 conftest
$ac_exeext conftest.
$ac_ext
38481 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
38482 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
38483 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
38484 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
38485 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
38486 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
38487 echo $ECHO_N "(cached) $ECHO_C" >&6
38489 cat >conftest.
$ac_ext <<_ACEOF
38492 cat confdefs.h
>>conftest.
$ac_ext
38493 cat >>conftest.
$ac_ext <<_ACEOF
38494 /* end confdefs.h. */
38495 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
38496 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38497 #define sched_get_priority_max innocuous_sched_get_priority_max
38499 /* System header to define __stub macros and hopefully few prototypes,
38500 which can conflict with char sched_get_priority_max (); below.
38501 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38502 <limits.h> exists even on freestanding compilers. */
38505 # include <limits.h>
38507 # include <assert.h>
38510 #undef sched_get_priority_max
38512 /* Override any GCC internal prototype to avoid an error.
38513 Use char because int might match the return type of a GCC
38514 builtin and then its argument prototype would still apply. */
38518 char sched_get_priority_max ();
38519 /* The GNU C library defines this for functions which it implements
38520 to always fail with ENOSYS. Some functions are actually named
38521 something starting with __ and the normal name is an alias. */
38522 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
38529 return sched_get_priority_max ();
38534 rm -f conftest.
$ac_objext conftest
$ac_exeext
38535 if { (ac_try
="$ac_link"
38536 case "(($ac_try" in
38537 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38538 *) ac_try_echo=$ac_try;;
38540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38541 (eval "$ac_link") 2>conftest.er1
38543 grep -v '^ *+' conftest.er1 >conftest.err
38545 cat conftest.err >&5
38546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38547 (exit $ac_status); } && {
38548 test -z "$ac_c_werror_flag" ||
38549 test ! -s conftest.err
38550 } && test -s conftest$ac_exeext &&
38551 $as_test_x conftest$ac_exeext; then
38552 ac_cv_func_sched_get_priority_max=yes
38554 echo "$as_me: failed program was:" >&5
38555 sed 's/^/| /' conftest.$ac_ext >&5
38557 ac_cv_func_sched_get_priority_max=no
38560 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38561 conftest$ac_exeext conftest.$ac_ext
38563 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
38564 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
38565 if test $ac_cv_func_sched_get_priority_max = yes; then
38568 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
38569 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
38570 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
38571 echo $ECHO_N "(cached) $ECHO_C" >&6
38573 ac_check_lib_save_LIBS=$LIBS
38574 LIBS="-lposix4 $LIBS"
38575 cat >conftest.$ac_ext <<_ACEOF
38578 cat confdefs.h >>conftest.$ac_ext
38579 cat >>conftest.$ac_ext <<_ACEOF
38580 /* end confdefs.h. */
38582 /* Override any GCC internal prototype to avoid an error.
38583 Use char because int might match the return type of a GCC
38584 builtin and then its argument prototype would still apply. */
38588 char sched_get_priority_max ();
38592 return sched_get_priority_max ();
38597 rm -f conftest.$ac_objext conftest$ac_exeext
38598 if { (ac_try="$ac_link"
38599 case "(($ac_try" in
38600 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38601 *) ac_try_echo
=$ac_try;;
38603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38604 (eval "$ac_link") 2>conftest.er1
38606 grep -v '^ *+' conftest.er1
>conftest.err
38608 cat conftest.err
>&5
38609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38610 (exit $ac_status); } && {
38611 test -z "$ac_c_werror_flag" ||
38612 test ! -s conftest.err
38613 } && test -s conftest
$ac_exeext &&
38614 $as_test_x conftest
$ac_exeext; then
38615 ac_cv_lib_posix4_sched_get_priority_max
=yes
38617 echo "$as_me: failed program was:" >&5
38618 sed 's/^/| /' conftest.
$ac_ext >&5
38620 ac_cv_lib_posix4_sched_get_priority_max
=no
38623 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38624 conftest
$ac_exeext conftest.
$ac_ext
38625 LIBS
=$ac_check_lib_save_LIBS
38627 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
38628 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
38629 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
38632 POSIX4_LINK
=" -lposix4"
38646 if test "$HAVE_PRIOR_FUNCS" = 1; then
38647 cat >>confdefs.h
<<\_ACEOF
38648 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
38652 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
38653 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
38656 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
38657 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
38658 if test "${ac_cv_func_pthread_cancel+set}" = set; then
38659 echo $ECHO_N "(cached) $ECHO_C" >&6
38661 cat >conftest.
$ac_ext <<_ACEOF
38664 cat confdefs.h
>>conftest.
$ac_ext
38665 cat >>conftest.
$ac_ext <<_ACEOF
38666 /* end confdefs.h. */
38667 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
38668 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38669 #define pthread_cancel innocuous_pthread_cancel
38671 /* System header to define __stub macros and hopefully few prototypes,
38672 which can conflict with char pthread_cancel (); below.
38673 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38674 <limits.h> exists even on freestanding compilers. */
38677 # include <limits.h>
38679 # include <assert.h>
38682 #undef pthread_cancel
38684 /* Override any GCC internal prototype to avoid an error.
38685 Use char because int might match the return type of a GCC
38686 builtin and then its argument prototype would still apply. */
38690 char pthread_cancel ();
38691 /* The GNU C library defines this for functions which it implements
38692 to always fail with ENOSYS. Some functions are actually named
38693 something starting with __ and the normal name is an alias. */
38694 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
38701 return pthread_cancel ();
38706 rm -f conftest.
$ac_objext conftest
$ac_exeext
38707 if { (ac_try
="$ac_link"
38708 case "(($ac_try" in
38709 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38710 *) ac_try_echo=$ac_try;;
38712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38713 (eval "$ac_link") 2>conftest.er1
38715 grep -v '^ *+' conftest.er1 >conftest.err
38717 cat conftest.err >&5
38718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38719 (exit $ac_status); } && {
38720 test -z "$ac_c_werror_flag" ||
38721 test ! -s conftest.err
38722 } && test -s conftest$ac_exeext &&
38723 $as_test_x conftest$ac_exeext; then
38724 ac_cv_func_pthread_cancel=yes
38726 echo "$as_me: failed program was:" >&5
38727 sed 's/^/| /' conftest.$ac_ext >&5
38729 ac_cv_func_pthread_cancel=no
38732 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38733 conftest$ac_exeext conftest.$ac_ext
38735 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
38736 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
38737 if test $ac_cv_func_pthread_cancel = yes; then
38738 cat >>confdefs.h <<\_ACEOF
38739 #define HAVE_PTHREAD_CANCEL 1
38743 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
38744 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
38748 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
38749 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
38750 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
38751 echo $ECHO_N "(cached) $ECHO_C" >&6
38753 cat >conftest.$ac_ext <<_ACEOF
38756 cat confdefs.h >>conftest.$ac_ext
38757 cat >>conftest.$ac_ext <<_ACEOF
38758 /* end confdefs.h. */
38759 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
38760 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38761 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
38763 /* System header to define __stub macros and hopefully few prototypes,
38764 which can conflict with char pthread_mutex_timedlock (); below.
38765 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38766 <limits.h> exists even on freestanding compilers. */
38769 # include <limits.h>
38771 # include <assert.h>
38774 #undef pthread_mutex_timedlock
38776 /* Override any GCC internal prototype to avoid an error.
38777 Use char because int might match the return type of a GCC
38778 builtin and then its argument prototype would still apply. */
38782 char pthread_mutex_timedlock ();
38783 /* The GNU C library defines this for functions which it implements
38784 to always fail with ENOSYS. Some functions are actually named
38785 something starting with __ and the normal name is an alias. */
38786 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
38793 return pthread_mutex_timedlock ();
38798 rm -f conftest.$ac_objext conftest$ac_exeext
38799 if { (ac_try="$ac_link"
38800 case "(($ac_try" in
38801 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38802 *) ac_try_echo
=$ac_try;;
38804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38805 (eval "$ac_link") 2>conftest.er1
38807 grep -v '^ *+' conftest.er1
>conftest.err
38809 cat conftest.err
>&5
38810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38811 (exit $ac_status); } && {
38812 test -z "$ac_c_werror_flag" ||
38813 test ! -s conftest.err
38814 } && test -s conftest
$ac_exeext &&
38815 $as_test_x conftest
$ac_exeext; then
38816 ac_cv_func_pthread_mutex_timedlock
=yes
38818 echo "$as_me: failed program was:" >&5
38819 sed 's/^/| /' conftest.
$ac_ext >&5
38821 ac_cv_func_pthread_mutex_timedlock
=no
38824 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38825 conftest
$ac_exeext conftest.
$ac_ext
38827 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
38828 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
38829 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
38830 cat >>confdefs.h
<<\_ACEOF
38831 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
38835 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
38836 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
38840 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
38841 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
38842 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
38843 echo $ECHO_N "(cached) $ECHO_C" >&6
38845 cat >conftest.
$ac_ext <<_ACEOF
38848 cat confdefs.h
>>conftest.
$ac_ext
38849 cat >>conftest.
$ac_ext <<_ACEOF
38850 /* end confdefs.h. */
38851 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
38852 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38853 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
38855 /* System header to define __stub macros and hopefully few prototypes,
38856 which can conflict with char pthread_attr_setstacksize (); below.
38857 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38858 <limits.h> exists even on freestanding compilers. */
38861 # include <limits.h>
38863 # include <assert.h>
38866 #undef pthread_attr_setstacksize
38868 /* Override any GCC internal prototype to avoid an error.
38869 Use char because int might match the return type of a GCC
38870 builtin and then its argument prototype would still apply. */
38874 char pthread_attr_setstacksize ();
38875 /* The GNU C library defines this for functions which it implements
38876 to always fail with ENOSYS. Some functions are actually named
38877 something starting with __ and the normal name is an alias. */
38878 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
38885 return pthread_attr_setstacksize ();
38890 rm -f conftest.
$ac_objext conftest
$ac_exeext
38891 if { (ac_try
="$ac_link"
38892 case "(($ac_try" in
38893 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38894 *) ac_try_echo=$ac_try;;
38896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38897 (eval "$ac_link") 2>conftest.er1
38899 grep -v '^ *+' conftest.er1 >conftest.err
38901 cat conftest.err >&5
38902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38903 (exit $ac_status); } && {
38904 test -z "$ac_c_werror_flag" ||
38905 test ! -s conftest.err
38906 } && test -s conftest$ac_exeext &&
38907 $as_test_x conftest$ac_exeext; then
38908 ac_cv_func_pthread_attr_setstacksize=yes
38910 echo "$as_me: failed program was:" >&5
38911 sed 's/^/| /' conftest.$ac_ext >&5
38913 ac_cv_func_pthread_attr_setstacksize=no
38916 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38917 conftest$ac_exeext conftest.$ac_ext
38919 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
38920 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
38921 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
38922 cat >>confdefs.h <<\_ACEOF
38923 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
38930 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
38931 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
38932 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
38933 echo $ECHO_N "(cached) $ECHO_C" >&6
38936 cat >conftest.$ac_ext <<_ACEOF
38939 cat confdefs.h >>conftest.$ac_ext
38940 cat >>conftest.$ac_ext <<_ACEOF
38941 /* end confdefs.h. */
38942 #include <pthread.h>
38947 pthread_mutexattr_t attr;
38948 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38954 rm -f conftest.$ac_objext
38955 if { (ac_try="$ac_compile"
38956 case "(($ac_try" in
38957 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38958 *) ac_try_echo
=$ac_try;;
38960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38961 (eval "$ac_compile") 2>conftest.er1
38963 grep -v '^ *+' conftest.er1
>conftest.err
38965 cat conftest.err
>&5
38966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38967 (exit $ac_status); } && {
38968 test -z "$ac_c_werror_flag" ||
38969 test ! -s conftest.err
38970 } && test -s conftest.
$ac_objext; then
38971 wx_cv_type_pthread_mutexattr_t
=yes
38973 echo "$as_me: failed program was:" >&5
38974 sed 's/^/| /' conftest.
$ac_ext >&5
38976 wx_cv_type_pthread_mutexattr_t
=no
38980 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38983 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
38984 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
38986 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
38987 cat >>confdefs.h
<<\_ACEOF
38988 #define HAVE_PTHREAD_MUTEXATTR_T 1
38992 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
38993 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
38994 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
38995 echo $ECHO_N "(cached) $ECHO_C" >&6
38998 cat >conftest.
$ac_ext <<_ACEOF
39001 cat confdefs.h
>>conftest.
$ac_ext
39002 cat >>conftest.
$ac_ext <<_ACEOF
39003 /* end confdefs.h. */
39004 #include <pthread.h>
39009 pthread_mutexattr_t attr;
39010 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39016 rm -f conftest.
$ac_objext
39017 if { (ac_try
="$ac_compile"
39018 case "(($ac_try" in
39019 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39020 *) ac_try_echo=$ac_try;;
39022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39023 (eval "$ac_compile") 2>conftest.er1
39025 grep -v '^ *+' conftest.er1 >conftest.err
39027 cat conftest.err >&5
39028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39029 (exit $ac_status); } && {
39030 test -z "$ac_c_werror_flag" ||
39031 test ! -s conftest.err
39032 } && test -s conftest.$ac_objext; then
39033 wx_cv_func_pthread_mutexattr_settype_decl=yes
39035 echo "$as_me: failed program was:" >&5
39036 sed 's/^/| /' conftest.$ac_ext >&5
39038 wx_cv_func_pthread_mutexattr_settype_decl=no
39042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39045 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
39046 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
39047 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
39048 cat >>confdefs.h <<\_ACEOF
39049 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
39054 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
39055 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
39056 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
39057 echo $ECHO_N "(cached) $ECHO_C" >&6
39060 cat >conftest.$ac_ext <<_ACEOF
39063 cat confdefs.h >>conftest.$ac_ext
39064 cat >>conftest.$ac_ext <<_ACEOF
39065 /* end confdefs.h. */
39066 #include <pthread.h>
39071 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
39077 rm -f conftest.$ac_objext
39078 if { (ac_try="$ac_compile"
39079 case "(($ac_try" in
39080 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39081 *) ac_try_echo
=$ac_try;;
39083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39084 (eval "$ac_compile") 2>conftest.er1
39086 grep -v '^ *+' conftest.er1
>conftest.err
39088 cat conftest.err
>&5
39089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39090 (exit $ac_status); } && {
39091 test -z "$ac_c_werror_flag" ||
39092 test ! -s conftest.err
39093 } && test -s conftest.
$ac_objext; then
39095 wx_cv_type_pthread_rec_mutex_init
=yes
39098 echo "$as_me: failed program was:" >&5
39099 sed 's/^/| /' conftest.
$ac_ext >&5
39102 wx_cv_type_pthread_rec_mutex_init
=no
39107 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39110 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
39111 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
39112 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
39113 cat >>confdefs.h
<<\_ACEOF
39114 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
39118 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
39119 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
39125 if test "$wxUSE_THREADS" = "yes" ; then
39128 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
39129 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
39130 if test "${wx_cv_cflags_mthread+set}" = set; then
39131 echo $ECHO_N "(cached) $ECHO_C" >&6
39134 CFLAGS_OLD
="$CFLAGS"
39135 CFLAGS
="-mthreads $CFLAGS"
39136 cat >conftest.
$ac_ext <<_ACEOF
39139 cat confdefs.h
>>conftest.
$ac_ext
39140 cat >>conftest.
$ac_ext <<_ACEOF
39141 /* end confdefs.h. */
39151 rm -f conftest.
$ac_objext
39152 if { (ac_try
="$ac_compile"
39153 case "(($ac_try" in
39154 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39155 *) ac_try_echo=$ac_try;;
39157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39158 (eval "$ac_compile") 2>conftest.er1
39160 grep -v '^ *+' conftest.er1 >conftest.err
39162 cat conftest.err >&5
39163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39164 (exit $ac_status); } && {
39165 test -z "$ac_c_werror_flag" ||
39166 test ! -s conftest.err
39167 } && test -s conftest.$ac_objext; then
39168 wx_cv_cflags_mthread=yes
39170 echo "$as_me: failed program was:" >&5
39171 sed 's/^/| /' conftest.$ac_ext >&5
39173 wx_cv_cflags_mthread=no
39177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39181 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
39182 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
39184 if test "$wx_cv_cflags_mthread" = "yes"; then
39185 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
39186 LDFLAGS="$LDFLAGS -mthreads"
39188 CFLAGS="$CFLAGS_OLD"
39192 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
39193 LDFLAGS="$LDFLAGS -Zmt"
39199 { echo "$as_me:$LINENO: checking for localtime_r" >&5
39200 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
39201 if test "${ac_cv_func_localtime_r+set}" = set; then
39202 echo $ECHO_N "(cached) $ECHO_C" >&6
39204 cat >conftest.$ac_ext <<_ACEOF
39207 cat confdefs.h >>conftest.$ac_ext
39208 cat >>conftest.$ac_ext <<_ACEOF
39209 /* end confdefs.h. */
39210 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
39211 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39212 #define localtime_r innocuous_localtime_r
39214 /* System header to define __stub macros and hopefully few prototypes,
39215 which can conflict with char localtime_r (); below.
39216 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39217 <limits.h> exists even on freestanding compilers. */
39220 # include <limits.h>
39222 # include <assert.h>
39227 /* Override any GCC internal prototype to avoid an error.
39228 Use char because int might match the return type of a GCC
39229 builtin and then its argument prototype would still apply. */
39233 char localtime_r ();
39234 /* The GNU C library defines this for functions which it implements
39235 to always fail with ENOSYS. Some functions are actually named
39236 something starting with __ and the normal name is an alias. */
39237 #if defined __stub_localtime_r || defined __stub___localtime_r
39244 return localtime_r ();
39249 rm -f conftest.$ac_objext conftest$ac_exeext
39250 if { (ac_try="$ac_link"
39251 case "(($ac_try" in
39252 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39253 *) ac_try_echo
=$ac_try;;
39255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39256 (eval "$ac_link") 2>conftest.er1
39258 grep -v '^ *+' conftest.er1
>conftest.err
39260 cat conftest.err
>&5
39261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39262 (exit $ac_status); } && {
39263 test -z "$ac_c_werror_flag" ||
39264 test ! -s conftest.err
39265 } && test -s conftest
$ac_exeext &&
39266 $as_test_x conftest
$ac_exeext; then
39267 ac_cv_func_localtime_r
=yes
39269 echo "$as_me: failed program was:" >&5
39270 sed 's/^/| /' conftest.
$ac_ext >&5
39272 ac_cv_func_localtime_r
=no
39275 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39276 conftest
$ac_exeext conftest.
$ac_ext
39278 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
39279 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
39280 if test $ac_cv_func_localtime_r = yes; then
39281 cat >>confdefs.h
<<\_ACEOF
39282 #define HAVE_LOCALTIME_R 1
39287 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
39288 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
39289 if test "${ac_cv_func_gmtime_r+set}" = set; then
39290 echo $ECHO_N "(cached) $ECHO_C" >&6
39292 cat >conftest.
$ac_ext <<_ACEOF
39295 cat confdefs.h
>>conftest.
$ac_ext
39296 cat >>conftest.
$ac_ext <<_ACEOF
39297 /* end confdefs.h. */
39298 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
39299 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39300 #define gmtime_r innocuous_gmtime_r
39302 /* System header to define __stub macros and hopefully few prototypes,
39303 which can conflict with char gmtime_r (); below.
39304 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39305 <limits.h> exists even on freestanding compilers. */
39308 # include <limits.h>
39310 # include <assert.h>
39315 /* Override any GCC internal prototype to avoid an error.
39316 Use char because int might match the return type of a GCC
39317 builtin and then its argument prototype would still apply. */
39322 /* The GNU C library defines this for functions which it implements
39323 to always fail with ENOSYS. Some functions are actually named
39324 something starting with __ and the normal name is an alias. */
39325 #if defined __stub_gmtime_r || defined __stub___gmtime_r
39332 return gmtime_r ();
39337 rm -f conftest.
$ac_objext conftest
$ac_exeext
39338 if { (ac_try
="$ac_link"
39339 case "(($ac_try" in
39340 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39341 *) ac_try_echo=$ac_try;;
39343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39344 (eval "$ac_link") 2>conftest.er1
39346 grep -v '^ *+' conftest.er1 >conftest.err
39348 cat conftest.err >&5
39349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39350 (exit $ac_status); } && {
39351 test -z "$ac_c_werror_flag" ||
39352 test ! -s conftest.err
39353 } && test -s conftest$ac_exeext &&
39354 $as_test_x conftest$ac_exeext; then
39355 ac_cv_func_gmtime_r=yes
39357 echo "$as_me: failed program was:" >&5
39358 sed 's/^/| /' conftest.$ac_ext >&5
39360 ac_cv_func_gmtime_r=no
39363 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39364 conftest$ac_exeext conftest.$ac_ext
39366 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
39367 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
39368 if test $ac_cv_func_gmtime_r = yes; then
39369 cat >>confdefs.h <<\_ACEOF
39370 #define HAVE_GMTIME_R 1
39375 { echo "$as_me:$LINENO: checking for readdir_r" >&5
39376 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6; }
39377 if test "${ac_cv_func_readdir_r+set}" = set; then
39378 echo $ECHO_N "(cached) $ECHO_C" >&6
39380 cat >conftest.$ac_ext <<_ACEOF
39383 cat confdefs.h >>conftest.$ac_ext
39384 cat >>conftest.$ac_ext <<_ACEOF
39385 /* end confdefs.h. */
39386 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
39387 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39388 #define readdir_r innocuous_readdir_r
39390 /* System header to define __stub macros and hopefully few prototypes,
39391 which can conflict with char readdir_r (); below.
39392 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39393 <limits.h> exists even on freestanding compilers. */
39396 # include <limits.h>
39398 # include <assert.h>
39403 /* Override any GCC internal prototype to avoid an error.
39404 Use char because int might match the return type of a GCC
39405 builtin and then its argument prototype would still apply. */
39410 /* The GNU C library defines this for functions which it implements
39411 to always fail with ENOSYS. Some functions are actually named
39412 something starting with __ and the normal name is an alias. */
39413 #if defined __stub_readdir_r || defined __stub___readdir_r
39420 return readdir_r ();
39425 rm -f conftest.$ac_objext conftest$ac_exeext
39426 if { (ac_try="$ac_link"
39427 case "(($ac_try" in
39428 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39429 *) ac_try_echo
=$ac_try;;
39431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39432 (eval "$ac_link") 2>conftest.er1
39434 grep -v '^ *+' conftest.er1
>conftest.err
39436 cat conftest.err
>&5
39437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39438 (exit $ac_status); } && {
39439 test -z "$ac_c_werror_flag" ||
39440 test ! -s conftest.err
39441 } && test -s conftest
$ac_exeext &&
39442 $as_test_x conftest
$ac_exeext; then
39443 ac_cv_func_readdir_r
=yes
39445 echo "$as_me: failed program was:" >&5
39446 sed 's/^/| /' conftest.
$ac_ext >&5
39448 ac_cv_func_readdir_r
=no
39451 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39452 conftest
$ac_exeext conftest.
$ac_ext
39454 { echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
39455 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6; }
39456 if test $ac_cv_func_readdir_r = yes; then
39457 cat >>confdefs.h
<<\_ACEOF
39458 #define HAVE_READDIR_R 1
39467 ac_cpp
='$CPP $CPPFLAGS'
39468 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39469 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39470 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39472 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
39473 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
39475 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
39476 echo $ECHO_N "(cached) $ECHO_C" >&6
39480 ################################################################
39482 ac_cv_func_which_gethostbyname_r
=unknown
39485 # ONE ARGUMENT (sanity check)
39488 # This should fail, as there is no variant of gethostbyname_r() that takes
39489 # a single argument. If it actually compiles, then we can assume that
39490 # netdb.h is not declaring the function, and the compiler is thereby
39491 # assuming an implicit prototype. In which case, we're out of luck.
39493 cat >conftest.
$ac_ext <<_ACEOF
39496 cat confdefs.h
>>conftest.
$ac_ext
39497 cat >>conftest.
$ac_ext <<_ACEOF
39498 /* end confdefs.h. */
39504 char *name = "www.gnu.org";
39505 (void)gethostbyname_r(name) /* ; */
39511 rm -f conftest.
$ac_objext
39512 if { (ac_try
="$ac_compile"
39513 case "(($ac_try" in
39514 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39515 *) ac_try_echo=$ac_try;;
39517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39518 (eval "$ac_compile") 2>conftest.er1
39520 grep -v '^ *+' conftest.er1 >conftest.err
39522 cat conftest.err >&5
39523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39524 (exit $ac_status); } && {
39525 test -z "$ac_c_werror_flag" ||
39526 test ! -s conftest.err
39527 } && test -s conftest.$ac_objext; then
39528 ac_cv_func_which_gethostbyname_r=no
39530 echo "$as_me: failed program was:" >&5
39531 sed 's/^/| /' conftest.$ac_ext >&5
39536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39543 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39545 cat >conftest.$ac_ext <<_ACEOF
39548 cat confdefs.h >>conftest.$ac_ext
39549 cat >>conftest.$ac_ext <<_ACEOF
39550 /* end confdefs.h. */
39556 char *name = "www.gnu.org";
39557 struct hostent ret, *retp;
39561 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
39567 rm -f conftest.$ac_objext
39568 if { (ac_try="$ac_compile"
39569 case "(($ac_try" in
39570 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39571 *) ac_try_echo
=$ac_try;;
39573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39574 (eval "$ac_compile") 2>conftest.er1
39576 grep -v '^ *+' conftest.er1
>conftest.err
39578 cat conftest.err
>&5
39579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39580 (exit $ac_status); } && {
39581 test -z "$ac_c_werror_flag" ||
39582 test ! -s conftest.err
39583 } && test -s conftest.
$ac_objext; then
39584 ac_cv_func_which_gethostbyname_r
=six
39586 echo "$as_me: failed program was:" >&5
39587 sed 's/^/| /' conftest.
$ac_ext >&5
39592 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39601 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39603 cat >conftest.
$ac_ext <<_ACEOF
39606 cat confdefs.h
>>conftest.
$ac_ext
39607 cat >>conftest.
$ac_ext <<_ACEOF
39608 /* end confdefs.h. */
39614 char *name = "www.gnu.org";
39615 struct hostent ret;
39619 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
39625 rm -f conftest.
$ac_objext
39626 if { (ac_try
="$ac_compile"
39627 case "(($ac_try" in
39628 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39629 *) ac_try_echo=$ac_try;;
39631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39632 (eval "$ac_compile") 2>conftest.er1
39634 grep -v '^ *+' conftest.er1 >conftest.err
39636 cat conftest.err >&5
39637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39638 (exit $ac_status); } && {
39639 test -z "$ac_c_werror_flag" ||
39640 test ! -s conftest.err
39641 } && test -s conftest.$ac_objext; then
39642 ac_cv_func_which_gethostbyname_r=five
39644 echo "$as_me: failed program was:" >&5
39645 sed 's/^/| /' conftest.$ac_ext >&5
39650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39656 # (e.g. AIX, HP-UX, Tru64)
39659 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39661 cat >conftest.$ac_ext <<_ACEOF
39664 cat confdefs.h >>conftest.$ac_ext
39665 cat >>conftest.$ac_ext <<_ACEOF
39666 /* end confdefs.h. */
39672 char *name = "www.gnu.org";
39673 struct hostent ret;
39674 struct hostent_data data;
39675 (void)gethostbyname_r(name, &ret, &data) /* ; */
39681 rm -f conftest.$ac_objext
39682 if { (ac_try="$ac_compile"
39683 case "(($ac_try" in
39684 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39685 *) ac_try_echo
=$ac_try;;
39687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39688 (eval "$ac_compile") 2>conftest.er1
39690 grep -v '^ *+' conftest.er1
>conftest.err
39692 cat conftest.err
>&5
39693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39694 (exit $ac_status); } && {
39695 test -z "$ac_c_werror_flag" ||
39696 test ! -s conftest.err
39697 } && test -s conftest.
$ac_objext; then
39698 ac_cv_func_which_gethostbyname_r
=three
39700 echo "$as_me: failed program was:" >&5
39701 sed 's/^/| /' conftest.
$ac_ext >&5
39706 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39710 ################################################################
39715 case "$ac_cv_func_which_gethostbyname_r" in
39717 { echo "$as_me:$LINENO: result: three" >&5
39718 echo "${ECHO_T}three" >&6; }
39719 cat >>confdefs.h
<<\_ACEOF
39720 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
39726 { echo "$as_me:$LINENO: result: five" >&5
39727 echo "${ECHO_T}five" >&6; }
39728 cat >>confdefs.h
<<\_ACEOF
39729 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
39735 { echo "$as_me:$LINENO: result: six" >&5
39736 echo "${ECHO_T}six" >&6; }
39737 cat >>confdefs.h
<<\_ACEOF
39738 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
39744 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
39745 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
39749 { echo "$as_me:$LINENO: result: can't tell" >&5
39750 echo "${ECHO_T}can't tell" >&6; }
39754 { { echo "$as_me:$LINENO: error: internal error" >&5
39755 echo "$as_me: error: internal error" >&2;}
39756 { (exit 1); exit 1; }; }
39761 ac_cpp
='$CPP $CPPFLAGS'
39762 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39763 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39764 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39768 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
39769 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
39770 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
39771 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
39772 if test "${ac_cv_func_gethostbyname+set}" = set; then
39773 echo $ECHO_N "(cached) $ECHO_C" >&6
39775 cat >conftest.
$ac_ext <<_ACEOF
39778 cat confdefs.h
>>conftest.
$ac_ext
39779 cat >>conftest.
$ac_ext <<_ACEOF
39780 /* end confdefs.h. */
39781 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
39782 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39783 #define gethostbyname innocuous_gethostbyname
39785 /* System header to define __stub macros and hopefully few prototypes,
39786 which can conflict with char gethostbyname (); below.
39787 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39788 <limits.h> exists even on freestanding compilers. */
39791 # include <limits.h>
39793 # include <assert.h>
39796 #undef gethostbyname
39798 /* Override any GCC internal prototype to avoid an error.
39799 Use char because int might match the return type of a GCC
39800 builtin and then its argument prototype would still apply. */
39804 char gethostbyname ();
39805 /* The GNU C library defines this for functions which it implements
39806 to always fail with ENOSYS. Some functions are actually named
39807 something starting with __ and the normal name is an alias. */
39808 #if defined __stub_gethostbyname || defined __stub___gethostbyname
39815 return gethostbyname ();
39820 rm -f conftest.
$ac_objext conftest
$ac_exeext
39821 if { (ac_try
="$ac_link"
39822 case "(($ac_try" in
39823 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39824 *) ac_try_echo=$ac_try;;
39826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39827 (eval "$ac_link") 2>conftest.er1
39829 grep -v '^ *+' conftest.er1 >conftest.err
39831 cat conftest.err >&5
39832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39833 (exit $ac_status); } && {
39834 test -z "$ac_c_werror_flag" ||
39835 test ! -s conftest.err
39836 } && test -s conftest$ac_exeext &&
39837 $as_test_x conftest$ac_exeext; then
39838 ac_cv_func_gethostbyname=yes
39840 echo "$as_me: failed program was:" >&5
39841 sed 's/^/| /' conftest.$ac_ext >&5
39843 ac_cv_func_gethostbyname=no
39846 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39847 conftest$ac_exeext conftest.$ac_ext
39849 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
39850 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
39851 if test $ac_cv_func_gethostbyname = yes; then
39852 cat >>confdefs.h <<\_ACEOF
39853 #define HAVE_GETHOSTBYNAME 1
39860 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
39861 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
39862 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
39863 echo $ECHO_N "(cached) $ECHO_C" >&6
39867 ac_cpp='$CXXCPP $CPPFLAGS'
39868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39873 cat >conftest.$ac_ext <<_ACEOF
39876 cat confdefs.h >>conftest.$ac_ext
39877 cat >>conftest.$ac_ext <<_ACEOF
39878 /* end confdefs.h. */
39886 struct servent *se, *res;
39889 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
39895 rm -f conftest.$ac_objext
39896 if { (ac_try="$ac_compile"
39897 case "(($ac_try" in
39898 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39899 *) ac_try_echo
=$ac_try;;
39901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39902 (eval "$ac_compile") 2>conftest.er1
39904 grep -v '^ *+' conftest.er1
>conftest.err
39906 cat conftest.err
>&5
39907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39908 (exit $ac_status); } && {
39909 test -z "$ac_cxx_werror_flag" ||
39910 test ! -s conftest.err
39911 } && test -s conftest.
$ac_objext; then
39912 ac_cv_func_which_getservbyname_r
=six
39914 echo "$as_me: failed program was:" >&5
39915 sed 's/^/| /' conftest.
$ac_ext >&5
39918 cat >conftest.
$ac_ext <<_ACEOF
39921 cat confdefs.h
>>conftest.
$ac_ext
39922 cat >>conftest.
$ac_ext <<_ACEOF
39923 /* end confdefs.h. */
39931 struct servent *se;
39934 (void) getservbyname_r(name, proto, se, buffer, buflen)
39940 rm -f conftest.
$ac_objext
39941 if { (ac_try
="$ac_compile"
39942 case "(($ac_try" in
39943 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39944 *) ac_try_echo=$ac_try;;
39946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39947 (eval "$ac_compile") 2>conftest.er1
39949 grep -v '^ *+' conftest.er1 >conftest.err
39951 cat conftest.err >&5
39952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39953 (exit $ac_status); } && {
39954 test -z "$ac_cxx_werror_flag" ||
39955 test ! -s conftest.err
39956 } && test -s conftest.$ac_objext; then
39957 ac_cv_func_which_getservbyname_r=five
39959 echo "$as_me: failed program was:" >&5
39960 sed 's/^/| /' conftest.$ac_ext >&5
39963 cat >conftest.$ac_ext <<_ACEOF
39966 cat confdefs.h >>conftest.$ac_ext
39967 cat >>conftest.$ac_ext <<_ACEOF
39968 /* end confdefs.h. */
39976 struct servent *se;
39977 struct servent_data data;
39978 (void) getservbyname_r(name, proto, se, &data);
39984 rm -f conftest.$ac_objext
39985 if { (ac_try="$ac_compile"
39986 case "(($ac_try" in
39987 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39988 *) ac_try_echo
=$ac_try;;
39990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39991 (eval "$ac_compile") 2>conftest.er1
39993 grep -v '^ *+' conftest.er1
>conftest.err
39995 cat conftest.err
>&5
39996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39997 (exit $ac_status); } && {
39998 test -z "$ac_cxx_werror_flag" ||
39999 test ! -s conftest.err
40000 } && test -s conftest.
$ac_objext; then
40001 ac_cv_func_which_getservbyname_r
=four
40003 echo "$as_me: failed program was:" >&5
40004 sed 's/^/| /' conftest.
$ac_ext >&5
40006 ac_cv_func_which_getservbyname_r
=no
40010 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40015 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40020 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40022 ac_cpp
='$CPP $CPPFLAGS'
40023 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40024 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40025 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40030 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
40031 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
40033 if test $ac_cv_func_which_getservbyname_r = six
; then
40034 cat >>confdefs.h
<<\_ACEOF
40035 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
40038 elif test $ac_cv_func_which_getservbyname_r = five
; then
40039 cat >>confdefs.h
<<\_ACEOF
40040 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
40043 elif test $ac_cv_func_which_getservbyname_r = four
; then
40044 cat >>confdefs.h
<<\_ACEOF
40045 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
40051 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
40052 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
40054 for ac_func
in getservbyname
40056 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40057 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40058 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40059 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40060 echo $ECHO_N "(cached) $ECHO_C" >&6
40062 cat >conftest.
$ac_ext <<_ACEOF
40065 cat confdefs.h
>>conftest.
$ac_ext
40066 cat >>conftest.
$ac_ext <<_ACEOF
40067 /* end confdefs.h. */
40068 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40069 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40070 #define $ac_func innocuous_$ac_func
40072 /* System header to define __stub macros and hopefully few prototypes,
40073 which can conflict with char $ac_func (); below.
40074 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40075 <limits.h> exists even on freestanding compilers. */
40078 # include <limits.h>
40080 # include <assert.h>
40085 /* Override any GCC internal prototype to avoid an error.
40086 Use char because int might match the return type of a GCC
40087 builtin and then its argument prototype would still apply. */
40092 /* The GNU C library defines this for functions which it implements
40093 to always fail with ENOSYS. Some functions are actually named
40094 something starting with __ and the normal name is an alias. */
40095 #if defined __stub_$ac_func || defined __stub___$ac_func
40102 return $ac_func ();
40107 rm -f conftest.
$ac_objext conftest
$ac_exeext
40108 if { (ac_try
="$ac_link"
40109 case "(($ac_try" in
40110 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40111 *) ac_try_echo=$ac_try;;
40113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40114 (eval "$ac_link") 2>conftest.er1
40116 grep -v '^ *+' conftest.er1 >conftest.err
40118 cat conftest.err >&5
40119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40120 (exit $ac_status); } && {
40121 test -z "$ac_c_werror_flag" ||
40122 test ! -s conftest.err
40123 } && test -s conftest$ac_exeext &&
40124 $as_test_x conftest$ac_exeext; then
40125 eval "$as_ac_var=yes"
40127 echo "$as_me: failed program was:" >&5
40128 sed 's/^/| /' conftest.$ac_ext >&5
40130 eval "$as_ac_var=no"
40133 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40134 conftest$ac_exeext conftest.$ac_ext
40136 ac_res=`eval echo '${'$as_ac_var'}'`
40137 { echo "$as_me:$LINENO: result: $ac_res" >&5
40138 echo "${ECHO_T}$ac_res" >&6; }
40139 if test `eval echo '${'$as_ac_var'}'` = yes; then
40140 cat >>confdefs.h <<_ACEOF
40141 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40143 cat >>confdefs.h <<\_ACEOF
40144 #define HAVE_GETSERVBYNAME 1
40152 if test "$wxUSE_THREADS" = "yes"; then
40153 cat >>confdefs.h <<\_ACEOF
40154 #define wxUSE_THREADS 1
40158 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
40160 if test "$wx_cv_func_strtok_r" = "yes"; then
40161 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
40162 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
40163 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
40164 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
40165 { echo "$as_me:$LINENO: result: yes" >&5
40166 echo "${ECHO_T}yes" >&6; }
40168 { echo "$as_me:$LINENO: result: no" >&5
40169 echo "${ECHO_T}no" >&6; }
40174 if test "$WXGTK20" = 1 ; then
40175 cat >>confdefs.h <<_ACEOF
40176 #define __WXGTK20__ $WXGTK20
40182 if test "$WXGTK12" = 1 ; then
40183 cat >>confdefs.h <<_ACEOF
40184 #define __WXGTK12__ $WXGTK12
40189 if test "$WXGTK127" = 1 ; then
40190 cat >>confdefs.h <<_ACEOF
40191 #define __WXGTK127__ $WXGTK127
40196 if test "$WXGPE" = 1 ; then
40197 cat >>confdefs.h <<_ACEOF
40198 #define __WXGPE__ $WXGPE
40204 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
40209 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
40210 wxUSE_DEBUG_INFO=yes
40211 if test "$GCC" = yes; then
40212 DEBUG_CFLAGS="-ggdb"
40216 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
40217 cat >>confdefs.h <<\_ACEOF
40221 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
40223 if test "$wxUSE_GTK" = 1 ; then
40224 if test "x$wxGTK_VERSION" = "x1" ; then
40225 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
40230 if test "$wxUSE_MEM_TRACING" = "yes" ; then
40231 cat >>confdefs.h <<\_ACEOF
40232 #define wxUSE_MEMORY_TRACING 1
40235 cat >>confdefs.h <<\_ACEOF
40236 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
40239 cat >>confdefs.h <<\_ACEOF
40240 #define wxUSE_DEBUG_NEW_ALWAYS 1
40243 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
40246 if test "$wxUSE_DMALLOC" = "yes" ; then
40247 DMALLOC_LIBS="-ldmallocthcxx"
40251 if test "$wxUSE_PROFILE" = "yes" ; then
40252 PROFILE_FLAGS=" -pg"
40255 if test "$GCC" = "yes" ; then
40256 if test "$wxUSE_NO_RTTI" = "yes" ; then
40257 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
40259 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
40260 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
40262 if test "$wxUSE_PERMISSIVE" = "yes" ; then
40263 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
40268 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
40271 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
40277 if test "$wxUSE_OPTIMISE" = "no" ; then
40278 if test "$GCC" = yes ; then
40279 OPTIMISE_CFLAGS="-O0"
40282 if test "$GCC" = yes ; then
40284 *-pc-os2_emx | *-pc-os2-emx )
40285 OPTIMISE_CFLAGS="-O2"
40288 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
40292 OPTIMISE_CFLAGS="-O"
40297 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
40298 cat >>confdefs.h <<\_ACEOF
40299 #define WXWIN_COMPATIBILITY_2_6 1
40303 WXWIN_COMPATIBILITY_2_8="yes"
40306 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
40307 cat >>confdefs.h <<\_ACEOF
40308 #define WXWIN_COMPATIBILITY_2_8 1
40314 if test "$wxUSE_GUI" = "yes"; then
40315 cat >>confdefs.h <<\_ACEOF
40316 #define wxUSE_GUI 1
40323 if test "$wxUSE_UNIX" = "yes"; then
40324 cat >>confdefs.h <<\_ACEOF
40325 #define wxUSE_UNIX 1
40331 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40335 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40336 if test "$USE_DARWIN" = 1; then
40338 elif test "$USE_DOS" = 1; then
40342 for ac_func in dlopen
40344 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40345 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40346 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40347 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40348 echo $ECHO_N "(cached) $ECHO_C" >&6
40350 cat >conftest.$ac_ext <<_ACEOF
40353 cat confdefs.h >>conftest.$ac_ext
40354 cat >>conftest.$ac_ext <<_ACEOF
40355 /* end confdefs.h. */
40356 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40357 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40358 #define $ac_func innocuous_$ac_func
40360 /* System header to define __stub macros and hopefully few prototypes,
40361 which can conflict with char $ac_func (); below.
40362 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40363 <limits.h> exists even on freestanding compilers. */
40366 # include <limits.h>
40368 # include <assert.h>
40373 /* Override any GCC internal prototype to avoid an error.
40374 Use char because int might match the return type of a GCC
40375 builtin and then its argument prototype would still apply. */
40380 /* The GNU C library defines this for functions which it implements
40381 to always fail with ENOSYS. Some functions are actually named
40382 something starting with __ and the normal name is an alias. */
40383 #if defined __stub_$ac_func || defined __stub___$ac_func
40390 return $ac_func ();
40395 rm -f conftest.$ac_objext conftest$ac_exeext
40396 if { (ac_try="$ac_link"
40397 case "(($ac_try" in
40398 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40399 *) ac_try_echo
=$ac_try;;
40401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40402 (eval "$ac_link") 2>conftest.er1
40404 grep -v '^ *+' conftest.er1
>conftest.err
40406 cat conftest.err
>&5
40407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40408 (exit $ac_status); } && {
40409 test -z "$ac_c_werror_flag" ||
40410 test ! -s conftest.err
40411 } && test -s conftest
$ac_exeext &&
40412 $as_test_x conftest
$ac_exeext; then
40413 eval "$as_ac_var=yes"
40415 echo "$as_me: failed program was:" >&5
40416 sed 's/^/| /' conftest.
$ac_ext >&5
40418 eval "$as_ac_var=no"
40421 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40422 conftest
$ac_exeext conftest.
$ac_ext
40424 ac_res
=`eval echo '${'$as_ac_var'}'`
40425 { echo "$as_me:$LINENO: result: $ac_res" >&5
40426 echo "${ECHO_T}$ac_res" >&6; }
40427 if test `eval echo '${'$as_ac_var'}'` = yes; then
40428 cat >>confdefs.h
<<_ACEOF
40429 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40432 cat >>confdefs.h
<<\_ACEOF
40433 #define HAVE_DLOPEN 1
40440 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
40441 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
40442 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
40443 echo $ECHO_N "(cached) $ECHO_C" >&6
40445 ac_check_lib_save_LIBS
=$LIBS
40447 cat >conftest.
$ac_ext <<_ACEOF
40450 cat confdefs.h
>>conftest.
$ac_ext
40451 cat >>conftest.
$ac_ext <<_ACEOF
40452 /* end confdefs.h. */
40454 /* Override any GCC internal prototype to avoid an error.
40455 Use char because int might match the return type of a GCC
40456 builtin and then its argument prototype would still apply. */
40469 rm -f conftest.
$ac_objext conftest
$ac_exeext
40470 if { (ac_try
="$ac_link"
40471 case "(($ac_try" in
40472 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40473 *) ac_try_echo=$ac_try;;
40475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40476 (eval "$ac_link") 2>conftest.er1
40478 grep -v '^ *+' conftest.er1 >conftest.err
40480 cat conftest.err >&5
40481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40482 (exit $ac_status); } && {
40483 test -z "$ac_c_werror_flag" ||
40484 test ! -s conftest.err
40485 } && test -s conftest$ac_exeext &&
40486 $as_test_x conftest$ac_exeext; then
40487 ac_cv_lib_dl_dlopen=yes
40489 echo "$as_me: failed program was:" >&5
40490 sed 's/^/| /' conftest.$ac_ext >&5
40492 ac_cv_lib_dl_dlopen=no
40495 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40496 conftest$ac_exeext conftest.$ac_ext
40497 LIBS=$ac_check_lib_save_LIBS
40499 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
40500 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
40501 if test $ac_cv_lib_dl_dlopen = yes; then
40503 cat >>confdefs.h <<\_ACEOF
40504 #define HAVE_DLOPEN 1
40508 DL_LINK=" -ldl$DL_LINK"
40513 for ac_func in shl_load
40515 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40516 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40517 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40518 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40519 echo $ECHO_N "(cached) $ECHO_C" >&6
40521 cat >conftest.$ac_ext <<_ACEOF
40524 cat confdefs.h >>conftest.$ac_ext
40525 cat >>conftest.$ac_ext <<_ACEOF
40526 /* end confdefs.h. */
40527 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40528 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40529 #define $ac_func innocuous_$ac_func
40531 /* System header to define __stub macros and hopefully few prototypes,
40532 which can conflict with char $ac_func (); below.
40533 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40534 <limits.h> exists even on freestanding compilers. */
40537 # include <limits.h>
40539 # include <assert.h>
40544 /* Override any GCC internal prototype to avoid an error.
40545 Use char because int might match the return type of a GCC
40546 builtin and then its argument prototype would still apply. */
40551 /* The GNU C library defines this for functions which it implements
40552 to always fail with ENOSYS. Some functions are actually named
40553 something starting with __ and the normal name is an alias. */
40554 #if defined __stub_$ac_func || defined __stub___$ac_func
40561 return $ac_func ();
40566 rm -f conftest.$ac_objext conftest$ac_exeext
40567 if { (ac_try="$ac_link"
40568 case "(($ac_try" in
40569 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40570 *) ac_try_echo
=$ac_try;;
40572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40573 (eval "$ac_link") 2>conftest.er1
40575 grep -v '^ *+' conftest.er1
>conftest.err
40577 cat conftest.err
>&5
40578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40579 (exit $ac_status); } && {
40580 test -z "$ac_c_werror_flag" ||
40581 test ! -s conftest.err
40582 } && test -s conftest
$ac_exeext &&
40583 $as_test_x conftest
$ac_exeext; then
40584 eval "$as_ac_var=yes"
40586 echo "$as_me: failed program was:" >&5
40587 sed 's/^/| /' conftest.
$ac_ext >&5
40589 eval "$as_ac_var=no"
40592 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40593 conftest
$ac_exeext conftest.
$ac_ext
40595 ac_res
=`eval echo '${'$as_ac_var'}'`
40596 { echo "$as_me:$LINENO: result: $ac_res" >&5
40597 echo "${ECHO_T}$ac_res" >&6; }
40598 if test `eval echo '${'$as_ac_var'}'` = yes; then
40599 cat >>confdefs.h
<<_ACEOF
40600 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40603 cat >>confdefs.h
<<\_ACEOF
40604 #define HAVE_SHL_LOAD 1
40611 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
40612 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
40613 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
40614 echo $ECHO_N "(cached) $ECHO_C" >&6
40616 ac_check_lib_save_LIBS
=$LIBS
40617 LIBS
="-lshl_load $LIBS"
40618 cat >conftest.
$ac_ext <<_ACEOF
40621 cat confdefs.h
>>conftest.
$ac_ext
40622 cat >>conftest.
$ac_ext <<_ACEOF
40623 /* end confdefs.h. */
40625 /* Override any GCC internal prototype to avoid an error.
40626 Use char because int might match the return type of a GCC
40627 builtin and then its argument prototype would still apply. */
40640 rm -f conftest.
$ac_objext conftest
$ac_exeext
40641 if { (ac_try
="$ac_link"
40642 case "(($ac_try" in
40643 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40644 *) ac_try_echo=$ac_try;;
40646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40647 (eval "$ac_link") 2>conftest.er1
40649 grep -v '^ *+' conftest.er1 >conftest.err
40651 cat conftest.err >&5
40652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40653 (exit $ac_status); } && {
40654 test -z "$ac_c_werror_flag" ||
40655 test ! -s conftest.err
40656 } && test -s conftest$ac_exeext &&
40657 $as_test_x conftest$ac_exeext; then
40658 ac_cv_lib_shl_load_dld=yes
40660 echo "$as_me: failed program was:" >&5
40661 sed 's/^/| /' conftest.$ac_ext >&5
40663 ac_cv_lib_shl_load_dld=no
40666 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40667 conftest$ac_exeext conftest.$ac_ext
40668 LIBS=$ac_check_lib_save_LIBS
40670 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
40671 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
40672 if test $ac_cv_lib_shl_load_dld = yes; then
40675 DL_LINK=" -ldld$DL_LINK"
40691 if test "$HAVE_DL_FUNCS" = 1; then
40693 for ac_func in dlerror
40695 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40696 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40697 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40698 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40699 echo $ECHO_N "(cached) $ECHO_C" >&6
40701 cat >conftest.$ac_ext <<_ACEOF
40704 cat confdefs.h >>conftest.$ac_ext
40705 cat >>conftest.$ac_ext <<_ACEOF
40706 /* end confdefs.h. */
40707 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40708 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40709 #define $ac_func innocuous_$ac_func
40711 /* System header to define __stub macros and hopefully few prototypes,
40712 which can conflict with char $ac_func (); below.
40713 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40714 <limits.h> exists even on freestanding compilers. */
40717 # include <limits.h>
40719 # include <assert.h>
40724 /* Override any GCC internal prototype to avoid an error.
40725 Use char because int might match the return type of a GCC
40726 builtin and then its argument prototype would still apply. */
40731 /* The GNU C library defines this for functions which it implements
40732 to always fail with ENOSYS. Some functions are actually named
40733 something starting with __ and the normal name is an alias. */
40734 #if defined __stub_$ac_func || defined __stub___$ac_func
40741 return $ac_func ();
40746 rm -f conftest.$ac_objext conftest$ac_exeext
40747 if { (ac_try="$ac_link"
40748 case "(($ac_try" in
40749 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40750 *) ac_try_echo
=$ac_try;;
40752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40753 (eval "$ac_link") 2>conftest.er1
40755 grep -v '^ *+' conftest.er1
>conftest.err
40757 cat conftest.err
>&5
40758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40759 (exit $ac_status); } && {
40760 test -z "$ac_c_werror_flag" ||
40761 test ! -s conftest.err
40762 } && test -s conftest
$ac_exeext &&
40763 $as_test_x conftest
$ac_exeext; then
40764 eval "$as_ac_var=yes"
40766 echo "$as_me: failed program was:" >&5
40767 sed 's/^/| /' conftest.
$ac_ext >&5
40769 eval "$as_ac_var=no"
40772 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40773 conftest
$ac_exeext conftest.
$ac_ext
40775 ac_res
=`eval echo '${'$as_ac_var'}'`
40776 { echo "$as_me:$LINENO: result: $ac_res" >&5
40777 echo "${ECHO_T}$ac_res" >&6; }
40778 if test `eval echo '${'$as_ac_var'}'` = yes; then
40779 cat >>confdefs.h
<<_ACEOF
40780 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40782 cat >>confdefs.h
<<\_ACEOF
40783 #define HAVE_DLERROR 1
40788 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
40789 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
40790 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
40791 echo $ECHO_N "(cached) $ECHO_C" >&6
40793 ac_check_lib_save_LIBS
=$LIBS
40795 cat >conftest.
$ac_ext <<_ACEOF
40798 cat confdefs.h
>>conftest.
$ac_ext
40799 cat >>conftest.
$ac_ext <<_ACEOF
40800 /* end confdefs.h. */
40802 /* Override any GCC internal prototype to avoid an error.
40803 Use char because int might match the return type of a GCC
40804 builtin and then its argument prototype would still apply. */
40817 rm -f conftest.
$ac_objext conftest
$ac_exeext
40818 if { (ac_try
="$ac_link"
40819 case "(($ac_try" in
40820 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40821 *) ac_try_echo=$ac_try;;
40823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40824 (eval "$ac_link") 2>conftest.er1
40826 grep -v '^ *+' conftest.er1 >conftest.err
40828 cat conftest.err >&5
40829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40830 (exit $ac_status); } && {
40831 test -z "$ac_c_werror_flag" ||
40832 test ! -s conftest.err
40833 } && test -s conftest$ac_exeext &&
40834 $as_test_x conftest$ac_exeext; then
40835 ac_cv_lib_dl_dlerror=yes
40837 echo "$as_me: failed program was:" >&5
40838 sed 's/^/| /' conftest.$ac_ext >&5
40840 ac_cv_lib_dl_dlerror=no
40843 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40844 conftest$ac_exeext conftest.$ac_ext
40845 LIBS=$ac_check_lib_save_LIBS
40847 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
40848 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
40849 if test $ac_cv_lib_dl_dlerror = yes; then
40850 cat >>confdefs.h <<\_ACEOF
40851 #define HAVE_DLERROR 1
40864 if test "$HAVE_DL_FUNCS" = 0; then
40865 if test "$HAVE_SHL_FUNCS" = 0; then
40866 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
40867 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
40868 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
40869 wxUSE_DYNAMIC_LOADER=no
40870 wxUSE_DYNLIB_CLASS=no
40872 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
40873 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
40880 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
40881 cat >>confdefs.h <<\_ACEOF
40882 #define wxUSE_DYNAMIC_LOADER 1
40886 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40887 cat >>confdefs.h <<\_ACEOF
40888 #define wxUSE_DYNLIB_CLASS 1
40895 if test "$wxUSE_PLUGINS" = "yes" ; then
40896 if test "$wxUSE_SHARED" = "no" ; then
40897 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
40898 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
40901 if test "$wxUSE_MONOLITHIC" = "yes" ; then
40902 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
40903 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
40906 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
40907 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
40908 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
40911 if test "$wxUSE_PLUGINS" = "yes" ; then
40912 cat >>confdefs.h <<\_ACEOF
40913 #define wxUSE_PLUGINS 1
40920 if test "$wxUSE_STL" = "yes"; then
40921 cat >>confdefs.h <<\_ACEOF
40922 #define wxUSE_STL 1
40927 if test "$wxUSE_APPLE_IEEE" = "yes"; then
40928 cat >>confdefs.h <<\_ACEOF
40929 #define wxUSE_APPLE_IEEE 1
40934 if test "$wxUSE_TIMER" = "yes"; then
40935 cat >>confdefs.h <<\_ACEOF
40936 #define wxUSE_TIMER 1
40941 if test "$USE_UNIX" = "1" ; then
40942 if test "$wxUSE_MGL" != 1; then
40943 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
40944 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
40945 if test "${ac_cv_header_sys_soundcard+set}" = set; then
40946 echo $ECHO_N "(cached) $ECHO_C" >&6
40949 cat >conftest.$ac_ext <<_ACEOF
40952 cat confdefs.h >>conftest.$ac_ext
40953 cat >>conftest.$ac_ext <<_ACEOF
40954 /* end confdefs.h. */
40956 #include <sys/ioctl.h>
40957 #include <sys/soundcard.h>
40963 ioctl(0, SNDCTL_DSP_SPEED, 0);
40969 rm -f conftest.$ac_objext conftest$ac_exeext
40970 if { (ac_try="$ac_link"
40971 case "(($ac_try" in
40972 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40973 *) ac_try_echo
=$ac_try;;
40975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40976 (eval "$ac_link") 2>conftest.er1
40978 grep -v '^ *+' conftest.er1
>conftest.err
40980 cat conftest.err
>&5
40981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40982 (exit $ac_status); } && {
40983 test -z "$ac_c_werror_flag" ||
40984 test ! -s conftest.err
40985 } && test -s conftest
$ac_exeext &&
40986 $as_test_x conftest
$ac_exeext; then
40987 ac_cv_header_sys_soundcard
=yes
40989 echo "$as_me: failed program was:" >&5
40990 sed 's/^/| /' conftest.
$ac_ext >&5
40994 LIBS
="$saveLibs -lossaudio"
40995 cat >conftest.
$ac_ext <<_ACEOF
40998 cat confdefs.h
>>conftest.
$ac_ext
40999 cat >>conftest.
$ac_ext <<_ACEOF
41000 /* end confdefs.h. */
41002 #include <sys/ioctl.h>
41003 #include <sys/soundcard.h>
41009 ioctl(0, SNDCTL_DSP_SPEED, 0);
41015 rm -f conftest.
$ac_objext conftest
$ac_exeext
41016 if { (ac_try
="$ac_link"
41017 case "(($ac_try" in
41018 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41019 *) ac_try_echo=$ac_try;;
41021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41022 (eval "$ac_link") 2>conftest.er1
41024 grep -v '^ *+' conftest.er1 >conftest.err
41026 cat conftest.err >&5
41027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41028 (exit $ac_status); } && {
41029 test -z "$ac_c_werror_flag" ||
41030 test ! -s conftest.err
41031 } && test -s conftest$ac_exeext &&
41032 $as_test_x conftest$ac_exeext; then
41033 ac_cv_header_sys_soundcard=yes
41035 echo "$as_me: failed program was:" >&5
41036 sed 's/^/| /' conftest.$ac_ext >&5
41040 ac_cv_header_sys_soundcard=no
41045 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41046 conftest$ac_exeext conftest.$ac_ext
41051 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41052 conftest$ac_exeext conftest.$ac_ext
41055 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
41056 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
41059 if test "$ac_cv_header_sys_soundcard" = "yes"; then
41060 cat >>confdefs.h <<\_ACEOF
41061 #define HAVE_SYS_SOUNDCARD_H 1
41065 DISABLED_CONTRIB="$DISABLED_CONTRIB mmedia"
41070 if test "$wxUSE_SOUND" = "yes"; then
41071 if test "$USE_UNIX" = "1" ; then
41072 if test "$wxUSE_LIBSDL" != "no"; then
41074 # Check whether --with-sdl-prefix was given.
41075 if test "${with_sdl_prefix+set}" = set; then
41076 withval=$with_sdl_prefix; sdl_prefix="$withval"
41082 # Check whether --with-sdl-exec-prefix was given.
41083 if test "${with_sdl_exec_prefix+set}" = set; then
41084 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
41089 # Check whether --enable-sdltest was given.
41090 if test "${enable_sdltest+set}" = set; then
41091 enableval=$enable_sdltest;
41097 if test x$sdl_exec_prefix != x ; then
41098 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
41099 if test x${SDL_CONFIG+set} != xset ; then
41100 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
41103 if test x$sdl_prefix != x ; then
41104 sdl_args="$sdl_args --prefix=$sdl_prefix"
41105 if test x${SDL_CONFIG+set} != xset ; then
41106 SDL_CONFIG=$sdl_prefix/bin/sdl-config
41110 if test "x$prefix" != xNONE; then
41111 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
41113 # Extract the first word of "sdl-config", so it can be a program name with args.
41114 set dummy sdl-config; ac_word=$2
41115 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41116 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41117 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
41118 echo $ECHO_N "(cached) $ECHO_C" >&6
41120 case $SDL_CONFIG in
41122 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
41125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41126 for as_dir in $PATH
41129 test -z "$as_dir" && as_dir=.
41130 for ac_exec_ext in '' $ac_executable_extensions; do
41131 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41132 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41133 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41140 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
41144 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
41145 if test -n "$SDL_CONFIG"; then
41146 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
41147 echo "${ECHO_T}$SDL_CONFIG" >&6; }
41149 { echo "$as_me:$LINENO: result: no" >&5
41150 echo "${ECHO_T}no" >&6; }
41154 min_sdl_version=1.2.0
41155 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
41156 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
41158 if test "$SDL_CONFIG" = "no" ; then
41161 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
41162 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
41164 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
41165 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41166 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
41167 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41168 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
41169 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41170 if test "x$enable_sdltest" = "xyes" ; then
41171 ac_save_CFLAGS="$CFLAGS"
41172 ac_save_CXXFLAGS="$CXXFLAGS"
41173 ac_save_LIBS="$LIBS"
41174 CFLAGS="$CFLAGS $SDL_CFLAGS"
41175 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41176 LIBS="$LIBS $SDL_LIBS"
41178 if test "$cross_compiling" = yes; then
41179 echo $ac_n "cross compiling; assumed OK... $ac_c"
41181 cat >conftest.$ac_ext <<_ACEOF
41184 cat confdefs.h >>conftest.$ac_ext
41185 cat >>conftest.$ac_ext <<_ACEOF
41186 /* end confdefs.h. */
41189 #include <stdlib.h>
41190 #include <string.h>
41194 my_strdup (char *str)
41200 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
41201 strcpy (new_str, str);
41209 int main (int argc, char *argv[])
41211 int major, minor, micro;
41214 /* This hangs on some systems (?)
41215 system ("touch conf.sdltest");
41217 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
41219 /* HP/UX 9 (%@#!) writes to sscanf strings */
41220 tmp_version = my_strdup("$min_sdl_version");
41221 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
41222 printf("%s, bad version string\n", "$min_sdl_version");
41226 if (($sdl_major_version > major) ||
41227 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
41228 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
41234 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
41235 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
41236 printf("*** best to upgrade to the required version.\n");
41237 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
41238 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
41239 printf("*** config.cache before re-running configure\n");
41246 rm -f conftest$ac_exeext
41247 if { (ac_try="$ac_link"
41248 case "(($ac_try" in
41249 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41250 *) ac_try_echo
=$ac_try;;
41252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41253 (eval "$ac_link") 2>&5
41255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41256 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
41257 { (case "(($ac_try" in
41258 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41259 *) ac_try_echo=$ac_try;;
41261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41262 (eval "$ac_try") 2>&5
41264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41265 (exit $ac_status); }; }; then
41268 echo "$as_me: program exited with status $ac_status" >&5
41269 echo "$as_me: failed program was:" >&5
41270 sed 's/^/| /' conftest.$ac_ext >&5
41272 ( exit $ac_status )
41275 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41279 CFLAGS="$ac_save_CFLAGS"
41280 CXXFLAGS="$ac_save_CXXFLAGS"
41281 LIBS="$ac_save_LIBS"
41284 if test "x$no_sdl" = x ; then
41285 { echo "$as_me:$LINENO: result: yes" >&5
41286 echo "${ECHO_T}yes" >&6; }
41288 EXTRALIBS_SDL="$SDL_LIBS"
41289 CFLAGS="$SDL_CFLAGS $CFLAGS"
41290 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
41291 cat >>confdefs.h <<\_ACEOF
41292 #define wxUSE_LIBSDL 1
41297 { echo "$as_me:$LINENO: result: no" >&5
41298 echo "${ECHO_T}no" >&6; }
41299 if test "$SDL_CONFIG" = "no" ; then
41300 echo "*** The sdl-config script installed by SDL could not be found"
41301 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
41302 echo "*** your path, or set the SDL_CONFIG environment variable to the"
41303 echo "*** full path to sdl-config."
41305 if test -f conf.sdltest ; then
41308 echo "*** Could not run SDL test program, checking why..."
41309 CFLAGS="$CFLAGS $SDL_CFLAGS"
41310 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41311 LIBS="$LIBS $SDL_LIBS"
41312 cat >conftest.$ac_ext <<_ACEOF
41315 cat confdefs.h >>conftest.$ac_ext
41316 cat >>conftest.$ac_ext <<_ACEOF
41317 /* end confdefs.h. */
41322 int main(int argc, char *argv[])
41325 #define main K_and_R_C_main
41335 rm -f conftest.$ac_objext conftest$ac_exeext
41336 if { (ac_try="$ac_link"
41337 case "(($ac_try" in
41338 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41339 *) ac_try_echo
=$ac_try;;
41341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41342 (eval "$ac_link") 2>conftest.er1
41344 grep -v '^ *+' conftest.er1
>conftest.err
41346 cat conftest.err
>&5
41347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41348 (exit $ac_status); } && {
41349 test -z "$ac_c_werror_flag" ||
41350 test ! -s conftest.err
41351 } && test -s conftest
$ac_exeext &&
41352 $as_test_x conftest
$ac_exeext; then
41353 echo "*** The test program compiled, but did not run. This usually means"
41354 echo "*** that the run-time linker is not finding SDL or finding the wrong"
41355 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
41356 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
41357 echo "*** to the installed location Also, make sure you have run ldconfig if that"
41358 echo "*** is required on your system"
41360 echo "*** If you have an old version installed, it is best to remove it, although"
41361 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
41363 echo "$as_me: failed program was:" >&5
41364 sed 's/^/| /' conftest.
$ac_ext >&5
41366 echo "*** The test program failed to compile or link. See the file config.log for the"
41367 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
41368 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
41369 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
41372 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41373 conftest
$ac_exeext conftest.
$ac_ext
41374 CFLAGS
="$ac_save_CFLAGS"
41375 CXXFLAGS
="$ac_save_CXXFLAGS"
41376 LIBS
="$ac_save_LIBS"
41387 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
41392 if test "$wxUSE_MGL" = 1; then
41393 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
41394 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
41400 if test "$wxUSE_SOUND" = "yes"; then
41401 cat >>confdefs.h
<<\_ACEOF
41402 #define wxUSE_SOUND 1
41405 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
41408 if test "$WXGTK20" = 1; then
41411 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
41412 if test -n "$ac_tool_prefix"; then
41413 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
41414 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
41415 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41416 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41417 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41418 echo $ECHO_N "(cached) $ECHO_C" >&6
41420 case $PKG_CONFIG in
41422 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
41425 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41426 for as_dir
in $PATH
41429 test -z "$as_dir" && as_dir
=.
41430 for ac_exec_ext
in '' $ac_executable_extensions; do
41431 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41432 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41433 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41443 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
41444 if test -n "$PKG_CONFIG"; then
41445 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41446 echo "${ECHO_T}$PKG_CONFIG" >&6; }
41448 { echo "$as_me:$LINENO: result: no" >&5
41449 echo "${ECHO_T}no" >&6; }
41454 if test -z "$ac_cv_path_PKG_CONFIG"; then
41455 ac_pt_PKG_CONFIG
=$PKG_CONFIG
41456 # Extract the first word of "pkg-config", so it can be a program name with args.
41457 set dummy pkg
-config; ac_word
=$2
41458 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41459 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41460 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
41461 echo $ECHO_N "(cached) $ECHO_C" >&6
41463 case $ac_pt_PKG_CONFIG in
41465 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
41468 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41469 for as_dir
in $PATH
41472 test -z "$as_dir" && as_dir
=.
41473 for ac_exec_ext
in '' $ac_executable_extensions; do
41474 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41475 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41476 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41486 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
41487 if test -n "$ac_pt_PKG_CONFIG"; then
41488 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
41489 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
41491 { echo "$as_me:$LINENO: result: no" >&5
41492 echo "${ECHO_T}no" >&6; }
41495 if test "x$ac_pt_PKG_CONFIG" = x
; then
41498 case $cross_compiling:$ac_tool_warned in
41500 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
41501 whose name does not start with the host triplet. If you think this
41502 configuration is useful to you, please write to autoconf@gnu.org." >&5
41503 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
41504 whose name does not start with the host triplet. If you think this
41505 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
41506 ac_tool_warned
=yes ;;
41508 PKG_CONFIG
=$ac_pt_PKG_CONFIG
41511 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
41515 if test -n "$PKG_CONFIG"; then
41516 _pkg_min_version
=0.9.0
41517 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
41518 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
41519 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
41520 { echo "$as_me:$LINENO: result: yes" >&5
41521 echo "${ECHO_T}yes" >&6; }
41523 { echo "$as_me:$LINENO: result: no" >&5
41524 echo "${ECHO_T}no" >&6; }
41530 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
41531 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
41535 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
41536 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
41538 if test -n "$PKG_CONFIG"; then
41539 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
41540 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
41542 if test -n "$PKG_CONFIG" && \
41543 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
41544 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
41546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41547 (exit $ac_status); }; then
41548 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
41556 if test -n "$PKG_CONFIG"; then
41557 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
41558 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
41560 if test -n "$PKG_CONFIG" && \
41561 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
41562 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
41564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41565 (exit $ac_status); }; then
41566 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
41577 if test $pkg_failed = yes; then
41579 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41580 _pkg_short_errors_supported
=yes
41582 _pkg_short_errors_supported
=no
41584 if test $_pkg_short_errors_supported = yes; then
41585 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
41587 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
41589 # Put the nasty error message in config.log where it belongs
41590 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
41593 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
41594 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
41595 wxUSE_LIBGNOMEPRINT
="no"
41598 elif test $pkg_failed = untried
; then
41600 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
41601 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
41602 wxUSE_LIBGNOMEPRINT
="no"
41606 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
41607 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
41608 { echo "$as_me:$LINENO: result: yes" >&5
41609 echo "${ECHO_T}yes" >&6; }
41611 CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
41612 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
41613 cat >>confdefs.h
<<\_ACEOF
41614 #define wxUSE_LIBGNOMEPRINT 1
41622 if test "$wxUSE_MIMETYPE" = "yes" ; then
41623 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
41627 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
41628 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
41630 if test -n "$PKG_CONFIG"; then
41631 if test -n "$GNOMEVFS_CFLAGS"; then
41632 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
41634 if test -n "$PKG_CONFIG" && \
41635 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
41636 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
41638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41639 (exit $ac_status); }; then
41640 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
41648 if test -n "$PKG_CONFIG"; then
41649 if test -n "$GNOMEVFS_LIBS"; then
41650 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
41652 if test -n "$PKG_CONFIG" && \
41653 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
41654 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
41656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41657 (exit $ac_status); }; then
41658 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
41669 if test $pkg_failed = yes; then
41671 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41672 _pkg_short_errors_supported
=yes
41674 _pkg_short_errors_supported
=no
41676 if test $_pkg_short_errors_supported = yes; then
41677 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41679 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41681 # Put the nasty error message in config.log where it belongs
41682 echo "$GNOMEVFS_PKG_ERRORS" >&5
41685 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
41686 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
41687 wxUSE_LIBGNOMEVFS
="no"
41690 elif test $pkg_failed = untried
; then
41692 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
41693 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
41694 wxUSE_LIBGNOMEVFS
="no"
41698 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
41699 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
41700 { echo "$as_me:$LINENO: result: yes" >&5
41701 echo "${ECHO_T}yes" >&6; }
41703 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
41704 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
41705 cat >>confdefs.h
<<\_ACEOF
41706 #define wxUSE_LIBGNOMEVFS 1
41714 if test "$wxUSE_LIBHILDON" = "yes" ; then
41717 { echo "$as_me:$LINENO: checking for HILDON" >&5
41718 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
41720 if test -n "$PKG_CONFIG"; then
41721 if test -n "$HILDON_CFLAGS"; then
41722 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
41724 if test -n "$PKG_CONFIG" && \
41725 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
41726 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
41728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41729 (exit $ac_status); }; then
41730 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
41738 if test -n "$PKG_CONFIG"; then
41739 if test -n "$HILDON_LIBS"; then
41740 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
41742 if test -n "$PKG_CONFIG" && \
41743 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
41744 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
41746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41747 (exit $ac_status); }; then
41748 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
41759 if test $pkg_failed = yes; then
41761 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41762 _pkg_short_errors_supported
=yes
41764 _pkg_short_errors_supported
=no
41766 if test $_pkg_short_errors_supported = yes; then
41767 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
41769 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
41771 # Put the nasty error message in config.log where it belongs
41772 echo "$HILDON_PKG_ERRORS" >&5
41775 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
41776 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
41777 wxUSE_LIBHILDON
="no"
41780 elif test $pkg_failed = untried
; then
41782 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
41783 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
41784 wxUSE_LIBHILDON
="no"
41788 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
41789 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
41790 { echo "$as_me:$LINENO: result: yes" >&5
41791 echo "${ECHO_T}yes" >&6; }
41793 EXTRALIBS_HILDON
="$HILDON_LIBS"
41794 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
41795 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
41796 cat >>confdefs.h
<<\_ACEOF
41797 #define wxUSE_LIBHILDON 1
41805 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
41806 cat >>confdefs.h
<<\_ACEOF
41807 #define wxUSE_CMDLINE_PARSER 1
41812 if test "$wxUSE_STOPWATCH" = "yes"; then
41813 cat >>confdefs.h
<<\_ACEOF
41814 #define wxUSE_STOPWATCH 1
41819 if test "$wxUSE_DATETIME" = "yes"; then
41820 cat >>confdefs.h
<<\_ACEOF
41821 #define wxUSE_DATETIME 1
41826 if test "$wxUSE_FILE" = "yes"; then
41827 cat >>confdefs.h
<<\_ACEOF
41828 #define wxUSE_FILE 1
41833 if test "$wxUSE_FFILE" = "yes"; then
41834 cat >>confdefs.h
<<\_ACEOF
41835 #define wxUSE_FFILE 1
41840 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
41841 if test "$wxUSE_STREAMS" != yes; then
41842 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
41843 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
41844 wxUSE_ARCHIVE_STREAMS
=no
41846 cat >>confdefs.h
<<\_ACEOF
41847 #define wxUSE_ARCHIVE_STREAMS 1
41853 if test "$wxUSE_ZIPSTREAM" = "yes"; then
41854 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
41855 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
41856 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
41857 elif test "$wxUSE_ZLIB" = "no"; then
41858 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
41859 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
41861 cat >>confdefs.h
<<\_ACEOF
41862 #define wxUSE_ZIPSTREAM 1
41868 if test "$wxUSE_TARSTREAM" = "yes"; then
41869 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
41870 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
41871 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
41873 cat >>confdefs.h
<<\_ACEOF
41874 #define wxUSE_TARSTREAM 1
41880 if test "$wxUSE_FILESYSTEM" = "yes"; then
41881 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
41882 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
41883 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
41884 wxUSE_FILESYSTEM
=no
41886 cat >>confdefs.h
<<\_ACEOF
41887 #define wxUSE_FILESYSTEM 1
41893 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
41894 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
41895 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
41896 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
41898 cat >>confdefs.h
<<\_ACEOF
41899 #define wxUSE_FS_ARCHIVE 1
41905 if test "$wxUSE_FS_ZIP" = "yes"; then
41906 if test "$wxUSE_FS_ARCHIVE" != yes; then
41907 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
41908 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
41910 cat >>confdefs.h
<<\_ACEOF
41911 #define wxUSE_FS_ZIP 1
41917 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41918 if test "$USE_UNIX" != 1; then
41919 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
41920 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
41921 wxUSE_ON_FATAL_EXCEPTION
=no
41923 cat >>confdefs.h
<<\_ACEOF
41924 #define wxUSE_ON_FATAL_EXCEPTION 1
41930 if test "$wxUSE_STACKWALKER" = "yes"; then
41931 cat >>confdefs.h
<<\_ACEOF
41932 #define wxUSE_STACKWALKER 1
41937 if test "$wxUSE_DEBUGREPORT" = "yes"; then
41938 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
41939 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
41940 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
41941 wxUSE_DEBUGREPORT
=no
41943 cat >>confdefs.h
<<\_ACEOF
41944 #define wxUSE_DEBUGREPORT 1
41947 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41948 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
41953 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
41954 cat >>confdefs.h
<<\_ACEOF
41955 #define wxUSE_SNGLINST_CHECKER 1
41960 if test "$wxUSE_BUSYINFO" = "yes"; then
41961 cat >>confdefs.h
<<\_ACEOF
41962 #define wxUSE_BUSYINFO 1
41967 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
41968 cat >>confdefs.h
<<\_ACEOF
41969 #define wxUSE_STD_IOSTREAM 1
41974 if test "$wxUSE_STD_STRING" = "yes"; then
41975 cat >>confdefs.h
<<\_ACEOF
41976 #define wxUSE_STD_STRING 1
41981 if test "$wxUSE_STDPATHS" = "yes"; then
41982 cat >>confdefs.h
<<\_ACEOF
41983 #define wxUSE_STDPATHS 1
41988 if test "$wxUSE_TEXTBUFFER" = "yes"; then
41989 cat >>confdefs.h
<<\_ACEOF
41990 #define wxUSE_TEXTBUFFER 1
41995 if test "$wxUSE_TEXTFILE" = "yes"; then
41996 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
41997 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
41998 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
42000 cat >>confdefs.h
<<\_ACEOF
42001 #define wxUSE_TEXTFILE 1
42007 if test "$wxUSE_CONFIG" = "yes" ; then
42008 if test "$wxUSE_TEXTFILE" != "yes"; then
42009 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
42010 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
42012 cat >>confdefs.h
<<\_ACEOF
42013 #define wxUSE_CONFIG 1
42016 cat >>confdefs.h
<<\_ACEOF
42017 #define wxUSE_CONFIG_NATIVE 1
42020 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
42024 if test "$wxUSE_INTL" = "yes" ; then
42025 if test "$wxUSE_FILE" != "yes"; then
42026 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
42027 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
42029 cat >>confdefs.h
<<\_ACEOF
42030 #define wxUSE_INTL 1
42033 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
42034 GUIDIST
="$GUIDIST INTL_DIST"
42038 if test "$wxUSE_LOG" = "yes"; then
42039 cat >>confdefs.h
<<\_ACEOF
42040 #define wxUSE_LOG 1
42044 if test "$wxUSE_LOGGUI" = "yes"; then
42045 cat >>confdefs.h
<<\_ACEOF
42046 #define wxUSE_LOGGUI 1
42051 if test "$wxUSE_LOGWINDOW" = "yes"; then
42052 cat >>confdefs.h
<<\_ACEOF
42053 #define wxUSE_LOGWINDOW 1
42058 if test "$wxUSE_LOGDIALOG" = "yes"; then
42059 cat >>confdefs.h
<<\_ACEOF
42060 #define wxUSE_LOG_DIALOG 1
42065 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
42068 if test "$wxUSE_LONGLONG" = "yes"; then
42069 cat >>confdefs.h
<<\_ACEOF
42070 #define wxUSE_LONGLONG 1
42075 if test "$wxUSE_GEOMETRY" = "yes"; then
42076 cat >>confdefs.h
<<\_ACEOF
42077 #define wxUSE_GEOMETRY 1
42082 if test "$wxUSE_STREAMS" = "yes" ; then
42083 cat >>confdefs.h
<<\_ACEOF
42084 #define wxUSE_STREAMS 1
42089 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
42090 cat >>confdefs.h
<<\_ACEOF
42091 #define wxUSE_PRINTF_POS_PARAMS 1
42098 if test "$wxUSE_DATETIME" = "yes"; then
42100 for ac_func
in strptime
42102 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42103 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42104 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42105 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42106 echo $ECHO_N "(cached) $ECHO_C" >&6
42108 cat >conftest.
$ac_ext <<_ACEOF
42111 cat confdefs.h
>>conftest.
$ac_ext
42112 cat >>conftest.
$ac_ext <<_ACEOF
42113 /* end confdefs.h. */
42114 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42115 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42116 #define $ac_func innocuous_$ac_func
42118 /* System header to define __stub macros and hopefully few prototypes,
42119 which can conflict with char $ac_func (); below.
42120 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42121 <limits.h> exists even on freestanding compilers. */
42124 # include <limits.h>
42126 # include <assert.h>
42131 /* Override any GCC internal prototype to avoid an error.
42132 Use char because int might match the return type of a GCC
42133 builtin and then its argument prototype would still apply. */
42138 /* The GNU C library defines this for functions which it implements
42139 to always fail with ENOSYS. Some functions are actually named
42140 something starting with __ and the normal name is an alias. */
42141 #if defined __stub_$ac_func || defined __stub___$ac_func
42148 return $ac_func ();
42153 rm -f conftest.
$ac_objext conftest
$ac_exeext
42154 if { (ac_try
="$ac_link"
42155 case "(($ac_try" in
42156 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42157 *) ac_try_echo=$ac_try;;
42159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42160 (eval "$ac_link") 2>conftest.er1
42162 grep -v '^ *+' conftest.er1 >conftest.err
42164 cat conftest.err >&5
42165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42166 (exit $ac_status); } && {
42167 test -z "$ac_c_werror_flag" ||
42168 test ! -s conftest.err
42169 } && test -s conftest$ac_exeext &&
42170 $as_test_x conftest$ac_exeext; then
42171 eval "$as_ac_var=yes"
42173 echo "$as_me: failed program was:" >&5
42174 sed 's/^/| /' conftest.$ac_ext >&5
42176 eval "$as_ac_var=no"
42179 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42180 conftest$ac_exeext conftest.$ac_ext
42182 ac_res=`eval echo '${'$as_ac_var'}'`
42183 { echo "$as_me:$LINENO: result: $ac_res" >&5
42184 echo "${ECHO_T}$ac_res" >&6; }
42185 if test `eval echo '${'$as_ac_var'}'` = yes; then
42186 cat >>confdefs.h <<_ACEOF
42187 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42193 if test "$ac_cv_func_strptime" = "yes"; then
42194 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
42195 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
42196 if test "${wx_cv_func_strptime_decl+set}" = set; then
42197 echo $ECHO_N "(cached) $ECHO_C" >&6
42201 ac_cpp='$CXXCPP $CPPFLAGS'
42202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42206 cat >conftest.$ac_ext <<_ACEOF
42209 cat confdefs.h >>conftest.$ac_ext
42210 cat >>conftest.$ac_ext <<_ACEOF
42211 /* end confdefs.h. */
42220 strptime("foo", "bar", &t);
42226 rm -f conftest.$ac_objext
42227 if { (ac_try="$ac_compile"
42228 case "(($ac_try" in
42229 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42230 *) ac_try_echo
=$ac_try;;
42232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42233 (eval "$ac_compile") 2>conftest.er1
42235 grep -v '^ *+' conftest.er1
>conftest.err
42237 cat conftest.err
>&5
42238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42239 (exit $ac_status); } && {
42240 test -z "$ac_cxx_werror_flag" ||
42241 test ! -s conftest.err
42242 } && test -s conftest.
$ac_objext; then
42243 wx_cv_func_strptime_decl
=yes
42245 echo "$as_me: failed program was:" >&5
42246 sed 's/^/| /' conftest.
$ac_ext >&5
42248 wx_cv_func_strptime_decl
=no
42252 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42254 ac_cpp
='$CPP $CPPFLAGS'
42255 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42256 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42257 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42262 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
42263 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
42265 if test "$wx_cv_func_strptime_decl" = "yes"; then
42266 cat >>confdefs.h
<<\_ACEOF
42267 #define HAVE_STRPTIME_DECL 1
42272 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
42273 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
42274 if test "${wx_cv_var_timezone+set}" = set; then
42275 echo $ECHO_N "(cached) $ECHO_C" >&6
42279 ac_cpp
='$CXXCPP $CPPFLAGS'
42280 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42281 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42282 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
42284 cat >conftest.
$ac_ext <<_ACEOF
42287 cat confdefs.h
>>conftest.
$ac_ext
42288 cat >>conftest.
$ac_ext <<_ACEOF
42289 /* end confdefs.h. */
42304 rm -f conftest.
$ac_objext
42305 if { (ac_try
="$ac_compile"
42306 case "(($ac_try" in
42307 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42308 *) ac_try_echo=$ac_try;;
42310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42311 (eval "$ac_compile") 2>conftest.er1
42313 grep -v '^ *+' conftest.er1 >conftest.err
42315 cat conftest.err >&5
42316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42317 (exit $ac_status); } && {
42318 test -z "$ac_cxx_werror_flag" ||
42319 test ! -s conftest.err
42320 } && test -s conftest.$ac_objext; then
42322 wx_cv_var_timezone=timezone
42325 echo "$as_me: failed program was:" >&5
42326 sed 's/^/| /' conftest.$ac_ext >&5
42329 cat >conftest.$ac_ext <<_ACEOF
42332 cat confdefs.h >>conftest.$ac_ext
42333 cat >>conftest.$ac_ext <<_ACEOF
42334 /* end confdefs.h. */
42349 rm -f conftest.$ac_objext
42350 if { (ac_try="$ac_compile"
42351 case "(($ac_try" in
42352 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42353 *) ac_try_echo
=$ac_try;;
42355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42356 (eval "$ac_compile") 2>conftest.er1
42358 grep -v '^ *+' conftest.er1
>conftest.err
42360 cat conftest.err
>&5
42361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42362 (exit $ac_status); } && {
42363 test -z "$ac_cxx_werror_flag" ||
42364 test ! -s conftest.err
42365 } && test -s conftest.
$ac_objext; then
42367 wx_cv_var_timezone
=_timezone
42370 echo "$as_me: failed program was:" >&5
42371 sed 's/^/| /' conftest.
$ac_ext >&5
42374 cat >conftest.
$ac_ext <<_ACEOF
42377 cat confdefs.h
>>conftest.
$ac_ext
42378 cat >>conftest.
$ac_ext <<_ACEOF
42379 /* end confdefs.h. */
42394 rm -f conftest.
$ac_objext
42395 if { (ac_try
="$ac_compile"
42396 case "(($ac_try" in
42397 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42398 *) ac_try_echo=$ac_try;;
42400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42401 (eval "$ac_compile") 2>conftest.er1
42403 grep -v '^ *+' conftest.er1 >conftest.err
42405 cat conftest.err >&5
42406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42407 (exit $ac_status); } && {
42408 test -z "$ac_cxx_werror_flag" ||
42409 test ! -s conftest.err
42410 } && test -s conftest.$ac_objext; then
42412 wx_cv_var_timezone=__timezone
42415 echo "$as_me: failed program was:" >&5
42416 sed 's/^/| /' conftest.$ac_ext >&5
42419 if test "$USE_DOS" = 0 ; then
42420 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
42421 echo "$as_me: WARNING: no timezone variable" >&2;}
42427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42439 ac_cpp='$CPP $CPPFLAGS'
42440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42447 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
42448 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
42450 if test "x$wx_cv_var_timezone" != x ; then
42451 cat >>confdefs.h <<_ACEOF
42452 #define WX_TIMEZONE $wx_cv_var_timezone
42458 for ac_func in localtime
42460 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42461 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42462 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42463 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42464 echo $ECHO_N "(cached) $ECHO_C" >&6
42466 cat >conftest.$ac_ext <<_ACEOF
42469 cat confdefs.h >>conftest.$ac_ext
42470 cat >>conftest.$ac_ext <<_ACEOF
42471 /* end confdefs.h. */
42472 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42473 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42474 #define $ac_func innocuous_$ac_func
42476 /* System header to define __stub macros and hopefully few prototypes,
42477 which can conflict with char $ac_func (); below.
42478 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42479 <limits.h> exists even on freestanding compilers. */
42482 # include <limits.h>
42484 # include <assert.h>
42489 /* Override any GCC internal prototype to avoid an error.
42490 Use char because int might match the return type of a GCC
42491 builtin and then its argument prototype would still apply. */
42496 /* The GNU C library defines this for functions which it implements
42497 to always fail with ENOSYS. Some functions are actually named
42498 something starting with __ and the normal name is an alias. */
42499 #if defined __stub_$ac_func || defined __stub___$ac_func
42506 return $ac_func ();
42511 rm -f conftest.$ac_objext conftest$ac_exeext
42512 if { (ac_try="$ac_link"
42513 case "(($ac_try" in
42514 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42515 *) ac_try_echo
=$ac_try;;
42517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42518 (eval "$ac_link") 2>conftest.er1
42520 grep -v '^ *+' conftest.er1
>conftest.err
42522 cat conftest.err
>&5
42523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42524 (exit $ac_status); } && {
42525 test -z "$ac_c_werror_flag" ||
42526 test ! -s conftest.err
42527 } && test -s conftest
$ac_exeext &&
42528 $as_test_x conftest
$ac_exeext; then
42529 eval "$as_ac_var=yes"
42531 echo "$as_me: failed program was:" >&5
42532 sed 's/^/| /' conftest.
$ac_ext >&5
42534 eval "$as_ac_var=no"
42537 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42538 conftest
$ac_exeext conftest.
$ac_ext
42540 ac_res
=`eval echo '${'$as_ac_var'}'`
42541 { echo "$as_me:$LINENO: result: $ac_res" >&5
42542 echo "${ECHO_T}$ac_res" >&6; }
42543 if test `eval echo '${'$as_ac_var'}'` = yes; then
42544 cat >>confdefs.h
<<_ACEOF
42545 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42552 if test "$ac_cv_func_localtime" = "yes"; then
42553 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
42554 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
42555 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
42556 echo $ECHO_N "(cached) $ECHO_C" >&6
42559 cat >conftest.
$ac_ext <<_ACEOF
42562 cat confdefs.h
>>conftest.
$ac_ext
42563 cat >>conftest.
$ac_ext <<_ACEOF
42564 /* end confdefs.h. */
42579 rm -f conftest.
$ac_objext
42580 if { (ac_try
="$ac_compile"
42581 case "(($ac_try" in
42582 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42583 *) ac_try_echo=$ac_try;;
42585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42586 (eval "$ac_compile") 2>conftest.er1
42588 grep -v '^ *+' conftest.er1 >conftest.err
42590 cat conftest.err >&5
42591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42592 (exit $ac_status); } && {
42593 test -z "$ac_c_werror_flag" ||
42594 test ! -s conftest.err
42595 } && test -s conftest.$ac_objext; then
42597 wx_cv_struct_tm_has_gmtoff=yes
42600 echo "$as_me: failed program was:" >&5
42601 sed 's/^/| /' conftest.$ac_ext >&5
42603 wx_cv_struct_tm_has_gmtoff=no
42607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42610 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
42611 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
42614 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
42615 cat >>confdefs.h <<\_ACEOF
42616 #define WX_GMTOFF_IN_TM 1
42623 for ac_func in gettimeofday ftime
42625 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42626 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42627 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42628 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42629 echo $ECHO_N "(cached) $ECHO_C" >&6
42631 cat >conftest.$ac_ext <<_ACEOF
42634 cat confdefs.h >>conftest.$ac_ext
42635 cat >>conftest.$ac_ext <<_ACEOF
42636 /* end confdefs.h. */
42637 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42638 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42639 #define $ac_func innocuous_$ac_func
42641 /* System header to define __stub macros and hopefully few prototypes,
42642 which can conflict with char $ac_func (); below.
42643 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42644 <limits.h> exists even on freestanding compilers. */
42647 # include <limits.h>
42649 # include <assert.h>
42654 /* Override any GCC internal prototype to avoid an error.
42655 Use char because int might match the return type of a GCC
42656 builtin and then its argument prototype would still apply. */
42661 /* The GNU C library defines this for functions which it implements
42662 to always fail with ENOSYS. Some functions are actually named
42663 something starting with __ and the normal name is an alias. */
42664 #if defined __stub_$ac_func || defined __stub___$ac_func
42671 return $ac_func ();
42676 rm -f conftest.$ac_objext conftest$ac_exeext
42677 if { (ac_try="$ac_link"
42678 case "(($ac_try" in
42679 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42680 *) ac_try_echo
=$ac_try;;
42682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42683 (eval "$ac_link") 2>conftest.er1
42685 grep -v '^ *+' conftest.er1
>conftest.err
42687 cat conftest.err
>&5
42688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42689 (exit $ac_status); } && {
42690 test -z "$ac_c_werror_flag" ||
42691 test ! -s conftest.err
42692 } && test -s conftest
$ac_exeext &&
42693 $as_test_x conftest
$ac_exeext; then
42694 eval "$as_ac_var=yes"
42696 echo "$as_me: failed program was:" >&5
42697 sed 's/^/| /' conftest.
$ac_ext >&5
42699 eval "$as_ac_var=no"
42702 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42703 conftest
$ac_exeext conftest.
$ac_ext
42705 ac_res
=`eval echo '${'$as_ac_var'}'`
42706 { echo "$as_me:$LINENO: result: $ac_res" >&5
42707 echo "${ECHO_T}$ac_res" >&6; }
42708 if test `eval echo '${'$as_ac_var'}'` = yes; then
42709 cat >>confdefs.h
<<_ACEOF
42710 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42717 if test "$ac_cv_func_gettimeofday" = "yes"; then
42718 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
42719 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
42720 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
42721 echo $ECHO_N "(cached) $ECHO_C" >&6
42724 cat >conftest.
$ac_ext <<_ACEOF
42727 cat confdefs.h
>>conftest.
$ac_ext
42728 cat >>conftest.
$ac_ext <<_ACEOF
42729 /* end confdefs.h. */
42731 #include <sys/time.h>
42732 #include <unistd.h>
42739 gettimeofday(&tv, NULL);
42745 rm -f conftest.
$ac_objext
42746 if { (ac_try
="$ac_compile"
42747 case "(($ac_try" in
42748 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42749 *) ac_try_echo=$ac_try;;
42751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42752 (eval "$ac_compile") 2>conftest.er1
42754 grep -v '^ *+' conftest.er1 >conftest.err
42756 cat conftest.err >&5
42757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42758 (exit $ac_status); } && {
42759 test -z "$ac_c_werror_flag" ||
42760 test ! -s conftest.err
42761 } && test -s conftest.$ac_objext; then
42762 wx_cv_func_gettimeofday_has_2_args=yes
42764 echo "$as_me: failed program was:" >&5
42765 sed 's/^/| /' conftest.$ac_ext >&5
42767 cat >conftest.$ac_ext <<_ACEOF
42770 cat confdefs.h >>conftest.$ac_ext
42771 cat >>conftest.$ac_ext <<_ACEOF
42772 /* end confdefs.h. */
42774 #include <sys/time.h>
42775 #include <unistd.h>
42788 rm -f conftest.$ac_objext
42789 if { (ac_try="$ac_compile"
42790 case "(($ac_try" in
42791 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42792 *) ac_try_echo
=$ac_try;;
42794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42795 (eval "$ac_compile") 2>conftest.er1
42797 grep -v '^ *+' conftest.er1
>conftest.err
42799 cat conftest.err
>&5
42800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42801 (exit $ac_status); } && {
42802 test -z "$ac_c_werror_flag" ||
42803 test ! -s conftest.err
42804 } && test -s conftest.
$ac_objext; then
42805 wx_cv_func_gettimeofday_has_2_args
=no
42807 echo "$as_me: failed program was:" >&5
42808 sed 's/^/| /' conftest.
$ac_ext >&5
42811 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
42812 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
42813 wx_cv_func_gettimeofday_has_2_args
=unknown
42818 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42822 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42825 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
42826 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
42828 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
42829 cat >>confdefs.h
<<\_ACEOF
42830 #define WX_GETTIMEOFDAY_NO_TZ 1
42836 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
42840 if test "$wxUSE_SOCKETS" = "yes"; then
42841 if test "$wxUSE_MGL" = "1"; then
42842 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
42843 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
42848 if test "$wxUSE_SOCKETS" = "yes"; then
42849 if test "$TOOLKIT" != "MSW"; then
42850 { echo "$as_me:$LINENO: checking for socket" >&5
42851 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
42852 if test "${ac_cv_func_socket+set}" = set; then
42853 echo $ECHO_N "(cached) $ECHO_C" >&6
42855 cat >conftest.
$ac_ext <<_ACEOF
42858 cat confdefs.h
>>conftest.
$ac_ext
42859 cat >>conftest.
$ac_ext <<_ACEOF
42860 /* end confdefs.h. */
42861 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
42862 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42863 #define socket innocuous_socket
42865 /* System header to define __stub macros and hopefully few prototypes,
42866 which can conflict with char socket (); below.
42867 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42868 <limits.h> exists even on freestanding compilers. */
42871 # include <limits.h>
42873 # include <assert.h>
42878 /* Override any GCC internal prototype to avoid an error.
42879 Use char because int might match the return type of a GCC
42880 builtin and then its argument prototype would still apply. */
42885 /* The GNU C library defines this for functions which it implements
42886 to always fail with ENOSYS. Some functions are actually named
42887 something starting with __ and the normal name is an alias. */
42888 #if defined __stub_socket || defined __stub___socket
42900 rm -f conftest.
$ac_objext conftest
$ac_exeext
42901 if { (ac_try
="$ac_link"
42902 case "(($ac_try" in
42903 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42904 *) ac_try_echo=$ac_try;;
42906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42907 (eval "$ac_link") 2>conftest.er1
42909 grep -v '^ *+' conftest.er1 >conftest.err
42911 cat conftest.err >&5
42912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42913 (exit $ac_status); } && {
42914 test -z "$ac_c_werror_flag" ||
42915 test ! -s conftest.err
42916 } && test -s conftest$ac_exeext &&
42917 $as_test_x conftest$ac_exeext; then
42918 ac_cv_func_socket=yes
42920 echo "$as_me: failed program was:" >&5
42921 sed 's/^/| /' conftest.$ac_ext >&5
42923 ac_cv_func_socket=no
42926 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42927 conftest$ac_exeext conftest.$ac_ext
42929 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
42930 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
42931 if test $ac_cv_func_socket = yes; then
42935 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
42936 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
42937 if test "${ac_cv_lib_socket_socket+set}" = set; then
42938 echo $ECHO_N "(cached) $ECHO_C" >&6
42940 ac_check_lib_save_LIBS=$LIBS
42941 LIBS="-lsocket $LIBS"
42942 cat >conftest.$ac_ext <<_ACEOF
42945 cat confdefs.h >>conftest.$ac_ext
42946 cat >>conftest.$ac_ext <<_ACEOF
42947 /* end confdefs.h. */
42949 /* Override any GCC internal prototype to avoid an error.
42950 Use char because int might match the return type of a GCC
42951 builtin and then its argument prototype would still apply. */
42964 rm -f conftest.$ac_objext conftest$ac_exeext
42965 if { (ac_try="$ac_link"
42966 case "(($ac_try" in
42967 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42968 *) ac_try_echo
=$ac_try;;
42970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42971 (eval "$ac_link") 2>conftest.er1
42973 grep -v '^ *+' conftest.er1
>conftest.err
42975 cat conftest.err
>&5
42976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42977 (exit $ac_status); } && {
42978 test -z "$ac_c_werror_flag" ||
42979 test ! -s conftest.err
42980 } && test -s conftest
$ac_exeext &&
42981 $as_test_x conftest
$ac_exeext; then
42982 ac_cv_lib_socket_socket
=yes
42984 echo "$as_me: failed program was:" >&5
42985 sed 's/^/| /' conftest.
$ac_ext >&5
42987 ac_cv_lib_socket_socket
=no
42990 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42991 conftest
$ac_exeext conftest.
$ac_ext
42992 LIBS
=$ac_check_lib_save_LIBS
42994 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
42995 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
42996 if test $ac_cv_lib_socket_socket = yes; then
42997 if test "$INET_LINK" != " -lsocket"; then
42998 INET_LINK
="$INET_LINK -lsocket"
43002 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
43003 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
43016 if test "$wxUSE_SOCKETS" = "yes" ; then
43017 if test "$TOOLKIT" != "MSW"; then
43018 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
43019 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
43020 if test "${wx_cv_type_getsockname3+set}" = set; then
43021 echo $ECHO_N "(cached) $ECHO_C" >&6
43025 ac_cpp
='$CXXCPP $CPPFLAGS'
43026 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43027 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43028 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43030 cat >conftest.
$ac_ext <<_ACEOF
43033 cat confdefs.h
>>conftest.
$ac_ext
43034 cat >>conftest.
$ac_ext <<_ACEOF
43035 /* end confdefs.h. */
43037 #include <sys/types.h>
43038 #include <sys/socket.h>
43045 getsockname(0, 0, &len);
43051 rm -f conftest.
$ac_objext
43052 if { (ac_try
="$ac_compile"
43053 case "(($ac_try" in
43054 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43055 *) ac_try_echo=$ac_try;;
43057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43058 (eval "$ac_compile") 2>conftest.er1
43060 grep -v '^ *+' conftest.er1 >conftest.err
43062 cat conftest.err >&5
43063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43064 (exit $ac_status); } && {
43065 test -z "$ac_cxx_werror_flag" ||
43066 test ! -s conftest.err
43067 } && test -s conftest.$ac_objext; then
43068 wx_cv_type_getsockname3=socklen_t
43070 echo "$as_me: failed program was:" >&5
43071 sed 's/^/| /' conftest.$ac_ext >&5
43074 CFLAGS_OLD="$CFLAGS"
43075 if test "$GCC" = yes ; then
43076 CFLAGS="-Werror $CFLAGS"
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 getsockname(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_getsockname3
=size_t
43119 echo "$as_me: failed program was:" >&5
43120 sed 's/^/| /' conftest.
$ac_ext >&5
43122 cat >conftest.
$ac_ext <<_ACEOF
43125 cat confdefs.h
>>conftest.
$ac_ext
43126 cat >>conftest.
$ac_ext <<_ACEOF
43127 /* end confdefs.h. */
43129 #include <sys/types.h>
43130 #include <sys/socket.h>
43137 getsockname(0, 0, &len);
43143 rm -f conftest.
$ac_objext
43144 if { (ac_try
="$ac_compile"
43145 case "(($ac_try" in
43146 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43147 *) ac_try_echo=$ac_try;;
43149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43150 (eval "$ac_compile") 2>conftest.er1
43152 grep -v '^ *+' conftest.er1 >conftest.err
43154 cat conftest.err >&5
43155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43156 (exit $ac_status); } && {
43157 test -z "$ac_cxx_werror_flag" ||
43158 test ! -s conftest.err
43159 } && test -s conftest.$ac_objext; then
43160 wx_cv_type_getsockname3=int
43162 echo "$as_me: failed program was:" >&5
43163 sed 's/^/| /' conftest.$ac_ext >&5
43165 wx_cv_type_getsockname3=unknown
43169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43175 CFLAGS="$CFLAGS_OLD"
43180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43182 ac_cpp='$CPP $CPPFLAGS'
43183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43189 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
43190 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
43192 if test "$wx_cv_type_getsockname3" = "unknown"; then
43194 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43195 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43197 cat >>confdefs.h <<_ACEOF
43198 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
43202 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
43203 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
43204 if test "${wx_cv_type_getsockopt5+set}" = set; then
43205 echo $ECHO_N "(cached) $ECHO_C" >&6
43208 cat >conftest.$ac_ext <<_ACEOF
43211 cat confdefs.h >>conftest.$ac_ext
43212 cat >>conftest.$ac_ext <<_ACEOF
43213 /* end confdefs.h. */
43215 #include <sys/types.h>
43216 #include <sys/socket.h>
43223 getsockopt(0, 0, 0, 0, &len);
43229 rm -f conftest.$ac_objext
43230 if { (ac_try="$ac_compile"
43231 case "(($ac_try" in
43232 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43233 *) ac_try_echo
=$ac_try;;
43235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43236 (eval "$ac_compile") 2>conftest.er1
43238 grep -v '^ *+' conftest.er1
>conftest.err
43240 cat conftest.err
>&5
43241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43242 (exit $ac_status); } && {
43243 test -z "$ac_c_werror_flag" ||
43244 test ! -s conftest.err
43245 } && test -s conftest.
$ac_objext; then
43246 wx_cv_type_getsockopt5
=socklen_t
43248 echo "$as_me: failed program was:" >&5
43249 sed 's/^/| /' conftest.
$ac_ext >&5
43253 ac_cpp
='$CXXCPP $CPPFLAGS'
43254 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43255 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43256 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43258 cat >conftest.
$ac_ext <<_ACEOF
43261 cat confdefs.h
>>conftest.
$ac_ext
43262 cat >>conftest.
$ac_ext <<_ACEOF
43263 /* end confdefs.h. */
43265 #include <sys/types.h>
43266 #include <sys/socket.h>
43273 getsockopt(0, 0, 0, 0, &len);
43279 rm -f conftest.
$ac_objext
43280 if { (ac_try
="$ac_compile"
43281 case "(($ac_try" in
43282 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43283 *) ac_try_echo=$ac_try;;
43285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43286 (eval "$ac_compile") 2>conftest.er1
43288 grep -v '^ *+' conftest.er1 >conftest.err
43290 cat conftest.err >&5
43291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43292 (exit $ac_status); } && {
43293 test -z "$ac_cxx_werror_flag" ||
43294 test ! -s conftest.err
43295 } && test -s conftest.$ac_objext; then
43296 wx_cv_type_getsockopt5=size_t
43298 echo "$as_me: failed program was:" >&5
43299 sed 's/^/| /' conftest.$ac_ext >&5
43301 cat >conftest.$ac_ext <<_ACEOF
43304 cat confdefs.h >>conftest.$ac_ext
43305 cat >>conftest.$ac_ext <<_ACEOF
43306 /* end confdefs.h. */
43308 #include <sys/types.h>
43309 #include <sys/socket.h>
43316 getsockopt(0, 0, 0, 0, &len);
43322 rm -f conftest.$ac_objext
43323 if { (ac_try="$ac_compile"
43324 case "(($ac_try" in
43325 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43326 *) ac_try_echo
=$ac_try;;
43328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43329 (eval "$ac_compile") 2>conftest.er1
43331 grep -v '^ *+' conftest.er1
>conftest.err
43333 cat conftest.err
>&5
43334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43335 (exit $ac_status); } && {
43336 test -z "$ac_cxx_werror_flag" ||
43337 test ! -s conftest.err
43338 } && test -s conftest.
$ac_objext; then
43339 wx_cv_type_getsockopt5
=int
43341 echo "$as_me: failed program was:" >&5
43342 sed 's/^/| /' conftest.
$ac_ext >&5
43344 wx_cv_type_getsockopt5
=unknown
43348 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43352 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43354 ac_cpp
='$CPP $CPPFLAGS'
43355 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43356 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43357 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
43363 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43366 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
43367 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
43369 if test "$wx_cv_type_getsockopt5" = "unknown"; then
43371 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43372 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43374 cat >>confdefs.h
<<_ACEOF
43375 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
43382 if test "$wxUSE_SOCKETS" = "yes" ; then
43383 cat >>confdefs.h
<<\_ACEOF
43384 #define wxUSE_SOCKETS 1
43387 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
43390 if test "$wxUSE_PROTOCOL" = "yes"; then
43391 if test "$wxUSE_SOCKETS" != "yes"; then
43392 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
43393 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
43398 if test "$wxUSE_PROTOCOL" = "yes"; then
43399 cat >>confdefs.h
<<\_ACEOF
43400 #define wxUSE_PROTOCOL 1
43404 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
43405 cat >>confdefs.h
<<\_ACEOF
43406 #define wxUSE_PROTOCOL_HTTP 1
43410 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
43411 cat >>confdefs.h
<<\_ACEOF
43412 #define wxUSE_PROTOCOL_FTP 1
43416 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
43417 cat >>confdefs.h
<<\_ACEOF
43418 #define wxUSE_PROTOCOL_FILE 1
43423 if test "$wxUSE_FS_INET" = "yes"; then
43424 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
43425 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
43430 if test "$wxUSE_URL" = "yes"; then
43431 if test "$wxUSE_PROTOCOL" != "yes"; then
43432 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
43433 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
43436 if test "$wxUSE_URL" = "yes"; then
43437 cat >>confdefs.h
<<\_ACEOF
43438 #define wxUSE_URL 1
43444 if test "$wxUSE_VARIANT" = "yes"; then
43445 cat >>confdefs.h
<<\_ACEOF
43446 #define wxUSE_VARIANT 1
43451 if test "$wxUSE_FS_INET" = "yes"; then
43452 cat >>confdefs.h
<<\_ACEOF
43453 #define wxUSE_FS_INET 1
43459 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
43462 if test "$TOOLKIT" = "MSW"; then
43465 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
43466 if test "$USE_DARWIN" = 1; then
43467 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
43468 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
43470 ac_cpp
='$CXXCPP $CPPFLAGS'
43471 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43472 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43473 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43475 cat >conftest.
$ac_ext <<_ACEOF
43478 cat confdefs.h
>>conftest.
$ac_ext
43479 cat >>conftest.
$ac_ext <<_ACEOF
43480 /* end confdefs.h. */
43481 #include <IOKit/hid/IOHIDLib.h>
43485 IOHIDQueueInterface *qi = NULL;
43486 IOHIDCallbackFunction cb = NULL;
43487 qi->setEventCallout(NULL, cb, NULL, NULL);
43492 rm -f conftest.
$ac_objext
43493 if { (ac_try
="$ac_compile"
43494 case "(($ac_try" in
43495 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43496 *) ac_try_echo=$ac_try;;
43498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43499 (eval "$ac_compile") 2>conftest.er1
43501 grep -v '^ *+' conftest.er1 >conftest.err
43503 cat conftest.err >&5
43504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43505 (exit $ac_status); } && {
43506 test -z "$ac_cxx_werror_flag" ||
43507 test ! -s conftest.err
43508 } && test -s conftest.$ac_objext; then
43512 echo "$as_me: failed program was:" >&5
43513 sed 's/^/| /' conftest.$ac_ext >&5
43518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43520 ac_cpp='$CPP $CPPFLAGS'
43521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43525 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
43526 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
43530 if test "$wxUSE_MGL" != "1"; then
43531 { echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
43532 echo $ECHO_N "checking for linux/joystick.h... $ECHO_C" >&6; }
43533 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
43534 echo $ECHO_N "(cached) $ECHO_C" >&6
43536 cat >conftest.$ac_ext <<_ACEOF
43539 cat confdefs.h >>conftest.$ac_ext
43540 cat >>conftest.$ac_ext <<_ACEOF
43541 /* end confdefs.h. */
43542 $ac_includes_default
43544 #include <linux/joystick.h>
43546 rm -f conftest.$ac_objext
43547 if { (ac_try="$ac_compile"
43548 case "(($ac_try" in
43549 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43550 *) ac_try_echo
=$ac_try;;
43552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43553 (eval "$ac_compile") 2>conftest.er1
43555 grep -v '^ *+' conftest.er1
>conftest.err
43557 cat conftest.err
>&5
43558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43559 (exit $ac_status); } && {
43560 test -z "$ac_c_werror_flag" ||
43561 test ! -s conftest.err
43562 } && test -s conftest.
$ac_objext; then
43563 ac_cv_header_linux_joystick_h
=yes
43565 echo "$as_me: failed program was:" >&5
43566 sed 's/^/| /' conftest.
$ac_ext >&5
43568 ac_cv_header_linux_joystick_h
=no
43571 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43573 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
43574 echo "${ECHO_T}$ac_cv_header_linux_joystick_h" >&6; }
43575 if test $ac_cv_header_linux_joystick_h = yes; then
43583 if test "$wxUSE_JOYSTICK" = "yes"; then
43584 cat >>confdefs.h
<<\_ACEOF
43585 #define wxUSE_JOYSTICK 1
43588 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
43590 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
43591 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
43597 if test "$wxUSE_FONTMAP" = "yes" ; then
43598 cat >>confdefs.h
<<\_ACEOF
43599 #define wxUSE_FONTMAP 1
43604 if test "$wxUSE_UNICODE" = "yes" ; then
43605 cat >>confdefs.h
<<\_ACEOF
43606 #define wxUSE_UNICODE 1
43610 if test "$USE_WIN32" != 1; then
43611 wxUSE_UNICODE_MSLU
=no
43614 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
43615 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
43616 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
43617 if test "${ac_cv_lib_unicows_main+set}" = set; then
43618 echo $ECHO_N "(cached) $ECHO_C" >&6
43620 ac_check_lib_save_LIBS
=$LIBS
43621 LIBS
="-lunicows $LIBS"
43622 cat >conftest.
$ac_ext <<_ACEOF
43625 cat confdefs.h
>>conftest.
$ac_ext
43626 cat >>conftest.
$ac_ext <<_ACEOF
43627 /* end confdefs.h. */
43638 rm -f conftest.
$ac_objext conftest
$ac_exeext
43639 if { (ac_try
="$ac_link"
43640 case "(($ac_try" in
43641 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43642 *) ac_try_echo=$ac_try;;
43644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43645 (eval "$ac_link") 2>conftest.er1
43647 grep -v '^ *+' conftest.er1 >conftest.err
43649 cat conftest.err >&5
43650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43651 (exit $ac_status); } && {
43652 test -z "$ac_c_werror_flag" ||
43653 test ! -s conftest.err
43654 } && test -s conftest$ac_exeext &&
43655 $as_test_x conftest$ac_exeext; then
43656 ac_cv_lib_unicows_main=yes
43658 echo "$as_me: failed program was:" >&5
43659 sed 's/^/| /' conftest.$ac_ext >&5
43661 ac_cv_lib_unicows_main=no
43664 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43665 conftest$ac_exeext conftest.$ac_ext
43666 LIBS=$ac_check_lib_save_LIBS
43668 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
43669 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
43670 if test $ac_cv_lib_unicows_main = yes; then
43672 cat >>confdefs.h <<\_ACEOF
43673 #define wxUSE_UNICODE_MSLU 1
43679 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43680 Applications will only run on Windows NT/2000/XP!" >&5
43681 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43682 Applications will only run on Windows NT/2000/XP!" >&2;}
43683 wxUSE_UNICODE_MSLU=no
43690 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
43691 cat >>confdefs.h <<\_ACEOF
43692 #define wxUSE_EXPERIMENTAL_PRINTF 1
43698 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
43699 cat >>confdefs.h <<\_ACEOF
43700 #define wxUSE_POSTSCRIPT 1
43705 cat >>confdefs.h <<\_ACEOF
43706 #define wxUSE_AFM_FOR_POSTSCRIPT 1
43710 cat >>confdefs.h <<\_ACEOF
43711 #define wxUSE_NORMALIZED_PS_FONTS 1
43716 if test "$wxUSE_CONSTRAINTS" = "yes"; then
43717 cat >>confdefs.h <<\_ACEOF
43718 #define wxUSE_CONSTRAINTS 1
43721 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
43724 if test "$wxUSE_MDI" = "yes"; then
43725 cat >>confdefs.h <<\_ACEOF
43726 #define wxUSE_MDI 1
43730 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43731 cat >>confdefs.h <<\_ACEOF
43732 #define wxUSE_MDI_ARCHITECTURE 1
43735 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
43739 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
43740 cat >>confdefs.h <<\_ACEOF
43741 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
43744 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
43745 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43746 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
43750 if test "$wxUSE_HELP" = "yes"; then
43751 cat >>confdefs.h <<\_ACEOF
43752 #define wxUSE_HELP 1
43755 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
43757 if test "$wxUSE_MSW" = 1; then
43758 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
43759 cat >>confdefs.h <<\_ACEOF
43760 #define wxUSE_MS_HTML_HELP 1
43766 if test "$wxUSE_WXHTML_HELP" = "yes"; then
43767 if test "$wxUSE_HTML" = "yes"; then
43768 cat >>confdefs.h <<\_ACEOF
43769 #define wxUSE_WXHTML_HELP 1
43773 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
43774 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
43775 wxUSE_WXHTML_HELP=no
43780 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43781 if test "$wxUSE_CONSTRAINTS" != "yes"; then
43782 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
43783 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
43785 cat >>confdefs.h <<\_ACEOF
43786 #define wxUSE_PRINTING_ARCHITECTURE 1
43790 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
43793 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
43794 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
43795 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
43796 { (exit 1); exit 1; }; }
43800 if test "$wxUSE_METAFILE" = "yes"; then
43801 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
43802 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
43803 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
43809 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
43810 -o "$wxUSE_CLIPBOARD" = "yes" \
43811 -o "$wxUSE_OLE" = "yes" \
43812 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
43813 { echo "$as_me:$LINENO: checking for ole2.h" >&5
43814 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
43815 if test "${ac_cv_header_ole2_h+set}" = set; then
43816 echo $ECHO_N "(cached) $ECHO_C" >&6
43818 cat >conftest.$ac_ext <<_ACEOF
43821 cat confdefs.h >>conftest.$ac_ext
43822 cat >>conftest.$ac_ext <<_ACEOF
43823 /* end confdefs.h. */
43828 rm -f conftest.$ac_objext
43829 if { (ac_try="$ac_compile"
43830 case "(($ac_try" in
43831 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43832 *) ac_try_echo
=$ac_try;;
43834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43835 (eval "$ac_compile") 2>conftest.er1
43837 grep -v '^ *+' conftest.er1
>conftest.err
43839 cat conftest.err
>&5
43840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43841 (exit $ac_status); } && {
43842 test -z "$ac_c_werror_flag" ||
43843 test ! -s conftest.err
43844 } && test -s conftest.
$ac_objext; then
43845 ac_cv_header_ole2_h
=yes
43847 echo "$as_me: failed program was:" >&5
43848 sed 's/^/| /' conftest.
$ac_ext >&5
43850 ac_cv_header_ole2_h
=no
43853 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43855 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
43856 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
43860 if test "$ac_cv_header_ole2_h" = "yes" ; then
43861 if test "$GCC" = yes ; then
43862 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
43863 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
43864 cat >conftest.
$ac_ext <<_ACEOF
43867 cat confdefs.h
>>conftest.
$ac_ext
43868 cat >>conftest.
$ac_ext <<_ACEOF
43869 /* end confdefs.h. */
43870 #include <windows.h>
43880 rm -f conftest.
$ac_objext
43881 if { (ac_try
="$ac_compile"
43882 case "(($ac_try" in
43883 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43884 *) ac_try_echo=$ac_try;;
43886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43887 (eval "$ac_compile") 2>conftest.er1
43889 grep -v '^ *+' conftest.er1 >conftest.err
43891 cat conftest.err >&5
43892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43893 (exit $ac_status); } && {
43894 test -z "$ac_c_werror_flag" ||
43895 test ! -s conftest.err
43896 } && test -s conftest.$ac_objext; then
43897 { echo "$as_me:$LINENO: result: no" >&5
43898 echo "${ECHO_T}no" >&6; }
43900 echo "$as_me: failed program was:" >&5
43901 sed 's/^/| /' conftest.$ac_ext >&5
43903 { echo "$as_me:$LINENO: result: yes" >&5
43904 echo "${ECHO_T}yes" >&6; }
43905 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
43908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43909 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
43910 if test "$wxUSE_OLE" = "yes" ; then
43911 cat >>confdefs.h <<\_ACEOF
43912 #define wxUSE_OLE 1
43915 cat >>confdefs.h <<\_ACEOF
43916 #define wxUSE_OLE_AUTOMATION 1
43919 cat >>confdefs.h <<\_ACEOF
43920 #define wxUSE_ACTIVEX 1
43923 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
43927 if test "$wxUSE_DATAOBJ" = "yes" ; then
43928 cat >>confdefs.h <<\_ACEOF
43929 #define wxUSE_DATAOBJ 1
43934 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
43935 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
43938 wxUSE_DRAG_AND_DROP=no
43943 if test "$wxUSE_METAFILE" = "yes"; then
43944 cat >>confdefs.h <<\_ACEOF
43945 #define wxUSE_METAFILE 1
43949 cat >>confdefs.h <<\_ACEOF
43950 #define wxUSE_ENH_METAFILE 1
43956 if test "$wxUSE_IPC" = "yes"; then
43957 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
43958 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
43959 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
43963 if test "$wxUSE_IPC" = "yes"; then
43964 cat >>confdefs.h <<\_ACEOF
43965 #define wxUSE_IPC 1
43968 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
43972 if test "$wxUSE_DATAOBJ" = "yes"; then
43973 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
43974 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
43975 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
43978 cat >>confdefs.h <<\_ACEOF
43979 #define wxUSE_DATAOBJ 1
43984 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
43985 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
43987 wxUSE_DRAG_AND_DROP=no
43990 if test "$wxUSE_CLIPBOARD" = "yes"; then
43991 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
43992 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
43993 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
43997 if test "$wxUSE_CLIPBOARD" = "yes"; then
43998 cat >>confdefs.h <<\_ACEOF
43999 #define wxUSE_CLIPBOARD 1
44005 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
44006 if test "$wxUSE_GTK" = 1; then
44007 if test "$WXGTK12" != 1; then
44008 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
44009 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
44010 wxUSE_DRAG_AND_DROP=no
44014 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
44015 "$wxUSE_DFB" = 1; then
44016 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
44017 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
44018 wxUSE_DRAG_AND_DROP=no
44021 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
44022 cat >>confdefs.h <<\_ACEOF
44023 #define wxUSE_DRAG_AND_DROP 1
44030 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
44031 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
44034 if test "$wxUSE_SPLINES" = "yes" ; then
44035 cat >>confdefs.h <<\_ACEOF
44036 #define wxUSE_SPLINES 1
44041 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
44042 cat >>confdefs.h <<\_ACEOF
44043 #define wxUSE_MOUSEWHEEL 1
44050 if test "$wxUSE_CONTROLS" = "yes"; then
44054 if test "$wxUSE_ACCEL" = "yes"; then
44055 cat >>confdefs.h <<\_ACEOF
44056 #define wxUSE_ACCEL 1
44062 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
44063 cat >>confdefs.h <<\_ACEOF
44064 #define wxUSE_ANIMATIONCTRL 1
44068 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
44071 if test "$wxUSE_BUTTON" = "yes"; then
44072 cat >>confdefs.h <<\_ACEOF
44073 #define wxUSE_BUTTON 1
44079 if test "$wxUSE_BMPBUTTON" = "yes"; then
44080 cat >>confdefs.h <<\_ACEOF
44081 #define wxUSE_BMPBUTTON 1
44087 if test "$wxUSE_CALCTRL" = "yes"; then
44088 cat >>confdefs.h <<\_ACEOF
44089 #define wxUSE_CALENDARCTRL 1
44093 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
44096 if test "$wxUSE_CARET" = "yes"; then
44097 cat >>confdefs.h <<\_ACEOF
44098 #define wxUSE_CARET 1
44102 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
44105 if test "$wxUSE_COLLPANE" = "yes"; then
44106 cat >>confdefs.h <<\_ACEOF
44107 #define wxUSE_COLLPANE 1
44111 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
44114 if test "$wxUSE_COMBOBOX" = "yes"; then
44115 cat >>confdefs.h <<\_ACEOF
44116 #define wxUSE_COMBOBOX 1
44122 if test "$wxUSE_COMBOCTRL" = "yes"; then
44123 cat >>confdefs.h <<\_ACEOF
44124 #define wxUSE_COMBOCTRL 1
44130 if test "$wxUSE_CHOICE" = "yes"; then
44131 cat >>confdefs.h <<\_ACEOF
44132 #define wxUSE_CHOICE 1
44138 if test "$wxUSE_CHOICEBOOK" = "yes"; then
44139 cat >>confdefs.h <<\_ACEOF
44140 #define wxUSE_CHOICEBOOK 1
44146 if test "$wxUSE_CHECKBOX" = "yes"; then
44147 cat >>confdefs.h <<\_ACEOF
44148 #define wxUSE_CHECKBOX 1
44154 if test "$wxUSE_CHECKLST" = "yes"; then
44155 cat >>confdefs.h <<\_ACEOF
44156 #define wxUSE_CHECKLISTBOX 1
44160 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
44163 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
44164 cat >>confdefs.h <<\_ACEOF
44165 #define wxUSE_COLOURPICKERCTRL 1
44171 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
44172 cat >>confdefs.h <<\_ACEOF
44173 #define wxUSE_DATEPICKCTRL 1
44179 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
44180 cat >>confdefs.h <<\_ACEOF
44181 #define wxUSE_DIRPICKERCTRL 1
44187 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
44188 cat >>confdefs.h <<\_ACEOF
44189 #define wxUSE_FILEPICKERCTRL 1
44195 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
44196 cat >>confdefs.h <<\_ACEOF
44197 #define wxUSE_FONTPICKERCTRL 1
44203 if test "$wxUSE_DISPLAY" = "yes"; then
44204 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
44205 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
44206 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
44209 cat >>confdefs.h <<\_ACEOF
44210 #define wxUSE_DISPLAY 1
44213 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
44217 if test "$wxUSE_DETECT_SM" = "yes"; then
44218 cat >>confdefs.h <<\_ACEOF
44219 #define wxUSE_DETECT_SM 1
44224 if test "$wxUSE_GAUGE" = "yes"; then
44225 cat >>confdefs.h <<\_ACEOF
44226 #define wxUSE_GAUGE 1
44232 if test "$wxUSE_GRID" = "yes"; then
44233 cat >>confdefs.h <<\_ACEOF
44234 #define wxUSE_GRID 1
44238 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
44241 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
44242 cat >>confdefs.h <<\_ACEOF
44243 #define wxUSE_HYPERLINKCTRL 1
44249 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
44250 cat >>confdefs.h <<\_ACEOF
44251 #define wxUSE_BITMAPCOMBOBOX 1
44257 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
44258 cat >>confdefs.h <<\_ACEOF
44259 #define wxUSE_DATAVIEWCTRL 1
44263 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
44266 if test "$wxUSE_IMAGLIST" = "yes"; then
44267 cat >>confdefs.h <<\_ACEOF
44268 #define wxUSE_IMAGLIST 1
44273 if test "$wxUSE_LISTBOOK" = "yes"; then
44274 cat >>confdefs.h <<\_ACEOF
44275 #define wxUSE_LISTBOOK 1
44281 if test "$wxUSE_LISTBOX" = "yes"; then
44282 cat >>confdefs.h <<\_ACEOF
44283 #define wxUSE_LISTBOX 1
44287 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
44290 if test "$wxUSE_LISTCTRL" = "yes"; then
44291 if test "$wxUSE_IMAGLIST" = "yes"; then
44292 cat >>confdefs.h <<\_ACEOF
44293 #define wxUSE_LISTCTRL 1
44297 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
44299 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
44300 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
44304 if test "$wxUSE_NOTEBOOK" = "yes"; then
44305 cat >>confdefs.h <<\_ACEOF
44306 #define wxUSE_NOTEBOOK 1
44310 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
44313 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
44314 cat >>confdefs.h <<\_ACEOF
44315 #define wxUSE_ODCOMBOBOX 1
44319 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
44323 if test "$wxUSE_RADIOBOX" = "yes"; then
44324 cat >>confdefs.h <<\_ACEOF
44325 #define wxUSE_RADIOBOX 1
44331 if test "$wxUSE_RADIOBTN" = "yes"; then
44332 cat >>confdefs.h <<\_ACEOF
44333 #define wxUSE_RADIOBTN 1
44339 if test "$wxUSE_SASH" = "yes"; then
44340 cat >>confdefs.h <<\_ACEOF
44341 #define wxUSE_SASH 1
44344 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
44347 if test "$wxUSE_SCROLLBAR" = "yes"; then
44348 cat >>confdefs.h <<\_ACEOF
44349 #define wxUSE_SCROLLBAR 1
44353 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
44356 if test "$wxUSE_SEARCHCTRL" = "yes"; then
44357 cat >>confdefs.h <<\_ACEOF
44358 #define wxUSE_SEARCHCTRL 1
44364 if test "$wxUSE_SLIDER" = "yes"; then
44365 cat >>confdefs.h <<\_ACEOF
44366 #define wxUSE_SLIDER 1
44372 if test "$wxUSE_SPINBTN" = "yes"; then
44373 cat >>confdefs.h <<\_ACEOF
44374 #define wxUSE_SPINBTN 1
44380 if test "$wxUSE_SPINCTRL" = "yes"; then
44381 cat >>confdefs.h <<\_ACEOF
44382 #define wxUSE_SPINCTRL 1
44388 if test "$wxUSE_SPLITTER" = "yes"; then
44389 cat >>confdefs.h <<\_ACEOF
44390 #define wxUSE_SPLITTER 1
44393 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
44396 if test "$wxUSE_STATBMP" = "yes"; then
44397 cat >>confdefs.h <<\_ACEOF
44398 #define wxUSE_STATBMP 1
44404 if test "$wxUSE_STATBOX" = "yes"; then
44405 cat >>confdefs.h <<\_ACEOF
44406 #define wxUSE_STATBOX 1
44412 if test "$wxUSE_STATTEXT" = "yes"; then
44413 cat >>confdefs.h <<\_ACEOF
44414 #define wxUSE_STATTEXT 1
44420 if test "$wxUSE_STATLINE" = "yes"; then
44421 cat >>confdefs.h <<\_ACEOF
44422 #define wxUSE_STATLINE 1
44428 if test "$wxUSE_STATUSBAR" = "yes"; then
44429 cat >>confdefs.h <<\_ACEOF
44430 #define wxUSE_NATIVE_STATUSBAR 1
44433 cat >>confdefs.h <<\_ACEOF
44434 #define wxUSE_STATUSBAR 1
44439 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
44442 if test "$wxUSE_TAB_DIALOG" = "yes"; then
44443 cat >>confdefs.h <<\_ACEOF
44444 #define wxUSE_TAB_DIALOG 1
44449 if test "$wxUSE_TEXTCTRL" = "yes"; then
44450 cat >>confdefs.h <<\_ACEOF
44451 #define wxUSE_TEXTCTRL 1
44455 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
44458 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44459 if test "$wxUSE_COCOA" = 1 ; then
44460 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
44461 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
44465 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44466 cat >>confdefs.h <<\_ACEOF
44467 #define wxUSE_TOGGLEBTN 1
44474 if test "$wxUSE_TOOLBAR" = "yes"; then
44475 cat >>confdefs.h <<\_ACEOF
44476 #define wxUSE_TOOLBAR 1
44481 if test "$wxUSE_UNIVERSAL" = "yes"; then
44482 wxUSE_TOOLBAR_NATIVE="no"
44484 wxUSE_TOOLBAR_NATIVE="yes"
44485 cat >>confdefs.h <<\_ACEOF
44486 #define wxUSE_TOOLBAR_NATIVE 1
44491 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
44494 if test "$wxUSE_TOOLTIPS" = "yes"; then
44495 if test "$wxUSE_MOTIF" = 1; then
44496 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
44497 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
44499 if test "$wxUSE_UNIVERSAL" = "yes"; then
44500 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
44501 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
44503 cat >>confdefs.h <<\_ACEOF
44504 #define wxUSE_TOOLTIPS 1
44511 if test "$wxUSE_TREEBOOK" = "yes"; then
44512 cat >>confdefs.h <<\_ACEOF
44513 #define wxUSE_TREEBOOK 1
44519 if test "$wxUSE_TOOLBOOK" = "yes"; then
44520 cat >>confdefs.h <<\_ACEOF
44521 #define wxUSE_TOOLBOOK 1
44527 if test "$wxUSE_TREECTRL" = "yes"; then
44528 if test "$wxUSE_IMAGLIST" = "yes"; then
44529 cat >>confdefs.h <<\_ACEOF
44530 #define wxUSE_TREECTRL 1
44534 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
44536 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
44537 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
44541 if test "$wxUSE_POPUPWIN" = "yes"; then
44542 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
44543 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
44544 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
44546 if test "$wxUSE_PM" = 1; then
44547 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
44548 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
44550 cat >>confdefs.h <<\_ACEOF
44551 #define wxUSE_POPUPWIN 1
44554 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
44561 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
44562 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
44563 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
44564 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
44566 cat >>confdefs.h <<\_ACEOF
44567 #define wxUSE_DIALUP_MANAGER 1
44570 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
44574 if test "$wxUSE_TIPWINDOW" = "yes"; then
44575 if test "$wxUSE_PM" = 1; then
44576 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
44577 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
44579 cat >>confdefs.h <<\_ACEOF
44580 #define wxUSE_TIPWINDOW 1
44586 if test "$USES_CONTROLS" = 1; then
44587 cat >>confdefs.h <<\_ACEOF
44588 #define wxUSE_CONTROLS 1
44594 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
44595 cat >>confdefs.h <<\_ACEOF
44596 #define wxUSE_ACCESSIBILITY 1
44599 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
44602 if test "$wxUSE_DC_CACHEING" = "yes"; then
44603 cat >>confdefs.h <<\_ACEOF
44604 #define wxUSE_DC_CACHEING 1
44609 if test "$wxUSE_DRAGIMAGE" = "yes"; then
44610 cat >>confdefs.h <<\_ACEOF
44611 #define wxUSE_DRAGIMAGE 1
44614 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
44617 if test "$wxUSE_EXCEPTIONS" = "yes"; then
44618 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
44619 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
44620 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
44622 cat >>confdefs.h <<\_ACEOF
44623 #define wxUSE_EXCEPTIONS 1
44626 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
44631 if test "$wxUSE_HTML" = "yes"; then
44632 cat >>confdefs.h <<\_ACEOF
44633 #define wxUSE_HTML 1
44637 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
44638 if test "$wxUSE_MAC" = 1; then
44639 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
44642 if test "$wxUSE_WEBKIT" = "yes"; then
44643 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
44644 old_CPPFLAGS="$CPPFLAGS"
44645 CPPFLAGS="-x objective-c++ $CPPFLAGS"
44646 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
44647 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
44648 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
44649 echo $ECHO_N "(cached) $ECHO_C" >&6
44651 cat >conftest.$ac_ext <<_ACEOF
44654 cat confdefs.h >>conftest.$ac_ext
44655 cat >>conftest.$ac_ext <<_ACEOF
44656 /* end confdefs.h. */
44658 #include <Carbon/Carbon.h>
44659 #include <WebKit/WebKit.h>
44662 #include <WebKit/HIWebView.h>
44664 rm -f conftest.$ac_objext
44665 if { (ac_try="$ac_compile"
44666 case "(($ac_try" in
44667 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44668 *) ac_try_echo
=$ac_try;;
44670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44671 (eval "$ac_compile") 2>conftest.er1
44673 grep -v '^ *+' conftest.er1
>conftest.err
44675 cat conftest.err
>&5
44676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44677 (exit $ac_status); } && {
44678 test -z "$ac_c_werror_flag" ||
44679 test ! -s conftest.err
44680 } && test -s conftest.
$ac_objext; then
44681 ac_cv_header_WebKit_HIWebView_h
=yes
44683 echo "$as_me: failed program was:" >&5
44684 sed 's/^/| /' conftest.
$ac_ext >&5
44686 ac_cv_header_WebKit_HIWebView_h
=no
44689 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44691 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
44692 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
44693 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
44695 cat >>confdefs.h
<<\_ACEOF
44696 #define wxUSE_WEBKIT 1
44699 WEBKIT_LINK
="-framework WebKit"
44703 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
44704 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
44710 CPPFLAGS
="$old_CPPFLAGS"
44711 elif test "$wxUSE_COCOA" = 1; then
44712 cat >>confdefs.h
<<\_ACEOF
44713 #define wxUSE_WEBKIT 1
44722 if test "$wxUSE_XRC" = "yes"; then
44723 if test "$wxUSE_XML" != "yes"; then
44724 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
44725 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
44728 cat >>confdefs.h
<<\_ACEOF
44729 #define wxUSE_XRC 1
44733 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
44738 if test "$wxUSE_AUI" = "yes"; then
44739 cat >>confdefs.h
<<\_ACEOF
44740 #define wxUSE_AUI 1
44744 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS aui"
44747 if test "$wxUSE_MENUS" = "yes"; then
44748 cat >>confdefs.h
<<\_ACEOF
44749 #define wxUSE_MENUS 1
44752 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
44755 if test "$wxUSE_METAFILE" = "yes"; then
44756 cat >>confdefs.h
<<\_ACEOF
44757 #define wxUSE_METAFILE 1
44762 if test "$wxUSE_MIMETYPE" = "yes"; then
44763 cat >>confdefs.h
<<\_ACEOF
44764 #define wxUSE_MIMETYPE 1
44769 if test "$wxUSE_MINIFRAME" = "yes"; then
44770 cat >>confdefs.h
<<\_ACEOF
44771 #define wxUSE_MINIFRAME 1
44774 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
44777 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
44778 cat >>confdefs.h
<<\_ACEOF
44779 #define wxUSE_SYSTEM_OPTIONS 1
44782 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
44783 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
44784 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
44789 if test "$wxUSE_VALIDATORS" = "yes"; then
44790 cat >>confdefs.h
<<\_ACEOF
44791 #define wxUSE_VALIDATORS 1
44794 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
44797 if test "$wxUSE_PALETTE" = "yes" ; then
44798 if test "$wxUSE_DFB" = 1; then
44799 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
44800 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
44803 cat >>confdefs.h
<<\_ACEOF
44804 #define wxUSE_PALETTE 1
44810 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
44811 LIBS
=" -lunicows $LIBS"
44815 if test "$wxUSE_RICHTEXT" = "yes"; then
44816 cat >>confdefs.h
<<\_ACEOF
44817 #define wxUSE_RICHTEXT 1
44821 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS richtext"
44825 if test "$wxUSE_IMAGE" = "yes" ; then
44826 cat >>confdefs.h
<<\_ACEOF
44827 #define wxUSE_IMAGE 1
44831 if test "$wxUSE_GIF" = "yes" ; then
44832 cat >>confdefs.h
<<\_ACEOF
44833 #define wxUSE_GIF 1
44838 if test "$wxUSE_PCX" = "yes" ; then
44839 cat >>confdefs.h
<<\_ACEOF
44840 #define wxUSE_PCX 1
44845 if test "$wxUSE_TGA" = "yes" ; then
44846 cat >>confdefs.h
<<\_ACEOF
44847 #define wxUSE_TGA 1
44852 if test "$wxUSE_IFF" = "yes" ; then
44853 cat >>confdefs.h
<<\_ACEOF
44854 #define wxUSE_IFF 1
44859 if test "$wxUSE_PNM" = "yes" ; then
44860 cat >>confdefs.h
<<\_ACEOF
44861 #define wxUSE_PNM 1
44866 if test "$wxUSE_XPM" = "yes" ; then
44867 cat >>confdefs.h
<<\_ACEOF
44868 #define wxUSE_XPM 1
44873 if test "$wxUSE_ICO_CUR" = "yes" ; then
44874 cat >>confdefs.h
<<\_ACEOF
44875 #define wxUSE_ICO_CUR 1
44882 if test "$wxUSE_ABOUTDLG" = "yes"; then
44883 cat >>confdefs.h
<<\_ACEOF
44884 #define wxUSE_ABOUTDLG 1
44889 if test "$wxUSE_CHOICEDLG" = "yes"; then
44890 cat >>confdefs.h
<<\_ACEOF
44891 #define wxUSE_CHOICEDLG 1
44896 if test "$wxUSE_COLOURDLG" = "yes"; then
44897 cat >>confdefs.h
<<\_ACEOF
44898 #define wxUSE_COLOURDLG 1
44903 if test "$wxUSE_FILEDLG" = "yes"; then
44904 cat >>confdefs.h
<<\_ACEOF
44905 #define wxUSE_FILEDLG 1
44910 if test "$wxUSE_FINDREPLDLG" = "yes"; then
44911 cat >>confdefs.h
<<\_ACEOF
44912 #define wxUSE_FINDREPLDLG 1
44917 if test "$wxUSE_FONTDLG" = "yes"; then
44918 cat >>confdefs.h
<<\_ACEOF
44919 #define wxUSE_FONTDLG 1
44924 if test "$wxUSE_DIRDLG" = "yes"; then
44925 if test "$wxUSE_TREECTRL" != "yes"; then
44926 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
44927 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
44929 cat >>confdefs.h
<<\_ACEOF
44930 #define wxUSE_DIRDLG 1
44936 if test "$wxUSE_MSGDLG" = "yes"; then
44937 cat >>confdefs.h
<<\_ACEOF
44938 #define wxUSE_MSGDLG 1
44943 if test "$wxUSE_NUMBERDLG" = "yes"; then
44944 cat >>confdefs.h
<<\_ACEOF
44945 #define wxUSE_NUMBERDLG 1
44950 if test "$wxUSE_PROGRESSDLG" = "yes"; then
44951 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44952 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
44953 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
44955 cat >>confdefs.h
<<\_ACEOF
44956 #define wxUSE_PROGRESSDLG 1
44962 if test "$wxUSE_SPLASH" = "yes"; then
44963 cat >>confdefs.h
<<\_ACEOF
44964 #define wxUSE_SPLASH 1
44967 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
44970 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
44971 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44972 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
44973 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
44975 cat >>confdefs.h
<<\_ACEOF
44976 #define wxUSE_STARTUP_TIPS 1
44982 if test "$wxUSE_TEXTDLG" = "yes"; then
44983 cat >>confdefs.h
<<\_ACEOF
44984 #define wxUSE_TEXTDLG 1
44989 if test "$wxUSE_WIZARDDLG" = "yes"; then
44990 cat >>confdefs.h
<<\_ACEOF
44991 #define wxUSE_WIZARDDLG 1
44994 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
44998 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
44999 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
45000 cat >>confdefs.h
<<\_ACEOF
45001 #define wxUSE_GRAPHICS_CONTEXT 1
45004 elif test "$wxUSE_GTK" != 1; then
45005 cat >>confdefs.h
<<\_ACEOF
45006 #define wxUSE_GRAPHICS_CONTEXT 1
45012 { echo "$as_me:$LINENO: checking for CAIRO" >&5
45013 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
45015 if test -n "$PKG_CONFIG"; then
45016 if test -n "$CAIRO_CFLAGS"; then
45017 pkg_cv_CAIRO_CFLAGS
="$CAIRO_CFLAGS"
45019 if test -n "$PKG_CONFIG" && \
45020 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
45021 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
45023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45024 (exit $ac_status); }; then
45025 pkg_cv_CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
45033 if test -n "$PKG_CONFIG"; then
45034 if test -n "$CAIRO_LIBS"; then
45035 pkg_cv_CAIRO_LIBS
="$CAIRO_LIBS"
45037 if test -n "$PKG_CONFIG" && \
45038 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
45039 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
45041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45042 (exit $ac_status); }; then
45043 pkg_cv_CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
45054 if test $pkg_failed = yes; then
45056 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45057 _pkg_short_errors_supported
=yes
45059 _pkg_short_errors_supported
=no
45061 if test $_pkg_short_errors_supported = yes; then
45062 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
45064 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
45066 # Put the nasty error message in config.log where it belongs
45067 echo "$CAIRO_PKG_ERRORS" >&5
45069 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
45070 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
45072 elif test $pkg_failed = untried
; then
45073 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
45074 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
45077 CAIRO_CFLAGS
=$pkg_cv_CAIRO_CFLAGS
45078 CAIRO_LIBS
=$pkg_cv_CAIRO_LIBS
45079 { echo "$as_me:$LINENO: result: yes" >&5
45080 echo "${ECHO_T}yes" >&6; }
45081 cat >>confdefs.h
<<\_ACEOF
45082 #define wxUSE_GRAPHICS_CONTEXT 1
45092 if test "$wxUSE_MEDIACTRL" = "yes"; then
45095 if test "$wxUSE_GTK" = 1; then
45096 wxUSE_GSTREAMER
="no"
45098 GST_VERSION_MAJOR
=0
45099 GST_VERSION_MINOR
=10
45100 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
45102 if test "$wxUSE_GSTREAMER8" = "no"; then
45105 { echo "$as_me:$LINENO: checking for GST" >&5
45106 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
45108 if test -n "$PKG_CONFIG"; then
45109 if test -n "$GST_CFLAGS"; then
45110 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
45112 if test -n "$PKG_CONFIG" && \
45113 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
45114 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
45116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45117 (exit $ac_status); }; then
45118 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
45126 if test -n "$PKG_CONFIG"; then
45127 if test -n "$GST_LIBS"; then
45128 pkg_cv_GST_LIBS
="$GST_LIBS"
45130 if test -n "$PKG_CONFIG" && \
45131 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
45132 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
45134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45135 (exit $ac_status); }; then
45136 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
45147 if test $pkg_failed = yes; then
45149 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45150 _pkg_short_errors_supported
=yes
45152 _pkg_short_errors_supported
=no
45154 if test $_pkg_short_errors_supported = yes; then
45155 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
45157 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
45159 # Put the nasty error message in config.log where it belongs
45160 echo "$GST_PKG_ERRORS" >&5
45163 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
45164 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
45165 GST_VERSION_MINOR
=8
45168 elif test $pkg_failed = untried
; then
45170 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
45171 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
45172 GST_VERSION_MINOR
=8
45176 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
45177 GST_LIBS
=$pkg_cv_GST_LIBS
45178 { echo "$as_me:$LINENO: result: yes" >&5
45179 echo "${ECHO_T}yes" >&6; }
45181 wxUSE_GSTREAMER
="yes"
45182 GST_LIBS
="$GST_LIBS -lgstinterfaces-$GST_VERSION"
45186 GST_VERSION_MINOR
=8
45189 if test $GST_VERSION_MINOR = "8"; then
45190 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
45193 { echo "$as_me:$LINENO: checking for GST" >&5
45194 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
45196 if test -n "$PKG_CONFIG"; then
45197 if test -n "$GST_CFLAGS"; then
45198 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
45200 if test -n "$PKG_CONFIG" && \
45201 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
45202 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
45204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45205 (exit $ac_status); }; then
45206 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
45214 if test -n "$PKG_CONFIG"; then
45215 if test -n "$GST_LIBS"; then
45216 pkg_cv_GST_LIBS
="$GST_LIBS"
45218 if test -n "$PKG_CONFIG" && \
45219 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
45220 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
45222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45223 (exit $ac_status); }; then
45224 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
45235 if test $pkg_failed = yes; then
45237 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45238 _pkg_short_errors_supported
=yes
45240 _pkg_short_errors_supported
=no
45242 if test $_pkg_short_errors_supported = yes; then
45243 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45245 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45247 # Put the nasty error message in config.log where it belongs
45248 echo "$GST_PKG_ERRORS" >&5
45251 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
45252 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
45254 elif test $pkg_failed = untried
; then
45256 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
45257 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
45260 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
45261 GST_LIBS
=$pkg_cv_GST_LIBS
45262 { echo "$as_me:$LINENO: result: yes" >&5
45263 echo "${ECHO_T}yes" >&6; }
45264 wxUSE_GSTREAMER
="yes"
45269 if test "$wxUSE_GSTREAMER" = "yes"; then
45272 if "$GCC" = yes; then
45273 GST_CFLAGS
=`echo $GST_CFLAGS | sed 's/-mt//'`
45274 GST_LIBS
=`echo $GST_LIBS | sed 's/-mt//'`
45278 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
45279 LIBS
="$GST_LIBS $LIBS"
45281 cat >>confdefs.h
<<\_ACEOF
45282 #define wxUSE_GSTREAMER 1
45290 if test $USE_MEDIA = 1; then
45291 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
45292 cat >>confdefs.h
<<\_ACEOF
45293 #define wxUSE_MEDIACTRL 1
45300 if test "$cross_compiling" = "yes"; then
45303 OSINFO
=`uname -s -r -m`
45304 OSINFO
="\"$OSINFO\""
45307 cat >>confdefs.h
<<_ACEOF
45308 #define WXWIN_OS_DESCRIPTION $OSINFO
45313 if test "x$prefix" != "xNONE"; then
45316 wxPREFIX
=$ac_default_prefix
45319 cat >>confdefs.h
<<_ACEOF
45320 #define wxINSTALL_PREFIX "$wxPREFIX"
45326 CORE_BASE_LIBS
="net base"
45327 CORE_GUI_LIBS
="adv core"
45329 if test "$wxUSE_XML" = "yes" ; then
45330 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
45332 if test "$wxUSE_ODBC" != "no" ; then
45333 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
45334 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
45336 if test "$wxUSE_HTML" = "yes" ; then
45337 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
45339 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45340 CORE_GUI_LIBS
="qa $CORE_GUI_LIBS"
45342 if test "$wxUSE_XRC" = "yes" ; then
45343 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
45345 if test "$wxUSE_AUI" = "yes" ; then
45346 CORE_GUI_LIBS
="aui $CORE_GUI_LIBS"
45349 if test "$wxUSE_GUI" != "yes"; then
45358 if test "$wxUSE_MAC" = 1 ; then
45359 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
45360 if test "$USE_DARWIN" = 1; then
45361 LDFLAGS
="$LDFLAGS -framework QuickTime"
45363 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
45366 if test "$USE_DARWIN" = 1; then
45367 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
45369 LDFLAGS
="$LDFLAGS -lCarbonLib"
45372 if test "$wxUSE_COCOA" = 1 ; then
45373 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
45374 if test "$wxUSE_MEDIACTRL" = "yes"; then
45375 LDFLAGS
="$LDFLAGS -framework QuickTime"
45378 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
45379 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
45382 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
45384 if test "$wxUSE_GUI" = "yes"; then
45387 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
45388 dynamic erase event exec font image minimal mobile \
45389 mobile/wxedit mobile/styles propsize render \
45390 rotate shaped vscroll widgets"
45392 if test "$wxUSE_MONOLITHIC" != "yes"; then
45393 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
45395 if test "$TOOLKIT" = "MSW"; then
45396 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
45397 if test "$wxUSE_UNIVERSAL" != "yes"; then
45398 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
45401 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
45402 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
45405 SAMPLES_SUBDIRS
="console"
45409 if test "x$INTELCC" = "xyes" ; then
45410 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684"
45411 elif test "$GCC" = yes ; then
45412 CWARNINGS
="-Wall -Wundef"
45415 if test "x$INTELCXX" = "xyes" ; then
45416 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419"
45417 elif test "$GXX" = yes ; then
45418 CXXWARNINGS
="-Wall -Wundef -Wno-ctor-dtor-privacy"
45422 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
45423 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
45426 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
45427 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
45428 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
45431 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
45432 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
45433 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
45435 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
45438 if test "x$MWCC" = "xyes"; then
45440 CC
="$CC -cwd source -I-"
45441 CXX
="$CXX -cwd source -I-"
45446 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
45447 EXTRALIBS_XML
="$EXPAT_LINK"
45448 EXTRALIBS_HTML
="$MSPACK_LINK"
45449 EXTRALIBS_ODBC
="$ODBC_LINK"
45450 if test "$wxUSE_GUI" = "yes"; then
45451 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
45453 if test "$wxUSE_OPENGL" = "yes"; then
45454 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
45457 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
45459 WXCONFIG_LIBS
="$LIBS"
45461 if test "$wxUSE_REGEX" = "builtin" ; then
45462 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
45464 if test "$wxUSE_EXPAT" = "builtin" ; then
45465 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
45467 if test "$wxUSE_ODBC" = "builtin" ; then
45468 wxconfig_3rdparty
="odbc $wxconfig_3rdparty"
45470 if test "$wxUSE_LIBTIFF" = "builtin" ; then
45471 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
45473 if test "$wxUSE_LIBJPEG" = "builtin" ; then
45474 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
45476 if test "$wxUSE_LIBPNG" = "builtin" ; then
45477 wxconfig_3rdparty
="png $wxconfig_3rdparty"
45479 if test "$wxUSE_ZLIB" = "builtin" ; then
45480 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
45483 for i
in $wxconfig_3rdparty ; do
45484 WXCONFIG_LIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
45488 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
45491 case "$wxUNIV_THEMES" in
45493 cat >>confdefs.h
<<\_ACEOF
45494 #define wxUSE_ALL_THEMES 1
45500 for t
in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
45501 cat >>confdefs.h
<<_ACEOF
45502 #define wxUSE_THEME_$t 1
45519 if test $wxUSE_MONOLITHIC = "yes" ; then
45525 if test $wxUSE_PLUGINS = "yes" ; then
45531 if test $wxUSE_ODBC != "no" ; then
45537 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45543 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
45573 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
45584 TOOLKIT_DESC
="GTK+"
45585 if test "$WXGTK20" = 1; then
45586 TOOLKIT_DESC
="$TOOLKIT_DESC 2"
45587 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
45588 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomeprint";
45590 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
45591 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomevfs"
45593 if test "$wxUSE_LIBHILDON" = "yes"; then
45594 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
45597 if test "$TOOLKIT_EXTRA" != ""; then
45598 TOOLKIT_DESC
="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
45604 TOOLKIT_DESC
=$TOOLKIT_LOWERCASE
45608 TOOLKIT_DESC
="base only"
45612 if test "$wxUSE_WINE" = "yes"; then
45613 BAKEFILE_FORCE_PLATFORM
=win32
45616 if test "$wxUSE_MAC" = 1 ; then
45617 if test "x$wxUSE_UNIVERSAL_BINARY" != xno
; then
45618 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes
; then
45619 OSX_UNIV_OPTS
="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
45621 OSX_UNIV_OPTS
=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
45623 OSX_UNIV_OPTS
="$OSX_UNIV_OPTS -arch ppc -arch i386"
45624 CXXFLAGS
="$OSX_UNIV_OPTS $CXXFLAGS"
45625 CFLAGS
="$OSX_UNIV_OPTS $CFLAGS"
45626 LDFLAGS
="$OSX_UNIV_OPTS $LDFLAGS"
45629 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
45630 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
45633 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
45635 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
45636 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
45637 if test "${wx_cv_gcc_pch_bug+set}" = set; then
45638 echo $ECHO_N "(cached) $ECHO_C" >&6
45641 echo '#include <stdio.h>
45642 const wchar_t test_var[] = L"awidetest";' > conftest.h
45644 echo '#include "conftest.h"
45647 printf("%ls", test_var);
45651 wx_cv_gcc_pch_bug
="pch not supported"
45653 if $CXX conftest.h
>/dev
/null
2>&1
45657 if $CXX -o conftest
$PROGRAM_EXT conftest.cpp
>/dev
/null
2>&1
45659 if tr -dc '[a-z]' < conftest
$PROGRAM_EXT |
45660 grep awidetest
>/dev
/null
45662 wx_cv_gcc_pch_bug
=no
45664 wx_cv_gcc_pch_bug
=yes
45669 rm -f conftest.h conftest.gch conftest.cpp conftest
$PROGRAM_EXT
45672 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
45673 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
45675 if test "$wx_cv_gcc_pch_bug" = yes; then
45683 if test "x$BAKEFILE_HOST" = "x"; then
45684 if test "x${host}" = "x" ; then
45685 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
45686 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
45687 { (exit 1); exit 1; }; }
45690 BAKEFILE_HOST
="${host}"
45693 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
45695 if test -n "$ac_tool_prefix"; then
45696 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
45697 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
45698 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45699 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45700 if test "${ac_cv_prog_RANLIB+set}" = set; then
45701 echo $ECHO_N "(cached) $ECHO_C" >&6
45703 if test -n "$RANLIB"; then
45704 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
45706 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45707 for as_dir
in $PATH
45710 test -z "$as_dir" && as_dir
=.
45711 for ac_exec_ext
in '' $ac_executable_extensions; do
45712 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45713 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
45714 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45723 RANLIB
=$ac_cv_prog_RANLIB
45724 if test -n "$RANLIB"; then
45725 { echo "$as_me:$LINENO: result: $RANLIB" >&5
45726 echo "${ECHO_T}$RANLIB" >&6; }
45728 { echo "$as_me:$LINENO: result: no" >&5
45729 echo "${ECHO_T}no" >&6; }
45734 if test -z "$ac_cv_prog_RANLIB"; then
45735 ac_ct_RANLIB
=$RANLIB
45736 # Extract the first word of "ranlib", so it can be a program name with args.
45737 set dummy ranlib
; ac_word
=$2
45738 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45739 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45740 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
45741 echo $ECHO_N "(cached) $ECHO_C" >&6
45743 if test -n "$ac_ct_RANLIB"; then
45744 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
45746 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45747 for as_dir
in $PATH
45750 test -z "$as_dir" && as_dir
=.
45751 for ac_exec_ext
in '' $ac_executable_extensions; do
45752 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45753 ac_cv_prog_ac_ct_RANLIB
="ranlib"
45754 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45763 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
45764 if test -n "$ac_ct_RANLIB"; then
45765 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
45766 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
45768 { echo "$as_me:$LINENO: result: no" >&5
45769 echo "${ECHO_T}no" >&6; }
45772 if test "x$ac_ct_RANLIB" = x
; then
45775 case $cross_compiling:$ac_tool_warned in
45777 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
45778 whose name does not start with the host triplet. If you think this
45779 configuration is useful to you, please write to autoconf@gnu.org." >&5
45780 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
45781 whose name does not start with the host triplet. If you think this
45782 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
45783 ac_tool_warned
=yes ;;
45785 RANLIB
=$ac_ct_RANLIB
45788 RANLIB
="$ac_cv_prog_RANLIB"
45791 # Find a good install program. We prefer a C program (faster),
45792 # so one script is as good as another. But avoid the broken or
45793 # incompatible versions:
45794 # SysV /etc/install, /usr/sbin/install
45795 # SunOS /usr/etc/install
45796 # IRIX /sbin/install
45798 # AmigaOS /C/install, which installs bootblocks on floppy discs
45799 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
45800 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
45801 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
45802 # OS/2's system install, which has a completely different semantic
45803 # ./install, which can be erroneously created by make from ./install.sh.
45804 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
45805 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
45806 if test -z "$INSTALL"; then
45807 if test "${ac_cv_path_install+set}" = set; then
45808 echo $ECHO_N "(cached) $ECHO_C" >&6
45810 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45811 for as_dir
in $PATH
45814 test -z "$as_dir" && as_dir
=.
45815 # Account for people who put trailing slashes in PATH elements.
45817 .
/ | .
// | /cC
/* | \
45818 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
45819 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
45822 # OSF1 and SCO ODT 3.0 have their own names for install.
45823 # Don't use installbsd from OSF since it installs stuff as root
45825 for ac_prog
in ginstall scoinst
install; do
45826 for ac_exec_ext
in '' $ac_executable_extensions; do
45827 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
45828 if test $ac_prog = install &&
45829 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
45830 # AIX install. It has an incompatible calling convention.
45832 elif test $ac_prog = install &&
45833 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
45834 # program-specific install script used by HP pwplus--don't use.
45837 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
45850 if test "${ac_cv_path_install+set}" = set; then
45851 INSTALL
=$ac_cv_path_install
45853 # As a last resort, use the slow shell script. Don't cache a
45854 # value for INSTALL within a source directory, because that will
45855 # break other packages using the cache if that directory is
45856 # removed, or if the value is a relative name.
45857 INSTALL
=$ac_install_sh
45860 { echo "$as_me:$LINENO: result: $INSTALL" >&5
45861 echo "${ECHO_T}$INSTALL" >&6; }
45863 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
45864 # It thinks the first close brace ends the variable substitution.
45865 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
45867 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
45869 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
45871 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
45872 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
45874 if test "$LN_S" = "ln -s"; then
45875 { echo "$as_me:$LINENO: result: yes" >&5
45876 echo "${ECHO_T}yes" >&6; }
45878 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
45879 echo "${ECHO_T}no, using $LN_S" >&6; }
45883 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
45884 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
45885 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
45886 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
45887 echo $ECHO_N "(cached) $ECHO_C" >&6
45889 cat >conftest.
make <<\_ACEOF
45892 @
echo '@@@%%%=$(MAKE)=@@@%%%'
45894 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
45895 case `${MAKE-make} -f conftest.make 2>/dev/null` in
45896 *@@@
%%%=?
*=@@@
%%%*)
45897 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
45899 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
45901 rm -f conftest.
make
45903 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
45904 { echo "$as_me:$LINENO: result: yes" >&5
45905 echo "${ECHO_T}yes" >&6; }
45908 { echo "$as_me:$LINENO: result: no" >&5
45909 echo "${ECHO_T}no" >&6; }
45910 SET_MAKE
="MAKE=${MAKE-make}"
45915 if test "x$SUNCXX" = "xyes"; then
45917 AROPTIONS
="-xar -o"
45919 elif test "x$SGICC" = "xyes"; then
45924 if test -n "$ac_tool_prefix"; then
45925 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
45926 set dummy
${ac_tool_prefix}ar; ac_word
=$2
45927 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45928 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45929 if test "${ac_cv_prog_AR+set}" = set; then
45930 echo $ECHO_N "(cached) $ECHO_C" >&6
45932 if test -n "$AR"; then
45933 ac_cv_prog_AR
="$AR" # Let the user override the test.
45935 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45936 for as_dir
in $PATH
45939 test -z "$as_dir" && as_dir
=.
45940 for ac_exec_ext
in '' $ac_executable_extensions; do
45941 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45942 ac_cv_prog_AR
="${ac_tool_prefix}ar"
45943 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45953 if test -n "$AR"; then
45954 { echo "$as_me:$LINENO: result: $AR" >&5
45955 echo "${ECHO_T}$AR" >&6; }
45957 { echo "$as_me:$LINENO: result: no" >&5
45958 echo "${ECHO_T}no" >&6; }
45963 if test -z "$ac_cv_prog_AR"; then
45965 # Extract the first word of "ar", so it can be a program name with args.
45966 set dummy
ar; ac_word
=$2
45967 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45968 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45969 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
45970 echo $ECHO_N "(cached) $ECHO_C" >&6
45972 if test -n "$ac_ct_AR"; then
45973 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
45975 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45976 for as_dir
in $PATH
45979 test -z "$as_dir" && as_dir
=.
45980 for ac_exec_ext
in '' $ac_executable_extensions; do
45981 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45982 ac_cv_prog_ac_ct_AR
="ar"
45983 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45992 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
45993 if test -n "$ac_ct_AR"; then
45994 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
45995 echo "${ECHO_T}$ac_ct_AR" >&6; }
45997 { echo "$as_me:$LINENO: result: no" >&5
45998 echo "${ECHO_T}no" >&6; }
46001 if test "x$ac_ct_AR" = x
; then
46004 case $cross_compiling:$ac_tool_warned in
46006 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46007 whose name does not start with the host triplet. If you think this
46008 configuration is useful to you, please write to autoconf@gnu.org." >&5
46009 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46010 whose name does not start with the host triplet. If you think this
46011 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46012 ac_tool_warned
=yes ;;
46017 AR
="$ac_cv_prog_AR"
46024 if test -n "$ac_tool_prefix"; then
46025 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
46026 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
46027 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46028 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46029 if test "${ac_cv_prog_STRIP+set}" = set; then
46030 echo $ECHO_N "(cached) $ECHO_C" >&6
46032 if test -n "$STRIP"; then
46033 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
46035 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46036 for as_dir
in $PATH
46039 test -z "$as_dir" && as_dir
=.
46040 for ac_exec_ext
in '' $ac_executable_extensions; do
46041 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46042 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
46043 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46052 STRIP
=$ac_cv_prog_STRIP
46053 if test -n "$STRIP"; then
46054 { echo "$as_me:$LINENO: result: $STRIP" >&5
46055 echo "${ECHO_T}$STRIP" >&6; }
46057 { echo "$as_me:$LINENO: result: no" >&5
46058 echo "${ECHO_T}no" >&6; }
46063 if test -z "$ac_cv_prog_STRIP"; then
46065 # Extract the first word of "strip", so it can be a program name with args.
46066 set dummy strip
; ac_word
=$2
46067 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46068 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46069 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
46070 echo $ECHO_N "(cached) $ECHO_C" >&6
46072 if test -n "$ac_ct_STRIP"; then
46073 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
46075 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46076 for as_dir
in $PATH
46079 test -z "$as_dir" && as_dir
=.
46080 for ac_exec_ext
in '' $ac_executable_extensions; do
46081 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46082 ac_cv_prog_ac_ct_STRIP
="strip"
46083 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46092 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
46093 if test -n "$ac_ct_STRIP"; then
46094 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
46095 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
46097 { echo "$as_me:$LINENO: result: no" >&5
46098 echo "${ECHO_T}no" >&6; }
46101 if test "x$ac_ct_STRIP" = x
; then
46104 case $cross_compiling:$ac_tool_warned in
46106 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46107 whose name does not start with the host triplet. If you think this
46108 configuration is useful to you, please write to autoconf@gnu.org." >&5
46109 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46110 whose name does not start with the host triplet. If you think this
46111 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46112 ac_tool_warned
=yes ;;
46117 STRIP
="$ac_cv_prog_STRIP"
46120 if test -n "$ac_tool_prefix"; then
46121 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
46122 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
46123 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46124 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46125 if test "${ac_cv_prog_NM+set}" = set; then
46126 echo $ECHO_N "(cached) $ECHO_C" >&6
46128 if test -n "$NM"; then
46129 ac_cv_prog_NM
="$NM" # Let the user override the test.
46131 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46132 for as_dir
in $PATH
46135 test -z "$as_dir" && as_dir
=.
46136 for ac_exec_ext
in '' $ac_executable_extensions; do
46137 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46138 ac_cv_prog_NM
="${ac_tool_prefix}nm"
46139 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46149 if test -n "$NM"; then
46150 { echo "$as_me:$LINENO: result: $NM" >&5
46151 echo "${ECHO_T}$NM" >&6; }
46153 { echo "$as_me:$LINENO: result: no" >&5
46154 echo "${ECHO_T}no" >&6; }
46159 if test -z "$ac_cv_prog_NM"; then
46161 # Extract the first word of "nm", so it can be a program name with args.
46162 set dummy nm
; ac_word
=$2
46163 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46164 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46165 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
46166 echo $ECHO_N "(cached) $ECHO_C" >&6
46168 if test -n "$ac_ct_NM"; then
46169 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
46171 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46172 for as_dir
in $PATH
46175 test -z "$as_dir" && as_dir
=.
46176 for ac_exec_ext
in '' $ac_executable_extensions; do
46177 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46178 ac_cv_prog_ac_ct_NM
="nm"
46179 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46188 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
46189 if test -n "$ac_ct_NM"; then
46190 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
46191 echo "${ECHO_T}$ac_ct_NM" >&6; }
46193 { echo "$as_me:$LINENO: result: no" >&5
46194 echo "${ECHO_T}no" >&6; }
46197 if test "x$ac_ct_NM" = x
; then
46200 case $cross_compiling:$ac_tool_warned in
46202 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46203 whose name does not start with the host triplet. If you think this
46204 configuration is useful to you, please write to autoconf@gnu.org." >&5
46205 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46206 whose name does not start with the host triplet. If you think this
46207 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46208 ac_tool_warned
=yes ;;
46213 NM
="$ac_cv_prog_NM"
46217 case ${BAKEFILE_HOST} in
46219 INSTALL_DIR
="mkdir -p"
46222 INSTALL_DIR
='$(INSTALL) -d'
46228 case ${BAKEFILE_HOST} in
46229 *-*-cygwin* | *-*-mingw32* )
46230 LDFLAGS_GUI
="-mwindows"
46236 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
46237 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
46238 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
46239 echo $ECHO_N "(cached) $ECHO_C" >&6
46242 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
46243 egrep -s GNU
> /dev
/null
); then
46244 bakefile_cv_prog_makeisgnu
="yes"
46246 bakefile_cv_prog_makeisgnu
="no"
46250 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
46251 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
46253 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
46270 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
46271 case "${BAKEFILE_HOST}" in
46278 *-pc-os2_emx | *-pc-os2-emx )
46288 powerpc
-apple-macos* )
46297 case "$BAKEFILE_FORCE_PLATFORM" in
46332 # Check whether --enable-omf was given.
46333 if test "${enable_omf+set}" = set; then
46334 enableval
=$enable_omf; bk_os2_use_omf
="$enableval"
46338 case "${BAKEFILE_HOST}" in
46340 if test "x$GCC" = "xyes"; then
46341 CFLAGS
="$CFLAGS -fno-common"
46342 CXXFLAGS
="$CXXFLAGS -fno-common"
46344 if test "x$XLCC" = "xyes"; then
46345 CFLAGS
="$CFLAGS -qnocommon"
46346 CXXFLAGS
="$CXXFLAGS -qnocommon"
46350 *-pc-os2_emx | *-pc-os2-emx )
46351 if test "x$bk_os2_use_omf" = "xyes" ; then
46354 LDFLAGS
="-Zomf $LDFLAGS"
46355 CFLAGS
="-Zomf $CFLAGS"
46356 CXXFLAGS
="-Zomf $CXXFLAGS"
46364 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
46370 SO_SUFFIX_MODULE
="so"
46375 DLLPREFIX_MODULE
=""
46379 case "${BAKEFILE_HOST}" in
46382 SO_SUFFIX_MODULE
="sl"
46386 SO_SUFFIX_MODULE
="a"
46390 SO_SUFFIX_MODULE
="dll"
46391 DLLIMP_SUFFIX
="dll.a"
46398 SO_SUFFIX_MODULE
="dll"
46399 DLLIMP_SUFFIX
="dll.a"
46409 *-pc-os2_emx | *-pc-os2-emx )
46411 SO_SUFFIX_MODULE
="dll"
46412 DLLIMP_SUFFIX
=$OS2_LIBEXT
46416 LIBEXT
=".$OS2_LIBEXT"
46421 SO_SUFFIX_MODULE
="bundle"
46425 if test "x$DLLIMP_SUFFIX" = "x" ; then
46426 DLLIMP_SUFFIX
="$SO_SUFFIX"
46441 if test "x$GCC" = "xyes"; then
46445 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
46446 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
46449 case "${BAKEFILE_HOST}" in
46451 if test "x$GCC" != "xyes"; then
46452 LDFLAGS
="$LDFLAGS -L/usr/lib"
46454 SHARED_LD_CC
="${CC} -b -o"
46455 SHARED_LD_CXX
="${CXX} -b -o"
46461 if test "x$GCC" != "xyes"; then
46462 { echo "$as_me:$LINENO: checking for Intel compiler" >&5
46463 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6; }
46464 if test "${bakefile_cv_prog_icc+set}" = set; then
46465 echo $ECHO_N "(cached) $ECHO_C" >&6
46468 cat >conftest.
$ac_ext <<_ACEOF
46471 cat confdefs.h
>>conftest.
$ac_ext
46472 cat >>conftest.
$ac_ext <<_ACEOF
46473 /* end confdefs.h. */
46479 #ifndef __INTEL_COMPILER
46487 rm -f conftest.
$ac_objext
46488 if { (ac_try
="$ac_compile"
46489 case "(($ac_try" in
46490 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46491 *) ac_try_echo=$ac_try;;
46493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46494 (eval "$ac_compile") 2>conftest.er1
46496 grep -v '^ *+' conftest.er1 >conftest.err
46498 cat conftest.err >&5
46499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46500 (exit $ac_status); } && {
46501 test -z "$ac_c_werror_flag" ||
46502 test ! -s conftest.err
46503 } && test -s conftest.$ac_objext; then
46504 bakefile_cv_prog_icc=yes
46506 echo "$as_me: failed program was:" >&5
46507 sed 's/^/| /' conftest.$ac_ext >&5
46509 bakefile_cv_prog_icc=no
46513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46516 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
46517 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6; }
46518 if test "$bakefile_cv_prog_icc" = "yes"; then
46525 if test "x$GCC" != xyes ; then
46526 SHARED_LD_CC="${CC} -G -o"
46527 SHARED_LD_CXX="${CXX} -G -o"
46535 cat <<EOF >shared-ld-sh
46537 #-----------------------------------------------------------------------------
46538 #-- Name: distrib/mac/shared-ld-sh
46539 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
46540 #-- Author: Gilles Depeyrot
46541 #-- Copyright: (c) 2002 Gilles Depeyrot
46542 #-- Licence: any use permitted
46543 #-----------------------------------------------------------------------------
46548 linking_flag="-dynamiclib"
46549 ldargs="-r -keep_private_externs -nostdlib"
46551 while test ${D}# -gt 0; do
46558 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
46559 # collect these options and values
46560 args="${D}{args} ${D}1 ${D}2"
46565 # collect these load args
46566 ldargs="${D}{ldargs} ${D}1"
46569 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
46570 # collect these options
46571 args="${D}{args} ${D}1"
46574 -dynamiclib|-bundle)
46575 linking_flag="${D}1"
46579 echo "shared-ld: unhandled option '${D}1'"
46583 *.o | *.a | *.dylib)
46584 # collect object files
46585 objects="${D}{objects} ${D}1"
46589 echo "shared-ld: unhandled argument '${D}1'"
46600 # Link one module containing all the others
46602 if test ${D}{verbose} = 1; then
46603 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
46605 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
46609 # Link the shared library from the single module created, but only if the
46610 # previous command didn't fail:
46612 if test ${D}{status} = 0; then
46613 if test ${D}{verbose} = 1; then
46614 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
46616 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
46621 # Remove intermediate module
46623 rm -f master.${D}${D}.o
46628 chmod +x shared-ld-sh
46630 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
46631 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
46634 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
46635 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
46636 if test "${bakefile_cv_gcc31+set}" = set; then
46637 echo $ECHO_N "(cached) $ECHO_C" >&6
46640 cat >conftest.$ac_ext <<_ACEOF
46643 cat confdefs.h >>conftest.$ac_ext
46644 cat >>conftest.$ac_ext <<_ACEOF
46645 /* end confdefs.h. */
46651 #if (__GNUC__ < 3) || \
46652 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
46660 rm -f conftest.$ac_objext
46661 if { (ac_try="$ac_compile"
46662 case "(($ac_try" in
46663 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46664 *) ac_try_echo
=$ac_try;;
46666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46667 (eval "$ac_compile") 2>conftest.er1
46669 grep -v '^ *+' conftest.er1
>conftest.err
46671 cat conftest.err
>&5
46672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46673 (exit $ac_status); } && {
46674 test -z "$ac_c_werror_flag" ||
46675 test ! -s conftest.err
46676 } && test -s conftest.
$ac_objext; then
46678 bakefile_cv_gcc31
=yes
46681 echo "$as_me: failed program was:" >&5
46682 sed 's/^/| /' conftest.
$ac_ext >&5
46685 bakefile_cv_gcc31
=no
46690 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46693 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
46694 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
46695 if test "$bakefile_cv_gcc31" = "no"; then
46696 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
46697 SHARED_LD_CXX
="$SHARED_LD_CC"
46699 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
46700 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
46703 if test "x$GCC" == "xyes"; then
46704 PIC_FLAG
="-dynamic -fPIC"
46706 if test "x$XLCC" = "xyes"; then
46707 PIC_FLAG
="-dynamic -DPIC"
46712 if test "x$GCC" = "xyes"; then
46715 case "${BAKEFILE_HOST}" in
46717 LD_EXPFULL
="-Wl,-bexpfull"
46721 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
46722 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
46724 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
46725 set dummy makeC
++SharedLib
; ac_word
=$2
46726 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46727 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46728 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
46729 echo $ECHO_N "(cached) $ECHO_C" >&6
46731 if test -n "$AIX_CXX_LD"; then
46732 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
46734 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46735 for as_dir
in $PATH
46738 test -z "$as_dir" && as_dir
=.
46739 for ac_exec_ext
in '' $ac_executable_extensions; do
46740 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46741 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
46742 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46749 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
46752 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
46753 if test -n "$AIX_CXX_LD"; then
46754 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
46755 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
46757 { echo "$as_me:$LINENO: result: no" >&5
46758 echo "${ECHO_T}no" >&6; }
46762 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
46763 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
46768 SHARED_LD_CC
="${LD} -nostart -o"
46769 SHARED_LD_CXX
="${LD} -nostart -o"
46773 if test "x$GCC" != "xyes"; then
46778 *-*-cygwin* | *-*-mingw32* )
46780 SHARED_LD_CC
="\$(CC) -shared -o"
46781 SHARED_LD_CXX
="\$(CXX) -shared -o"
46785 *-pc-os2_emx | *-pc-os2-emx )
46786 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46787 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46791 cat <<EOF >dllar.sh
46794 # dllar - a tool to build both a .dll and an .a file
46795 # from a set of object (.o) files for EMX/OS2.
46797 # Written by Andrew Zabolotny, bit@freya.etu.ru
46798 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
46800 # This script will accept a set of files on the command line.
46801 # All the public symbols from the .o files will be exported into
46802 # a .DEF file, then linker will be run (through gcc) against them to
46803 # build a shared library consisting of all given .o files. All libraries
46804 # (.a) will be first decompressed into component .o files then act as
46805 # described above. You can optionally give a description (-d "description")
46806 # which will be put into .DLL. To see the list of accepted options (as well
46807 # as command-line format) simply run this program without options. The .DLL
46808 # is built to be imported by name (there is no guarantee that new versions
46809 # of the library you build will have same ordinals for same symbols).
46811 # dllar is free software; you can redistribute it and/or modify
46812 # it under the terms of the GNU General Public License as published by
46813 # the Free Software Foundation; either version 2, or (at your option)
46814 # any later version.
46816 # dllar is distributed in the hope that it will be useful,
46817 # but WITHOUT ANY WARRANTY; without even the implied warranty of
46818 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
46819 # GNU General Public License for more details.
46821 # You should have received a copy of the GNU General Public License
46822 # along with dllar; see the file COPYING. If not, write to the Free
46823 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
46826 # To successfuly run this program you will need:
46827 # - Current drive should have LFN support (HPFS, ext2, network, etc)
46828 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
46830 # (used to build the .dll)
46832 # (used to create .def file from .o files)
46834 # (used to create .a file from .def file)
46835 # - GNU text utilites (cat, sort, uniq)
46836 # used to process emxexp output
46837 # - GNU file utilities (mv, rm)
46839 # - lxlite (optional, see flag below)
46840 # (used for general .dll cleanup)
46847 # basnam, variant of basename, which does _not_ remove the path, _iff_
46848 # second argument (suffix to remove) is given
46852 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
46855 echo ${D}1 | sed 's/'${D}2'${D}//'
46858 echo "error in basnam ${D}*"
46864 # Cleanup temporary files and output
46867 for i in ${D}inputFiles ; do
46870 rm -rf \`basnam ${D}i !\`
46877 # Kill result in case of failure as there is just to many stupid make/nmake
46878 # things out there which doesn't do this.
46879 if [ ${D}# -eq 0 ]; then
46880 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
46884 # Print usage and exit script with rc=1.
46886 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
46887 echo ' [-name-mangler-script script.sh]'
46888 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
46889 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
46890 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
46891 echo ' [*.o] [*.a]'
46892 echo '*> "output_file" should have no extension.'
46893 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
46894 echo ' The import library name is derived from this and is set to "name".a,'
46895 echo ' unless overridden by -import'
46896 echo '*> "importlib_name" should have no extension.'
46897 echo ' If it has the .o, or .a extension, it is automatically removed.'
46898 echo ' This name is used as the import library name and may be longer and'
46899 echo ' more descriptive than the DLL name which has to follow the old '
46900 echo ' 8.3 convention of FAT.'
46901 echo '*> "script.sh may be given to override the output_file name by a'
46902 echo ' different name. It is mainly useful if the regular make process'
46903 echo ' of some package does not take into account OS/2 restriction of'
46904 echo ' DLL name lengths. It takes the importlib name as input and is'
46905 echo ' supposed to procude a shorter name as output. The script should'
46906 echo ' expect to get importlib_name without extension and should produce'
46907 echo ' a (max.) 8 letter name without extension.'
46908 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
46909 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
46910 echo ' These flags will be put at the start of GCC command line.'
46911 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
46912 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
46913 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
46914 echo ' If the last character of a symbol is "*", all symbols beginning'
46915 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
46916 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
46917 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
46918 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
46919 echo ' C runtime DLLs.'
46920 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
46921 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
46922 echo ' unchanged to GCC at the end of command line.'
46923 echo '*> If you create a DLL from a library and you do not specify -o,'
46924 echo ' the basename for DLL and import library will be set to library name,'
46925 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
46926 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
46927 echo ' library will be renamed into gcc_s.a.'
46930 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
46931 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
46936 # Execute a command.
46937 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
46938 # @Uses Whatever CleanUp() uses.
46944 if [ ${D}rcCmd -ne 0 ]; then
46945 echo "command failed, exit code="${D}rcCmd
46960 CFLAGS="-s -Zcrtdll"
46962 EXPORT_BY_ORDINALS=0
46967 case ${D}curDirS in
46971 curDirS=${D}{curDirS}"/"
46974 # Parse commandline
46977 while [ ${D}1 ]; do
46980 EXPORT_BY_ORDINALS=1;
46990 -name-mangler-script)
47011 exclude_symbols=${D}{exclude_symbols}${D}1" "
47015 library_flags=${D}{library_flags}${D}1" "
47034 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47037 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
47038 if [ ${D}omfLinking -eq 1 ]; then
47039 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
47041 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
47046 if [ ${D}libsToLink -ne 0 ]; then
47047 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47049 for file in ${D}1 ; do
47050 if [ -f ${D}file ]; then
47051 inputFiles="${D}{inputFiles} ${D}file"
47055 if [ ${D}found -eq 0 ]; then
47056 echo "ERROR: No file(s) found: "${D}1
47063 done # iterate cmdline words
47066 if [ -z "${D}inputFiles" ]; then
47067 echo "dllar: no input files"
47071 # Now extract all .o files from .a files
47073 for file in ${D}inputFiles ; do
47084 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
47089 dirname=\`basnam ${D}file ${D}suffix\`"_%"
47091 if [ ${D}? -ne 0 ]; then
47092 echo "Failed to create subdirectory ./${D}dirname"
47096 # Append '!' to indicate archive
47097 newInputFiles="${D}newInputFiles ${D}{dirname}!"
47098 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
47101 for subfile in ${D}dirname/*.o* ; do
47102 if [ -f ${D}subfile ]; then
47104 if [ -s ${D}subfile ]; then
47105 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
47106 newInputFiles="${D}newInputFiles ${D}subfile"
47110 if [ ${D}found -eq 0 ]; then
47111 echo "WARNING: there are no files in archive \\'${D}file\\'"
47115 newInputFiles="${D}{newInputFiles} ${D}file"
47119 inputFiles="${D}newInputFiles"
47121 # Output filename(s).
47123 if [ -z ${D}outFile ]; then
47125 set outFile ${D}inputFiles; outFile=${D}2
47128 # If it is an archive, remove the '!' and the '_%' suffixes
47129 case ${D}outFile in
47131 outFile=\`basnam ${D}outFile _%!\`
47136 case ${D}outFile in
47138 outFile=\`basnam ${D}outFile .dll\`
47141 outFile=\`basnam ${D}outFile .DLL\`
47144 outFile=\`basnam ${D}outFile .o\`
47147 outFile=\`basnam ${D}outFile .obj\`
47150 outFile=\`basnam ${D}outFile .a\`
47153 outFile=\`basnam ${D}outFile .lib\`
47158 case ${D}outimpFile in
47160 outimpFile=\`basnam ${D}outimpFile .a\`
47163 outimpFile=\`basnam ${D}outimpFile .lib\`
47168 if [ -z ${D}outimpFile ]; then
47169 outimpFile=${D}outFile
47171 defFile="${D}{outFile}.def"
47172 arcFile="${D}{outimpFile}.a"
47173 arcFile2="${D}{outimpFile}.lib"
47175 #create ${D}dllFile as something matching 8.3 restrictions,
47176 if [ -z ${D}renameScript ] ; then
47177 dllFile="${D}outFile"
47179 dllFile=\`${D}renameScript ${D}outimpFile\`
47182 if [ ${D}do_backup -ne 0 ] ; then
47183 if [ -f ${D}arcFile ] ; then
47184 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
47186 if [ -f ${D}arcFile2 ] ; then
47187 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
47191 # Extract public symbols from all the object files.
47192 tmpdefFile=${D}{defFile}_%
47193 rm -f ${D}tmpdefFile
47194 for file in ${D}inputFiles ; do
47199 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
47204 # Create the def file.
47206 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
47207 dllFile="${D}{dllFile}.dll"
47208 if [ ! -z ${D}description ]; then
47209 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
47211 echo "EXPORTS" >> ${D}defFile
47213 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
47214 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
47216 # Checks if the export is ok or not.
47217 for word in ${D}exclude_symbols; do
47218 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
47219 mv ${D}{tmpdefFile}% ${D}tmpdefFile
47223 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47224 sed "=" < ${D}tmpdefFile | \\
47228 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
47230 ' > ${D}{tmpdefFile}%
47231 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
47233 rm -f ${D}{tmpdefFile}%
47235 cat ${D}tmpdefFile >> ${D}defFile
47236 rm -f ${D}tmpdefFile
47238 # Do linking, create implib, and apply lxlite.
47240 for file in ${D}inputFiles ; do
47245 gccCmdl="${D}gccCmdl ${D}file"
47249 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
47250 touch "${D}{outFile}.dll"
47252 doCommand "emximp -o ${D}arcFile ${D}defFile"
47253 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
47255 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47258 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
47260 doCommand "emxomf -s -l ${D}arcFile"
47270 powerpc
-apple-macos* | \
47271 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
47281 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
47282 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
47283 { (exit 1); exit 1; }; }
47286 if test "x$PIC_FLAG" != "x" ; then
47287 PIC_FLAG
="$PIC_FLAG -DPIC"
47290 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
47291 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
47293 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
47294 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
47313 case "${BAKEFILE_HOST}" in
47314 *-*-linux* | *-*-freebsd* | *-*-k*bsd
*-gnu )
47315 SONAME_FLAG
="-Wl,-soname,"
47349 # Check whether --enable-dependency-tracking was given.
47350 if test "${enable_dependency_tracking+set}" = set; then
47351 enableval
=$enable_dependency_tracking; bk_use_trackdeps
="$enableval"
47355 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
47356 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
47359 if test "x$bk_use_trackdeps" = "xno" ; then
47361 { echo "$as_me:$LINENO: result: disabled" >&5
47362 echo "${ECHO_T}disabled" >&6; }
47366 if test "x$GCC" = "xyes"; then
47368 case "${BAKEFILE_HOST}" in
47370 DEPSFLAG
="-no-cpp-precomp -MMD"
47376 { echo "$as_me:$LINENO: result: gcc" >&5
47377 echo "${ECHO_T}gcc" >&6; }
47378 elif test "x$MWCC" = "xyes"; then
47381 { echo "$as_me:$LINENO: result: mwcc" >&5
47382 echo "${ECHO_T}mwcc" >&6; }
47383 elif test "x$SUNCC" = "xyes"; then
47386 { echo "$as_me:$LINENO: result: Sun cc" >&5
47387 echo "${ECHO_T}Sun cc" >&6; }
47388 elif test "x$SGICC" = "xyes"; then
47391 { echo "$as_me:$LINENO: result: SGI cc" >&5
47392 echo "${ECHO_T}SGI cc" >&6; }
47393 elif test "x$HPCC" = "xyes"; then
47396 { echo "$as_me:$LINENO: result: HP cc" >&5
47397 echo "${ECHO_T}HP cc" >&6; }
47398 elif test "x$COMPAQCC" = "xyes"; then
47401 { echo "$as_me:$LINENO: result: Compaq cc" >&5
47402 echo "${ECHO_T}Compaq cc" >&6; }
47405 { echo "$as_me:$LINENO: result: none" >&5
47406 echo "${ECHO_T}none" >&6; }
47409 if test $DEPS_TRACKING = 1 ; then
47415 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47416 # script. It is used to track C/C++ files dependencies in portable way.
47418 # Permission is given to use this file in any way.
47420 DEPSMODE=${DEPSMODE}
47422 DEPSFLAG="${DEPSFLAG}"
47424 mkdir -p ${D}DEPSDIR
47426 if test ${D}DEPSMODE = gcc ; then
47427 ${D}* ${D}{DEPSFLAG}
47429 if test ${D}{status} != 0 ; then
47432 # move created file to the location we want it in:
47433 while test ${D}# -gt 0; do
47447 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
47448 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
47449 if test -f ${D}depfile ; then
47450 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47453 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
47454 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
47455 if test ! -f ${D}depfile ; then
47456 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
47457 depfile="${D}objfile.d"
47459 if test -f ${D}depfile ; then
47460 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47465 elif test ${D}DEPSMODE = mwcc ; then
47466 ${D}* || exit ${D}?
47467 # Run mwcc again with -MM and redirect into the dep file we want
47468 # NOTE: We can't use shift here because we need ${D}* to be valid
47470 for arg in ${D}* ; do
47471 if test "${D}prevarg" = "-o"; then
47484 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
47486 elif test ${D}DEPSMODE = unixcc; then
47487 ${D}* || exit ${D}?
47488 # Run compiler again with deps flag and redirect into the dep file.
47489 # It doesn't work if the '-o FILE' option is used, but without it the
47490 # dependency file will contain the wrong name for the object. So it is
47491 # removed from the command line, and the dep file is fixed with sed.
47493 while test ${D}# -gt 0; do
47500 eval arg${D}#=\\${D}1
47501 cmd="${D}cmd \\${D}arg${D}#"
47506 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
47515 BK_DEPS
="`pwd`/bk-deps"
47523 case ${BAKEFILE_HOST} in
47524 *-*-cygwin* | *-*-mingw32* )
47525 if test -n "$ac_tool_prefix"; then
47526 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
47527 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
47528 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47529 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47530 if test "${ac_cv_prog_WINDRES+set}" = set; then
47531 echo $ECHO_N "(cached) $ECHO_C" >&6
47533 if test -n "$WINDRES"; then
47534 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
47536 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47537 for as_dir
in $PATH
47540 test -z "$as_dir" && as_dir
=.
47541 for ac_exec_ext
in '' $ac_executable_extensions; do
47542 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47543 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
47544 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47553 WINDRES
=$ac_cv_prog_WINDRES
47554 if test -n "$WINDRES"; then
47555 { echo "$as_me:$LINENO: result: $WINDRES" >&5
47556 echo "${ECHO_T}$WINDRES" >&6; }
47558 { echo "$as_me:$LINENO: result: no" >&5
47559 echo "${ECHO_T}no" >&6; }
47564 if test -z "$ac_cv_prog_WINDRES"; then
47565 ac_ct_WINDRES
=$WINDRES
47566 # Extract the first word of "windres", so it can be a program name with args.
47567 set dummy windres
; ac_word
=$2
47568 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47569 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47570 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
47571 echo $ECHO_N "(cached) $ECHO_C" >&6
47573 if test -n "$ac_ct_WINDRES"; then
47574 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
47576 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47577 for as_dir
in $PATH
47580 test -z "$as_dir" && as_dir
=.
47581 for ac_exec_ext
in '' $ac_executable_extensions; do
47582 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47583 ac_cv_prog_ac_ct_WINDRES
="windres"
47584 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47593 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
47594 if test -n "$ac_ct_WINDRES"; then
47595 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
47596 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
47598 { echo "$as_me:$LINENO: result: no" >&5
47599 echo "${ECHO_T}no" >&6; }
47602 if test "x$ac_ct_WINDRES" = x
; then
47605 case $cross_compiling:$ac_tool_warned in
47607 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47608 whose name does not start with the host triplet. If you think this
47609 configuration is useful to you, please write to autoconf@gnu.org." >&5
47610 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47611 whose name does not start with the host triplet. If you think this
47612 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47613 ac_tool_warned
=yes ;;
47615 WINDRES
=$ac_ct_WINDRES
47618 WINDRES
="$ac_cv_prog_WINDRES"
47623 *-*-darwin* | powerpc
-apple-macos* )
47624 # Extract the first word of "Rez", so it can be a program name with args.
47625 set dummy Rez
; ac_word
=$2
47626 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47627 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47628 if test "${ac_cv_prog_REZ+set}" = set; then
47629 echo $ECHO_N "(cached) $ECHO_C" >&6
47631 if test -n "$REZ"; then
47632 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
47634 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47635 for as_dir
in $PATH
47638 test -z "$as_dir" && as_dir
=.
47639 for ac_exec_ext
in '' $ac_executable_extensions; do
47640 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47641 ac_cv_prog_REZ
="Rez"
47642 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47649 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
47652 REZ
=$ac_cv_prog_REZ
47653 if test -n "$REZ"; then
47654 { echo "$as_me:$LINENO: result: $REZ" >&5
47655 echo "${ECHO_T}$REZ" >&6; }
47657 { echo "$as_me:$LINENO: result: no" >&5
47658 echo "${ECHO_T}no" >&6; }
47662 # Extract the first word of "SetFile", so it can be a program name with args.
47663 set dummy SetFile
; ac_word
=$2
47664 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47665 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47666 if test "${ac_cv_prog_SETFILE+set}" = set; then
47667 echo $ECHO_N "(cached) $ECHO_C" >&6
47669 if test -n "$SETFILE"; then
47670 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
47672 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47673 for as_dir
in $PATH
47676 test -z "$as_dir" && as_dir
=.
47677 for ac_exec_ext
in '' $ac_executable_extensions; do
47678 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47679 ac_cv_prog_SETFILE
="SetFile"
47680 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47687 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
47690 SETFILE
=$ac_cv_prog_SETFILE
47691 if test -n "$SETFILE"; then
47692 { echo "$as_me:$LINENO: result: $SETFILE" >&5
47693 echo "${ECHO_T}$SETFILE" >&6; }
47695 { echo "$as_me:$LINENO: result: no" >&5
47696 echo "${ECHO_T}no" >&6; }
47708 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.2"
47711 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.2"
47715 # Check whether --enable-precomp-headers was given.
47716 if test "${enable_precomp_headers+set}" = set; then
47717 enableval
=$enable_precomp_headers; bk_use_pch
="$enableval"
47726 case ${BAKEFILE_HOST} in
47732 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
47733 if test "x$GCC" = "xyes"; then
47734 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
47735 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
47736 cat >conftest.
$ac_ext <<_ACEOF
47739 cat confdefs.h
>>conftest.
$ac_ext
47740 cat >>conftest.
$ac_ext <<_ACEOF
47741 /* end confdefs.h. */
47747 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
47748 There is no PCH support
47751 There is no PCH support
47753 #if (__GNUC__ == 3) && \
47754 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
47755 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
47756 ( defined(__INTEL_COMPILER) )
47757 There is no PCH support
47764 rm -f conftest.
$ac_objext
47765 if { (ac_try
="$ac_compile"
47766 case "(($ac_try" in
47767 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47768 *) ac_try_echo=$ac_try;;
47770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47771 (eval "$ac_compile") 2>conftest.er1
47773 grep -v '^ *+' conftest.er1 >conftest.err
47775 cat conftest.err >&5
47776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47777 (exit $ac_status); } && {
47778 test -z "$ac_c_werror_flag" ||
47779 test ! -s conftest.err
47780 } && test -s conftest.$ac_objext; then
47782 { echo "$as_me:$LINENO: result: yes" >&5
47783 echo "${ECHO_T}yes" >&6; }
47787 echo "$as_me: failed program was:" >&5
47788 sed 's/^/| /' conftest.$ac_ext >&5
47791 cat >conftest.$ac_ext <<_ACEOF
47794 cat confdefs.h >>conftest.$ac_ext
47795 cat >>conftest.$ac_ext <<_ACEOF
47796 /* end confdefs.h. */
47802 #if !defined(__INTEL_COMPILER) || \
47803 (__INTEL_COMPILER < 800)
47804 There is no PCH support
47811 rm -f conftest.$ac_objext
47812 if { (ac_try="$ac_compile"
47813 case "(($ac_try" in
47814 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47815 *) ac_try_echo
=$ac_try;;
47817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47818 (eval "$ac_compile") 2>conftest.er1
47820 grep -v '^ *+' conftest.er1
>conftest.err
47822 cat conftest.err
>&5
47823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47824 (exit $ac_status); } && {
47825 test -z "$ac_c_werror_flag" ||
47826 test ! -s conftest.err
47827 } && test -s conftest.
$ac_objext; then
47829 { echo "$as_me:$LINENO: result: yes" >&5
47830 echo "${ECHO_T}yes" >&6; }
47834 echo "$as_me: failed program was:" >&5
47835 sed 's/^/| /' conftest.
$ac_ext >&5
47838 { echo "$as_me:$LINENO: result: no" >&5
47839 echo "${ECHO_T}no" >&6; }
47843 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47847 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47848 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
47852 cat <<EOF >bk-make-pch
47855 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47856 # script. It is used to generated precompiled headers.
47858 # Permission is given to use this file in any way.
47868 while test ${D}{#} -gt 0; do
47872 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
47873 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
47874 headerfile="${D}{incdir}/${D}{header}"
47877 -use-pch|-use_pch )
47882 if test ${D}add_to_cmdline = 1 ; then
47883 compiler="${D}{compiler} ${D}{1}"
47888 if test "x${D}{headerfile}" = "x" ; then
47889 echo "error: can't find header ${D}{header} in include paths" >&2
47891 if test -f ${D}{outfile} ; then
47892 rm -f ${D}{outfile}
47894 mkdir -p \`dirname ${D}{outfile}\`
47896 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
47898 if test "x${GCC_PCH}" = "x1" ; then
47899 # can do this because gcc is >= 3.4:
47900 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
47901 elif test "x${ICC_PCH}" = "x1" ; then
47902 filename=pch_gen-${D}${D}
47903 file=${D}{filename}.c
47904 dfile=${D}{filename}.d
47905 cat > ${D}file <<EOT
47906 #include "${D}header"
47908 # using -MF icc complains about differing command lines in creation/use
47909 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
47910 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
47911 rm -f ${D}file ${D}dfile ${D}{filename}.o
47917 chmod +x bk
-make-pch
47918 BK_MAKE_PCH
="`pwd`/bk-make-pch"
47927 COND_BUILD_DEBUG
="#"
47928 if test "x$BUILD" = "xdebug" ; then
47929 COND_BUILD_DEBUG
=""
47932 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
47933 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
47934 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
47937 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
47938 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
47939 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
47942 COND_BUILD_DEBUG_UNICODE_0
="#"
47943 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
47944 COND_BUILD_DEBUG_UNICODE_0
=""
47947 COND_BUILD_DEBUG_UNICODE_1
="#"
47948 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
47949 COND_BUILD_DEBUG_UNICODE_1
=""
47952 COND_BUILD_RELEASE
="#"
47953 if test "x$BUILD" = "xrelease" ; then
47954 COND_BUILD_RELEASE
=""
47957 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
47958 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
47959 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
47962 COND_BUILD_RELEASE_UNICODE_0
="#"
47963 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
47964 COND_BUILD_RELEASE_UNICODE_0
=""
47967 COND_BUILD_RELEASE_UNICODE_1
="#"
47968 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
47969 COND_BUILD_RELEASE_UNICODE_1
=""
47972 COND_DEBUG_FLAG_1
="#"
47973 if test "x$DEBUG_FLAG" = "x1" ; then
47974 COND_DEBUG_FLAG_1
=""
47977 COND_DEBUG_INFO_0
="#"
47978 if test "x$DEBUG_INFO" = "x0" ; then
47979 COND_DEBUG_INFO_0
=""
47982 COND_DEBUG_INFO_1
="#"
47983 if test "x$DEBUG_INFO" = "x1" ; then
47984 COND_DEBUG_INFO_1
=""
47987 COND_DEPS_TRACKING_0
="#"
47988 if test "x$DEPS_TRACKING" = "x0" ; then
47989 COND_DEPS_TRACKING_0
=""
47992 COND_DEPS_TRACKING_1
="#"
47993 if test "x$DEPS_TRACKING" = "x1" ; then
47994 COND_DEPS_TRACKING_1
=""
47998 if test "x$GCC_PCH" = "x1" ; then
48003 if test "x$ICC_PCH" = "x1" ; then
48007 COND_MONOLITHIC_0
="#"
48008 if test "x$MONOLITHIC" = "x0" ; then
48009 COND_MONOLITHIC_0
=""
48012 COND_MONOLITHIC_0_SHARED_0
="#"
48013 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
48014 COND_MONOLITHIC_0_SHARED_0
=""
48017 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
48018 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
48019 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
48022 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
48023 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
48024 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
48027 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
48028 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48029 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
48032 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
48033 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48034 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
48037 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
48038 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48039 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
48042 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
48043 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48044 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
48047 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
48048 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
48049 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
48052 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
48053 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48054 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
48057 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
48058 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48059 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
48062 COND_MONOLITHIC_0_SHARED_1
="#"
48063 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
48064 COND_MONOLITHIC_0_SHARED_1
=""
48067 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
48068 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
48069 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
48072 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
48073 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
48074 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
48077 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
48078 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48079 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
48082 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
48083 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48084 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
48087 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
48088 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48089 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
48092 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
48093 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48094 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
48097 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
48098 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
48099 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
48102 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
48103 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
48104 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
48107 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
48108 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48109 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
48112 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
48113 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
48114 COND_MONOLITHIC_0_USE_MEDIA_1
=""
48117 COND_MONOLITHIC_0_USE_ODBC_1
="#"
48118 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
48119 COND_MONOLITHIC_0_USE_ODBC_1
=""
48122 COND_MONOLITHIC_1
="#"
48123 if test "x$MONOLITHIC" = "x1" ; then
48124 COND_MONOLITHIC_1
=""
48127 COND_MONOLITHIC_1_SHARED_0
="#"
48128 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
48129 COND_MONOLITHIC_1_SHARED_0
=""
48132 COND_MONOLITHIC_1_SHARED_1
="#"
48133 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
48134 COND_MONOLITHIC_1_SHARED_1
=""
48137 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
48138 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
48139 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
48142 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
48143 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
48144 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
48147 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
48148 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48149 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
48152 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
48153 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48154 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
48157 COND_PLATFORM_MACOSX_1
="#"
48158 if test "x$PLATFORM_MACOSX" = "x1" ; then
48159 COND_PLATFORM_MACOSX_1
=""
48162 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
48163 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
48164 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
48167 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
48168 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
48169 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
48172 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
48173 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
48174 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
48177 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
48178 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
48179 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
48182 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
48183 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48184 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
48187 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
48188 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
48189 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
48192 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
48193 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
48194 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
48197 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
48198 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
48199 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
48202 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
48203 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48204 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
48207 COND_PLATFORM_MACOS_1
="#"
48208 if test "x$PLATFORM_MACOS" = "x1" ; then
48209 COND_PLATFORM_MACOS_1
=""
48212 COND_PLATFORM_MAC_1
="#"
48213 if test "x$PLATFORM_MAC" = "x1" ; then
48214 COND_PLATFORM_MAC_1
=""
48217 COND_PLATFORM_MSDOS_0
="#"
48218 if test "x$PLATFORM_MSDOS" = "x0" ; then
48219 COND_PLATFORM_MSDOS_0
=""
48222 COND_PLATFORM_MSDOS_1
="#"
48223 if test "x$PLATFORM_MSDOS" = "x1" ; then
48224 COND_PLATFORM_MSDOS_1
=""
48227 COND_PLATFORM_OS2_1
="#"
48228 if test "x$PLATFORM_OS2" = "x1" ; then
48229 COND_PLATFORM_OS2_1
=""
48232 COND_PLATFORM_UNIX_0
="#"
48233 if test "x$PLATFORM_UNIX" = "x0" ; then
48234 COND_PLATFORM_UNIX_0
=""
48237 COND_PLATFORM_UNIX_1
="#"
48238 if test "x$PLATFORM_UNIX" = "x1" ; then
48239 COND_PLATFORM_UNIX_1
=""
48242 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
="#"
48243 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
48244 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
=""
48247 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
="#"
48248 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
48249 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
=""
48252 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
48253 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
48254 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
48257 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
48258 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
48259 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
48262 COND_PLATFORM_WIN32_0
="#"
48263 if test "x$PLATFORM_WIN32" = "x0" ; then
48264 COND_PLATFORM_WIN32_0
=""
48267 COND_PLATFORM_WIN32_1
="#"
48268 if test "x$PLATFORM_WIN32" = "x1" ; then
48269 COND_PLATFORM_WIN32_1
=""
48273 if test "x$SHARED" = "x0" ; then
48277 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
48278 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
48279 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
48282 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
48283 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48284 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
48287 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
48288 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
48289 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
48292 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
48293 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48294 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
48297 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
48298 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48299 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
48302 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
48303 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48304 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
48307 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
48308 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48309 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
48312 COND_SHARED_0_USE_XRC_1
="#"
48313 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48314 COND_SHARED_0_USE_XRC_1
=""
48317 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
48318 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
48319 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
48322 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
48323 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
48324 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
48327 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
48328 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
48329 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
48332 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
48333 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
48334 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
48338 if test "x$SHARED" = "x1" ; then
48342 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
48343 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48344 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
48347 COND_SHARED_1_USE_XRC_1
="#"
48348 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48349 COND_SHARED_1_USE_XRC_1
=""
48353 if test "x$TOOLKIT" = "x" ; then
48357 COND_TOOLKIT_COCOA
="#"
48358 if test "x$TOOLKIT" = "xCOCOA" ; then
48359 COND_TOOLKIT_COCOA
=""
48362 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
48363 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
48364 COND_TOOLKIT_COCOA_USE_GUI_1
=""
48367 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
48368 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48369 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
48372 COND_TOOLKIT_DFB
="#"
48373 if test "x$TOOLKIT" = "xDFB" ; then
48374 COND_TOOLKIT_DFB
=""
48377 COND_TOOLKIT_DFB_USE_GUI_1
="#"
48378 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
48379 COND_TOOLKIT_DFB_USE_GUI_1
=""
48382 COND_TOOLKIT_GTK
="#"
48383 if test "x$TOOLKIT" = "xGTK" ; then
48384 COND_TOOLKIT_GTK
=""
48387 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
48388 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
48389 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
48392 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
48393 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
48394 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
48397 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
48398 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
48399 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
48402 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
48403 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48404 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
48407 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
48408 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
48409 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
48412 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
48413 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48414 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
48417 COND_TOOLKIT_GTK_USE_GUI_1
="#"
48418 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
48419 COND_TOOLKIT_GTK_USE_GUI_1
=""
48422 COND_TOOLKIT_MAC
="#"
48423 if test "x$TOOLKIT" = "xMAC" ; then
48424 COND_TOOLKIT_MAC
=""
48427 COND_TOOLKIT_MAC_USE_GUI_1
="#"
48428 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48429 COND_TOOLKIT_MAC_USE_GUI_1
=""
48432 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
48433 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48434 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
48437 COND_TOOLKIT_MGL
="#"
48438 if test "x$TOOLKIT" = "xMGL" ; then
48439 COND_TOOLKIT_MGL
=""
48442 COND_TOOLKIT_MGL_USE_GUI_1
="#"
48443 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
48444 COND_TOOLKIT_MGL_USE_GUI_1
=""
48447 COND_TOOLKIT_MOTIF
="#"
48448 if test "x$TOOLKIT" = "xMOTIF" ; then
48449 COND_TOOLKIT_MOTIF
=""
48452 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
48453 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
48454 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
48457 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
48458 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48459 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
48462 COND_TOOLKIT_MSW
="#"
48463 if test "x$TOOLKIT" = "xMSW" ; then
48464 COND_TOOLKIT_MSW
=""
48467 COND_TOOLKIT_MSW_USE_GUI_1
="#"
48468 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
48469 COND_TOOLKIT_MSW_USE_GUI_1
=""
48472 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
48473 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48474 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
48477 COND_TOOLKIT_MSW_WXUNIV_0
="#"
48478 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48479 COND_TOOLKIT_MSW_WXUNIV_0
=""
48482 COND_TOOLKIT_PM
="#"
48483 if test "x$TOOLKIT" = "xPM" ; then
48487 COND_TOOLKIT_PM_USE_GUI_1
="#"
48488 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
48489 COND_TOOLKIT_PM_USE_GUI_1
=""
48492 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
48493 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48494 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
48497 COND_TOOLKIT_WINCE
="#"
48498 if test "x$TOOLKIT" = "xWINCE" ; then
48499 COND_TOOLKIT_WINCE
=""
48502 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
48503 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
48504 COND_TOOLKIT_WINCE_USE_GUI_1
=""
48507 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
48508 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48509 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
48512 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
48513 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
48514 COND_TOOLKIT_WINCE_WXUNIV_0
=""
48517 COND_TOOLKIT_X11
="#"
48518 if test "x$TOOLKIT" = "xX11" ; then
48519 COND_TOOLKIT_X11
=""
48522 COND_TOOLKIT_X11_USE_GUI_1
="#"
48523 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
48524 COND_TOOLKIT_X11_USE_GUI_1
=""
48528 if test "x$UNICODE" = "x1" ; then
48532 COND_USE_EXCEPTIONS_0
="#"
48533 if test "x$USE_EXCEPTIONS" = "x0" ; then
48534 COND_USE_EXCEPTIONS_0
=""
48537 COND_USE_EXCEPTIONS_1
="#"
48538 if test "x$USE_EXCEPTIONS" = "x1" ; then
48539 COND_USE_EXCEPTIONS_1
=""
48543 if test "x$USE_GUI" = "x0" ; then
48548 if test "x$USE_GUI" = "x1" ; then
48552 COND_USE_GUI_1_WXUNIV_0
="#"
48553 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48554 COND_USE_GUI_1_WXUNIV_0
=""
48557 COND_USE_GUI_1_WXUNIV_1
="#"
48558 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
48559 COND_USE_GUI_1_WXUNIV_1
=""
48562 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
48563 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48564 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
48567 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
48568 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48569 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
48572 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
48573 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48574 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
48577 COND_USE_ODBC_1
="#"
48578 if test "x$USE_ODBC" = "x1" ; then
48582 COND_USE_OPENGL_1
="#"
48583 if test "x$USE_OPENGL" = "x1" ; then
48584 COND_USE_OPENGL_1
=""
48588 if test "x$USE_PCH" = "x1" ; then
48592 COND_USE_PLUGINS_0
="#"
48593 if test "x$USE_PLUGINS" = "x0" ; then
48594 COND_USE_PLUGINS_0
=""
48597 COND_USE_RTTI_0
="#"
48598 if test "x$USE_RTTI" = "x0" ; then
48602 COND_USE_RTTI_1
="#"
48603 if test "x$USE_RTTI" = "x1" ; then
48607 COND_USE_SOSYMLINKS_1
="#"
48608 if test "x$USE_SOSYMLINKS" = "x1" ; then
48609 COND_USE_SOSYMLINKS_1
=""
48612 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
48613 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48614 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
48617 COND_USE_SOVERLINUX_1
="#"
48618 if test "x$USE_SOVERLINUX" = "x1" ; then
48619 COND_USE_SOVERLINUX_1
=""
48622 COND_USE_SOVERSION_0
="#"
48623 if test "x$USE_SOVERSION" = "x0" ; then
48624 COND_USE_SOVERSION_0
=""
48627 COND_USE_SOVERSOLARIS_1
="#"
48628 if test "x$USE_SOVERSOLARIS" = "x1" ; then
48629 COND_USE_SOVERSOLARIS_1
=""
48632 COND_USE_THREADS_0
="#"
48633 if test "x$USE_THREADS" = "x0" ; then
48634 COND_USE_THREADS_0
=""
48637 COND_USE_THREADS_1
="#"
48638 if test "x$USE_THREADS" = "x1" ; then
48639 COND_USE_THREADS_1
=""
48643 if test "x$USE_XRC" = "x1" ; then
48647 COND_WINDOWS_IMPLIB_1
="#"
48648 if test "x$WINDOWS_IMPLIB" = "x1" ; then
48649 COND_WINDOWS_IMPLIB_1
=""
48652 COND_WITH_PLUGIN_SDL_1
="#"
48653 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
48654 COND_WITH_PLUGIN_SDL_1
=""
48658 if test "x$WXUNIV" = "x0" ; then
48663 if test "x$WXUNIV" = "x1" ; then
48667 COND_WXUSE_EXPAT_BUILTIN
="#"
48668 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
48669 COND_WXUSE_EXPAT_BUILTIN
=""
48672 COND_WXUSE_LIBJPEG_BUILTIN
="#"
48673 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48674 COND_WXUSE_LIBJPEG_BUILTIN
=""
48677 COND_WXUSE_LIBPNG_BUILTIN
="#"
48678 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48679 COND_WXUSE_LIBPNG_BUILTIN
=""
48682 COND_WXUSE_LIBTIFF_BUILTIN
="#"
48683 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48684 COND_WXUSE_LIBTIFF_BUILTIN
=""
48687 COND_WXUSE_ODBC_BUILTIN
="#"
48688 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
48689 COND_WXUSE_ODBC_BUILTIN
=""
48692 COND_WXUSE_REGEX_BUILTIN
="#"
48693 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
48694 COND_WXUSE_REGEX_BUILTIN
=""
48697 COND_WXUSE_ZLIB_BUILTIN
="#"
48698 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
48699 COND_WXUSE_ZLIB_BUILTIN
=""
48704 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
48705 { { 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
48706 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;}
48707 { (exit 1); exit 1; }; }
48710 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
48711 { { 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
48712 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;}
48713 { (exit 1); exit 1; }; }
48717 if test $GCC_PCH = 1
48719 if test "$wx_cv_gcc_pch_bug" = yes; then
48720 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
48721 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
48722 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
48723 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
48724 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
48725 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
48728 CPPFLAGS
="-DWX_PRECOMP $CPPFLAGS"
48732 if test "$wxUSE_MAC" = 1 ; then
48733 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
48734 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
48740 if test "$wxUSE_SHARED" = "yes"; then
48742 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
48743 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
48746 *-pc-os2_emx | *-pc-os2-emx )
48747 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48748 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48749 cp -p ${srcdir}/src
/os
2/dllnames.sh .
48750 cp -p ${srcdir}/src
/os
2/dllar.sh .
48755 EXE_LINKER
="$CXX -o"
48758 if test "$wxUSE_OMF" = "yes"; then
48760 *-pc-os2_emx | *-pc-os2-emx )
48761 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
48762 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
48763 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
48768 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
48770 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
48832 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
48833 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
48834 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
48835 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
48836 echo $ECHO_N "(cached) $ECHO_C" >&6
48838 cat >conftest.
make <<\_ACEOF
48841 @
echo '@@@%%%=$(MAKE)=@@@%%%'
48843 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
48844 case `${MAKE-make} -f conftest.make 2>/dev/null` in
48845 *@@@
%%%=?
*=@@@
%%%*)
48846 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
48848 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
48850 rm -f conftest.
make
48852 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
48853 { echo "$as_me:$LINENO: result: yes" >&5
48854 echo "${ECHO_T}yes" >&6; }
48857 { echo "$as_me:$LINENO: result: no" >&5
48858 echo "${ECHO_T}no" >&6; }
48859 SET_MAKE
="MAKE=${MAKE-make}"
48864 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
48867 if test "$USE_WIN32" = 1; then
48868 ac_config_commands
="$ac_config_commands
48874 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
48877 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
48880 if test "$wx_cv_version_script" = "yes"; then
48881 ac_config_files
="$ac_config_files version-script"
48884 ac_config_files
="$ac_config_files Makefile"
48887 ac_config_commands
="$ac_config_commands wx-config"
48891 if test "$wxWITH_SUBDIRS" != "no"; then
48892 if test "$wxUSE_GUI" = "yes"; then
48893 SUBDIRS
="samples demos utils contrib"
48894 else SUBDIRS
="samples utils"
48899 # Check whether --with-cppunit-prefix was given.
48900 if test "${with_cppunit_prefix+set}" = set; then
48901 withval
=$with_cppunit_prefix; cppunit_config_prefix
="$withval"
48903 cppunit_config_prefix
=""
48907 # Check whether --with-cppunit-exec-prefix was given.
48908 if test "${with_cppunit_exec_prefix+set}" = set; then
48909 withval
=$with_cppunit_exec_prefix; cppunit_config_exec_prefix
="$withval"
48911 cppunit_config_exec_prefix
=""
48915 if test x
$cppunit_config_exec_prefix != x
; then
48916 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
48917 if test x
${CPPUNIT_CONFIG+set} != xset
; then
48918 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
48921 if test x
$cppunit_config_prefix != x
; then
48922 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
48923 if test x
${CPPUNIT_CONFIG+set} != xset
; then
48924 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
48928 # Extract the first word of "cppunit-config", so it can be a program name with args.
48929 set dummy cppunit
-config; ac_word
=$2
48930 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48931 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48932 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
48933 echo $ECHO_N "(cached) $ECHO_C" >&6
48935 case $CPPUNIT_CONFIG in
48937 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
48940 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48941 for as_dir
in $PATH
48944 test -z "$as_dir" && as_dir
=.
48945 for ac_exec_ext
in '' $ac_executable_extensions; do
48946 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48947 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
48948 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48955 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
48959 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
48960 if test -n "$CPPUNIT_CONFIG"; then
48961 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
48962 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
48964 { echo "$as_me:$LINENO: result: no" >&5
48965 echo "${ECHO_T}no" >&6; }
48969 cppunit_version_min
=1.8.0
48971 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
48972 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
48974 if test "$CPPUNIT_CONFIG" = "no" ; then
48975 { echo "$as_me:$LINENO: result: no" >&5
48976 echo "${ECHO_T}no" >&6; }
48979 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
48980 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
48981 cppunit_version
=`$CPPUNIT_CONFIG --version`
48983 cppunit_major_version
=`echo $cppunit_version | \
48984 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
48985 cppunit_minor_version
=`echo $cppunit_version | \
48986 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
48987 cppunit_micro_version
=`echo $cppunit_version | \
48988 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
48990 cppunit_major_min
=`echo $cppunit_version_min | \
48991 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
48992 cppunit_minor_min
=`echo $cppunit_version_min | \
48993 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
48994 cppunit_micro_min
=`echo $cppunit_version_min | \
48995 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
48997 cppunit_version_proper
=`expr \
48998 $cppunit_major_version \> $cppunit_major_min \| \
48999 $cppunit_major_version \= $cppunit_major_min \& \
49000 $cppunit_minor_version \> $cppunit_minor_min \| \
49001 $cppunit_major_version \= $cppunit_major_min \& \
49002 $cppunit_minor_version \= $cppunit_minor_min \& \
49003 $cppunit_micro_version \>= $cppunit_micro_min `
49005 if test "$cppunit_version_proper" = "1" ; then
49006 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
49007 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
49009 { echo "$as_me:$LINENO: result: no" >&5
49010 echo "${ECHO_T}no" >&6; }
49015 if test "x$no_cppunit" = x
; then
49016 SUBDIRS
="$SUBDIRS tests"
49027 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
49028 DISABLED_CONTRIB
="$DISABLED_CONTRIB net"
49031 for subdir
in `echo $SUBDIRS`; do
49032 if test -d ${srcdir}/${subdir} ; then
49033 if test "$wxUSE_GUI" = "yes"; then
49034 if test ${subdir} = "samples"; then
49035 makefiles
="samples/Makefile.in $makefiles"
49036 for sample
in `echo $SAMPLES_SUBDIRS`; do
49037 if test -d $srcdir/samples
/$sample; then
49038 makefiles
="samples/$sample/Makefile.in $makefiles"
49042 disabled_var
=DISABLED_
`echo $subdir | tr [a-z] [A-Z]`;
49043 eval "disabled=\$$disabled_var"
49044 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
49045 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
49047 else if test ${subdir} = "samples"; then
49048 makefiles
="samples/Makefile.in samples/console/Makefile.in"
49049 elif test ${subdir} = "utils"; then
49051 for util
in HelpGen tex2rtf
; do
49052 if test -d $srcdir/utils
/$util ; then
49053 makefiles
="utils/$util/Makefile.in \
49054 utils/$util/src/Makefile.in \
49058 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
49062 for mkin
in $makefiles ; do
49063 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
49064 ac_config_files
="$ac_config_files $mk"
49070 cat >confcache
<<\_ACEOF
49071 # This file is a shell script that caches the results of configure
49072 # tests run on this system so they can be shared between configure
49073 # scripts and configure runs, see configure's option --config-cache.
49074 # It is not useful on other systems. If it contains results you don't
49075 # want to keep, you may remove or edit it.
49077 # config.status only pays attention to the cache file if you give it
49078 # the --recheck option to rerun configure.
49080 # `ac_cv_env_foo' variables (set or unset) will be overridden when
49081 # loading this file, other *unset* `ac_cv_foo' will be assigned the
49082 # following values.
49086 # The following way of writing the cache mishandles newlines in values,
49087 # but we know of no workaround that is simple, portable, and efficient.
49088 # So, we kill variables containing newlines.
49089 # Ultrix sh set writes to stderr and can't be redirected directly,
49090 # and sets the high bit in the cache file unless we assign to the vars.
49092 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
49093 eval ac_val
=\$
$ac_var
49097 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
49098 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
49101 _
| IFS
| as_nl
) ;; #(
49102 *) $as_unset $ac_var ;;
49108 case $as_nl`(ac_space=' '; set) 2>&1` in #(
49109 *${as_nl}ac_space
=\
*)
49110 # `set' does not quote correctly, so add quotes (double-quote
49111 # substitution turns \\\\ into \\, and sed turns \\ into \).
49114 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
49117 # `set' quotes correctly as required by POSIX, so do not add quotes.
49118 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
49127 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
49129 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
49131 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
49132 if test -w "$cache_file"; then
49133 test "x$cache_file" != "x/dev/null" &&
49134 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
49135 echo "$as_me: updating cache $cache_file" >&6;}
49136 cat confcache
>$cache_file
49138 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
49139 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
49144 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
49145 # Let make expand exec_prefix.
49146 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
49148 DEFS
=-DHAVE_CONFIG_H
49152 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
49153 # 1. Remove the extension, and $U if already installed.
49154 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
49155 ac_i
=`echo "$ac_i" | sed "$ac_script"`
49156 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
49157 # will be set to the directory where LIBOBJS objects are built.
49158 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
49159 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
49161 LIBOBJS
=$ac_libobjs
49163 LTLIBOBJS
=$ac_ltlibobjs
49167 : ${CONFIG_STATUS=./config.status}
49168 ac_clean_files_save
=$ac_clean_files
49169 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
49170 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
49171 echo "$as_me: creating $CONFIG_STATUS" >&6;}
49172 cat >$CONFIG_STATUS <<_ACEOF
49174 # Generated by $as_me.
49175 # Run this file to recreate the current configuration.
49176 # Compiler output produced by configure, useful for debugging
49177 # configure, is in config.log if it exists.
49180 ac_cs_recheck=false
49182 SHELL=\${CONFIG_SHELL-$SHELL}
49185 cat >>$CONFIG_STATUS <<\_ACEOF
49186 ## --------------------- ##
49187 ## M4sh Initialization. ##
49188 ## --------------------- ##
49190 # Be more Bourne compatible
49191 DUALCASE
=1; export DUALCASE
# for MKS sh
49192 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
49195 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
49196 # is contrary to our usage. Disable this feature.
49197 alias -g '${1+"$@"}'='"$@"'
49198 setopt NO_GLOB_SUBST
49200 case `(set -o) 2>/dev/null` in
49201 *posix
*) set -o posix
;;
49210 # Avoid depending upon Character Ranges.
49211 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
49212 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
49213 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
49214 as_cr_digits
='0123456789'
49215 as_cr_alnum
=$as_cr_Letters$as_cr_digits
49217 # The user is always right.
49218 if test "${PATH_SEPARATOR+set}" != set; then
49219 echo "#! /bin/sh" >conf$$.sh
49220 echo "exit 0" >>conf$$.sh
49222 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
49230 # Support unset when possible.
49231 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
49239 # We need space, tab and new line, in precisely that order. Quoting is
49240 # there to prevent editors from complaining about space-tab.
49241 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
49242 # splitting by setting IFS to empty value.)
49247 # Find who we are. Look in the path if we contain no directory separator.
49249 *[\\/]* ) as_myself
=$0 ;;
49250 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49251 for as_dir
in $PATH
49254 test -z "$as_dir" && as_dir
=.
49255 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
49261 # We did not find ourselves, most probably we were run as `sh COMMAND'
49262 # in which case we are not to be found in the path.
49263 if test "x$as_myself" = x
; then
49266 if test ! -f "$as_myself"; then
49267 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
49268 { (exit 1); exit 1; }
49271 # Work around bugs in pre-3.0 UWIN ksh.
49272 for as_var
in ENV MAIL MAILPATH
49273 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
49281 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
49282 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
49283 LC_TELEPHONE LC_TIME
49285 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
49286 eval $as_var=C
; export $as_var
49288 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
49292 # Required to use basename.
49293 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
49294 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
49300 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
49301 as_basename
=basename
49307 # Name of the executable.
49308 as_me
=`$as_basename -- "$0" ||
49309 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
49310 X"$0" : 'X\(//\)$' \| \
49311 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
49313 sed '/^.*\/\([^/][^/]*\)\/*$/{
49332 as_lineno_1
=$LINENO
49333 as_lineno_2
=$LINENO
49334 test "x$as_lineno_1" != "x$as_lineno_2" &&
49335 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
49337 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
49338 # uniformly replaced by the line number. The first 'sed' inserts a
49339 # line-number line after each line using $LINENO; the second 'sed'
49340 # does the real work. The second script uses 'N' to pair each
49341 # line-number line with the line containing $LINENO, and appends
49342 # trailing '-' during substitution so that $LINENO is not a special
49343 # case at line end.
49344 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
49345 # scripts with optimization help from Paolo Bonzini. Blame Lee
49346 # E. McMahon (1931-1989) for sed's syntax. :-)
49358 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
49361 ' >$as_me.lineno
&&
49362 chmod +x
"$as_me.lineno" ||
49363 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
49364 { (exit 1); exit 1; }; }
49366 # Don't try to exec as it changes $[0], causing all sort of problems
49367 # (the dirname of $[0] is not the place where we might find the
49368 # original and so on. Autoconf is especially sensitive to this).
49369 .
"./$as_me.lineno"
49370 # Exit status is that of the last command.
49375 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
49381 ECHO_C
= ECHO_N
= ECHO_T
=
49382 case `echo -n x` in
49384 case `echo 'x\c'` in
49385 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
49392 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
49393 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
49399 rm -f conf$$ conf$$.exe conf$$.
file
49400 if test -d conf$$.dir
; then
49401 rm -f conf$$.dir
/conf$$.
file
49407 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
49409 # ... but there are two gotchas:
49410 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
49411 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
49412 # In both cases, we have to default to `cp -p'.
49413 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
49415 elif ln conf$$.
file conf$$
2>/dev
/null
; then
49420 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
49421 rmdir conf$$.dir
2>/dev
/null
49423 if mkdir -p .
2>/dev
/null
; then
49426 test -d .
/-p && rmdir .
/-p
49430 if test -x / >/dev
/null
2>&1; then
49431 as_test_x
='test -x'
49433 if ls -dL / >/dev
/null
2>&1; then
49440 if test -d "$1"; then
49446 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
49447 ???[sx]*):;;*)false;;esac;fi
49451 as_executable_p
=$as_test_x
49453 # Sed expression to map a string onto a valid CPP name.
49454 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
49456 # Sed expression to map a string onto a valid variable name.
49457 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
49462 # Save the log message, to keep $[0] and so on meaningful, and to
49463 # report actual input values of CONFIG_FILES etc. instead of their
49464 # values after options handling.
49466 This file was extended by wxWidgets $as_me 2.9.0, which was
49467 generated by GNU Autoconf 2.61. Invocation command line was
49469 CONFIG_FILES = $CONFIG_FILES
49470 CONFIG_HEADERS = $CONFIG_HEADERS
49471 CONFIG_LINKS = $CONFIG_LINKS
49472 CONFIG_COMMANDS = $CONFIG_COMMANDS
49475 on `(hostname || uname -n) 2>/dev/null | sed 1q`
49480 cat >>$CONFIG_STATUS <<_ACEOF
49481 # Files that config.status was made for.
49482 config_files="$ac_config_files"
49483 config_headers="$ac_config_headers"
49484 config_commands="$ac_config_commands"
49488 cat >>$CONFIG_STATUS <<\_ACEOF
49490 \`$as_me' instantiates files from templates according to the
49491 current configuration.
49493 Usage: $0 [OPTIONS] [FILE]...
49495 -h, --help print this help, then exit
49496 -V, --version print version number and configuration settings, then exit
49497 -q, --quiet do not print progress messages
49498 -d, --debug don't remove temporary files
49499 --recheck update $as_me by reconfiguring in the same conditions
49500 --file=FILE[:TEMPLATE]
49501 instantiate the configuration file FILE
49502 --header=FILE[:TEMPLATE]
49503 instantiate the configuration header FILE
49505 Configuration files:
49508 Configuration headers:
49511 Configuration commands:
49514 Report bugs to <bug-autoconf@gnu.org>."
49517 cat >>$CONFIG_STATUS <<_ACEOF
49519 wxWidgets config.status 2.9.0
49520 configured by $0, generated by GNU Autoconf 2.61,
49521 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
49523 Copyright (C) 2006 Free Software Foundation, Inc.
49524 This config.status script is free software; the Free Software Foundation
49525 gives unlimited permission to copy, distribute and modify it."
49532 cat >>$CONFIG_STATUS <<\_ACEOF
49533 # If no file are specified by the user, then we need to provide default
49534 # value. By we need to know if files were specified by the user.
49540 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
49541 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
49552 # Handling of the options.
49553 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
49555 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
49556 echo "$ac_cs_version"; exit ;;
49557 --debug | --debu | --deb | --de | --d | -d )
49559 --file | --fil | --fi | --f )
49561 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
49562 ac_need_defaults
=false
;;
49563 --header | --heade | --head | --hea )
49565 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
49566 ac_need_defaults
=false
;;
49568 # Conflict between --help and --header
49569 { echo "$as_me: error: ambiguous option: $1
49570 Try \`$0 --help' for more information." >&2
49571 { (exit 1); exit 1; }; };;
49572 --help | --hel | -h )
49573 echo "$ac_cs_usage"; exit ;;
49574 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
49575 | -silent | --silent | --silen | --sile | --sil | --si | --s)
49578 # This is an error.
49579 -*) { echo "$as_me: error: unrecognized option: $1
49580 Try \`$0 --help' for more information." >&2
49581 { (exit 1); exit 1; }; } ;;
49583 *) ac_config_targets
="$ac_config_targets $1"
49584 ac_need_defaults
=false
;;
49590 ac_configure_extra_args
=
49592 if $ac_cs_silent; then
49594 ac_configure_extra_args
="$ac_configure_extra_args --silent"
49598 cat >>$CONFIG_STATUS <<_ACEOF
49599 if \$ac_cs_recheck; then
49600 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
49601 CONFIG_SHELL=$SHELL
49602 export CONFIG_SHELL
49603 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
49607 cat >>$CONFIG_STATUS <<\_ACEOF
49611 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
49612 ## Running $as_me. ##
49618 cat >>$CONFIG_STATUS <<_ACEOF
49624 infile="$srcdir/include/wx/msw/genrcdefs.h"
49625 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
49628 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49629 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49630 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49636 cat >>$CONFIG_STATUS <<\_ACEOF
49638 # Handling of arguments.
49639 for ac_config_target
in $ac_config_targets
49641 case $ac_config_target in
49642 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
49643 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
49644 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
49645 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
49646 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
49647 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
49648 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
49649 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
49651 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
49652 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
49653 { (exit 1); exit 1; }; };;
49658 # If the user did not use the arguments to specify the items to instantiate,
49659 # then the envvar interface is used. Set only those that are not.
49660 # We use the long form for the default assignment because of an extremely
49661 # bizarre bug on SunOS 4.1.3.
49662 if $ac_need_defaults; then
49663 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
49664 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
49665 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
49668 # Have a temporary directory for convenience. Make it in the build tree
49669 # simply because there is no reason against having it here, and in addition,
49670 # creating and moving files from /tmp can sometimes cause problems.
49671 # Hook for its removal unless debugging.
49672 # Note that there is a small window in which the directory will not be cleaned:
49673 # after its creation but before its name has been assigned to `$tmp'.
49677 trap 'exit_status=$?
49678 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
49680 trap '{ (exit 1); exit 1; }' 1 2 13 15
49682 # Create a (secure) tmp directory for tmp files.
49685 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
49686 test -n "$tmp" && test -d "$tmp"
49689 tmp
=.
/conf$$
-$RANDOM
49690 (umask 077 && mkdir "$tmp")
49693 echo "$me: cannot create a temporary directory in ." >&2
49694 { (exit 1); exit 1; }
49698 # Set up the sed scripts for CONFIG_FILES section.
49701 # No need to generate the scripts if there are no CONFIG_FILES.
49702 # This happens for instance when ./config.status config.h
49703 if test -n "$CONFIG_FILES"; then
49710 for ac_last_try
in false false false false false
:; do
49711 cat >conf$
$subs.
sed <<_ACEOF
49712 SHELL!$SHELL$ac_delim
49713 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
49714 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
49715 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
49716 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
49717 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
49718 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
49719 exec_prefix!$exec_prefix$ac_delim
49720 prefix!$prefix$ac_delim
49721 program_transform_name!$program_transform_name$ac_delim
49722 bindir!$bindir$ac_delim
49723 sbindir!$sbindir$ac_delim
49724 libexecdir!$libexecdir$ac_delim
49725 datarootdir!$datarootdir$ac_delim
49726 datadir!$datadir$ac_delim
49727 sysconfdir!$sysconfdir$ac_delim
49728 sharedstatedir!$sharedstatedir$ac_delim
49729 localstatedir!$localstatedir$ac_delim
49730 includedir!$includedir$ac_delim
49731 oldincludedir!$oldincludedir$ac_delim
49732 docdir!$docdir$ac_delim
49733 infodir!$infodir$ac_delim
49734 htmldir!$htmldir$ac_delim
49735 dvidir!$dvidir$ac_delim
49736 pdfdir!$pdfdir$ac_delim
49737 psdir!$psdir$ac_delim
49738 libdir!$libdir$ac_delim
49739 localedir!$localedir$ac_delim
49740 mandir!$mandir$ac_delim
49741 DEFS!$DEFS$ac_delim
49742 ECHO_C!$ECHO_C$ac_delim
49743 ECHO_N!$ECHO_N$ac_delim
49744 ECHO_T!$ECHO_T$ac_delim
49745 LIBS!$LIBS$ac_delim
49746 build_alias!$build_alias$ac_delim
49747 host_alias!$host_alias$ac_delim
49748 target_alias!$target_alias$ac_delim
49749 build!$build$ac_delim
49750 build_cpu!$build_cpu$ac_delim
49751 build_vendor!$build_vendor$ac_delim
49752 build_os!$build_os$ac_delim
49753 host!$host$ac_delim
49754 host_cpu!$host_cpu$ac_delim
49755 host_vendor!$host_vendor$ac_delim
49756 host_os!$host_os$ac_delim
49757 target!$target$ac_delim
49758 target_cpu!$target_cpu$ac_delim
49759 target_vendor!$target_vendor$ac_delim
49760 target_os!$target_os$ac_delim
49761 wx_top_builddir!$wx_top_builddir$ac_delim
49763 CFLAGS!$CFLAGS$ac_delim
49764 LDFLAGS!$LDFLAGS$ac_delim
49765 CPPFLAGS!$CPPFLAGS$ac_delim
49766 ac_ct_CC!$ac_ct_CC$ac_delim
49767 EXEEXT!$EXEEXT$ac_delim
49768 OBJEXT!$OBJEXT$ac_delim
49770 GREP!$GREP$ac_delim
49771 EGREP!$EGREP$ac_delim
49773 CXXFLAGS!$CXXFLAGS$ac_delim
49774 ac_ct_CXX!$ac_ct_CXX$ac_delim
49775 RANLIB!$RANLIB$ac_delim
49777 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
49778 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
49779 INSTALL_DATA!$INSTALL_DATA$ac_delim
49780 STRIP!$STRIP$ac_delim
49781 WINDRES!$WINDRES$ac_delim
49782 DLLTOOL!$DLLTOOL$ac_delim
49783 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
49784 LN_S!$LN_S$ac_delim
49785 subdirs!$subdirs$ac_delim
49786 PKG_CONFIG!$PKG_CONFIG$ac_delim
49787 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
49788 GTK_LIBS!$GTK_LIBS$ac_delim
49789 GTK_CONFIG!$GTK_CONFIG$ac_delim
49790 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
49791 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
49792 XMKMF!$XMKMF$ac_delim
49793 X_CFLAGS!$X_CFLAGS$ac_delim
49794 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
49795 X_LIBS!$X_LIBS$ac_delim
49796 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
49797 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
49798 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
49799 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
49800 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
49801 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
49802 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
49804 DEREZ!$DEREZ$ac_delim
49805 SETFILE!$SETFILE$ac_delim
49806 LIBICONV!$LIBICONV$ac_delim
49807 EXTRALIBS_ESD!$EXTRALIBS_ESD$ac_delim
49808 SDL_CONFIG!$SDL_CONFIG$ac_delim
49811 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
49813 elif $ac_last_try; then
49814 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
49815 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
49816 { (exit 1); exit 1; }; }
49818 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
49822 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
49823 if test -n "$ac_eof"; then
49824 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
49825 ac_eof
=`expr $ac_eof + 1`
49828 cat >>$CONFIG_STATUS <<_ACEOF
49829 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
49830 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
49833 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
49834 s/^/s,@/; s/!/@,|#_!!_#|/
49837 s/'"$ac_delim"'$/,g/; t
49839 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
49840 ' >>$CONFIG_STATUS <conf$
$subs.
sed
49841 rm -f conf$
$subs.
sed
49842 cat >>$CONFIG_STATUS <<_ACEOF
49848 for ac_last_try
in false false false false false
:; do
49849 cat >conf$
$subs.
sed <<_ACEOF
49850 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
49851 SDL_LIBS!$SDL_LIBS$ac_delim
49852 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
49853 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
49854 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
49855 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
49856 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
49857 HILDON_LIBS!$HILDON_LIBS$ac_delim
49858 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
49859 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
49860 GST_CFLAGS!$GST_CFLAGS$ac_delim
49861 GST_LIBS!$GST_LIBS$ac_delim
49862 CORE_BASE_LIBS!$CORE_BASE_LIBS$ac_delim
49863 CORE_GUI_LIBS!$CORE_GUI_LIBS$ac_delim
49864 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
49865 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
49866 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
49867 wxUSE_ODBC!$wxUSE_ODBC$ac_delim
49868 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
49869 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
49870 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
49871 VENDOR!$VENDOR$ac_delim
49872 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
49873 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
49874 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
49875 WXUNIV!$WXUNIV$ac_delim
49876 MONOLITHIC!$MONOLITHIC$ac_delim
49877 USE_PLUGINS!$USE_PLUGINS$ac_delim
49878 EXTRALIBS!$EXTRALIBS$ac_delim
49879 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
49880 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
49881 EXTRALIBS_ODBC!$EXTRALIBS_ODBC$ac_delim
49882 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
49883 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
49884 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
49885 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
49886 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
49887 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
49888 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
49889 UNICODE!$UNICODE$ac_delim
49890 BUILD!$BUILD$ac_delim
49891 DEBUG_INFO!$DEBUG_INFO$ac_delim
49892 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
49893 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
49894 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
49895 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
49896 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
49897 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
49898 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
49899 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
49900 SET_MAKE!$SET_MAKE$ac_delim
49901 MAKE_SET!$MAKE_SET$ac_delim
49902 AROPTIONS!$AROPTIONS$ac_delim
49904 INSTALL_DIR!$INSTALL_DIR$ac_delim
49905 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
49906 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
49907 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
49908 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
49909 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
49910 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
49911 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
49912 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
49913 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
49914 SO_SUFFIX!$SO_SUFFIX$ac_delim
49915 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
49916 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
49917 LIBPREFIX!$LIBPREFIX$ac_delim
49918 LIBEXT!$LIBEXT$ac_delim
49919 DLLPREFIX!$DLLPREFIX$ac_delim
49920 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
49921 dlldir!$dlldir$ac_delim
49922 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
49923 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
49924 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
49925 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
49926 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
49927 PIC_FLAG!$PIC_FLAG$ac_delim
49928 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
49929 USE_SOVERSION!$USE_SOVERSION$ac_delim
49930 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
49931 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
49932 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
49933 USE_MACVERSION!$USE_MACVERSION$ac_delim
49934 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
49935 SONAME_FLAG!$SONAME_FLAG$ac_delim
49936 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
49937 BK_DEPS!$BK_DEPS$ac_delim
49938 GCC_PCH!$GCC_PCH$ac_delim
49939 ICC_PCH!$ICC_PCH$ac_delim
49940 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
49941 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
49942 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
49943 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
49944 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
49945 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
49946 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
49949 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
49951 elif $ac_last_try; then
49952 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
49953 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
49954 { (exit 1); exit 1; }; }
49956 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
49960 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
49961 if test -n "$ac_eof"; then
49962 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
49963 ac_eof
=`expr $ac_eof + 1`
49966 cat >>$CONFIG_STATUS <<_ACEOF
49967 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
49968 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
49971 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
49972 s/^/s,@/; s/!/@,|#_!!_#|/
49975 s/'"$ac_delim"'$/,g/; t
49977 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
49978 ' >>$CONFIG_STATUS <conf$
$subs.
sed
49979 rm -f conf$
$subs.
sed
49980 cat >>$CONFIG_STATUS <<_ACEOF
49986 for ac_last_try
in false false false false false
:; do
49987 cat >conf$
$subs.
sed <<_ACEOF
49988 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
49989 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
49990 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
49991 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
49992 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
49993 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
49994 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
49995 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
49996 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
49997 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
49998 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
49999 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
50000 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
50001 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
50002 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
50003 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
50004 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1$ac_delim
50005 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
50006 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1$ac_delim
50007 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
50008 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
50009 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
50010 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
50011 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
50012 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
50013 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
50014 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1$ac_delim
50015 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
50016 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1$ac_delim
50017 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
50018 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
50019 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
50020 COND_MONOLITHIC_0_USE_ODBC_1!$COND_MONOLITHIC_0_USE_ODBC_1$ac_delim
50021 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
50022 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
50023 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
50024 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
50025 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
50026 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
50027 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
50028 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
50029 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
50030 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
50031 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
50032 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
50033 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
50034 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
50035 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
50036 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
50037 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
50038 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
50039 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
50040 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
50041 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
50042 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
50043 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
50044 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
50045 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
50046 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
50047 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
50048 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
50049 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
50050 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
50051 COND_SHARED_0!$COND_SHARED_0$ac_delim
50052 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
50053 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
50054 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
50055 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
50056 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
50057 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
50058 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
50059 COND_SHARED_0_USE_XRC_1!$COND_SHARED_0_USE_XRC_1$ac_delim
50060 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
50061 COND_SHARED_0_WXUSE_ODBC_BUILTIN!$COND_SHARED_0_WXUSE_ODBC_BUILTIN$ac_delim
50062 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
50063 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
50064 COND_SHARED_1!$COND_SHARED_1$ac_delim
50065 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
50066 COND_SHARED_1_USE_XRC_1!$COND_SHARED_1_USE_XRC_1$ac_delim
50067 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
50068 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
50069 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
50070 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
50071 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
50072 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
50073 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
50074 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
50075 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
50076 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
50077 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
50078 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
50079 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
50080 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
50081 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
50082 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
50083 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
50084 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
50087 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50089 elif $ac_last_try; then
50090 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50091 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50092 { (exit 1); exit 1; }; }
50094 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
50098 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50099 if test -n "$ac_eof"; then
50100 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
50101 ac_eof
=`expr $ac_eof + 1`
50104 cat >>$CONFIG_STATUS <<_ACEOF
50105 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
50106 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50109 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50110 s/^/s,@/; s/!/@,|#_!!_#|/
50113 s/'"$ac_delim"'$/,g/; t
50115 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50116 ' >>$CONFIG_STATUS <conf$
$subs.
sed
50117 rm -f conf$
$subs.
sed
50118 cat >>$CONFIG_STATUS <<_ACEOF
50124 for ac_last_try
in false false false false false
:; do
50125 cat >conf$
$subs.
sed <<_ACEOF
50126 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
50127 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
50128 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
50129 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
50130 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
50131 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
50132 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
50133 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
50134 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
50135 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
50136 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
50137 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
50138 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
50139 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
50140 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
50141 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
50142 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
50143 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
50144 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
50145 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
50146 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
50147 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
50148 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
50149 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
50150 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
50151 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
50152 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
50153 COND_USE_ODBC_1!$COND_USE_ODBC_1$ac_delim
50154 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
50155 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
50156 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
50157 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
50158 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
50159 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
50160 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
50161 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
50162 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
50163 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
50164 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
50165 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
50166 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
50167 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
50168 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
50169 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
50170 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
50171 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
50172 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
50173 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
50174 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
50175 COND_WXUSE_ODBC_BUILTIN!$COND_WXUSE_ODBC_BUILTIN$ac_delim
50176 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
50177 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
50178 SHARED!$SHARED$ac_delim
50179 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
50180 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
50181 USE_GUI!$USE_GUI$ac_delim
50182 AFMINSTALL!$AFMINSTALL$ac_delim
50183 WIN32INSTALL!$WIN32INSTALL$ac_delim
50184 TOOLKIT!$TOOLKIT$ac_delim
50185 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
50186 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
50187 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
50188 cross_compiling!$cross_compiling$ac_delim
50189 WIDGET_SET!$WIDGET_SET$ac_delim
50190 WX_RELEASE!$WX_RELEASE$ac_delim
50191 WX_VERSION!$WX_VERSION$ac_delim
50192 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
50193 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
50194 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
50195 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
50196 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
50197 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
50198 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
50199 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
50200 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
50201 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
50202 EXE_LINKER!$EXE_LINKER$ac_delim
50203 GUIDIST!$GUIDIST$ac_delim
50204 DISTDIR!$DISTDIR$ac_delim
50205 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
50206 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
50207 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
50208 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
50209 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
50210 RESCOMP!$RESCOMP$ac_delim
50211 RESFLAGS!$RESFLAGS$ac_delim
50212 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
50213 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
50214 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
50215 LIBWXMACRES!$LIBWXMACRES$ac_delim
50216 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
50217 MACSETFILE!$MACSETFILE$ac_delim
50219 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
50220 LIBOBJS!$LIBOBJS$ac_delim
50221 LTLIBOBJS!$LTLIBOBJS$ac_delim
50224 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 96; then
50226 elif $ac_last_try; then
50227 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50228 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50229 { (exit 1); exit 1; }; }
50231 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
50235 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50236 if test -n "$ac_eof"; then
50237 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
50238 ac_eof
=`expr $ac_eof + 1`
50241 cat >>$CONFIG_STATUS <<_ACEOF
50242 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
50243 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50246 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50247 s/^/s,@/; s/!/@,|#_!!_#|/
50250 s/'"$ac_delim"'$/,g/; t
50252 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50253 ' >>$CONFIG_STATUS <conf$
$subs.
sed
50254 rm -f conf$
$subs.
sed
50255 cat >>$CONFIG_STATUS <<_ACEOF
50260 # VPATH may cause trouble with some makes, so we remove $(srcdir),
50261 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
50262 # trailing colons and then remove the whole line if VPATH becomes empty
50263 # (actually we leave an empty line to preserve line numbers).
50264 if test "x$srcdir" = x.
; then
50265 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
50266 s/:*\$(srcdir):*/:/
50267 s/:*\${srcdir}:*/:/
50269 s/^\([^=]*=[ ]*\):*/\1/
50275 cat >>$CONFIG_STATUS <<\_ACEOF
50276 fi # test -n "$CONFIG_FILES"
50279 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
50282 :[FHLC
]) ac_mode
=$ac_tag; continue;;
50284 case $ac_mode$ac_tag in
50286 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
50287 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
50288 { (exit 1); exit 1; }; };;
50289 :[FH
]-) ac_tag
=-:-;;
50290 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
50307 -) ac_f
="$tmp/stdin";;
50308 *) # Look for the file first in the build tree, then in the source tree
50309 # (if the path is not absolute). The absolute path cannot be DOS-style,
50310 # because $ac_f cannot contain `:'.
50314 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
50316 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
50317 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
50318 { (exit 1); exit 1; }; };;
50320 ac_file_inputs
="$ac_file_inputs $ac_f"
50323 # Let's still pretend it is `configure' which instantiates (i.e., don't
50324 # use $as_me), people would be surprised to read:
50325 # /* config.h. Generated by config.status. */
50326 configure_input
="Generated from "`IFS=:
50327 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
50328 if test x
"$ac_file" != x
-; then
50329 configure_input
="$ac_file. $configure_input"
50330 { echo "$as_me:$LINENO: creating $ac_file" >&5
50331 echo "$as_me: creating $ac_file" >&6;}
50335 *:-:* | *:-) cat >"$tmp/stdin";;
50340 ac_dir
=`$as_dirname -- "$ac_file" ||
50341 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50342 X"$ac_file" : 'X\(//\)[^/]' \| \
50343 X"$ac_file" : 'X\(//\)$' \| \
50344 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
50346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
50350 /^X\(\/\/\)[^/].*/{
50365 -*) as_dir
=.
/$as_dir;;
50367 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
50371 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
50372 *) as_qdir
=$as_dir;;
50374 as_dirs
="'$as_qdir' $as_dirs"
50375 as_dir
=`$as_dirname -- "$as_dir" ||
50376 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50377 X"$as_dir" : 'X\(//\)[^/]' \| \
50378 X"$as_dir" : 'X\(//\)$' \| \
50379 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
50381 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
50385 /^X\(\/\/\)[^/].*/{
50398 test -d "$as_dir" && break
50400 test -z "$as_dirs" || eval "mkdir $as_dirs"
50401 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
50402 echo "$as_me: error: cannot create directory $as_dir" >&2;}
50403 { (exit 1); exit 1; }; }; }
50407 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
50409 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50410 # A ".." for each directory in $ac_dir_suffix.
50411 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
50412 case $ac_top_builddir_sub in
50413 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
50414 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
50417 ac_abs_top_builddir
=$ac_pwd
50418 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
50419 # for backward compatibility:
50420 ac_top_builddir
=$ac_top_build_prefix
50423 .
) # We are building in place.
50425 ac_top_srcdir
=$ac_top_builddir_sub
50426 ac_abs_top_srcdir
=$ac_pwd ;;
50427 [\\/]* | ?
:[\\/]* ) # Absolute name.
50428 ac_srcdir
=$srcdir$ac_dir_suffix;
50429 ac_top_srcdir
=$srcdir
50430 ac_abs_top_srcdir
=$srcdir ;;
50431 *) # Relative name.
50432 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
50433 ac_top_srcdir
=$ac_top_build_prefix$srcdir
50434 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
50436 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
50446 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
50447 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
50451 cat >>$CONFIG_STATUS <<\_ACEOF
50452 # If the template does not know about datarootdir, expand it.
50453 # FIXME: This hack should be removed a few years after 2.60.
50454 ac_datarootdir_hack
=; ac_datarootdir_seen
=
50456 case `sed -n '/datarootdir/ {
50465 ' $ac_file_inputs` in
50466 *datarootdir
*) ac_datarootdir_seen
=yes;;
50467 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
50468 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
50469 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
50471 cat >>$CONFIG_STATUS <<_ACEOF
50472 ac_datarootdir_hack='
50473 s&@datadir@&$datadir&g
50474 s&@docdir@&$docdir&g
50475 s&@infodir@&$infodir&g
50476 s&@localedir@&$localedir&g
50477 s&@mandir@&$mandir&g
50478 s&\\\${datarootdir}&$datarootdir&g' ;;
50482 # Neutralize VPATH when `$srcdir' = `.'.
50483 # Shell code in configure.ac might set extrasub.
50484 # FIXME: do we really want to maintain this feature?
50485 cat >>$CONFIG_STATUS <<_ACEOF
50489 cat >>$CONFIG_STATUS <<\_ACEOF
50491 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
50492 s
&@configure_input@
&$configure_input&;t t
50493 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
50494 s
&@srcdir@
&$ac_srcdir&;t t
50495 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
50496 s
&@top_srcdir@
&$ac_top_srcdir&;t t
50497 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
50498 s
&@builddir@
&$ac_builddir&;t t
50499 s
&@abs_builddir@
&$ac_abs_builddir&;t t
50500 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
50501 s
&@INSTALL@
&$ac_INSTALL&;t t
50502 $ac_datarootdir_hack
50503 " $ac_file_inputs | sed -f "$tmp/subs
-1.
sed" | sed -f "$tmp/subs
-2.
sed" | sed -f "$tmp/subs
-3.
sed" | sed -f "$tmp/subs
-4.
sed" | sed 's/|#_!!_#|//g' >$tmp/out
50505 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
50506 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
50507 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
50508 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
50509 which seems to be undefined. Please make sure it is defined." >&5
50510 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
50511 which seems to be undefined. Please make sure it is defined." >&2;}
50515 -) cat "$tmp/out"; rm -f "$tmp/out";;
50516 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
50525 # Transform confdefs.h into a sed script `conftest.defines', that
50526 # substitutes the proper values into config.h.in to produce config.h.
50527 rm -f conftest.defines conftest.
tail
50528 # First, append a space to every undef/define line, to ease matching.
50529 echo 's/$/ /' >conftest.defines
50530 # Then, protect against being on the right side of a sed subst, or in
50531 # an unquoted here document, in config.status. If some macros were
50532 # called several times there might be several #defines for the same
50533 # symbol, which is useless. But do not sort them, since the last
50534 # AC_DEFINE must be honored.
50535 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
50536 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
50537 # NAME is the cpp macro being defined, VALUE is the value it is being given.
50538 # PARAMS is the parameter list in the macro definition--in most cases, it's
50539 # just an empty string.
50540 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
50541 ac_dB
='\\)[ (].*,\\1define\\2'
50549 s/^[ ]*#[ ]*define[ ][ ]*//
50554 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
50555 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
50556 ' >>conftest.defines
50558 # Remove the space that was appended to ease matching.
50559 # Then replace #undef with comments. This is necessary, for
50560 # example, in the case of _POSIX_SOURCE, which is predefined and required
50561 # on some systems where configure will not decide to define it.
50562 # (The regexp can be short, since the line contains either #define or #undef.)
50564 s,^[ #]*u.*,/* & */,' >>conftest.defines
50566 # Break up conftest.defines:
50567 ac_max_sed_lines
=50
50569 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
50570 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
50571 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
50573 ac_in
='$ac_file_inputs'
50574 ac_out
='"$tmp/out1"'
50575 ac_nxt
='"$tmp/out2"'
50579 # Write a here document:
50580 cat >>$CONFIG_STATUS <<_ACEOF
50581 # First, check the format of the line:
50582 cat >"\$tmp/defines.sed" <<\\CEOF
50583 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
50584 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
50588 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
50590 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
50591 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
50592 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
50593 grep . conftest.
tail >/dev
/null
|| break
50594 rm -f conftest.defines
50595 mv conftest.
tail conftest.defines
50597 rm -f conftest.defines conftest.
tail
50599 echo "ac_result=$ac_in" >>$CONFIG_STATUS
50600 cat >>$CONFIG_STATUS <<\_ACEOF
50601 if test x
"$ac_file" != x
-; then
50602 echo "/* $configure_input */" >"$tmp/config.h"
50603 cat "$ac_result" >>"$tmp/config.h"
50604 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
50605 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
50606 echo "$as_me: $ac_file is unchanged" >&6;}
50609 mv "$tmp/config.h" $ac_file
50612 echo "/* $configure_input */"
50618 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
50619 echo "$as_me: executing $ac_file commands" >&6;}
50624 case $ac_file$ac_mode in
50626 mkdir -p $outdir &&
50627 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
50629 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
50630 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
50631 "wx-config":C
) rm -f wx
-config
50632 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
50639 { (exit 0); exit 0; }
50641 chmod +x
$CONFIG_STATUS
50642 ac_clean_files
=$ac_clean_files_save
50645 # configure is writing to config.log, and then calls config.status.
50646 # config.status does its own redirection, appending to config.log.
50647 # Unfortunately, on DOS this fails, as config.log is still kept open
50648 # by configure, so config.status won't be able to write to it; its
50649 # output is simply discarded. So we exec the FD to /dev/null,
50650 # effectively closing config.log, so it can be properly (re)opened and
50651 # appended to by config.status. When coming back to configure, we
50652 # need to make the FD available again.
50653 if test "$no_create" != yes; then
50655 ac_config_status_args
=
50656 test "$silent" = yes &&
50657 ac_config_status_args
="$ac_config_status_args --quiet"
50659 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
50661 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
50662 # would make configure fail if this is the last instruction.
50663 $ac_cs_success || { (exit 1); exit 1; }
50667 # CONFIG_SUBDIRS section.
50669 if test "$no_recursion" != yes; then
50671 # Remove --cache-file and --srcdir arguments so they do not pile up.
50672 ac_sub_configure_args
=
50674 eval "set x $ac_configure_args"
50678 if test -n "$ac_prev"; then
50683 -cache-file | --cache-file | --cache-fil | --cache-fi \
50684 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
50685 ac_prev
=cache_file
;;
50686 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
50687 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
50690 --config-cache | -C)
50692 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
50694 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
50696 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
50698 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
50702 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
50704 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
50708 # Always prepend --prefix to ensure using the same prefix
50709 # in subdir configurations.
50710 ac_arg
="--prefix=$prefix"
50712 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
50714 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
50717 if test "$silent" = yes; then
50718 ac_sub_configure_args
="--silent $ac_sub_configure_args"
50722 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
50724 # Do not complain, so a configure script can configure whichever
50725 # parts of a large source tree are present.
50726 test -d "$srcdir/$ac_dir" || continue
50728 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
50729 echo "$as_me:$LINENO: $ac_msg" >&5
50733 -*) as_dir
=.
/$as_dir;;
50735 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
50739 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
50740 *) as_qdir
=$as_dir;;
50742 as_dirs
="'$as_qdir' $as_dirs"
50743 as_dir
=`$as_dirname -- "$as_dir" ||
50744 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50745 X"$as_dir" : 'X\(//\)[^/]' \| \
50746 X"$as_dir" : 'X\(//\)$' \| \
50747 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
50749 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
50753 /^X\(\/\/\)[^/].*/{
50766 test -d "$as_dir" && break
50768 test -z "$as_dirs" || eval "mkdir $as_dirs"
50769 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
50770 echo "$as_me: error: cannot create directory $as_dir" >&2;}
50771 { (exit 1); exit 1; }; }; }
50775 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
50777 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50778 # A ".." for each directory in $ac_dir_suffix.
50779 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
50780 case $ac_top_builddir_sub in
50781 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
50782 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
50785 ac_abs_top_builddir
=$ac_pwd
50786 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
50787 # for backward compatibility:
50788 ac_top_builddir
=$ac_top_build_prefix
50791 .
) # We are building in place.
50793 ac_top_srcdir
=$ac_top_builddir_sub
50794 ac_abs_top_srcdir
=$ac_pwd ;;
50795 [\\/]* | ?
:[\\/]* ) # Absolute name.
50796 ac_srcdir
=$srcdir$ac_dir_suffix;
50797 ac_top_srcdir
=$srcdir
50798 ac_abs_top_srcdir
=$srcdir ;;
50799 *) # Relative name.
50800 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
50801 ac_top_srcdir
=$ac_top_build_prefix$srcdir
50802 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
50804 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
50809 # Check for guested configure; otherwise get Cygnus style configure.
50810 if test -f "$ac_srcdir/configure.gnu"; then
50811 ac_sub_configure
=$ac_srcdir/configure.gnu
50812 elif test -f "$ac_srcdir/configure"; then
50813 ac_sub_configure
=$ac_srcdir/configure
50814 elif test -f "$ac_srcdir/configure.in"; then
50815 # This should be Cygnus configure.
50816 ac_sub_configure
=$ac_aux_dir/configure
50818 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
50819 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
50823 # The recursion is here.
50824 if test -n "$ac_sub_configure"; then
50825 # Make the cache file name correct relative to the subdirectory.
50826 case $cache_file in
50827 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
50828 *) # Relative name.
50829 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
50832 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
50833 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
50834 # The eval makes quoting arguments work.
50835 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
50836 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
50837 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
50838 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
50839 { (exit 1); exit 1; }; }
50848 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
50850 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
50851 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
50853 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
50854 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
50855 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
50857 echo " What level of wxWidgets compatibility should be enabled?"
50858 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
50859 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
50861 echo " Which libraries should wxWidgets use?"
50862 echo " jpeg ${wxUSE_LIBJPEG-none}"
50863 echo " png ${wxUSE_LIBPNG-none}"
50864 echo " regex ${wxUSE_REGEX}"
50865 echo " tiff ${wxUSE_LIBTIFF-none}"
50866 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
50867 echo " xpm ${wxUSE_LIBXPM-none}"
50869 echo " zlib ${wxUSE_ZLIB}"
50870 echo " odbc ${wxUSE_ODBC}"
50871 echo " expat ${wxUSE_EXPAT}"
50872 echo " libmspack ${wxUSE_LIBMSPACK}"
50873 echo " sdl ${wxUSE_LIBSDL}"