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
719 LIBGNOMEPRINTUI_CFLAGS
763 SAMPLES_RPATH_POSTLINK
809 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
810 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
811 COND_BUILD_DEBUG_UNICODE_0
812 COND_BUILD_DEBUG_UNICODE_1
814 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
815 COND_BUILD_RELEASE_UNICODE_0
816 COND_BUILD_RELEASE_UNICODE_1
825 COND_MONOLITHIC_0_SHARED_0
826 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
827 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
828 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
829 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
830 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
831 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
832 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
833 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
834 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
835 COND_MONOLITHIC_0_SHARED_1
836 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
837 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
838 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
839 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
840 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
841 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
842 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
843 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
844 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
845 COND_MONOLITHIC_0_USE_MEDIA_1
846 COND_MONOLITHIC_0_USE_ODBC_1
848 COND_MONOLITHIC_1_SHARED_0
849 COND_MONOLITHIC_1_SHARED_1
850 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
851 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
852 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
853 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
854 COND_PLATFORM_MACOSX_1
855 COND_PLATFORM_MACOSX_1_TOOLKIT_
856 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
857 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
858 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
859 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
860 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
861 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
862 COND_PLATFORM_MACOSX_1_USE_GUI_1
863 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
864 COND_PLATFORM_MACOS_1
866 COND_PLATFORM_MSDOS_0
867 COND_PLATFORM_MSDOS_1
871 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
872 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
873 COND_PLATFORM_UNIX_1_USE_GUI_1
874 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
875 COND_PLATFORM_WIN32_0
876 COND_PLATFORM_WIN32_1
878 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
879 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
880 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
881 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
882 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
883 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
884 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
885 COND_SHARED_0_USE_XRC_1
886 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
887 COND_SHARED_0_WXUSE_ODBC_BUILTIN
888 COND_SHARED_0_WXUSE_REGEX_BUILTIN
889 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
891 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
892 COND_SHARED_1_USE_XRC_1
895 COND_TOOLKIT_COCOA_USE_GUI_1
896 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
898 COND_TOOLKIT_DFB_USE_GUI_1
900 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
901 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
902 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
903 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
904 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
905 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
906 COND_TOOLKIT_GTK_USE_GUI_1
908 COND_TOOLKIT_MAC_USE_GUI_1
909 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
911 COND_TOOLKIT_MGL_USE_GUI_1
913 COND_TOOLKIT_MOTIF_USE_GUI_1
914 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
916 COND_TOOLKIT_MSW_USE_GUI_1
917 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
918 COND_TOOLKIT_MSW_WXUNIV_0
920 COND_TOOLKIT_PM_USE_GUI_1
921 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
923 COND_TOOLKIT_WINCE_USE_GUI_1
924 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
925 COND_TOOLKIT_WINCE_WXUNIV_0
927 COND_TOOLKIT_X11_USE_GUI_1
929 COND_USE_EXCEPTIONS_0
930 COND_USE_EXCEPTIONS_1
933 COND_USE_GUI_1_WXUNIV_0
934 COND_USE_GUI_1_WXUNIV_1
935 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
936 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
937 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
944 COND_USE_SOSYMLINKS_1
945 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
946 COND_USE_SOVERLINUX_1
948 COND_USE_SOVERSOLARIS_1
952 COND_WINDOWS_IMPLIB_1
953 COND_WITH_PLUGIN_SDL_1
956 COND_WXUSE_EXPAT_BUILTIN
957 COND_WXUSE_LIBJPEG_BUILTIN
958 COND_WXUSE_LIBPNG_BUILTIN
959 COND_WXUSE_LIBTIFF_BUILTIN
960 COND_WXUSE_ODBC_BUILTIN
961 COND_WXUSE_REGEX_BUILTIN
962 COND_WXUSE_ZLIB_BUILTIN
964 WX_LIBRARY_BASENAME_NOGUI
965 WX_LIBRARY_BASENAME_GUI
998 WX_RESOURCES_MACOSX_ASCII
999 WX_RESOURCES_MACOSX_DATA
1008 ac_precious_vars
='build_alias
1031 LIBGNOMEPRINTUI_CFLAGS
1032 LIBGNOMEPRINTUI_LIBS
1041 ac_subdirs_all
='src/expat'
1043 # Initialize some variables set by options.
1045 ac_init_version
=false
1046 # The variables have the same names as the options, with
1047 # dashes changed to underlines.
1048 cache_file
=/dev
/null
1055 program_transform_name
=s
,x
,x
,
1063 # Installation directory options.
1064 # These are left unexpanded so users can "make install exec_prefix=/foo"
1065 # and all the variables that are supposed to be based on exec_prefix
1066 # by default will actually change.
1067 # Use braces instead of parens because sh, perl, etc. also accept them.
1068 # (The list follows the same order as the GNU Coding Standards.)
1069 bindir
='${exec_prefix}/bin'
1070 sbindir
='${exec_prefix}/sbin'
1071 libexecdir
='${exec_prefix}/libexec'
1072 datarootdir
='${prefix}/share'
1073 datadir
='${datarootdir}'
1074 sysconfdir
='${prefix}/etc'
1075 sharedstatedir
='${prefix}/com'
1076 localstatedir
='${prefix}/var'
1077 includedir
='${prefix}/include'
1078 oldincludedir
='/usr/include'
1079 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1080 infodir
='${datarootdir}/info'
1085 libdir
='${exec_prefix}/lib'
1086 localedir
='${datarootdir}/locale'
1087 mandir
='${datarootdir}/man'
1093 # If the previous option needs an argument, assign it.
1094 if test -n "$ac_prev"; then
1095 eval $ac_prev=\
$ac_option
1101 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1105 # Accept the important Cygnus configure options, so we can diagnose typos.
1107 case $ac_dashdash$ac_option in
1111 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1113 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1114 bindir
=$ac_optarg ;;
1116 -build | --build | --buil | --bui | --bu)
1117 ac_prev
=build_alias
;;
1118 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1119 build_alias
=$ac_optarg ;;
1121 -cache-file | --cache-file | --cache-fil | --cache-fi \
1122 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1123 ac_prev
=cache_file
;;
1124 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1125 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1126 cache_file
=$ac_optarg ;;
1128 --config-cache | -C)
1129 cache_file
=config.cache
;;
1131 -datadir | --datadir | --datadi | --datad)
1133 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1134 datadir
=$ac_optarg ;;
1136 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1137 | --dataroo | --dataro | --datar)
1138 ac_prev
=datarootdir
;;
1139 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1140 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1141 datarootdir
=$ac_optarg ;;
1143 -disable-* | --disable-*)
1144 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1145 # Reject names that are not valid shell variable names.
1146 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1147 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1148 { (exit 1); exit 1; }; }
1149 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1150 eval enable_
$ac_feature=no
;;
1152 -docdir | --docdir | --docdi | --doc | --do)
1154 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1155 docdir
=$ac_optarg ;;
1157 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1159 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1160 dvidir
=$ac_optarg ;;
1162 -enable-* | --enable-*)
1163 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1164 # Reject names that are not valid shell variable names.
1165 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1166 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1167 { (exit 1); exit 1; }; }
1168 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1169 eval enable_
$ac_feature=\
$ac_optarg ;;
1171 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1172 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1173 | --exec | --exe | --ex)
1174 ac_prev
=exec_prefix
;;
1175 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1176 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1177 | --exec=* | --exe=* | --ex=*)
1178 exec_prefix
=$ac_optarg ;;
1180 -gas | --gas | --ga | --g)
1181 # Obsolete; use --with-gas.
1184 -help | --help | --hel | --he | -h)
1185 ac_init_help
=long
;;
1186 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1187 ac_init_help
=recursive
;;
1188 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1189 ac_init_help
=short
;;
1191 -host | --host | --hos | --ho)
1192 ac_prev
=host_alias
;;
1193 -host=* | --host=* | --hos=* | --ho=*)
1194 host_alias
=$ac_optarg ;;
1196 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1198 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1200 htmldir
=$ac_optarg ;;
1202 -includedir | --includedir | --includedi | --included | --include \
1203 | --includ | --inclu | --incl | --inc)
1204 ac_prev
=includedir
;;
1205 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1206 | --includ=* | --inclu=* | --incl=* | --inc=*)
1207 includedir
=$ac_optarg ;;
1209 -infodir | --infodir | --infodi | --infod | --info | --inf)
1211 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1212 infodir
=$ac_optarg ;;
1214 -libdir | --libdir | --libdi | --libd)
1216 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1217 libdir
=$ac_optarg ;;
1219 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1220 | --libexe | --libex | --libe)
1221 ac_prev
=libexecdir
;;
1222 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1223 | --libexe=* | --libex=* | --libe=*)
1224 libexecdir
=$ac_optarg ;;
1226 -localedir | --localedir | --localedi | --localed | --locale)
1227 ac_prev
=localedir
;;
1228 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1229 localedir
=$ac_optarg ;;
1231 -localstatedir | --localstatedir | --localstatedi | --localstated \
1232 | --localstate | --localstat | --localsta | --localst | --locals)
1233 ac_prev
=localstatedir
;;
1234 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1235 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1236 localstatedir
=$ac_optarg ;;
1238 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1240 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1241 mandir
=$ac_optarg ;;
1243 -nfp | --nfp | --nf)
1244 # Obsolete; use --without-fp.
1247 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1248 | --no-cr | --no-c | -n)
1251 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1252 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1255 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1256 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1257 | --oldin | --oldi | --old | --ol | --o)
1258 ac_prev
=oldincludedir
;;
1259 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1260 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1261 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1262 oldincludedir
=$ac_optarg ;;
1264 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1266 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1267 prefix
=$ac_optarg ;;
1269 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1270 | --program-pre | --program-pr | --program-p)
1271 ac_prev
=program_prefix
;;
1272 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1273 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1274 program_prefix
=$ac_optarg ;;
1276 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1277 | --program-suf | --program-su | --program-s)
1278 ac_prev
=program_suffix
;;
1279 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1280 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1281 program_suffix
=$ac_optarg ;;
1283 -program-transform-name | --program-transform-name \
1284 | --program-transform-nam | --program-transform-na \
1285 | --program-transform-n | --program-transform- \
1286 | --program-transform | --program-transfor \
1287 | --program-transfo | --program-transf \
1288 | --program-trans | --program-tran \
1289 | --progr-tra | --program-tr | --program-t)
1290 ac_prev
=program_transform_name
;;
1291 -program-transform-name=* | --program-transform-name=* \
1292 | --program-transform-nam=* | --program-transform-na=* \
1293 | --program-transform-n=* | --program-transform-=* \
1294 | --program-transform=* | --program-transfor=* \
1295 | --program-transfo=* | --program-transf=* \
1296 | --program-trans=* | --program-tran=* \
1297 | --progr-tra=* | --program-tr=* | --program-t=*)
1298 program_transform_name
=$ac_optarg ;;
1300 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1302 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1303 pdfdir
=$ac_optarg ;;
1305 -psdir | --psdir | --psdi | --psd | --ps)
1307 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1310 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1311 | -silent | --silent | --silen | --sile | --sil)
1314 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1316 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1318 sbindir
=$ac_optarg ;;
1320 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1321 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1322 | --sharedst | --shareds | --shared | --share | --shar \
1324 ac_prev
=sharedstatedir
;;
1325 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1326 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1327 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1329 sharedstatedir
=$ac_optarg ;;
1331 -site | --site | --sit)
1333 -site=* | --site=* | --sit=*)
1336 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1338 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1339 srcdir
=$ac_optarg ;;
1341 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1342 | --syscon | --sysco | --sysc | --sys | --sy)
1343 ac_prev
=sysconfdir
;;
1344 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1345 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1346 sysconfdir
=$ac_optarg ;;
1348 -target | --target | --targe | --targ | --tar | --ta | --t)
1349 ac_prev
=target_alias
;;
1350 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1351 target_alias
=$ac_optarg ;;
1353 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1356 -version | --version | --versio | --versi | --vers | -V)
1357 ac_init_version
=: ;;
1360 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1361 # Reject names that are not valid shell variable names.
1362 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1363 { echo "$as_me: error: invalid package name: $ac_package" >&2
1364 { (exit 1); exit 1; }; }
1365 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1366 eval with_
$ac_package=\
$ac_optarg ;;
1368 -without-* | --without-*)
1369 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1370 # Reject names that are not valid shell variable names.
1371 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1372 { echo "$as_me: error: invalid package name: $ac_package" >&2
1373 { (exit 1); exit 1; }; }
1374 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1375 eval with_
$ac_package=no
;;
1378 # Obsolete; use --with-x.
1381 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1382 | --x-incl | --x-inc | --x-in | --x-i)
1383 ac_prev
=x_includes
;;
1384 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1385 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1386 x_includes
=$ac_optarg ;;
1388 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1389 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1390 ac_prev
=x_libraries
;;
1391 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1392 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1393 x_libraries
=$ac_optarg ;;
1395 -*) { echo "$as_me: error: unrecognized option: $ac_option
1396 Try \`$0 --help' for more information." >&2
1397 { (exit 1); exit 1; }; }
1401 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1402 # Reject names that are not valid shell variable names.
1403 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1404 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1405 { (exit 1); exit 1; }; }
1406 eval $ac_envvar=\
$ac_optarg
1407 export $ac_envvar ;;
1410 # FIXME: should be removed in autoconf 3.0.
1411 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1412 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1413 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1414 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1420 if test -n "$ac_prev"; then
1421 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1422 { echo "$as_me: error: missing argument to $ac_option" >&2
1423 { (exit 1); exit 1; }; }
1426 # Be sure to have absolute directory names.
1427 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1428 datadir sysconfdir sharedstatedir localstatedir includedir \
1429 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1430 libdir localedir mandir
1432 eval ac_val
=\$
$ac_var
1434 [\\/$
]* | ?
:[\\/]* ) continue;;
1435 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1437 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1438 { (exit 1); exit 1; }; }
1441 # There might be people who depend on the old broken behavior: `$host'
1442 # used to hold the argument of --host etc.
1443 # FIXME: To remove some day.
1446 target
=$target_alias
1448 # FIXME: To remove some day.
1449 if test "x$host_alias" != x
; then
1450 if test "x$build_alias" = x
; then
1451 cross_compiling
=maybe
1452 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1453 If a cross compiler is detected then cross compile mode will be used." >&2
1454 elif test "x$build_alias" != "x$host_alias"; then
1460 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1462 test "$silent" = yes && exec 6>/dev
/null
1465 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1466 ac_ls_di
=`ls -di .` &&
1467 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1468 { echo "$as_me: error: Working directory cannot be determined" >&2
1469 { (exit 1); exit 1; }; }
1470 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1471 { echo "$as_me: error: pwd does not report name of working directory" >&2
1472 { (exit 1); exit 1; }; }
1475 # Find the source files, if location was not specified.
1476 if test -z "$srcdir"; then
1477 ac_srcdir_defaulted
=yes
1478 # Try the directory containing this script, then the parent directory.
1479 ac_confdir
=`$as_dirname -- "$0" ||
1480 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1481 X"$0" : 'X\(//\)[^/]' \| \
1482 X"$0" : 'X\(//\)$' \| \
1483 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1485 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1503 if test ! -r "$srcdir/$ac_unique_file"; then
1507 ac_srcdir_defaulted
=no
1509 if test ! -r "$srcdir/$ac_unique_file"; then
1510 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1511 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1512 { (exit 1); exit 1; }; }
1514 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1516 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1517 { (exit 1); exit 1; }; }
1519 # When building in place, set srcdir=.
1520 if test "$ac_abs_confdir" = "$ac_pwd"; then
1523 # Remove unnecessary trailing slashes from srcdir.
1524 # Double slashes in file names in object file debugging info
1525 # mess up M-x gdb in Emacs.
1527 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1529 for ac_var
in $ac_precious_vars; do
1530 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1531 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1532 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1533 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1537 # Report the --help message.
1539 if test "$ac_init_help" = "long"; then
1540 # Omit some internal or obsolete options to make the list less imposing.
1541 # This message is too long to be a string in the A/UX 3.1 sh.
1543 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1545 Usage: $0 [OPTION]... [VAR=VALUE]...
1547 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1548 VAR=VALUE. See below for descriptions of some of the useful variables.
1550 Defaults for the options are specified in brackets.
1553 -h, --help display this help and exit
1554 --help=short display options specific to this package
1555 --help=recursive display the short help of all the included packages
1556 -V, --version display version information and exit
1557 -q, --quiet, --silent do not print \`checking...' messages
1558 --cache-file=FILE cache test results in FILE [disabled]
1559 -C, --config-cache alias for \`--cache-file=config.cache'
1560 -n, --no-create do not create output files
1561 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1563 Installation directories:
1564 --prefix=PREFIX install architecture-independent files in PREFIX
1565 [$ac_default_prefix]
1566 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1569 By default, \`make install' will install all the files in
1570 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1571 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1572 for instance \`--prefix=\$HOME'.
1574 For better control, use the options below.
1576 Fine tuning of the installation directories:
1577 --bindir=DIR user executables [EPREFIX/bin]
1578 --sbindir=DIR system admin executables [EPREFIX/sbin]
1579 --libexecdir=DIR program executables [EPREFIX/libexec]
1580 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1581 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1582 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1583 --libdir=DIR object code libraries [EPREFIX/lib]
1584 --includedir=DIR C header files [PREFIX/include]
1585 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1586 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1587 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1588 --infodir=DIR info documentation [DATAROOTDIR/info]
1589 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1590 --mandir=DIR man documentation [DATAROOTDIR/man]
1591 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1592 --htmldir=DIR html documentation [DOCDIR]
1593 --dvidir=DIR dvi documentation [DOCDIR]
1594 --pdfdir=DIR pdf documentation [DOCDIR]
1595 --psdir=DIR ps documentation [DOCDIR]
1601 --x-includes=DIR X include files are
in DIR
1602 --x-libraries=DIR X library files are
in DIR
1605 --build=BUILD configure
for building on BUILD
[guessed
]
1606 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1607 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1611 if test -n "$ac_init_help"; then
1612 case $ac_init_help in
1613 short
| recursive
) echo "Configuration of wxWidgets 2.9.0:";;
1618 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1619 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1620 --enable-gui use GUI classes
1621 --enable-monolithic build wxWidgets as single library
1622 --enable-plugins build parts of wxWidgets as loadable components
1623 --enable-universal use wxWidgets GUI controls instead of native ones
1624 --enable-nanox use NanoX
1625 --disable-gtk2 use GTK
+ 1.2 instead of
2.0
1626 --enable-gpe use GNOME PDA Environment features
if possible
1627 --enable-shared create shared library code
1628 --enable-optimise create optimised code
1629 --enable-debug same as debug_flag and debug_info
1630 --enable-stl use STL
for containers
1631 --enable-omf use OMF object format
1632 --enable-debug_flag set __WXDEBUG__ flag
(recommended
for developers
!)
1633 --enable-debug_info create code with debugging information
1634 --enable-debug_gdb create code with extra GDB debugging information
1635 --enable-debug_cntxt use wxDebugContext
1636 --enable-mem_tracing create code with memory tracing
1637 --enable-profile create code with profiling information
1638 --enable-no_rtti create code without RTTI information
1639 --enable-no_exceptions create code without C
++ exceptions handling
1640 --enable-permissive compile code disregarding strict ANSI
1641 --enable-no_deps create code without dependency information
1642 --disable-vararg_macros don
't use vararg macros, even if they are supported
1643 --enable-universal_binary[=SDK] create Mac PowerPC and Intel Universal binary (not yet working)
1644 --enable-compat26 enable wxWidgets 2.6 compatibility
1645 --disable-compat28 disable wxWidgets 2.8 compatibility
1646 --disable-rpath disable use of rpath for uninstalled builds
1647 --enable-intl use internationalization system
1648 --enable-config use wxConfig (and derived) classes
1649 --enable-protocols use wxProtocol and derived classes
1650 --enable-ftp use wxFTP (requires wxProtocol
1651 --enable-http use wxHTTP (requires wxProtocol
1652 --enable-fileproto use wxFileProto class (requires wxProtocol
1653 --enable-sockets use socket/network classes
1654 --enable-ole use OLE classes (Win32 only)
1655 --enable-dataobj use data object classes
1656 --enable-ipc use interprocess communication (wxSocket etc.)
1657 --enable-apple_ieee use the Apple IEEE codec
1658 --enable-arcstream use wxArchive streams
1659 --enable-backtrace use wxStackWalker class for getting backtraces
1660 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1661 --enable-cmdline use wxCmdLineParser class
1662 --enable-datetime use wxDateTime class
1663 --enable-debugreport use wxDebugReport class
1664 --enable-dialupman use dialup network classes
1665 --enable-dynlib use wxLibrary class for DLL loading
1666 --enable-dynamicloader use (new) wxDynamicLibrary class
1667 --enable-exceptions build exception-safe library
1668 --enable-ffile use wxFFile class
1669 --enable-file use wxFile class
1670 --enable-filesystem use virtual file systems classes
1671 --enable-fontmap use font encodings conversion classes
1672 --enable-fs_archive use virtual archive filesystems
1673 --enable-fs_inet use virtual HTTP/FTP filesystems
1674 --enable-fs_zip now replaced by fs_archive
1675 --enable-geometry use geometry class
1676 --enable-log use logging system
1677 --enable-longlong use wxLongLong class
1678 --enable-mimetype use wxMimeTypesManager
1679 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1680 --enable-snglinst use wxSingleInstanceChecker class
1681 --enable-std_iostreams use standard C++ stream classes
1682 --enable-std_string use standard C++ string classes
1683 --enable-stdpaths use wxStandardPaths class
1684 --enable-stopwatch use wxStopWatch class
1685 --enable-streams use wxStream etc classes
1686 --enable-sysoptions use wxSystemOptions
1687 --enable-tarstream use wxTar streams
1688 --enable-textbuf use wxTextBuffer class
1689 --enable-textfile use wxTextFile class
1690 --enable-timer use wxTimer class
1691 --enable-unicode compile wxString with Unicode support
1692 --enable-sound use wxSound class
1693 --enable-mediactrl use wxMediaCtrl class
1694 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1695 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1696 --enable-zipstream use wxZip streams
1697 --enable-url use wxURL class
1698 --enable-variant use wxVariant class
1699 --enable-protocol use wxProtocol class
1700 --enable-protocol-http HTTP support in wxProtocol
1701 --enable-protocol-ftp FTP support in wxProtocol
1702 --enable-protocol-file FILE support in wxProtocol
1703 --enable-threads use threads
1704 --enable-docview use document view architecture
1705 --enable-help use help subsystem
1706 --enable-mshtmlhelp use MS HTML Help (win32)
1707 --enable-html use wxHTML sub-library
1708 --enable-htmlhelp use wxHTML-based help
1709 --enable-xrc use XRC resources sub-library
1710 --enable-aui use AUI docking library
1711 --enable-constraints use layout-constraints system
1712 --enable-printarch use printing architecture
1713 --enable-mdi use multiple document interface architecture
1714 --enable-mdidoc use docview architecture with MDI
1715 --enable-loggui use standard GUI logger
1716 --enable-logwin use wxLogWindow
1717 --enable-logdialog use wxLogDialog
1718 --enable-webkit use wxWebKitCtrl (Mac)
1719 --enable-richtext use wxRichTextCtrl
1720 --enable-graphics_ctx use graphics context 2D drawing API
1721 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1722 --enable-prologio not available; see contrib
1723 --enable-resources not available; see contrib
1724 --enable-clipboard use wxClipboard class
1725 --enable-dnd use Drag'n
'Drop classes
1726 --enable-metafile use win32 metafiles
1727 --enable-controls use all usual controls
1728 --enable-accel use accelerators
1729 --enable-animatectrl use wxAnimationCtrl class
1730 --enable-button use wxButton class
1731 --enable-bmpbutton use wxBitmapButton class
1732 --enable-bmpcombobox use wxBitmapComboBox class
1733 --enable-calendar use wxCalendarCtrl class
1734 --enable-caret use wxCaret class
1735 --enable-checkbox use wxCheckBox class
1736 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1737 --enable-choice use wxChoice class
1738 --enable-choicebook use wxChoicebook class
1739 --enable-collpane use wxCollapsiblePane class
1740 --enable-colourpicker use wxColourPickerCtrl class
1741 --enable-combobox use wxComboBox class
1742 --enable-comboctrl use wxComboCtrl class
1743 --enable-datepick use wxDatePickerCtrl class
1744 --enable-dirpicker use wxDirPickerCtrl class
1745 --enable-display use wxDisplay class
1746 --enable-detect_sm use code to detect X11 session manager
1747 --enable-filepicker use wxFilePickerCtrl class
1748 --enable-fontpicker use wxFontPickerCtrl class
1749 --enable-gauge use wxGauge class
1750 --enable-grid use wxGrid class
1751 --enable-dataviewctrl use wxDataViewCtrl class
1752 --enable-hyperlink use wxHyperlinkCtrl class
1753 --enable-imaglist use wxImageList class
1754 --enable-listbook use wxListbook class
1755 --enable-listbox use wxListBox class
1756 --enable-listctrl use wxListCtrl class
1757 --enable-notebook use wxNotebook class
1758 --enable-odcombobox use wxOwnerDrawnComboBox class
1759 --enable-radiobox use wxRadioBox class
1760 --enable-radiobtn use wxRadioButton class
1761 --enable-sash use wxSashWindow class
1762 --enable-scrollbar use wxScrollBar class and scrollable windows
1763 --enable-searchctrl use wxSearchCtrl class
1764 --enable-slider use wxSlider class
1765 --enable-spinbtn use wxSpinButton class
1766 --enable-spinctrl use wxSpinCtrl class
1767 --enable-splitter use wxSplitterWindow class
1768 --enable-statbmp use wxStaticBitmap class
1769 --enable-statbox use wxStaticBox class
1770 --enable-statline use wxStaticLine class
1771 --enable-stattext use wxStaticText class
1772 --enable-statusbar use wxStatusBar class
1773 --enable-tabdialog use wxTabControl class
1774 --enable-textctrl use wxTextCtrl class
1775 --enable-togglebtn use wxToggleButton class
1776 --enable-toolbar use wxToolBar class
1777 --enable-tbarnative use native wxToolBar class
1778 --enable-treebook use wxTreebook class
1779 --enable-toolbook use wxToolbook class
1780 --enable-treectrl use wxTreeCtrl class
1781 --enable-tipwindow use wxTipWindow class
1782 --enable-popupwin use wxPopUpWindow class
1783 --enable-commondlg use all common dialogs
1784 --enable-aboutdlg use wxAboutBox
1785 --enable-choicedlg use wxChoiceDialog
1786 --enable-coldlg use wxColourDialog
1787 --enable-filedlg use wxFileDialog
1788 --enable-finddlg use wxFindReplaceDialog
1789 --enable-fontdlg use wxFontDialog
1790 --enable-dirdlg use wxDirDialog
1791 --enable-msgdlg use wxMessageDialog
1792 --enable-numberdlg use wxNumberEntryDialog
1793 --enable-splash use wxSplashScreen
1794 --enable-textdlg use wxTextDialog
1795 --enable-tipdlg use startup tips
1796 --enable-progressdlg use wxProgressDialog
1797 --enable-wizarddlg use wxWizard
1798 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1799 --enable-miniframe use wxMiniFrame class
1800 --enable-tooltips use wxToolTip class
1801 --enable-splines use spline drawing code
1802 --enable-mousewheel use mousewheel
1803 --enable-validators use wxValidator and derived classes
1804 --enable-busyinfo use wxBusyInfo
1805 --enable-joystick use wxJoystick
1806 --enable-metafiles use wxMetaFile (Win32 only)
1807 --enable-dragimage use wxDragImage
1808 --enable-accessibility enable accessibility support
1809 --enable-dccache cache temporary wxDC objects (Win32 only)
1810 --enable-palette use wxPalette class
1811 --enable-image use wxImage class
1812 --enable-gif use gif images (GIF file format)
1813 --enable-pcx use pcx images (PCX file format)
1814 --enable-tga use tga images (TGA file format)
1815 --enable-iff use iff images (IFF file format)
1816 --enable-pnm use pnm images (PNM file format)
1817 --enable-xpm use xpm images (XPM file format)
1818 --enable-icocur use Windows ICO and CUR formats
1819 --enable-official_build official build of wxWidgets (win32 DLL only)
1820 --enable-vendor=VENDOR vendor name (win32 DLL only)
1821 --disable-largefile omit support for large files
1822 --disable-gtktest do not try to compile and run a test GTK+ program
1823 --disable-gtktest Do not try to compile and run a test GTK program
1824 --disable-sdltest Do not try to compile and run a test SDL program
1825 --enable-omf use OMF object format (OS/2)
1826 --disable-dependency-tracking
1827 don't use dependency tracking even
if the compiler
1829 --disable-precomp-headers
1830 don
't use precompiled headers even if compiler can
1833 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1834 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1835 --without-subdirs don't generate makefiles
for samples
/demos
/...
1836 --with-gtk[=VERSION
] use GTK
+, VERSION can be
2 (default
), 1 or
"any"
1837 --with-motif use Motif
/Lesstif
1838 --with-mac use Mac OS X
1839 --with-cocoa use Cocoa
1840 --with-wine use Wine
1841 --with-msw use MS
-Windows
1842 --with-pm use OS
/2 Presentation Manager
1843 --with-mgl use SciTech MGL
1844 --with-directfb use DirectFB
1845 --with-microwin use MicroWindows
1847 --with-libpng use libpng
(PNG image format
)
1848 --with-libjpeg use libjpeg
(JPEG
file format
)
1849 --with-libtiff use libtiff
(TIFF
file format
)
1850 --with-libxpm use libxpm
(XPM
file format
)
1851 --with-libmspack use libmspack
(CHM
help files loading
)
1852 --with-sdl use SDL
for audio on Unix
1853 --with-gnomeprint use GNOME print
for printing under GNOME
1854 --with-gnomevfs use GNOME VFS
for associating MIME types
1855 --with-hildon use Hildon framework
for Nokia
770
1856 --with-opengl use OpenGL
(or Mesa
)
1857 --with-themes=all
|list use only the specified comma
-separated list of wxUniversal themes
1858 --with-dmalloc use dmalloc library
(http
://dmalloc.com
/)
1859 --with-regex enable support
for wxRegEx class
1860 --with-zlib use zlib
for LZW compression
1861 --with-odbc use the IODBC and wxODBC classes
1862 --with-expat enable XML support using expat parser
1863 --with-flavour=NAME specify a name to identify this build
1864 --with-gtk-prefix=PFX Prefix where GTK is installed
(optional
)
1865 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed
(optional
)
1866 --with-x use the X Window System
1867 --with-libiconv-prefix=DIR search
for libiconv
in DIR
/include and DIR
/lib
1868 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1869 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1870 --with-cppunit-prefix=PFX Prefix where CppUnit is installed
(optional
)
1871 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed
(optional
)
1873 Some influential environment variables
:
1874 CC C compiler
command
1875 CFLAGS C compiler flags
1876 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1877 nonstandard directory
<lib dir
>
1878 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1879 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1880 you have headers
in a nonstandard directory
<include dir
>
1882 CXX C
++ compiler
command
1883 CXXFLAGS C
++ compiler flags
1884 CXXCPP C
++ preprocessor
1885 PKG_CONFIG path to pkg
-config utility
1887 C compiler flags
for DIRECTFB
, overriding pkg
-config
1889 linker flags
for DIRECTFB
, overriding pkg
-config
1890 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1892 C compiler flags
for PANGOX
, overriding pkg
-config
1893 PANGOX_LIBS linker flags
for PANGOX
, overriding pkg
-config
1895 C compiler flags
for PANGOFT2
, overriding pkg
-config
1897 linker flags
for PANGOFT2
, overriding pkg
-config
1899 C compiler flags
for PANGOXFT
, overriding pkg
-config
1901 linker flags
for PANGOXFT
, overriding pkg
-config
1902 LIBGNOMEPRINTUI_CFLAGS
1903 C compiler flags
for LIBGNOMEPRINTUI
, overriding pkg
-config
1904 LIBGNOMEPRINTUI_LIBS
1905 linker flags
for LIBGNOMEPRINTUI
, overriding pkg
-config
1907 C compiler flags
for GNOMEVFS
, overriding pkg
-config
1909 linker flags
for GNOMEVFS
, overriding pkg
-config
1911 C compiler flags
for HILDON
, overriding pkg
-config
1912 HILDON_LIBS linker flags
for HILDON
, overriding pkg
-config
1914 C compiler flags
for CAIRO
, overriding pkg
-config
1915 CAIRO_LIBS linker flags
for CAIRO
, overriding pkg
-config
1916 GST_CFLAGS C compiler flags
for GST
, overriding pkg
-config
1917 GST_LIBS linker flags
for GST
, overriding pkg
-config
1919 Use these variables to override the choices made by
`configure' or to help
1920 it to find libraries and programs with nonstandard names/locations.
1922 Report bugs to <wx-dev@lists.wxwidgets.org>.
1927 if test "$ac_init_help" = "recursive"; then
1928 # If there are subdirs, report their specific --help.
1929 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1930 test -d "$ac_dir" || continue
1934 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1936 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1937 # A ".." for each directory in $ac_dir_suffix.
1938 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1939 case $ac_top_builddir_sub in
1940 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1941 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1944 ac_abs_top_builddir=$ac_pwd
1945 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1946 # for backward compatibility:
1947 ac_top_builddir=$ac_top_build_prefix
1950 .) # We are building in place.
1952 ac_top_srcdir=$ac_top_builddir_sub
1953 ac_abs_top_srcdir=$ac_pwd ;;
1954 [\\/]* | ?:[\\/]* ) # Absolute name.
1955 ac_srcdir=$srcdir$ac_dir_suffix;
1956 ac_top_srcdir=$srcdir
1957 ac_abs_top_srcdir=$srcdir ;;
1959 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1960 ac_top_srcdir=$ac_top_build_prefix$srcdir
1961 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1963 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1965 cd "$ac_dir" || { ac_status=$?; continue; }
1966 # Check for guested configure.
1967 if test -f "$ac_srcdir/configure.gnu"; then
1969 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1970 elif test -f "$ac_srcdir/configure"; then
1972 $SHELL "$ac_srcdir/configure" --help=recursive
1974 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1976 cd "$ac_pwd" || { ac_status=$?; break; }
1980 test -n "$ac_init_help" && exit $ac_status
1981 if $ac_init_version; then
1983 wxWidgets configure 2.9.0
1984 generated by GNU Autoconf 2.61
1986 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1987 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1988 This configure script is free software; the Free Software Foundation
1989 gives unlimited permission to copy, distribute and modify it.
1993 cat >config.log <<_ACEOF
1994 This file contains any messages produced by compilers while
1995 running configure, to aid debugging if configure makes a mistake.
1997 It was created by wxWidgets $as_me 2.9.0, which was
1998 generated by GNU Autoconf 2.61. Invocation command line was
2010 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
2011 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
2012 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
2013 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
2014 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
2016 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
2017 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
2019 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
2020 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
2021 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
2022 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null
|| echo unknown
`
2023 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
2024 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
2025 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
2029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2033 test -z "$as_dir" && as_dir=.
2034 echo "PATH: $as_dir"
2050 # Keep a trace of the command line.
2051 # Strip out --no-create and --no-recursion so they do not pile up.
2052 # Strip out --silent because we don't want to record it for future runs.
2053 # Also quote any args containing shell meta-characters.
2054 # Make two passes to allow for proper duplicate-argument suppression.
2058 ac_must_keep_next=false
2064 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2065 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2066 | -silent | --silent | --silen | --sile | --sil)
2069 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2072 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2074 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2075 if test $ac_must_keep_next = true; then
2076 ac_must_keep_next=false # Got value, back to normal.
2079 *=* | --config-cache | -C | -disable-* | --disable-* \
2080 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2081 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2082 | -with-* | --with-* | -without-* | --without-* | --x)
2083 case "$ac_configure_args0 " in
2084 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2087 -* ) ac_must_keep_next=true ;;
2090 ac_configure_args="$ac_configure_args '$ac_arg'"
2095 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2096 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2098 # When interrupted or exit'd, cleanup temporary files, and complete
2099 # config.log. We remove comments because anyway the quotes in there
2100 # would cause problems or look ugly.
2101 # WARNING: Use '\'' to represent an apostrophe within the trap.
2102 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2103 trap 'exit_status=$?
2104 # Save into config.log some information that might help in debugging.
2109 ## ---------------- ##
2110 ## Cache variables. ##
2111 ## ---------------- ##
2114 # The following way of writing the cache mishandles newlines in values,
2116 for ac_var in `(set) 2>&1 | sed -n '\''s
/^\
([a
-zA-Z_][a
-zA-Z0-9_]*\
)=.
*/\
1/p
'\''`; do
2117 eval ac_val=\$$ac_var
2121 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2122 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2125 _ | IFS | as_nl) ;; #(
2126 *) $as_unset $ac_var ;;
2131 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2132 *${as_nl}ac_space=\ *)
2134 "s/'\''/'\''\\\\'\'''\''/g;
2135 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2138 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2146 ## ----------------- ##
2147 ## Output variables. ##
2148 ## ----------------- ##
2151 for ac_var in $ac_subst_vars
2153 eval ac_val=\$$ac_var
2155 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2157 echo "$ac_var='\''$ac_val'\''"
2161 if test -n "$ac_subst_files"; then
2163 ## ------------------- ##
2164 ## File substitutions. ##
2165 ## ------------------- ##
2168 for ac_var in $ac_subst_files
2170 eval ac_val=\$$ac_var
2172 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2174 echo "$ac_var='\''$ac_val'\''"
2179 if test -s confdefs.h; then
2189 test "$ac_signal" != 0 &&
2190 echo "$as_me: caught signal $ac_signal"
2191 echo "$as_me: exit $exit_status"
2193 rm -f core *.core core.conftest.* &&
2194 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2197 for ac_signal in 1 2 13 15; do
2198 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2202 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2203 rm -f -r conftest* confdefs.h
2205 # Predefined preprocessor variables.
2207 cat >>confdefs.h <<_ACEOF
2208 #define PACKAGE_NAME "$PACKAGE_NAME"
2212 cat >>confdefs.h <<_ACEOF
2213 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2217 cat >>confdefs.h <<_ACEOF
2218 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2222 cat >>confdefs.h <<_ACEOF
2223 #define PACKAGE_STRING "$PACKAGE_STRING"
2227 cat >>confdefs.h <<_ACEOF
2228 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2232 # Let the site file select an alternate cache file if it wants to.
2233 # Prefer explicitly selected file to automatically selected ones.
2234 if test -n "$CONFIG_SITE"; then
2235 set x "$CONFIG_SITE"
2236 elif test "x$prefix" != xNONE; then
2237 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2239 set x "$ac_default_prefix/share/config.site" \
2240 "$ac_default_prefix/etc/config.site"
2245 if test -r "$ac_site_file"; then
2246 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2247 echo "$as_me: loading site script $ac_site_file" >&6;}
2248 sed 's/^/| /' "$ac_site_file" >&5
2253 if test -r "$cache_file"; then
2254 # Some versions of bash will fail to source /dev/null (special
2255 # files actually), so we avoid doing that.
2256 if test -f "$cache_file"; then
2257 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2258 echo "$as_me: loading cache $cache_file" >&6;}
2260 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2261 *) . "./$cache_file";;
2265 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2266 echo "$as_me: creating cache $cache_file" >&6;}
2270 # Check that the precious variables saved in the cache have kept the same
2272 ac_cache_corrupted=false
2273 for ac_var in $ac_precious_vars; do
2274 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2275 eval ac_new_set=\$ac_env_${ac_var}_set
2276 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2277 eval ac_new_val=\$ac_env_${ac_var}_value
2278 case $ac_old_set,$ac_new_set in
2280 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2281 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2282 ac_cache_corrupted=: ;;
2284 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
2285 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2286 ac_cache_corrupted=: ;;
2289 if test "x$ac_old_val" != "x$ac_new_val"; then
2290 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2291 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2292 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
2293 echo "$as_me: former value
: $ac_old_val" >&2;}
2294 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
2295 echo "$as_me: current value
: $ac_new_val" >&2;}
2296 ac_cache_corrupted=:
2299 # Pass precious variables to config.status.
2300 if test "$ac_new_set" = set; then
2302 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2303 *) ac_arg=$ac_var=$ac_new_val ;;
2305 case " $ac_configure_args " in
2306 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2307 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2311 if $ac_cache_corrupted; then
2312 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
2313 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
2314 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
2315 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
2316 { (exit 1); exit 1; }; }
2344 ac_cpp='$CPP $CPPFLAGS'
2345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2354 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2355 if test -f "$ac_dir/install-sh"; then
2357 ac_install_sh="$ac_aux_dir/install-sh -c"
2359 elif test -f "$ac_dir/install.sh"; then
2361 ac_install_sh="$ac_aux_dir/install.sh -c"
2363 elif test -f "$ac_dir/shtool"; then
2365 ac_install_sh="$ac_aux_dir/shtool install -c"
2369 if test -z "$ac_aux_dir"; then
2370 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2371 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2372 { (exit 1); exit 1; }; }
2375 # These three variables are undocumented and unsupported,
2376 # and are intended to be withdrawn in a future Autoconf release.
2377 # They can cause serious problems if a builder's source tree is in a directory
2378 # whose full name contains unusual characters.
2379 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2380 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2381 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2384 # Make sure we can run config.sub.
2385 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2386 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2387 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2388 { (exit 1); exit 1; }; }
2390 { echo "$as_me:$LINENO: checking build system type" >&5
2391 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2392 if test "${ac_cv_build+set}" = set; then
2393 echo $ECHO_N "(cached) $ECHO_C" >&6
2395 ac_build_alias=$build_alias
2396 test "x$ac_build_alias" = x &&
2397 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2398 test "x$ac_build_alias" = x &&
2399 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2400 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2401 { (exit 1); exit 1; }; }
2402 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2403 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2404 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2405 { (exit 1); exit 1; }; }
2408 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2409 echo "${ECHO_T}$ac_cv_build" >&6; }
2410 case $ac_cv_build in
2412 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2413 echo "$as_me: error: invalid value of canonical build" >&2;}
2414 { (exit 1); exit 1; }; };;
2417 ac_save_IFS=$IFS; IFS='-'
2423 # Remember, the first character of IFS is used to create $*,
2424 # except with old shells:
2427 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2430 { echo "$as_me:$LINENO: checking host system type" >&5
2431 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2432 if test "${ac_cv_host+set}" = set; then
2433 echo $ECHO_N "(cached) $ECHO_C" >&6
2435 if test "x$host_alias" = x; then
2436 ac_cv_host=$ac_cv_build
2438 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2439 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2440 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2441 { (exit 1); exit 1; }; }
2445 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2446 echo "${ECHO_T}$ac_cv_host" >&6; }
2449 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2450 echo "$as_me: error: invalid value of canonical host" >&2;}
2451 { (exit 1); exit 1; }; };;
2454 ac_save_IFS=$IFS; IFS='-'
2460 # Remember, the first character of IFS is used to create $*,
2461 # except with old shells:
2464 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2467 { echo "$as_me:$LINENO: checking target system type" >&5
2468 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2469 if test "${ac_cv_target+set}" = set; then
2470 echo $ECHO_N "(cached) $ECHO_C" >&6
2472 if test "x$target_alias" = x; then
2473 ac_cv_target=$ac_cv_host
2475 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2476 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2477 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2478 { (exit 1); exit 1; }; }
2482 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2483 echo "${ECHO_T}$ac_cv_target" >&6; }
2484 case $ac_cv_target in
2486 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2487 echo "$as_me: error: invalid value of canonical target" >&2;}
2488 { (exit 1); exit 1; }; };;
2490 target=$ac_cv_target
2491 ac_save_IFS=$IFS; IFS='-'
2497 # Remember, the first character of IFS is used to create $*,
2498 # except with old shells:
2501 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2504 # The aliases save the names the user supplied, while $host etc.
2505 # will get canonicalized.
2506 test -n "$target_alias" &&
2507 test "$program_prefix$program_suffix$program_transform_name" = \
2509 program_prefix=${target_alias}-
2513 wx_major_version_number=2
2514 wx_minor_version_number=9
2516 wx_subrelease_number=0
2518 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2519 WX_VERSION=$WX_RELEASE.$wx_release_number
2520 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2522 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2525 wx_top_builddir="`pwd`"
2538 USE_BSD= USE_DARWIN= USE_FREEBSD=
2544 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2550 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2552 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2554 DEFAULT_wxUSE_COCOA=0
2558 DEFAULT_wxUSE_MICROWIN=0
2559 DEFAULT_wxUSE_MOTIF=0
2565 DEFAULT_DEFAULT_wxUSE_COCOA=0
2566 DEFAULT_DEFAULT_wxUSE_GTK=0
2567 DEFAULT_DEFAULT_wxUSE_MAC=0
2568 DEFAULT_DEFAULT_wxUSE_MGL=0
2569 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2570 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2571 DEFAULT_DEFAULT_wxUSE_MSW=0
2572 DEFAULT_DEFAULT_wxUSE_PM=0
2573 DEFAULT_DEFAULT_wxUSE_X11=0
2574 DEFAULT_DEFAULT_wxUSE_DFB=0
2579 SAMPLES_RPATH_POSTLINK=
2581 DEFAULT_STD_FLAG=yes
2586 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2587 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2589 cat >>confdefs.h <<\_ACEOF
2594 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2598 cat >>confdefs.h <<\_ACEOF
2603 if test "x$TMP" = "xalpha"; then
2605 cat >>confdefs.h <<\_ACEOF
2610 DEFAULT_DEFAULT_wxUSE_GTK=1
2612 *-*-gnu* | *-*-k*bsd*-gnu )
2615 if test "x$TMP" = "xalpha"; then
2617 cat >>confdefs.h <<\_ACEOF
2622 DEFAULT_DEFAULT_wxUSE_GTK=1
2624 *-*-irix5* | *-*-irix6* )
2627 cat >>confdefs.h <<\_ACEOF
2631 cat >>confdefs.h <<\_ACEOF
2635 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2641 cat >>confdefs.h <<\_ACEOF
2645 cat >>confdefs.h <<\_ACEOF
2646 #define __SOLARIS__ 1
2649 cat >>confdefs.h <<\_ACEOF
2653 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2654 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2660 cat >>confdefs.h <<\_ACEOF
2664 cat >>confdefs.h <<\_ACEOF
2668 cat >>confdefs.h <<\_ACEOF
2672 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2677 cat >>confdefs.h <<\_ACEOF
2678 #define __FREEBSD__ 1
2681 cat >>confdefs.h <<\_ACEOF
2685 DEFAULT_DEFAULT_wxUSE_GTK=1
2687 *-*-openbsd*|*-*-mirbsd*)
2690 cat >>confdefs.h <<\_ACEOF
2691 #define __OPENBSD__ 1
2694 cat >>confdefs.h <<\_ACEOF
2698 DEFAULT_DEFAULT_wxUSE_GTK=1
2703 cat >>confdefs.h <<\_ACEOF
2704 #define __NETBSD__ 1
2707 cat >>confdefs.h <<\_ACEOF
2711 DEFAULT_DEFAULT_wxUSE_GTK=1
2712 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2714 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2719 cat >>confdefs.h <<\_ACEOF
2723 cat >>confdefs.h <<\_ACEOF
2727 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2728 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2733 cat >>confdefs.h <<\_ACEOF
2737 cat >>confdefs.h <<\_ACEOF
2741 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2746 cat >>confdefs.h <<\_ACEOF
2750 cat >>confdefs.h <<\_ACEOF
2754 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2761 cat >>confdefs.h <<\_ACEOF
2765 cat >>confdefs.h <<\_ACEOF
2769 cat >>confdefs.h <<\_ACEOF
2773 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2780 cat >>confdefs.h <<\_ACEOF
2781 #define __UNIXWARE__ 1
2786 *-*-cygwin* | *-*-mingw32* )
2789 DEFAULT_DEFAULT_wxUSE_MSW=1
2795 cat >>confdefs.h <<\_ACEOF
2800 DEFAULT_DEFAULT_wxUSE_MGL=1
2803 *-pc-os2_emx | *-pc-os2-emx )
2804 cat >>confdefs.h <<\_ACEOF
2809 cat >>confdefs.h <<\_ACEOF
2814 DEFAULT_DEFAULT_wxUSE_PM=1
2816 LDFLAGS="$LDFLAGS -Zcrtdll"
2817 ac_executable_extensions=".exe"
2818 export ac_executable_extensions
2822 for ac_dir in $PATH; do
2824 if test -z "$ac_TEMP_PATH"; then
2825 ac_TEMP_PATH="$ac_dir"
2827 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2830 export PATH="$ac_TEMP_PATH"
2839 cat >>confdefs.h <<\_ACEOF
2843 cat >>confdefs.h <<\_ACEOF
2844 #define __DARWIN__ 1
2847 cat >>confdefs.h <<\_ACEOF
2848 #define TARGET_CARBON 1
2851 DEFAULT_DEFAULT_wxUSE_MAC=1
2854 powerpc-apple-macos* )
2856 ac_cv_c_bigendian=yes
2858 DEFAULT_DEFAULT_wxUSE_MAC=1
2864 cat >>confdefs.h <<\_ACEOF
2871 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2872 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2873 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2874 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2876 DEFAULT_DEFAULT_wxUSE_X11=1
2877 DEFAULT_wxUSE_SHARED=no
2883 wx_arg_cache_file="configarg.cache"
2884 echo "loading argument cache $wx_arg_cache_file"
2885 rm -f ${wx_arg_cache_file}.tmp
2886 touch ${wx_arg_cache_file}.tmp
2887 touch ${wx_arg_cache_file}
2891 if test $DEBUG_CONFIGURE = 1; then
2892 DEFAULT_wxUSE_UNIVERSAL=no
2893 DEFAULT_wxUSE_STL=no
2895 DEFAULT_wxUSE_NANOX=no
2897 DEFAULT_wxUSE_THREADS=yes
2899 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2900 DEFAULT_wxUSE_OPTIMISE=no
2901 DEFAULT_wxUSE_PROFILE=no
2902 DEFAULT_wxUSE_NO_DEPS=no
2903 DEFAULT_wxUSE_VARARG_MACROS=no
2904 DEFAULT_wxUSE_NO_RTTI=no
2905 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2906 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2907 DEFAULT_wxUSE_RPATH=yes
2908 DEFAULT_wxUSE_PERMISSIVE=no
2909 DEFAULT_wxUSE_DEBUG_FLAG=yes
2910 DEFAULT_wxUSE_DEBUG_INFO=yes
2911 DEFAULT_wxUSE_DEBUG_GDB=yes
2912 DEFAULT_wxUSE_MEM_TRACING=no
2913 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2914 DEFAULT_wxUSE_DMALLOC=no
2915 DEFAULT_wxUSE_APPLE_IEEE=no
2917 DEFAULT_wxUSE_EXCEPTIONS=no
2918 DEFAULT_wxUSE_LOG=yes
2919 DEFAULT_wxUSE_LOGWINDOW=no
2920 DEFAULT_wxUSE_LOGGUI=no
2921 DEFAULT_wxUSE_LOGDIALOG=no
2923 DEFAULT_wxUSE_GUI=yes
2924 DEFAULT_wxUSE_CONTROLS=no
2926 DEFAULT_wxUSE_REGEX=no
2927 DEFAULT_wxUSE_XML=no
2928 DEFAULT_wxUSE_EXPAT=no
2929 DEFAULT_wxUSE_ZLIB=no
2930 DEFAULT_wxUSE_LIBPNG=no
2931 DEFAULT_wxUSE_LIBJPEG=no
2932 DEFAULT_wxUSE_LIBTIFF=no
2933 DEFAULT_wxUSE_LIBXPM=no
2934 DEFAULT_wxUSE_LIBMSPACK=no
2935 DEFAULT_wxUSE_LIBSDL=no
2936 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2937 DEFAULT_wxUSE_LIBGNOMEVFS=no
2938 DEFAULT_wxUSE_LIBHILDON=no
2939 DEFAULT_wxUSE_ODBC=no
2940 DEFAULT_wxUSE_OPENGL=no
2942 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2943 DEFAULT_wxUSE_STACKWALKER=no
2944 DEFAULT_wxUSE_DEBUGREPORT=no
2945 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2946 DEFAULT_wxUSE_STD_IOSTREAM=no
2947 DEFAULT_wxUSE_STD_STRING=no
2948 DEFAULT_wxUSE_CMDLINE_PARSER=no
2949 DEFAULT_wxUSE_DATETIME=no
2950 DEFAULT_wxUSE_TIMER=no
2951 DEFAULT_wxUSE_STOPWATCH=no
2952 DEFAULT_wxUSE_FILE=no
2953 DEFAULT_wxUSE_FFILE=no
2954 DEFAULT_wxUSE_STDPATHS=no
2955 DEFAULT_wxUSE_TEXTBUFFER=no
2956 DEFAULT_wxUSE_TEXTFILE=no
2957 DEFAULT_wxUSE_SOUND=no
2958 DEFAULT_wxUSE_MEDIACTRL=no
2959 DEFAULT_wxUSE_GSTREAMER8=no
2960 DEFAULT_wxUSE_PRINTF_POS_PARAMS=no
2961 DEFAULT_wxUSE_INTL=no
2962 DEFAULT_wxUSE_CONFIG=no
2963 DEFAULT_wxUSE_FONTMAP=no
2964 DEFAULT_wxUSE_STREAMS=no
2965 DEFAULT_wxUSE_SOCKETS=no
2966 DEFAULT_wxUSE_OLE=no
2967 DEFAULT_wxUSE_DATAOBJ=no
2968 DEFAULT_wxUSE_DIALUP_MANAGER=no
2969 DEFAULT_wxUSE_JOYSTICK=no
2970 DEFAULT_wxUSE_DYNLIB_CLASS=no
2971 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2972 DEFAULT_wxUSE_LONGLONG=no
2973 DEFAULT_wxUSE_GEOMETRY=no
2975 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2976 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2977 DEFAULT_wxUSE_POSTSCRIPT=no
2979 DEFAULT_wxUSE_CLIPBOARD=no
2980 DEFAULT_wxUSE_TOOLTIPS=no
2981 DEFAULT_wxUSE_DRAG_AND_DROP=no
2982 DEFAULT_wxUSE_DRAGIMAGE=no
2983 DEFAULT_wxUSE_SPLINES=no
2984 DEFAULT_wxUSE_MOUSEWHEEL=no
2986 DEFAULT_wxUSE_MDI=no
2987 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2988 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2989 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2991 DEFAULT_wxUSE_RESOURCES=no
2992 DEFAULT_wxUSE_CONSTRAINTS=no
2993 DEFAULT_wxUSE_IPC=no
2994 DEFAULT_wxUSE_HELP=no
2995 DEFAULT_wxUSE_MS_HTML_HELP=no
2996 DEFAULT_wxUSE_WXHTML_HELP=no
2997 DEFAULT_wxUSE_TREELAYOUT=no
2998 DEFAULT_wxUSE_METAFILE=no
2999 DEFAULT_wxUSE_MIMETYPE=no
3000 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
3001 DEFAULT_wxUSE_PROTOCOL=no
3002 DEFAULT_wxUSE_PROTOCOL_HTTP=no
3003 DEFAULT_wxUSE_PROTOCOL_FTP=no
3004 DEFAULT_wxUSE_PROTOCOL_FILE=no
3005 DEFAULT_wxUSE_URL=no
3006 DEFAULT_wxUSE_VARIANT=no
3008 DEFAULT_wxUSE_ABOUTDLG=no
3009 DEFAULT_wxUSE_COMMONDLGS=no
3010 DEFAULT_wxUSE_CHOICEDLG=no
3011 DEFAULT_wxUSE_COLOURDLG=no
3012 DEFAULT_wxUSE_DIRDLG=no
3013 DEFAULT_wxUSE_FILEDLG=no
3014 DEFAULT_wxUSE_FINDREPLDLG=no
3015 DEFAULT_wxUSE_FONTDLG=no
3016 DEFAULT_wxUSE_MSGDLG=no
3017 DEFAULT_wxUSE_NUMBERDLG=no
3018 DEFAULT_wxUSE_TEXTDLG=no
3019 DEFAULT_wxUSE_SPLASH=no
3020 DEFAULT_wxUSE_STARTUP_TIPS=no
3021 DEFAULT_wxUSE_PROGRESSDLG=no
3022 DEFAULT_wxUSE_WIZARDDLG=no
3024 DEFAULT_wxUSE_MENUS=no
3025 DEFAULT_wxUSE_MINIFRAME=no
3026 DEFAULT_wxUSE_HTML=no
3027 DEFAULT_wxUSE_RICHTEXT=no
3028 DEFAULT_wxUSE_XRC=no
3029 DEFAULT_wxUSE_AUI=no
3030 DEFAULT_wxUSE_WEBKIT=no
3031 DEFAULT_wxUSE_FILESYSTEM=no
3032 DEFAULT_wxUSE_FS_INET=no
3033 DEFAULT_wxUSE_FS_ZIP=no
3034 DEFAULT_wxUSE_FS_ARCHIVE=no
3035 DEFAULT_wxUSE_BUSYINFO=no
3036 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
3037 DEFAULT_wxUSE_ZIPSTREAM=no
3038 DEFAULT_wxUSE_TARSTREAM=no
3039 DEFAULT_wxUSE_VALIDATORS=no
3041 DEFAULT_wxUSE_ACCEL=no
3042 DEFAULT_wxUSE_ANIMATIONCTRL=no
3043 DEFAULT_wxUSE_BUTTON=no
3044 DEFAULT_wxUSE_BMPBUTTON=no
3045 DEFAULT_wxUSE_BITMAPCOMBOBOX=no
3046 DEFAULT_wxUSE_CALCTRL=no
3047 DEFAULT_wxUSE_CARET=no
3048 DEFAULT_wxUSE_CHECKBOX=no
3049 DEFAULT_wxUSE_CHECKLST=no
3050 DEFAULT_wxUSE_CHOICE=no
3051 DEFAULT_wxUSE_CHOICEBOOK=no
3052 DEFAULT_wxUSE_COLLPANE=no
3053 DEFAULT_wxUSE_COLOURPICKERCTRL=no
3054 DEFAULT_wxUSE_COMBOBOX=no
3055 DEFAULT_wxUSE_COMBOCTRL=no
3056 DEFAULT_wxUSE_DATEPICKCTRL=no
3057 DEFAULT_wxUSE_DISPLAY=no
3058 DEFAULT_wxUSE_DETECT_SM=no
3059 DEFAULT_wxUSE_DIRPICKERCTRL=no
3060 DEFAULT_wxUSE_FILEPICKERCTRL=no
3061 DEFAULT_wxUSE_FONTPICKERCTRL=no
3062 DEFAULT_wxUSE_GAUGE=no
3063 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
3064 DEFAULT_wxUSE_GRID=no
3065 DEFAULT_wxUSE_HYPERLINKCTRL=no
3066 DEFAULT_wxUSE_DATAVIEWCTRL=no
3067 DEFAULT_wxUSE_IMAGLIST=no
3068 DEFAULT_wxUSE_LISTBOOK=no
3069 DEFAULT_wxUSE_LISTBOX=no
3070 DEFAULT_wxUSE_LISTCTRL=no
3071 DEFAULT_wxUSE_NOTEBOOK=no
3072 DEFAULT_wxUSE_ODCOMBOBOX=no
3073 DEFAULT_wxUSE_RADIOBOX=no
3074 DEFAULT_wxUSE_RADIOBTN=no
3075 DEFAULT_wxUSE_SASH=no
3076 DEFAULT_wxUSE_SCROLLBAR=no
3077 DEFAULT_wxUSE_SEARCHCTRL=no
3078 DEFAULT_wxUSE_SLIDER=no
3079 DEFAULT_wxUSE_SPINBTN=no
3080 DEFAULT_wxUSE_SPINCTRL=no
3081 DEFAULT_wxUSE_SPLITTER=no
3082 DEFAULT_wxUSE_STATBMP=no
3083 DEFAULT_wxUSE_STATBOX=no
3084 DEFAULT_wxUSE_STATLINE=no
3085 DEFAULT_wxUSE_STATTEXT=no
3086 DEFAULT_wxUSE_STATUSBAR=yes
3087 DEFAULT_wxUSE_TAB_DIALOG=no
3088 DEFAULT_wxUSE_TEXTCTRL=no
3089 DEFAULT_wxUSE_TOGGLEBTN=no
3090 DEFAULT_wxUSE_TOOLBAR=no
3091 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
3092 DEFAULT_wxUSE_TREEBOOK=no
3093 DEFAULT_wxUSE_TOOLBOOK=no
3094 DEFAULT_wxUSE_TREECTRL=no
3095 DEFAULT_wxUSE_POPUPWIN=no
3096 DEFAULT_wxUSE_TIPWINDOW=no
3098 DEFAULT_wxUSE_UNICODE=no
3099 DEFAULT_wxUSE_UNICODE_MSLU=no
3100 DEFAULT_wxUSE_WCSRTOMBS=no
3102 DEFAULT_wxUSE_PALETTE=no
3103 DEFAULT_wxUSE_IMAGE=no
3104 DEFAULT_wxUSE_GIF=no
3105 DEFAULT_wxUSE_PCX=no
3106 DEFAULT_wxUSE_TGA=no
3107 DEFAULT_wxUSE_PNM=no
3108 DEFAULT_wxUSE_IFF=no
3109 DEFAULT_wxUSE_XPM=no
3110 DEFAULT_wxUSE_ICO_CUR=no
3111 DEFAULT_wxUSE_ACCESSIBILITY=no
3113 DEFAULT_wxUSE_MONOLITHIC=no
3114 DEFAULT_wxUSE_PLUGINS=no
3115 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3117 DEFAULT_wxUSE_UNIVERSAL=no
3118 DEFAULT_wxUSE_STL=no
3120 DEFAULT_wxUSE_NANOX=no
3122 DEFAULT_wxUSE_THREADS=yes
3124 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
3125 DEFAULT_wxUSE_OPTIMISE=yes
3126 DEFAULT_wxUSE_PROFILE=no
3127 DEFAULT_wxUSE_NO_DEPS=no
3128 DEFAULT_wxUSE_VARARG_MACROS=yes
3129 DEFAULT_wxUSE_NO_RTTI=no
3130 DEFAULT_wxUSE_NO_EXCEPTIONS=no
3131 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
3132 DEFAULT_wxUSE_RPATH=yes
3133 DEFAULT_wxUSE_PERMISSIVE=no
3134 DEFAULT_wxUSE_DEBUG_FLAG=no
3135 DEFAULT_wxUSE_DEBUG_INFO=no
3136 DEFAULT_wxUSE_DEBUG_GDB=no
3137 DEFAULT_wxUSE_MEM_TRACING=no
3138 DEFAULT_wxUSE_DEBUG_CONTEXT=no
3139 DEFAULT_wxUSE_DMALLOC=no
3140 DEFAULT_wxUSE_APPLE_IEEE=yes
3142 DEFAULT_wxUSE_EXCEPTIONS=yes
3143 DEFAULT_wxUSE_LOG=yes
3144 DEFAULT_wxUSE_LOGWINDOW=yes
3145 DEFAULT_wxUSE_LOGGUI=yes
3146 DEFAULT_wxUSE_LOGDIALOG=yes
3148 DEFAULT_wxUSE_GUI=yes
3150 DEFAULT_wxUSE_REGEX=yes
3151 DEFAULT_wxUSE_XML=yes
3152 DEFAULT_wxUSE_EXPAT=yes
3153 DEFAULT_wxUSE_ZLIB=yes
3154 DEFAULT_wxUSE_LIBPNG=yes
3155 DEFAULT_wxUSE_LIBJPEG=yes
3156 DEFAULT_wxUSE_LIBTIFF=yes
3157 DEFAULT_wxUSE_LIBXPM=yes
3158 DEFAULT_wxUSE_LIBMSPACK=yes
3159 DEFAULT_wxUSE_LIBSDL=no
3160 DEFAULT_wxUSE_LIBGNOMEPRINT=yes
3161 DEFAULT_wxUSE_LIBGNOMEVFS=no
3162 DEFAULT_wxUSE_LIBHILDON=no
3163 DEFAULT_wxUSE_ODBC=no
3164 DEFAULT_wxUSE_OPENGL=no
3166 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
3167 DEFAULT_wxUSE_STACKWALKER=yes
3168 DEFAULT_wxUSE_DEBUGREPORT=yes
3169 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
3170 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
3171 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
3172 DEFAULT_wxUSE_CMDLINE_PARSER=yes
3173 DEFAULT_wxUSE_DATETIME=yes
3174 DEFAULT_wxUSE_TIMER=yes
3175 DEFAULT_wxUSE_STOPWATCH=yes
3176 DEFAULT_wxUSE_FILE=yes
3177 DEFAULT_wxUSE_FFILE=yes
3178 DEFAULT_wxUSE_STDPATHS=yes
3179 DEFAULT_wxUSE_TEXTBUFFER=yes
3180 DEFAULT_wxUSE_TEXTFILE=yes
3181 DEFAULT_wxUSE_SOUND=yes
3182 DEFAULT_wxUSE_MEDIACTRL=no
3183 DEFAULT_wxUSE_GSTREAMER8=no
3184 DEFAULT_wxUSE_PRINTF_POS_PARAMS=yes
3185 DEFAULT_wxUSE_INTL=yes
3186 DEFAULT_wxUSE_CONFIG=yes
3187 DEFAULT_wxUSE_FONTMAP=yes
3188 DEFAULT_wxUSE_STREAMS=yes
3189 DEFAULT_wxUSE_SOCKETS=yes
3190 DEFAULT_wxUSE_OLE=yes
3191 DEFAULT_wxUSE_DATAOBJ=yes
3192 DEFAULT_wxUSE_DIALUP_MANAGER=yes
3193 DEFAULT_wxUSE_JOYSTICK=yes
3194 DEFAULT_wxUSE_DYNLIB_CLASS=yes
3195 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
3196 DEFAULT_wxUSE_LONGLONG=yes
3197 DEFAULT_wxUSE_GEOMETRY=yes
3199 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
3200 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
3201 DEFAULT_wxUSE_POSTSCRIPT=yes
3203 DEFAULT_wxUSE_CLIPBOARD=yes
3204 DEFAULT_wxUSE_TOOLTIPS=yes
3205 DEFAULT_wxUSE_DRAG_AND_DROP=yes
3206 DEFAULT_wxUSE_DRAGIMAGE=yes
3207 DEFAULT_wxUSE_SPLINES=yes
3208 DEFAULT_wxUSE_MOUSEWHEEL=yes
3210 DEFAULT_wxUSE_MDI=yes
3211 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
3212 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
3213 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
3215 DEFAULT_wxUSE_RESOURCES=no
3216 DEFAULT_wxUSE_CONSTRAINTS=yes
3217 DEFAULT_wxUSE_IPC=yes
3218 DEFAULT_wxUSE_HELP=yes
3219 DEFAULT_wxUSE_MS_HTML_HELP=yes
3220 DEFAULT_wxUSE_WXHTML_HELP=yes
3221 DEFAULT_wxUSE_TREELAYOUT=yes
3222 DEFAULT_wxUSE_METAFILE=yes
3223 DEFAULT_wxUSE_MIMETYPE=yes
3224 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
3225 DEFAULT_wxUSE_PROTOCOL=yes
3226 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
3227 DEFAULT_wxUSE_PROTOCOL_FTP=yes
3228 DEFAULT_wxUSE_PROTOCOL_FILE=yes
3229 DEFAULT_wxUSE_URL=yes
3230 DEFAULT_wxUSE_VARIANT=yes
3232 DEFAULT_wxUSE_ABOUTDLG=yes
3233 DEFAULT_wxUSE_COMMONDLGS=yes
3234 DEFAULT_wxUSE_CHOICEDLG=yes
3235 DEFAULT_wxUSE_COLOURDLG=yes
3236 DEFAULT_wxUSE_DIRDLG=yes
3237 DEFAULT_wxUSE_FILEDLG=yes
3238 DEFAULT_wxUSE_FINDREPLDLG=yes
3239 DEFAULT_wxUSE_FONTDLG=yes
3240 DEFAULT_wxUSE_MSGDLG=yes
3241 DEFAULT_wxUSE_NUMBERDLG=yes
3242 DEFAULT_wxUSE_TEXTDLG=yes
3243 DEFAULT_wxUSE_SPLASH=yes
3244 DEFAULT_wxUSE_STARTUP_TIPS=yes
3245 DEFAULT_wxUSE_PROGRESSDLG=yes
3246 DEFAULT_wxUSE_WIZARDDLG=yes
3248 DEFAULT_wxUSE_MENUS=yes
3249 DEFAULT_wxUSE_MINIFRAME=yes
3250 DEFAULT_wxUSE_HTML=yes
3251 DEFAULT_wxUSE_RICHTEXT=yes
3252 DEFAULT_wxUSE_XRC=yes
3253 DEFAULT_wxUSE_AUI=yes
3254 DEFAULT_wxUSE_WEBKIT=yes
3255 DEFAULT_wxUSE_FILESYSTEM=yes
3256 DEFAULT_wxUSE_FS_INET=yes
3257 DEFAULT_wxUSE_FS_ZIP=yes
3258 DEFAULT_wxUSE_FS_ARCHIVE=yes
3259 DEFAULT_wxUSE_BUSYINFO=yes
3260 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
3261 DEFAULT_wxUSE_ZIPSTREAM=yes
3262 DEFAULT_wxUSE_TARSTREAM=yes
3263 DEFAULT_wxUSE_VALIDATORS=yes
3265 DEFAULT_wxUSE_ACCEL=yes
3266 DEFAULT_wxUSE_ANIMATIONCTRL=yes
3267 DEFAULT_wxUSE_BUTTON=yes
3268 DEFAULT_wxUSE_BMPBUTTON=yes
3269 DEFAULT_wxUSE_BITMAPCOMBOBOX=yes
3270 DEFAULT_wxUSE_CALCTRL=yes
3271 DEFAULT_wxUSE_CARET=yes
3272 DEFAULT_wxUSE_CHECKBOX=yes
3273 DEFAULT_wxUSE_CHECKLST=yes
3274 DEFAULT_wxUSE_CHOICE=yes
3275 DEFAULT_wxUSE_CHOICEBOOK=yes
3276 DEFAULT_wxUSE_COLLPANE=yes
3277 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
3278 DEFAULT_wxUSE_COMBOBOX=yes
3279 DEFAULT_wxUSE_COMBOCTRL=yes
3280 DEFAULT_wxUSE_DATEPICKCTRL=yes
3281 DEFAULT_wxUSE_DISPLAY=yes
3282 DEFAULT_wxUSE_DETECT_SM=yes
3283 DEFAULT_wxUSE_DIRPICKERCTRL=yes
3284 DEFAULT_wxUSE_FILEPICKERCTRL=yes
3285 DEFAULT_wxUSE_FONTPICKERCTRL=yes
3286 DEFAULT_wxUSE_GAUGE=yes
3287 DEFAULT_wxUSE_GRID=yes
3288 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
3289 DEFAULT_wxUSE_HYPERLINKCTRL=yes
3290 DEFAULT_wxUSE_DATAVIEWCTRL=no
3291 DEFAULT_wxUSE_IMAGLIST=yes
3292 DEFAULT_wxUSE_LISTBOOK=yes
3293 DEFAULT_wxUSE_LISTBOX=yes
3294 DEFAULT_wxUSE_LISTCTRL=yes
3295 DEFAULT_wxUSE_NOTEBOOK=yes
3296 DEFAULT_wxUSE_ODCOMBOBOX=yes
3297 DEFAULT_wxUSE_RADIOBOX=yes
3298 DEFAULT_wxUSE_RADIOBTN=yes
3299 DEFAULT_wxUSE_SASH=yes
3300 DEFAULT_wxUSE_SCROLLBAR=yes
3301 DEFAULT_wxUSE_SEARCHCTRL=yes
3302 DEFAULT_wxUSE_SLIDER=yes
3303 DEFAULT_wxUSE_SPINBTN=yes
3304 DEFAULT_wxUSE_SPINCTRL=yes
3305 DEFAULT_wxUSE_SPLITTER=yes
3306 DEFAULT_wxUSE_STATBMP=yes
3307 DEFAULT_wxUSE_STATBOX=yes
3308 DEFAULT_wxUSE_STATLINE=yes
3309 DEFAULT_wxUSE_STATTEXT=yes
3310 DEFAULT_wxUSE_STATUSBAR=yes
3311 DEFAULT_wxUSE_TAB_DIALOG=no
3312 DEFAULT_wxUSE_TEXTCTRL=yes
3313 DEFAULT_wxUSE_TOGGLEBTN=yes
3314 DEFAULT_wxUSE_TOOLBAR=yes
3315 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
3316 DEFAULT_wxUSE_TREEBOOK=yes
3317 DEFAULT_wxUSE_TOOLBOOK=yes
3318 DEFAULT_wxUSE_TREECTRL=yes
3319 DEFAULT_wxUSE_POPUPWIN=yes
3320 DEFAULT_wxUSE_TIPWINDOW=yes
3322 DEFAULT_wxUSE_UNICODE=no
3323 DEFAULT_wxUSE_UNICODE_MSLU=yes
3324 DEFAULT_wxUSE_WCSRTOMBS=no
3326 DEFAULT_wxUSE_PALETTE=yes
3327 DEFAULT_wxUSE_IMAGE=yes
3328 DEFAULT_wxUSE_GIF=yes
3329 DEFAULT_wxUSE_PCX=yes
3330 DEFAULT_wxUSE_TGA=yes
3331 DEFAULT_wxUSE_IFF=no DEFAULT_wxUSE_PNM=yes
3332 DEFAULT_wxUSE_XPM=yes
3333 DEFAULT_wxUSE_ICO_CUR=yes
3334 DEFAULT_wxUSE_ACCESSIBILITY=no
3336 DEFAULT_wxUSE_MONOLITHIC=no
3337 DEFAULT_wxUSE_PLUGINS=no
3338 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3340 DEFAULT_wxUSE_GTK2=yes
3346 for toolkit in `echo $ALL_TOOLKITS`; do
3347 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
3348 if test "x$LINE" != "x" ; then
3349 has_toolkit_in_cache=1
3350 eval "DEFAULT_$LINE"
3351 eval "CACHE_$toolkit=1"
3353 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
3354 if test "x$LINE" != "x" ; then
3355 eval "DEFAULT_$LINE"
3363 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3364 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3366 # Check whether --enable-gui was given.
3367 if test "${enable_gui+set}" = set; then
3368 enableval=$enable_gui;
3369 if test "$enableval" = yes; then
3370 ac_cv_use_gui='wxUSE_GUI=yes'
3372 ac_cv_use_gui='wxUSE_GUI=no'
3377 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
3378 if test "x$LINE" != x ; then
3379 eval "DEFAULT_$LINE"
3384 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
3389 eval "$ac_cv_use_gui"
3390 if test "$no_cache" != 1; then
3391 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
3394 if test "$wxUSE_GUI" = yes; then
3395 { echo "$as_me:$LINENO: result: yes" >&5
3396 echo "${ECHO_T}yes" >&6; }
3398 { echo "$as_me:$LINENO: result: no" >&5
3399 echo "${ECHO_T}no" >&6; }
3404 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3405 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3407 # Check whether --enable-monolithic was given.
3408 if test "${enable_monolithic+set}" = set; then
3409 enableval=$enable_monolithic;
3410 if test "$enableval" = yes; then
3411 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3413 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3418 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
3419 if test "x$LINE" != x ; then
3420 eval "DEFAULT_$LINE"
3425 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
3430 eval "$ac_cv_use_monolithic"
3431 if test "$no_cache" != 1; then
3432 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
3435 if test "$wxUSE_MONOLITHIC" = yes; then
3436 { echo "$as_me:$LINENO: result: yes" >&5
3437 echo "${ECHO_T}yes" >&6; }
3439 { echo "$as_me:$LINENO: result: no" >&5
3440 echo "${ECHO_T}no" >&6; }
3445 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3446 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3448 # Check whether --enable-plugins was given.
3449 if test "${enable_plugins+set}" = set; then
3450 enableval=$enable_plugins;
3451 if test "$enableval" = yes; then
3452 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
3454 ac_cv_use_plugins='wxUSE_PLUGINS=no'
3459 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
3460 if test "x$LINE" != x ; then
3461 eval "DEFAULT_$LINE"
3466 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
3471 eval "$ac_cv_use_plugins"
3472 if test "$no_cache" != 1; then
3473 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
3476 if test "$wxUSE_PLUGINS" = yes; then
3477 { echo "$as_me:$LINENO: result: yes" >&5
3478 echo "${ECHO_T}yes" >&6; }
3480 { echo "$as_me:$LINENO: result: no" >&5
3481 echo "${ECHO_T}no" >&6; }
3486 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3487 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3490 # Check whether --with-subdirs was given.
3491 if test "${with_subdirs+set}" = set; then
3492 withval=$with_subdirs;
3493 if test "$withval" = yes; then
3494 ac_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3496 ac_cv_use_subdirs='wxWITH_SUBDIRS=no'
3501 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
3502 if test "x$LINE" != x ; then
3503 eval "DEFAULT_$LINE"
3508 ac_cv_use_subdirs='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
3513 eval "$ac_cv_use_subdirs"
3514 if test "$no_cache" != 1; then
3515 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
3518 if test "$wxWITH_SUBDIRS" = yes; then
3519 { echo "$as_me:$LINENO: result: yes" >&5
3520 echo "${ECHO_T}yes" >&6; }
3522 { echo "$as_me:$LINENO: result: no" >&5
3523 echo "${ECHO_T}no" >&6; }
3527 if test "$wxUSE_GUI" = "yes"; then
3531 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3532 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3534 # Check whether --enable-universal was given.
3535 if test "${enable_universal+set}" = set; then
3536 enableval=$enable_universal;
3537 if test "$enableval" = yes; then
3538 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
3540 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
3545 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
3546 if test "x$LINE" != x ; then
3547 eval "DEFAULT_$LINE"
3552 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
3557 eval "$ac_cv_use_universal"
3558 if test "$no_cache" != 1; then
3559 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
3562 if test "$wxUSE_UNIVERSAL" = yes; then
3563 { echo "$as_me:$LINENO: result: yes" >&5
3564 echo "${ECHO_T}yes" >&6; }
3566 { echo "$as_me:$LINENO: result: no" >&5
3567 echo "${ECHO_T}no" >&6; }
3571 # Check whether --with-gtk was given.
3572 if test "${with_gtk+set}" = set; then
3573 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3577 # Check whether --with-motif was given.
3578 if test "${with_motif+set}" = set; then
3579 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3583 # Check whether --with-mac was given.
3584 if test "${with_mac+set}" = set; then
3585 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3589 # Check whether --with-cocoa was given.
3590 if test "${with_cocoa+set}" = set; then
3591 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3595 # Check whether --with-wine was given.
3596 if test "${with_wine+set}" = set; then
3597 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3601 # Check whether --with-msw was given.
3602 if test "${with_msw+set}" = set; then
3603 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3607 # Check whether --with-pm was given.
3608 if test "${with_pm+set}" = set; then
3609 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3613 # Check whether --with-mgl was given.
3614 if test "${with_mgl+set}" = set; then
3615 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3619 # Check whether --with-directfb was given.
3620 if test "${with_directfb+set}" = set; then
3621 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3625 # Check whether --with-microwin was given.
3626 if test "${with_microwin+set}" = set; then
3627 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3631 # Check whether --with-x11 was given.
3632 if test "${with_x11+set}" = set; then
3633 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3638 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3639 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3641 # Check whether --enable-nanox was given.
3642 if test "${enable_nanox+set}" = set; then
3643 enableval=$enable_nanox;
3644 if test "$enableval" = yes; then
3645 ac_cv_use_nanox='wxUSE_NANOX=yes'
3647 ac_cv_use_nanox='wxUSE_NANOX=no'
3652 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
3653 if test "x$LINE" != x ; then
3654 eval "DEFAULT_$LINE"
3659 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
3664 eval "$ac_cv_use_nanox"
3665 if test "$no_cache" != 1; then
3666 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
3669 if test "$wxUSE_NANOX" = yes; then
3670 { echo "$as_me:$LINENO: result: yes" >&5
3671 echo "${ECHO_T}yes" >&6; }
3673 { echo "$as_me:$LINENO: result: no" >&5
3674 echo "${ECHO_T}no" >&6; }
3678 # Check whether --enable-gtk2 was given.
3679 if test "${enable_gtk2+set}" = set; then
3680 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3685 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3686 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3688 # Check whether --enable-gpe was given.
3689 if test "${enable_gpe+set}" = set; then
3690 enableval=$enable_gpe;
3691 if test "$enableval" = yes; then
3692 ac_cv_use_gpe='wxUSE_GPE=yes'
3694 ac_cv_use_gpe='wxUSE_GPE=no'
3699 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
3700 if test "x$LINE" != x ; then
3701 eval "DEFAULT_$LINE"
3706 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
3711 eval "$ac_cv_use_gpe"
3712 if test "$no_cache" != 1; then
3713 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
3716 if test "$wxUSE_GPE" = yes; then
3717 { echo "$as_me:$LINENO: result: yes" >&5
3718 echo "${ECHO_T}yes" >&6; }
3720 { echo "$as_me:$LINENO: result: no" >&5
3721 echo "${ECHO_T}no" >&6; }
3726 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3727 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3730 # Check whether --with-libpng was given.
3731 if test "${with_libpng+set}" = set; then
3732 withval=$with_libpng;
3733 if test "$withval" = yes; then
3734 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
3735 elif test "$withval" = no; then
3736 ac_cv_use_libpng='wxUSE_LIBPNG=no'
3737 elif test "$withval" = sys; then
3738 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
3739 elif test "$withval" = builtin; then
3740 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
3742 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3743 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3744 { (exit 1); exit 1; }; }
3749 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
3750 if test "x$LINE" != x ; then
3751 eval "DEFAULT_$LINE"
3756 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3761 eval "$ac_cv_use_libpng"
3762 if test "$no_cache" != 1; then
3763 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3766 if test "$wxUSE_LIBPNG" = yes; then
3767 { echo "$as_me:$LINENO: result: yes" >&5
3768 echo "${ECHO_T}yes" >&6; }
3769 elif test "$wxUSE_LIBPNG" = no; then
3770 { echo "$as_me:$LINENO: result: no" >&5
3771 echo "${ECHO_T}no" >&6; }
3772 elif test "$wxUSE_LIBPNG" = sys; then
3773 { echo "$as_me:$LINENO: result: system version" >&5
3774 echo "${ECHO_T}system version" >&6; }
3775 elif test "$wxUSE_LIBPNG" = builtin; then
3776 { echo "$as_me:$LINENO: result: builtin version" >&5
3777 echo "${ECHO_T}builtin version" >&6; }
3779 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3780 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3781 { (exit 1); exit 1; }; }
3785 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3786 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3789 # Check whether --with-libjpeg was given.
3790 if test "${with_libjpeg+set}" = set; then
3791 withval=$with_libjpeg;
3792 if test "$withval" = yes; then
3793 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3794 elif test "$withval" = no; then
3795 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3796 elif test "$withval" = sys; then
3797 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3798 elif test "$withval" = builtin; then
3799 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3801 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3802 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3803 { (exit 1); exit 1; }; }
3808 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3809 if test "x$LINE" != x ; then
3810 eval "DEFAULT_$LINE"
3815 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3820 eval "$ac_cv_use_libjpeg"
3821 if test "$no_cache" != 1; then
3822 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3825 if test "$wxUSE_LIBJPEG" = yes; then
3826 { echo "$as_me:$LINENO: result: yes" >&5
3827 echo "${ECHO_T}yes" >&6; }
3828 elif test "$wxUSE_LIBJPEG" = no; then
3829 { echo "$as_me:$LINENO: result: no" >&5
3830 echo "${ECHO_T}no" >&6; }
3831 elif test "$wxUSE_LIBJPEG" = sys; then
3832 { echo "$as_me:$LINENO: result: system version" >&5
3833 echo "${ECHO_T}system version" >&6; }
3834 elif test "$wxUSE_LIBJPEG" = builtin; then
3835 { echo "$as_me:$LINENO: result: builtin version" >&5
3836 echo "${ECHO_T}builtin version" >&6; }
3838 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3839 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3840 { (exit 1); exit 1; }; }
3844 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3845 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3848 # Check whether --with-libtiff was given.
3849 if test "${with_libtiff+set}" = set; then
3850 withval=$with_libtiff;
3851 if test "$withval" = yes; then
3852 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3853 elif test "$withval" = no; then
3854 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
3855 elif test "$withval" = sys; then
3856 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3857 elif test "$withval" = builtin; then
3858 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3860 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3861 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3862 { (exit 1); exit 1; }; }
3867 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3868 if test "x$LINE" != x ; then
3869 eval "DEFAULT_$LINE"
3874 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3879 eval "$ac_cv_use_libtiff"
3880 if test "$no_cache" != 1; then
3881 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3884 if test "$wxUSE_LIBTIFF" = yes; then
3885 { echo "$as_me:$LINENO: result: yes" >&5
3886 echo "${ECHO_T}yes" >&6; }
3887 elif test "$wxUSE_LIBTIFF" = no; then
3888 { echo "$as_me:$LINENO: result: no" >&5
3889 echo "${ECHO_T}no" >&6; }
3890 elif test "$wxUSE_LIBTIFF" = sys; then
3891 { echo "$as_me:$LINENO: result: system version" >&5
3892 echo "${ECHO_T}system version" >&6; }
3893 elif test "$wxUSE_LIBTIFF" = builtin; then
3894 { echo "$as_me:$LINENO: result: builtin version" >&5
3895 echo "${ECHO_T}builtin version" >&6; }
3897 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3898 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3899 { (exit 1); exit 1; }; }
3903 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3904 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3907 # Check whether --with-libxpm was given.
3908 if test "${with_libxpm+set}" = set; then
3909 withval=$with_libxpm;
3910 if test "$withval" = yes; then
3911 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
3912 elif test "$withval" = no; then
3913 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
3914 elif test "$withval" = sys; then
3915 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
3916 elif test "$withval" = builtin; then
3917 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3919 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3920 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3921 { (exit 1); exit 1; }; }
3926 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3927 if test "x$LINE" != x ; then
3928 eval "DEFAULT_$LINE"
3933 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3938 eval "$ac_cv_use_libxpm"
3939 if test "$no_cache" != 1; then
3940 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3943 if test "$wxUSE_LIBXPM" = yes; then
3944 { echo "$as_me:$LINENO: result: yes" >&5
3945 echo "${ECHO_T}yes" >&6; }
3946 elif test "$wxUSE_LIBXPM" = no; then
3947 { echo "$as_me:$LINENO: result: no" >&5
3948 echo "${ECHO_T}no" >&6; }
3949 elif test "$wxUSE_LIBXPM" = sys; then
3950 { echo "$as_me:$LINENO: result: system version" >&5
3951 echo "${ECHO_T}system version" >&6; }
3952 elif test "$wxUSE_LIBXPM" = builtin; then
3953 { echo "$as_me:$LINENO: result: builtin version" >&5
3954 echo "${ECHO_T}builtin version" >&6; }
3956 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3957 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3958 { (exit 1); exit 1; }; }
3963 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3964 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3967 # Check whether --with-libmspack was given.
3968 if test "${with_libmspack+set}" = set; then
3969 withval=$with_libmspack;
3970 if test "$withval" = yes; then
3971 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3973 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3978 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3979 if test "x$LINE" != x ; then
3980 eval "DEFAULT_$LINE"
3985 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3990 eval "$ac_cv_use_libmspack"
3991 if test "$no_cache" != 1; then
3992 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3995 if test "$wxUSE_LIBMSPACK" = yes; then
3996 { echo "$as_me:$LINENO: result: yes" >&5
3997 echo "${ECHO_T}yes" >&6; }
3999 { echo "$as_me:$LINENO: result: no" >&5
4000 echo "${ECHO_T}no" >&6; }
4005 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4006 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4009 # Check whether --with-sdl was given.
4010 if test "${with_sdl+set}" = set; then
4012 if test "$withval" = yes; then
4013 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
4015 ac_cv_use_sdl='wxUSE_LIBSDL=no'
4020 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
4021 if test "x$LINE" != x ; then
4022 eval "DEFAULT_$LINE"
4027 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
4032 eval "$ac_cv_use_sdl"
4033 if test "$no_cache" != 1; then
4034 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
4037 if test "$wxUSE_LIBSDL" = yes; then
4038 { echo "$as_me:$LINENO: result: yes" >&5
4039 echo "${ECHO_T}yes" >&6; }
4041 { echo "$as_me:$LINENO: result: no" >&5
4042 echo "${ECHO_T}no" >&6; }
4047 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
4048 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
4051 # Check whether --with-gnomeprint was given.
4052 if test "${with_gnomeprint+set}" = set; then
4053 withval=$with_gnomeprint;
4054 if test "$withval" = yes; then
4055 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
4057 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
4062 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
4063 if test "x$LINE" != x ; then
4064 eval "DEFAULT_$LINE"
4069 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
4074 eval "$ac_cv_use_gnomeprint"
4075 if test "$no_cache" != 1; then
4076 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
4079 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
4080 { echo "$as_me:$LINENO: result: yes" >&5
4081 echo "${ECHO_T}yes" >&6; }
4083 { echo "$as_me:$LINENO: result: no" >&5
4084 echo "${ECHO_T}no" >&6; }
4089 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
4090 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
4093 # Check whether --with-gnomevfs was given.
4094 if test "${with_gnomevfs+set}" = set; then
4095 withval=$with_gnomevfs;
4096 if test "$withval" = yes; then
4097 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4099 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4104 LINE=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
4105 if test "x$LINE" != x ; then
4106 eval "DEFAULT_$LINE"
4111 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
4116 eval "$ac_cv_use_gnomevfs"
4117 if test "$no_cache" != 1; then
4118 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
4121 if test "$wxUSE_LIBGNOMEVFS" = yes; then
4122 { echo "$as_me:$LINENO: result: yes" >&5
4123 echo "${ECHO_T}yes" >&6; }
4125 { echo "$as_me:$LINENO: result: no" >&5
4126 echo "${ECHO_T}no" >&6; }
4131 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4132 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4135 # Check whether --with-hildon was given.
4136 if test "${with_hildon+set}" = set; then
4137 withval=$with_hildon;
4138 if test "$withval" = yes; then
4139 ac_cv_use_hildon='wxUSE_LIBHILDON=yes'
4141 ac_cv_use_hildon='wxUSE_LIBHILDON=no'
4146 LINE=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
4147 if test "x$LINE" != x ; then
4148 eval "DEFAULT_$LINE"
4153 ac_cv_use_hildon='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
4158 eval "$ac_cv_use_hildon"
4159 if test "$no_cache" != 1; then
4160 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
4163 if test "$wxUSE_LIBHILDON" = yes; then
4164 { echo "$as_me:$LINENO: result: yes" >&5
4165 echo "${ECHO_T}yes" >&6; }
4167 { echo "$as_me:$LINENO: result: no" >&5
4168 echo "${ECHO_T}no" >&6; }
4173 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4174 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4177 # Check whether --with-opengl was given.
4178 if test "${with_opengl+set}" = set; then
4179 withval=$with_opengl;
4180 if test "$withval" = yes; then
4181 ac_cv_use_opengl='wxUSE_OPENGL=yes'
4183 ac_cv_use_opengl='wxUSE_OPENGL=no'
4188 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
4189 if test "x$LINE" != x ; then
4190 eval "DEFAULT_$LINE"
4195 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
4200 eval "$ac_cv_use_opengl"
4201 if test "$no_cache" != 1; then
4202 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
4205 if test "$wxUSE_OPENGL" = yes; then
4206 { echo "$as_me:$LINENO: result: yes" >&5
4207 echo "${ECHO_T}yes" >&6; }
4209 { echo "$as_me:$LINENO: result: no" >&5
4210 echo "${ECHO_T}no" >&6; }
4214 if test "$wxUSE_UNIVERSAL" = "yes"; then
4216 # Check whether --with-themes was given.
4217 if test "${with_themes+set}" = set; then
4218 withval=$with_themes; wxUNIV_THEMES="$withval"
4227 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4228 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4231 # Check whether --with-dmalloc was given.
4232 if test "${with_dmalloc+set}" = set; then
4233 withval=$with_dmalloc;
4234 if test "$withval" = yes; then
4235 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4237 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
4242 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
4243 if test "x$LINE" != x ; then
4244 eval "DEFAULT_$LINE"
4249 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
4254 eval "$ac_cv_use_dmalloc"
4255 if test "$no_cache" != 1; then
4256 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
4259 if test "$wxUSE_DMALLOC" = yes; then
4260 { echo "$as_me:$LINENO: result: yes" >&5
4261 echo "${ECHO_T}yes" >&6; }
4263 { echo "$as_me:$LINENO: result: no" >&5
4264 echo "${ECHO_T}no" >&6; }
4268 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4269 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4272 # Check whether --with-regex was given.
4273 if test "${with_regex+set}" = set; then
4274 withval=$with_regex;
4275 if test "$withval" = yes; then
4276 ac_cv_use_regex='wxUSE_REGEX=yes'
4277 elif test "$withval" = no; then
4278 ac_cv_use_regex='wxUSE_REGEX=no'
4279 elif test "$withval" = sys; then
4280 ac_cv_use_regex='wxUSE_REGEX=sys'
4281 elif test "$withval" = builtin; then
4282 ac_cv_use_regex='wxUSE_REGEX=builtin'
4284 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4285 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4286 { (exit 1); exit 1; }; }
4291 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
4292 if test "x$LINE" != x ; then
4293 eval "DEFAULT_$LINE"
4298 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
4303 eval "$ac_cv_use_regex"
4304 if test "$no_cache" != 1; then
4305 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
4308 if test "$wxUSE_REGEX" = yes; then
4309 { echo "$as_me:$LINENO: result: yes" >&5
4310 echo "${ECHO_T}yes" >&6; }
4311 elif test "$wxUSE_REGEX" = no; then
4312 { echo "$as_me:$LINENO: result: no" >&5
4313 echo "${ECHO_T}no" >&6; }
4314 elif test "$wxUSE_REGEX" = sys; then
4315 { echo "$as_me:$LINENO: result: system version" >&5
4316 echo "${ECHO_T}system version" >&6; }
4317 elif test "$wxUSE_REGEX" = builtin; then
4318 { echo "$as_me:$LINENO: result: builtin version" >&5
4319 echo "${ECHO_T}builtin version" >&6; }
4321 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4322 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4323 { (exit 1); exit 1; }; }
4327 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4328 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4331 # Check whether --with-zlib was given.
4332 if test "${with_zlib+set}" = set; then
4334 if test "$withval" = yes; then
4335 ac_cv_use_zlib='wxUSE_ZLIB=yes'
4336 elif test "$withval" = no; then
4337 ac_cv_use_zlib='wxUSE_ZLIB=no'
4338 elif test "$withval" = sys; then
4339 ac_cv_use_zlib='wxUSE_ZLIB=sys'
4340 elif test "$withval" = builtin; then
4341 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
4343 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4344 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4345 { (exit 1); exit 1; }; }
4350 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
4351 if test "x$LINE" != x ; then
4352 eval "DEFAULT_$LINE"
4357 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
4362 eval "$ac_cv_use_zlib"
4363 if test "$no_cache" != 1; then
4364 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
4367 if test "$wxUSE_ZLIB" = yes; then
4368 { echo "$as_me:$LINENO: result: yes" >&5
4369 echo "${ECHO_T}yes" >&6; }
4370 elif test "$wxUSE_ZLIB" = no; then
4371 { echo "$as_me:$LINENO: result: no" >&5
4372 echo "${ECHO_T}no" >&6; }
4373 elif test "$wxUSE_ZLIB" = sys; then
4374 { echo "$as_me:$LINENO: result: system version" >&5
4375 echo "${ECHO_T}system version" >&6; }
4376 elif test "$wxUSE_ZLIB" = builtin; then
4377 { echo "$as_me:$LINENO: result: builtin version" >&5
4378 echo "${ECHO_T}builtin version" >&6; }
4380 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4381 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4382 { (exit 1); exit 1; }; }
4386 { echo "$as_me:$LINENO: checking for --with-odbc" >&5
4387 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6; }
4390 # Check whether --with-odbc was given.
4391 if test "${with_odbc+set}" = set; then
4393 if test "$withval" = yes; then
4394 ac_cv_use_odbc='wxUSE_ODBC=yes'
4395 elif test "$withval" = no; then
4396 ac_cv_use_odbc='wxUSE_ODBC=no'
4397 elif test "$withval" = sys; then
4398 ac_cv_use_odbc='wxUSE_ODBC=sys'
4399 elif test "$withval" = builtin; then
4400 ac_cv_use_odbc='wxUSE_ODBC=builtin'
4402 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4403 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4404 { (exit 1); exit 1; }; }
4409 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
4410 if test "x$LINE" != x ; then
4411 eval "DEFAULT_$LINE"
4416 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
4421 eval "$ac_cv_use_odbc"
4422 if test "$no_cache" != 1; then
4423 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
4426 if test "$wxUSE_ODBC" = yes; then
4427 { echo "$as_me:$LINENO: result: yes" >&5
4428 echo "${ECHO_T}yes" >&6; }
4429 elif test "$wxUSE_ODBC" = no; then
4430 { echo "$as_me:$LINENO: result: no" >&5
4431 echo "${ECHO_T}no" >&6; }
4432 elif test "$wxUSE_ODBC" = sys; then
4433 { echo "$as_me:$LINENO: result: system version" >&5
4434 echo "${ECHO_T}system version" >&6; }
4435 elif test "$wxUSE_ODBC" = builtin; then
4436 { echo "$as_me:$LINENO: result: builtin version" >&5
4437 echo "${ECHO_T}builtin version" >&6; }
4439 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4440 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4441 { (exit 1); exit 1; }; }
4445 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4446 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4449 # Check whether --with-expat was given.
4450 if test "${with_expat+set}" = set; then
4451 withval=$with_expat;
4452 if test "$withval" = yes; then
4453 ac_cv_use_expat='wxUSE_EXPAT=yes'
4454 elif test "$withval" = no; then
4455 ac_cv_use_expat='wxUSE_EXPAT=no'
4456 elif test "$withval" = sys; then
4457 ac_cv_use_expat='wxUSE_EXPAT=sys'
4458 elif test "$withval" = builtin; then
4459 ac_cv_use_expat='wxUSE_EXPAT=builtin'
4461 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4462 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4463 { (exit 1); exit 1; }; }
4468 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
4469 if test "x$LINE" != x ; then
4470 eval "DEFAULT_$LINE"
4475 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
4480 eval "$ac_cv_use_expat"
4481 if test "$no_cache" != 1; then
4482 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
4485 if test "$wxUSE_EXPAT" = yes; then
4486 { echo "$as_me:$LINENO: result: yes" >&5
4487 echo "${ECHO_T}yes" >&6; }
4488 elif test "$wxUSE_EXPAT" = no; then
4489 { echo "$as_me:$LINENO: result: no" >&5
4490 echo "${ECHO_T}no" >&6; }
4491 elif test "$wxUSE_EXPAT" = sys; then
4492 { echo "$as_me:$LINENO: result: system version" >&5
4493 echo "${ECHO_T}system version" >&6; }
4494 elif test "$wxUSE_EXPAT" = builtin; then
4495 { echo "$as_me:$LINENO: result: builtin version" >&5
4496 echo "${ECHO_T}builtin version" >&6; }
4498 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4499 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4500 { (exit 1); exit 1; }; }
4507 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4508 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4510 # Check whether --enable-shared was given.
4511 if test "${enable_shared+set}" = set; then
4512 enableval=$enable_shared;
4513 if test "$enableval" = yes; then
4514 ac_cv_use_shared='wxUSE_SHARED=yes'
4516 ac_cv_use_shared='wxUSE_SHARED=no'
4521 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
4522 if test "x$LINE" != x ; then
4523 eval "DEFAULT_$LINE"
4528 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
4533 eval "$ac_cv_use_shared"
4534 if test "$no_cache" != 1; then
4535 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
4538 if test "$wxUSE_SHARED" = yes; then
4539 { echo "$as_me:$LINENO: result: yes" >&5
4540 echo "${ECHO_T}yes" >&6; }
4542 { echo "$as_me:$LINENO: result: no" >&5
4543 echo "${ECHO_T}no" >&6; }
4548 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4549 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4551 # Check whether --enable-optimise was given.
4552 if test "${enable_optimise+set}" = set; then
4553 enableval=$enable_optimise;
4554 if test "$enableval" = yes; then
4555 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
4557 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
4562 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
4563 if test "x$LINE" != x ; then
4564 eval "DEFAULT_$LINE"
4569 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
4574 eval "$ac_cv_use_optimise"
4575 if test "$no_cache" != 1; then
4576 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
4579 if test "$wxUSE_OPTIMISE" = yes; then
4580 { echo "$as_me:$LINENO: result: yes" >&5
4581 echo "${ECHO_T}yes" >&6; }
4583 { echo "$as_me:$LINENO: result: no" >&5
4584 echo "${ECHO_T}no" >&6; }
4589 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4590 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4592 # Check whether --enable-debug was given.
4593 if test "${enable_debug+set}" = set; then
4594 enableval=$enable_debug;
4595 if test "$enableval" = yes; then
4596 ac_cv_use_debug='wxUSE_DEBUG=yes'
4598 ac_cv_use_debug='wxUSE_DEBUG=no'
4603 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
4604 if test "x$LINE" != x ; then
4605 eval "DEFAULT_$LINE"
4610 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
4615 eval "$ac_cv_use_debug"
4616 if test "$no_cache" != 1; then
4617 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
4620 if test "$wxUSE_DEBUG" = yes; then
4621 { echo "$as_me:$LINENO: result: yes" >&5
4622 echo "${ECHO_T}yes" >&6; }
4624 { echo "$as_me:$LINENO: result: no" >&5
4625 echo "${ECHO_T}no" >&6; }
4630 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4631 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4633 # Check whether --enable-stl was given.
4634 if test "${enable_stl+set}" = set; then
4635 enableval=$enable_stl;
4636 if test "$enableval" = yes; then
4637 ac_cv_use_stl='wxUSE_STL=yes'
4639 ac_cv_use_stl='wxUSE_STL=no'
4644 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
4645 if test "x$LINE" != x ; then
4646 eval "DEFAULT_$LINE"
4651 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
4656 eval "$ac_cv_use_stl"
4657 if test "$no_cache" != 1; then
4658 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
4661 if test "$wxUSE_STL" = yes; then
4662 { echo "$as_me:$LINENO: result: yes" >&5
4663 echo "${ECHO_T}yes" >&6; }
4665 { echo "$as_me:$LINENO: result: no" >&5
4666 echo "${ECHO_T}no" >&6; }
4669 if test "$USE_OS2" = "1"; then
4670 DEFAULT_wxUSE_OMF=no
4673 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4674 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4676 # Check whether --enable-omf was given.
4677 if test "${enable_omf+set}" = set; then
4678 enableval=$enable_omf;
4679 if test "$enableval" = yes; then
4680 ac_cv_use_omf='wxUSE_OMF=yes'
4682 ac_cv_use_omf='wxUSE_OMF=no'
4687 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
4688 if test "x$LINE" != x ; then
4689 eval "DEFAULT_$LINE"
4694 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
4699 eval "$ac_cv_use_omf"
4700 if test "$no_cache" != 1; then
4701 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
4704 if test "$wxUSE_OMF" = yes; then
4705 { echo "$as_me:$LINENO: result: yes" >&5
4706 echo "${ECHO_T}yes" >&6; }
4708 { echo "$as_me:$LINENO: result: no" >&5
4709 echo "${ECHO_T}no" >&6; }
4714 if test "$wxUSE_DEBUG" = "yes"; then
4715 DEFAULT_wxUSE_DEBUG_FLAG=yes
4716 DEFAULT_wxUSE_DEBUG_INFO=yes
4718 elif test "$wxUSE_DEBUG" = "no"; then
4719 DEFAULT_wxUSE_DEBUG_FLAG=no
4720 DEFAULT_wxUSE_DEBUG_INFO=no
4726 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4727 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4729 # Check whether --enable-debug_flag was given.
4730 if test "${enable_debug_flag+set}" = set; then
4731 enableval=$enable_debug_flag;
4732 if test "$enableval" = yes; then
4733 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4735 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4740 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
4741 if test "x$LINE" != x ; then
4742 eval "DEFAULT_$LINE"
4747 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
4752 eval "$ac_cv_use_debug_flag"
4753 if test "$no_cache" != 1; then
4754 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4757 if test "$wxUSE_DEBUG_FLAG" = yes; then
4758 { echo "$as_me:$LINENO: result: yes" >&5
4759 echo "${ECHO_T}yes" >&6; }
4761 { echo "$as_me:$LINENO: result: no" >&5
4762 echo "${ECHO_T}no" >&6; }
4767 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4768 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4770 # Check whether --enable-debug_info was given.
4771 if test "${enable_debug_info+set}" = set; then
4772 enableval=$enable_debug_info;
4773 if test "$enableval" = yes; then
4774 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4776 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4781 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
4782 if test "x$LINE" != x ; then
4783 eval "DEFAULT_$LINE"
4788 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4793 eval "$ac_cv_use_debug_info"
4794 if test "$no_cache" != 1; then
4795 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4798 if test "$wxUSE_DEBUG_INFO" = yes; then
4799 { echo "$as_me:$LINENO: result: yes" >&5
4800 echo "${ECHO_T}yes" >&6; }
4802 { echo "$as_me:$LINENO: result: no" >&5
4803 echo "${ECHO_T}no" >&6; }
4808 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4809 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4811 # Check whether --enable-debug_gdb was given.
4812 if test "${enable_debug_gdb+set}" = set; then
4813 enableval=$enable_debug_gdb;
4814 if test "$enableval" = yes; then
4815 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4817 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4822 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
4823 if test "x$LINE" != x ; then
4824 eval "DEFAULT_$LINE"
4829 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4834 eval "$ac_cv_use_debug_gdb"
4835 if test "$no_cache" != 1; then
4836 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4839 if test "$wxUSE_DEBUG_GDB" = yes; then
4840 { echo "$as_me:$LINENO: result: yes" >&5
4841 echo "${ECHO_T}yes" >&6; }
4843 { echo "$as_me:$LINENO: result: no" >&5
4844 echo "${ECHO_T}no" >&6; }
4849 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4850 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4852 # Check whether --enable-debug_cntxt was given.
4853 if test "${enable_debug_cntxt+set}" = set; then
4854 enableval=$enable_debug_cntxt;
4855 if test "$enableval" = yes; then
4856 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4858 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4863 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
4864 if test "x$LINE" != x ; then
4865 eval "DEFAULT_$LINE"
4870 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4875 eval "$ac_cv_use_debug_cntxt"
4876 if test "$no_cache" != 1; then
4877 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4880 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4881 { echo "$as_me:$LINENO: result: yes" >&5
4882 echo "${ECHO_T}yes" >&6; }
4884 { echo "$as_me:$LINENO: result: no" >&5
4885 echo "${ECHO_T}no" >&6; }
4890 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4891 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4893 # Check whether --enable-mem_tracing was given.
4894 if test "${enable_mem_tracing+set}" = set; then
4895 enableval=$enable_mem_tracing;
4896 if test "$enableval" = yes; then
4897 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4899 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4904 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4905 if test "x$LINE" != x ; then
4906 eval "DEFAULT_$LINE"
4911 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4916 eval "$ac_cv_use_mem_tracing"
4917 if test "$no_cache" != 1; then
4918 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4921 if test "$wxUSE_MEM_TRACING" = yes; then
4922 { echo "$as_me:$LINENO: result: yes" >&5
4923 echo "${ECHO_T}yes" >&6; }
4925 { echo "$as_me:$LINENO: result: no" >&5
4926 echo "${ECHO_T}no" >&6; }
4931 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4932 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
4934 # Check whether --enable-profile was given.
4935 if test "${enable_profile+set}" = set; then
4936 enableval=$enable_profile;
4937 if test "$enableval" = yes; then
4938 ac_cv_use_profile='wxUSE_PROFILE=yes'
4940 ac_cv_use_profile='wxUSE_PROFILE=no'
4945 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4946 if test "x$LINE" != x ; then
4947 eval "DEFAULT_$LINE"
4952 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4957 eval "$ac_cv_use_profile"
4958 if test "$no_cache" != 1; then
4959 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4962 if test "$wxUSE_PROFILE" = yes; then
4963 { echo "$as_me:$LINENO: result: yes" >&5
4964 echo "${ECHO_T}yes" >&6; }
4966 { echo "$as_me:$LINENO: result: no" >&5
4967 echo "${ECHO_T}no" >&6; }
4972 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4973 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
4975 # Check whether --enable-no_rtti was given.
4976 if test "${enable_no_rtti+set}" = set; then
4977 enableval=$enable_no_rtti;
4978 if test "$enableval" = yes; then
4979 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
4981 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
4986 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4987 if test "x$LINE" != x ; then
4988 eval "DEFAULT_$LINE"
4993 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4998 eval "$ac_cv_use_no_rtti"
4999 if test "$no_cache" != 1; then
5000 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
5003 if test "$wxUSE_NO_RTTI" = yes; then
5004 { echo "$as_me:$LINENO: result: yes" >&5
5005 echo "${ECHO_T}yes" >&6; }
5007 { echo "$as_me:$LINENO: result: no" >&5
5008 echo "${ECHO_T}no" >&6; }
5013 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5014 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5016 # Check whether --enable-no_exceptions was given.
5017 if test "${enable_no_exceptions+set}" = set; then
5018 enableval=$enable_no_exceptions;
5019 if test "$enableval" = yes; then
5020 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5022 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5027 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
5028 if test "x$LINE" != x ; then
5029 eval "DEFAULT_$LINE"
5034 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
5039 eval "$ac_cv_use_no_exceptions"
5040 if test "$no_cache" != 1; then
5041 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
5044 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
5045 { echo "$as_me:$LINENO: result: yes" >&5
5046 echo "${ECHO_T}yes" >&6; }
5048 { echo "$as_me:$LINENO: result: no" >&5
5049 echo "${ECHO_T}no" >&6; }
5054 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5055 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5057 # Check whether --enable-permissive was given.
5058 if test "${enable_permissive+set}" = set; then
5059 enableval=$enable_permissive;
5060 if test "$enableval" = yes; then
5061 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5063 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
5068 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
5069 if test "x$LINE" != x ; then
5070 eval "DEFAULT_$LINE"
5075 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
5080 eval "$ac_cv_use_permissive"
5081 if test "$no_cache" != 1; then
5082 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
5085 if test "$wxUSE_PERMISSIVE" = yes; then
5086 { echo "$as_me:$LINENO: result: yes" >&5
5087 echo "${ECHO_T}yes" >&6; }
5089 { echo "$as_me:$LINENO: result: no" >&5
5090 echo "${ECHO_T}no" >&6; }
5095 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5096 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5098 # Check whether --enable-no_deps was given.
5099 if test "${enable_no_deps+set}" = set; then
5100 enableval=$enable_no_deps;
5101 if test "$enableval" = yes; then
5102 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5104 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
5109 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
5110 if test "x$LINE" != x ; then
5111 eval "DEFAULT_$LINE"
5116 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
5121 eval "$ac_cv_use_no_deps"
5122 if test "$no_cache" != 1; then
5123 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
5126 if test "$wxUSE_NO_DEPS" = yes; then
5127 { echo "$as_me:$LINENO: result: yes" >&5
5128 echo "${ECHO_T}yes" >&6; }
5130 { echo "$as_me:$LINENO: result: no" >&5
5131 echo "${ECHO_T}no" >&6; }
5136 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5137 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5139 # Check whether --enable-vararg_macros was given.
5140 if test "${enable_vararg_macros+set}" = set; then
5141 enableval=$enable_vararg_macros;
5142 if test "$enableval" = yes; then
5143 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5145 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5150 LINE=`grep "wxUSE_VARARG_MACROS" ${wx_arg_cache_file}`
5151 if test "x$LINE" != x ; then
5152 eval "DEFAULT_$LINE"
5157 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS='$DEFAULT_wxUSE_VARARG_MACROS
5162 eval "$ac_cv_use_vararg_macros"
5163 if test "$no_cache" != 1; then
5164 echo $ac_cv_use_vararg_macros >> ${wx_arg_cache_file}.tmp
5167 if test "$wxUSE_VARARG_MACROS" = yes; then
5168 { echo "$as_me:$LINENO: result: yes" >&5
5169 echo "${ECHO_T}yes" >&6; }
5171 { echo "$as_me:$LINENO: result: no" >&5
5172 echo "${ECHO_T}no" >&6; }
5177 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5178 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5180 # Check whether --enable-universal_binary was given.
5181 if test "${enable_universal_binary+set}" = set; then
5182 enableval=$enable_universal_binary;
5183 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5187 LINE=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
5188 if test "x$LINE" != x ; then
5189 eval "DEFAULT_$LINE"
5190 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5193 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY=no"
5199 eval "$wx_cv_use_universal_binary"
5200 if test "$no_cache" != 1; then
5201 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
5204 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5205 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5210 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5211 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5213 # Check whether --enable-compat26 was given.
5214 if test "${enable_compat26+set}" = set; then
5215 enableval=$enable_compat26;
5216 if test "$enableval" = yes; then
5217 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5219 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5224 LINE=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
5225 if test "x$LINE" != x ; then
5226 eval "DEFAULT_$LINE"
5231 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
5236 eval "$ac_cv_use_compat26"
5237 if test "$no_cache" != 1; then
5238 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
5241 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
5242 { echo "$as_me:$LINENO: result: yes" >&5
5243 echo "${ECHO_T}yes" >&6; }
5245 { echo "$as_me:$LINENO: result: no" >&5
5246 echo "${ECHO_T}no" >&6; }
5250 enablestring=disable
5251 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5252 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5254 # Check whether --enable-compat28 was given.
5255 if test "${enable_compat28+set}" = set; then
5256 enableval=$enable_compat28;
5257 if test "$enableval" = yes; then
5258 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5260 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5265 LINE=`grep "WXWIN_COMPATIBILITY_2_8" ${wx_arg_cache_file}`
5266 if test "x$LINE" != x ; then
5267 eval "DEFAULT_$LINE"
5272 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8='$DEFAULT_WXWIN_COMPATIBILITY_2_8
5277 eval "$ac_cv_use_compat28"
5278 if test "$no_cache" != 1; then
5279 echo $ac_cv_use_compat28 >> ${wx_arg_cache_file}.tmp
5282 if test "$WXWIN_COMPATIBILITY_2_8" = yes; then
5283 { echo "$as_me:$LINENO: result: yes" >&5
5284 echo "${ECHO_T}yes" >&6; }
5286 { echo "$as_me:$LINENO: result: no" >&5
5287 echo "${ECHO_T}no" >&6; }
5293 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5294 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5296 # Check whether --enable-rpath was given.
5297 if test "${enable_rpath+set}" = set; then
5298 enableval=$enable_rpath;
5299 if test "$enableval" = yes; then
5300 ac_cv_use_rpath='wxUSE_RPATH=yes'
5302 ac_cv_use_rpath='wxUSE_RPATH=no'
5307 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
5308 if test "x$LINE" != x ; then
5309 eval "DEFAULT_$LINE"
5314 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
5319 eval "$ac_cv_use_rpath"
5320 if test "$no_cache" != 1; then
5321 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
5324 if test "$wxUSE_RPATH" = yes; then
5325 { echo "$as_me:$LINENO: result: yes" >&5
5326 echo "${ECHO_T}yes" >&6; }
5328 { echo "$as_me:$LINENO: result: no" >&5
5329 echo "${ECHO_T}no" >&6; }
5337 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5338 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5340 # Check whether --enable-intl was given.
5341 if test "${enable_intl+set}" = set; then
5342 enableval=$enable_intl;
5343 if test "$enableval" = yes; then
5344 ac_cv_use_intl='wxUSE_INTL=yes'
5346 ac_cv_use_intl='wxUSE_INTL=no'
5351 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
5352 if test "x$LINE" != x ; then
5353 eval "DEFAULT_$LINE"
5358 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
5363 eval "$ac_cv_use_intl"
5364 if test "$no_cache" != 1; then
5365 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
5368 if test "$wxUSE_INTL" = yes; then
5369 { echo "$as_me:$LINENO: result: yes" >&5
5370 echo "${ECHO_T}yes" >&6; }
5372 { echo "$as_me:$LINENO: result: no" >&5
5373 echo "${ECHO_T}no" >&6; }
5378 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5379 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5381 # Check whether --enable-config was given.
5382 if test "${enable_config+set}" = set; then
5383 enableval=$enable_config;
5384 if test "$enableval" = yes; then
5385 ac_cv_use_config='wxUSE_CONFIG=yes'
5387 ac_cv_use_config='wxUSE_CONFIG=no'
5392 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
5393 if test "x$LINE" != x ; then
5394 eval "DEFAULT_$LINE"
5399 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
5404 eval "$ac_cv_use_config"
5405 if test "$no_cache" != 1; then
5406 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
5409 if test "$wxUSE_CONFIG" = yes; then
5410 { echo "$as_me:$LINENO: result: yes" >&5
5411 echo "${ECHO_T}yes" >&6; }
5413 { echo "$as_me:$LINENO: result: no" >&5
5414 echo "${ECHO_T}no" >&6; }
5420 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5421 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5423 # Check whether --enable-protocols was given.
5424 if test "${enable_protocols+set}" = set; then
5425 enableval=$enable_protocols;
5426 if test "$enableval" = yes; then
5427 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
5429 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
5434 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5435 if test "x$LINE" != x ; then
5436 eval "DEFAULT_$LINE"
5441 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5446 eval "$ac_cv_use_protocols"
5447 if test "$no_cache" != 1; then
5448 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
5451 if test "$wxUSE_PROTOCOL" = yes; then
5452 { echo "$as_me:$LINENO: result: yes" >&5
5453 echo "${ECHO_T}yes" >&6; }
5455 { echo "$as_me:$LINENO: result: no" >&5
5456 echo "${ECHO_T}no" >&6; }
5461 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5462 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5464 # Check whether --enable-ftp was given.
5465 if test "${enable_ftp+set}" = set; then
5466 enableval=$enable_ftp;
5467 if test "$enableval" = yes; then
5468 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5470 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5475 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5476 if test "x$LINE" != x ; then
5477 eval "DEFAULT_$LINE"
5482 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5487 eval "$ac_cv_use_ftp"
5488 if test "$no_cache" != 1; then
5489 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
5492 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5493 { echo "$as_me:$LINENO: result: yes" >&5
5494 echo "${ECHO_T}yes" >&6; }
5496 { echo "$as_me:$LINENO: result: no" >&5
5497 echo "${ECHO_T}no" >&6; }
5502 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5503 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5505 # Check whether --enable-http was given.
5506 if test "${enable_http+set}" = set; then
5507 enableval=$enable_http;
5508 if test "$enableval" = yes; then
5509 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5511 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5516 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5517 if test "x$LINE" != x ; then
5518 eval "DEFAULT_$LINE"
5523 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5528 eval "$ac_cv_use_http"
5529 if test "$no_cache" != 1; then
5530 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
5533 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5534 { echo "$as_me:$LINENO: result: yes" >&5
5535 echo "${ECHO_T}yes" >&6; }
5537 { echo "$as_me:$LINENO: result: no" >&5
5538 echo "${ECHO_T}no" >&6; }
5543 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5544 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5546 # Check whether --enable-fileproto was given.
5547 if test "${enable_fileproto+set}" = set; then
5548 enableval=$enable_fileproto;
5549 if test "$enableval" = yes; then
5550 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5552 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5557 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5558 if test "x$LINE" != x ; then
5559 eval "DEFAULT_$LINE"
5564 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5569 eval "$ac_cv_use_fileproto"
5570 if test "$no_cache" != 1; then
5571 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
5574 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5575 { echo "$as_me:$LINENO: result: yes" >&5
5576 echo "${ECHO_T}yes" >&6; }
5578 { echo "$as_me:$LINENO: result: no" >&5
5579 echo "${ECHO_T}no" >&6; }
5584 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5585 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5587 # Check whether --enable-sockets was given.
5588 if test "${enable_sockets+set}" = set; then
5589 enableval=$enable_sockets;
5590 if test "$enableval" = yes; then
5591 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
5593 ac_cv_use_sockets='wxUSE_SOCKETS=no'
5598 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
5599 if test "x$LINE" != x ; then
5600 eval "DEFAULT_$LINE"
5605 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
5610 eval "$ac_cv_use_sockets"
5611 if test "$no_cache" != 1; then
5612 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
5615 if test "$wxUSE_SOCKETS" = yes; then
5616 { echo "$as_me:$LINENO: result: yes" >&5
5617 echo "${ECHO_T}yes" >&6; }
5619 { echo "$as_me:$LINENO: result: no" >&5
5620 echo "${ECHO_T}no" >&6; }
5625 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
5626 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
5628 # Check whether --enable-ole was given.
5629 if test "${enable_ole+set}" = set; then
5630 enableval=$enable_ole;
5631 if test "$enableval" = yes; then
5632 ac_cv_use_ole='wxUSE_OLE=yes'
5634 ac_cv_use_ole='wxUSE_OLE=no'
5639 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
5640 if test "x$LINE" != x ; then
5641 eval "DEFAULT_$LINE"
5646 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
5651 eval "$ac_cv_use_ole"
5652 if test "$no_cache" != 1; then
5653 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
5656 if test "$wxUSE_OLE" = yes; then
5657 { echo "$as_me:$LINENO: result: yes" >&5
5658 echo "${ECHO_T}yes" >&6; }
5660 { echo "$as_me:$LINENO: result: no" >&5
5661 echo "${ECHO_T}no" >&6; }
5666 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
5667 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
5669 # Check whether --enable-dataobj was given.
5670 if test "${enable_dataobj+set}" = set; then
5671 enableval=$enable_dataobj;
5672 if test "$enableval" = yes; then
5673 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
5675 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
5680 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
5681 if test "x$LINE" != x ; then
5682 eval "DEFAULT_$LINE"
5687 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
5692 eval "$ac_cv_use_dataobj"
5693 if test "$no_cache" != 1; then
5694 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
5697 if test "$wxUSE_DATAOBJ" = yes; then
5698 { echo "$as_me:$LINENO: result: yes" >&5
5699 echo "${ECHO_T}yes" >&6; }
5701 { echo "$as_me:$LINENO: result: no" >&5
5702 echo "${ECHO_T}no" >&6; }
5708 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
5709 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
5711 # Check whether --enable-ipc was given.
5712 if test "${enable_ipc+set}" = set; then
5713 enableval=$enable_ipc;
5714 if test "$enableval" = yes; then
5715 ac_cv_use_ipc='wxUSE_IPC=yes'
5717 ac_cv_use_ipc='wxUSE_IPC=no'
5722 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
5723 if test "x$LINE" != x ; then
5724 eval "DEFAULT_$LINE"
5729 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
5734 eval "$ac_cv_use_ipc"
5735 if test "$no_cache" != 1; then
5736 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
5739 if test "$wxUSE_IPC" = yes; then
5740 { echo "$as_me:$LINENO: result: yes" >&5
5741 echo "${ECHO_T}yes" >&6; }
5743 { echo "$as_me:$LINENO: result: no" >&5
5744 echo "${ECHO_T}no" >&6; }
5750 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
5751 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
5753 # Check whether --enable-apple_ieee was given.
5754 if test "${enable_apple_ieee+set}" = set; then
5755 enableval=$enable_apple_ieee;
5756 if test "$enableval" = yes; then
5757 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
5759 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
5764 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
5765 if test "x$LINE" != x ; then
5766 eval "DEFAULT_$LINE"
5771 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
5776 eval "$ac_cv_use_apple_ieee"
5777 if test "$no_cache" != 1; then
5778 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
5781 if test "$wxUSE_APPLE_IEEE" = yes; then
5782 { echo "$as_me:$LINENO: result: yes" >&5
5783 echo "${ECHO_T}yes" >&6; }
5785 { echo "$as_me:$LINENO: result: no" >&5
5786 echo "${ECHO_T}no" >&6; }
5791 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5792 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
5794 # Check whether --enable-arcstream was given.
5795 if test "${enable_arcstream+set}" = set; then
5796 enableval=$enable_arcstream;
5797 if test "$enableval" = yes; then
5798 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
5800 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
5805 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
5806 if test "x$LINE" != x ; then
5807 eval "DEFAULT_$LINE"
5812 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5817 eval "$ac_cv_use_arcstream"
5818 if test "$no_cache" != 1; then
5819 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5822 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5823 { echo "$as_me:$LINENO: result: yes" >&5
5824 echo "${ECHO_T}yes" >&6; }
5826 { echo "$as_me:$LINENO: result: no" >&5
5827 echo "${ECHO_T}no" >&6; }
5832 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5833 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
5835 # Check whether --enable-backtrace was given.
5836 if test "${enable_backtrace+set}" = set; then
5837 enableval=$enable_backtrace;
5838 if test "$enableval" = yes; then
5839 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
5841 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
5846 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
5847 if test "x$LINE" != x ; then
5848 eval "DEFAULT_$LINE"
5853 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5858 eval "$ac_cv_use_backtrace"
5859 if test "$no_cache" != 1; then
5860 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5863 if test "$wxUSE_STACKWALKER" = yes; then
5864 { echo "$as_me:$LINENO: result: yes" >&5
5865 echo "${ECHO_T}yes" >&6; }
5867 { echo "$as_me:$LINENO: result: no" >&5
5868 echo "${ECHO_T}no" >&6; }
5873 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5874 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
5876 # Check whether --enable-catch_segvs was given.
5877 if test "${enable_catch_segvs+set}" = set; then
5878 enableval=$enable_catch_segvs;
5879 if test "$enableval" = yes; then
5880 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5882 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5887 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5888 if test "x$LINE" != x ; then
5889 eval "DEFAULT_$LINE"
5894 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5899 eval "$ac_cv_use_catch_segvs"
5900 if test "$no_cache" != 1; then
5901 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5904 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5905 { echo "$as_me:$LINENO: result: yes" >&5
5906 echo "${ECHO_T}yes" >&6; }
5908 { echo "$as_me:$LINENO: result: no" >&5
5909 echo "${ECHO_T}no" >&6; }
5914 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5915 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
5917 # Check whether --enable-cmdline was given.
5918 if test "${enable_cmdline+set}" = set; then
5919 enableval=$enable_cmdline;
5920 if test "$enableval" = yes; then
5921 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
5923 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
5928 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5929 if test "x$LINE" != x ; then
5930 eval "DEFAULT_$LINE"
5935 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5940 eval "$ac_cv_use_cmdline"
5941 if test "$no_cache" != 1; then
5942 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5945 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5946 { echo "$as_me:$LINENO: result: yes" >&5
5947 echo "${ECHO_T}yes" >&6; }
5949 { echo "$as_me:$LINENO: result: no" >&5
5950 echo "${ECHO_T}no" >&6; }
5955 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5956 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
5958 # Check whether --enable-datetime was given.
5959 if test "${enable_datetime+set}" = set; then
5960 enableval=$enable_datetime;
5961 if test "$enableval" = yes; then
5962 ac_cv_use_datetime='wxUSE_DATETIME=yes'
5964 ac_cv_use_datetime='wxUSE_DATETIME=no'
5969 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5970 if test "x$LINE" != x ; then
5971 eval "DEFAULT_$LINE"
5976 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5981 eval "$ac_cv_use_datetime"
5982 if test "$no_cache" != 1; then
5983 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5986 if test "$wxUSE_DATETIME" = yes; then
5987 { echo "$as_me:$LINENO: result: yes" >&5
5988 echo "${ECHO_T}yes" >&6; }
5990 { echo "$as_me:$LINENO: result: no" >&5
5991 echo "${ECHO_T}no" >&6; }
5996 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5997 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
5999 # Check whether --enable-debugreport was given.
6000 if test "${enable_debugreport+set}" = set; then
6001 enableval=$enable_debugreport;
6002 if test "$enableval" = yes; then
6003 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6005 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6010 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
6011 if test "x$LINE" != x ; then
6012 eval "DEFAULT_$LINE"
6017 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
6022 eval "$ac_cv_use_debugreport"
6023 if test "$no_cache" != 1; then
6024 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
6027 if test "$wxUSE_DEBUGREPORT" = yes; then
6028 { echo "$as_me:$LINENO: result: yes" >&5
6029 echo "${ECHO_T}yes" >&6; }
6031 { echo "$as_me:$LINENO: result: no" >&5
6032 echo "${ECHO_T}no" >&6; }
6037 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6038 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6040 # Check whether --enable-dialupman was given.
6041 if test "${enable_dialupman+set}" = set; then
6042 enableval=$enable_dialupman;
6043 if test "$enableval" = yes; then
6044 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6046 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6051 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
6052 if test "x$LINE" != x ; then
6053 eval "DEFAULT_$LINE"
6058 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
6063 eval "$ac_cv_use_dialupman"
6064 if test "$no_cache" != 1; then
6065 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
6068 if test "$wxUSE_DIALUP_MANAGER" = yes; then
6069 { echo "$as_me:$LINENO: result: yes" >&5
6070 echo "${ECHO_T}yes" >&6; }
6072 { echo "$as_me:$LINENO: result: no" >&5
6073 echo "${ECHO_T}no" >&6; }
6078 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6079 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6081 # Check whether --enable-dynlib was given.
6082 if test "${enable_dynlib+set}" = set; then
6083 enableval=$enable_dynlib;
6084 if test "$enableval" = yes; then
6085 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6087 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6092 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
6093 if test "x$LINE" != x ; then
6094 eval "DEFAULT_$LINE"
6099 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
6104 eval "$ac_cv_use_dynlib"
6105 if test "$no_cache" != 1; then
6106 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
6109 if test "$wxUSE_DYNLIB_CLASS" = yes; then
6110 { echo "$as_me:$LINENO: result: yes" >&5
6111 echo "${ECHO_T}yes" >&6; }
6113 { echo "$as_me:$LINENO: result: no" >&5
6114 echo "${ECHO_T}no" >&6; }
6119 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6120 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6122 # Check whether --enable-dynamicloader was given.
6123 if test "${enable_dynamicloader+set}" = set; then
6124 enableval=$enable_dynamicloader;
6125 if test "$enableval" = yes; then
6126 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6128 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6133 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
6134 if test "x$LINE" != x ; then
6135 eval "DEFAULT_$LINE"
6140 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
6145 eval "$ac_cv_use_dynamicloader"
6146 if test "$no_cache" != 1; then
6147 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
6150 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
6151 { echo "$as_me:$LINENO: result: yes" >&5
6152 echo "${ECHO_T}yes" >&6; }
6154 { echo "$as_me:$LINENO: result: no" >&5
6155 echo "${ECHO_T}no" >&6; }
6160 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6161 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6163 # Check whether --enable-exceptions was given.
6164 if test "${enable_exceptions+set}" = set; then
6165 enableval=$enable_exceptions;
6166 if test "$enableval" = yes; then
6167 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6169 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6174 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
6175 if test "x$LINE" != x ; then
6176 eval "DEFAULT_$LINE"
6181 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
6186 eval "$ac_cv_use_exceptions"
6187 if test "$no_cache" != 1; then
6188 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
6191 if test "$wxUSE_EXCEPTIONS" = yes; then
6192 { echo "$as_me:$LINENO: result: yes" >&5
6193 echo "${ECHO_T}yes" >&6; }
6195 { echo "$as_me:$LINENO: result: no" >&5
6196 echo "${ECHO_T}no" >&6; }
6201 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6202 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6204 # Check whether --enable-ffile was given.
6205 if test "${enable_ffile+set}" = set; then
6206 enableval=$enable_ffile;
6207 if test "$enableval" = yes; then
6208 ac_cv_use_ffile='wxUSE_FFILE=yes'
6210 ac_cv_use_ffile='wxUSE_FFILE=no'
6215 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
6216 if test "x$LINE" != x ; then
6217 eval "DEFAULT_$LINE"
6222 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
6227 eval "$ac_cv_use_ffile"
6228 if test "$no_cache" != 1; then
6229 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
6232 if test "$wxUSE_FFILE" = yes; then
6233 { echo "$as_me:$LINENO: result: yes" >&5
6234 echo "${ECHO_T}yes" >&6; }
6236 { echo "$as_me:$LINENO: result: no" >&5
6237 echo "${ECHO_T}no" >&6; }
6242 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6243 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6245 # Check whether --enable-file was given.
6246 if test "${enable_file+set}" = set; then
6247 enableval=$enable_file;
6248 if test "$enableval" = yes; then
6249 ac_cv_use_file='wxUSE_FILE=yes'
6251 ac_cv_use_file='wxUSE_FILE=no'
6256 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
6257 if test "x$LINE" != x ; then
6258 eval "DEFAULT_$LINE"
6263 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
6268 eval "$ac_cv_use_file"
6269 if test "$no_cache" != 1; then
6270 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
6273 if test "$wxUSE_FILE" = yes; then
6274 { echo "$as_me:$LINENO: result: yes" >&5
6275 echo "${ECHO_T}yes" >&6; }
6277 { echo "$as_me:$LINENO: result: no" >&5
6278 echo "${ECHO_T}no" >&6; }
6283 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6284 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6286 # Check whether --enable-filesystem was given.
6287 if test "${enable_filesystem+set}" = set; then
6288 enableval=$enable_filesystem;
6289 if test "$enableval" = yes; then
6290 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6292 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6297 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
6298 if test "x$LINE" != x ; then
6299 eval "DEFAULT_$LINE"
6304 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
6309 eval "$ac_cv_use_filesystem"
6310 if test "$no_cache" != 1; then
6311 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
6314 if test "$wxUSE_FILESYSTEM" = yes; then
6315 { echo "$as_me:$LINENO: result: yes" >&5
6316 echo "${ECHO_T}yes" >&6; }
6318 { echo "$as_me:$LINENO: result: no" >&5
6319 echo "${ECHO_T}no" >&6; }
6324 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
6325 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
6327 # Check whether --enable-fontmap was given.
6328 if test "${enable_fontmap+set}" = set; then
6329 enableval=$enable_fontmap;
6330 if test "$enableval" = yes; then
6331 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
6333 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
6338 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
6339 if test "x$LINE" != x ; then
6340 eval "DEFAULT_$LINE"
6345 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
6350 eval "$ac_cv_use_fontmap"
6351 if test "$no_cache" != 1; then
6352 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
6355 if test "$wxUSE_FONTMAP" = yes; then
6356 { echo "$as_me:$LINENO: result: yes" >&5
6357 echo "${ECHO_T}yes" >&6; }
6359 { echo "$as_me:$LINENO: result: no" >&5
6360 echo "${ECHO_T}no" >&6; }
6365 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
6366 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
6368 # Check whether --enable-fs_archive was given.
6369 if test "${enable_fs_archive+set}" = set; then
6370 enableval=$enable_fs_archive;
6371 if test "$enableval" = yes; then
6372 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
6374 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
6379 LINE=`grep "wxUSE_FS_ARCHIVE" ${wx_arg_cache_file}`
6380 if test "x$LINE" != x ; then
6381 eval "DEFAULT_$LINE"
6386 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE='$DEFAULT_wxUSE_FS_ARCHIVE
6391 eval "$ac_cv_use_fs_archive"
6392 if test "$no_cache" != 1; then
6393 echo $ac_cv_use_fs_archive >> ${wx_arg_cache_file}.tmp
6396 if test "$wxUSE_FS_ARCHIVE" = yes; then
6397 { echo "$as_me:$LINENO: result: yes" >&5
6398 echo "${ECHO_T}yes" >&6; }
6400 { echo "$as_me:$LINENO: result: no" >&5
6401 echo "${ECHO_T}no" >&6; }
6406 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
6407 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
6409 # Check whether --enable-fs_inet was given.
6410 if test "${enable_fs_inet+set}" = set; then
6411 enableval=$enable_fs_inet;
6412 if test "$enableval" = yes; then
6413 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
6415 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
6420 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
6421 if test "x$LINE" != x ; then
6422 eval "DEFAULT_$LINE"
6427 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
6432 eval "$ac_cv_use_fs_inet"
6433 if test "$no_cache" != 1; then
6434 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
6437 if test "$wxUSE_FS_INET" = yes; then
6438 { echo "$as_me:$LINENO: result: yes" >&5
6439 echo "${ECHO_T}yes" >&6; }
6441 { echo "$as_me:$LINENO: result: no" >&5
6442 echo "${ECHO_T}no" >&6; }
6447 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
6448 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
6450 # Check whether --enable-fs_zip was given.
6451 if test "${enable_fs_zip+set}" = set; then
6452 enableval=$enable_fs_zip;
6453 if test "$enableval" = yes; then
6454 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
6456 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
6461 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
6462 if test "x$LINE" != x ; then
6463 eval "DEFAULT_$LINE"
6468 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
6473 eval "$ac_cv_use_fs_zip"
6474 if test "$no_cache" != 1; then
6475 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
6478 if test "$wxUSE_FS_ZIP" = yes; then
6479 { echo "$as_me:$LINENO: result: yes" >&5
6480 echo "${ECHO_T}yes" >&6; }
6482 { echo "$as_me:$LINENO: result: no" >&5
6483 echo "${ECHO_T}no" >&6; }
6488 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
6489 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
6491 # Check whether --enable-geometry was given.
6492 if test "${enable_geometry+set}" = set; then
6493 enableval=$enable_geometry;
6494 if test "$enableval" = yes; then
6495 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
6497 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
6502 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
6503 if test "x$LINE" != x ; then
6504 eval "DEFAULT_$LINE"
6509 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
6514 eval "$ac_cv_use_geometry"
6515 if test "$no_cache" != 1; then
6516 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
6519 if test "$wxUSE_GEOMETRY" = yes; then
6520 { echo "$as_me:$LINENO: result: yes" >&5
6521 echo "${ECHO_T}yes" >&6; }
6523 { echo "$as_me:$LINENO: result: no" >&5
6524 echo "${ECHO_T}no" >&6; }
6529 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
6530 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
6532 # Check whether --enable-log was given.
6533 if test "${enable_log+set}" = set; then
6534 enableval=$enable_log;
6535 if test "$enableval" = yes; then
6536 ac_cv_use_log='wxUSE_LOG=yes'
6538 ac_cv_use_log='wxUSE_LOG=no'
6543 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
6544 if test "x$LINE" != x ; then
6545 eval "DEFAULT_$LINE"
6550 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
6555 eval "$ac_cv_use_log"
6556 if test "$no_cache" != 1; then
6557 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
6560 if test "$wxUSE_LOG" = yes; then
6561 { echo "$as_me:$LINENO: result: yes" >&5
6562 echo "${ECHO_T}yes" >&6; }
6564 { echo "$as_me:$LINENO: result: no" >&5
6565 echo "${ECHO_T}no" >&6; }
6570 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
6571 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
6573 # Check whether --enable-longlong was given.
6574 if test "${enable_longlong+set}" = set; then
6575 enableval=$enable_longlong;
6576 if test "$enableval" = yes; then
6577 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
6579 ac_cv_use_longlong='wxUSE_LONGLONG=no'
6584 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
6585 if test "x$LINE" != x ; then
6586 eval "DEFAULT_$LINE"
6591 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
6596 eval "$ac_cv_use_longlong"
6597 if test "$no_cache" != 1; then
6598 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
6601 if test "$wxUSE_LONGLONG" = yes; then
6602 { echo "$as_me:$LINENO: result: yes" >&5
6603 echo "${ECHO_T}yes" >&6; }
6605 { echo "$as_me:$LINENO: result: no" >&5
6606 echo "${ECHO_T}no" >&6; }
6611 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
6612 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
6614 # Check whether --enable-mimetype was given.
6615 if test "${enable_mimetype+set}" = set; then
6616 enableval=$enable_mimetype;
6617 if test "$enableval" = yes; then
6618 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
6620 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
6625 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
6626 if test "x$LINE" != x ; then
6627 eval "DEFAULT_$LINE"
6632 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
6637 eval "$ac_cv_use_mimetype"
6638 if test "$no_cache" != 1; then
6639 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
6642 if test "$wxUSE_MIMETYPE" = yes; then
6643 { echo "$as_me:$LINENO: result: yes" >&5
6644 echo "${ECHO_T}yes" >&6; }
6646 { echo "$as_me:$LINENO: result: no" >&5
6647 echo "${ECHO_T}no" >&6; }
6652 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
6653 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
6655 # Check whether --enable-mslu was given.
6656 if test "${enable_mslu+set}" = set; then
6657 enableval=$enable_mslu;
6658 if test "$enableval" = yes; then
6659 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
6661 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
6666 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
6667 if test "x$LINE" != x ; then
6668 eval "DEFAULT_$LINE"
6673 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
6678 eval "$ac_cv_use_mslu"
6679 if test "$no_cache" != 1; then
6680 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
6683 if test "$wxUSE_UNICODE_MSLU" = yes; then
6684 { echo "$as_me:$LINENO: result: yes" >&5
6685 echo "${ECHO_T}yes" >&6; }
6687 { echo "$as_me:$LINENO: result: no" >&5
6688 echo "${ECHO_T}no" >&6; }
6693 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
6694 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
6696 # Check whether --enable-snglinst was given.
6697 if test "${enable_snglinst+set}" = set; then
6698 enableval=$enable_snglinst;
6699 if test "$enableval" = yes; then
6700 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
6702 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
6707 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
6708 if test "x$LINE" != x ; then
6709 eval "DEFAULT_$LINE"
6714 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
6719 eval "$ac_cv_use_snglinst"
6720 if test "$no_cache" != 1; then
6721 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
6724 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
6725 { echo "$as_me:$LINENO: result: yes" >&5
6726 echo "${ECHO_T}yes" >&6; }
6728 { echo "$as_me:$LINENO: result: no" >&5
6729 echo "${ECHO_T}no" >&6; }
6734 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
6735 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
6737 # Check whether --enable-std_iostreams was given.
6738 if test "${enable_std_iostreams+set}" = set; then
6739 enableval=$enable_std_iostreams;
6740 if test "$enableval" = yes; then
6741 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
6743 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
6748 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
6749 if test "x$LINE" != x ; then
6750 eval "DEFAULT_$LINE"
6755 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
6760 eval "$ac_cv_use_std_iostreams"
6761 if test "$no_cache" != 1; then
6762 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
6765 if test "$wxUSE_STD_IOSTREAM" = yes; then
6766 { echo "$as_me:$LINENO: result: yes" >&5
6767 echo "${ECHO_T}yes" >&6; }
6769 { echo "$as_me:$LINENO: result: no" >&5
6770 echo "${ECHO_T}no" >&6; }
6775 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
6776 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
6778 # Check whether --enable-std_string was given.
6779 if test "${enable_std_string+set}" = set; then
6780 enableval=$enable_std_string;
6781 if test "$enableval" = yes; then
6782 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
6784 ac_cv_use_std_string='wxUSE_STD_STRING=no'
6789 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
6790 if test "x$LINE" != x ; then
6791 eval "DEFAULT_$LINE"
6796 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
6801 eval "$ac_cv_use_std_string"
6802 if test "$no_cache" != 1; then
6803 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
6806 if test "$wxUSE_STD_STRING" = yes; then
6807 { echo "$as_me:$LINENO: result: yes" >&5
6808 echo "${ECHO_T}yes" >&6; }
6810 { echo "$as_me:$LINENO: result: no" >&5
6811 echo "${ECHO_T}no" >&6; }
6816 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
6817 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
6819 # Check whether --enable-stdpaths was given.
6820 if test "${enable_stdpaths+set}" = set; then
6821 enableval=$enable_stdpaths;
6822 if test "$enableval" = yes; then
6823 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
6825 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
6830 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
6831 if test "x$LINE" != x ; then
6832 eval "DEFAULT_$LINE"
6837 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
6842 eval "$ac_cv_use_stdpaths"
6843 if test "$no_cache" != 1; then
6844 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
6847 if test "$wxUSE_STDPATHS" = yes; then
6848 { echo "$as_me:$LINENO: result: yes" >&5
6849 echo "${ECHO_T}yes" >&6; }
6851 { echo "$as_me:$LINENO: result: no" >&5
6852 echo "${ECHO_T}no" >&6; }
6857 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6858 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
6860 # Check whether --enable-stopwatch was given.
6861 if test "${enable_stopwatch+set}" = set; then
6862 enableval=$enable_stopwatch;
6863 if test "$enableval" = yes; then
6864 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
6866 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
6871 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
6872 if test "x$LINE" != x ; then
6873 eval "DEFAULT_$LINE"
6878 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
6883 eval "$ac_cv_use_stopwatch"
6884 if test "$no_cache" != 1; then
6885 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
6888 if test "$wxUSE_STOPWATCH" = yes; then
6889 { echo "$as_me:$LINENO: result: yes" >&5
6890 echo "${ECHO_T}yes" >&6; }
6892 { echo "$as_me:$LINENO: result: no" >&5
6893 echo "${ECHO_T}no" >&6; }
6898 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
6899 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
6901 # Check whether --enable-streams was given.
6902 if test "${enable_streams+set}" = set; then
6903 enableval=$enable_streams;
6904 if test "$enableval" = yes; then
6905 ac_cv_use_streams='wxUSE_STREAMS=yes'
6907 ac_cv_use_streams='wxUSE_STREAMS=no'
6912 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
6913 if test "x$LINE" != x ; then
6914 eval "DEFAULT_$LINE"
6919 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
6924 eval "$ac_cv_use_streams"
6925 if test "$no_cache" != 1; then
6926 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
6929 if test "$wxUSE_STREAMS" = yes; then
6930 { echo "$as_me:$LINENO: result: yes" >&5
6931 echo "${ECHO_T}yes" >&6; }
6933 { echo "$as_me:$LINENO: result: no" >&5
6934 echo "${ECHO_T}no" >&6; }
6939 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
6940 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
6942 # Check whether --enable-system_options was given.
6943 if test "${enable_system_options+set}" = set; then
6944 enableval=$enable_system_options;
6945 if test "$enableval" = yes; then
6946 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
6948 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
6953 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6954 if test "x$LINE" != x ; then
6955 eval "DEFAULT_$LINE"
6960 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6965 eval "$ac_cv_use_system_options"
6966 if test "$no_cache" != 1; then
6967 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6970 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6971 { echo "$as_me:$LINENO: result: yes" >&5
6972 echo "${ECHO_T}yes" >&6; }
6974 { echo "$as_me:$LINENO: result: no" >&5
6975 echo "${ECHO_T}no" >&6; }
6980 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
6981 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
6983 # Check whether --enable-tarstream was given.
6984 if test "${enable_tarstream+set}" = set; then
6985 enableval=$enable_tarstream;
6986 if test "$enableval" = yes; then
6987 ac_cv_use_tarstream='wxUSE_TARSTREAM=yes'
6989 ac_cv_use_tarstream='wxUSE_TARSTREAM=no'
6994 LINE=`grep "wxUSE_TARSTREAM" ${wx_arg_cache_file}`
6995 if test "x$LINE" != x ; then
6996 eval "DEFAULT_$LINE"
7001 ac_cv_use_tarstream='wxUSE_TARSTREAM='$DEFAULT_wxUSE_TARSTREAM
7006 eval "$ac_cv_use_tarstream"
7007 if test "$no_cache" != 1; then
7008 echo $ac_cv_use_tarstream >> ${wx_arg_cache_file}.tmp
7011 if test "$wxUSE_TARSTREAM" = yes; then
7012 { echo "$as_me:$LINENO: result: yes" >&5
7013 echo "${ECHO_T}yes" >&6; }
7015 { echo "$as_me:$LINENO: result: no" >&5
7016 echo "${ECHO_T}no" >&6; }
7021 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7022 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7024 # Check whether --enable-textbuf was given.
7025 if test "${enable_textbuf+set}" = set; then
7026 enableval=$enable_textbuf;
7027 if test "$enableval" = yes; then
7028 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7030 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7035 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
7036 if test "x$LINE" != x ; then
7037 eval "DEFAULT_$LINE"
7042 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
7047 eval "$ac_cv_use_textbuf"
7048 if test "$no_cache" != 1; then
7049 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
7052 if test "$wxUSE_TEXTBUFFER" = yes; then
7053 { echo "$as_me:$LINENO: result: yes" >&5
7054 echo "${ECHO_T}yes" >&6; }
7056 { echo "$as_me:$LINENO: result: no" >&5
7057 echo "${ECHO_T}no" >&6; }
7062 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7063 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7065 # Check whether --enable-textfile was given.
7066 if test "${enable_textfile+set}" = set; then
7067 enableval=$enable_textfile;
7068 if test "$enableval" = yes; then
7069 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
7071 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
7076 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
7077 if test "x$LINE" != x ; then
7078 eval "DEFAULT_$LINE"
7083 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
7088 eval "$ac_cv_use_textfile"
7089 if test "$no_cache" != 1; then
7090 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
7093 if test "$wxUSE_TEXTFILE" = yes; then
7094 { echo "$as_me:$LINENO: result: yes" >&5
7095 echo "${ECHO_T}yes" >&6; }
7097 { echo "$as_me:$LINENO: result: no" >&5
7098 echo "${ECHO_T}no" >&6; }
7103 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7104 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7106 # Check whether --enable-timer was given.
7107 if test "${enable_timer+set}" = set; then
7108 enableval=$enable_timer;
7109 if test "$enableval" = yes; then
7110 ac_cv_use_timer='wxUSE_TIMER=yes'
7112 ac_cv_use_timer='wxUSE_TIMER=no'
7117 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
7118 if test "x$LINE" != x ; then
7119 eval "DEFAULT_$LINE"
7124 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
7129 eval "$ac_cv_use_timer"
7130 if test "$no_cache" != 1; then
7131 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
7134 if test "$wxUSE_TIMER" = yes; then
7135 { echo "$as_me:$LINENO: result: yes" >&5
7136 echo "${ECHO_T}yes" >&6; }
7138 { echo "$as_me:$LINENO: result: no" >&5
7139 echo "${ECHO_T}no" >&6; }
7144 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
7145 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
7147 # Check whether --enable-unicode was given.
7148 if test "${enable_unicode+set}" = set; then
7149 enableval=$enable_unicode;
7150 if test "$enableval" = yes; then
7151 ac_cv_use_unicode='wxUSE_UNICODE=yes'
7153 ac_cv_use_unicode='wxUSE_UNICODE=no'
7158 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
7159 if test "x$LINE" != x ; then
7160 eval "DEFAULT_$LINE"
7165 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
7170 eval "$ac_cv_use_unicode"
7171 if test "$no_cache" != 1; then
7172 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
7175 if test "$wxUSE_UNICODE" = yes; then
7176 { echo "$as_me:$LINENO: result: yes" >&5
7177 echo "${ECHO_T}yes" >&6; }
7179 { echo "$as_me:$LINENO: result: no" >&5
7180 echo "${ECHO_T}no" >&6; }
7185 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7186 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7188 # Check whether --enable-sound was given.
7189 if test "${enable_sound+set}" = set; then
7190 enableval=$enable_sound;
7191 if test "$enableval" = yes; then
7192 ac_cv_use_sound='wxUSE_SOUND=yes'
7194 ac_cv_use_sound='wxUSE_SOUND=no'
7199 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
7200 if test "x$LINE" != x ; then
7201 eval "DEFAULT_$LINE"
7206 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
7211 eval "$ac_cv_use_sound"
7212 if test "$no_cache" != 1; then
7213 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
7216 if test "$wxUSE_SOUND" = yes; then
7217 { echo "$as_me:$LINENO: result: yes" >&5
7218 echo "${ECHO_T}yes" >&6; }
7220 { echo "$as_me:$LINENO: result: no" >&5
7221 echo "${ECHO_T}no" >&6; }
7226 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
7227 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
7229 # Check whether --enable-mediactrl was given.
7230 if test "${enable_mediactrl+set}" = set; then
7231 enableval=$enable_mediactrl;
7232 if test "$enableval" = yes; then
7233 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
7235 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
7240 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
7241 if test "x$LINE" != x ; then
7242 eval "DEFAULT_$LINE"
7247 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
7252 eval "$ac_cv_use_mediactrl"
7253 if test "$no_cache" != 1; then
7254 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
7257 if test "$wxUSE_MEDIACTRL" = yes; then
7258 { echo "$as_me:$LINENO: result: yes" >&5
7259 echo "${ECHO_T}yes" >&6; }
7261 { echo "$as_me:$LINENO: result: no" >&5
7262 echo "${ECHO_T}no" >&6; }
7267 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
7268 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
7270 # Check whether --enable-gstreamer8 was given.
7271 if test "${enable_gstreamer8+set}" = set; then
7272 enableval=$enable_gstreamer8;
7273 if test "$enableval" = yes; then
7274 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
7276 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
7281 LINE=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
7282 if test "x$LINE" != x ; then
7283 eval "DEFAULT_$LINE"
7288 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
7293 eval "$ac_cv_use_gstreamer8"
7294 if test "$no_cache" != 1; then
7295 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
7298 if test "$wxUSE_GSTREAMER8" = yes; then
7299 { echo "$as_me:$LINENO: result: yes" >&5
7300 echo "${ECHO_T}yes" >&6; }
7302 { echo "$as_me:$LINENO: result: no" >&5
7303 echo "${ECHO_T}no" >&6; }
7308 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7309 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7311 # Check whether --enable-printfposparam was given.
7312 if test "${enable_printfposparam+set}" = set; then
7313 enableval=$enable_printfposparam;
7314 if test "$enableval" = yes; then
7315 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7317 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7322 LINE=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
7323 if test "x$LINE" != x ; then
7324 eval "DEFAULT_$LINE"
7329 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
7334 eval "$ac_cv_use_printfposparam"
7335 if test "$no_cache" != 1; then
7336 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
7339 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
7340 { echo "$as_me:$LINENO: result: yes" >&5
7341 echo "${ECHO_T}yes" >&6; }
7343 { echo "$as_me:$LINENO: result: no" >&5
7344 echo "${ECHO_T}no" >&6; }
7349 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7350 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7352 # Check whether --enable-zipstream was given.
7353 if test "${enable_zipstream+set}" = set; then
7354 enableval=$enable_zipstream;
7355 if test "$enableval" = yes; then
7356 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7358 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7363 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
7364 if test "x$LINE" != x ; then
7365 eval "DEFAULT_$LINE"
7370 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
7375 eval "$ac_cv_use_zipstream"
7376 if test "$no_cache" != 1; then
7377 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
7380 if test "$wxUSE_ZIPSTREAM" = yes; then
7381 { echo "$as_me:$LINENO: result: yes" >&5
7382 echo "${ECHO_T}yes" >&6; }
7384 { echo "$as_me:$LINENO: result: no" >&5
7385 echo "${ECHO_T}no" >&6; }
7391 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7392 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7394 # Check whether --enable-url was given.
7395 if test "${enable_url+set}" = set; then
7396 enableval=$enable_url;
7397 if test "$enableval" = yes; then
7398 ac_cv_use_url='wxUSE_URL=yes'
7400 ac_cv_use_url='wxUSE_URL=no'
7405 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
7406 if test "x$LINE" != x ; then
7407 eval "DEFAULT_$LINE"
7412 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
7417 eval "$ac_cv_use_url"
7418 if test "$no_cache" != 1; then
7419 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
7422 if test "$wxUSE_URL" = yes; then
7423 { echo "$as_me:$LINENO: result: yes" >&5
7424 echo "${ECHO_T}yes" >&6; }
7426 { echo "$as_me:$LINENO: result: no" >&5
7427 echo "${ECHO_T}no" >&6; }
7432 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7433 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7435 # Check whether --enable-variant was given.
7436 if test "${enable_variant+set}" = set; then
7437 enableval=$enable_variant;
7438 if test "$enableval" = yes; then
7439 ac_cv_use_variant='wxUSE_VARIANT=yes'
7441 ac_cv_use_variant='wxUSE_VARIANT=no'
7446 LINE=`grep "wxUSE_VARIANT" ${wx_arg_cache_file}`
7447 if test "x$LINE" != x ; then
7448 eval "DEFAULT_$LINE"
7453 ac_cv_use_variant='wxUSE_VARIANT='$DEFAULT_wxUSE_VARIANT
7458 eval "$ac_cv_use_variant"
7459 if test "$no_cache" != 1; then
7460 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
7463 if test "$wxUSE_VARIANT" = yes; then
7464 { echo "$as_me:$LINENO: result: yes" >&5
7465 echo "${ECHO_T}yes" >&6; }
7467 { echo "$as_me:$LINENO: result: no" >&5
7468 echo "${ECHO_T}no" >&6; }
7473 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7474 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7476 # Check whether --enable-protocol was given.
7477 if test "${enable_protocol+set}" = set; then
7478 enableval=$enable_protocol;
7479 if test "$enableval" = yes; then
7480 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
7482 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
7487 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
7488 if test "x$LINE" != x ; then
7489 eval "DEFAULT_$LINE"
7494 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
7499 eval "$ac_cv_use_protocol"
7500 if test "$no_cache" != 1; then
7501 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
7504 if test "$wxUSE_PROTOCOL" = yes; then
7505 { echo "$as_me:$LINENO: result: yes" >&5
7506 echo "${ECHO_T}yes" >&6; }
7508 { echo "$as_me:$LINENO: result: no" >&5
7509 echo "${ECHO_T}no" >&6; }
7514 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
7515 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
7517 # Check whether --enable-protocol_http was given.
7518 if test "${enable_protocol_http+set}" = set; then
7519 enableval=$enable_protocol_http;
7520 if test "$enableval" = yes; then
7521 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
7523 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
7528 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
7529 if test "x$LINE" != x ; then
7530 eval "DEFAULT_$LINE"
7535 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
7540 eval "$ac_cv_use_protocol_http"
7541 if test "$no_cache" != 1; then
7542 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
7545 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
7546 { echo "$as_me:$LINENO: result: yes" >&5
7547 echo "${ECHO_T}yes" >&6; }
7549 { echo "$as_me:$LINENO: result: no" >&5
7550 echo "${ECHO_T}no" >&6; }
7555 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
7556 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
7558 # Check whether --enable-protocol_ftp was given.
7559 if test "${enable_protocol_ftp+set}" = set; then
7560 enableval=$enable_protocol_ftp;
7561 if test "$enableval" = yes; then
7562 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
7564 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
7569 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
7570 if test "x$LINE" != x ; then
7571 eval "DEFAULT_$LINE"
7576 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
7581 eval "$ac_cv_use_protocol_ftp"
7582 if test "$no_cache" != 1; then
7583 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
7586 if test "$wxUSE_PROTOCOL_FTP" = yes; then
7587 { echo "$as_me:$LINENO: result: yes" >&5
7588 echo "${ECHO_T}yes" >&6; }
7590 { echo "$as_me:$LINENO: result: no" >&5
7591 echo "${ECHO_T}no" >&6; }
7596 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
7597 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
7599 # Check whether --enable-protocol_file was given.
7600 if test "${enable_protocol_file+set}" = set; then
7601 enableval=$enable_protocol_file;
7602 if test "$enableval" = yes; then
7603 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
7605 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
7610 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
7611 if test "x$LINE" != x ; then
7612 eval "DEFAULT_$LINE"
7617 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
7622 eval "$ac_cv_use_protocol_file"
7623 if test "$no_cache" != 1; then
7624 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
7627 if test "$wxUSE_PROTOCOL_FILE" = yes; then
7628 { echo "$as_me:$LINENO: result: yes" >&5
7629 echo "${ECHO_T}yes" >&6; }
7631 { echo "$as_me:$LINENO: result: no" >&5
7632 echo "${ECHO_T}no" >&6; }
7640 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
7641 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
7643 # Check whether --enable-threads was given.
7644 if test "${enable_threads+set}" = set; then
7645 enableval=$enable_threads;
7646 if test "$enableval" = yes; then
7647 ac_cv_use_threads='wxUSE_THREADS=yes'
7649 ac_cv_use_threads='wxUSE_THREADS=no'
7654 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
7655 if test "x$LINE" != x ; then
7656 eval "DEFAULT_$LINE"
7661 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
7666 eval "$ac_cv_use_threads"
7667 if test "$no_cache" != 1; then
7668 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
7671 if test "$wxUSE_THREADS" = yes; then
7672 { echo "$as_me:$LINENO: result: yes" >&5
7673 echo "${ECHO_T}yes" >&6; }
7675 { echo "$as_me:$LINENO: result: no" >&5
7676 echo "${ECHO_T}no" >&6; }
7680 if test "$wxUSE_GUI" = "yes"; then
7685 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
7686 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
7688 # Check whether --enable-docview was given.
7689 if test "${enable_docview+set}" = set; then
7690 enableval=$enable_docview;
7691 if test "$enableval" = yes; then
7692 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
7694 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
7699 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
7700 if test "x$LINE" != x ; then
7701 eval "DEFAULT_$LINE"
7706 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
7711 eval "$ac_cv_use_docview"
7712 if test "$no_cache" != 1; then
7713 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
7716 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
7717 { echo "$as_me:$LINENO: result: yes" >&5
7718 echo "${ECHO_T}yes" >&6; }
7720 { echo "$as_me:$LINENO: result: no" >&5
7721 echo "${ECHO_T}no" >&6; }
7726 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
7727 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
7729 # Check whether --enable-help was given.
7730 if test "${enable_help+set}" = set; then
7731 enableval=$enable_help;
7732 if test "$enableval" = yes; then
7733 ac_cv_use_help='wxUSE_HELP=yes'
7735 ac_cv_use_help='wxUSE_HELP=no'
7740 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
7741 if test "x$LINE" != x ; then
7742 eval "DEFAULT_$LINE"
7747 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
7752 eval "$ac_cv_use_help"
7753 if test "$no_cache" != 1; then
7754 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
7757 if test "$wxUSE_HELP" = yes; then
7758 { echo "$as_me:$LINENO: result: yes" >&5
7759 echo "${ECHO_T}yes" >&6; }
7761 { echo "$as_me:$LINENO: result: no" >&5
7762 echo "${ECHO_T}no" >&6; }
7767 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
7768 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
7770 # Check whether --enable-mshtmlhelp was given.
7771 if test "${enable_mshtmlhelp+set}" = set; then
7772 enableval=$enable_mshtmlhelp;
7773 if test "$enableval" = yes; then
7774 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
7776 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
7781 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
7782 if test "x$LINE" != x ; then
7783 eval "DEFAULT_$LINE"
7788 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
7793 eval "$ac_cv_use_mshtmlhelp"
7794 if test "$no_cache" != 1; then
7795 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
7798 if test "$wxUSE_MS_HTML_HELP" = yes; then
7799 { echo "$as_me:$LINENO: result: yes" >&5
7800 echo "${ECHO_T}yes" >&6; }
7802 { echo "$as_me:$LINENO: result: no" >&5
7803 echo "${ECHO_T}no" >&6; }
7808 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7809 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
7811 # Check whether --enable-html was given.
7812 if test "${enable_html+set}" = set; then
7813 enableval=$enable_html;
7814 if test "$enableval" = yes; then
7815 ac_cv_use_html='wxUSE_HTML=yes'
7817 ac_cv_use_html='wxUSE_HTML=no'
7822 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
7823 if test "x$LINE" != x ; then
7824 eval "DEFAULT_$LINE"
7829 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
7834 eval "$ac_cv_use_html"
7835 if test "$no_cache" != 1; then
7836 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7839 if test "$wxUSE_HTML" = yes; then
7840 { echo "$as_me:$LINENO: result: yes" >&5
7841 echo "${ECHO_T}yes" >&6; }
7843 { echo "$as_me:$LINENO: result: no" >&5
7844 echo "${ECHO_T}no" >&6; }
7849 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
7850 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
7852 # Check whether --enable-htmlhelp was given.
7853 if test "${enable_htmlhelp+set}" = set; then
7854 enableval=$enable_htmlhelp;
7855 if test "$enableval" = yes; then
7856 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
7858 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
7863 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
7864 if test "x$LINE" != x ; then
7865 eval "DEFAULT_$LINE"
7870 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
7875 eval "$ac_cv_use_htmlhelp"
7876 if test "$no_cache" != 1; then
7877 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
7880 if test "$wxUSE_WXHTML_HELP" = yes; then
7881 { echo "$as_me:$LINENO: result: yes" >&5
7882 echo "${ECHO_T}yes" >&6; }
7884 { echo "$as_me:$LINENO: result: no" >&5
7885 echo "${ECHO_T}no" >&6; }
7890 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
7891 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
7893 # Check whether --enable-xrc was given.
7894 if test "${enable_xrc+set}" = set; then
7895 enableval=$enable_xrc;
7896 if test "$enableval" = yes; then
7897 ac_cv_use_xrc='wxUSE_XRC=yes'
7899 ac_cv_use_xrc='wxUSE_XRC=no'
7904 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
7905 if test "x$LINE" != x ; then
7906 eval "DEFAULT_$LINE"
7911 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
7916 eval "$ac_cv_use_xrc"
7917 if test "$no_cache" != 1; then
7918 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
7921 if test "$wxUSE_XRC" = yes; then
7922 { echo "$as_me:$LINENO: result: yes" >&5
7923 echo "${ECHO_T}yes" >&6; }
7925 { echo "$as_me:$LINENO: result: no" >&5
7926 echo "${ECHO_T}no" >&6; }
7931 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
7932 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
7934 # Check whether --enable-aui was given.
7935 if test "${enable_aui+set}" = set; then
7936 enableval=$enable_aui;
7937 if test "$enableval" = yes; then
7938 ac_cv_use_aui='wxUSE_AUI=yes'
7940 ac_cv_use_aui='wxUSE_AUI=no'
7945 LINE=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
7946 if test "x$LINE" != x ; then
7947 eval "DEFAULT_$LINE"
7952 ac_cv_use_aui='wxUSE_AUI='$DEFAULT_wxUSE_AUI
7957 eval "$ac_cv_use_aui"
7958 if test "$no_cache" != 1; then
7959 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
7962 if test "$wxUSE_AUI" = yes; then
7963 { echo "$as_me:$LINENO: result: yes" >&5
7964 echo "${ECHO_T}yes" >&6; }
7966 { echo "$as_me:$LINENO: result: no" >&5
7967 echo "${ECHO_T}no" >&6; }
7972 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
7973 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
7975 # Check whether --enable-constraints was given.
7976 if test "${enable_constraints+set}" = set; then
7977 enableval=$enable_constraints;
7978 if test "$enableval" = yes; then
7979 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
7981 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
7986 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
7987 if test "x$LINE" != x ; then
7988 eval "DEFAULT_$LINE"
7993 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
7998 eval "$ac_cv_use_constraints"
7999 if test "$no_cache" != 1; then
8000 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
8003 if test "$wxUSE_CONSTRAINTS" = yes; then
8004 { echo "$as_me:$LINENO: result: yes" >&5
8005 echo "${ECHO_T}yes" >&6; }
8007 { echo "$as_me:$LINENO: result: no" >&5
8008 echo "${ECHO_T}no" >&6; }
8013 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
8014 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
8016 # Check whether --enable-printarch was given.
8017 if test "${enable_printarch+set}" = set; then
8018 enableval=$enable_printarch;
8019 if test "$enableval" = yes; then
8020 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
8022 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
8027 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
8028 if test "x$LINE" != x ; then
8029 eval "DEFAULT_$LINE"
8034 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
8039 eval "$ac_cv_use_printarch"
8040 if test "$no_cache" != 1; then
8041 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
8044 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
8045 { echo "$as_me:$LINENO: result: yes" >&5
8046 echo "${ECHO_T}yes" >&6; }
8048 { echo "$as_me:$LINENO: result: no" >&5
8049 echo "${ECHO_T}no" >&6; }
8054 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8055 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8057 # Check whether --enable-mdi was given.
8058 if test "${enable_mdi+set}" = set; then
8059 enableval=$enable_mdi;
8060 if test "$enableval" = yes; then
8061 ac_cv_use_mdi='wxUSE_MDI=yes'
8063 ac_cv_use_mdi='wxUSE_MDI=no'
8068 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
8069 if test "x$LINE" != x ; then
8070 eval "DEFAULT_$LINE"
8075 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
8080 eval "$ac_cv_use_mdi"
8081 if test "$no_cache" != 1; then
8082 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
8085 if test "$wxUSE_MDI" = yes; then
8086 { echo "$as_me:$LINENO: result: yes" >&5
8087 echo "${ECHO_T}yes" >&6; }
8089 { echo "$as_me:$LINENO: result: no" >&5
8090 echo "${ECHO_T}no" >&6; }
8095 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8096 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8098 # Check whether --enable-mdidoc was given.
8099 if test "${enable_mdidoc+set}" = set; then
8100 enableval=$enable_mdidoc;
8101 if test "$enableval" = yes; then
8102 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8104 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8109 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
8110 if test "x$LINE" != x ; then
8111 eval "DEFAULT_$LINE"
8116 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
8121 eval "$ac_cv_use_mdidoc"
8122 if test "$no_cache" != 1; then
8123 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
8126 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
8127 { echo "$as_me:$LINENO: result: yes" >&5
8128 echo "${ECHO_T}yes" >&6; }
8130 { echo "$as_me:$LINENO: result: no" >&5
8131 echo "${ECHO_T}no" >&6; }
8136 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8137 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8139 # Check whether --enable-loggui was given.
8140 if test "${enable_loggui+set}" = set; then
8141 enableval=$enable_loggui;
8142 if test "$enableval" = yes; then
8143 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
8145 ac_cv_use_loggui='wxUSE_LOGGUI=no'
8150 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
8151 if test "x$LINE" != x ; then
8152 eval "DEFAULT_$LINE"
8157 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
8162 eval "$ac_cv_use_loggui"
8163 if test "$no_cache" != 1; then
8164 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
8167 if test "$wxUSE_LOGGUI" = yes; then
8168 { echo "$as_me:$LINENO: result: yes" >&5
8169 echo "${ECHO_T}yes" >&6; }
8171 { echo "$as_me:$LINENO: result: no" >&5
8172 echo "${ECHO_T}no" >&6; }
8177 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8178 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8180 # Check whether --enable-logwin was given.
8181 if test "${enable_logwin+set}" = set; then
8182 enableval=$enable_logwin;
8183 if test "$enableval" = yes; then
8184 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8186 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
8191 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
8192 if test "x$LINE" != x ; then
8193 eval "DEFAULT_$LINE"
8198 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
8203 eval "$ac_cv_use_logwin"
8204 if test "$no_cache" != 1; then
8205 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
8208 if test "$wxUSE_LOGWINDOW" = yes; then
8209 { echo "$as_me:$LINENO: result: yes" >&5
8210 echo "${ECHO_T}yes" >&6; }
8212 { echo "$as_me:$LINENO: result: no" >&5
8213 echo "${ECHO_T}no" >&6; }
8218 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8219 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8221 # Check whether --enable-logdialog was given.
8222 if test "${enable_logdialog+set}" = set; then
8223 enableval=$enable_logdialog;
8224 if test "$enableval" = yes; then
8225 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8227 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8232 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
8233 if test "x$LINE" != x ; then
8234 eval "DEFAULT_$LINE"
8239 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
8244 eval "$ac_cv_use_logdialog"
8245 if test "$no_cache" != 1; then
8246 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
8249 if test "$wxUSE_LOGDIALOG" = yes; then
8250 { echo "$as_me:$LINENO: result: yes" >&5
8251 echo "${ECHO_T}yes" >&6; }
8253 { echo "$as_me:$LINENO: result: no" >&5
8254 echo "${ECHO_T}no" >&6; }
8259 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
8260 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
8262 # Check whether --enable-webkit was given.
8263 if test "${enable_webkit+set}" = set; then
8264 enableval=$enable_webkit;
8265 if test "$enableval" = yes; then
8266 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
8268 ac_cv_use_webkit='wxUSE_WEBKIT=no'
8273 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
8274 if test "x$LINE" != x ; then
8275 eval "DEFAULT_$LINE"
8280 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
8285 eval "$ac_cv_use_webkit"
8286 if test "$no_cache" != 1; then
8287 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
8290 if test "$wxUSE_WEBKIT" = yes; then
8291 { echo "$as_me:$LINENO: result: yes" >&5
8292 echo "${ECHO_T}yes" >&6; }
8294 { echo "$as_me:$LINENO: result: no" >&5
8295 echo "${ECHO_T}no" >&6; }
8300 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
8301 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
8303 # Check whether --enable-richtext was given.
8304 if test "${enable_richtext+set}" = set; then
8305 enableval=$enable_richtext;
8306 if test "$enableval" = yes; then
8307 ac_cv_use_richtext='wxUSE_RICHTEXT=yes'
8309 ac_cv_use_richtext='wxUSE_RICHTEXT=no'
8314 LINE=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
8315 if test "x$LINE" != x ; then
8316 eval "DEFAULT_$LINE"
8321 ac_cv_use_richtext='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
8326 eval "$ac_cv_use_richtext"
8327 if test "$no_cache" != 1; then
8328 echo $ac_cv_use_richtext >> ${wx_arg_cache_file}.tmp
8331 if test "$wxUSE_RICHTEXT" = yes; then
8332 { echo "$as_me:$LINENO: result: yes" >&5
8333 echo "${ECHO_T}yes" >&6; }
8335 { echo "$as_me:$LINENO: result: no" >&5
8336 echo "${ECHO_T}no" >&6; }
8341 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
8342 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
8344 # Check whether --enable-graphics_ctx was given.
8345 if test "${enable_graphics_ctx+set}" = set; then
8346 enableval=$enable_graphics_ctx;
8347 if test "$enableval" = yes; then
8348 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
8350 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
8355 LINE=`grep "wxUSE_GRAPHICS_CONTEXT" ${wx_arg_cache_file}`
8356 if test "x$LINE" != x ; then
8357 eval "DEFAULT_$LINE"
8362 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT='$DEFAULT_wxUSE_GRAPHICS_CONTEXT
8367 eval "$ac_cv_use_graphics_ctx"
8368 if test "$no_cache" != 1; then
8369 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
8372 if test "$wxUSE_GRAPHICS_CONTEXT" = yes; then
8373 { echo "$as_me:$LINENO: result: yes" >&5
8374 echo "${ECHO_T}yes" >&6; }
8376 { echo "$as_me:$LINENO: result: no" >&5
8377 echo "${ECHO_T}no" >&6; }
8383 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
8384 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
8386 # Check whether --enable-postscript was given.
8387 if test "${enable_postscript+set}" = set; then
8388 enableval=$enable_postscript;
8389 if test "$enableval" = yes; then
8390 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
8392 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
8397 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
8398 if test "x$LINE" != x ; then
8399 eval "DEFAULT_$LINE"
8404 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
8409 eval "$ac_cv_use_postscript"
8410 if test "$no_cache" != 1; then
8411 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
8414 if test "$wxUSE_POSTSCRIPT" = yes; then
8415 { echo "$as_me:$LINENO: result: yes" >&5
8416 echo "${ECHO_T}yes" >&6; }
8418 { echo "$as_me:$LINENO: result: no" >&5
8419 echo "${ECHO_T}no" >&6; }
8427 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
8428 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6; }
8430 # Check whether --enable-prologio was given.
8431 if test "${enable_prologio+set}" = set; then
8432 enableval=$enable_prologio;
8433 if test "$enableval" = yes; then
8434 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
8436 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
8441 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
8442 if test "x$LINE" != x ; then
8443 eval "DEFAULT_$LINE"
8448 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
8453 eval "$ac_cv_use_prologio"
8454 if test "$no_cache" != 1; then
8455 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
8458 if test "$wxUSE_PROLOGIO" = yes; then
8459 { echo "$as_me:$LINENO: result: yes" >&5
8460 echo "${ECHO_T}yes" >&6; }
8462 { echo "$as_me:$LINENO: result: no" >&5
8463 echo "${ECHO_T}no" >&6; }
8468 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
8469 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6; }
8471 # Check whether --enable-resources was given.
8472 if test "${enable_resources+set}" = set; then
8473 enableval=$enable_resources;
8474 if test "$enableval" = yes; then
8475 ac_cv_use_resources='wxUSE_RESOURCES=yes'
8477 ac_cv_use_resources='wxUSE_RESOURCES=no'
8482 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
8483 if test "x$LINE" != x ; then
8484 eval "DEFAULT_$LINE"
8489 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
8494 eval "$ac_cv_use_resources"
8495 if test "$no_cache" != 1; then
8496 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
8499 if test "$wxUSE_RESOURCES" = yes; then
8500 { echo "$as_me:$LINENO: result: yes" >&5
8501 echo "${ECHO_T}yes" >&6; }
8503 { echo "$as_me:$LINENO: result: no" >&5
8504 echo "${ECHO_T}no" >&6; }
8511 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
8512 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
8514 # Check whether --enable-clipboard was given.
8515 if test "${enable_clipboard+set}" = set; then
8516 enableval=$enable_clipboard;
8517 if test "$enableval" = yes; then
8518 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
8520 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
8525 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
8526 if test "x$LINE" != x ; then
8527 eval "DEFAULT_$LINE"
8532 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
8537 eval "$ac_cv_use_clipboard"
8538 if test "$no_cache" != 1; then
8539 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
8542 if test "$wxUSE_CLIPBOARD" = yes; then
8543 { echo "$as_me:$LINENO: result: yes" >&5
8544 echo "${ECHO_T}yes" >&6; }
8546 { echo "$as_me:$LINENO: result: no" >&5
8547 echo "${ECHO_T}no" >&6; }
8552 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
8553 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
8555 # Check whether --enable-dnd was given.
8556 if test "${enable_dnd+set}" = set; then
8557 enableval=$enable_dnd;
8558 if test "$enableval" = yes; then
8559 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
8561 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
8566 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
8567 if test "x$LINE" != x ; then
8568 eval "DEFAULT_$LINE"
8573 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
8578 eval "$ac_cv_use_dnd"
8579 if test "$no_cache" != 1; then
8580 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
8583 if test "$wxUSE_DRAG_AND_DROP" = yes; then
8584 { echo "$as_me:$LINENO: result: yes" >&5
8585 echo "${ECHO_T}yes" >&6; }
8587 { echo "$as_me:$LINENO: result: no" >&5
8588 echo "${ECHO_T}no" >&6; }
8593 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
8594 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
8596 # Check whether --enable-metafile was given.
8597 if test "${enable_metafile+set}" = set; then
8598 enableval=$enable_metafile;
8599 if test "$enableval" = yes; then
8600 ac_cv_use_metafile='wxUSE_METAFILE=yes'
8602 ac_cv_use_metafile='wxUSE_METAFILE=no'
8607 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8608 if test "x$LINE" != x ; then
8609 eval "DEFAULT_$LINE"
8614 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8619 eval "$ac_cv_use_metafile"
8620 if test "$no_cache" != 1; then
8621 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8624 if test "$wxUSE_METAFILE" = yes; then
8625 { echo "$as_me:$LINENO: result: yes" >&5
8626 echo "${ECHO_T}yes" >&6; }
8628 { echo "$as_me:$LINENO: result: no" >&5
8629 echo "${ECHO_T}no" >&6; }
8637 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
8638 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
8640 # Check whether --enable-controls was given.
8641 if test "${enable_controls+set}" = set; then
8642 enableval=$enable_controls;
8643 if test "$enableval" = yes; then
8644 ac_cv_use_controls='wxUSE_CONTROLS=yes'
8646 ac_cv_use_controls='wxUSE_CONTROLS=no'
8651 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
8652 if test "x$LINE" != x ; then
8653 eval "DEFAULT_$LINE"
8658 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
8663 eval "$ac_cv_use_controls"
8664 if test "$no_cache" != 1; then
8665 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
8668 if test "$wxUSE_CONTROLS" = yes; then
8669 { echo "$as_me:$LINENO: result: yes" >&5
8670 echo "${ECHO_T}yes" >&6; }
8672 { echo "$as_me:$LINENO: result: no" >&5
8673 echo "${ECHO_T}no" >&6; }
8677 if test "$wxUSE_CONTROLS" = "yes"; then
8678 DEFAULT_wxUSE_ACCEL=yes
8679 DEFAULT_wxUSE_ANIMATIONCTRL=yes
8680 DEFAULT_wxUSE_BMPBUTTON=yes
8681 DEFAULT_wxUSE_BUTTON=yes
8682 DEFAULT_wxUSE_CALCTRL=yes
8683 DEFAULT_wxUSE_CARET=yes
8684 DEFAULT_wxUSE_COMBOBOX=yes
8685 DEFAULT_wxUSE_CHECKBOX=yes
8686 DEFAULT_wxUSE_CHECKLISTBOX=yes
8687 DEFAULT_wxUSE_CHOICE=yes
8688 DEFAULT_wxUSE_CHOICEBOOK=yes
8689 DEFAULT_wxUSE_COLLPANE=yes
8690 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
8691 DEFAULT_wxUSE_COMBOBOX=yes
8692 DEFAULT_wxUSE_DATEPICKCTRL=yes
8693 DEFAULT_wxUSE_DISPLAY=yes
8694 DEFAULT_wxUSE_DETECT_SM=yes
8695 DEFAULT_wxUSE_DIRPICKERCTRL=yes
8696 DEFAULT_wxUSE_FILEPICKERCTRL=yes
8697 DEFAULT_wxUSE_FONTPICKERCTRL=yes
8698 DEFAULT_wxUSE_GAUGE=yes
8699 DEFAULT_wxUSE_GRID=yes
8700 DEFAULT_wxUSE_HYPERLINKCTRL=yes
8701 DEFAULT_wxUSE_DATAVIEWCTRL=no
8702 DEFAULT_wxUSE_IMAGLIST=yes
8703 DEFAULT_wxUSE_LISTBOOK=yes
8704 DEFAULT_wxUSE_LISTBOX=yes
8705 DEFAULT_wxUSE_LISTCTRL=yes
8706 DEFAULT_wxUSE_NOTEBOOK=yes
8707 DEFAULT_wxUSE_RADIOBOX=yes
8708 DEFAULT_wxUSE_RADIOBTN=yes
8709 DEFAULT_wxUSE_SASH=yes
8710 DEFAULT_wxUSE_SCROLLBAR=yes
8711 DEFAULT_wxUSE_SEARCHCTRL=yes
8712 DEFAULT_wxUSE_SLIDER=yes
8713 DEFAULT_wxUSE_SPINBTN=yes
8714 DEFAULT_wxUSE_SPINCTRL=yes
8715 DEFAULT_wxUSE_SPLITTER=yes
8716 DEFAULT_wxUSE_STATBMP=yes
8717 DEFAULT_wxUSE_STATBOX=yes
8718 DEFAULT_wxUSE_STATLINE=yes
8719 DEFAULT_wxUSE_STATUSBAR=yes
8720 DEFAULT_wxUSE_TAB_DIALOG=yes
8721 DEFAULT_wxUSE_TOGGLEBTN=yes
8722 DEFAULT_wxUSE_TOOLBAR=yes
8723 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
8724 DEFAULT_wxUSE_TOOLTIPS=yes
8725 DEFAULT_wxUSE_TREEBOOK=yes
8726 DEFAULT_wxUSE_TOOLBOOK=yes
8727 DEFAULT_wxUSE_TREECTRL=yes
8728 DEFAULT_wxUSE_POPUPWIN=yes
8729 DEFAULT_wxUSE_TIPWINDOW=yes
8730 elif test "$wxUSE_CONTROLS" = "no"; then
8731 DEFAULT_wxUSE_ACCEL=no
8732 DEFAULT_wxUSE_ANIMATIONCTRL=no
8733 DEFAULT_wxUSE_BMPBUTTON=no
8734 DEFAULT_wxUSE_BUTTON=no
8735 DEFAULT_wxUSE_CALCTRL=no
8736 DEFAULT_wxUSE_CARET=no
8737 DEFAULT_wxUSE_COLLPANE=no
8738 DEFAULT_wxUSE_COMBOBOX=no
8739 DEFAULT_wxUSE_CHECKBOX=no
8740 DEFAULT_wxUSE_CHECKLISTBOX=no
8741 DEFAULT_wxUSE_CHOICE=no
8742 DEFAULT_wxUSE_CHOICEBOOK=no
8743 DEFAULT_wxUSE_COLOURPICKERCTRL=no
8744 DEFAULT_wxUSE_COMBOBOX=no
8745 DEFAULT_wxUSE_DATEPICKCTRL=no
8746 DEFAULT_wxUSE_DISPLAY=no
8747 DEFAULT_wxUSE_DETECT_SM=no
8748 DEFAULT_wxUSE_DIRPICKERCTRL=no
8749 DEFAULT_wxUSE_FILEPICKERCTRL=no
8750 DEFAULT_wxUSE_FONTPICKERCTRL=no
8751 DEFAULT_wxUSE_GAUGE=no
8752 DEFAULT_wxUSE_GRID=no
8753 DEFAULT_wxUSE_HYPERLINKCTRL=no
8754 DEFAULT_wxUSE_DATAVIEWCTRL=no
8755 DEFAULT_wxUSE_IMAGLIST=no
8756 DEFAULT_wxUSE_LISTBOOK=no
8757 DEFAULT_wxUSE_LISTBOX=no
8758 DEFAULT_wxUSE_LISTCTRL=no
8759 DEFAULT_wxUSE_NOTEBOOK=no
8760 DEFAULT_wxUSE_RADIOBOX=no
8761 DEFAULT_wxUSE_RADIOBTN=no
8762 DEFAULT_wxUSE_SASH=no
8763 DEFAULT_wxUSE_SCROLLBAR=no
8764 DEFAULT_wxUSE_SEARCHCTRL=no
8765 DEFAULT_wxUSE_SLIDER=no
8766 DEFAULT_wxUSE_SPINBTN=no
8767 DEFAULT_wxUSE_SPINCTRL=no
8768 DEFAULT_wxUSE_SPLITTER=no
8769 DEFAULT_wxUSE_STATBMP=no
8770 DEFAULT_wxUSE_STATBOX=no
8771 DEFAULT_wxUSE_STATLINE=no
8772 DEFAULT_wxUSE_STATUSBAR=no
8773 DEFAULT_wxUSE_TAB_DIALOG=no
8774 DEFAULT_wxUSE_TOGGLEBTN=no
8775 DEFAULT_wxUSE_TOOLBAR=no
8776 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
8777 DEFAULT_wxUSE_TOOLTIPS=no
8778 DEFAULT_wxUSE_TREEBOOK=no
8779 DEFAULT_wxUSE_TOOLBOOK=no
8780 DEFAULT_wxUSE_TREECTRL=no
8781 DEFAULT_wxUSE_POPUPWIN=no
8782 DEFAULT_wxUSE_TIPWINDOW=no
8787 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
8788 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
8790 # Check whether --enable-accel was given.
8791 if test "${enable_accel+set}" = set; then
8792 enableval=$enable_accel;
8793 if test "$enableval" = yes; then
8794 ac_cv_use_accel='wxUSE_ACCEL=yes'
8796 ac_cv_use_accel='wxUSE_ACCEL=no'
8801 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
8802 if test "x$LINE" != x ; then
8803 eval "DEFAULT_$LINE"
8808 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
8813 eval "$ac_cv_use_accel"
8814 if test "$no_cache" != 1; then
8815 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
8818 if test "$wxUSE_ACCEL" = yes; then
8819 { echo "$as_me:$LINENO: result: yes" >&5
8820 echo "${ECHO_T}yes" >&6; }
8822 { echo "$as_me:$LINENO: result: no" >&5
8823 echo "${ECHO_T}no" >&6; }
8828 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
8829 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
8831 # Check whether --enable-animatectrl was given.
8832 if test "${enable_animatectrl+set}" = set; then
8833 enableval=$enable_animatectrl;
8834 if test "$enableval" = yes; then
8835 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
8837 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
8842 LINE=`grep "wxUSE_ANIMATIONCTRL" ${wx_arg_cache_file}`
8843 if test "x$LINE" != x ; then
8844 eval "DEFAULT_$LINE"
8849 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL='$DEFAULT_wxUSE_ANIMATIONCTRL
8854 eval "$ac_cv_use_animatectrl"
8855 if test "$no_cache" != 1; then
8856 echo $ac_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
8859 if test "$wxUSE_ANIMATIONCTRL" = yes; then
8860 { echo "$as_me:$LINENO: result: yes" >&5
8861 echo "${ECHO_T}yes" >&6; }
8863 { echo "$as_me:$LINENO: result: no" >&5
8864 echo "${ECHO_T}no" >&6; }
8869 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
8870 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
8872 # Check whether --enable-button was given.
8873 if test "${enable_button+set}" = set; then
8874 enableval=$enable_button;
8875 if test "$enableval" = yes; then
8876 ac_cv_use_button='wxUSE_BUTTON=yes'
8878 ac_cv_use_button='wxUSE_BUTTON=no'
8883 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
8884 if test "x$LINE" != x ; then
8885 eval "DEFAULT_$LINE"
8890 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
8895 eval "$ac_cv_use_button"
8896 if test "$no_cache" != 1; then
8897 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
8900 if test "$wxUSE_BUTTON" = yes; then
8901 { echo "$as_me:$LINENO: result: yes" >&5
8902 echo "${ECHO_T}yes" >&6; }
8904 { echo "$as_me:$LINENO: result: no" >&5
8905 echo "${ECHO_T}no" >&6; }
8910 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
8911 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
8913 # Check whether --enable-bmpbutton was given.
8914 if test "${enable_bmpbutton+set}" = set; then
8915 enableval=$enable_bmpbutton;
8916 if test "$enableval" = yes; then
8917 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
8919 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
8924 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
8925 if test "x$LINE" != x ; then
8926 eval "DEFAULT_$LINE"
8931 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
8936 eval "$ac_cv_use_bmpbutton"
8937 if test "$no_cache" != 1; then
8938 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
8941 if test "$wxUSE_BMPBUTTON" = yes; then
8942 { echo "$as_me:$LINENO: result: yes" >&5
8943 echo "${ECHO_T}yes" >&6; }
8945 { echo "$as_me:$LINENO: result: no" >&5
8946 echo "${ECHO_T}no" >&6; }
8951 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
8952 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
8954 # Check whether --enable-bmpcombobox was given.
8955 if test "${enable_bmpcombobox+set}" = set; then
8956 enableval=$enable_bmpcombobox;
8957 if test "$enableval" = yes; then
8958 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
8960 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
8965 LINE=`grep "wxUSE_BITMAPCOMBOBOX" ${wx_arg_cache_file}`
8966 if test "x$LINE" != x ; then
8967 eval "DEFAULT_$LINE"
8972 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX='$DEFAULT_wxUSE_BITMAPCOMBOBOX
8977 eval "$ac_cv_use_bmpcombobox"
8978 if test "$no_cache" != 1; then
8979 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
8982 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
8983 { echo "$as_me:$LINENO: result: yes" >&5
8984 echo "${ECHO_T}yes" >&6; }
8986 { echo "$as_me:$LINENO: result: no" >&5
8987 echo "${ECHO_T}no" >&6; }
8992 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
8993 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
8995 # Check whether --enable-calendar was given.
8996 if test "${enable_calendar+set}" = set; then
8997 enableval=$enable_calendar;
8998 if test "$enableval" = yes; then
8999 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
9001 ac_cv_use_calendar='wxUSE_CALCTRL=no'
9006 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
9007 if test "x$LINE" != x ; then
9008 eval "DEFAULT_$LINE"
9013 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
9018 eval "$ac_cv_use_calendar"
9019 if test "$no_cache" != 1; then
9020 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
9023 if test "$wxUSE_CALCTRL" = yes; then
9024 { echo "$as_me:$LINENO: result: yes" >&5
9025 echo "${ECHO_T}yes" >&6; }
9027 { echo "$as_me:$LINENO: result: no" >&5
9028 echo "${ECHO_T}no" >&6; }
9033 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9034 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9036 # Check whether --enable-caret was given.
9037 if test "${enable_caret+set}" = set; then
9038 enableval=$enable_caret;
9039 if test "$enableval" = yes; then
9040 ac_cv_use_caret='wxUSE_CARET=yes'
9042 ac_cv_use_caret='wxUSE_CARET=no'
9047 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
9048 if test "x$LINE" != x ; then
9049 eval "DEFAULT_$LINE"
9054 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
9059 eval "$ac_cv_use_caret"
9060 if test "$no_cache" != 1; then
9061 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
9064 if test "$wxUSE_CARET" = yes; then
9065 { echo "$as_me:$LINENO: result: yes" >&5
9066 echo "${ECHO_T}yes" >&6; }
9068 { echo "$as_me:$LINENO: result: no" >&5
9069 echo "${ECHO_T}no" >&6; }
9074 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9075 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9077 # Check whether --enable-checkbox was given.
9078 if test "${enable_checkbox+set}" = set; then
9079 enableval=$enable_checkbox;
9080 if test "$enableval" = yes; then
9081 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9083 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
9088 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
9089 if test "x$LINE" != x ; then
9090 eval "DEFAULT_$LINE"
9095 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
9100 eval "$ac_cv_use_checkbox"
9101 if test "$no_cache" != 1; then
9102 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
9105 if test "$wxUSE_CHECKBOX" = yes; then
9106 { echo "$as_me:$LINENO: result: yes" >&5
9107 echo "${ECHO_T}yes" >&6; }
9109 { echo "$as_me:$LINENO: result: no" >&5
9110 echo "${ECHO_T}no" >&6; }
9115 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9116 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9118 # Check whether --enable-checklst was given.
9119 if test "${enable_checklst+set}" = set; then
9120 enableval=$enable_checklst;
9121 if test "$enableval" = yes; then
9122 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
9124 ac_cv_use_checklst='wxUSE_CHECKLST=no'
9129 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
9130 if test "x$LINE" != x ; then
9131 eval "DEFAULT_$LINE"
9136 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
9141 eval "$ac_cv_use_checklst"
9142 if test "$no_cache" != 1; then
9143 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
9146 if test "$wxUSE_CHECKLST" = yes; then
9147 { echo "$as_me:$LINENO: result: yes" >&5
9148 echo "${ECHO_T}yes" >&6; }
9150 { echo "$as_me:$LINENO: result: no" >&5
9151 echo "${ECHO_T}no" >&6; }
9156 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9157 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9159 # Check whether --enable-choice was given.
9160 if test "${enable_choice+set}" = set; then
9161 enableval=$enable_choice;
9162 if test "$enableval" = yes; then
9163 ac_cv_use_choice='wxUSE_CHOICE=yes'
9165 ac_cv_use_choice='wxUSE_CHOICE=no'
9170 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
9171 if test "x$LINE" != x ; then
9172 eval "DEFAULT_$LINE"
9177 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
9182 eval "$ac_cv_use_choice"
9183 if test "$no_cache" != 1; then
9184 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
9187 if test "$wxUSE_CHOICE" = yes; then
9188 { echo "$as_me:$LINENO: result: yes" >&5
9189 echo "${ECHO_T}yes" >&6; }
9191 { echo "$as_me:$LINENO: result: no" >&5
9192 echo "${ECHO_T}no" >&6; }
9197 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
9198 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
9200 # Check whether --enable-choicebook was given.
9201 if test "${enable_choicebook+set}" = set; then
9202 enableval=$enable_choicebook;
9203 if test "$enableval" = yes; then
9204 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
9206 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
9211 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
9212 if test "x$LINE" != x ; then
9213 eval "DEFAULT_$LINE"
9218 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
9223 eval "$ac_cv_use_choicebook"
9224 if test "$no_cache" != 1; then
9225 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
9228 if test "$wxUSE_CHOICEBOOK" = yes; then
9229 { echo "$as_me:$LINENO: result: yes" >&5
9230 echo "${ECHO_T}yes" >&6; }
9232 { echo "$as_me:$LINENO: result: no" >&5
9233 echo "${ECHO_T}no" >&6; }
9238 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
9239 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
9241 # Check whether --enable-collpane was given.
9242 if test "${enable_collpane+set}" = set; then
9243 enableval=$enable_collpane;
9244 if test "$enableval" = yes; then
9245 ac_cv_use_collpane='wxUSE_COLLPANE=yes'
9247 ac_cv_use_collpane='wxUSE_COLLPANE=no'
9252 LINE=`grep "wxUSE_COLLPANE" ${wx_arg_cache_file}`
9253 if test "x$LINE" != x ; then
9254 eval "DEFAULT_$LINE"
9259 ac_cv_use_collpane='wxUSE_COLLPANE='$DEFAULT_wxUSE_COLLPANE
9264 eval "$ac_cv_use_collpane"
9265 if test "$no_cache" != 1; then
9266 echo $ac_cv_use_collpane >> ${wx_arg_cache_file}.tmp
9269 if test "$wxUSE_COLLPANE" = yes; then
9270 { echo "$as_me:$LINENO: result: yes" >&5
9271 echo "${ECHO_T}yes" >&6; }
9273 { echo "$as_me:$LINENO: result: no" >&5
9274 echo "${ECHO_T}no" >&6; }
9279 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
9280 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
9282 # Check whether --enable-colourpicker was given.
9283 if test "${enable_colourpicker+set}" = set; then
9284 enableval=$enable_colourpicker;
9285 if test "$enableval" = yes; then
9286 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
9288 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
9293 LINE=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
9294 if test "x$LINE" != x ; then
9295 eval "DEFAULT_$LINE"
9300 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
9305 eval "$ac_cv_use_colourpicker"
9306 if test "$no_cache" != 1; then
9307 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
9310 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
9311 { echo "$as_me:$LINENO: result: yes" >&5
9312 echo "${ECHO_T}yes" >&6; }
9314 { echo "$as_me:$LINENO: result: no" >&5
9315 echo "${ECHO_T}no" >&6; }
9320 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
9321 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
9323 # Check whether --enable-combobox was given.
9324 if test "${enable_combobox+set}" = set; then
9325 enableval=$enable_combobox;
9326 if test "$enableval" = yes; then
9327 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
9329 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
9334 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
9335 if test "x$LINE" != x ; then
9336 eval "DEFAULT_$LINE"
9341 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
9346 eval "$ac_cv_use_combobox"
9347 if test "$no_cache" != 1; then
9348 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
9351 if test "$wxUSE_COMBOBOX" = yes; then
9352 { echo "$as_me:$LINENO: result: yes" >&5
9353 echo "${ECHO_T}yes" >&6; }
9355 { echo "$as_me:$LINENO: result: no" >&5
9356 echo "${ECHO_T}no" >&6; }
9361 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
9362 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
9364 # Check whether --enable-comboctrl was given.
9365 if test "${enable_comboctrl+set}" = set; then
9366 enableval=$enable_comboctrl;
9367 if test "$enableval" = yes; then
9368 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
9370 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
9375 LINE=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
9376 if test "x$LINE" != x ; then
9377 eval "DEFAULT_$LINE"
9382 ac_cv_use_comboctrl='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
9387 eval "$ac_cv_use_comboctrl"
9388 if test "$no_cache" != 1; then
9389 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
9392 if test "$wxUSE_COMBOCTRL" = yes; then
9393 { echo "$as_me:$LINENO: result: yes" >&5
9394 echo "${ECHO_T}yes" >&6; }
9396 { echo "$as_me:$LINENO: result: no" >&5
9397 echo "${ECHO_T}no" >&6; }
9402 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
9403 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
9405 # Check whether --enable-datepick was given.
9406 if test "${enable_datepick+set}" = set; then
9407 enableval=$enable_datepick;
9408 if test "$enableval" = yes; then
9409 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
9411 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
9416 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
9417 if test "x$LINE" != x ; then
9418 eval "DEFAULT_$LINE"
9423 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
9428 eval "$ac_cv_use_datepick"
9429 if test "$no_cache" != 1; then
9430 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
9433 if test "$wxUSE_DATEPICKCTRL" = yes; then
9434 { echo "$as_me:$LINENO: result: yes" >&5
9435 echo "${ECHO_T}yes" >&6; }
9437 { echo "$as_me:$LINENO: result: no" >&5
9438 echo "${ECHO_T}no" >&6; }
9443 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
9444 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
9446 # Check whether --enable-dirpicker was given.
9447 if test "${enable_dirpicker+set}" = set; then
9448 enableval=$enable_dirpicker;
9449 if test "$enableval" = yes; then
9450 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
9452 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
9457 LINE=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
9458 if test "x$LINE" != x ; then
9459 eval "DEFAULT_$LINE"
9464 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
9469 eval "$ac_cv_use_dirpicker"
9470 if test "$no_cache" != 1; then
9471 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
9474 if test "$wxUSE_DIRPICKERCTRL" = yes; then
9475 { echo "$as_me:$LINENO: result: yes" >&5
9476 echo "${ECHO_T}yes" >&6; }
9478 { echo "$as_me:$LINENO: result: no" >&5
9479 echo "${ECHO_T}no" >&6; }
9484 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
9485 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
9487 # Check whether --enable-display was given.
9488 if test "${enable_display+set}" = set; then
9489 enableval=$enable_display;
9490 if test "$enableval" = yes; then
9491 ac_cv_use_display='wxUSE_DISPLAY=yes'
9493 ac_cv_use_display='wxUSE_DISPLAY=no'
9498 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
9499 if test "x$LINE" != x ; then
9500 eval "DEFAULT_$LINE"
9505 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
9510 eval "$ac_cv_use_display"
9511 if test "$no_cache" != 1; then
9512 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
9515 if test "$wxUSE_DISPLAY" = yes; then
9516 { echo "$as_me:$LINENO: result: yes" >&5
9517 echo "${ECHO_T}yes" >&6; }
9519 { echo "$as_me:$LINENO: result: no" >&5
9520 echo "${ECHO_T}no" >&6; }
9525 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
9526 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
9528 # Check whether --enable-detect_sm was given.
9529 if test "${enable_detect_sm+set}" = set; then
9530 enableval=$enable_detect_sm;
9531 if test "$enableval" = yes; then
9532 ac_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
9534 ac_cv_use_detect_sm='wxUSE_DETECT_SM=no'
9539 LINE=`grep "wxUSE_DETECT_SM" ${wx_arg_cache_file}`
9540 if test "x$LINE" != x ; then
9541 eval "DEFAULT_$LINE"
9546 ac_cv_use_detect_sm='wxUSE_DETECT_SM='$DEFAULT_wxUSE_DETECT_SM
9551 eval "$ac_cv_use_detect_sm"
9552 if test "$no_cache" != 1; then
9553 echo $ac_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
9556 if test "$wxUSE_DETECT_SM" = yes; then
9557 { echo "$as_me:$LINENO: result: yes" >&5
9558 echo "${ECHO_T}yes" >&6; }
9560 { echo "$as_me:$LINENO: result: no" >&5
9561 echo "${ECHO_T}no" >&6; }
9566 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
9567 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
9569 # Check whether --enable-filepicker was given.
9570 if test "${enable_filepicker+set}" = set; then
9571 enableval=$enable_filepicker;
9572 if test "$enableval" = yes; then
9573 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
9575 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
9580 LINE=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
9581 if test "x$LINE" != x ; then
9582 eval "DEFAULT_$LINE"
9587 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
9592 eval "$ac_cv_use_filepicker"
9593 if test "$no_cache" != 1; then
9594 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
9597 if test "$wxUSE_FILEPICKERCTRL" = yes; then
9598 { echo "$as_me:$LINENO: result: yes" >&5
9599 echo "${ECHO_T}yes" >&6; }
9601 { echo "$as_me:$LINENO: result: no" >&5
9602 echo "${ECHO_T}no" >&6; }
9607 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
9608 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
9610 # Check whether --enable-fontpicker was given.
9611 if test "${enable_fontpicker+set}" = set; then
9612 enableval=$enable_fontpicker;
9613 if test "$enableval" = yes; then
9614 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
9616 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
9621 LINE=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
9622 if test "x$LINE" != x ; then
9623 eval "DEFAULT_$LINE"
9628 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
9633 eval "$ac_cv_use_fontpicker"
9634 if test "$no_cache" != 1; then
9635 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
9638 if test "$wxUSE_FONTPICKERCTRL" = yes; then
9639 { echo "$as_me:$LINENO: result: yes" >&5
9640 echo "${ECHO_T}yes" >&6; }
9642 { echo "$as_me:$LINENO: result: no" >&5
9643 echo "${ECHO_T}no" >&6; }
9648 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
9649 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
9651 # Check whether --enable-gauge was given.
9652 if test "${enable_gauge+set}" = set; then
9653 enableval=$enable_gauge;
9654 if test "$enableval" = yes; then
9655 ac_cv_use_gauge='wxUSE_GAUGE=yes'
9657 ac_cv_use_gauge='wxUSE_GAUGE=no'
9662 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
9663 if test "x$LINE" != x ; then
9664 eval "DEFAULT_$LINE"
9669 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
9674 eval "$ac_cv_use_gauge"
9675 if test "$no_cache" != 1; then
9676 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
9679 if test "$wxUSE_GAUGE" = yes; then
9680 { echo "$as_me:$LINENO: result: yes" >&5
9681 echo "${ECHO_T}yes" >&6; }
9683 { echo "$as_me:$LINENO: result: no" >&5
9684 echo "${ECHO_T}no" >&6; }
9689 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
9690 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
9692 # Check whether --enable-grid was given.
9693 if test "${enable_grid+set}" = set; then
9694 enableval=$enable_grid;
9695 if test "$enableval" = yes; then
9696 ac_cv_use_grid='wxUSE_GRID=yes'
9698 ac_cv_use_grid='wxUSE_GRID=no'
9703 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
9704 if test "x$LINE" != x ; then
9705 eval "DEFAULT_$LINE"
9710 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
9715 eval "$ac_cv_use_grid"
9716 if test "$no_cache" != 1; then
9717 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
9720 if test "$wxUSE_GRID" = yes; then
9721 { echo "$as_me:$LINENO: result: yes" >&5
9722 echo "${ECHO_T}yes" >&6; }
9724 { echo "$as_me:$LINENO: result: no" >&5
9725 echo "${ECHO_T}no" >&6; }
9730 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
9731 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
9733 # Check whether --enable-dataviewctrl was given.
9734 if test "${enable_dataviewctrl+set}" = set; then
9735 enableval=$enable_dataviewctrl;
9736 if test "$enableval" = yes; then
9737 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
9739 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
9744 LINE=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
9745 if test "x$LINE" != x ; then
9746 eval "DEFAULT_$LINE"
9751 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
9756 eval "$ac_cv_use_dataviewctrl"
9757 if test "$no_cache" != 1; then
9758 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
9761 if test "$wxUSE_DATAVIEWCTRL" = yes; then
9762 { echo "$as_me:$LINENO: result: yes" >&5
9763 echo "${ECHO_T}yes" >&6; }
9765 { echo "$as_me:$LINENO: result: no" >&5
9766 echo "${ECHO_T}no" >&6; }
9771 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
9772 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
9774 # Check whether --enable-hyperlink was given.
9775 if test "${enable_hyperlink+set}" = set; then
9776 enableval=$enable_hyperlink;
9777 if test "$enableval" = yes; then
9778 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
9780 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
9785 LINE=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
9786 if test "x$LINE" != x ; then
9787 eval "DEFAULT_$LINE"
9792 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
9797 eval "$ac_cv_use_hyperlink"
9798 if test "$no_cache" != 1; then
9799 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
9802 if test "$wxUSE_HYPERLINKCTRL" = yes; then
9803 { echo "$as_me:$LINENO: result: yes" >&5
9804 echo "${ECHO_T}yes" >&6; }
9806 { echo "$as_me:$LINENO: result: no" >&5
9807 echo "${ECHO_T}no" >&6; }
9812 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
9813 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
9815 # Check whether --enable-imaglist was given.
9816 if test "${enable_imaglist+set}" = set; then
9817 enableval=$enable_imaglist;
9818 if test "$enableval" = yes; then
9819 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
9821 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
9826 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
9827 if test "x$LINE" != x ; then
9828 eval "DEFAULT_$LINE"
9833 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
9838 eval "$ac_cv_use_imaglist"
9839 if test "$no_cache" != 1; then
9840 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
9843 if test "$wxUSE_IMAGLIST" = yes; then
9844 { echo "$as_me:$LINENO: result: yes" >&5
9845 echo "${ECHO_T}yes" >&6; }
9847 { echo "$as_me:$LINENO: result: no" >&5
9848 echo "${ECHO_T}no" >&6; }
9853 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
9854 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
9856 # Check whether --enable-listbook was given.
9857 if test "${enable_listbook+set}" = set; then
9858 enableval=$enable_listbook;
9859 if test "$enableval" = yes; then
9860 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
9862 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
9867 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
9868 if test "x$LINE" != x ; then
9869 eval "DEFAULT_$LINE"
9874 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
9879 eval "$ac_cv_use_listbook"
9880 if test "$no_cache" != 1; then
9881 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
9884 if test "$wxUSE_LISTBOOK" = yes; then
9885 { echo "$as_me:$LINENO: result: yes" >&5
9886 echo "${ECHO_T}yes" >&6; }
9888 { echo "$as_me:$LINENO: result: no" >&5
9889 echo "${ECHO_T}no" >&6; }
9894 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
9895 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
9897 # Check whether --enable-listbox was given.
9898 if test "${enable_listbox+set}" = set; then
9899 enableval=$enable_listbox;
9900 if test "$enableval" = yes; then
9901 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
9903 ac_cv_use_listbox='wxUSE_LISTBOX=no'
9908 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
9909 if test "x$LINE" != x ; then
9910 eval "DEFAULT_$LINE"
9915 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
9920 eval "$ac_cv_use_listbox"
9921 if test "$no_cache" != 1; then
9922 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
9925 if test "$wxUSE_LISTBOX" = yes; then
9926 { echo "$as_me:$LINENO: result: yes" >&5
9927 echo "${ECHO_T}yes" >&6; }
9929 { echo "$as_me:$LINENO: result: no" >&5
9930 echo "${ECHO_T}no" >&6; }
9935 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
9936 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
9938 # Check whether --enable-listctrl was given.
9939 if test "${enable_listctrl+set}" = set; then
9940 enableval=$enable_listctrl;
9941 if test "$enableval" = yes; then
9942 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
9944 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
9949 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
9950 if test "x$LINE" != x ; then
9951 eval "DEFAULT_$LINE"
9956 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
9961 eval "$ac_cv_use_listctrl"
9962 if test "$no_cache" != 1; then
9963 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
9966 if test "$wxUSE_LISTCTRL" = yes; then
9967 { echo "$as_me:$LINENO: result: yes" >&5
9968 echo "${ECHO_T}yes" >&6; }
9970 { echo "$as_me:$LINENO: result: no" >&5
9971 echo "${ECHO_T}no" >&6; }
9976 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
9977 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
9979 # Check whether --enable-notebook was given.
9980 if test "${enable_notebook+set}" = set; then
9981 enableval=$enable_notebook;
9982 if test "$enableval" = yes; then
9983 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
9985 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
9990 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
9991 if test "x$LINE" != x ; then
9992 eval "DEFAULT_$LINE"
9997 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
10002 eval "$ac_cv_use_notebook"
10003 if test "$no_cache" != 1; then
10004 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
10007 if test "$wxUSE_NOTEBOOK" = yes; then
10008 { echo "$as_me:$LINENO: result: yes" >&5
10009 echo "${ECHO_T}yes" >&6; }
10011 { echo "$as_me:$LINENO: result: no" >&5
10012 echo "${ECHO_T}no" >&6; }
10017 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
10018 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
10020 # Check whether --enable-odcombobox was given.
10021 if test "${enable_odcombobox+set}" = set; then
10022 enableval=$enable_odcombobox;
10023 if test "$enableval" = yes; then
10024 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
10026 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
10031 LINE=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
10032 if test "x$LINE" != x ; then
10033 eval "DEFAULT_$LINE"
10038 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
10043 eval "$ac_cv_use_odcombobox"
10044 if test "$no_cache" != 1; then
10045 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
10048 if test "$wxUSE_ODCOMBOBOX" = yes; then
10049 { echo "$as_me:$LINENO: result: yes" >&5
10050 echo "${ECHO_T}yes" >&6; }
10052 { echo "$as_me:$LINENO: result: no" >&5
10053 echo "${ECHO_T}no" >&6; }
10058 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
10059 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
10061 # Check whether --enable-radiobox was given.
10062 if test "${enable_radiobox+set}" = set; then
10063 enableval=$enable_radiobox;
10064 if test "$enableval" = yes; then
10065 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
10067 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
10072 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
10073 if test "x$LINE" != x ; then
10074 eval "DEFAULT_$LINE"
10079 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
10084 eval "$ac_cv_use_radiobox"
10085 if test "$no_cache" != 1; then
10086 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
10089 if test "$wxUSE_RADIOBOX" = yes; then
10090 { echo "$as_me:$LINENO: result: yes" >&5
10091 echo "${ECHO_T}yes" >&6; }
10093 { echo "$as_me:$LINENO: result: no" >&5
10094 echo "${ECHO_T}no" >&6; }
10099 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
10100 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
10102 # Check whether --enable-radiobtn was given.
10103 if test "${enable_radiobtn+set}" = set; then
10104 enableval=$enable_radiobtn;
10105 if test "$enableval" = yes; then
10106 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
10108 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
10113 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
10114 if test "x$LINE" != x ; then
10115 eval "DEFAULT_$LINE"
10120 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
10125 eval "$ac_cv_use_radiobtn"
10126 if test "$no_cache" != 1; then
10127 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
10130 if test "$wxUSE_RADIOBTN" = yes; then
10131 { echo "$as_me:$LINENO: result: yes" >&5
10132 echo "${ECHO_T}yes" >&6; }
10134 { echo "$as_me:$LINENO: result: no" >&5
10135 echo "${ECHO_T}no" >&6; }
10140 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
10141 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
10143 # Check whether --enable-sash was given.
10144 if test "${enable_sash+set}" = set; then
10145 enableval=$enable_sash;
10146 if test "$enableval" = yes; then
10147 ac_cv_use_sash='wxUSE_SASH=yes'
10149 ac_cv_use_sash='wxUSE_SASH=no'
10154 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
10155 if test "x$LINE" != x ; then
10156 eval "DEFAULT_$LINE"
10161 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
10166 eval "$ac_cv_use_sash"
10167 if test "$no_cache" != 1; then
10168 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
10171 if test "$wxUSE_SASH" = yes; then
10172 { echo "$as_me:$LINENO: result: yes" >&5
10173 echo "${ECHO_T}yes" >&6; }
10175 { echo "$as_me:$LINENO: result: no" >&5
10176 echo "${ECHO_T}no" >&6; }
10181 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
10182 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
10184 # Check whether --enable-scrollbar was given.
10185 if test "${enable_scrollbar+set}" = set; then
10186 enableval=$enable_scrollbar;
10187 if test "$enableval" = yes; then
10188 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
10190 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
10195 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
10196 if test "x$LINE" != x ; then
10197 eval "DEFAULT_$LINE"
10202 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
10207 eval "$ac_cv_use_scrollbar"
10208 if test "$no_cache" != 1; then
10209 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
10212 if test "$wxUSE_SCROLLBAR" = yes; then
10213 { echo "$as_me:$LINENO: result: yes" >&5
10214 echo "${ECHO_T}yes" >&6; }
10216 { echo "$as_me:$LINENO: result: no" >&5
10217 echo "${ECHO_T}no" >&6; }
10222 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
10223 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
10225 # Check whether --enable-searchctrl was given.
10226 if test "${enable_searchctrl+set}" = set; then
10227 enableval=$enable_searchctrl;
10228 if test "$enableval" = yes; then
10229 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
10231 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
10236 LINE=`grep "wxUSE_SEARCHCTRL" ${wx_arg_cache_file}`
10237 if test "x$LINE" != x ; then
10238 eval "DEFAULT_$LINE"
10243 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL='$DEFAULT_wxUSE_SEARCHCTRL
10248 eval "$ac_cv_use_searchctrl"
10249 if test "$no_cache" != 1; then
10250 echo $ac_cv_use_searchctrl >> ${wx_arg_cache_file}.tmp
10253 if test "$wxUSE_SEARCHCTRL" = yes; then
10254 { echo "$as_me:$LINENO: result: yes" >&5
10255 echo "${ECHO_T}yes" >&6; }
10257 { echo "$as_me:$LINENO: result: no" >&5
10258 echo "${ECHO_T}no" >&6; }
10263 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
10264 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
10266 # Check whether --enable-slider was given.
10267 if test "${enable_slider+set}" = set; then
10268 enableval=$enable_slider;
10269 if test "$enableval" = yes; then
10270 ac_cv_use_slider='wxUSE_SLIDER=yes'
10272 ac_cv_use_slider='wxUSE_SLIDER=no'
10277 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
10278 if test "x$LINE" != x ; then
10279 eval "DEFAULT_$LINE"
10284 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
10289 eval "$ac_cv_use_slider"
10290 if test "$no_cache" != 1; then
10291 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
10294 if test "$wxUSE_SLIDER" = yes; then
10295 { echo "$as_me:$LINENO: result: yes" >&5
10296 echo "${ECHO_T}yes" >&6; }
10298 { echo "$as_me:$LINENO: result: no" >&5
10299 echo "${ECHO_T}no" >&6; }
10304 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
10305 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
10307 # Check whether --enable-spinbtn was given.
10308 if test "${enable_spinbtn+set}" = set; then
10309 enableval=$enable_spinbtn;
10310 if test "$enableval" = yes; then
10311 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
10313 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
10318 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
10319 if test "x$LINE" != x ; then
10320 eval "DEFAULT_$LINE"
10325 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
10330 eval "$ac_cv_use_spinbtn"
10331 if test "$no_cache" != 1; then
10332 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
10335 if test "$wxUSE_SPINBTN" = yes; then
10336 { echo "$as_me:$LINENO: result: yes" >&5
10337 echo "${ECHO_T}yes" >&6; }
10339 { echo "$as_me:$LINENO: result: no" >&5
10340 echo "${ECHO_T}no" >&6; }
10345 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
10346 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
10348 # Check whether --enable-spinctrl was given.
10349 if test "${enable_spinctrl+set}" = set; then
10350 enableval=$enable_spinctrl;
10351 if test "$enableval" = yes; then
10352 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
10354 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
10359 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
10360 if test "x$LINE" != x ; then
10361 eval "DEFAULT_$LINE"
10366 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
10371 eval "$ac_cv_use_spinctrl"
10372 if test "$no_cache" != 1; then
10373 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
10376 if test "$wxUSE_SPINCTRL" = yes; then
10377 { echo "$as_me:$LINENO: result: yes" >&5
10378 echo "${ECHO_T}yes" >&6; }
10380 { echo "$as_me:$LINENO: result: no" >&5
10381 echo "${ECHO_T}no" >&6; }
10386 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
10387 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
10389 # Check whether --enable-splitter was given.
10390 if test "${enable_splitter+set}" = set; then
10391 enableval=$enable_splitter;
10392 if test "$enableval" = yes; then
10393 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
10395 ac_cv_use_splitter='wxUSE_SPLITTER=no'
10400 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
10401 if test "x$LINE" != x ; then
10402 eval "DEFAULT_$LINE"
10407 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
10412 eval "$ac_cv_use_splitter"
10413 if test "$no_cache" != 1; then
10414 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
10417 if test "$wxUSE_SPLITTER" = yes; then
10418 { echo "$as_me:$LINENO: result: yes" >&5
10419 echo "${ECHO_T}yes" >&6; }
10421 { echo "$as_me:$LINENO: result: no" >&5
10422 echo "${ECHO_T}no" >&6; }
10427 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
10428 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
10430 # Check whether --enable-statbmp was given.
10431 if test "${enable_statbmp+set}" = set; then
10432 enableval=$enable_statbmp;
10433 if test "$enableval" = yes; then
10434 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
10436 ac_cv_use_statbmp='wxUSE_STATBMP=no'
10441 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
10442 if test "x$LINE" != x ; then
10443 eval "DEFAULT_$LINE"
10448 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
10453 eval "$ac_cv_use_statbmp"
10454 if test "$no_cache" != 1; then
10455 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
10458 if test "$wxUSE_STATBMP" = yes; then
10459 { echo "$as_me:$LINENO: result: yes" >&5
10460 echo "${ECHO_T}yes" >&6; }
10462 { echo "$as_me:$LINENO: result: no" >&5
10463 echo "${ECHO_T}no" >&6; }
10468 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
10469 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
10471 # Check whether --enable-statbox was given.
10472 if test "${enable_statbox+set}" = set; then
10473 enableval=$enable_statbox;
10474 if test "$enableval" = yes; then
10475 ac_cv_use_statbox='wxUSE_STATBOX=yes'
10477 ac_cv_use_statbox='wxUSE_STATBOX=no'
10482 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
10483 if test "x$LINE" != x ; then
10484 eval "DEFAULT_$LINE"
10489 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
10494 eval "$ac_cv_use_statbox"
10495 if test "$no_cache" != 1; then
10496 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
10499 if test "$wxUSE_STATBOX" = yes; then
10500 { echo "$as_me:$LINENO: result: yes" >&5
10501 echo "${ECHO_T}yes" >&6; }
10503 { echo "$as_me:$LINENO: result: no" >&5
10504 echo "${ECHO_T}no" >&6; }
10509 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
10510 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
10512 # Check whether --enable-statline was given.
10513 if test "${enable_statline+set}" = set; then
10514 enableval=$enable_statline;
10515 if test "$enableval" = yes; then
10516 ac_cv_use_statline='wxUSE_STATLINE=yes'
10518 ac_cv_use_statline='wxUSE_STATLINE=no'
10523 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
10524 if test "x$LINE" != x ; then
10525 eval "DEFAULT_$LINE"
10530 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
10535 eval "$ac_cv_use_statline"
10536 if test "$no_cache" != 1; then
10537 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
10540 if test "$wxUSE_STATLINE" = yes; then
10541 { echo "$as_me:$LINENO: result: yes" >&5
10542 echo "${ECHO_T}yes" >&6; }
10544 { echo "$as_me:$LINENO: result: no" >&5
10545 echo "${ECHO_T}no" >&6; }
10550 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
10551 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
10553 # Check whether --enable-stattext was given.
10554 if test "${enable_stattext+set}" = set; then
10555 enableval=$enable_stattext;
10556 if test "$enableval" = yes; then
10557 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
10559 ac_cv_use_stattext='wxUSE_STATTEXT=no'
10564 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
10565 if test "x$LINE" != x ; then
10566 eval "DEFAULT_$LINE"
10571 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
10576 eval "$ac_cv_use_stattext"
10577 if test "$no_cache" != 1; then
10578 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
10581 if test "$wxUSE_STATTEXT" = yes; then
10582 { echo "$as_me:$LINENO: result: yes" >&5
10583 echo "${ECHO_T}yes" >&6; }
10585 { echo "$as_me:$LINENO: result: no" >&5
10586 echo "${ECHO_T}no" >&6; }
10591 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
10592 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
10594 # Check whether --enable-statusbar was given.
10595 if test "${enable_statusbar+set}" = set; then
10596 enableval=$enable_statusbar;
10597 if test "$enableval" = yes; then
10598 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
10600 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
10605 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
10606 if test "x$LINE" != x ; then
10607 eval "DEFAULT_$LINE"
10612 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
10617 eval "$ac_cv_use_statusbar"
10618 if test "$no_cache" != 1; then
10619 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
10622 if test "$wxUSE_STATUSBAR" = yes; then
10623 { echo "$as_me:$LINENO: result: yes" >&5
10624 echo "${ECHO_T}yes" >&6; }
10626 { echo "$as_me:$LINENO: result: no" >&5
10627 echo "${ECHO_T}no" >&6; }
10632 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
10633 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
10635 # Check whether --enable-tabdialog was given.
10636 if test "${enable_tabdialog+set}" = set; then
10637 enableval=$enable_tabdialog;
10638 if test "$enableval" = yes; then
10639 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
10641 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
10646 LINE=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
10647 if test "x$LINE" != x ; then
10648 eval "DEFAULT_$LINE"
10653 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
10658 eval "$ac_cv_use_tabdialog"
10659 if test "$no_cache" != 1; then
10660 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
10663 if test "$wxUSE_TAB_DIALOG" = yes; then
10664 { echo "$as_me:$LINENO: result: yes" >&5
10665 echo "${ECHO_T}yes" >&6; }
10667 { echo "$as_me:$LINENO: result: no" >&5
10668 echo "${ECHO_T}no" >&6; }
10673 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
10674 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
10676 # Check whether --enable-textctrl was given.
10677 if test "${enable_textctrl+set}" = set; then
10678 enableval=$enable_textctrl;
10679 if test "$enableval" = yes; then
10680 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
10682 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
10687 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
10688 if test "x$LINE" != x ; then
10689 eval "DEFAULT_$LINE"
10694 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
10699 eval "$ac_cv_use_textctrl"
10700 if test "$no_cache" != 1; then
10701 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
10704 if test "$wxUSE_TEXTCTRL" = yes; then
10705 { echo "$as_me:$LINENO: result: yes" >&5
10706 echo "${ECHO_T}yes" >&6; }
10708 { echo "$as_me:$LINENO: result: no" >&5
10709 echo "${ECHO_T}no" >&6; }
10714 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
10715 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
10717 # Check whether --enable-togglebtn was given.
10718 if test "${enable_togglebtn+set}" = set; then
10719 enableval=$enable_togglebtn;
10720 if test "$enableval" = yes; then
10721 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
10723 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
10728 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
10729 if test "x$LINE" != x ; then
10730 eval "DEFAULT_$LINE"
10735 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
10740 eval "$ac_cv_use_togglebtn"
10741 if test "$no_cache" != 1; then
10742 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
10745 if test "$wxUSE_TOGGLEBTN" = yes; then
10746 { echo "$as_me:$LINENO: result: yes" >&5
10747 echo "${ECHO_T}yes" >&6; }
10749 { echo "$as_me:$LINENO: result: no" >&5
10750 echo "${ECHO_T}no" >&6; }
10755 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
10756 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
10758 # Check whether --enable-toolbar was given.
10759 if test "${enable_toolbar+set}" = set; then
10760 enableval=$enable_toolbar;
10761 if test "$enableval" = yes; then
10762 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
10764 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
10769 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
10770 if test "x$LINE" != x ; then
10771 eval "DEFAULT_$LINE"
10776 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
10781 eval "$ac_cv_use_toolbar"
10782 if test "$no_cache" != 1; then
10783 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
10786 if test "$wxUSE_TOOLBAR" = yes; then
10787 { echo "$as_me:$LINENO: result: yes" >&5
10788 echo "${ECHO_T}yes" >&6; }
10790 { echo "$as_me:$LINENO: result: no" >&5
10791 echo "${ECHO_T}no" >&6; }
10796 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
10797 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
10799 # Check whether --enable-tbarnative was given.
10800 if test "${enable_tbarnative+set}" = set; then
10801 enableval=$enable_tbarnative;
10802 if test "$enableval" = yes; then
10803 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
10805 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
10810 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
10811 if test "x$LINE" != x ; then
10812 eval "DEFAULT_$LINE"
10817 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
10822 eval "$ac_cv_use_tbarnative"
10823 if test "$no_cache" != 1; then
10824 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
10827 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
10828 { echo "$as_me:$LINENO: result: yes" >&5
10829 echo "${ECHO_T}yes" >&6; }
10831 { echo "$as_me:$LINENO: result: no" >&5
10832 echo "${ECHO_T}no" >&6; }
10837 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
10838 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
10840 # Check whether --enable-treebook was given.
10841 if test "${enable_treebook+set}" = set; then
10842 enableval=$enable_treebook;
10843 if test "$enableval" = yes; then
10844 ac_cv_use_treebook='wxUSE_TREEBOOK=yes'
10846 ac_cv_use_treebook='wxUSE_TREEBOOK=no'
10851 LINE=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
10852 if test "x$LINE" != x ; then
10853 eval "DEFAULT_$LINE"
10858 ac_cv_use_treebook='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
10863 eval "$ac_cv_use_treebook"
10864 if test "$no_cache" != 1; then
10865 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
10868 if test "$wxUSE_TREEBOOK" = yes; then
10869 { echo "$as_me:$LINENO: result: yes" >&5
10870 echo "${ECHO_T}yes" >&6; }
10872 { echo "$as_me:$LINENO: result: no" >&5
10873 echo "${ECHO_T}no" >&6; }
10878 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
10879 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
10881 # Check whether --enable-toolbook was given.
10882 if test "${enable_toolbook+set}" = set; then
10883 enableval=$enable_toolbook;
10884 if test "$enableval" = yes; then
10885 ac_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
10887 ac_cv_use_toolbook='wxUSE_TOOLBOOK=no'
10892 LINE=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
10893 if test "x$LINE" != x ; then
10894 eval "DEFAULT_$LINE"
10899 ac_cv_use_toolbook='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
10904 eval "$ac_cv_use_toolbook"
10905 if test "$no_cache" != 1; then
10906 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
10909 if test "$wxUSE_TOOLBOOK" = yes; then
10910 { echo "$as_me:$LINENO: result: yes" >&5
10911 echo "${ECHO_T}yes" >&6; }
10913 { echo "$as_me:$LINENO: result: no" >&5
10914 echo "${ECHO_T}no" >&6; }
10919 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
10920 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
10922 # Check whether --enable-treectrl was given.
10923 if test "${enable_treectrl+set}" = set; then
10924 enableval=$enable_treectrl;
10925 if test "$enableval" = yes; then
10926 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
10928 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
10933 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
10934 if test "x$LINE" != x ; then
10935 eval "DEFAULT_$LINE"
10940 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
10945 eval "$ac_cv_use_treectrl"
10946 if test "$no_cache" != 1; then
10947 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
10950 if test "$wxUSE_TREECTRL" = yes; then
10951 { echo "$as_me:$LINENO: result: yes" >&5
10952 echo "${ECHO_T}yes" >&6; }
10954 { echo "$as_me:$LINENO: result: no" >&5
10955 echo "${ECHO_T}no" >&6; }
10960 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
10961 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
10963 # Check whether --enable-tipwindow was given.
10964 if test "${enable_tipwindow+set}" = set; then
10965 enableval=$enable_tipwindow;
10966 if test "$enableval" = yes; then
10967 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
10969 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
10974 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
10975 if test "x$LINE" != x ; then
10976 eval "DEFAULT_$LINE"
10981 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
10986 eval "$ac_cv_use_tipwindow"
10987 if test "$no_cache" != 1; then
10988 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
10991 if test "$wxUSE_TIPWINDOW" = yes; then
10992 { echo "$as_me:$LINENO: result: yes" >&5
10993 echo "${ECHO_T}yes" >&6; }
10995 { echo "$as_me:$LINENO: result: no" >&5
10996 echo "${ECHO_T}no" >&6; }
11001 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11002 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11004 # Check whether --enable-popupwin was given.
11005 if test "${enable_popupwin+set}" = set; then
11006 enableval=$enable_popupwin;
11007 if test "$enableval" = yes; then
11008 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11010 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
11015 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
11016 if test "x$LINE" != x ; then
11017 eval "DEFAULT_$LINE"
11022 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
11027 eval "$ac_cv_use_popupwin"
11028 if test "$no_cache" != 1; then
11029 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
11032 if test "$wxUSE_POPUPWIN" = yes; then
11033 { echo "$as_me:$LINENO: result: yes" >&5
11034 echo "${ECHO_T}yes" >&6; }
11036 { echo "$as_me:$LINENO: result: no" >&5
11037 echo "${ECHO_T}no" >&6; }
11044 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
11045 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
11047 # Check whether --enable-commondlg was given.
11048 if test "${enable_commondlg+set}" = set; then
11049 enableval=$enable_commondlg;
11050 if test "$enableval" = yes; then
11051 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
11053 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
11058 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
11059 if test "x$LINE" != x ; then
11060 eval "DEFAULT_$LINE"
11065 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
11070 eval "$ac_cv_use_commondlg"
11071 if test "$no_cache" != 1; then
11072 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
11075 if test "$wxUSE_COMMONDLGS" = yes; then
11076 { echo "$as_me:$LINENO: result: yes" >&5
11077 echo "${ECHO_T}yes" >&6; }
11079 { echo "$as_me:$LINENO: result: no" >&5
11080 echo "${ECHO_T}no" >&6; }
11085 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
11086 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
11088 # Check whether --enable-aboutdlg was given.
11089 if test "${enable_aboutdlg+set}" = set; then
11090 enableval=$enable_aboutdlg;
11091 if test "$enableval" = yes; then
11092 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
11094 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
11099 LINE=`grep "wxUSE_ABOUTDLG" ${wx_arg_cache_file}`
11100 if test "x$LINE" != x ; then
11101 eval "DEFAULT_$LINE"
11106 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG='$DEFAULT_wxUSE_ABOUTDLG
11111 eval "$ac_cv_use_aboutdlg"
11112 if test "$no_cache" != 1; then
11113 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
11116 if test "$wxUSE_ABOUTDLG" = yes; then
11117 { echo "$as_me:$LINENO: result: yes" >&5
11118 echo "${ECHO_T}yes" >&6; }
11120 { echo "$as_me:$LINENO: result: no" >&5
11121 echo "${ECHO_T}no" >&6; }
11126 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
11127 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
11129 # Check whether --enable-choicedlg was given.
11130 if test "${enable_choicedlg+set}" = set; then
11131 enableval=$enable_choicedlg;
11132 if test "$enableval" = yes; then
11133 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
11135 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
11140 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
11141 if test "x$LINE" != x ; then
11142 eval "DEFAULT_$LINE"
11147 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
11152 eval "$ac_cv_use_choicedlg"
11153 if test "$no_cache" != 1; then
11154 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
11157 if test "$wxUSE_CHOICEDLG" = yes; then
11158 { echo "$as_me:$LINENO: result: yes" >&5
11159 echo "${ECHO_T}yes" >&6; }
11161 { echo "$as_me:$LINENO: result: no" >&5
11162 echo "${ECHO_T}no" >&6; }
11167 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
11168 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
11170 # Check whether --enable-coldlg was given.
11171 if test "${enable_coldlg+set}" = set; then
11172 enableval=$enable_coldlg;
11173 if test "$enableval" = yes; then
11174 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
11176 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
11181 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
11182 if test "x$LINE" != x ; then
11183 eval "DEFAULT_$LINE"
11188 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
11193 eval "$ac_cv_use_coldlg"
11194 if test "$no_cache" != 1; then
11195 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
11198 if test "$wxUSE_COLOURDLG" = yes; then
11199 { echo "$as_me:$LINENO: result: yes" >&5
11200 echo "${ECHO_T}yes" >&6; }
11202 { echo "$as_me:$LINENO: result: no" >&5
11203 echo "${ECHO_T}no" >&6; }
11208 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
11209 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
11211 # Check whether --enable-filedlg was given.
11212 if test "${enable_filedlg+set}" = set; then
11213 enableval=$enable_filedlg;
11214 if test "$enableval" = yes; then
11215 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
11217 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
11222 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
11223 if test "x$LINE" != x ; then
11224 eval "DEFAULT_$LINE"
11229 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
11234 eval "$ac_cv_use_filedlg"
11235 if test "$no_cache" != 1; then
11236 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
11239 if test "$wxUSE_FILEDLG" = yes; then
11240 { echo "$as_me:$LINENO: result: yes" >&5
11241 echo "${ECHO_T}yes" >&6; }
11243 { echo "$as_me:$LINENO: result: no" >&5
11244 echo "${ECHO_T}no" >&6; }
11249 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
11250 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
11252 # Check whether --enable-finddlg was given.
11253 if test "${enable_finddlg+set}" = set; then
11254 enableval=$enable_finddlg;
11255 if test "$enableval" = yes; then
11256 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
11258 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
11263 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
11264 if test "x$LINE" != x ; then
11265 eval "DEFAULT_$LINE"
11270 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
11275 eval "$ac_cv_use_finddlg"
11276 if test "$no_cache" != 1; then
11277 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
11280 if test "$wxUSE_FINDREPLDLG" = yes; then
11281 { echo "$as_me:$LINENO: result: yes" >&5
11282 echo "${ECHO_T}yes" >&6; }
11284 { echo "$as_me:$LINENO: result: no" >&5
11285 echo "${ECHO_T}no" >&6; }
11290 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
11291 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
11293 # Check whether --enable-fontdlg was given.
11294 if test "${enable_fontdlg+set}" = set; then
11295 enableval=$enable_fontdlg;
11296 if test "$enableval" = yes; then
11297 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
11299 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
11304 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
11305 if test "x$LINE" != x ; then
11306 eval "DEFAULT_$LINE"
11311 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
11316 eval "$ac_cv_use_fontdlg"
11317 if test "$no_cache" != 1; then
11318 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
11321 if test "$wxUSE_FONTDLG" = yes; then
11322 { echo "$as_me:$LINENO: result: yes" >&5
11323 echo "${ECHO_T}yes" >&6; }
11325 { echo "$as_me:$LINENO: result: no" >&5
11326 echo "${ECHO_T}no" >&6; }
11331 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
11332 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
11334 # Check whether --enable-dirdlg was given.
11335 if test "${enable_dirdlg+set}" = set; then
11336 enableval=$enable_dirdlg;
11337 if test "$enableval" = yes; then
11338 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
11340 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
11345 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
11346 if test "x$LINE" != x ; then
11347 eval "DEFAULT_$LINE"
11352 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
11357 eval "$ac_cv_use_dirdlg"
11358 if test "$no_cache" != 1; then
11359 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
11362 if test "$wxUSE_DIRDLG" = yes; then
11363 { echo "$as_me:$LINENO: result: yes" >&5
11364 echo "${ECHO_T}yes" >&6; }
11366 { echo "$as_me:$LINENO: result: no" >&5
11367 echo "${ECHO_T}no" >&6; }
11372 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
11373 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
11375 # Check whether --enable-msgdlg was given.
11376 if test "${enable_msgdlg+set}" = set; then
11377 enableval=$enable_msgdlg;
11378 if test "$enableval" = yes; then
11379 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
11381 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
11386 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
11387 if test "x$LINE" != x ; then
11388 eval "DEFAULT_$LINE"
11393 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
11398 eval "$ac_cv_use_msgdlg"
11399 if test "$no_cache" != 1; then
11400 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
11403 if test "$wxUSE_MSGDLG" = yes; then
11404 { echo "$as_me:$LINENO: result: yes" >&5
11405 echo "${ECHO_T}yes" >&6; }
11407 { echo "$as_me:$LINENO: result: no" >&5
11408 echo "${ECHO_T}no" >&6; }
11413 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
11414 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
11416 # Check whether --enable-numberdlg was given.
11417 if test "${enable_numberdlg+set}" = set; then
11418 enableval=$enable_numberdlg;
11419 if test "$enableval" = yes; then
11420 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
11422 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
11427 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
11428 if test "x$LINE" != x ; then
11429 eval "DEFAULT_$LINE"
11434 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
11439 eval "$ac_cv_use_numberdlg"
11440 if test "$no_cache" != 1; then
11441 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
11444 if test "$wxUSE_NUMBERDLG" = yes; then
11445 { echo "$as_me:$LINENO: result: yes" >&5
11446 echo "${ECHO_T}yes" >&6; }
11448 { echo "$as_me:$LINENO: result: no" >&5
11449 echo "${ECHO_T}no" >&6; }
11454 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
11455 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
11457 # Check whether --enable-splash was given.
11458 if test "${enable_splash+set}" = set; then
11459 enableval=$enable_splash;
11460 if test "$enableval" = yes; then
11461 ac_cv_use_splash='wxUSE_SPLASH=yes'
11463 ac_cv_use_splash='wxUSE_SPLASH=no'
11468 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
11469 if test "x$LINE" != x ; then
11470 eval "DEFAULT_$LINE"
11475 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
11480 eval "$ac_cv_use_splash"
11481 if test "$no_cache" != 1; then
11482 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
11485 if test "$wxUSE_SPLASH" = yes; then
11486 { echo "$as_me:$LINENO: result: yes" >&5
11487 echo "${ECHO_T}yes" >&6; }
11489 { echo "$as_me:$LINENO: result: no" >&5
11490 echo "${ECHO_T}no" >&6; }
11495 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
11496 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
11498 # Check whether --enable-textdlg was given.
11499 if test "${enable_textdlg+set}" = set; then
11500 enableval=$enable_textdlg;
11501 if test "$enableval" = yes; then
11502 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
11504 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
11509 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
11510 if test "x$LINE" != x ; then
11511 eval "DEFAULT_$LINE"
11516 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
11521 eval "$ac_cv_use_textdlg"
11522 if test "$no_cache" != 1; then
11523 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
11526 if test "$wxUSE_TEXTDLG" = yes; then
11527 { echo "$as_me:$LINENO: result: yes" >&5
11528 echo "${ECHO_T}yes" >&6; }
11530 { echo "$as_me:$LINENO: result: no" >&5
11531 echo "${ECHO_T}no" >&6; }
11536 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
11537 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
11539 # Check whether --enable-tipdlg was given.
11540 if test "${enable_tipdlg+set}" = set; then
11541 enableval=$enable_tipdlg;
11542 if test "$enableval" = yes; then
11543 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
11545 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
11550 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
11551 if test "x$LINE" != x ; then
11552 eval "DEFAULT_$LINE"
11557 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
11562 eval "$ac_cv_use_tipdlg"
11563 if test "$no_cache" != 1; then
11564 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
11567 if test "$wxUSE_STARTUP_TIPS" = yes; then
11568 { echo "$as_me:$LINENO: result: yes" >&5
11569 echo "${ECHO_T}yes" >&6; }
11571 { echo "$as_me:$LINENO: result: no" >&5
11572 echo "${ECHO_T}no" >&6; }
11577 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
11578 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
11580 # Check whether --enable-progressdlg was given.
11581 if test "${enable_progressdlg+set}" = set; then
11582 enableval=$enable_progressdlg;
11583 if test "$enableval" = yes; then
11584 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
11586 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
11591 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
11592 if test "x$LINE" != x ; then
11593 eval "DEFAULT_$LINE"
11598 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
11603 eval "$ac_cv_use_progressdlg"
11604 if test "$no_cache" != 1; then
11605 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
11608 if test "$wxUSE_PROGRESSDLG" = yes; then
11609 { echo "$as_me:$LINENO: result: yes" >&5
11610 echo "${ECHO_T}yes" >&6; }
11612 { echo "$as_me:$LINENO: result: no" >&5
11613 echo "${ECHO_T}no" >&6; }
11618 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
11619 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
11621 # Check whether --enable-wizarddlg was given.
11622 if test "${enable_wizarddlg+set}" = set; then
11623 enableval=$enable_wizarddlg;
11624 if test "$enableval" = yes; then
11625 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
11627 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
11632 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
11633 if test "x$LINE" != x ; then
11634 eval "DEFAULT_$LINE"
11639 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
11644 eval "$ac_cv_use_wizarddlg"
11645 if test "$no_cache" != 1; then
11646 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
11649 if test "$wxUSE_WIZARDDLG" = yes; then
11650 { echo "$as_me:$LINENO: result: yes" >&5
11651 echo "${ECHO_T}yes" >&6; }
11653 { echo "$as_me:$LINENO: result: no" >&5
11654 echo "${ECHO_T}no" >&6; }
11661 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
11662 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
11664 # Check whether --enable-menus was given.
11665 if test "${enable_menus+set}" = set; then
11666 enableval=$enable_menus;
11667 if test "$enableval" = yes; then
11668 ac_cv_use_menus='wxUSE_MENUS=yes'
11670 ac_cv_use_menus='wxUSE_MENUS=no'
11675 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
11676 if test "x$LINE" != x ; then
11677 eval "DEFAULT_$LINE"
11682 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
11687 eval "$ac_cv_use_menus"
11688 if test "$no_cache" != 1; then
11689 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
11692 if test "$wxUSE_MENUS" = yes; then
11693 { echo "$as_me:$LINENO: result: yes" >&5
11694 echo "${ECHO_T}yes" >&6; }
11696 { echo "$as_me:$LINENO: result: no" >&5
11697 echo "${ECHO_T}no" >&6; }
11702 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
11703 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
11705 # Check whether --enable-miniframe was given.
11706 if test "${enable_miniframe+set}" = set; then
11707 enableval=$enable_miniframe;
11708 if test "$enableval" = yes; then
11709 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
11711 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
11716 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
11717 if test "x$LINE" != x ; then
11718 eval "DEFAULT_$LINE"
11723 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
11728 eval "$ac_cv_use_miniframe"
11729 if test "$no_cache" != 1; then
11730 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
11733 if test "$wxUSE_MINIFRAME" = yes; then
11734 { echo "$as_me:$LINENO: result: yes" >&5
11735 echo "${ECHO_T}yes" >&6; }
11737 { echo "$as_me:$LINENO: result: no" >&5
11738 echo "${ECHO_T}no" >&6; }
11743 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
11744 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
11746 # Check whether --enable-tooltips was given.
11747 if test "${enable_tooltips+set}" = set; then
11748 enableval=$enable_tooltips;
11749 if test "$enableval" = yes; then
11750 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
11752 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
11757 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
11758 if test "x$LINE" != x ; then
11759 eval "DEFAULT_$LINE"
11764 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
11769 eval "$ac_cv_use_tooltips"
11770 if test "$no_cache" != 1; then
11771 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
11774 if test "$wxUSE_TOOLTIPS" = yes; then
11775 { echo "$as_me:$LINENO: result: yes" >&5
11776 echo "${ECHO_T}yes" >&6; }
11778 { echo "$as_me:$LINENO: result: no" >&5
11779 echo "${ECHO_T}no" >&6; }
11784 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
11785 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
11787 # Check whether --enable-splines was given.
11788 if test "${enable_splines+set}" = set; then
11789 enableval=$enable_splines;
11790 if test "$enableval" = yes; then
11791 ac_cv_use_splines='wxUSE_SPLINES=yes'
11793 ac_cv_use_splines='wxUSE_SPLINES=no'
11798 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
11799 if test "x$LINE" != x ; then
11800 eval "DEFAULT_$LINE"
11805 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
11810 eval "$ac_cv_use_splines"
11811 if test "$no_cache" != 1; then
11812 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
11815 if test "$wxUSE_SPLINES" = yes; then
11816 { echo "$as_me:$LINENO: result: yes" >&5
11817 echo "${ECHO_T}yes" >&6; }
11819 { echo "$as_me:$LINENO: result: no" >&5
11820 echo "${ECHO_T}no" >&6; }
11825 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
11826 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
11828 # Check whether --enable-mousewheel was given.
11829 if test "${enable_mousewheel+set}" = set; then
11830 enableval=$enable_mousewheel;
11831 if test "$enableval" = yes; then
11832 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
11834 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
11839 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
11840 if test "x$LINE" != x ; then
11841 eval "DEFAULT_$LINE"
11846 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
11851 eval "$ac_cv_use_mousewheel"
11852 if test "$no_cache" != 1; then
11853 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
11856 if test "$wxUSE_MOUSEWHEEL" = yes; then
11857 { echo "$as_me:$LINENO: result: yes" >&5
11858 echo "${ECHO_T}yes" >&6; }
11860 { echo "$as_me:$LINENO: result: no" >&5
11861 echo "${ECHO_T}no" >&6; }
11866 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
11867 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
11869 # Check whether --enable-validators was given.
11870 if test "${enable_validators+set}" = set; then
11871 enableval=$enable_validators;
11872 if test "$enableval" = yes; then
11873 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
11875 ac_cv_use_validators='wxUSE_VALIDATORS=no'
11880 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
11881 if test "x$LINE" != x ; then
11882 eval "DEFAULT_$LINE"
11887 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
11892 eval "$ac_cv_use_validators"
11893 if test "$no_cache" != 1; then
11894 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
11897 if test "$wxUSE_VALIDATORS" = yes; then
11898 { echo "$as_me:$LINENO: result: yes" >&5
11899 echo "${ECHO_T}yes" >&6; }
11901 { echo "$as_me:$LINENO: result: no" >&5
11902 echo "${ECHO_T}no" >&6; }
11907 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
11908 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
11910 # Check whether --enable-busyinfo was given.
11911 if test "${enable_busyinfo+set}" = set; then
11912 enableval=$enable_busyinfo;
11913 if test "$enableval" = yes; then
11914 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
11916 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
11921 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
11922 if test "x$LINE" != x ; then
11923 eval "DEFAULT_$LINE"
11928 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
11933 eval "$ac_cv_use_busyinfo"
11934 if test "$no_cache" != 1; then
11935 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
11938 if test "$wxUSE_BUSYINFO" = yes; then
11939 { echo "$as_me:$LINENO: result: yes" >&5
11940 echo "${ECHO_T}yes" >&6; }
11942 { echo "$as_me:$LINENO: result: no" >&5
11943 echo "${ECHO_T}no" >&6; }
11948 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
11949 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
11951 # Check whether --enable-joystick was given.
11952 if test "${enable_joystick+set}" = set; then
11953 enableval=$enable_joystick;
11954 if test "$enableval" = yes; then
11955 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
11957 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
11962 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
11963 if test "x$LINE" != x ; then
11964 eval "DEFAULT_$LINE"
11969 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
11974 eval "$ac_cv_use_joystick"
11975 if test "$no_cache" != 1; then
11976 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
11979 if test "$wxUSE_JOYSTICK" = yes; then
11980 { echo "$as_me:$LINENO: result: yes" >&5
11981 echo "${ECHO_T}yes" >&6; }
11983 { echo "$as_me:$LINENO: result: no" >&5
11984 echo "${ECHO_T}no" >&6; }
11989 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
11990 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
11992 # Check whether --enable-metafile was given.
11993 if test "${enable_metafile+set}" = set; then
11994 enableval=$enable_metafile;
11995 if test "$enableval" = yes; then
11996 ac_cv_use_metafile='wxUSE_METAFILE=yes'
11998 ac_cv_use_metafile='wxUSE_METAFILE=no'
12003 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
12004 if test "x$LINE" != x ; then
12005 eval "DEFAULT_$LINE"
12010 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
12015 eval "$ac_cv_use_metafile"
12016 if test "$no_cache" != 1; then
12017 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
12020 if test "$wxUSE_METAFILE" = yes; then
12021 { echo "$as_me:$LINENO: result: yes" >&5
12022 echo "${ECHO_T}yes" >&6; }
12024 { echo "$as_me:$LINENO: result: no" >&5
12025 echo "${ECHO_T}no" >&6; }
12030 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
12031 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
12033 # Check whether --enable-dragimage was given.
12034 if test "${enable_dragimage+set}" = set; then
12035 enableval=$enable_dragimage;
12036 if test "$enableval" = yes; then
12037 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
12039 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
12044 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
12045 if test "x$LINE" != x ; then
12046 eval "DEFAULT_$LINE"
12051 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
12056 eval "$ac_cv_use_dragimage"
12057 if test "$no_cache" != 1; then
12058 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
12061 if test "$wxUSE_DRAGIMAGE" = yes; then
12062 { echo "$as_me:$LINENO: result: yes" >&5
12063 echo "${ECHO_T}yes" >&6; }
12065 { echo "$as_me:$LINENO: result: no" >&5
12066 echo "${ECHO_T}no" >&6; }
12071 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
12072 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
12074 # Check whether --enable-accessibility was given.
12075 if test "${enable_accessibility+set}" = set; then
12076 enableval=$enable_accessibility;
12077 if test "$enableval" = yes; then
12078 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
12080 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
12085 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
12086 if test "x$LINE" != x ; then
12087 eval "DEFAULT_$LINE"
12092 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
12097 eval "$ac_cv_use_accessibility"
12098 if test "$no_cache" != 1; then
12099 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
12102 if test "$wxUSE_ACCESSIBILITY" = yes; then
12103 { echo "$as_me:$LINENO: result: yes" >&5
12104 echo "${ECHO_T}yes" >&6; }
12106 { echo "$as_me:$LINENO: result: no" >&5
12107 echo "${ECHO_T}no" >&6; }
12111 if test "$wxUSE_MSW" = "1"; then
12114 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
12115 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
12117 # Check whether --enable-dccache was given.
12118 if test "${enable_dccache+set}" = set; then
12119 enableval=$enable_dccache;
12120 if test "$enableval" = yes; then
12121 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
12123 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
12128 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
12129 if test "x$LINE" != x ; then
12130 eval "DEFAULT_$LINE"
12135 ac_cv_use_dccache='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
12140 eval "$ac_cv_use_dccache"
12141 if test "$no_cache" != 1; then
12142 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
12145 if test "$wxUSE_DC_CACHEING" = yes; then
12146 { echo "$as_me:$LINENO: result: yes" >&5
12147 echo "${ECHO_T}yes" >&6; }
12149 { echo "$as_me:$LINENO: result: no" >&5
12150 echo "${ECHO_T}no" >&6; }
12158 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
12159 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
12161 # Check whether --enable-palette was given.
12162 if test "${enable_palette+set}" = set; then
12163 enableval=$enable_palette;
12164 if test "$enableval" = yes; then
12165 ac_cv_use_palette='wxUSE_PALETTE=yes'
12167 ac_cv_use_palette='wxUSE_PALETTE=no'
12172 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
12173 if test "x$LINE" != x ; then
12174 eval "DEFAULT_$LINE"
12179 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
12184 eval "$ac_cv_use_palette"
12185 if test "$no_cache" != 1; then
12186 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
12189 if test "$wxUSE_PALETTE" = yes; then
12190 { echo "$as_me:$LINENO: result: yes" >&5
12191 echo "${ECHO_T}yes" >&6; }
12193 { echo "$as_me:$LINENO: result: no" >&5
12194 echo "${ECHO_T}no" >&6; }
12199 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
12200 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
12202 # Check whether --enable-image was given.
12203 if test "${enable_image+set}" = set; then
12204 enableval=$enable_image;
12205 if test "$enableval" = yes; then
12206 ac_cv_use_image='wxUSE_IMAGE=yes'
12208 ac_cv_use_image='wxUSE_IMAGE=no'
12213 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
12214 if test "x$LINE" != x ; then
12215 eval "DEFAULT_$LINE"
12220 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
12225 eval "$ac_cv_use_image"
12226 if test "$no_cache" != 1; then
12227 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
12230 if test "$wxUSE_IMAGE" = yes; then
12231 { echo "$as_me:$LINENO: result: yes" >&5
12232 echo "${ECHO_T}yes" >&6; }
12234 { echo "$as_me:$LINENO: result: no" >&5
12235 echo "${ECHO_T}no" >&6; }
12240 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
12241 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
12243 # Check whether --enable-gif was given.
12244 if test "${enable_gif+set}" = set; then
12245 enableval=$enable_gif;
12246 if test "$enableval" = yes; then
12247 ac_cv_use_gif='wxUSE_GIF=yes'
12249 ac_cv_use_gif='wxUSE_GIF=no'
12254 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
12255 if test "x$LINE" != x ; then
12256 eval "DEFAULT_$LINE"
12261 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
12266 eval "$ac_cv_use_gif"
12267 if test "$no_cache" != 1; then
12268 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
12271 if test "$wxUSE_GIF" = yes; then
12272 { echo "$as_me:$LINENO: result: yes" >&5
12273 echo "${ECHO_T}yes" >&6; }
12275 { echo "$as_me:$LINENO: result: no" >&5
12276 echo "${ECHO_T}no" >&6; }
12281 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
12282 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
12284 # Check whether --enable-pcx was given.
12285 if test "${enable_pcx+set}" = set; then
12286 enableval=$enable_pcx;
12287 if test "$enableval" = yes; then
12288 ac_cv_use_pcx='wxUSE_PCX=yes'
12290 ac_cv_use_pcx='wxUSE_PCX=no'
12295 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
12296 if test "x$LINE" != x ; then
12297 eval "DEFAULT_$LINE"
12302 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
12307 eval "$ac_cv_use_pcx"
12308 if test "$no_cache" != 1; then
12309 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
12312 if test "$wxUSE_PCX" = yes; then
12313 { echo "$as_me:$LINENO: result: yes" >&5
12314 echo "${ECHO_T}yes" >&6; }
12316 { echo "$as_me:$LINENO: result: no" >&5
12317 echo "${ECHO_T}no" >&6; }
12322 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
12323 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
12325 # Check whether --enable-tga was given.
12326 if test "${enable_tga+set}" = set; then
12327 enableval=$enable_tga;
12328 if test "$enableval" = yes; then
12329 ac_cv_use_tga='wxUSE_TGA=yes'
12331 ac_cv_use_tga='wxUSE_TGA=no'
12336 LINE=`grep "wxUSE_TGA" ${wx_arg_cache_file}`
12337 if test "x$LINE" != x ; then
12338 eval "DEFAULT_$LINE"
12343 ac_cv_use_tga='wxUSE_TGA='$DEFAULT_wxUSE_TGA
12348 eval "$ac_cv_use_tga"
12349 if test "$no_cache" != 1; then
12350 echo $ac_cv_use_tga >> ${wx_arg_cache_file}.tmp
12353 if test "$wxUSE_TGA" = yes; then
12354 { echo "$as_me:$LINENO: result: yes" >&5
12355 echo "${ECHO_T}yes" >&6; }
12357 { echo "$as_me:$LINENO: result: no" >&5
12358 echo "${ECHO_T}no" >&6; }
12363 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
12364 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
12366 # Check whether --enable-iff was given.
12367 if test "${enable_iff+set}" = set; then
12368 enableval=$enable_iff;
12369 if test "$enableval" = yes; then
12370 ac_cv_use_iff='wxUSE_IFF=yes'
12372 ac_cv_use_iff='wxUSE_IFF=no'
12377 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
12378 if test "x$LINE" != x ; then
12379 eval "DEFAULT_$LINE"
12384 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
12389 eval "$ac_cv_use_iff"
12390 if test "$no_cache" != 1; then
12391 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
12394 if test "$wxUSE_IFF" = yes; then
12395 { echo "$as_me:$LINENO: result: yes" >&5
12396 echo "${ECHO_T}yes" >&6; }
12398 { echo "$as_me:$LINENO: result: no" >&5
12399 echo "${ECHO_T}no" >&6; }
12404 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
12405 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
12407 # Check whether --enable-pnm was given.
12408 if test "${enable_pnm+set}" = set; then
12409 enableval=$enable_pnm;
12410 if test "$enableval" = yes; then
12411 ac_cv_use_pnm='wxUSE_PNM=yes'
12413 ac_cv_use_pnm='wxUSE_PNM=no'
12418 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
12419 if test "x$LINE" != x ; then
12420 eval "DEFAULT_$LINE"
12425 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
12430 eval "$ac_cv_use_pnm"
12431 if test "$no_cache" != 1; then
12432 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
12435 if test "$wxUSE_PNM" = yes; then
12436 { echo "$as_me:$LINENO: result: yes" >&5
12437 echo "${ECHO_T}yes" >&6; }
12439 { echo "$as_me:$LINENO: result: no" >&5
12440 echo "${ECHO_T}no" >&6; }
12445 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
12446 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
12448 # Check whether --enable-xpm was given.
12449 if test "${enable_xpm+set}" = set; then
12450 enableval=$enable_xpm;
12451 if test "$enableval" = yes; then
12452 ac_cv_use_xpm='wxUSE_XPM=yes'
12454 ac_cv_use_xpm='wxUSE_XPM=no'
12459 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
12460 if test "x$LINE" != x ; then
12461 eval "DEFAULT_$LINE"
12466 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
12471 eval "$ac_cv_use_xpm"
12472 if test "$no_cache" != 1; then
12473 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
12476 if test "$wxUSE_XPM" = yes; then
12477 { echo "$as_me:$LINENO: result: yes" >&5
12478 echo "${ECHO_T}yes" >&6; }
12480 { echo "$as_me:$LINENO: result: no" >&5
12481 echo "${ECHO_T}no" >&6; }
12486 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
12487 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
12489 # Check whether --enable-ico_cur was given.
12490 if test "${enable_ico_cur+set}" = set; then
12491 enableval=$enable_ico_cur;
12492 if test "$enableval" = yes; then
12493 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
12495 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
12500 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
12501 if test "x$LINE" != x ; then
12502 eval "DEFAULT_$LINE"
12507 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
12512 eval "$ac_cv_use_ico_cur"
12513 if test "$no_cache" != 1; then
12514 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
12517 if test "$wxUSE_ICO_CUR" = yes; then
12518 { echo "$as_me:$LINENO: result: yes" >&5
12519 echo "${ECHO_T}yes" >&6; }
12521 { echo "$as_me:$LINENO: result: no" >&5
12522 echo "${ECHO_T}no" >&6; }
12530 # Check whether --with-flavour was given.
12531 if test "${with_flavour+set}" = set; then
12532 withval=$with_flavour; WX_FLAVOUR="$withval"
12539 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
12540 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
12542 # Check whether --enable-official_build was given.
12543 if test "${enable_official_build+set}" = set; then
12544 enableval=$enable_official_build;
12545 if test "$enableval" = yes; then
12546 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
12548 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
12553 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
12554 if test "x$LINE" != x ; then
12555 eval "DEFAULT_$LINE"
12560 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
12565 eval "$ac_cv_use_official_build"
12566 if test "$no_cache" != 1; then
12567 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
12570 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
12571 { echo "$as_me:$LINENO: result: yes" >&5
12572 echo "${ECHO_T}yes" >&6; }
12574 { echo "$as_me:$LINENO: result: no" >&5
12575 echo "${ECHO_T}no" >&6; }
12578 # Check whether --enable-vendor was given.
12579 if test "${enable_vendor+set}" = set; then
12580 enableval=$enable_vendor; VENDOR="$enableval"
12583 if test "x$VENDOR" = "x"; then
12590 echo "saving argument cache $wx_arg_cache_file"
12591 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
12595 { echo "$as_me:$LINENO: checking for toolkit" >&5
12596 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
12598 # In Wine, we need to default to MSW, not GTK or MOTIF
12599 if test "$wxUSE_WINE" = "yes"; then
12600 DEFAULT_DEFAULT_wxUSE_GTK=0
12601 DEFAULT_DEFAULT_wxUSE_MOTIF=0
12602 DEFAULT_DEFAULT_wxUSE_MSW=1
12605 CXX=${CXX:-wineg++}
12609 if test "$wxUSE_GUI" = "yes"; then
12611 if test "$USE_BEOS" = 1; then
12612 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
12613 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
12614 { (exit 1); exit 1; }; }
12617 if test "$TOOLKIT_GIVEN" = 1; then
12618 for toolkit in `echo $ALL_TOOLKITS`; do
12620 eval "value=\$${var}"
12621 if test "x$value" = "xno"; then
12623 elif test "x$value" != "x"; then
12627 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
12628 eval "wx${toolkit}_VERSION=$value"
12632 for toolkit in `echo $ALL_TOOLKITS`; do
12633 if test "$has_toolkit_in_cache" != 1; then
12634 var=DEFAULT_DEFAULT_wxUSE_$toolkit
12636 var=DEFAULT_wxUSE_$toolkit
12638 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
12639 if test "x$version" != "x"; then
12640 eval "wx${toolkit}_VERSION=$version"
12643 eval "wxUSE_$toolkit=\$${var}"
12647 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
12648 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
12649 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
12652 *-pc-os2_emx | *-pc-os2-emx )
12653 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
12656 case "$NUM_TOOLKITS" in
12660 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
12661 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
12662 { (exit 1); exit 1; }; }
12665 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
12666 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
12667 { (exit 1); exit 1; }; }
12670 # to be removed when --disable-gtk2 isn't needed
12671 if test "x$wxUSE_GTK2" = "xyes"; then
12673 elif test "x$wxUSE_GTK2" = "xno"; then
12677 for toolkit in `echo $ALL_TOOLKITS`; do
12679 eval "value=\$${var}"
12680 if test "x$value" != x; then
12681 cache_var=CACHE_$toolkit
12682 eval "cache=\$${cache_var}"
12683 if test "$cache" = 1; then
12684 echo "$var=$value" >> ${wx_arg_cache_file}
12685 eval "version=\$wx${toolkit}_VERSION"
12686 if test "x$version" != "x"; then
12687 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
12690 if test "$value" = 1; then
12691 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
12692 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
12693 echo "${ECHO_T}$toolkit_echo" >&6; }
12698 if test "x$host_alias" != "x"; then
12699 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
12700 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
12702 { echo "$as_me:$LINENO: result: base only" >&5
12703 echo "${ECHO_T}base only" >&6; }
12708 cat >confcache <<\_ACEOF
12709 # This file is a shell script that caches the results of configure
12710 # tests run on this system so they can be shared between configure
12711 # scripts and configure runs, see configure's option --config-cache.
12712 # It is not useful on other systems. If it contains results you don't
12713 # want to keep, you may remove or edit it.
12715 # config.status only pays attention to the cache file if you give it
12716 # the --recheck option to rerun configure.
12718 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
12719 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12720 # following values.
12724 # The following way of writing the cache mishandles newlines in values,
12725 # but we know of no workaround that is simple, portable, and efficient.
12726 # So, we kill variables containing newlines.
12727 # Ultrix sh set writes to stderr and can't be redirected directly,
12728 # and sets the high bit in the cache file unless we assign to the vars.
12730 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12731 eval ac_val
=\$
$ac_var
12735 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
12736 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
12739 _
| IFS
| as_nl
) ;; #(
12740 *) $as_unset $ac_var ;;
12746 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12747 *${as_nl}ac_space
=\
*)
12748 # `set' does not quote correctly, so add quotes (double-quote
12749 # substitution turns \\\\ into \\, and sed turns \\ into \).
12752 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12755 # `set' quotes correctly as required by POSIX, so do not add quotes.
12756 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12765 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12767 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12769 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
12770 if test -w "$cache_file"; then
12771 test "x$cache_file" != "x/dev/null" &&
12772 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
12773 echo "$as_me: updating cache $cache_file" >&6;}
12774 cat confcache
>$cache_file
12776 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
12777 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12787 ac_cpp
='$CPP $CPPFLAGS'
12788 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12789 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12790 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12791 if test -n "$ac_tool_prefix"; then
12792 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12793 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
12794 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12795 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12796 if test "${ac_cv_prog_CC+set}" = set; then
12797 echo $ECHO_N "(cached) $ECHO_C" >&6
12799 if test -n "$CC"; then
12800 ac_cv_prog_CC
="$CC" # Let the user override the test.
12802 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12803 for as_dir
in $PATH
12806 test -z "$as_dir" && as_dir
=.
12807 for ac_exec_ext
in '' $ac_executable_extensions; do
12808 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12809 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
12810 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12820 if test -n "$CC"; then
12821 { echo "$as_me:$LINENO: result: $CC" >&5
12822 echo "${ECHO_T}$CC" >&6; }
12824 { echo "$as_me:$LINENO: result: no" >&5
12825 echo "${ECHO_T}no" >&6; }
12830 if test -z "$ac_cv_prog_CC"; then
12832 # Extract the first word of "gcc", so it can be a program name with args.
12833 set dummy gcc
; ac_word
=$2
12834 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12835 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12836 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12837 echo $ECHO_N "(cached) $ECHO_C" >&6
12839 if test -n "$ac_ct_CC"; then
12840 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
12842 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12843 for as_dir
in $PATH
12846 test -z "$as_dir" && as_dir
=.
12847 for ac_exec_ext
in '' $ac_executable_extensions; do
12848 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12849 ac_cv_prog_ac_ct_CC
="gcc"
12850 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12859 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
12860 if test -n "$ac_ct_CC"; then
12861 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12862 echo "${ECHO_T}$ac_ct_CC" >&6; }
12864 { echo "$as_me:$LINENO: result: no" >&5
12865 echo "${ECHO_T}no" >&6; }
12868 if test "x$ac_ct_CC" = x
; then
12871 case $cross_compiling:$ac_tool_warned in
12873 { echo "$as_me:$LINENO: 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." >&5
12876 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
12877 whose name does not start with the host triplet. If you think this
12878 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
12879 ac_tool_warned
=yes ;;
12884 CC
="$ac_cv_prog_CC"
12887 if test -z "$CC"; then
12888 if test -n "$ac_tool_prefix"; then
12889 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12890 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
12891 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12892 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12893 if test "${ac_cv_prog_CC+set}" = set; then
12894 echo $ECHO_N "(cached) $ECHO_C" >&6
12896 if test -n "$CC"; then
12897 ac_cv_prog_CC
="$CC" # Let the user override the test.
12899 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12900 for as_dir
in $PATH
12903 test -z "$as_dir" && as_dir
=.
12904 for ac_exec_ext
in '' $ac_executable_extensions; do
12905 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12906 ac_cv_prog_CC
="${ac_tool_prefix}cc"
12907 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12917 if test -n "$CC"; then
12918 { echo "$as_me:$LINENO: result: $CC" >&5
12919 echo "${ECHO_T}$CC" >&6; }
12921 { echo "$as_me:$LINENO: result: no" >&5
12922 echo "${ECHO_T}no" >&6; }
12928 if test -z "$CC"; then
12929 # Extract the first word of "cc", so it can be a program name with args.
12930 set dummy cc
; ac_word
=$2
12931 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12932 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12933 if test "${ac_cv_prog_CC+set}" = set; then
12934 echo $ECHO_N "(cached) $ECHO_C" >&6
12936 if test -n "$CC"; then
12937 ac_cv_prog_CC
="$CC" # Let the user override the test.
12939 ac_prog_rejected
=no
12940 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12941 for as_dir
in $PATH
12944 test -z "$as_dir" && as_dir
=.
12945 for ac_exec_ext
in '' $ac_executable_extensions; do
12946 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12947 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12948 ac_prog_rejected
=yes
12952 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12959 if test $ac_prog_rejected = yes; then
12960 # We found a bogon in the path, so make sure we never use it.
12961 set dummy
$ac_cv_prog_CC
12963 if test $# != 0; then
12964 # We chose a different compiler from the bogus one.
12965 # However, it has the same basename, so the bogon will be chosen
12966 # first if we set CC to just the basename; use the full file name.
12968 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
12974 if test -n "$CC"; then
12975 { echo "$as_me:$LINENO: result: $CC" >&5
12976 echo "${ECHO_T}$CC" >&6; }
12978 { echo "$as_me:$LINENO: result: no" >&5
12979 echo "${ECHO_T}no" >&6; }
12984 if test -z "$CC"; then
12985 if test -n "$ac_tool_prefix"; then
12986 for ac_prog
in cl.exe
12988 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12989 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12990 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12991 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12992 if test "${ac_cv_prog_CC+set}" = set; then
12993 echo $ECHO_N "(cached) $ECHO_C" >&6
12995 if test -n "$CC"; then
12996 ac_cv_prog_CC
="$CC" # Let the user override the test.
12998 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12999 for as_dir
in $PATH
13002 test -z "$as_dir" && as_dir
=.
13003 for ac_exec_ext
in '' $ac_executable_extensions; do
13004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13005 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
13006 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13016 if test -n "$CC"; then
13017 { echo "$as_me:$LINENO: result: $CC" >&5
13018 echo "${ECHO_T}$CC" >&6; }
13020 { echo "$as_me:$LINENO: result: no" >&5
13021 echo "${ECHO_T}no" >&6; }
13025 test -n "$CC" && break
13028 if test -z "$CC"; then
13030 for ac_prog
in cl.exe
13032 # Extract the first word of "$ac_prog", so it can be a program name with args.
13033 set dummy
$ac_prog; ac_word
=$2
13034 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13035 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13036 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
13037 echo $ECHO_N "(cached) $ECHO_C" >&6
13039 if test -n "$ac_ct_CC"; then
13040 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
13042 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13043 for as_dir
in $PATH
13046 test -z "$as_dir" && as_dir
=.
13047 for ac_exec_ext
in '' $ac_executable_extensions; do
13048 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13049 ac_cv_prog_ac_ct_CC
="$ac_prog"
13050 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13059 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
13060 if test -n "$ac_ct_CC"; then
13061 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
13062 echo "${ECHO_T}$ac_ct_CC" >&6; }
13064 { echo "$as_me:$LINENO: result: no" >&5
13065 echo "${ECHO_T}no" >&6; }
13069 test -n "$ac_ct_CC" && break
13072 if test "x$ac_ct_CC" = x
; then
13075 case $cross_compiling:$ac_tool_warned in
13077 { echo "$as_me:$LINENO: 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." >&5
13080 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13081 whose name does not start with the host triplet. If you think this
13082 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13083 ac_tool_warned
=yes ;;
13092 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
13093 See \`config.log' for more details." >&5
13094 echo "$as_me: error: no acceptable C compiler found in \$PATH
13095 See \`config.log' for more details." >&2;}
13096 { (exit 1); exit 1; }; }
13098 # Provide some information about the compiler.
13099 echo "$as_me:$LINENO: checking for C compiler version" >&5
13100 ac_compiler
=`set X $ac_compile; echo $2`
13101 { (ac_try
="$ac_compiler --version >&5"
13102 case "(($ac_try" in
13103 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
13104 *) ac_try_echo=$ac_try;;
13106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13107 (eval "$ac_compiler --version >&5") 2>&5
13109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13110 (exit $ac_status); }
13111 { (ac_try="$ac_compiler -v >&5"
13112 case "(($ac_try" in
13113 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
13114 *) ac_try_echo
=$ac_try;;
13116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13117 (eval "$ac_compiler -v >&5") 2>&5
13119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13120 (exit $ac_status); }
13121 { (ac_try
="$ac_compiler -V >&5"
13122 case "(($ac_try" in
13123 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
13124 *) ac_try_echo=$ac_try;;
13126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13127 (eval "$ac_compiler -V >&5") 2>&5
13129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13130 (exit $ac_status); }
13132 cat >conftest.$ac_ext <<_ACEOF
13135 cat confdefs.h >>conftest.$ac_ext
13136 cat >>conftest.$ac_ext <<_ACEOF
13137 /* end confdefs.h. */
13147 ac_clean_files_save=$ac_clean_files
13148 ac_clean_files="$ac_clean_files a.out a.exe b.out"
13149 # Try to create an executable without -o first, disregard a.out.
13150 # It will help us diagnose broken compilers, and finding out an intuition
13152 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
13153 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
13154 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
13156 # List of possible output files, starting from the most likely.
13157 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
13158 # only as a last resort. b.out is created by i960 compilers.
13159 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
13161 # The IRIX 6 linker writes into existing files which may not be
13162 # executable, retaining their permissions. Remove them first so a
13163 # subsequent execution test works.
13165 for ac_file in $ac_files
13168 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
13169 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
13174 if { (ac_try="$ac_link_default"
13175 case "(($ac_try" in
13176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13177 *) ac_try_echo=$ac_try;;
13179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13180 (eval "$ac_link_default") 2>&5
13182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13183 (exit $ac_status); }; then
13184 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
13185 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
13186 # in a Makefile. We should not override ac_cv_exeext if it was cached,
13187 # so that the user can short-circuit this test for compilers unknown to
13189 for ac_file
in $ac_files ''
13191 test -f "$ac_file" || continue
13193 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
)
13196 # We found the default executable, but exeext='' is most
13200 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
13202 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
13204 # We set ac_cv_exeext here because the later test for it is not
13205 # safe: cross compilers may not add the suffix if given an `-o'
13206 # argument, so we may need to know it at that point already.
13207 # Even if this section looks crufty: it has the advantage of
13208 # actually working.
13214 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
13220 { echo "$as_me:$LINENO: result: $ac_file" >&5
13221 echo "${ECHO_T}$ac_file" >&6; }
13222 if test -z "$ac_file"; then
13223 echo "$as_me: failed program was:" >&5
13224 sed 's/^/| /' conftest.
$ac_ext >&5
13226 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
13227 See \`config.log' for more details." >&5
13228 echo "$as_me: error: C compiler cannot create executables
13229 See \`config.log' for more details." >&2;}
13230 { (exit 77); exit 77; }; }
13233 ac_exeext
=$ac_cv_exeext
13235 # Check that the compiler produces executables we can run. If not, either
13236 # the compiler is broken, or we cross compile.
13237 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
13238 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
13239 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
13240 # If not cross compiling, check that we can run a simple program.
13241 if test "$cross_compiling" != yes; then
13242 if { ac_try
='./$ac_file'
13243 { (case "(($ac_try" in
13244 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
13245 *) ac_try_echo=$ac_try;;
13247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13248 (eval "$ac_try") 2>&5
13250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13251 (exit $ac_status); }; }; then
13254 if test "$cross_compiling" = maybe; then
13255 cross_compiling=yes
13257 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
13258 If you meant to cross compile, use \`--host'.
13259 See \`config.log' for more details.
" >&5
13260 echo "$as_me: error
: cannot run C compiled programs.
13261 If you meant to cross compile
, use \
`--host'.
13262 See \`config.log
' for more details." >&2;}
13263 { (exit 1); exit 1; }; }
13267 { echo "$as_me:$LINENO: result: yes" >&5
13268 echo "${ECHO_T}yes" >&6; }
13270 rm -f a.out a.exe conftest$ac_cv_exeext b.out
13271 ac_clean_files=$ac_clean_files_save
13272 # Check that the compiler produces executables we can run. If not, either
13273 # the compiler is broken, or we cross compile.
13274 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
13275 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
13276 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
13277 echo "${ECHO_T}$cross_compiling" >&6; }
13279 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
13280 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
13281 if { (ac_try="$ac_link"
13282 case "(($ac_try" in
13283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13284 *) ac_try_echo=$ac_try;;
13286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13287 (eval "$ac_link") 2>&5
13289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13290 (exit $ac_status); }; then
13291 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
13292 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
13293 # work properly (i.e., refer to `conftest.exe
'), while it won't with
13295 for ac_file
in conftest.exe conftest conftest.
*; do
13296 test -f "$ac_file" || continue
13298 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
13299 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
13305 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
13306 See \`config.log' for more details." >&5
13307 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
13308 See \`config.log' for more details." >&2;}
13309 { (exit 1); exit 1; }; }
13312 rm -f conftest
$ac_cv_exeext
13313 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
13314 echo "${ECHO_T}$ac_cv_exeext" >&6; }
13316 rm -f conftest.
$ac_ext
13317 EXEEXT
=$ac_cv_exeext
13319 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
13320 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
13321 if test "${ac_cv_objext+set}" = set; then
13322 echo $ECHO_N "(cached) $ECHO_C" >&6
13324 cat >conftest.
$ac_ext <<_ACEOF
13327 cat confdefs.h
>>conftest.
$ac_ext
13328 cat >>conftest.
$ac_ext <<_ACEOF
13329 /* end confdefs.h. */
13339 rm -f conftest.o conftest.obj
13340 if { (ac_try
="$ac_compile"
13341 case "(($ac_try" in
13342 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
13343 *) ac_try_echo=$ac_try;;
13345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13346 (eval "$ac_compile") 2>&5
13348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13349 (exit $ac_status); }; then
13350 for ac_file in conftest.o conftest.obj conftest.*; do
13351 test -f "$ac_file" || continue;
13353 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
13354 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
13359 echo "$as_me: failed program was:" >&5
13360 sed 's/^/| /' conftest.$ac_ext >&5
13362 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
13363 See \`config.log
' for more details." >&5
13364 echo "$as_me: error: cannot compute suffix of object files: cannot compile
13365 See \`config.log' for more details.
" >&2;}
13366 { (exit 1); exit 1; }; }
13369 rm -f conftest.$ac_cv_objext conftest.$ac_ext
13371 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
13372 echo "${ECHO_T}$ac_cv_objext" >&6; }
13373 OBJEXT=$ac_cv_objext
13375 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
13376 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
13377 if test "${ac_cv_c_compiler_gnu+set}" = set; then
13378 echo $ECHO_N "(cached
) $ECHO_C" >&6
13380 cat >conftest.$ac_ext <<_ACEOF
13383 cat confdefs.h >>conftest.$ac_ext
13384 cat >>conftest.$ac_ext <<_ACEOF
13385 /* end confdefs.h. */
13398 rm -f conftest.$ac_objext
13399 if { (ac_try="$ac_compile"
13400 case "(($ac_try" in
13401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13402 *) ac_try_echo=$ac_try;;
13404 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13405 (eval "$ac_compile") 2>conftest.er1
13407 grep -v '^ *+' conftest.er1 >conftest.err
13409 cat conftest.err >&5
13410 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13411 (exit $ac_status); } && {
13412 test -z "$ac_c_werror_flag" ||
13413 test ! -s conftest.err
13414 } && test -s conftest.$ac_objext; then
13415 ac_compiler_gnu=yes
13417 echo "$as_me: failed program was
:" >&5
13418 sed 's/^/| /' conftest.$ac_ext >&5
13423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13424 ac_cv_c_compiler_gnu=$ac_compiler_gnu
13427 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
13428 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
13429 GCC=`test $ac_compiler_gnu = yes && echo yes`
13430 ac_test_CFLAGS=${CFLAGS+set}
13431 ac_save_CFLAGS=$CFLAGS
13432 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
13433 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
13434 if test "${ac_cv_prog_cc_g+set}" = set; then
13435 echo $ECHO_N "(cached
) $ECHO_C" >&6
13437 ac_save_c_werror_flag=$ac_c_werror_flag
13438 ac_c_werror_flag=yes
13441 cat >conftest.$ac_ext <<_ACEOF
13444 cat confdefs.h >>conftest.$ac_ext
13445 cat >>conftest.$ac_ext <<_ACEOF
13446 /* end confdefs.h. */
13456 rm -f conftest.$ac_objext
13457 if { (ac_try="$ac_compile"
13458 case "(($ac_try" in
13459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13460 *) ac_try_echo=$ac_try;;
13462 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13463 (eval "$ac_compile") 2>conftest.er1
13465 grep -v '^ *+' conftest.er1 >conftest.err
13467 cat conftest.err >&5
13468 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13469 (exit $ac_status); } && {
13470 test -z "$ac_c_werror_flag" ||
13471 test ! -s conftest.err
13472 } && test -s conftest.$ac_objext; then
13473 ac_cv_prog_cc_g=yes
13475 echo "$as_me: failed program was
:" >&5
13476 sed 's/^/| /' conftest.$ac_ext >&5
13479 cat >conftest.$ac_ext <<_ACEOF
13482 cat confdefs.h >>conftest.$ac_ext
13483 cat >>conftest.$ac_ext <<_ACEOF
13484 /* end confdefs.h. */
13494 rm -f conftest.$ac_objext
13495 if { (ac_try="$ac_compile"
13496 case "(($ac_try" in
13497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13498 *) ac_try_echo=$ac_try;;
13500 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13501 (eval "$ac_compile") 2>conftest.er1
13503 grep -v '^ *+' conftest.er1 >conftest.err
13505 cat conftest.err >&5
13506 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13507 (exit $ac_status); } && {
13508 test -z "$ac_c_werror_flag" ||
13509 test ! -s conftest.err
13510 } && test -s conftest.$ac_objext; then
13513 echo "$as_me: failed program was
:" >&5
13514 sed 's/^/| /' conftest.$ac_ext >&5
13516 ac_c_werror_flag=$ac_save_c_werror_flag
13518 cat >conftest.$ac_ext <<_ACEOF
13521 cat confdefs.h >>conftest.$ac_ext
13522 cat >>conftest.$ac_ext <<_ACEOF
13523 /* end confdefs.h. */
13533 rm -f conftest.$ac_objext
13534 if { (ac_try="$ac_compile"
13535 case "(($ac_try" in
13536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13537 *) ac_try_echo=$ac_try;;
13539 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13540 (eval "$ac_compile") 2>conftest.er1
13542 grep -v '^ *+' conftest.er1 >conftest.err
13544 cat conftest.err >&5
13545 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13546 (exit $ac_status); } && {
13547 test -z "$ac_c_werror_flag" ||
13548 test ! -s conftest.err
13549 } && test -s conftest.$ac_objext; then
13550 ac_cv_prog_cc_g=yes
13552 echo "$as_me: failed program was
:" >&5
13553 sed 's/^/| /' conftest.$ac_ext >&5
13558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13565 ac_c_werror_flag=$ac_save_c_werror_flag
13567 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
13568 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
13569 if test "$ac_test_CFLAGS" = set; then
13570 CFLAGS=$ac_save_CFLAGS
13571 elif test $ac_cv_prog_cc_g = yes; then
13572 if test "$GCC" = yes; then
13578 if test "$GCC" = yes; then
13584 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
13585 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
13586 if test "${ac_cv_prog_cc_c89+set}" = set; then
13587 echo $ECHO_N "(cached
) $ECHO_C" >&6
13589 ac_cv_prog_cc_c89=no
13591 cat >conftest.$ac_ext <<_ACEOF
13594 cat confdefs.h >>conftest.$ac_ext
13595 cat >>conftest.$ac_ext <<_ACEOF
13596 /* end confdefs.h. */
13597 #include <stdarg.h>
13599 #include <sys/types.h>
13600 #include <sys/stat.h>
13601 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
13602 struct buf { int x; };
13603 FILE * (*rcsopen) (struct buf *, struct stat *, int);
13604 static char *e (p, i)
13610 static char *f (char * (*g) (char **, int), char **p, ...)
13615 s = g (p, va_arg (v,int));
13620 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
13621 function prototypes and stuff, but not '\xHH' hex character constants.
13622 These don't provoke an error unfortunately, instead are silently treated
13623 as 'x'. The following induces an error, until -std is added to get
13624 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
13625 array size at least. It's necessary to write '\x00'==0 to get something
13626 that's true only with -std. */
13627 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13629 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13630 inside strings and character constants. */
13632 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13634 int test (int i, double x);
13635 struct s1 {int (*f) (int a);};
13636 struct s2 {int (*f) (double a);};
13637 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13643 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
13648 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13649 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13651 CC="$ac_save_CC $ac_arg"
13652 rm -f conftest.$ac_objext
13653 if { (ac_try="$ac_compile"
13654 case "(($ac_try" in
13655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13656 *) ac_try_echo=$ac_try;;
13658 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13659 (eval "$ac_compile") 2>conftest.er1
13661 grep -v '^ *+' conftest.er1 >conftest.err
13663 cat conftest.err >&5
13664 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13665 (exit $ac_status); } && {
13666 test -z "$ac_c_werror_flag" ||
13667 test ! -s conftest.err
13668 } && test -s conftest.$ac_objext; then
13669 ac_cv_prog_cc_c89=$ac_arg
13671 echo "$as_me: failed program was
:" >&5
13672 sed 's/^/| /' conftest.$ac_ext >&5
13677 rm -f core conftest.err conftest.$ac_objext
13678 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
13680 rm -f conftest.$ac_ext
13685 case "x
$ac_cv_prog_cc_c89" in
13687 { echo "$as_me:$LINENO: result
: none needed
" >&5
13688 echo "${ECHO_T}none needed
" >&6; } ;;
13690 { echo "$as_me:$LINENO: result
: unsupported
" >&5
13691 echo "${ECHO_T}unsupported
" >&6; } ;;
13693 CC="$CC $ac_cv_prog_cc_c89"
13694 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
13695 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
13700 ac_cpp='$CPP $CPPFLAGS'
13701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13708 ac_cpp='$CPP $CPPFLAGS'
13709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13713 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler
" >&5
13714 echo $ECHO_N "checking whether we are using the Intel C compiler...
$ECHO_C" >&6; }
13715 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
13716 echo $ECHO_N "(cached
) $ECHO_C" >&6
13718 cat >conftest.$ac_ext <<_ACEOF
13721 cat confdefs.h >>conftest.$ac_ext
13722 cat >>conftest.$ac_ext <<_ACEOF
13723 /* end confdefs.h. */
13729 #ifndef __INTEL_COMPILER
13737 rm -f conftest.$ac_objext
13738 if { (ac_try="$ac_compile"
13739 case "(($ac_try" in
13740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13741 *) ac_try_echo=$ac_try;;
13743 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13744 (eval "$ac_compile") 2>conftest.er1
13746 grep -v '^ *+' conftest.er1 >conftest.err
13748 cat conftest.err >&5
13749 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13750 (exit $ac_status); } && {
13751 test -z "$ac_c_werror_flag" ||
13752 test ! -s conftest.err
13753 } && test -s conftest.$ac_objext; then
13754 bakefile_cv_c_compiler___INTEL_COMPILER=yes
13756 echo "$as_me: failed program was
:" >&5
13757 sed 's/^/| /' conftest.$ac_ext >&5
13759 bakefile_cv_c_compiler___INTEL_COMPILER=no
13763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13767 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
13768 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
13769 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes
"; then
13775 ac_cpp='$CPP $CPPFLAGS'
13776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13782 if test "x
$GCC" != "xyes
"; then
13783 if test "xCC
" = "xC
"; then
13784 { echo "$as_me:$LINENO: checking
if the C compiler requires
-ext o
" >&5
13785 echo $ECHO_N "checking
if the C compiler requires
-ext o...
$ECHO_C" >&6; }
13786 if test "${bakefile_cv_c_exto+set}" = set; then
13787 echo $ECHO_N "(cached
) $ECHO_C" >&6
13789 cat >conftest.$ac_ext <<_ACEOF
13792 cat confdefs.h >>conftest.$ac_ext
13793 cat >>conftest.$ac_ext <<_ACEOF
13794 /* end confdefs.h. */
13804 rm -f conftest.$ac_objext conftest.$ac_ext.o
13805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13806 (eval $ac_compile) 2>&5
13808 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13809 (exit $ac_status); }; then
13810 for ac_file in `(ls conftest.* 2>/dev/null)`; do
13812 conftest.$ac_ext.o)
13813 bakefile_cv_c_exto="-ext o
"
13820 { { echo "$as_me:$LINENO: error
: cannot figure out
if compiler needs
-ext o
: cannot compile
13821 See \
`config.log' for more details." >&5
13822 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13823 See \`config.log
' for more details." >&2;}
13824 { (exit 1); exit 1; }; }
13828 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
13831 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
13832 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
13833 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13834 if test "c" = "c"; then
13835 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
13837 if test "c" = "cxx"; then
13838 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
13842 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13843 unset ac_cv_prog_cc_g
13844 ac_test_CFLAGS=${CFLAGS+set}
13845 ac_save_CFLAGS=$CFLAGS
13846 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13847 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
13848 if test "${ac_cv_prog_cc_g+set}" = set; then
13849 echo $ECHO_N "(cached) $ECHO_C" >&6
13851 ac_save_c_werror_flag=$ac_c_werror_flag
13852 ac_c_werror_flag=yes
13855 cat >conftest.$ac_ext <<_ACEOF
13858 cat confdefs.h >>conftest.$ac_ext
13859 cat >>conftest.$ac_ext <<_ACEOF
13860 /* end confdefs.h. */
13870 rm -f conftest.$ac_objext
13871 if { (ac_try="$ac_compile"
13872 case "(($ac_try" in
13873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13874 *) ac_try_echo=$ac_try;;
13876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13877 (eval "$ac_compile") 2>conftest.er1
13879 grep -v '^
*+' conftest.er1 >conftest.err
13881 cat conftest.err >&5
13882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13883 (exit $ac_status); } && {
13884 test -z "$ac_c_werror_flag" ||
13885 test ! -s conftest.err
13886 } && test -s conftest.$ac_objext; then
13887 ac_cv_prog_cc_g=yes
13889 echo "$as_me: failed program was:" >&5
13890 sed 's
/^
/| /' conftest.$ac_ext >&5
13893 cat >conftest.$ac_ext <<_ACEOF
13896 cat confdefs.h >>conftest.$ac_ext
13897 cat >>conftest.$ac_ext <<_ACEOF
13898 /* end confdefs.h. */
13908 rm -f conftest.$ac_objext
13909 if { (ac_try="$ac_compile"
13910 case "(($ac_try" in
13911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13912 *) ac_try_echo=$ac_try;;
13914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13915 (eval "$ac_compile") 2>conftest.er1
13917 grep -v '^
*+' conftest.er1 >conftest.err
13919 cat conftest.err >&5
13920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13921 (exit $ac_status); } && {
13922 test -z "$ac_c_werror_flag" ||
13923 test ! -s conftest.err
13924 } && test -s conftest.$ac_objext; then
13927 echo "$as_me: failed program was:" >&5
13928 sed 's
/^
/| /' conftest.$ac_ext >&5
13930 ac_c_werror_flag=$ac_save_c_werror_flag
13932 cat >conftest.$ac_ext <<_ACEOF
13935 cat confdefs.h >>conftest.$ac_ext
13936 cat >>conftest.$ac_ext <<_ACEOF
13937 /* end confdefs.h. */
13947 rm -f conftest.$ac_objext
13948 if { (ac_try="$ac_compile"
13949 case "(($ac_try" in
13950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13951 *) ac_try_echo=$ac_try;;
13953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13954 (eval "$ac_compile") 2>conftest.er1
13956 grep -v '^
*+' conftest.er1 >conftest.err
13958 cat conftest.err >&5
13959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13960 (exit $ac_status); } && {
13961 test -z "$ac_c_werror_flag" ||
13962 test ! -s conftest.err
13963 } && test -s conftest.$ac_objext; then
13964 ac_cv_prog_cc_g=yes
13966 echo "$as_me: failed program was:" >&5
13967 sed 's
/^
/| /' conftest.$ac_ext >&5
13972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13979 ac_c_werror_flag=$ac_save_c_werror_flag
13981 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13982 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
13983 if test "$ac_test_CFLAGS" = set; then
13984 CFLAGS=$ac_save_CFLAGS
13985 elif test $ac_cv_prog_cc_g = yes; then
13986 if test "$GCC" = yes; then
13992 if test "$GCC" = yes; then
14004 ac_cpp='$CPP $CPPFLAGS'
14005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14006 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14009 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
14010 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
14011 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
14012 echo $ECHO_N "(cached) $ECHO_C" >&6
14014 cat >conftest.$ac_ext <<_ACEOF
14017 cat confdefs.h >>conftest.$ac_ext
14018 cat >>conftest.$ac_ext <<_ACEOF
14019 /* end confdefs.h. */
14032 rm -f conftest.$ac_objext
14033 if { (ac_try="$ac_compile"
14034 case "(($ac_try" in
14035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14036 *) ac_try_echo=$ac_try;;
14038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14039 (eval "$ac_compile") 2>conftest.er1
14041 grep -v '^
*+' conftest.er1 >conftest.err
14043 cat conftest.err >&5
14044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14045 (exit $ac_status); } && {
14046 test -z "$ac_c_werror_flag" ||
14047 test ! -s conftest.err
14048 } && test -s conftest.$ac_objext; then
14049 bakefile_compiler_xlc=yes
14051 echo "$as_me: failed program was:" >&5
14052 sed 's
/^
/| /' conftest.$ac_ext >&5
14054 bakefile_compiler_xlc=no
14057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14058 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
14061 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
14062 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6; }
14064 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
14066 ac_cpp='$CPP $CPPFLAGS'
14067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14068 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14076 ac_cpp='$CPP $CPPFLAGS'
14077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14078 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14081 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
14082 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
14083 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
14084 echo $ECHO_N "(cached) $ECHO_C" >&6
14086 cat >conftest.$ac_ext <<_ACEOF
14089 cat confdefs.h >>conftest.$ac_ext
14090 cat >>conftest.$ac_ext <<_ACEOF
14091 /* end confdefs.h. */
14104 rm -f conftest.$ac_objext
14105 if { (ac_try="$ac_compile"
14106 case "(($ac_try" in
14107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14108 *) ac_try_echo=$ac_try;;
14110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14111 (eval "$ac_compile") 2>conftest.er1
14113 grep -v '^
*+' conftest.er1 >conftest.err
14115 cat conftest.err >&5
14116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14117 (exit $ac_status); } && {
14118 test -z "$ac_c_werror_flag" ||
14119 test ! -s conftest.err
14120 } && test -s conftest.$ac_objext; then
14121 bakefile_compiler_mwerks=yes
14123 echo "$as_me: failed program was:" >&5
14124 sed 's
/^
/| /' conftest.$ac_ext >&5
14126 bakefile_compiler_mwerks=no
14129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14130 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
14133 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
14134 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6; }
14136 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
14138 ac_cpp='$CPP $CPPFLAGS'
14139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14140 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14145 ac_cpp='$CPP $CPPFLAGS'
14146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14147 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14150 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
14151 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
14152 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
14153 echo $ECHO_N "(cached) $ECHO_C" >&6
14155 cat >conftest.$ac_ext <<_ACEOF
14158 cat confdefs.h >>conftest.$ac_ext
14159 cat >>conftest.$ac_ext <<_ACEOF
14160 /* end confdefs.h. */
14173 rm -f conftest.$ac_objext
14174 if { (ac_try="$ac_compile"
14175 case "(($ac_try" in
14176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14177 *) ac_try_echo=$ac_try;;
14179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14180 (eval "$ac_compile") 2>conftest.er1
14182 grep -v '^
*+' conftest.er1 >conftest.err
14184 cat conftest.err >&5
14185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14186 (exit $ac_status); } && {
14187 test -z "$ac_c_werror_flag" ||
14188 test ! -s conftest.err
14189 } && test -s conftest.$ac_objext; then
14190 bakefile_compiler_xlc=yes
14192 echo "$as_me: failed program was:" >&5
14193 sed 's
/^
/| /' conftest.$ac_ext >&5
14195 bakefile_compiler_xlc=no
14198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14199 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
14202 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
14203 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6; }
14205 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
14207 ac_cpp='$CPP $CPPFLAGS'
14208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14209 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14219 ac_cpp='$CPP $CPPFLAGS'
14220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14221 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14224 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
14225 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
14226 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
14227 echo $ECHO_N "(cached) $ECHO_C" >&6
14229 cat >conftest.$ac_ext <<_ACEOF
14232 cat confdefs.h >>conftest.$ac_ext
14233 cat >>conftest.$ac_ext <<_ACEOF
14234 /* end confdefs.h. */
14240 #ifndef _SGI_COMPILER_VERSION
14248 rm -f conftest.$ac_objext
14249 if { (ac_try="$ac_compile"
14250 case "(($ac_try" in
14251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14252 *) ac_try_echo=$ac_try;;
14254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14255 (eval "$ac_compile") 2>conftest.er1
14257 grep -v '^
*+' conftest.er1 >conftest.err
14259 cat conftest.err >&5
14260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14261 (exit $ac_status); } && {
14262 test -z "$ac_c_werror_flag" ||
14263 test ! -s conftest.err
14264 } && test -s conftest.$ac_objext; then
14265 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
14267 echo "$as_me: failed program was:" >&5
14268 sed 's
/^
/| /' conftest.$ac_ext >&5
14270 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
14274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14278 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
14279 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
14280 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14286 ac_cpp='$CPP $CPPFLAGS'
14287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14288 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14299 ac_cpp='$CPP $CPPFLAGS'
14300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14301 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14304 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
14305 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
14306 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
14307 echo $ECHO_N "(cached) $ECHO_C" >&6
14309 cat >conftest.$ac_ext <<_ACEOF
14312 cat confdefs.h >>conftest.$ac_ext
14313 cat >>conftest.$ac_ext <<_ACEOF
14314 /* end confdefs.h. */
14328 rm -f conftest.$ac_objext
14329 if { (ac_try="$ac_compile"
14330 case "(($ac_try" in
14331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14332 *) ac_try_echo=$ac_try;;
14334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14335 (eval "$ac_compile") 2>conftest.er1
14337 grep -v '^
*+' conftest.er1 >conftest.err
14339 cat conftest.err >&5
14340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14341 (exit $ac_status); } && {
14342 test -z "$ac_c_werror_flag" ||
14343 test ! -s conftest.err
14344 } && test -s conftest.$ac_objext; then
14345 bakefile_cv_c_compiler___HP_cc=yes
14347 echo "$as_me: failed program was:" >&5
14348 sed 's
/^
/| /' conftest.$ac_ext >&5
14350 bakefile_cv_c_compiler___HP_cc=no
14354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14358 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
14359 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
14360 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
14366 ac_cpp='$CPP $CPPFLAGS'
14367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14368 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14379 ac_cpp='$CPP $CPPFLAGS'
14380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14381 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14384 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
14385 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
14386 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
14387 echo $ECHO_N "(cached) $ECHO_C" >&6
14389 cat >conftest.$ac_ext <<_ACEOF
14392 cat confdefs.h >>conftest.$ac_ext
14393 cat >>conftest.$ac_ext <<_ACEOF
14394 /* end confdefs.h. */
14408 rm -f conftest.$ac_objext
14409 if { (ac_try="$ac_compile"
14410 case "(($ac_try" in
14411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14412 *) ac_try_echo=$ac_try;;
14414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14415 (eval "$ac_compile") 2>conftest.er1
14417 grep -v '^
*+' conftest.er1 >conftest.err
14419 cat conftest.err >&5
14420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14421 (exit $ac_status); } && {
14422 test -z "$ac_c_werror_flag" ||
14423 test ! -s conftest.err
14424 } && test -s conftest.$ac_objext; then
14425 bakefile_cv_c_compiler___DECC=yes
14427 echo "$as_me: failed program was:" >&5
14428 sed 's
/^
/| /' conftest.$ac_ext >&5
14430 bakefile_cv_c_compiler___DECC=no
14434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14438 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
14439 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
14440 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
14446 ac_cpp='$CPP $CPPFLAGS'
14447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14448 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14459 ac_cpp='$CPP $CPPFLAGS'
14460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14461 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14464 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
14465 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
14466 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
14467 echo $ECHO_N "(cached) $ECHO_C" >&6
14469 cat >conftest.$ac_ext <<_ACEOF
14472 cat confdefs.h >>conftest.$ac_ext
14473 cat >>conftest.$ac_ext <<_ACEOF
14474 /* end confdefs.h. */
14488 rm -f conftest.$ac_objext
14489 if { (ac_try="$ac_compile"
14490 case "(($ac_try" in
14491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14492 *) ac_try_echo=$ac_try;;
14494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14495 (eval "$ac_compile") 2>conftest.er1
14497 grep -v '^
*+' conftest.er1 >conftest.err
14499 cat conftest.err >&5
14500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14501 (exit $ac_status); } && {
14502 test -z "$ac_c_werror_flag" ||
14503 test ! -s conftest.err
14504 } && test -s conftest.$ac_objext; then
14505 bakefile_cv_c_compiler___SUNPRO_C=yes
14507 echo "$as_me: failed program was:" >&5
14508 sed 's
/^
/| /' conftest.$ac_ext >&5
14510 bakefile_cv_c_compiler___SUNPRO_C=no
14514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14518 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
14519 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
14520 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
14526 ac_cpp='$CPP $CPPFLAGS'
14527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14528 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14540 ac_cpp='$CPP $CPPFLAGS'
14541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14542 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14544 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
14545 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
14546 # On Suns, sometimes $CPP names a directory.
14547 if test -n "$CPP" && test -d "$CPP"; then
14550 if test -z "$CPP"; then
14551 if test "${ac_cv_prog_CPP+set}" = set; then
14552 echo $ECHO_N "(cached) $ECHO_C" >&6
14554 # Double quotes because CPP needs to be expanded
14555 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
14557 ac_preproc_ok=false
14558 for ac_c_preproc_warn_flag in '' yes
14560 # Use a header file that comes with gcc, so configuring glibc
14561 # with a fresh cross-compiler works.
14562 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14563 # <limits.h> exists even on freestanding compilers.
14564 # On the NeXT, cc -E runs the code through the compiler's parser
,
14565 # not just through cpp. "Syntax error" is here to catch this case.
14566 cat >conftest.
$ac_ext <<_ACEOF
14569 cat confdefs.h
>>conftest.
$ac_ext
14570 cat >>conftest.
$ac_ext <<_ACEOF
14571 /* end confdefs.h. */
14573 # include <limits.h>
14575 # include <assert.h>
14579 if { (ac_try
="$ac_cpp conftest.$ac_ext"
14580 case "(($ac_try" in
14581 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14582 *) ac_try_echo=$ac_try;;
14584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14585 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14587 grep -v '^ *+' conftest.er1 >conftest.err
14589 cat conftest.err >&5
14590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14591 (exit $ac_status); } >/dev/null && {
14592 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14593 test ! -s conftest.err
14597 echo "$as_me: failed program was:" >&5
14598 sed 's/^/| /' conftest.$ac_ext >&5
14600 # Broken: fails on valid input.
14604 rm -f conftest.err conftest.$ac_ext
14606 # OK, works on sane cases. Now check whether nonexistent headers
14607 # can be detected and how.
14608 cat >conftest.$ac_ext <<_ACEOF
14611 cat confdefs.h >>conftest.$ac_ext
14612 cat >>conftest.$ac_ext <<_ACEOF
14613 /* end confdefs.h. */
14614 #include <ac_nonexistent.h>
14616 if { (ac_try="$ac_cpp conftest.$ac_ext"
14617 case "(($ac_try" in
14618 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
14619 *) ac_try_echo
=$ac_try;;
14621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14622 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14624 grep -v '^ *+' conftest.er1
>conftest.err
14626 cat conftest.err
>&5
14627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14628 (exit $ac_status); } >/dev
/null
&& {
14629 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14630 test ! -s conftest.err
14632 # Broken: success on invalid input.
14635 echo "$as_me: failed program was:" >&5
14636 sed 's/^/| /' conftest.
$ac_ext >&5
14638 # Passes both tests.
14643 rm -f conftest.err conftest.
$ac_ext
14646 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14647 rm -f conftest.err conftest.
$ac_ext
14648 if $ac_preproc_ok; then
14653 ac_cv_prog_CPP
=$CPP
14656 CPP
=$ac_cv_prog_CPP
14658 ac_cv_prog_CPP
=$CPP
14660 { echo "$as_me:$LINENO: result: $CPP" >&5
14661 echo "${ECHO_T}$CPP" >&6; }
14662 ac_preproc_ok
=false
14663 for ac_c_preproc_warn_flag
in '' yes
14665 # Use a header file that comes with gcc, so configuring glibc
14666 # with a fresh cross-compiler works.
14667 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14668 # <limits.h> exists even on freestanding compilers.
14669 # On the NeXT, cc -E runs the code through the compiler's parser,
14670 # not just through cpp. "Syntax error" is here to catch this case.
14671 cat >conftest.
$ac_ext <<_ACEOF
14674 cat confdefs.h
>>conftest.
$ac_ext
14675 cat >>conftest.
$ac_ext <<_ACEOF
14676 /* end confdefs.h. */
14678 # include <limits.h>
14680 # include <assert.h>
14684 if { (ac_try
="$ac_cpp conftest.$ac_ext"
14685 case "(($ac_try" in
14686 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14687 *) ac_try_echo=$ac_try;;
14689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14690 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14692 grep -v '^ *+' conftest.er1 >conftest.err
14694 cat conftest.err >&5
14695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14696 (exit $ac_status); } >/dev/null && {
14697 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14698 test ! -s conftest.err
14702 echo "$as_me: failed program was:" >&5
14703 sed 's/^/| /' conftest.$ac_ext >&5
14705 # Broken: fails on valid input.
14709 rm -f conftest.err conftest.$ac_ext
14711 # OK, works on sane cases. Now check whether nonexistent headers
14712 # can be detected and how.
14713 cat >conftest.$ac_ext <<_ACEOF
14716 cat confdefs.h >>conftest.$ac_ext
14717 cat >>conftest.$ac_ext <<_ACEOF
14718 /* end confdefs.h. */
14719 #include <ac_nonexistent.h>
14721 if { (ac_try="$ac_cpp conftest.$ac_ext"
14722 case "(($ac_try" in
14723 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
14724 *) ac_try_echo
=$ac_try;;
14726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14727 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14729 grep -v '^ *+' conftest.er1
>conftest.err
14731 cat conftest.err
>&5
14732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14733 (exit $ac_status); } >/dev
/null
&& {
14734 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14735 test ! -s conftest.err
14737 # Broken: success on invalid input.
14740 echo "$as_me: failed program was:" >&5
14741 sed 's/^/| /' conftest.
$ac_ext >&5
14743 # Passes both tests.
14748 rm -f conftest.err conftest.
$ac_ext
14751 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14752 rm -f conftest.err conftest.
$ac_ext
14753 if $ac_preproc_ok; then
14756 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
14757 See \`config.log' for more details." >&5
14758 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
14759 See \`config.log' for more details." >&2;}
14760 { (exit 1); exit 1; }; }
14764 ac_cpp
='$CPP $CPPFLAGS'
14765 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14766 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14767 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14770 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
14771 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
14772 if test "${ac_cv_path_GREP+set}" = set; then
14773 echo $ECHO_N "(cached) $ECHO_C" >&6
14775 # Extract the first word of "grep ggrep" to use in msg output
14776 if test -z "$GREP"; then
14777 set dummy
grep ggrep
; ac_prog_name
=$2
14778 if test "${ac_cv_path_GREP+set}" = set; then
14779 echo $ECHO_N "(cached) $ECHO_C" >&6
14781 ac_path_GREP_found
=false
14782 # Loop through the user's path and test for each of PROGNAME-LIST
14783 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14784 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
14787 test -z "$as_dir" && as_dir
=.
14788 for ac_prog
in grep ggrep
; do
14789 for ac_exec_ext
in '' $ac_executable_extensions; do
14790 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
14791 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
14792 # Check for GNU ac_path_GREP and select it if it is found.
14793 # Check for GNU $ac_path_GREP
14794 case `"$ac_path_GREP" --version 2>&1` in
14796 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
14799 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
14802 cat "conftest.in" "conftest.in" >"conftest.tmp"
14803 mv "conftest.tmp" "conftest.in"
14804 cp "conftest.in" "conftest.nl"
14805 echo 'GREP' >> "conftest.nl"
14806 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
14807 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
14808 ac_count
=`expr $ac_count + 1`
14809 if test $ac_count -gt ${ac_path_GREP_max-0}; then
14810 # Best one so far, save it but keep looking for a better one
14811 ac_cv_path_GREP
="$ac_path_GREP"
14812 ac_path_GREP_max
=$ac_count
14814 # 10*(2^10) chars as input seems more than enough
14815 test $ac_count -gt 10 && break
14817 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
14821 $ac_path_GREP_found && break 3
14831 GREP
="$ac_cv_path_GREP"
14832 if test -z "$GREP"; then
14833 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
14834 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
14835 { (exit 1); exit 1; }; }
14839 ac_cv_path_GREP
=$GREP
14844 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
14845 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
14846 GREP
="$ac_cv_path_GREP"
14849 { echo "$as_me:$LINENO: checking for egrep" >&5
14850 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
14851 if test "${ac_cv_path_EGREP+set}" = set; then
14852 echo $ECHO_N "(cached) $ECHO_C" >&6
14854 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
14855 then ac_cv_path_EGREP
="$GREP -E"
14857 # Extract the first word of "egrep" to use in msg output
14858 if test -z "$EGREP"; then
14859 set dummy
egrep; ac_prog_name
=$2
14860 if test "${ac_cv_path_EGREP+set}" = set; then
14861 echo $ECHO_N "(cached) $ECHO_C" >&6
14863 ac_path_EGREP_found
=false
14864 # Loop through the user's path and test for each of PROGNAME-LIST
14865 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14866 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
14869 test -z "$as_dir" && as_dir
=.
14870 for ac_prog
in egrep; do
14871 for ac_exec_ext
in '' $ac_executable_extensions; do
14872 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
14873 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
14874 # Check for GNU ac_path_EGREP and select it if it is found.
14875 # Check for GNU $ac_path_EGREP
14876 case `"$ac_path_EGREP" --version 2>&1` in
14878 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
14881 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
14884 cat "conftest.in" "conftest.in" >"conftest.tmp"
14885 mv "conftest.tmp" "conftest.in"
14886 cp "conftest.in" "conftest.nl"
14887 echo 'EGREP' >> "conftest.nl"
14888 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
14889 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
14890 ac_count
=`expr $ac_count + 1`
14891 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
14892 # Best one so far, save it but keep looking for a better one
14893 ac_cv_path_EGREP
="$ac_path_EGREP"
14894 ac_path_EGREP_max
=$ac_count
14896 # 10*(2^10) chars as input seems more than enough
14897 test $ac_count -gt 10 && break
14899 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
14903 $ac_path_EGREP_found && break 3
14913 EGREP
="$ac_cv_path_EGREP"
14914 if test -z "$EGREP"; then
14915 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
14916 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
14917 { (exit 1); exit 1; }; }
14921 ac_cv_path_EGREP
=$EGREP
14927 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
14928 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
14929 EGREP
="$ac_cv_path_EGREP"
14932 if test $ac_cv_c_compiler_gnu = yes; then
14933 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
14934 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
14935 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
14936 echo $ECHO_N "(cached) $ECHO_C" >&6
14938 ac_pattern
="Autoconf.*'x'"
14939 cat >conftest.
$ac_ext <<_ACEOF
14942 cat confdefs.h
>>conftest.
$ac_ext
14943 cat >>conftest.
$ac_ext <<_ACEOF
14944 /* end confdefs.h. */
14948 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14949 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
14950 ac_cv_prog_gcc_traditional
=yes
14952 ac_cv_prog_gcc_traditional
=no
14957 if test $ac_cv_prog_gcc_traditional = no
; then
14958 cat >conftest.
$ac_ext <<_ACEOF
14961 cat confdefs.h
>>conftest.
$ac_ext
14962 cat >>conftest.
$ac_ext <<_ACEOF
14963 /* end confdefs.h. */
14964 #include <termio.h>
14967 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14968 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
14969 ac_cv_prog_gcc_traditional
=yes
14975 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
14976 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
14977 if test $ac_cv_prog_gcc_traditional = yes; then
14978 CC
="$CC -traditional"
14983 CXXFLAGS
=${CXXFLAGS:=}
14988 ac_cpp
='$CXXCPP $CPPFLAGS'
14989 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14990 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14991 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14992 if test -z "$CXX"; then
14993 if test -n "$CCC"; then
14996 if test -n "$ac_tool_prefix"; then
14997 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
14999 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15000 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
15001 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15002 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15003 if test "${ac_cv_prog_CXX+set}" = set; then
15004 echo $ECHO_N "(cached) $ECHO_C" >&6
15006 if test -n "$CXX"; then
15007 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
15009 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15010 for as_dir
in $PATH
15013 test -z "$as_dir" && as_dir
=.
15014 for ac_exec_ext
in '' $ac_executable_extensions; do
15015 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15016 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
15017 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15026 CXX
=$ac_cv_prog_CXX
15027 if test -n "$CXX"; then
15028 { echo "$as_me:$LINENO: result: $CXX" >&5
15029 echo "${ECHO_T}$CXX" >&6; }
15031 { echo "$as_me:$LINENO: result: no" >&5
15032 echo "${ECHO_T}no" >&6; }
15036 test -n "$CXX" && break
15039 if test -z "$CXX"; then
15041 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
15043 # Extract the first word of "$ac_prog", so it can be a program name with args.
15044 set dummy
$ac_prog; ac_word
=$2
15045 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15046 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15047 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
15048 echo $ECHO_N "(cached) $ECHO_C" >&6
15050 if test -n "$ac_ct_CXX"; then
15051 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
15053 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15054 for as_dir
in $PATH
15057 test -z "$as_dir" && as_dir
=.
15058 for ac_exec_ext
in '' $ac_executable_extensions; do
15059 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15060 ac_cv_prog_ac_ct_CXX
="$ac_prog"
15061 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15070 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
15071 if test -n "$ac_ct_CXX"; then
15072 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
15073 echo "${ECHO_T}$ac_ct_CXX" >&6; }
15075 { echo "$as_me:$LINENO: result: no" >&5
15076 echo "${ECHO_T}no" >&6; }
15080 test -n "$ac_ct_CXX" && break
15083 if test "x$ac_ct_CXX" = x
; then
15086 case $cross_compiling:$ac_tool_warned in
15088 { echo "$as_me:$LINENO: 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." >&5
15091 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15092 whose name does not start with the host triplet. If you think this
15093 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15094 ac_tool_warned
=yes ;;
15102 # Provide some information about the compiler.
15103 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
15104 ac_compiler
=`set X $ac_compile; echo $2`
15105 { (ac_try
="$ac_compiler --version >&5"
15106 case "(($ac_try" in
15107 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15108 *) ac_try_echo=$ac_try;;
15110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15111 (eval "$ac_compiler --version >&5") 2>&5
15113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15114 (exit $ac_status); }
15115 { (ac_try="$ac_compiler -v >&5"
15116 case "(($ac_try" in
15117 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15118 *) ac_try_echo
=$ac_try;;
15120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15121 (eval "$ac_compiler -v >&5") 2>&5
15123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15124 (exit $ac_status); }
15125 { (ac_try
="$ac_compiler -V >&5"
15126 case "(($ac_try" in
15127 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15128 *) ac_try_echo=$ac_try;;
15130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15131 (eval "$ac_compiler -V >&5") 2>&5
15133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15134 (exit $ac_status); }
15136 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
15137 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
15138 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
15139 echo $ECHO_N "(cached) $ECHO_C" >&6
15141 cat >conftest.$ac_ext <<_ACEOF
15144 cat confdefs.h >>conftest.$ac_ext
15145 cat >>conftest.$ac_ext <<_ACEOF
15146 /* end confdefs.h. */
15159 rm -f conftest.$ac_objext
15160 if { (ac_try="$ac_compile"
15161 case "(($ac_try" in
15162 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15163 *) ac_try_echo
=$ac_try;;
15165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15166 (eval "$ac_compile") 2>conftest.er1
15168 grep -v '^ *+' conftest.er1
>conftest.err
15170 cat conftest.err
>&5
15171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15172 (exit $ac_status); } && {
15173 test -z "$ac_cxx_werror_flag" ||
15174 test ! -s conftest.err
15175 } && test -s conftest.
$ac_objext; then
15176 ac_compiler_gnu
=yes
15178 echo "$as_me: failed program was:" >&5
15179 sed 's/^/| /' conftest.
$ac_ext >&5
15184 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15185 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
15188 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
15189 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
15190 GXX
=`test $ac_compiler_gnu = yes && echo yes`
15191 ac_test_CXXFLAGS
=${CXXFLAGS+set}
15192 ac_save_CXXFLAGS
=$CXXFLAGS
15193 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
15194 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
15195 if test "${ac_cv_prog_cxx_g+set}" = set; then
15196 echo $ECHO_N "(cached) $ECHO_C" >&6
15198 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
15199 ac_cxx_werror_flag
=yes
15200 ac_cv_prog_cxx_g
=no
15202 cat >conftest.
$ac_ext <<_ACEOF
15205 cat confdefs.h
>>conftest.
$ac_ext
15206 cat >>conftest.
$ac_ext <<_ACEOF
15207 /* end confdefs.h. */
15217 rm -f conftest.
$ac_objext
15218 if { (ac_try
="$ac_compile"
15219 case "(($ac_try" in
15220 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15221 *) ac_try_echo=$ac_try;;
15223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15224 (eval "$ac_compile") 2>conftest.er1
15226 grep -v '^ *+' conftest.er1 >conftest.err
15228 cat conftest.err >&5
15229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15230 (exit $ac_status); } && {
15231 test -z "$ac_cxx_werror_flag" ||
15232 test ! -s conftest.err
15233 } && test -s conftest.$ac_objext; then
15234 ac_cv_prog_cxx_g=yes
15236 echo "$as_me: failed program was:" >&5
15237 sed 's/^/| /' conftest.$ac_ext >&5
15240 cat >conftest.$ac_ext <<_ACEOF
15243 cat confdefs.h >>conftest.$ac_ext
15244 cat >>conftest.$ac_ext <<_ACEOF
15245 /* end confdefs.h. */
15255 rm -f conftest.$ac_objext
15256 if { (ac_try="$ac_compile"
15257 case "(($ac_try" in
15258 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15259 *) ac_try_echo
=$ac_try;;
15261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15262 (eval "$ac_compile") 2>conftest.er1
15264 grep -v '^ *+' conftest.er1
>conftest.err
15266 cat conftest.err
>&5
15267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15268 (exit $ac_status); } && {
15269 test -z "$ac_cxx_werror_flag" ||
15270 test ! -s conftest.err
15271 } && test -s conftest.
$ac_objext; then
15274 echo "$as_me: failed program was:" >&5
15275 sed 's/^/| /' conftest.
$ac_ext >&5
15277 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
15279 cat >conftest.
$ac_ext <<_ACEOF
15282 cat confdefs.h
>>conftest.
$ac_ext
15283 cat >>conftest.
$ac_ext <<_ACEOF
15284 /* end confdefs.h. */
15294 rm -f conftest.
$ac_objext
15295 if { (ac_try
="$ac_compile"
15296 case "(($ac_try" in
15297 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15298 *) ac_try_echo=$ac_try;;
15300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15301 (eval "$ac_compile") 2>conftest.er1
15303 grep -v '^ *+' conftest.er1 >conftest.err
15305 cat conftest.err >&5
15306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15307 (exit $ac_status); } && {
15308 test -z "$ac_cxx_werror_flag" ||
15309 test ! -s conftest.err
15310 } && test -s conftest.$ac_objext; then
15311 ac_cv_prog_cxx_g=yes
15313 echo "$as_me: failed program was:" >&5
15314 sed 's/^/| /' conftest.$ac_ext >&5
15319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15326 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15328 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
15329 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
15330 if test "$ac_test_CXXFLAGS" = set; then
15331 CXXFLAGS=$ac_save_CXXFLAGS
15332 elif test $ac_cv_prog_cxx_g = yes; then
15333 if test "$GXX" = yes; then
15339 if test "$GXX" = yes; then
15346 ac_cpp='$CPP $CPPFLAGS'
15347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15354 ac_cpp='$CXXCPP $CPPFLAGS'
15355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15359 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
15360 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
15361 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
15362 echo $ECHO_N "(cached) $ECHO_C" >&6
15364 cat >conftest.$ac_ext <<_ACEOF
15367 cat confdefs.h >>conftest.$ac_ext
15368 cat >>conftest.$ac_ext <<_ACEOF
15369 /* end confdefs.h. */
15375 #ifndef __INTEL_COMPILER
15383 rm -f conftest.$ac_objext
15384 if { (ac_try="$ac_compile"
15385 case "(($ac_try" in
15386 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15387 *) ac_try_echo
=$ac_try;;
15389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15390 (eval "$ac_compile") 2>conftest.er1
15392 grep -v '^ *+' conftest.er1
>conftest.err
15394 cat conftest.err
>&5
15395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15396 (exit $ac_status); } && {
15397 test -z "$ac_cxx_werror_flag" ||
15398 test ! -s conftest.err
15399 } && test -s conftest.
$ac_objext; then
15400 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
15402 echo "$as_me: failed program was:" >&5
15403 sed 's/^/| /' conftest.
$ac_ext >&5
15405 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
15409 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15413 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
15414 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
15415 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
15421 ac_cpp
='$CPP $CPPFLAGS'
15422 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15423 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15424 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15428 if test "x$GCXX" != "xyes"; then
15429 if test "xCXX" = "xC"; then
15430 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15431 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15432 if test "${bakefile_cv_c_exto+set}" = set; then
15433 echo $ECHO_N "(cached) $ECHO_C" >&6
15435 cat >conftest.
$ac_ext <<_ACEOF
15438 cat confdefs.h
>>conftest.
$ac_ext
15439 cat >>conftest.
$ac_ext <<_ACEOF
15440 /* end confdefs.h. */
15450 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
15451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15452 (eval $ac_compile) 2>&5
15454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15455 (exit $ac_status); }; then
15456 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
15458 conftest.
$ac_ext.o
)
15459 bakefile_cv_c_exto
="-ext o"
15466 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15467 See \`config.log' for more details." >&5
15468 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15469 See \`config.log' for more details." >&2;}
15470 { (exit 1); exit 1; }; }
15474 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
15477 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15478 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15479 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15480 if test "c" = "c"; then
15481 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
15483 if test "c" = "cxx"; then
15484 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
15488 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15489 unset ac_cv_prog_cc_g
15490 ac_test_CFLAGS
=${CFLAGS+set}
15491 ac_save_CFLAGS
=$CFLAGS
15492 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15493 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15494 if test "${ac_cv_prog_cc_g+set}" = set; then
15495 echo $ECHO_N "(cached) $ECHO_C" >&6
15497 ac_save_c_werror_flag
=$ac_c_werror_flag
15498 ac_c_werror_flag
=yes
15501 cat >conftest.
$ac_ext <<_ACEOF
15504 cat confdefs.h
>>conftest.
$ac_ext
15505 cat >>conftest.
$ac_ext <<_ACEOF
15506 /* end confdefs.h. */
15516 rm -f conftest.
$ac_objext
15517 if { (ac_try
="$ac_compile"
15518 case "(($ac_try" in
15519 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15520 *) ac_try_echo=$ac_try;;
15522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15523 (eval "$ac_compile") 2>conftest.er1
15525 grep -v '^ *+' conftest.er1 >conftest.err
15527 cat conftest.err >&5
15528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15529 (exit $ac_status); } && {
15530 test -z "$ac_c_werror_flag" ||
15531 test ! -s conftest.err
15532 } && test -s conftest.$ac_objext; then
15533 ac_cv_prog_cc_g=yes
15535 echo "$as_me: failed program was:" >&5
15536 sed 's/^/| /' conftest.$ac_ext >&5
15539 cat >conftest.$ac_ext <<_ACEOF
15542 cat confdefs.h >>conftest.$ac_ext
15543 cat >>conftest.$ac_ext <<_ACEOF
15544 /* end confdefs.h. */
15554 rm -f conftest.$ac_objext
15555 if { (ac_try="$ac_compile"
15556 case "(($ac_try" in
15557 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15558 *) ac_try_echo
=$ac_try;;
15560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15561 (eval "$ac_compile") 2>conftest.er1
15563 grep -v '^ *+' conftest.er1
>conftest.err
15565 cat conftest.err
>&5
15566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15567 (exit $ac_status); } && {
15568 test -z "$ac_c_werror_flag" ||
15569 test ! -s conftest.err
15570 } && test -s conftest.
$ac_objext; then
15573 echo "$as_me: failed program was:" >&5
15574 sed 's/^/| /' conftest.
$ac_ext >&5
15576 ac_c_werror_flag
=$ac_save_c_werror_flag
15578 cat >conftest.
$ac_ext <<_ACEOF
15581 cat confdefs.h
>>conftest.
$ac_ext
15582 cat >>conftest.
$ac_ext <<_ACEOF
15583 /* end confdefs.h. */
15593 rm -f conftest.
$ac_objext
15594 if { (ac_try
="$ac_compile"
15595 case "(($ac_try" in
15596 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15597 *) ac_try_echo=$ac_try;;
15599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15600 (eval "$ac_compile") 2>conftest.er1
15602 grep -v '^ *+' conftest.er1 >conftest.err
15604 cat conftest.err >&5
15605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15606 (exit $ac_status); } && {
15607 test -z "$ac_c_werror_flag" ||
15608 test ! -s conftest.err
15609 } && test -s conftest.$ac_objext; then
15610 ac_cv_prog_cc_g=yes
15612 echo "$as_me: failed program was:" >&5
15613 sed 's/^/| /' conftest.$ac_ext >&5
15618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15625 ac_c_werror_flag=$ac_save_c_werror_flag
15627 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15628 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15629 if test "$ac_test_CFLAGS" = set; then
15630 CFLAGS=$ac_save_CFLAGS
15631 elif test $ac_cv_prog_cc_g = yes; then
15632 if test "$GCC" = yes; then
15638 if test "$GCC" = yes; then
15650 ac_cpp='$CXXCPP $CPPFLAGS'
15651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15655 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
15656 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
15657 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
15658 echo $ECHO_N "(cached) $ECHO_C" >&6
15660 cat >conftest.$ac_ext <<_ACEOF
15663 cat confdefs.h >>conftest.$ac_ext
15664 cat >>conftest.$ac_ext <<_ACEOF
15665 /* end confdefs.h. */
15678 rm -f conftest.$ac_objext
15679 if { (ac_try="$ac_compile"
15680 case "(($ac_try" in
15681 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15682 *) ac_try_echo
=$ac_try;;
15684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15685 (eval "$ac_compile") 2>conftest.er1
15687 grep -v '^ *+' conftest.er1
>conftest.err
15689 cat conftest.err
>&5
15690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15691 (exit $ac_status); } && {
15692 test -z "$ac_cxx_werror_flag" ||
15693 test ! -s conftest.err
15694 } && test -s conftest.
$ac_objext; then
15695 bakefile_compiler_xlc
=yes
15697 echo "$as_me: failed program was:" >&5
15698 sed 's/^/| /' conftest.
$ac_ext >&5
15700 bakefile_compiler_xlc
=no
15703 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15704 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
15707 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
15708 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6; }
15710 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
15712 ac_cpp
='$CPP $CPPFLAGS'
15713 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15714 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15715 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15722 ac_cpp
='$CXXCPP $CPPFLAGS'
15723 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15724 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15725 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15727 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
15728 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
15729 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
15730 echo $ECHO_N "(cached) $ECHO_C" >&6
15732 cat >conftest.
$ac_ext <<_ACEOF
15735 cat confdefs.h
>>conftest.
$ac_ext
15736 cat >>conftest.
$ac_ext <<_ACEOF
15737 /* end confdefs.h. */
15750 rm -f conftest.
$ac_objext
15751 if { (ac_try
="$ac_compile"
15752 case "(($ac_try" in
15753 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15754 *) ac_try_echo=$ac_try;;
15756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15757 (eval "$ac_compile") 2>conftest.er1
15759 grep -v '^ *+' conftest.er1 >conftest.err
15761 cat conftest.err >&5
15762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15763 (exit $ac_status); } && {
15764 test -z "$ac_cxx_werror_flag" ||
15765 test ! -s conftest.err
15766 } && test -s conftest.$ac_objext; then
15767 bakefile_compiler_mwerks=yes
15769 echo "$as_me: failed program was:" >&5
15770 sed 's/^/| /' conftest.$ac_ext >&5
15772 bakefile_compiler_mwerks=no
15775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15776 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
15779 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
15780 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6; }
15782 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
15784 ac_cpp='$CPP $CPPFLAGS'
15785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15791 ac_cpp='$CXXCPP $CPPFLAGS'
15792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15796 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
15797 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
15798 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
15799 echo $ECHO_N "(cached) $ECHO_C" >&6
15801 cat >conftest.$ac_ext <<_ACEOF
15804 cat confdefs.h >>conftest.$ac_ext
15805 cat >>conftest.$ac_ext <<_ACEOF
15806 /* end confdefs.h. */
15819 rm -f conftest.$ac_objext
15820 if { (ac_try="$ac_compile"
15821 case "(($ac_try" in
15822 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15823 *) ac_try_echo
=$ac_try;;
15825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15826 (eval "$ac_compile") 2>conftest.er1
15828 grep -v '^ *+' conftest.er1
>conftest.err
15830 cat conftest.err
>&5
15831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15832 (exit $ac_status); } && {
15833 test -z "$ac_cxx_werror_flag" ||
15834 test ! -s conftest.err
15835 } && test -s conftest.
$ac_objext; then
15836 bakefile_compiler_xlc
=yes
15838 echo "$as_me: failed program was:" >&5
15839 sed 's/^/| /' conftest.
$ac_ext >&5
15841 bakefile_compiler_xlc
=no
15844 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15845 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
15848 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
15849 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6; }
15851 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
15853 ac_cpp
='$CPP $CPPFLAGS'
15854 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15855 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15856 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15865 ac_cpp
='$CXXCPP $CPPFLAGS'
15866 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15867 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15868 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15870 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
15871 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
15872 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
15873 echo $ECHO_N "(cached) $ECHO_C" >&6
15875 cat >conftest.
$ac_ext <<_ACEOF
15878 cat confdefs.h
>>conftest.
$ac_ext
15879 cat >>conftest.
$ac_ext <<_ACEOF
15880 /* end confdefs.h. */
15886 #ifndef _SGI_COMPILER_VERSION
15894 rm -f conftest.
$ac_objext
15895 if { (ac_try
="$ac_compile"
15896 case "(($ac_try" in
15897 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15898 *) ac_try_echo=$ac_try;;
15900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15901 (eval "$ac_compile") 2>conftest.er1
15903 grep -v '^ *+' conftest.er1 >conftest.err
15905 cat conftest.err >&5
15906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15907 (exit $ac_status); } && {
15908 test -z "$ac_cxx_werror_flag" ||
15909 test ! -s conftest.err
15910 } && test -s conftest.$ac_objext; then
15911 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
15913 echo "$as_me: failed program was:" >&5
15914 sed 's/^/| /' conftest.$ac_ext >&5
15916 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
15920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15924 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
15925 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
15926 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15932 ac_cpp='$CPP $CPPFLAGS'
15933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15945 ac_cpp='$CXXCPP $CPPFLAGS'
15946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15950 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
15951 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
15952 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
15953 echo $ECHO_N "(cached) $ECHO_C" >&6
15955 cat >conftest.$ac_ext <<_ACEOF
15958 cat confdefs.h >>conftest.$ac_ext
15959 cat >>conftest.$ac_ext <<_ACEOF
15960 /* end confdefs.h. */
15974 rm -f conftest.$ac_objext
15975 if { (ac_try="$ac_compile"
15976 case "(($ac_try" in
15977 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15978 *) ac_try_echo
=$ac_try;;
15980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15981 (eval "$ac_compile") 2>conftest.er1
15983 grep -v '^ *+' conftest.er1
>conftest.err
15985 cat conftest.err
>&5
15986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15987 (exit $ac_status); } && {
15988 test -z "$ac_cxx_werror_flag" ||
15989 test ! -s conftest.err
15990 } && test -s conftest.
$ac_objext; then
15991 bakefile_cv_cxx_compiler___HP_aCC
=yes
15993 echo "$as_me: failed program was:" >&5
15994 sed 's/^/| /' conftest.
$ac_ext >&5
15996 bakefile_cv_cxx_compiler___HP_aCC
=no
16000 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16004 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
16005 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
16006 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
16012 ac_cpp
='$CPP $CPPFLAGS'
16013 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16014 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16015 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16025 ac_cpp
='$CXXCPP $CPPFLAGS'
16026 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16027 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16028 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16030 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
16031 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
16032 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
16033 echo $ECHO_N "(cached) $ECHO_C" >&6
16035 cat >conftest.
$ac_ext <<_ACEOF
16038 cat confdefs.h
>>conftest.
$ac_ext
16039 cat >>conftest.
$ac_ext <<_ACEOF
16040 /* end confdefs.h. */
16054 rm -f conftest.
$ac_objext
16055 if { (ac_try
="$ac_compile"
16056 case "(($ac_try" in
16057 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16058 *) ac_try_echo=$ac_try;;
16060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16061 (eval "$ac_compile") 2>conftest.er1
16063 grep -v '^ *+' conftest.er1 >conftest.err
16065 cat conftest.err >&5
16066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16067 (exit $ac_status); } && {
16068 test -z "$ac_cxx_werror_flag" ||
16069 test ! -s conftest.err
16070 } && test -s conftest.$ac_objext; then
16071 bakefile_cv_cxx_compiler___DECCXX=yes
16073 echo "$as_me: failed program was:" >&5
16074 sed 's/^/| /' conftest.$ac_ext >&5
16076 bakefile_cv_cxx_compiler___DECCXX=no
16080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16084 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
16085 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
16086 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
16092 ac_cpp='$CPP $CPPFLAGS'
16093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16105 ac_cpp='$CXXCPP $CPPFLAGS'
16106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16110 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
16111 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
16112 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
16113 echo $ECHO_N "(cached) $ECHO_C" >&6
16115 cat >conftest.$ac_ext <<_ACEOF
16118 cat confdefs.h >>conftest.$ac_ext
16119 cat >>conftest.$ac_ext <<_ACEOF
16120 /* end confdefs.h. */
16126 #ifndef __SUNPRO_CC
16134 rm -f conftest.$ac_objext
16135 if { (ac_try="$ac_compile"
16136 case "(($ac_try" in
16137 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16138 *) ac_try_echo
=$ac_try;;
16140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16141 (eval "$ac_compile") 2>conftest.er1
16143 grep -v '^ *+' conftest.er1
>conftest.err
16145 cat conftest.err
>&5
16146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16147 (exit $ac_status); } && {
16148 test -z "$ac_cxx_werror_flag" ||
16149 test ! -s conftest.err
16150 } && test -s conftest.
$ac_objext; then
16151 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
16153 echo "$as_me: failed program was:" >&5
16154 sed 's/^/| /' conftest.
$ac_ext >&5
16156 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
16160 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16164 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
16165 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
16166 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
16172 ac_cpp
='$CPP $CPPFLAGS'
16173 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16174 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16175 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16185 if test -n "$ac_tool_prefix"; then
16186 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
16187 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
16188 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16189 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16190 if test "${ac_cv_prog_RANLIB+set}" = set; then
16191 echo $ECHO_N "(cached) $ECHO_C" >&6
16193 if test -n "$RANLIB"; then
16194 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
16196 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16197 for as_dir
in $PATH
16200 test -z "$as_dir" && as_dir
=.
16201 for ac_exec_ext
in '' $ac_executable_extensions; do
16202 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16203 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
16204 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16213 RANLIB
=$ac_cv_prog_RANLIB
16214 if test -n "$RANLIB"; then
16215 { echo "$as_me:$LINENO: result: $RANLIB" >&5
16216 echo "${ECHO_T}$RANLIB" >&6; }
16218 { echo "$as_me:$LINENO: result: no" >&5
16219 echo "${ECHO_T}no" >&6; }
16224 if test -z "$ac_cv_prog_RANLIB"; then
16225 ac_ct_RANLIB
=$RANLIB
16226 # Extract the first word of "ranlib", so it can be a program name with args.
16227 set dummy ranlib
; ac_word
=$2
16228 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16229 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16230 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
16231 echo $ECHO_N "(cached) $ECHO_C" >&6
16233 if test -n "$ac_ct_RANLIB"; then
16234 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
16236 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16237 for as_dir
in $PATH
16240 test -z "$as_dir" && as_dir
=.
16241 for ac_exec_ext
in '' $ac_executable_extensions; do
16242 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16243 ac_cv_prog_ac_ct_RANLIB
="ranlib"
16244 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16253 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
16254 if test -n "$ac_ct_RANLIB"; then
16255 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
16256 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
16258 { echo "$as_me:$LINENO: result: no" >&5
16259 echo "${ECHO_T}no" >&6; }
16262 if test "x$ac_ct_RANLIB" = x
; then
16265 case $cross_compiling:$ac_tool_warned in
16267 { echo "$as_me:$LINENO: 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." >&5
16270 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16271 whose name does not start with the host triplet. If you think this
16272 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16273 ac_tool_warned
=yes ;;
16275 RANLIB
=$ac_ct_RANLIB
16278 RANLIB
="$ac_cv_prog_RANLIB"
16282 if test "x$SUNCXX" != xyes
; then
16283 if test -n "$ac_tool_prefix"; then
16284 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
16285 set dummy
${ac_tool_prefix}ar; ac_word
=$2
16286 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16287 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16288 if test "${ac_cv_prog_AR+set}" = set; then
16289 echo $ECHO_N "(cached) $ECHO_C" >&6
16291 if test -n "$AR"; then
16292 ac_cv_prog_AR
="$AR" # Let the user override the test.
16294 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16295 for as_dir
in $PATH
16298 test -z "$as_dir" && as_dir
=.
16299 for ac_exec_ext
in '' $ac_executable_extensions; do
16300 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16301 ac_cv_prog_AR
="${ac_tool_prefix}ar"
16302 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16312 if test -n "$AR"; then
16313 { echo "$as_me:$LINENO: result: $AR" >&5
16314 echo "${ECHO_T}$AR" >&6; }
16316 { echo "$as_me:$LINENO: result: no" >&5
16317 echo "${ECHO_T}no" >&6; }
16322 if test -z "$ac_cv_prog_AR"; then
16324 # Extract the first word of "ar", so it can be a program name with args.
16325 set dummy
ar; ac_word
=$2
16326 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16327 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16328 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
16329 echo $ECHO_N "(cached) $ECHO_C" >&6
16331 if test -n "$ac_ct_AR"; then
16332 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
16334 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16335 for as_dir
in $PATH
16338 test -z "$as_dir" && as_dir
=.
16339 for ac_exec_ext
in '' $ac_executable_extensions; do
16340 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16341 ac_cv_prog_ac_ct_AR
="ar"
16342 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16351 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
16352 if test -n "$ac_ct_AR"; then
16353 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
16354 echo "${ECHO_T}$ac_ct_AR" >&6; }
16356 { echo "$as_me:$LINENO: result: no" >&5
16357 echo "${ECHO_T}no" >&6; }
16360 if test "x$ac_ct_AR" = x
; then
16363 case $cross_compiling:$ac_tool_warned in
16365 { echo "$as_me:$LINENO: 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." >&5
16368 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16369 whose name does not start with the host triplet. If you think this
16370 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16371 ac_tool_warned
=yes ;;
16376 AR
="$ac_cv_prog_AR"
16379 if test "x$AR" = "x" ; then
16380 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
16381 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
16382 { (exit 1); exit 1; }; }
16386 # Find a good install program. We prefer a C program (faster),
16387 # so one script is as good as another. But avoid the broken or
16388 # incompatible versions:
16389 # SysV /etc/install, /usr/sbin/install
16390 # SunOS /usr/etc/install
16391 # IRIX /sbin/install
16393 # AmigaOS /C/install, which installs bootblocks on floppy discs
16394 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
16395 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
16396 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
16397 # OS/2's system install, which has a completely different semantic
16398 # ./install, which can be erroneously created by make from ./install.sh.
16399 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
16400 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
16401 if test -z "$INSTALL"; then
16402 if test "${ac_cv_path_install+set}" = set; then
16403 echo $ECHO_N "(cached) $ECHO_C" >&6
16405 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16406 for as_dir
in $PATH
16409 test -z "$as_dir" && as_dir
=.
16410 # Account for people who put trailing slashes in PATH elements.
16412 .
/ | .
// | /cC
/* | \
16413 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
16414 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
16417 # OSF1 and SCO ODT 3.0 have their own names for install.
16418 # Don't use installbsd from OSF since it installs stuff as root
16420 for ac_prog
in ginstall scoinst
install; do
16421 for ac_exec_ext
in '' $ac_executable_extensions; do
16422 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
16423 if test $ac_prog = install &&
16424 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
16425 # AIX install. It has an incompatible calling convention.
16427 elif test $ac_prog = install &&
16428 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
16429 # program-specific install script used by HP pwplus--don't use.
16432 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
16445 if test "${ac_cv_path_install+set}" = set; then
16446 INSTALL
=$ac_cv_path_install
16448 # As a last resort, use the slow shell script. Don't cache a
16449 # value for INSTALL within a source directory, because that will
16450 # break other packages using the cache if that directory is
16451 # removed, or if the value is a relative name.
16452 INSTALL
=$ac_install_sh
16455 { echo "$as_me:$LINENO: result: $INSTALL" >&5
16456 echo "${ECHO_T}$INSTALL" >&6; }
16458 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
16459 # It thinks the first close brace ends the variable substitution.
16460 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
16462 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
16464 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
16470 ?
:* ) # Drive letter, considered as absolute.
16473 INSTALL
=`pwd`/${INSTALL} ;;
16480 INSTALL_PROGRAM
="cp -fp"
16481 INSTALL_DATA
="cp -fp"
16487 if test -n "$ac_tool_prefix"; then
16488 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
16489 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
16490 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16491 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16492 if test "${ac_cv_prog_STRIP+set}" = set; then
16493 echo $ECHO_N "(cached) $ECHO_C" >&6
16495 if test -n "$STRIP"; then
16496 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
16498 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16499 for as_dir
in $PATH
16502 test -z "$as_dir" && as_dir
=.
16503 for ac_exec_ext
in '' $ac_executable_extensions; do
16504 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16505 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
16506 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16515 STRIP
=$ac_cv_prog_STRIP
16516 if test -n "$STRIP"; then
16517 { echo "$as_me:$LINENO: result: $STRIP" >&5
16518 echo "${ECHO_T}$STRIP" >&6; }
16520 { echo "$as_me:$LINENO: result: no" >&5
16521 echo "${ECHO_T}no" >&6; }
16526 if test -z "$ac_cv_prog_STRIP"; then
16528 # Extract the first word of "strip", so it can be a program name with args.
16529 set dummy strip
; ac_word
=$2
16530 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16531 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16532 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
16533 echo $ECHO_N "(cached) $ECHO_C" >&6
16535 if test -n "$ac_ct_STRIP"; then
16536 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
16538 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16539 for as_dir
in $PATH
16542 test -z "$as_dir" && as_dir
=.
16543 for ac_exec_ext
in '' $ac_executable_extensions; do
16544 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16545 ac_cv_prog_ac_ct_STRIP
="strip"
16546 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16555 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
16556 if test -n "$ac_ct_STRIP"; then
16557 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
16558 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
16560 { echo "$as_me:$LINENO: result: no" >&5
16561 echo "${ECHO_T}no" >&6; }
16564 if test "x$ac_ct_STRIP" = x
; then
16567 case $cross_compiling:$ac_tool_warned in
16569 { echo "$as_me:$LINENO: 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." >&5
16572 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16573 whose name does not start with the host triplet. If you think this
16574 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16575 ac_tool_warned
=yes ;;
16580 STRIP
="$ac_cv_prog_STRIP"
16584 if test "$wxUSE_WINE" = "yes"; then
16585 if test -n "$ac_tool_prefix"; then
16586 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
16587 set dummy
${ac_tool_prefix}wrc
; ac_word
=$2
16588 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16589 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16590 if test "${ac_cv_prog_WINDRES+set}" = set; then
16591 echo $ECHO_N "(cached) $ECHO_C" >&6
16593 if test -n "$WINDRES"; then
16594 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
16596 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16597 for as_dir
in $PATH
16600 test -z "$as_dir" && as_dir
=.
16601 for ac_exec_ext
in '' $ac_executable_extensions; do
16602 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16603 ac_cv_prog_WINDRES
="${ac_tool_prefix}wrc"
16604 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16613 WINDRES
=$ac_cv_prog_WINDRES
16614 if test -n "$WINDRES"; then
16615 { echo "$as_me:$LINENO: result: $WINDRES" >&5
16616 echo "${ECHO_T}$WINDRES" >&6; }
16618 { echo "$as_me:$LINENO: result: no" >&5
16619 echo "${ECHO_T}no" >&6; }
16624 if test -z "$ac_cv_prog_WINDRES"; then
16625 ac_ct_WINDRES
=$WINDRES
16626 # Extract the first word of "wrc", so it can be a program name with args.
16627 set dummy wrc
; ac_word
=$2
16628 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16629 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16630 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
16631 echo $ECHO_N "(cached) $ECHO_C" >&6
16633 if test -n "$ac_ct_WINDRES"; then
16634 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
16636 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16637 for as_dir
in $PATH
16640 test -z "$as_dir" && as_dir
=.
16641 for ac_exec_ext
in '' $ac_executable_extensions; do
16642 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16643 ac_cv_prog_ac_ct_WINDRES
="wrc"
16644 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16653 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
16654 if test -n "$ac_ct_WINDRES"; then
16655 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
16656 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
16658 { echo "$as_me:$LINENO: result: no" >&5
16659 echo "${ECHO_T}no" >&6; }
16662 if test "x$ac_ct_WINDRES" = x
; then
16665 case $cross_compiling:$ac_tool_warned in
16667 { echo "$as_me:$LINENO: 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." >&5
16670 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16671 whose name does not start with the host triplet. If you think this
16672 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16673 ac_tool_warned
=yes ;;
16675 WINDRES
=$ac_ct_WINDRES
16678 WINDRES
="$ac_cv_prog_WINDRES"
16684 *-*-cygwin* | *-*-mingw32* )
16685 if test -n "$ac_tool_prefix"; then
16686 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
16687 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
16688 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16689 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16690 if test "${ac_cv_prog_WINDRES+set}" = set; then
16691 echo $ECHO_N "(cached) $ECHO_C" >&6
16693 if test -n "$WINDRES"; then
16694 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
16696 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16697 for as_dir
in $PATH
16700 test -z "$as_dir" && as_dir
=.
16701 for ac_exec_ext
in '' $ac_executable_extensions; do
16702 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16703 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
16704 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16713 WINDRES
=$ac_cv_prog_WINDRES
16714 if test -n "$WINDRES"; then
16715 { echo "$as_me:$LINENO: result: $WINDRES" >&5
16716 echo "${ECHO_T}$WINDRES" >&6; }
16718 { echo "$as_me:$LINENO: result: no" >&5
16719 echo "${ECHO_T}no" >&6; }
16724 if test -z "$ac_cv_prog_WINDRES"; then
16725 ac_ct_WINDRES
=$WINDRES
16726 # Extract the first word of "windres", so it can be a program name with args.
16727 set dummy windres
; ac_word
=$2
16728 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16729 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16730 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
16731 echo $ECHO_N "(cached) $ECHO_C" >&6
16733 if test -n "$ac_ct_WINDRES"; then
16734 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
16736 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16737 for as_dir
in $PATH
16740 test -z "$as_dir" && as_dir
=.
16741 for ac_exec_ext
in '' $ac_executable_extensions; do
16742 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16743 ac_cv_prog_ac_ct_WINDRES
="windres"
16744 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16753 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
16754 if test -n "$ac_ct_WINDRES"; then
16755 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
16756 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
16758 { echo "$as_me:$LINENO: result: no" >&5
16759 echo "${ECHO_T}no" >&6; }
16762 if test "x$ac_ct_WINDRES" = x
; then
16765 case $cross_compiling:$ac_tool_warned in
16767 { echo "$as_me:$LINENO: 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." >&5
16770 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16771 whose name does not start with the host triplet. If you think this
16772 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16773 ac_tool_warned
=yes ;;
16775 WINDRES
=$ac_ct_WINDRES
16778 WINDRES
="$ac_cv_prog_WINDRES"
16782 if test -n "$ac_tool_prefix"; then
16783 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
16784 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
16785 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16786 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16787 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
16788 echo $ECHO_N "(cached) $ECHO_C" >&6
16790 if test -n "$DLLTOOL"; then
16791 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
16793 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16794 for as_dir
in $PATH
16797 test -z "$as_dir" && as_dir
=.
16798 for ac_exec_ext
in '' $ac_executable_extensions; do
16799 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16800 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
16801 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16810 DLLTOOL
=$ac_cv_prog_DLLTOOL
16811 if test -n "$DLLTOOL"; then
16812 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
16813 echo "${ECHO_T}$DLLTOOL" >&6; }
16815 { echo "$as_me:$LINENO: result: no" >&5
16816 echo "${ECHO_T}no" >&6; }
16821 if test -z "$ac_cv_prog_DLLTOOL"; then
16822 ac_ct_DLLTOOL
=$DLLTOOL
16823 # Extract the first word of "dlltool", so it can be a program name with args.
16824 set dummy dlltool
; ac_word
=$2
16825 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16826 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16827 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
16828 echo $ECHO_N "(cached) $ECHO_C" >&6
16830 if test -n "$ac_ct_DLLTOOL"; then
16831 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
16833 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16834 for as_dir
in $PATH
16837 test -z "$as_dir" && as_dir
=.
16838 for ac_exec_ext
in '' $ac_executable_extensions; do
16839 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16840 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
16841 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16850 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
16851 if test -n "$ac_ct_DLLTOOL"; then
16852 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
16853 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
16855 { echo "$as_me:$LINENO: result: no" >&5
16856 echo "${ECHO_T}no" >&6; }
16859 if test "x$ac_ct_DLLTOOL" = x
; then
16862 case $cross_compiling:$ac_tool_warned in
16864 { echo "$as_me:$LINENO: 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." >&5
16867 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16868 whose name does not start with the host triplet. If you think this
16869 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16870 ac_tool_warned
=yes ;;
16872 DLLTOOL
=$ac_ct_DLLTOOL
16875 DLLTOOL
="$ac_cv_prog_DLLTOOL"
16882 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
16883 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
16884 if test "${wx_cv_prog_makeisgnu+set}" = set; then
16885 echo $ECHO_N "(cached) $ECHO_C" >&6
16888 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
16889 $EGREP -s GNU
> /dev
/null
); then
16890 wx_cv_prog_makeisgnu
="yes"
16892 wx_cv_prog_makeisgnu
="no"
16896 { echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
16897 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6; }
16899 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
16907 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
16908 { echo "$as_me:$LINENO: checking if make supports VPATH" >&5
16909 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6; }
16910 if test "${wx_cv_prog_makevpath+set}" = set; then
16911 echo $ECHO_N "(cached) $ECHO_C" >&6
16914 cat - << EOF > confMake
16920 if test ! -d sub
; then
16923 echo dummy
> sub
/file
16924 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
16926 rm -f sub
/file check final_file confMake
16928 if test "$RESULT" = 0; then
16929 wx_cv_prog_makevpath
="yes"
16931 wx_cv_prog_makevpath
="no"
16935 { echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
16936 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6; }
16938 if test "x$wx_cv_prog_makevpath" != "xyes"; then
16939 { { echo "$as_me:$LINENO: error:
16940 You need a make-utility that is able to use the variable
16942 If your version of make does not support VPATH correctly,
16943 please install GNU-make (possibly as gmake), and start
16944 configure with the following command:
16945 export MAKE=gmake; ./configure for sh-type shells
16946 setenv MAKE gmake; ./configure for csh-type shells
16947 Also please do remember to use gmake in this case every time
16948 you are trying to compile.
16950 echo "$as_me: error:
16951 You need a make-utility that is able to use the variable
16953 If your version of make does not support VPATH correctly,
16954 please install GNU-make (possibly as gmake), and start
16955 configure with the following command:
16956 export MAKE=gmake; ./configure for sh-type shells
16957 setenv MAKE gmake; ./configure for csh-type shells
16958 Also please do remember to use gmake in this case every time
16959 you are trying to compile.
16961 { (exit 1); exit 1; }; }
16963 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
16964 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
16966 if test "$LN_S" = "ln -s"; then
16967 { echo "$as_me:$LINENO: result: yes" >&5
16968 echo "${ECHO_T}yes" >&6; }
16970 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
16971 echo "${ECHO_T}no, using $LN_S" >&6; }
16977 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
16978 CXXFLAGS
="-qunique $CXXFLAGS"
16982 powerpc
-*-darwin* )
16983 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
16984 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
16985 cat >conftest.
$ac_ext <<_ACEOF
16988 cat confdefs.h
>>conftest.
$ac_ext
16989 cat >>conftest.
$ac_ext <<_ACEOF
16990 /* end confdefs.h. */
16995 #ifndef __POWERPC__
16996 choke me for lack of PowerPC
17003 rm -f conftest.
$ac_objext
17004 if { (ac_try
="$ac_compile"
17005 case "(($ac_try" in
17006 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17007 *) ac_try_echo=$ac_try;;
17009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17010 (eval "$ac_compile") 2>conftest.er1
17012 grep -v '^ *+' conftest.er1 >conftest.err
17014 cat conftest.err >&5
17015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17016 (exit $ac_status); } && {
17017 test -z "$ac_c_werror_flag" ||
17018 test ! -s conftest.err
17019 } && test -s conftest.$ac_objext; then
17020 { echo "$as_me:$LINENO: result: yes" >&5
17021 echo "${ECHO_T}yes" >&6; }
17023 echo "$as_me: failed program was:" >&5
17024 sed 's/^/| /' conftest.$ac_ext >&5
17026 { echo "$as_me:$LINENO: result: no" >&5
17027 echo "${ECHO_T}no" >&6; }
17028 cat >>confdefs.h <<\_ACEOF
17029 #define __POWERPC__ 1
17035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17041 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
17042 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
17043 cat >conftest.$ac_ext <<_ACEOF
17046 cat confdefs.h >>conftest.$ac_ext
17047 cat >>conftest.$ac_ext <<_ACEOF
17048 /* end confdefs.h. */
17049 #include <CoreFoundation/CFBase.h>
17059 rm -f conftest.$ac_objext
17060 if { (ac_try="$ac_compile"
17061 case "(($ac_try" in
17062 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17063 *) ac_try_echo
=$ac_try;;
17065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17066 (eval "$ac_compile") 2>conftest.er1
17068 grep -v '^ *+' conftest.er1
>conftest.err
17070 cat conftest.err
>&5
17071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17072 (exit $ac_status); } && {
17073 test -z "$ac_c_werror_flag" ||
17074 test ! -s conftest.err
17075 } && test -s conftest.
$ac_objext; then
17076 { echo "$as_me:$LINENO: result: yes" >&5
17077 echo "${ECHO_T}yes" >&6; }
17079 echo "$as_me: failed program was:" >&5
17080 sed 's/^/| /' conftest.
$ac_ext >&5
17082 { echo "$as_me:$LINENO: result: no" >&5
17083 echo "${ECHO_T}no" >&6; }
17084 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
17085 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
17086 cat >conftest.
$ac_ext <<_ACEOF
17089 cat confdefs.h
>>conftest.
$ac_ext
17090 cat >>conftest.
$ac_ext <<_ACEOF
17091 /* end confdefs.h. */
17092 #define __CF_USE_FRAMEWORK_INCLUDES__
17093 #include <CoreFoundation/CFBase.h>
17103 rm -f conftest.
$ac_objext
17104 if { (ac_try
="$ac_compile"
17105 case "(($ac_try" in
17106 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17107 *) ac_try_echo=$ac_try;;
17109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17110 (eval "$ac_compile") 2>conftest.er1
17112 grep -v '^ *+' conftest.er1 >conftest.err
17114 cat conftest.err >&5
17115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17116 (exit $ac_status); } && {
17117 test -z "$ac_c_werror_flag" ||
17118 test ! -s conftest.err
17119 } && test -s conftest.$ac_objext; then
17120 { echo "$as_me:$LINENO: result: yes" >&5
17121 echo "${ECHO_T}yes" >&6; }
17122 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
17124 echo "$as_me: failed program was:" >&5
17125 sed 's/^/| /' conftest.$ac_ext >&5
17127 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
17128 See \`config.log
' for more details." >&5
17129 echo "$as_me: error: no. CoreFoundation not available.
17130 See \`config.log' for more details.
" >&2;}
17131 { (exit 1); exit 1; }; }
17135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17145 doesnt_want_win32=0
17148 if test "$wxUSE_MSW" = 1 ; then
17151 { echo "$as_me:$LINENO: checking
if -mno-cygwin is
in effect
" >&5
17152 echo $ECHO_N "checking
if -mno-cygwin is
in effect...
$ECHO_C" >&6; }
17153 if test "${wx_cv_nocygwin+set}" = set; then
17154 echo $ECHO_N "(cached
) $ECHO_C" >&6
17157 cat >conftest.$ac_ext <<_ACEOF
17160 cat confdefs.h >>conftest.$ac_ext
17161 cat >>conftest.$ac_ext <<_ACEOF
17162 /* end confdefs.h. */
17176 rm -f conftest.$ac_objext
17177 if { (ac_try="$ac_compile"
17178 case "(($ac_try" in
17179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17180 *) ac_try_echo=$ac_try;;
17182 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17183 (eval "$ac_compile") 2>conftest.er1
17185 grep -v '^ *+' conftest.er1 >conftest.err
17187 cat conftest.err >&5
17188 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17189 (exit $ac_status); } && {
17190 test -z "$ac_c_werror_flag" ||
17191 test ! -s conftest.err
17192 } && test -s conftest.$ac_objext; then
17195 echo "$as_me: failed program was
:" >&5
17196 sed 's/^/| /' conftest.$ac_ext >&5
17202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17206 { echo "$as_me:$LINENO: result
: $wx_cv_nocygwin" >&5
17207 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
17209 if test "$wx_cv_nocygwin" = "yes"; then
17212 doesnt_want_win32=1
17215 if test "$wants_win32" = 1 ; then
17216 BAKEFILE_FORCE_PLATFORM=win32
17224 if test "$wxUSE_WINE" = "yes"; then
17226 LDFLAGS_GUI="-mwindows"
17229 if test "$wants_win32" = 1 ; then
17232 cat >>confdefs.h <<\_ACEOF
17233 #define __WIN32__ 1
17236 cat >>confdefs.h <<\_ACEOF
17237 #define __WIN95__ 1
17240 cat >>confdefs.h <<\_ACEOF
17241 #define __WINDOWS__ 1
17244 cat >>confdefs.h <<\_ACEOF
17245 #define __GNUWIN32__ 1
17248 cat >>confdefs.h <<\_ACEOF
17253 if test "$doesnt_want_win32" = 1 ; then
17258 if test "$USE_UNIX" = 1 ; then
17260 cat >>confdefs.h <<\_ACEOF
17267 *-pc-os2_emx | *-pc-os2-emx )
17268 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
17269 { echo "$as_me:$LINENO: checking
for drand48
in -lcExt" >&5
17270 echo $ECHO_N "checking
for drand48
in -lcExt...
$ECHO_C" >&6; }
17271 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
17272 echo $ECHO_N "(cached
) $ECHO_C" >&6
17274 ac_check_lib_save_LIBS=$LIBS
17275 LIBS="-lcExt $LIBS"
17276 cat >conftest.$ac_ext <<_ACEOF
17279 cat confdefs.h >>conftest.$ac_ext
17280 cat >>conftest.$ac_ext <<_ACEOF
17281 /* end confdefs.h. */
17283 /* Override any GCC internal prototype to avoid an error.
17284 Use char because int might match the return type of a GCC
17285 builtin and then its argument prototype would still apply. */
17298 rm -f conftest.$ac_objext conftest$ac_exeext
17299 if { (ac_try="$ac_link"
17300 case "(($ac_try" in
17301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17302 *) ac_try_echo=$ac_try;;
17304 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17305 (eval "$ac_link") 2>conftest.er1
17307 grep -v '^ *+' conftest.er1 >conftest.err
17309 cat conftest.err >&5
17310 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17311 (exit $ac_status); } && {
17312 test -z "$ac_c_werror_flag" ||
17313 test ! -s conftest.err
17314 } && test -s conftest$ac_exeext &&
17315 $as_test_x conftest$ac_exeext; then
17316 ac_cv_lib_cExt_drand48=yes
17318 echo "$as_me: failed program was
:" >&5
17319 sed 's/^/| /' conftest.$ac_ext >&5
17321 ac_cv_lib_cExt_drand48=no
17324 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17325 conftest$ac_exeext conftest.$ac_ext
17326 LIBS=$ac_check_lib_save_LIBS
17328 { echo "$as_me:$LINENO: result
: $ac_cv_lib_cExt_drand48" >&5
17329 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
17330 if test $ac_cv_lib_cExt_drand48 = yes; then
17331 LIBS="$LIBS -lcExt"
17335 RESPROGRAMOBJ="\
${top_srcdir}/include
/wx
/os
2/wx.res
"
17337 { echo "$as_me:$LINENO: checking
for gcc
/libc version
" >&5
17338 echo $ECHO_N "checking
for gcc
/libc version...
$ECHO_C" >&6; }
17339 if test "${wx_cv_gccversion+set}" = set; then
17340 echo $ECHO_N "(cached
) $ECHO_C" >&6
17343 if test "$cross_compiling" = yes; then
17344 wx_cv_gccversion="EMX2
"
17347 cat >conftest.$ac_ext <<_ACEOF
17350 cat confdefs.h >>conftest.$ac_ext
17351 cat >>conftest.$ac_ext <<_ACEOF
17352 /* end confdefs.h. */
17358 FILE *f=fopen("conftestval
", "w
");
17363 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
17365 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
17375 rm -f conftest$ac_exeext
17376 if { (ac_try="$ac_link"
17377 case "(($ac_try" in
17378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17379 *) ac_try_echo=$ac_try;;
17381 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17382 (eval "$ac_link") 2>&5
17384 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17385 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17386 { (case "(($ac_try" in
17387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17388 *) ac_try_echo=$ac_try;;
17390 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17391 (eval "$ac_try") 2>&5
17393 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17394 (exit $ac_status); }; }; then
17395 wx_cv_gccversion=`cat conftestval`
17397 echo "$as_me: program exited with status
$ac_status" >&5
17398 echo "$as_me: failed program was
:" >&5
17399 sed 's/^/| /' conftest.$ac_ext >&5
17401 ( exit $ac_status )
17402 wx_cv_gccversion="EMX2
"
17404 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17410 { echo "$as_me:$LINENO: result
: $wx_cv_gccversion" >&5
17411 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
17412 if test "$wx_cv_gccversion" = "EMX2
"; then
17413 LIBS="$LIBS -lstdcpp"
17414 LDFLAGS="$LDFLAGS -Zsysv-signals"
17416 if test "$wx_cv_gccversion" = "EMX3
"; then
17417 LIBS="$LIBS -lstdcxx -lgcc"
17418 LDFLAGS="$LDFLAGS -Zsysv-signals"
17420 LIBS="$LIBS -lstdc++"
17423 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no
"; then
17424 { echo "$as_me:$LINENO: WARNING
: Building DLLs requires OMF mode
, enabled
" >&5
17425 echo "$as_me: WARNING
: Building DLLs requires OMF mode
, enabled
" >&2;}
17432 { echo "$as_me:$LINENO: checking
for strcasecmp
() in string.h
" >&5
17433 echo $ECHO_N "checking
for strcasecmp
() in string.h...
$ECHO_C" >&6; }
17434 if test "${ac_cv_string_strcasecmp+set}" = set; then
17435 echo $ECHO_N "(cached
) $ECHO_C" >&6
17438 cat >conftest.$ac_ext <<_ACEOF
17441 cat confdefs.h >>conftest.$ac_ext
17442 cat >>conftest.$ac_ext <<_ACEOF
17443 /* end confdefs.h. */
17445 #include <string.h>
17451 strcasecmp("foo
", "bar
");
17457 rm -f conftest.$ac_objext conftest$ac_exeext
17458 if { (ac_try="$ac_link"
17459 case "(($ac_try" in
17460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17461 *) ac_try_echo=$ac_try;;
17463 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17464 (eval "$ac_link") 2>conftest.er1
17466 grep -v '^ *+' conftest.er1 >conftest.err
17468 cat conftest.err >&5
17469 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17470 (exit $ac_status); } && {
17471 test -z "$ac_c_werror_flag" ||
17472 test ! -s conftest.err
17473 } && test -s conftest$ac_exeext &&
17474 $as_test_x conftest$ac_exeext; then
17475 ac_cv_string_strcasecmp=yes
17477 echo "$as_me: failed program was
:" >&5
17478 sed 's/^/| /' conftest.$ac_ext >&5
17480 ac_cv_string_strcasecmp=no
17484 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17485 conftest$ac_exeext conftest.$ac_ext
17488 { echo "$as_me:$LINENO: result
: $ac_cv_string_strcasecmp" >&5
17489 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
17491 if test x"$ac_cv_string_strcasecmp" = "xyes
"; then
17492 cat >>confdefs.h <<\_ACEOF
17493 #define HAVE_STRCASECMP_IN_STRING_H 1
17497 { echo "$as_me:$LINENO: checking
for strcasecmp
() in strings.h
" >&5
17498 echo $ECHO_N "checking
for strcasecmp
() in strings.h...
$ECHO_C" >&6; }
17499 if test "${ac_cv_strings_strcasecmp+set}" = set; then
17500 echo $ECHO_N "(cached
) $ECHO_C" >&6
17503 cat >conftest.$ac_ext <<_ACEOF
17506 cat confdefs.h >>conftest.$ac_ext
17507 cat >>conftest.$ac_ext <<_ACEOF
17508 /* end confdefs.h. */
17510 #include <strings.h>
17516 strcasecmp("foo
", "bar
");
17522 rm -f conftest.$ac_objext conftest$ac_exeext
17523 if { (ac_try="$ac_link"
17524 case "(($ac_try" in
17525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17526 *) ac_try_echo=$ac_try;;
17528 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17529 (eval "$ac_link") 2>conftest.er1
17531 grep -v '^ *+' conftest.er1 >conftest.err
17533 cat conftest.err >&5
17534 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17535 (exit $ac_status); } && {
17536 test -z "$ac_c_werror_flag" ||
17537 test ! -s conftest.err
17538 } && test -s conftest$ac_exeext &&
17539 $as_test_x conftest$ac_exeext; then
17540 ac_cv_strings_strcasecmp=yes
17542 echo "$as_me: failed program was
:" >&5
17543 sed 's/^/| /' conftest.$ac_ext >&5
17545 ac_cv_strings_strcasecmp=no
17549 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17550 conftest$ac_exeext conftest.$ac_ext
17553 { echo "$as_me:$LINENO: result
: $ac_cv_strings_strcasecmp" >&5
17554 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
17556 if test x"$ac_cv_strings_strcasecmp" = "xyes
"; then
17557 cat >>confdefs.h <<\_ACEOF
17558 #define HAVE_STRCASECMP_IN_STRINGS_H 1
17562 { { echo "$as_me:$LINENO: error
: No
case-insensitive string comparison
function found.
" >&5
17563 echo "$as_me: error
: No
case-insensitive string comparison
function found.
" >&2;}
17564 { (exit 1); exit 1; }; }
17572 { echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
17573 echo $ECHO_N "checking
for ANSI C header files...
$ECHO_C" >&6; }
17574 if test "${ac_cv_header_stdc+set}" = set; then
17575 echo $ECHO_N "(cached
) $ECHO_C" >&6
17577 cat >conftest.$ac_ext <<_ACEOF
17580 cat confdefs.h >>conftest.$ac_ext
17581 cat >>conftest.$ac_ext <<_ACEOF
17582 /* end confdefs.h. */
17583 #include <stdlib.h>
17584 #include <stdarg.h>
17585 #include <string.h>
17596 rm -f conftest.$ac_objext
17597 if { (ac_try="$ac_compile"
17598 case "(($ac_try" in
17599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17600 *) ac_try_echo=$ac_try;;
17602 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17603 (eval "$ac_compile") 2>conftest.er1
17605 grep -v '^ *+' conftest.er1 >conftest.err
17607 cat conftest.err >&5
17608 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17609 (exit $ac_status); } && {
17610 test -z "$ac_c_werror_flag" ||
17611 test ! -s conftest.err
17612 } && test -s conftest.$ac_objext; then
17613 ac_cv_header_stdc=yes
17615 echo "$as_me: failed program was
:" >&5
17616 sed 's/^/| /' conftest.$ac_ext >&5
17618 ac_cv_header_stdc=no
17621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17623 if test $ac_cv_header_stdc = yes; then
17624 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
17625 cat >conftest.$ac_ext <<_ACEOF
17628 cat confdefs.h >>conftest.$ac_ext
17629 cat >>conftest.$ac_ext <<_ACEOF
17630 /* end confdefs.h. */
17631 #include <string.h>
17634 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
17635 $EGREP "memchr
" >/dev/null 2>&1; then
17638 ac_cv_header_stdc=no
17644 if test $ac_cv_header_stdc = yes; then
17645 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
17646 cat >conftest.$ac_ext <<_ACEOF
17649 cat confdefs.h >>conftest.$ac_ext
17650 cat >>conftest.$ac_ext <<_ACEOF
17651 /* end confdefs.h. */
17652 #include <stdlib.h>
17655 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
17656 $EGREP "free
" >/dev/null 2>&1; then
17659 ac_cv_header_stdc=no
17665 if test $ac_cv_header_stdc = yes; then
17666 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
17667 if test "$cross_compiling" = yes; then
17670 cat >conftest.$ac_ext <<_ACEOF
17673 cat confdefs.h >>conftest.$ac_ext
17674 cat >>conftest.$ac_ext <<_ACEOF
17675 /* end confdefs.h. */
17677 #include <stdlib.h>
17678 #if ((' ' & 0x0FF) == 0x020)
17679 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
17680 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
17682 # define ISLOWER(c) \
17683 (('a' <= (c) && (c) <= 'i') \
17684 || ('j' <= (c) && (c) <= 'r') \
17685 || ('s' <= (c) && (c) <= 'z'))
17686 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
17689 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
17694 for (i = 0; i < 256; i++)
17695 if (XOR (islower (i), ISLOWER (i))
17696 || toupper (i) != TOUPPER (i))
17701 rm -f conftest$ac_exeext
17702 if { (ac_try="$ac_link"
17703 case "(($ac_try" in
17704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17705 *) ac_try_echo=$ac_try;;
17707 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17708 (eval "$ac_link") 2>&5
17710 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17711 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17712 { (case "(($ac_try" in
17713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17714 *) ac_try_echo=$ac_try;;
17716 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17717 (eval "$ac_try") 2>&5
17719 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17720 (exit $ac_status); }; }; then
17723 echo "$as_me: program exited with status
$ac_status" >&5
17724 echo "$as_me: failed program was
:" >&5
17725 sed 's/^/| /' conftest.$ac_ext >&5
17727 ( exit $ac_status )
17728 ac_cv_header_stdc=no
17730 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17736 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
17737 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
17738 if test $ac_cv_header_stdc = yes; then
17740 cat >>confdefs.h <<\_ACEOF
17741 #define STDC_HEADERS 1
17746 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
17756 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
17757 inttypes.h stdint.h unistd.h
17759 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
17760 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
17761 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
17762 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
17763 echo $ECHO_N "(cached
) $ECHO_C" >&6
17765 cat >conftest.$ac_ext <<_ACEOF
17768 cat confdefs.h >>conftest.$ac_ext
17769 cat >>conftest.$ac_ext <<_ACEOF
17770 /* end confdefs.h. */
17771 $ac_includes_default
17773 #include <$ac_header>
17775 rm -f conftest.$ac_objext
17776 if { (ac_try="$ac_compile"
17777 case "(($ac_try" in
17778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17779 *) ac_try_echo=$ac_try;;
17781 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17782 (eval "$ac_compile") 2>conftest.er1
17784 grep -v '^ *+' conftest.er1 >conftest.err
17786 cat conftest.err >&5
17787 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17788 (exit $ac_status); } && {
17789 test -z "$ac_c_werror_flag" ||
17790 test ! -s conftest.err
17791 } && test -s conftest.$ac_objext; then
17792 eval "$as_ac_Header=yes"
17794 echo "$as_me: failed program was
:" >&5
17795 sed 's/^/| /' conftest.$ac_ext >&5
17797 eval "$as_ac_Header=no
"
17800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17802 ac_res=`eval echo '${'$as_ac_Header'}'`
17803 { echo "$as_me:$LINENO: result
: $ac_res" >&5
17804 echo "${ECHO_T}$ac_res" >&6; }
17805 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17806 cat >>confdefs.h <<_ACEOF
17807 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
17821 for ac_header in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
17823 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
17824 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
17825 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
17826 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
17827 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
17828 echo $ECHO_N "(cached
) $ECHO_C" >&6
17830 ac_res=`eval echo '${'$as_ac_Header'}'`
17831 { echo "$as_me:$LINENO: result
: $ac_res" >&5
17832 echo "${ECHO_T}$ac_res" >&6; }
17834 # Is the header compilable?
17835 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
17836 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
17837 cat >conftest.$ac_ext <<_ACEOF
17840 cat confdefs.h >>conftest.$ac_ext
17841 cat >>conftest.$ac_ext <<_ACEOF
17842 /* end confdefs.h. */
17843 $ac_includes_default
17844 #include <$ac_header>
17846 rm -f conftest.$ac_objext
17847 if { (ac_try="$ac_compile"
17848 case "(($ac_try" in
17849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17850 *) ac_try_echo=$ac_try;;
17852 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17853 (eval "$ac_compile") 2>conftest.er1
17855 grep -v '^ *+' conftest.er1 >conftest.err
17857 cat conftest.err >&5
17858 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17859 (exit $ac_status); } && {
17860 test -z "$ac_c_werror_flag" ||
17861 test ! -s conftest.err
17862 } && test -s conftest.$ac_objext; then
17863 ac_header_compiler=yes
17865 echo "$as_me: failed program was
:" >&5
17866 sed 's/^/| /' conftest.$ac_ext >&5
17868 ac_header_compiler=no
17871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17872 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
17873 echo "${ECHO_T}$ac_header_compiler" >&6; }
17875 # Is the header present?
17876 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
17877 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
17878 cat >conftest.$ac_ext <<_ACEOF
17881 cat confdefs.h >>conftest.$ac_ext
17882 cat >>conftest.$ac_ext <<_ACEOF
17883 /* end confdefs.h. */
17884 #include <$ac_header>
17886 if { (ac_try="$ac_cpp conftest.
$ac_ext"
17887 case "(($ac_try" in
17888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17889 *) ac_try_echo=$ac_try;;
17891 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17892 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
17894 grep -v '^ *+' conftest.er1 >conftest.err
17896 cat conftest.err >&5
17897 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17898 (exit $ac_status); } >/dev/null && {
17899 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17900 test ! -s conftest.err
17902 ac_header_preproc=yes
17904 echo "$as_me: failed program was
:" >&5
17905 sed 's/^/| /' conftest.$ac_ext >&5
17907 ac_header_preproc=no
17910 rm -f conftest.err conftest.$ac_ext
17911 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
17912 echo "${ECHO_T}$ac_header_preproc" >&6; }
17914 # So? What about this header?
17915 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17917 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
17918 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
17919 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
17920 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
17921 ac_header_preproc=yes
17924 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
17925 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
17926 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
17927 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
17928 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
17929 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
17930 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
17931 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
17932 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
17933 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
17934 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
17935 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
17937 ## ----------------------------------------- ##
17938 ## Report this to wx-dev@lists.wxwidgets.org ##
17939 ## ----------------------------------------- ##
17941 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
17944 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
17945 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
17946 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
17947 echo $ECHO_N "(cached
) $ECHO_C" >&6
17949 eval "$as_ac_Header=\
$ac_header_preproc"
17951 ac_res=`eval echo '${'$as_ac_Header'}'`
17952 { echo "$as_me:$LINENO: result
: $ac_res" >&5
17953 echo "${ECHO_T}$ac_res" >&6; }
17956 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17957 cat >>confdefs.h <<_ACEOF
17958 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
17966 if test "$ac_cv_header_wchar_h" != "yes"; then
17968 for ac_header in wcstr.h
17970 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
17971 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
17972 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
17973 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
17974 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
17975 echo $ECHO_N "(cached
) $ECHO_C" >&6
17977 ac_res=`eval echo '${'$as_ac_Header'}'`
17978 { echo "$as_me:$LINENO: result
: $ac_res" >&5
17979 echo "${ECHO_T}$ac_res" >&6; }
17981 # Is the header compilable?
17982 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
17983 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
17984 cat >conftest.$ac_ext <<_ACEOF
17987 cat confdefs.h >>conftest.$ac_ext
17988 cat >>conftest.$ac_ext <<_ACEOF
17989 /* end confdefs.h. */
17990 $ac_includes_default
17991 #include <$ac_header>
17993 rm -f conftest.$ac_objext
17994 if { (ac_try="$ac_compile"
17995 case "(($ac_try" in
17996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17997 *) ac_try_echo=$ac_try;;
17999 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18000 (eval "$ac_compile") 2>conftest.er1
18002 grep -v '^ *+' conftest.er1 >conftest.err
18004 cat conftest.err >&5
18005 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18006 (exit $ac_status); } && {
18007 test -z "$ac_c_werror_flag" ||
18008 test ! -s conftest.err
18009 } && test -s conftest.$ac_objext; then
18010 ac_header_compiler=yes
18012 echo "$as_me: failed program was
:" >&5
18013 sed 's/^/| /' conftest.$ac_ext >&5
18015 ac_header_compiler=no
18018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18019 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
18020 echo "${ECHO_T}$ac_header_compiler" >&6; }
18022 # Is the header present?
18023 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
18024 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
18025 cat >conftest.$ac_ext <<_ACEOF
18028 cat confdefs.h >>conftest.$ac_ext
18029 cat >>conftest.$ac_ext <<_ACEOF
18030 /* end confdefs.h. */
18031 #include <$ac_header>
18033 if { (ac_try="$ac_cpp conftest.
$ac_ext"
18034 case "(($ac_try" in
18035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18036 *) ac_try_echo=$ac_try;;
18038 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18039 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
18041 grep -v '^ *+' conftest.er1 >conftest.err
18043 cat conftest.err >&5
18044 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18045 (exit $ac_status); } >/dev/null && {
18046 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18047 test ! -s conftest.err
18049 ac_header_preproc=yes
18051 echo "$as_me: failed program was
:" >&5
18052 sed 's/^/| /' conftest.$ac_ext >&5
18054 ac_header_preproc=no
18057 rm -f conftest.err conftest.$ac_ext
18058 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
18059 echo "${ECHO_T}$ac_header_preproc" >&6; }
18061 # So? What about this header?
18062 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18064 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
18065 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
18066 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
18067 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
18068 ac_header_preproc=yes
18071 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
18072 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
18073 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
18074 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
18075 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
18076 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
18077 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
18078 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
18079 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
18080 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
18081 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
18082 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
18084 ## ----------------------------------------- ##
18085 ## Report this to wx-dev@lists.wxwidgets.org ##
18086 ## ----------------------------------------- ##
18088 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
18091 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
18092 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
18093 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18094 echo $ECHO_N "(cached
) $ECHO_C" >&6
18096 eval "$as_ac_Header=\
$ac_header_preproc"
18098 ac_res=`eval echo '${'$as_ac_Header'}'`
18099 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18100 echo "${ECHO_T}$ac_res" >&6; }
18103 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18104 cat >>confdefs.h <<_ACEOF
18105 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
18115 *-pc-os2_emx | *-pc-os2-emx )
18116 if test $ac_cv_header_langinfo_h = "yes" \
18117 -a \( "$wx_cv_gccversion" = "EMX2
" \
18118 -o "$wx_cv_gccversion" = "EMX3
" \
18119 -o "$wx_cv_gccversion" = "Innotek5
" \); then
18120 LIBS="$LIBS -lintl"
18125 if test "$USE_UNIX" = 1 ; then
18127 for ac_header in sys/select.h
18129 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
18130 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18131 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
18132 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
18133 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18134 echo $ECHO_N "(cached
) $ECHO_C" >&6
18136 ac_res=`eval echo '${'$as_ac_Header'}'`
18137 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18138 echo "${ECHO_T}$ac_res" >&6; }
18140 # Is the header compilable?
18141 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
18142 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
18143 cat >conftest.$ac_ext <<_ACEOF
18146 cat confdefs.h >>conftest.$ac_ext
18147 cat >>conftest.$ac_ext <<_ACEOF
18148 /* end confdefs.h. */
18149 $ac_includes_default
18150 #include <$ac_header>
18152 rm -f conftest.$ac_objext
18153 if { (ac_try="$ac_compile"
18154 case "(($ac_try" in
18155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18156 *) ac_try_echo=$ac_try;;
18158 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18159 (eval "$ac_compile") 2>conftest.er1
18161 grep -v '^ *+' conftest.er1 >conftest.err
18163 cat conftest.err >&5
18164 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18165 (exit $ac_status); } && {
18166 test -z "$ac_c_werror_flag" ||
18167 test ! -s conftest.err
18168 } && test -s conftest.$ac_objext; then
18169 ac_header_compiler=yes
18171 echo "$as_me: failed program was
:" >&5
18172 sed 's/^/| /' conftest.$ac_ext >&5
18174 ac_header_compiler=no
18177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18178 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
18179 echo "${ECHO_T}$ac_header_compiler" >&6; }
18181 # Is the header present?
18182 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
18183 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
18184 cat >conftest.$ac_ext <<_ACEOF
18187 cat confdefs.h >>conftest.$ac_ext
18188 cat >>conftest.$ac_ext <<_ACEOF
18189 /* end confdefs.h. */
18190 #include <$ac_header>
18192 if { (ac_try="$ac_cpp conftest.
$ac_ext"
18193 case "(($ac_try" in
18194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18195 *) ac_try_echo=$ac_try;;
18197 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18198 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
18200 grep -v '^ *+' conftest.er1 >conftest.err
18202 cat conftest.err >&5
18203 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18204 (exit $ac_status); } >/dev/null && {
18205 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18206 test ! -s conftest.err
18208 ac_header_preproc=yes
18210 echo "$as_me: failed program was
:" >&5
18211 sed 's/^/| /' conftest.$ac_ext >&5
18213 ac_header_preproc=no
18216 rm -f conftest.err conftest.$ac_ext
18217 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
18218 echo "${ECHO_T}$ac_header_preproc" >&6; }
18220 # So? What about this header?
18221 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18223 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
18224 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
18225 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
18226 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
18227 ac_header_preproc=yes
18230 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
18231 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
18232 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
18233 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
18234 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
18235 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
18236 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
18237 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
18238 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
18239 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
18240 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
18241 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
18243 ## ----------------------------------------- ##
18244 ## Report this to wx-dev@lists.wxwidgets.org ##
18245 ## ----------------------------------------- ##
18247 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
18250 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
18251 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
18252 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18253 echo $ECHO_N "(cached
) $ECHO_C" >&6
18255 eval "$as_ac_Header=\
$ac_header_preproc"
18257 ac_res=`eval echo '${'$as_ac_Header'}'`
18258 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18259 echo "${ECHO_T}$ac_res" >&6; }
18262 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18263 cat >>confdefs.h <<_ACEOF
18264 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
18274 { echo "$as_me:$LINENO: checking
for an ANSI C
-conforming const
" >&5
18275 echo $ECHO_N "checking
for an ANSI C
-conforming const...
$ECHO_C" >&6; }
18276 if test "${ac_cv_c_const+set}" = set; then
18277 echo $ECHO_N "(cached
) $ECHO_C" >&6
18279 cat >conftest.$ac_ext <<_ACEOF
18282 cat confdefs.h >>conftest.$ac_ext
18283 cat >>conftest.$ac_ext <<_ACEOF
18284 /* end confdefs.h. */
18289 /* FIXME: Include the comments suggested by Paul. */
18290 #ifndef __cplusplus
18291 /* Ultrix mips cc rejects this. */
18292 typedef int charset[2];
18294 /* SunOS 4.1.1 cc rejects this. */
18295 char const *const *pcpcc;
18297 /* NEC SVR4.0.2 mips cc rejects this. */
18298 struct point {int x, y;};
18299 static struct point const zero = {0,0};
18300 /* AIX XL C 1.02.0.0 rejects this.
18301 It does not let you subtract one const X* pointer from another in
18302 an arm of an if-expression whose if-part is not a constant
18304 const char *g = "string
";
18305 pcpcc = &g + (g ? g-g : 0);
18306 /* HPUX 7.0 cc rejects these. */
18308 ppc = (char**) pcpcc;
18309 pcpcc = (char const *const *) ppc;
18310 { /* SCO 3.2v4 cc rejects this. */
18312 char const *s = 0 ? (char *) 0 : (char const *) 0;
18317 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18318 int x[] = {25, 17};
18319 const int *foo = &x[0];
18322 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18323 typedef const int *iptr;
18327 { /* AIX XL C 1.02.0.0 rejects this saying
18328 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18329 struct s { int j; const int *ap[3]; };
18330 struct s *b; b->j = 5;
18332 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18333 const int foo = 10;
18334 if (!foo) return 0;
18336 return !cs[0] && !zero.x;
18343 rm -f conftest.$ac_objext
18344 if { (ac_try="$ac_compile"
18345 case "(($ac_try" in
18346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18347 *) ac_try_echo=$ac_try;;
18349 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18350 (eval "$ac_compile") 2>conftest.er1
18352 grep -v '^ *+' conftest.er1 >conftest.err
18354 cat conftest.err >&5
18355 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18356 (exit $ac_status); } && {
18357 test -z "$ac_c_werror_flag" ||
18358 test ! -s conftest.err
18359 } && test -s conftest.$ac_objext; then
18362 echo "$as_me: failed program was
:" >&5
18363 sed 's/^/| /' conftest.$ac_ext >&5
18368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18370 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
18371 echo "${ECHO_T}$ac_cv_c_const" >&6; }
18372 if test $ac_cv_c_const = no; then
18374 cat >>confdefs.h <<\_ACEOF
18380 { echo "$as_me:$LINENO: checking
for inline
" >&5
18381 echo $ECHO_N "checking
for inline...
$ECHO_C" >&6; }
18382 if test "${ac_cv_c_inline+set}" = set; then
18383 echo $ECHO_N "(cached
) $ECHO_C" >&6
18386 for ac_kw in inline __inline__ __inline; do
18387 cat >conftest.$ac_ext <<_ACEOF
18390 cat confdefs.h >>conftest.$ac_ext
18391 cat >>conftest.$ac_ext <<_ACEOF
18392 /* end confdefs.h. */
18393 #ifndef __cplusplus
18395 static $ac_kw foo_t static_foo () {return 0; }
18396 $ac_kw foo_t foo () {return 0; }
18400 rm -f conftest.$ac_objext
18401 if { (ac_try="$ac_compile"
18402 case "(($ac_try" in
18403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18404 *) ac_try_echo=$ac_try;;
18406 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18407 (eval "$ac_compile") 2>conftest.er1
18409 grep -v '^ *+' conftest.er1 >conftest.err
18411 cat conftest.err >&5
18412 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18413 (exit $ac_status); } && {
18414 test -z "$ac_c_werror_flag" ||
18415 test ! -s conftest.err
18416 } && test -s conftest.$ac_objext; then
18417 ac_cv_c_inline=$ac_kw
18419 echo "$as_me: failed program was
:" >&5
18420 sed 's/^/| /' conftest.$ac_ext >&5
18425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18426 test "$ac_cv_c_inline" != no && break
18430 { echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
18431 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
18434 case $ac_cv_c_inline in
18437 case $ac_cv_c_inline in
18439 *) ac_val=$ac_cv_c_inline;;
18441 cat >>confdefs.h <<_ACEOF
18442 #ifndef __cplusplus
18443 #define inline $ac_val
18450 { echo "$as_me:$LINENO: checking
for char
" >&5
18451 echo $ECHO_N "checking
for char...
$ECHO_C" >&6; }
18452 if test "${ac_cv_type_char+set}" = set; then
18453 echo $ECHO_N "(cached
) $ECHO_C" >&6
18455 cat >conftest.$ac_ext <<_ACEOF
18458 cat confdefs.h >>conftest.$ac_ext
18459 cat >>conftest.$ac_ext <<_ACEOF
18460 /* end confdefs.h. */
18461 $ac_includes_default
18462 typedef char ac__type_new_;
18466 if ((ac__type_new_ *) 0)
18468 if (sizeof (ac__type_new_))
18474 rm -f conftest.$ac_objext
18475 if { (ac_try="$ac_compile"
18476 case "(($ac_try" in
18477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18478 *) ac_try_echo=$ac_try;;
18480 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18481 (eval "$ac_compile") 2>conftest.er1
18483 grep -v '^ *+' conftest.er1 >conftest.err
18485 cat conftest.err >&5
18486 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18487 (exit $ac_status); } && {
18488 test -z "$ac_c_werror_flag" ||
18489 test ! -s conftest.err
18490 } && test -s conftest.$ac_objext; then
18491 ac_cv_type_char=yes
18493 echo "$as_me: failed program was
:" >&5
18494 sed 's/^/| /' conftest.$ac_ext >&5
18499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18501 { echo "$as_me:$LINENO: result
: $ac_cv_type_char" >&5
18502 echo "${ECHO_T}$ac_cv_type_char" >&6; }
18504 # The cast to long int works around a bug in the HP C Compiler
18505 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18506 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18507 # This bug is HP SR number 8606223364.
18508 { echo "$as_me:$LINENO: checking size of char
" >&5
18509 echo $ECHO_N "checking size of char...
$ECHO_C" >&6; }
18510 if test "${ac_cv_sizeof_char+set}" = set; then
18511 echo $ECHO_N "(cached
) $ECHO_C" >&6
18513 if test "$cross_compiling" = yes; then
18514 # Depending upon the size, compute the lo and hi bounds.
18515 cat >conftest.$ac_ext <<_ACEOF
18518 cat confdefs.h >>conftest.$ac_ext
18519 cat >>conftest.$ac_ext <<_ACEOF
18520 /* end confdefs.h. */
18521 $ac_includes_default
18522 typedef char ac__type_sizeof_;
18526 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
18533 rm -f conftest.$ac_objext
18534 if { (ac_try="$ac_compile"
18535 case "(($ac_try" in
18536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18537 *) ac_try_echo=$ac_try;;
18539 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18540 (eval "$ac_compile") 2>conftest.er1
18542 grep -v '^ *+' conftest.er1 >conftest.err
18544 cat conftest.err >&5
18545 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18546 (exit $ac_status); } && {
18547 test -z "$ac_c_werror_flag" ||
18548 test ! -s conftest.err
18549 } && test -s conftest.$ac_objext; then
18552 cat >conftest.$ac_ext <<_ACEOF
18555 cat confdefs.h >>conftest.$ac_ext
18556 cat >>conftest.$ac_ext <<_ACEOF
18557 /* end confdefs.h. */
18558 $ac_includes_default
18559 typedef char ac__type_sizeof_;
18563 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18570 rm -f conftest.$ac_objext
18571 if { (ac_try="$ac_compile"
18572 case "(($ac_try" in
18573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18574 *) ac_try_echo=$ac_try;;
18576 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18577 (eval "$ac_compile") 2>conftest.er1
18579 grep -v '^ *+' conftest.er1 >conftest.err
18581 cat conftest.err >&5
18582 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18583 (exit $ac_status); } && {
18584 test -z "$ac_c_werror_flag" ||
18585 test ! -s conftest.err
18586 } && test -s conftest.$ac_objext; then
18587 ac_hi=$ac_mid; break
18589 echo "$as_me: failed program was
:" >&5
18590 sed 's/^/| /' conftest.$ac_ext >&5
18592 ac_lo=`expr $ac_mid + 1`
18593 if test $ac_lo -le $ac_mid; then
18597 ac_mid=`expr 2 '*' $ac_mid + 1`
18600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18603 echo "$as_me: failed program was
:" >&5
18604 sed 's/^/| /' conftest.$ac_ext >&5
18606 cat >conftest.$ac_ext <<_ACEOF
18609 cat confdefs.h >>conftest.$ac_ext
18610 cat >>conftest.$ac_ext <<_ACEOF
18611 /* end confdefs.h. */
18612 $ac_includes_default
18613 typedef char ac__type_sizeof_;
18617 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
18624 rm -f conftest.$ac_objext
18625 if { (ac_try="$ac_compile"
18626 case "(($ac_try" in
18627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18628 *) ac_try_echo=$ac_try;;
18630 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18631 (eval "$ac_compile") 2>conftest.er1
18633 grep -v '^ *+' conftest.er1 >conftest.err
18635 cat conftest.err >&5
18636 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18637 (exit $ac_status); } && {
18638 test -z "$ac_c_werror_flag" ||
18639 test ! -s conftest.err
18640 } && test -s conftest.$ac_objext; then
18643 cat >conftest.$ac_ext <<_ACEOF
18646 cat confdefs.h >>conftest.$ac_ext
18647 cat >>conftest.$ac_ext <<_ACEOF
18648 /* end confdefs.h. */
18649 $ac_includes_default
18650 typedef char ac__type_sizeof_;
18654 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
18661 rm -f conftest.$ac_objext
18662 if { (ac_try="$ac_compile"
18663 case "(($ac_try" in
18664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18665 *) ac_try_echo=$ac_try;;
18667 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18668 (eval "$ac_compile") 2>conftest.er1
18670 grep -v '^ *+' conftest.er1 >conftest.err
18672 cat conftest.err >&5
18673 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18674 (exit $ac_status); } && {
18675 test -z "$ac_c_werror_flag" ||
18676 test ! -s conftest.err
18677 } && test -s conftest.$ac_objext; then
18678 ac_lo=$ac_mid; break
18680 echo "$as_me: failed program was
:" >&5
18681 sed 's/^/| /' conftest.$ac_ext >&5
18683 ac_hi=`expr '(' $ac_mid ')' - 1`
18684 if test $ac_mid -le $ac_hi; then
18688 ac_mid=`expr 2 '*' $ac_mid`
18691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18694 echo "$as_me: failed program was
:" >&5
18695 sed 's/^/| /' conftest.$ac_ext >&5
18700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18704 # Binary search between lo and hi bounds.
18705 while test "x
$ac_lo" != "x
$ac_hi"; do
18706 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18707 cat >conftest.$ac_ext <<_ACEOF
18710 cat confdefs.h >>conftest.$ac_ext
18711 cat >>conftest.$ac_ext <<_ACEOF
18712 /* end confdefs.h. */
18713 $ac_includes_default
18714 typedef char ac__type_sizeof_;
18718 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18725 rm -f conftest.$ac_objext
18726 if { (ac_try="$ac_compile"
18727 case "(($ac_try" in
18728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18729 *) ac_try_echo=$ac_try;;
18731 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18732 (eval "$ac_compile") 2>conftest.er1
18734 grep -v '^ *+' conftest.er1 >conftest.err
18736 cat conftest.err >&5
18737 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18738 (exit $ac_status); } && {
18739 test -z "$ac_c_werror_flag" ||
18740 test ! -s conftest.err
18741 } && test -s conftest.$ac_objext; then
18744 echo "$as_me: failed program was
:" >&5
18745 sed 's/^/| /' conftest.$ac_ext >&5
18747 ac_lo=`expr '(' $ac_mid ')' + 1`
18750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18753 ?*) ac_cv_sizeof_char=$ac_lo;;
18754 '') if test "$ac_cv_type_char" = yes; then
18755 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(char
)
18756 See \
`config.log' for more details." >&5
18757 echo "$as_me: error: cannot compute sizeof (char)
18758 See \`config.log
' for more details." >&2;}
18759 { (exit 77); exit 77; }; }
18761 ac_cv_sizeof_char=0
18765 cat >conftest.$ac_ext <<_ACEOF
18768 cat confdefs.h >>conftest.$ac_ext
18769 cat >>conftest.$ac_ext <<_ACEOF
18770 /* end confdefs.h. */
18771 $ac_includes_default
18772 typedef char ac__type_sizeof_;
18773 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
18774 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
18776 #include <stdlib.h>
18781 FILE *f = fopen ("conftest.val", "w");
18784 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
18786 long int i = longval ();
18787 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18789 fprintf (f, "%ld\n", i);
18793 unsigned long int i = ulongval ();
18794 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18796 fprintf (f, "%lu\n", i);
18798 return ferror (f) || fclose (f) != 0;
18804 rm -f conftest$ac_exeext
18805 if { (ac_try="$ac_link"
18806 case "(($ac_try" in
18807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18808 *) ac_try_echo=$ac_try;;
18810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18811 (eval "$ac_link") 2>&5
18813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18814 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
18815 { (case "(($ac_try" in
18816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18817 *) ac_try_echo=$ac_try;;
18819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18820 (eval "$ac_try") 2>&5
18822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18823 (exit $ac_status); }; }; then
18824 ac_cv_sizeof_char=`cat conftest.val`
18826 echo "$as_me: program exited with status $ac_status" >&5
18827 echo "$as_me: failed program was:" >&5
18828 sed 's
/^
/| /' conftest.$ac_ext >&5
18830 ( exit $ac_status )
18831 if test "$ac_cv_type_char" = yes; then
18832 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char)
18833 See \`config.log' for more details.
" >&5
18834 echo "$as_me: error
: cannot compute sizeof
(char
)
18835 See \
`config.log' for more details." >&2;}
18836 { (exit 77); exit 77; }; }
18838 ac_cv_sizeof_char=0
18841 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18845 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
18846 echo "${ECHO_T}$ac_cv_sizeof_char" >&6; }
18850 cat >>confdefs.h <<_ACEOF
18851 #define SIZEOF_CHAR $ac_cv_sizeof_char
18855 { echo "$as_me:$LINENO: checking for short" >&5
18856 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
18857 if test "${ac_cv_type_short+set}" = set; then
18858 echo $ECHO_N "(cached) $ECHO_C" >&6
18860 cat >conftest.$ac_ext <<_ACEOF
18863 cat confdefs.h >>conftest.$ac_ext
18864 cat >>conftest.$ac_ext <<_ACEOF
18865 /* end confdefs.h. */
18866 $ac_includes_default
18867 typedef short ac__type_new_;
18871 if ((ac__type_new_ *) 0)
18873 if (sizeof (ac__type_new_))
18879 rm -f conftest.$ac_objext
18880 if { (ac_try="$ac_compile"
18881 case "(($ac_try" in
18882 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18883 *) ac_try_echo
=$ac_try;;
18885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18886 (eval "$ac_compile") 2>conftest.er1
18888 grep -v '^ *+' conftest.er1
>conftest.err
18890 cat conftest.err
>&5
18891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18892 (exit $ac_status); } && {
18893 test -z "$ac_c_werror_flag" ||
18894 test ! -s conftest.err
18895 } && test -s conftest.
$ac_objext; then
18896 ac_cv_type_short
=yes
18898 echo "$as_me: failed program was:" >&5
18899 sed 's/^/| /' conftest.
$ac_ext >&5
18901 ac_cv_type_short
=no
18904 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18906 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
18907 echo "${ECHO_T}$ac_cv_type_short" >&6; }
18909 # The cast to long int works around a bug in the HP C Compiler
18910 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18911 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18912 # This bug is HP SR number 8606223364.
18913 { echo "$as_me:$LINENO: checking size of short" >&5
18914 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
18915 if test "${ac_cv_sizeof_short+set}" = set; then
18916 echo $ECHO_N "(cached) $ECHO_C" >&6
18918 if test "$cross_compiling" = yes; then
18919 # Depending upon the size, compute the lo and hi bounds.
18920 cat >conftest.
$ac_ext <<_ACEOF
18923 cat confdefs.h
>>conftest.
$ac_ext
18924 cat >>conftest.
$ac_ext <<_ACEOF
18925 /* end confdefs.h. */
18926 $ac_includes_default
18927 typedef short ac__type_sizeof_;
18931 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
18938 rm -f conftest.
$ac_objext
18939 if { (ac_try
="$ac_compile"
18940 case "(($ac_try" in
18941 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18942 *) ac_try_echo=$ac_try;;
18944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18945 (eval "$ac_compile") 2>conftest.er1
18947 grep -v '^ *+' conftest.er1 >conftest.err
18949 cat conftest.err >&5
18950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18951 (exit $ac_status); } && {
18952 test -z "$ac_c_werror_flag" ||
18953 test ! -s conftest.err
18954 } && test -s conftest.$ac_objext; then
18957 cat >conftest.$ac_ext <<_ACEOF
18960 cat confdefs.h >>conftest.$ac_ext
18961 cat >>conftest.$ac_ext <<_ACEOF
18962 /* end confdefs.h. */
18963 $ac_includes_default
18964 typedef short ac__type_sizeof_;
18968 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18975 rm -f conftest.$ac_objext
18976 if { (ac_try="$ac_compile"
18977 case "(($ac_try" in
18978 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18979 *) ac_try_echo
=$ac_try;;
18981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18982 (eval "$ac_compile") 2>conftest.er1
18984 grep -v '^ *+' conftest.er1
>conftest.err
18986 cat conftest.err
>&5
18987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18988 (exit $ac_status); } && {
18989 test -z "$ac_c_werror_flag" ||
18990 test ! -s conftest.err
18991 } && test -s conftest.
$ac_objext; then
18992 ac_hi
=$ac_mid; break
18994 echo "$as_me: failed program was:" >&5
18995 sed 's/^/| /' conftest.
$ac_ext >&5
18997 ac_lo
=`expr $ac_mid + 1`
18998 if test $ac_lo -le $ac_mid; then
19002 ac_mid
=`expr 2 '*' $ac_mid + 1`
19005 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19008 echo "$as_me: failed program was:" >&5
19009 sed 's/^/| /' conftest.
$ac_ext >&5
19011 cat >conftest.
$ac_ext <<_ACEOF
19014 cat confdefs.h
>>conftest.
$ac_ext
19015 cat >>conftest.
$ac_ext <<_ACEOF
19016 /* end confdefs.h. */
19017 $ac_includes_default
19018 typedef short ac__type_sizeof_;
19022 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19029 rm -f conftest.
$ac_objext
19030 if { (ac_try
="$ac_compile"
19031 case "(($ac_try" in
19032 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19033 *) ac_try_echo=$ac_try;;
19035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19036 (eval "$ac_compile") 2>conftest.er1
19038 grep -v '^ *+' conftest.er1 >conftest.err
19040 cat conftest.err >&5
19041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19042 (exit $ac_status); } && {
19043 test -z "$ac_c_werror_flag" ||
19044 test ! -s conftest.err
19045 } && test -s conftest.$ac_objext; then
19048 cat >conftest.$ac_ext <<_ACEOF
19051 cat confdefs.h >>conftest.$ac_ext
19052 cat >>conftest.$ac_ext <<_ACEOF
19053 /* end confdefs.h. */
19054 $ac_includes_default
19055 typedef short ac__type_sizeof_;
19059 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19066 rm -f conftest.$ac_objext
19067 if { (ac_try="$ac_compile"
19068 case "(($ac_try" in
19069 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19070 *) ac_try_echo
=$ac_try;;
19072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19073 (eval "$ac_compile") 2>conftest.er1
19075 grep -v '^ *+' conftest.er1
>conftest.err
19077 cat conftest.err
>&5
19078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19079 (exit $ac_status); } && {
19080 test -z "$ac_c_werror_flag" ||
19081 test ! -s conftest.err
19082 } && test -s conftest.
$ac_objext; then
19083 ac_lo
=$ac_mid; break
19085 echo "$as_me: failed program was:" >&5
19086 sed 's/^/| /' conftest.
$ac_ext >&5
19088 ac_hi
=`expr '(' $ac_mid ')' - 1`
19089 if test $ac_mid -le $ac_hi; then
19093 ac_mid
=`expr 2 '*' $ac_mid`
19096 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19099 echo "$as_me: failed program was:" >&5
19100 sed 's/^/| /' conftest.
$ac_ext >&5
19105 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19108 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19109 # Binary search between lo and hi bounds.
19110 while test "x$ac_lo" != "x$ac_hi"; do
19111 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19112 cat >conftest.
$ac_ext <<_ACEOF
19115 cat confdefs.h
>>conftest.
$ac_ext
19116 cat >>conftest.
$ac_ext <<_ACEOF
19117 /* end confdefs.h. */
19118 $ac_includes_default
19119 typedef short ac__type_sizeof_;
19123 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19130 rm -f conftest.
$ac_objext
19131 if { (ac_try
="$ac_compile"
19132 case "(($ac_try" in
19133 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19134 *) ac_try_echo=$ac_try;;
19136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19137 (eval "$ac_compile") 2>conftest.er1
19139 grep -v '^ *+' conftest.er1 >conftest.err
19141 cat conftest.err >&5
19142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19143 (exit $ac_status); } && {
19144 test -z "$ac_c_werror_flag" ||
19145 test ! -s conftest.err
19146 } && test -s conftest.$ac_objext; then
19149 echo "$as_me: failed program was:" >&5
19150 sed 's/^/| /' conftest.$ac_ext >&5
19152 ac_lo=`expr '(' $ac_mid ')' + 1`
19155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19158 ?*) ac_cv_sizeof_short=$ac_lo;;
19159 '') if test "$ac_cv_type_short" = yes; then
19160 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19161 See \`config.log
' for more details." >&5
19162 echo "$as_me: error: cannot compute sizeof (short)
19163 See \`config.log' for more details.
" >&2;}
19164 { (exit 77); exit 77; }; }
19166 ac_cv_sizeof_short=0
19170 cat >conftest.$ac_ext <<_ACEOF
19173 cat confdefs.h >>conftest.$ac_ext
19174 cat >>conftest.$ac_ext <<_ACEOF
19175 /* end confdefs.h. */
19176 $ac_includes_default
19177 typedef short ac__type_sizeof_;
19178 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19179 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19181 #include <stdlib.h>
19186 FILE *f = fopen ("conftest.val
", "w
");
19189 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19191 long int i = longval ();
19192 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19194 fprintf (f, "%ld
\n", i);
19198 unsigned long int i = ulongval ();
19199 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19201 fprintf (f, "%lu
\n", i);
19203 return ferror (f) || fclose (f) != 0;
19209 rm -f conftest$ac_exeext
19210 if { (ac_try="$ac_link"
19211 case "(($ac_try" in
19212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19213 *) ac_try_echo=$ac_try;;
19215 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19216 (eval "$ac_link") 2>&5
19218 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19219 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19220 { (case "(($ac_try" in
19221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19222 *) ac_try_echo=$ac_try;;
19224 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19225 (eval "$ac_try") 2>&5
19227 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19228 (exit $ac_status); }; }; then
19229 ac_cv_sizeof_short=`cat conftest.val`
19231 echo "$as_me: program exited with status
$ac_status" >&5
19232 echo "$as_me: failed program was
:" >&5
19233 sed 's/^/| /' conftest.$ac_ext >&5
19235 ( exit $ac_status )
19236 if test "$ac_cv_type_short" = yes; then
19237 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
19238 See \
`config.log' for more details." >&5
19239 echo "$as_me: error: cannot compute sizeof (short)
19240 See \`config.log
' for more details." >&2;}
19241 { (exit 77); exit 77; }; }
19243 ac_cv_sizeof_short=0
19246 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19250 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19251 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
19255 cat >>confdefs.h <<_ACEOF
19256 #define SIZEOF_SHORT $ac_cv_sizeof_short
19260 { echo "$as_me:$LINENO: checking for void *" >&5
19261 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
19262 if test "${ac_cv_type_void_p+set}" = set; then
19263 echo $ECHO_N "(cached) $ECHO_C" >&6
19265 cat >conftest.$ac_ext <<_ACEOF
19268 cat confdefs.h >>conftest.$ac_ext
19269 cat >>conftest.$ac_ext <<_ACEOF
19270 /* end confdefs.h. */
19271 $ac_includes_default
19272 typedef void * ac__type_new_;
19276 if ((ac__type_new_ *) 0)
19278 if (sizeof (ac__type_new_))
19284 rm -f conftest.$ac_objext
19285 if { (ac_try="$ac_compile"
19286 case "(($ac_try" in
19287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19288 *) ac_try_echo=$ac_try;;
19290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19291 (eval "$ac_compile") 2>conftest.er1
19293 grep -v '^
*+' conftest.er1 >conftest.err
19295 cat conftest.err >&5
19296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19297 (exit $ac_status); } && {
19298 test -z "$ac_c_werror_flag" ||
19299 test ! -s conftest.err
19300 } && test -s conftest.$ac_objext; then
19301 ac_cv_type_void_p=yes
19303 echo "$as_me: failed program was:" >&5
19304 sed 's
/^
/| /' conftest.$ac_ext >&5
19306 ac_cv_type_void_p=no
19309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19311 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
19312 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
19314 # The cast to long int works around a bug in the HP C Compiler
19315 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19316 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19317 # This bug is HP SR number 8606223364.
19318 { echo "$as_me:$LINENO: checking size of void *" >&5
19319 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
19320 if test "${ac_cv_sizeof_void_p+set}" = set; then
19321 echo $ECHO_N "(cached) $ECHO_C" >&6
19323 if test "$cross_compiling" = yes; then
19324 # Depending upon the size, compute the lo and hi bounds.
19325 cat >conftest.
$ac_ext <<_ACEOF
19328 cat confdefs.h
>>conftest.
$ac_ext
19329 cat >>conftest.
$ac_ext <<_ACEOF
19330 /* end confdefs.h. */
19331 $ac_includes_default
19332 typedef void * ac__type_sizeof_;
19336 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19343 rm -f conftest.
$ac_objext
19344 if { (ac_try
="$ac_compile"
19345 case "(($ac_try" in
19346 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19347 *) ac_try_echo=$ac_try;;
19349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19350 (eval "$ac_compile") 2>conftest.er1
19352 grep -v '^ *+' conftest.er1 >conftest.err
19354 cat conftest.err >&5
19355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19356 (exit $ac_status); } && {
19357 test -z "$ac_c_werror_flag" ||
19358 test ! -s conftest.err
19359 } && test -s conftest.$ac_objext; then
19362 cat >conftest.$ac_ext <<_ACEOF
19365 cat confdefs.h >>conftest.$ac_ext
19366 cat >>conftest.$ac_ext <<_ACEOF
19367 /* end confdefs.h. */
19368 $ac_includes_default
19369 typedef void * ac__type_sizeof_;
19373 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19380 rm -f conftest.$ac_objext
19381 if { (ac_try="$ac_compile"
19382 case "(($ac_try" in
19383 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19384 *) ac_try_echo
=$ac_try;;
19386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19387 (eval "$ac_compile") 2>conftest.er1
19389 grep -v '^ *+' conftest.er1
>conftest.err
19391 cat conftest.err
>&5
19392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19393 (exit $ac_status); } && {
19394 test -z "$ac_c_werror_flag" ||
19395 test ! -s conftest.err
19396 } && test -s conftest.
$ac_objext; then
19397 ac_hi
=$ac_mid; break
19399 echo "$as_me: failed program was:" >&5
19400 sed 's/^/| /' conftest.
$ac_ext >&5
19402 ac_lo
=`expr $ac_mid + 1`
19403 if test $ac_lo -le $ac_mid; then
19407 ac_mid
=`expr 2 '*' $ac_mid + 1`
19410 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19413 echo "$as_me: failed program was:" >&5
19414 sed 's/^/| /' conftest.
$ac_ext >&5
19416 cat >conftest.
$ac_ext <<_ACEOF
19419 cat confdefs.h
>>conftest.
$ac_ext
19420 cat >>conftest.
$ac_ext <<_ACEOF
19421 /* end confdefs.h. */
19422 $ac_includes_default
19423 typedef void * ac__type_sizeof_;
19427 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19434 rm -f conftest.
$ac_objext
19435 if { (ac_try
="$ac_compile"
19436 case "(($ac_try" in
19437 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19438 *) ac_try_echo=$ac_try;;
19440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19441 (eval "$ac_compile") 2>conftest.er1
19443 grep -v '^ *+' conftest.er1 >conftest.err
19445 cat conftest.err >&5
19446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19447 (exit $ac_status); } && {
19448 test -z "$ac_c_werror_flag" ||
19449 test ! -s conftest.err
19450 } && test -s conftest.$ac_objext; then
19453 cat >conftest.$ac_ext <<_ACEOF
19456 cat confdefs.h >>conftest.$ac_ext
19457 cat >>conftest.$ac_ext <<_ACEOF
19458 /* end confdefs.h. */
19459 $ac_includes_default
19460 typedef void * ac__type_sizeof_;
19464 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19471 rm -f conftest.$ac_objext
19472 if { (ac_try="$ac_compile"
19473 case "(($ac_try" in
19474 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19475 *) ac_try_echo
=$ac_try;;
19477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19478 (eval "$ac_compile") 2>conftest.er1
19480 grep -v '^ *+' conftest.er1
>conftest.err
19482 cat conftest.err
>&5
19483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19484 (exit $ac_status); } && {
19485 test -z "$ac_c_werror_flag" ||
19486 test ! -s conftest.err
19487 } && test -s conftest.
$ac_objext; then
19488 ac_lo
=$ac_mid; break
19490 echo "$as_me: failed program was:" >&5
19491 sed 's/^/| /' conftest.
$ac_ext >&5
19493 ac_hi
=`expr '(' $ac_mid ')' - 1`
19494 if test $ac_mid -le $ac_hi; then
19498 ac_mid
=`expr 2 '*' $ac_mid`
19501 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19504 echo "$as_me: failed program was:" >&5
19505 sed 's/^/| /' conftest.
$ac_ext >&5
19510 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19513 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19514 # Binary search between lo and hi bounds.
19515 while test "x$ac_lo" != "x$ac_hi"; do
19516 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19517 cat >conftest.
$ac_ext <<_ACEOF
19520 cat confdefs.h
>>conftest.
$ac_ext
19521 cat >>conftest.
$ac_ext <<_ACEOF
19522 /* end confdefs.h. */
19523 $ac_includes_default
19524 typedef void * ac__type_sizeof_;
19528 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19535 rm -f conftest.
$ac_objext
19536 if { (ac_try
="$ac_compile"
19537 case "(($ac_try" in
19538 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19539 *) ac_try_echo=$ac_try;;
19541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19542 (eval "$ac_compile") 2>conftest.er1
19544 grep -v '^ *+' conftest.er1 >conftest.err
19546 cat conftest.err >&5
19547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19548 (exit $ac_status); } && {
19549 test -z "$ac_c_werror_flag" ||
19550 test ! -s conftest.err
19551 } && test -s conftest.$ac_objext; then
19554 echo "$as_me: failed program was:" >&5
19555 sed 's/^/| /' conftest.$ac_ext >&5
19557 ac_lo=`expr '(' $ac_mid ')' + 1`
19560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19563 ?*) ac_cv_sizeof_void_p=$ac_lo;;
19564 '') if test "$ac_cv_type_void_p" = yes; then
19565 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19566 See \`config.log
' for more details." >&5
19567 echo "$as_me: error: cannot compute sizeof (void *)
19568 See \`config.log' for more details.
" >&2;}
19569 { (exit 77); exit 77; }; }
19571 ac_cv_sizeof_void_p=0
19575 cat >conftest.$ac_ext <<_ACEOF
19578 cat confdefs.h >>conftest.$ac_ext
19579 cat >>conftest.$ac_ext <<_ACEOF
19580 /* end confdefs.h. */
19581 $ac_includes_default
19582 typedef void * ac__type_sizeof_;
19583 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19584 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19586 #include <stdlib.h>
19591 FILE *f = fopen ("conftest.val
", "w
");
19594 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19596 long int i = longval ();
19597 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19599 fprintf (f, "%ld
\n", i);
19603 unsigned long int i = ulongval ();
19604 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19606 fprintf (f, "%lu
\n", i);
19608 return ferror (f) || fclose (f) != 0;
19614 rm -f conftest$ac_exeext
19615 if { (ac_try="$ac_link"
19616 case "(($ac_try" in
19617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19618 *) ac_try_echo=$ac_try;;
19620 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19621 (eval "$ac_link") 2>&5
19623 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19624 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19625 { (case "(($ac_try" in
19626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19627 *) ac_try_echo=$ac_try;;
19629 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19630 (eval "$ac_try") 2>&5
19632 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19633 (exit $ac_status); }; }; then
19634 ac_cv_sizeof_void_p=`cat conftest.val`
19636 echo "$as_me: program exited with status
$ac_status" >&5
19637 echo "$as_me: failed program was
:" >&5
19638 sed 's/^/| /' conftest.$ac_ext >&5
19640 ( exit $ac_status )
19641 if test "$ac_cv_type_void_p" = yes; then
19642 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
19643 See \
`config.log' for more details." >&5
19644 echo "$as_me: error: cannot compute sizeof (void *)
19645 See \`config.log
' for more details." >&2;}
19646 { (exit 77); exit 77; }; }
19648 ac_cv_sizeof_void_p=0
19651 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19655 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19656 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
19660 cat >>confdefs.h <<_ACEOF
19661 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19665 { echo "$as_me:$LINENO: checking for int" >&5
19666 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
19667 if test "${ac_cv_type_int+set}" = set; then
19668 echo $ECHO_N "(cached) $ECHO_C" >&6
19670 cat >conftest.$ac_ext <<_ACEOF
19673 cat confdefs.h >>conftest.$ac_ext
19674 cat >>conftest.$ac_ext <<_ACEOF
19675 /* end confdefs.h. */
19676 $ac_includes_default
19677 typedef int ac__type_new_;
19681 if ((ac__type_new_ *) 0)
19683 if (sizeof (ac__type_new_))
19689 rm -f conftest.$ac_objext
19690 if { (ac_try="$ac_compile"
19691 case "(($ac_try" in
19692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19693 *) ac_try_echo=$ac_try;;
19695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19696 (eval "$ac_compile") 2>conftest.er1
19698 grep -v '^
*+' conftest.er1 >conftest.err
19700 cat conftest.err >&5
19701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19702 (exit $ac_status); } && {
19703 test -z "$ac_c_werror_flag" ||
19704 test ! -s conftest.err
19705 } && test -s conftest.$ac_objext; then
19708 echo "$as_me: failed program was:" >&5
19709 sed 's
/^
/| /' conftest.$ac_ext >&5
19714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19716 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19717 echo "${ECHO_T}$ac_cv_type_int" >&6; }
19719 # The cast to long int works around a bug in the HP C Compiler
19720 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19721 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19722 # This bug is HP SR number 8606223364.
19723 { echo "$as_me:$LINENO: checking size of int" >&5
19724 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
19725 if test "${ac_cv_sizeof_int+set}" = set; then
19726 echo $ECHO_N "(cached) $ECHO_C" >&6
19728 if test "$cross_compiling" = yes; then
19729 # Depending upon the size, compute the lo and hi bounds.
19730 cat >conftest.
$ac_ext <<_ACEOF
19733 cat confdefs.h
>>conftest.
$ac_ext
19734 cat >>conftest.
$ac_ext <<_ACEOF
19735 /* end confdefs.h. */
19736 $ac_includes_default
19737 typedef int ac__type_sizeof_;
19741 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19748 rm -f conftest.
$ac_objext
19749 if { (ac_try
="$ac_compile"
19750 case "(($ac_try" in
19751 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19752 *) ac_try_echo=$ac_try;;
19754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19755 (eval "$ac_compile") 2>conftest.er1
19757 grep -v '^ *+' conftest.er1 >conftest.err
19759 cat conftest.err >&5
19760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19761 (exit $ac_status); } && {
19762 test -z "$ac_c_werror_flag" ||
19763 test ! -s conftest.err
19764 } && test -s conftest.$ac_objext; then
19767 cat >conftest.$ac_ext <<_ACEOF
19770 cat confdefs.h >>conftest.$ac_ext
19771 cat >>conftest.$ac_ext <<_ACEOF
19772 /* end confdefs.h. */
19773 $ac_includes_default
19774 typedef int ac__type_sizeof_;
19778 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19785 rm -f conftest.$ac_objext
19786 if { (ac_try="$ac_compile"
19787 case "(($ac_try" in
19788 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19789 *) ac_try_echo
=$ac_try;;
19791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19792 (eval "$ac_compile") 2>conftest.er1
19794 grep -v '^ *+' conftest.er1
>conftest.err
19796 cat conftest.err
>&5
19797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19798 (exit $ac_status); } && {
19799 test -z "$ac_c_werror_flag" ||
19800 test ! -s conftest.err
19801 } && test -s conftest.
$ac_objext; then
19802 ac_hi
=$ac_mid; break
19804 echo "$as_me: failed program was:" >&5
19805 sed 's/^/| /' conftest.
$ac_ext >&5
19807 ac_lo
=`expr $ac_mid + 1`
19808 if test $ac_lo -le $ac_mid; then
19812 ac_mid
=`expr 2 '*' $ac_mid + 1`
19815 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19818 echo "$as_me: failed program was:" >&5
19819 sed 's/^/| /' conftest.
$ac_ext >&5
19821 cat >conftest.
$ac_ext <<_ACEOF
19824 cat confdefs.h
>>conftest.
$ac_ext
19825 cat >>conftest.
$ac_ext <<_ACEOF
19826 /* end confdefs.h. */
19827 $ac_includes_default
19828 typedef int ac__type_sizeof_;
19832 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19839 rm -f conftest.
$ac_objext
19840 if { (ac_try
="$ac_compile"
19841 case "(($ac_try" in
19842 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19843 *) ac_try_echo=$ac_try;;
19845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19846 (eval "$ac_compile") 2>conftest.er1
19848 grep -v '^ *+' conftest.er1 >conftest.err
19850 cat conftest.err >&5
19851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19852 (exit $ac_status); } && {
19853 test -z "$ac_c_werror_flag" ||
19854 test ! -s conftest.err
19855 } && test -s conftest.$ac_objext; then
19858 cat >conftest.$ac_ext <<_ACEOF
19861 cat confdefs.h >>conftest.$ac_ext
19862 cat >>conftest.$ac_ext <<_ACEOF
19863 /* end confdefs.h. */
19864 $ac_includes_default
19865 typedef int ac__type_sizeof_;
19869 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19876 rm -f conftest.$ac_objext
19877 if { (ac_try="$ac_compile"
19878 case "(($ac_try" in
19879 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19880 *) ac_try_echo
=$ac_try;;
19882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19883 (eval "$ac_compile") 2>conftest.er1
19885 grep -v '^ *+' conftest.er1
>conftest.err
19887 cat conftest.err
>&5
19888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19889 (exit $ac_status); } && {
19890 test -z "$ac_c_werror_flag" ||
19891 test ! -s conftest.err
19892 } && test -s conftest.
$ac_objext; then
19893 ac_lo
=$ac_mid; break
19895 echo "$as_me: failed program was:" >&5
19896 sed 's/^/| /' conftest.
$ac_ext >&5
19898 ac_hi
=`expr '(' $ac_mid ')' - 1`
19899 if test $ac_mid -le $ac_hi; then
19903 ac_mid
=`expr 2 '*' $ac_mid`
19906 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19909 echo "$as_me: failed program was:" >&5
19910 sed 's/^/| /' conftest.
$ac_ext >&5
19915 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19918 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19919 # Binary search between lo and hi bounds.
19920 while test "x$ac_lo" != "x$ac_hi"; do
19921 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19922 cat >conftest.
$ac_ext <<_ACEOF
19925 cat confdefs.h
>>conftest.
$ac_ext
19926 cat >>conftest.
$ac_ext <<_ACEOF
19927 /* end confdefs.h. */
19928 $ac_includes_default
19929 typedef int ac__type_sizeof_;
19933 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19940 rm -f conftest.
$ac_objext
19941 if { (ac_try
="$ac_compile"
19942 case "(($ac_try" in
19943 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19944 *) ac_try_echo=$ac_try;;
19946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19947 (eval "$ac_compile") 2>conftest.er1
19949 grep -v '^ *+' conftest.er1 >conftest.err
19951 cat conftest.err >&5
19952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19953 (exit $ac_status); } && {
19954 test -z "$ac_c_werror_flag" ||
19955 test ! -s conftest.err
19956 } && test -s conftest.$ac_objext; then
19959 echo "$as_me: failed program was:" >&5
19960 sed 's/^/| /' conftest.$ac_ext >&5
19962 ac_lo=`expr '(' $ac_mid ')' + 1`
19965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19968 ?*) ac_cv_sizeof_int=$ac_lo;;
19969 '') if test "$ac_cv_type_int" = yes; then
19970 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
19971 See \`config.log
' for more details." >&5
19972 echo "$as_me: error: cannot compute sizeof (int)
19973 See \`config.log' for more details.
" >&2;}
19974 { (exit 77); exit 77; }; }
19980 cat >conftest.$ac_ext <<_ACEOF
19983 cat confdefs.h >>conftest.$ac_ext
19984 cat >>conftest.$ac_ext <<_ACEOF
19985 /* end confdefs.h. */
19986 $ac_includes_default
19987 typedef int ac__type_sizeof_;
19988 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19989 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19991 #include <stdlib.h>
19996 FILE *f = fopen ("conftest.val
", "w
");
19999 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20001 long int i = longval ();
20002 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20004 fprintf (f, "%ld
\n", i);
20008 unsigned long int i = ulongval ();
20009 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20011 fprintf (f, "%lu
\n", i);
20013 return ferror (f) || fclose (f) != 0;
20019 rm -f conftest$ac_exeext
20020 if { (ac_try="$ac_link"
20021 case "(($ac_try" in
20022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20023 *) ac_try_echo=$ac_try;;
20025 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20026 (eval "$ac_link") 2>&5
20028 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20029 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20030 { (case "(($ac_try" in
20031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20032 *) ac_try_echo=$ac_try;;
20034 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20035 (eval "$ac_try") 2>&5
20037 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20038 (exit $ac_status); }; }; then
20039 ac_cv_sizeof_int=`cat conftest.val`
20041 echo "$as_me: program exited with status
$ac_status" >&5
20042 echo "$as_me: failed program was
:" >&5
20043 sed 's/^/| /' conftest.$ac_ext >&5
20045 ( exit $ac_status )
20046 if test "$ac_cv_type_int" = yes; then
20047 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
20048 See \
`config.log' for more details." >&5
20049 echo "$as_me: error: cannot compute sizeof (int)
20050 See \`config.log
' for more details." >&2;}
20051 { (exit 77); exit 77; }; }
20056 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20060 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20061 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20065 cat >>confdefs.h <<_ACEOF
20066 #define SIZEOF_INT $ac_cv_sizeof_int
20070 { echo "$as_me:$LINENO: checking for long" >&5
20071 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20072 if test "${ac_cv_type_long+set}" = set; then
20073 echo $ECHO_N "(cached) $ECHO_C" >&6
20075 cat >conftest.$ac_ext <<_ACEOF
20078 cat confdefs.h >>conftest.$ac_ext
20079 cat >>conftest.$ac_ext <<_ACEOF
20080 /* end confdefs.h. */
20081 $ac_includes_default
20082 typedef long ac__type_new_;
20086 if ((ac__type_new_ *) 0)
20088 if (sizeof (ac__type_new_))
20094 rm -f conftest.$ac_objext
20095 if { (ac_try="$ac_compile"
20096 case "(($ac_try" in
20097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20098 *) ac_try_echo=$ac_try;;
20100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20101 (eval "$ac_compile") 2>conftest.er1
20103 grep -v '^
*+' conftest.er1 >conftest.err
20105 cat conftest.err >&5
20106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20107 (exit $ac_status); } && {
20108 test -z "$ac_c_werror_flag" ||
20109 test ! -s conftest.err
20110 } && test -s conftest.$ac_objext; then
20111 ac_cv_type_long=yes
20113 echo "$as_me: failed program was:" >&5
20114 sed 's
/^
/| /' conftest.$ac_ext >&5
20119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20121 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
20122 echo "${ECHO_T}$ac_cv_type_long" >&6; }
20124 # The cast to long int works around a bug in the HP C Compiler
20125 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20126 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20127 # This bug is HP SR number 8606223364.
20128 { echo "$as_me:$LINENO: checking size of long" >&5
20129 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
20130 if test "${ac_cv_sizeof_long+set}" = set; then
20131 echo $ECHO_N "(cached) $ECHO_C" >&6
20133 if test "$cross_compiling" = yes; then
20134 # Depending upon the size, compute the lo and hi bounds.
20135 cat >conftest.
$ac_ext <<_ACEOF
20138 cat confdefs.h
>>conftest.
$ac_ext
20139 cat >>conftest.
$ac_ext <<_ACEOF
20140 /* end confdefs.h. */
20141 $ac_includes_default
20142 typedef long ac__type_sizeof_;
20146 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20153 rm -f conftest.
$ac_objext
20154 if { (ac_try
="$ac_compile"
20155 case "(($ac_try" in
20156 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20157 *) ac_try_echo=$ac_try;;
20159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20160 (eval "$ac_compile") 2>conftest.er1
20162 grep -v '^ *+' conftest.er1 >conftest.err
20164 cat conftest.err >&5
20165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20166 (exit $ac_status); } && {
20167 test -z "$ac_c_werror_flag" ||
20168 test ! -s conftest.err
20169 } && test -s conftest.$ac_objext; then
20172 cat >conftest.$ac_ext <<_ACEOF
20175 cat confdefs.h >>conftest.$ac_ext
20176 cat >>conftest.$ac_ext <<_ACEOF
20177 /* end confdefs.h. */
20178 $ac_includes_default
20179 typedef long ac__type_sizeof_;
20183 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20190 rm -f conftest.$ac_objext
20191 if { (ac_try="$ac_compile"
20192 case "(($ac_try" in
20193 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20194 *) ac_try_echo
=$ac_try;;
20196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20197 (eval "$ac_compile") 2>conftest.er1
20199 grep -v '^ *+' conftest.er1
>conftest.err
20201 cat conftest.err
>&5
20202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20203 (exit $ac_status); } && {
20204 test -z "$ac_c_werror_flag" ||
20205 test ! -s conftest.err
20206 } && test -s conftest.
$ac_objext; then
20207 ac_hi
=$ac_mid; break
20209 echo "$as_me: failed program was:" >&5
20210 sed 's/^/| /' conftest.
$ac_ext >&5
20212 ac_lo
=`expr $ac_mid + 1`
20213 if test $ac_lo -le $ac_mid; then
20217 ac_mid
=`expr 2 '*' $ac_mid + 1`
20220 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20223 echo "$as_me: failed program was:" >&5
20224 sed 's/^/| /' conftest.
$ac_ext >&5
20226 cat >conftest.
$ac_ext <<_ACEOF
20229 cat confdefs.h
>>conftest.
$ac_ext
20230 cat >>conftest.
$ac_ext <<_ACEOF
20231 /* end confdefs.h. */
20232 $ac_includes_default
20233 typedef long ac__type_sizeof_;
20237 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20244 rm -f conftest.
$ac_objext
20245 if { (ac_try
="$ac_compile"
20246 case "(($ac_try" in
20247 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20248 *) ac_try_echo=$ac_try;;
20250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20251 (eval "$ac_compile") 2>conftest.er1
20253 grep -v '^ *+' conftest.er1 >conftest.err
20255 cat conftest.err >&5
20256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20257 (exit $ac_status); } && {
20258 test -z "$ac_c_werror_flag" ||
20259 test ! -s conftest.err
20260 } && test -s conftest.$ac_objext; then
20263 cat >conftest.$ac_ext <<_ACEOF
20266 cat confdefs.h >>conftest.$ac_ext
20267 cat >>conftest.$ac_ext <<_ACEOF
20268 /* end confdefs.h. */
20269 $ac_includes_default
20270 typedef long ac__type_sizeof_;
20274 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20281 rm -f conftest.$ac_objext
20282 if { (ac_try="$ac_compile"
20283 case "(($ac_try" in
20284 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20285 *) ac_try_echo
=$ac_try;;
20287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20288 (eval "$ac_compile") 2>conftest.er1
20290 grep -v '^ *+' conftest.er1
>conftest.err
20292 cat conftest.err
>&5
20293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20294 (exit $ac_status); } && {
20295 test -z "$ac_c_werror_flag" ||
20296 test ! -s conftest.err
20297 } && test -s conftest.
$ac_objext; then
20298 ac_lo
=$ac_mid; break
20300 echo "$as_me: failed program was:" >&5
20301 sed 's/^/| /' conftest.
$ac_ext >&5
20303 ac_hi
=`expr '(' $ac_mid ')' - 1`
20304 if test $ac_mid -le $ac_hi; then
20308 ac_mid
=`expr 2 '*' $ac_mid`
20311 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20314 echo "$as_me: failed program was:" >&5
20315 sed 's/^/| /' conftest.
$ac_ext >&5
20320 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20323 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20324 # Binary search between lo and hi bounds.
20325 while test "x$ac_lo" != "x$ac_hi"; do
20326 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20327 cat >conftest.
$ac_ext <<_ACEOF
20330 cat confdefs.h
>>conftest.
$ac_ext
20331 cat >>conftest.
$ac_ext <<_ACEOF
20332 /* end confdefs.h. */
20333 $ac_includes_default
20334 typedef long ac__type_sizeof_;
20338 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20345 rm -f conftest.
$ac_objext
20346 if { (ac_try
="$ac_compile"
20347 case "(($ac_try" in
20348 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20349 *) ac_try_echo=$ac_try;;
20351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20352 (eval "$ac_compile") 2>conftest.er1
20354 grep -v '^ *+' conftest.er1 >conftest.err
20356 cat conftest.err >&5
20357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20358 (exit $ac_status); } && {
20359 test -z "$ac_c_werror_flag" ||
20360 test ! -s conftest.err
20361 } && test -s conftest.$ac_objext; then
20364 echo "$as_me: failed program was:" >&5
20365 sed 's/^/| /' conftest.$ac_ext >&5
20367 ac_lo=`expr '(' $ac_mid ')' + 1`
20370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20373 ?*) ac_cv_sizeof_long=$ac_lo;;
20374 '') if test "$ac_cv_type_long" = yes; then
20375 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20376 See \`config.log
' for more details." >&5
20377 echo "$as_me: error: cannot compute sizeof (long)
20378 See \`config.log' for more details.
" >&2;}
20379 { (exit 77); exit 77; }; }
20381 ac_cv_sizeof_long=0
20385 cat >conftest.$ac_ext <<_ACEOF
20388 cat confdefs.h >>conftest.$ac_ext
20389 cat >>conftest.$ac_ext <<_ACEOF
20390 /* end confdefs.h. */
20391 $ac_includes_default
20392 typedef long ac__type_sizeof_;
20393 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20394 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20396 #include <stdlib.h>
20401 FILE *f = fopen ("conftest.val
", "w
");
20404 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20406 long int i = longval ();
20407 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20409 fprintf (f, "%ld
\n", i);
20413 unsigned long int i = ulongval ();
20414 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20416 fprintf (f, "%lu
\n", i);
20418 return ferror (f) || fclose (f) != 0;
20424 rm -f conftest$ac_exeext
20425 if { (ac_try="$ac_link"
20426 case "(($ac_try" in
20427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20428 *) ac_try_echo=$ac_try;;
20430 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20431 (eval "$ac_link") 2>&5
20433 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20434 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20435 { (case "(($ac_try" in
20436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20437 *) ac_try_echo=$ac_try;;
20439 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20440 (eval "$ac_try") 2>&5
20442 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20443 (exit $ac_status); }; }; then
20444 ac_cv_sizeof_long=`cat conftest.val`
20446 echo "$as_me: program exited with status
$ac_status" >&5
20447 echo "$as_me: failed program was
:" >&5
20448 sed 's/^/| /' conftest.$ac_ext >&5
20450 ( exit $ac_status )
20451 if test "$ac_cv_type_long" = yes; then
20452 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
20453 See \
`config.log' for more details." >&5
20454 echo "$as_me: error: cannot compute sizeof (long)
20455 See \`config.log
' for more details." >&2;}
20456 { (exit 77); exit 77; }; }
20458 ac_cv_sizeof_long=0
20461 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20465 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20466 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
20470 cat >>confdefs.h <<_ACEOF
20471 #define SIZEOF_LONG $ac_cv_sizeof_long
20475 { echo "$as_me:$LINENO: checking for size_t" >&5
20476 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
20477 if test "${ac_cv_type_size_t+set}" = set; then
20478 echo $ECHO_N "(cached) $ECHO_C" >&6
20480 cat >conftest.$ac_ext <<_ACEOF
20483 cat confdefs.h >>conftest.$ac_ext
20484 cat >>conftest.$ac_ext <<_ACEOF
20485 /* end confdefs.h. */
20486 $ac_includes_default
20487 typedef size_t ac__type_new_;
20491 if ((ac__type_new_ *) 0)
20493 if (sizeof (ac__type_new_))
20499 rm -f conftest.$ac_objext
20500 if { (ac_try="$ac_compile"
20501 case "(($ac_try" in
20502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20503 *) ac_try_echo=$ac_try;;
20505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20506 (eval "$ac_compile") 2>conftest.er1
20508 grep -v '^
*+' conftest.er1 >conftest.err
20510 cat conftest.err >&5
20511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20512 (exit $ac_status); } && {
20513 test -z "$ac_c_werror_flag" ||
20514 test ! -s conftest.err
20515 } && test -s conftest.$ac_objext; then
20516 ac_cv_type_size_t=yes
20518 echo "$as_me: failed program was:" >&5
20519 sed 's
/^
/| /' conftest.$ac_ext >&5
20521 ac_cv_type_size_t=no
20524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20526 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20527 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
20529 # The cast to long int works around a bug in the HP C Compiler
20530 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20531 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20532 # This bug is HP SR number 8606223364.
20533 { echo "$as_me:$LINENO: checking size of size_t" >&5
20534 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
20535 if test "${ac_cv_sizeof_size_t+set}" = set; then
20536 echo $ECHO_N "(cached) $ECHO_C" >&6
20538 if test "$cross_compiling" = yes; then
20539 # Depending upon the size, compute the lo and hi bounds.
20540 cat >conftest.
$ac_ext <<_ACEOF
20543 cat confdefs.h
>>conftest.
$ac_ext
20544 cat >>conftest.
$ac_ext <<_ACEOF
20545 /* end confdefs.h. */
20546 $ac_includes_default
20547 typedef size_t ac__type_sizeof_;
20551 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20558 rm -f conftest.
$ac_objext
20559 if { (ac_try
="$ac_compile"
20560 case "(($ac_try" in
20561 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20562 *) ac_try_echo=$ac_try;;
20564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20565 (eval "$ac_compile") 2>conftest.er1
20567 grep -v '^ *+' conftest.er1 >conftest.err
20569 cat conftest.err >&5
20570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20571 (exit $ac_status); } && {
20572 test -z "$ac_c_werror_flag" ||
20573 test ! -s conftest.err
20574 } && test -s conftest.$ac_objext; then
20577 cat >conftest.$ac_ext <<_ACEOF
20580 cat confdefs.h >>conftest.$ac_ext
20581 cat >>conftest.$ac_ext <<_ACEOF
20582 /* end confdefs.h. */
20583 $ac_includes_default
20584 typedef size_t ac__type_sizeof_;
20588 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20595 rm -f conftest.$ac_objext
20596 if { (ac_try="$ac_compile"
20597 case "(($ac_try" in
20598 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20599 *) ac_try_echo
=$ac_try;;
20601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20602 (eval "$ac_compile") 2>conftest.er1
20604 grep -v '^ *+' conftest.er1
>conftest.err
20606 cat conftest.err
>&5
20607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20608 (exit $ac_status); } && {
20609 test -z "$ac_c_werror_flag" ||
20610 test ! -s conftest.err
20611 } && test -s conftest.
$ac_objext; then
20612 ac_hi
=$ac_mid; break
20614 echo "$as_me: failed program was:" >&5
20615 sed 's/^/| /' conftest.
$ac_ext >&5
20617 ac_lo
=`expr $ac_mid + 1`
20618 if test $ac_lo -le $ac_mid; then
20622 ac_mid
=`expr 2 '*' $ac_mid + 1`
20625 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20628 echo "$as_me: failed program was:" >&5
20629 sed 's/^/| /' conftest.
$ac_ext >&5
20631 cat >conftest.
$ac_ext <<_ACEOF
20634 cat confdefs.h
>>conftest.
$ac_ext
20635 cat >>conftest.
$ac_ext <<_ACEOF
20636 /* end confdefs.h. */
20637 $ac_includes_default
20638 typedef size_t ac__type_sizeof_;
20642 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20649 rm -f conftest.
$ac_objext
20650 if { (ac_try
="$ac_compile"
20651 case "(($ac_try" in
20652 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20653 *) ac_try_echo=$ac_try;;
20655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20656 (eval "$ac_compile") 2>conftest.er1
20658 grep -v '^ *+' conftest.er1 >conftest.err
20660 cat conftest.err >&5
20661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20662 (exit $ac_status); } && {
20663 test -z "$ac_c_werror_flag" ||
20664 test ! -s conftest.err
20665 } && test -s conftest.$ac_objext; then
20668 cat >conftest.$ac_ext <<_ACEOF
20671 cat confdefs.h >>conftest.$ac_ext
20672 cat >>conftest.$ac_ext <<_ACEOF
20673 /* end confdefs.h. */
20674 $ac_includes_default
20675 typedef size_t ac__type_sizeof_;
20679 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20686 rm -f conftest.$ac_objext
20687 if { (ac_try="$ac_compile"
20688 case "(($ac_try" in
20689 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20690 *) ac_try_echo
=$ac_try;;
20692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20693 (eval "$ac_compile") 2>conftest.er1
20695 grep -v '^ *+' conftest.er1
>conftest.err
20697 cat conftest.err
>&5
20698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20699 (exit $ac_status); } && {
20700 test -z "$ac_c_werror_flag" ||
20701 test ! -s conftest.err
20702 } && test -s conftest.
$ac_objext; then
20703 ac_lo
=$ac_mid; break
20705 echo "$as_me: failed program was:" >&5
20706 sed 's/^/| /' conftest.
$ac_ext >&5
20708 ac_hi
=`expr '(' $ac_mid ')' - 1`
20709 if test $ac_mid -le $ac_hi; then
20713 ac_mid
=`expr 2 '*' $ac_mid`
20716 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20719 echo "$as_me: failed program was:" >&5
20720 sed 's/^/| /' conftest.
$ac_ext >&5
20725 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20728 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20729 # Binary search between lo and hi bounds.
20730 while test "x$ac_lo" != "x$ac_hi"; do
20731 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20732 cat >conftest.
$ac_ext <<_ACEOF
20735 cat confdefs.h
>>conftest.
$ac_ext
20736 cat >>conftest.
$ac_ext <<_ACEOF
20737 /* end confdefs.h. */
20738 $ac_includes_default
20739 typedef size_t ac__type_sizeof_;
20743 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20750 rm -f conftest.
$ac_objext
20751 if { (ac_try
="$ac_compile"
20752 case "(($ac_try" in
20753 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20754 *) ac_try_echo=$ac_try;;
20756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20757 (eval "$ac_compile") 2>conftest.er1
20759 grep -v '^ *+' conftest.er1 >conftest.err
20761 cat conftest.err >&5
20762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20763 (exit $ac_status); } && {
20764 test -z "$ac_c_werror_flag" ||
20765 test ! -s conftest.err
20766 } && test -s conftest.$ac_objext; then
20769 echo "$as_me: failed program was:" >&5
20770 sed 's/^/| /' conftest.$ac_ext >&5
20772 ac_lo=`expr '(' $ac_mid ')' + 1`
20775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20778 ?*) ac_cv_sizeof_size_t=$ac_lo;;
20779 '') if test "$ac_cv_type_size_t" = yes; then
20780 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
20781 See \`config.log
' for more details." >&5
20782 echo "$as_me: error: cannot compute sizeof (size_t)
20783 See \`config.log' for more details.
" >&2;}
20784 { (exit 77); exit 77; }; }
20786 ac_cv_sizeof_size_t=0
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 size_t ac__type_sizeof_;
20798 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20799 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20801 #include <stdlib.h>
20806 FILE *f = fopen ("conftest.val
", "w
");
20809 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20811 long int i = longval ();
20812 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20814 fprintf (f, "%ld
\n", i);
20818 unsigned long int i = ulongval ();
20819 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20821 fprintf (f, "%lu
\n", i);
20823 return ferror (f) || fclose (f) != 0;
20829 rm -f conftest$ac_exeext
20830 if { (ac_try="$ac_link"
20831 case "(($ac_try" in
20832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20833 *) ac_try_echo=$ac_try;;
20835 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20836 (eval "$ac_link") 2>&5
20838 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20839 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20840 { (case "(($ac_try" in
20841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20842 *) ac_try_echo=$ac_try;;
20844 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20845 (eval "$ac_try") 2>&5
20847 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20848 (exit $ac_status); }; }; then
20849 ac_cv_sizeof_size_t=`cat conftest.val`
20851 echo "$as_me: program exited with status
$ac_status" >&5
20852 echo "$as_me: failed program was
:" >&5
20853 sed 's/^/| /' conftest.$ac_ext >&5
20855 ( exit $ac_status )
20856 if test "$ac_cv_type_size_t" = yes; then
20857 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(size_t
)
20858 See \
`config.log' for more details." >&5
20859 echo "$as_me: error: cannot compute sizeof (size_t)
20860 See \`config.log
' for more details." >&2;}
20861 { (exit 77); exit 77; }; }
20863 ac_cv_sizeof_size_t=0
20866 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20870 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
20871 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
20875 cat >>confdefs.h <<_ACEOF
20876 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20883 { echo "$as_me:$LINENO: checking for long long" >&5
20884 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
20885 if test "${ac_cv_type_long_long+set}" = set; then
20886 echo $ECHO_N "(cached) $ECHO_C" >&6
20888 cat >conftest.$ac_ext <<_ACEOF
20891 cat confdefs.h >>conftest.$ac_ext
20892 cat >>conftest.$ac_ext <<_ACEOF
20893 /* end confdefs.h. */
20894 $ac_includes_default
20895 typedef long long ac__type_new_;
20899 if ((ac__type_new_ *) 0)
20901 if (sizeof (ac__type_new_))
20907 rm -f conftest.$ac_objext
20908 if { (ac_try="$ac_compile"
20909 case "(($ac_try" in
20910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20911 *) ac_try_echo=$ac_try;;
20913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20914 (eval "$ac_compile") 2>conftest.er1
20916 grep -v '^
*+' conftest.er1 >conftest.err
20918 cat conftest.err >&5
20919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20920 (exit $ac_status); } && {
20921 test -z "$ac_c_werror_flag" ||
20922 test ! -s conftest.err
20923 } && test -s conftest.$ac_objext; then
20924 ac_cv_type_long_long=yes
20926 echo "$as_me: failed program was:" >&5
20927 sed 's
/^
/| /' conftest.$ac_ext >&5
20929 ac_cv_type_long_long=no
20932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20934 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20935 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
20937 # The cast to long int works around a bug in the HP C Compiler
20938 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20939 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20940 # This bug is HP SR number 8606223364.
20941 { echo "$as_me:$LINENO: checking size of long long" >&5
20942 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
20943 if test "${ac_cv_sizeof_long_long+set}" = set; then
20944 echo $ECHO_N "(cached) $ECHO_C" >&6
20946 if test "$cross_compiling" = yes; then
20947 # Depending upon the size, compute the lo and hi bounds.
20948 cat >conftest.
$ac_ext <<_ACEOF
20951 cat confdefs.h
>>conftest.
$ac_ext
20952 cat >>conftest.
$ac_ext <<_ACEOF
20953 /* end confdefs.h. */
20954 $ac_includes_default
20955 typedef long long ac__type_sizeof_;
20959 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20966 rm -f conftest.
$ac_objext
20967 if { (ac_try
="$ac_compile"
20968 case "(($ac_try" in
20969 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20970 *) ac_try_echo=$ac_try;;
20972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20973 (eval "$ac_compile") 2>conftest.er1
20975 grep -v '^ *+' conftest.er1 >conftest.err
20977 cat conftest.err >&5
20978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20979 (exit $ac_status); } && {
20980 test -z "$ac_c_werror_flag" ||
20981 test ! -s conftest.err
20982 } && test -s conftest.$ac_objext; then
20985 cat >conftest.$ac_ext <<_ACEOF
20988 cat confdefs.h >>conftest.$ac_ext
20989 cat >>conftest.$ac_ext <<_ACEOF
20990 /* end confdefs.h. */
20991 $ac_includes_default
20992 typedef long long ac__type_sizeof_;
20996 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21003 rm -f conftest.$ac_objext
21004 if { (ac_try="$ac_compile"
21005 case "(($ac_try" in
21006 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21007 *) ac_try_echo
=$ac_try;;
21009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21010 (eval "$ac_compile") 2>conftest.er1
21012 grep -v '^ *+' conftest.er1
>conftest.err
21014 cat conftest.err
>&5
21015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21016 (exit $ac_status); } && {
21017 test -z "$ac_c_werror_flag" ||
21018 test ! -s conftest.err
21019 } && test -s conftest.
$ac_objext; then
21020 ac_hi
=$ac_mid; break
21022 echo "$as_me: failed program was:" >&5
21023 sed 's/^/| /' conftest.
$ac_ext >&5
21025 ac_lo
=`expr $ac_mid + 1`
21026 if test $ac_lo -le $ac_mid; then
21030 ac_mid
=`expr 2 '*' $ac_mid + 1`
21033 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21036 echo "$as_me: failed program was:" >&5
21037 sed 's/^/| /' conftest.
$ac_ext >&5
21039 cat >conftest.
$ac_ext <<_ACEOF
21042 cat confdefs.h
>>conftest.
$ac_ext
21043 cat >>conftest.
$ac_ext <<_ACEOF
21044 /* end confdefs.h. */
21045 $ac_includes_default
21046 typedef long long ac__type_sizeof_;
21050 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21057 rm -f conftest.
$ac_objext
21058 if { (ac_try
="$ac_compile"
21059 case "(($ac_try" in
21060 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21061 *) ac_try_echo=$ac_try;;
21063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21064 (eval "$ac_compile") 2>conftest.er1
21066 grep -v '^ *+' conftest.er1 >conftest.err
21068 cat conftest.err >&5
21069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21070 (exit $ac_status); } && {
21071 test -z "$ac_c_werror_flag" ||
21072 test ! -s conftest.err
21073 } && test -s conftest.$ac_objext; then
21076 cat >conftest.$ac_ext <<_ACEOF
21079 cat confdefs.h >>conftest.$ac_ext
21080 cat >>conftest.$ac_ext <<_ACEOF
21081 /* end confdefs.h. */
21082 $ac_includes_default
21083 typedef long long ac__type_sizeof_;
21087 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21094 rm -f conftest.$ac_objext
21095 if { (ac_try="$ac_compile"
21096 case "(($ac_try" in
21097 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21098 *) ac_try_echo
=$ac_try;;
21100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21101 (eval "$ac_compile") 2>conftest.er1
21103 grep -v '^ *+' conftest.er1
>conftest.err
21105 cat conftest.err
>&5
21106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21107 (exit $ac_status); } && {
21108 test -z "$ac_c_werror_flag" ||
21109 test ! -s conftest.err
21110 } && test -s conftest.
$ac_objext; then
21111 ac_lo
=$ac_mid; break
21113 echo "$as_me: failed program was:" >&5
21114 sed 's/^/| /' conftest.
$ac_ext >&5
21116 ac_hi
=`expr '(' $ac_mid ')' - 1`
21117 if test $ac_mid -le $ac_hi; then
21121 ac_mid
=`expr 2 '*' $ac_mid`
21124 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21127 echo "$as_me: failed program was:" >&5
21128 sed 's/^/| /' conftest.
$ac_ext >&5
21133 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21136 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21137 # Binary search between lo and hi bounds.
21138 while test "x$ac_lo" != "x$ac_hi"; do
21139 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21140 cat >conftest.
$ac_ext <<_ACEOF
21143 cat confdefs.h
>>conftest.
$ac_ext
21144 cat >>conftest.
$ac_ext <<_ACEOF
21145 /* end confdefs.h. */
21146 $ac_includes_default
21147 typedef long long ac__type_sizeof_;
21151 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21158 rm -f conftest.
$ac_objext
21159 if { (ac_try
="$ac_compile"
21160 case "(($ac_try" in
21161 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21162 *) ac_try_echo=$ac_try;;
21164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21165 (eval "$ac_compile") 2>conftest.er1
21167 grep -v '^ *+' conftest.er1 >conftest.err
21169 cat conftest.err >&5
21170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21171 (exit $ac_status); } && {
21172 test -z "$ac_c_werror_flag" ||
21173 test ! -s conftest.err
21174 } && test -s conftest.$ac_objext; then
21177 echo "$as_me: failed program was:" >&5
21178 sed 's/^/| /' conftest.$ac_ext >&5
21180 ac_lo=`expr '(' $ac_mid ')' + 1`
21183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21186 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21187 '') if test "$ac_cv_type_long_long" = yes; then
21188 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21189 See \`config.log
' for more details." >&5
21190 echo "$as_me: error: cannot compute sizeof (long long)
21191 See \`config.log' for more details.
" >&2;}
21192 { (exit 77); exit 77; }; }
21194 ac_cv_sizeof_long_long=0
21198 cat >conftest.$ac_ext <<_ACEOF
21201 cat confdefs.h >>conftest.$ac_ext
21202 cat >>conftest.$ac_ext <<_ACEOF
21203 /* end confdefs.h. */
21204 $ac_includes_default
21205 typedef long long ac__type_sizeof_;
21206 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21207 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21209 #include <stdlib.h>
21214 FILE *f = fopen ("conftest.val
", "w
");
21217 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21219 long int i = longval ();
21220 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21222 fprintf (f, "%ld
\n", i);
21226 unsigned long int i = ulongval ();
21227 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21229 fprintf (f, "%lu
\n", i);
21231 return ferror (f) || fclose (f) != 0;
21237 rm -f conftest$ac_exeext
21238 if { (ac_try="$ac_link"
21239 case "(($ac_try" in
21240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21241 *) ac_try_echo=$ac_try;;
21243 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21244 (eval "$ac_link") 2>&5
21246 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21247 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21248 { (case "(($ac_try" in
21249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21250 *) ac_try_echo=$ac_try;;
21252 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21253 (eval "$ac_try") 2>&5
21255 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21256 (exit $ac_status); }; }; then
21257 ac_cv_sizeof_long_long=`cat conftest.val`
21259 echo "$as_me: program exited with status
$ac_status" >&5
21260 echo "$as_me: failed program was
:" >&5
21261 sed 's/^/| /' conftest.$ac_ext >&5
21263 ( exit $ac_status )
21264 if test "$ac_cv_type_long_long" = yes; then
21265 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
21266 See \
`config.log' for more details." >&5
21267 echo "$as_me: error: cannot compute sizeof (long long)
21268 See \`config.log
' for more details." >&2;}
21269 { (exit 77); exit 77; }; }
21271 ac_cv_sizeof_long_long=0
21274 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21278 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21279 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21283 cat >>confdefs.h <<_ACEOF
21284 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21290 { echo "$as_me:$LINENO: checking for long long" >&5
21291 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21292 if test "${ac_cv_type_long_long+set}" = set; then
21293 echo $ECHO_N "(cached) $ECHO_C" >&6
21295 cat >conftest.$ac_ext <<_ACEOF
21298 cat confdefs.h >>conftest.$ac_ext
21299 cat >>conftest.$ac_ext <<_ACEOF
21300 /* end confdefs.h. */
21301 $ac_includes_default
21302 typedef long long ac__type_new_;
21306 if ((ac__type_new_ *) 0)
21308 if (sizeof (ac__type_new_))
21314 rm -f conftest.$ac_objext
21315 if { (ac_try="$ac_compile"
21316 case "(($ac_try" in
21317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21318 *) ac_try_echo=$ac_try;;
21320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21321 (eval "$ac_compile") 2>conftest.er1
21323 grep -v '^
*+' conftest.er1 >conftest.err
21325 cat conftest.err >&5
21326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21327 (exit $ac_status); } && {
21328 test -z "$ac_c_werror_flag" ||
21329 test ! -s conftest.err
21330 } && test -s conftest.$ac_objext; then
21331 ac_cv_type_long_long=yes
21333 echo "$as_me: failed program was:" >&5
21334 sed 's
/^
/| /' conftest.$ac_ext >&5
21336 ac_cv_type_long_long=no
21339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21341 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21342 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21344 # The cast to long int works around a bug in the HP C Compiler
21345 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21346 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21347 # This bug is HP SR number 8606223364.
21348 { echo "$as_me:$LINENO: checking size of long long" >&5
21349 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21350 if test "${ac_cv_sizeof_long_long+set}" = set; then
21351 echo $ECHO_N "(cached) $ECHO_C" >&6
21353 if test "$cross_compiling" = yes; then
21354 # Depending upon the size, compute the lo and hi bounds.
21355 cat >conftest.
$ac_ext <<_ACEOF
21358 cat confdefs.h
>>conftest.
$ac_ext
21359 cat >>conftest.
$ac_ext <<_ACEOF
21360 /* end confdefs.h. */
21361 $ac_includes_default
21362 typedef long long ac__type_sizeof_;
21366 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21373 rm -f conftest.
$ac_objext
21374 if { (ac_try
="$ac_compile"
21375 case "(($ac_try" in
21376 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21377 *) ac_try_echo=$ac_try;;
21379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21380 (eval "$ac_compile") 2>conftest.er1
21382 grep -v '^ *+' conftest.er1 >conftest.err
21384 cat conftest.err >&5
21385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21386 (exit $ac_status); } && {
21387 test -z "$ac_c_werror_flag" ||
21388 test ! -s conftest.err
21389 } && test -s conftest.$ac_objext; then
21392 cat >conftest.$ac_ext <<_ACEOF
21395 cat confdefs.h >>conftest.$ac_ext
21396 cat >>conftest.$ac_ext <<_ACEOF
21397 /* end confdefs.h. */
21398 $ac_includes_default
21399 typedef long long ac__type_sizeof_;
21403 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21410 rm -f conftest.$ac_objext
21411 if { (ac_try="$ac_compile"
21412 case "(($ac_try" in
21413 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21414 *) ac_try_echo
=$ac_try;;
21416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21417 (eval "$ac_compile") 2>conftest.er1
21419 grep -v '^ *+' conftest.er1
>conftest.err
21421 cat conftest.err
>&5
21422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21423 (exit $ac_status); } && {
21424 test -z "$ac_c_werror_flag" ||
21425 test ! -s conftest.err
21426 } && test -s conftest.
$ac_objext; then
21427 ac_hi
=$ac_mid; break
21429 echo "$as_me: failed program was:" >&5
21430 sed 's/^/| /' conftest.
$ac_ext >&5
21432 ac_lo
=`expr $ac_mid + 1`
21433 if test $ac_lo -le $ac_mid; then
21437 ac_mid
=`expr 2 '*' $ac_mid + 1`
21440 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21443 echo "$as_me: failed program was:" >&5
21444 sed 's/^/| /' conftest.
$ac_ext >&5
21446 cat >conftest.
$ac_ext <<_ACEOF
21449 cat confdefs.h
>>conftest.
$ac_ext
21450 cat >>conftest.
$ac_ext <<_ACEOF
21451 /* end confdefs.h. */
21452 $ac_includes_default
21453 typedef long long ac__type_sizeof_;
21457 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21464 rm -f conftest.
$ac_objext
21465 if { (ac_try
="$ac_compile"
21466 case "(($ac_try" in
21467 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21468 *) ac_try_echo=$ac_try;;
21470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21471 (eval "$ac_compile") 2>conftest.er1
21473 grep -v '^ *+' conftest.er1 >conftest.err
21475 cat conftest.err >&5
21476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21477 (exit $ac_status); } && {
21478 test -z "$ac_c_werror_flag" ||
21479 test ! -s conftest.err
21480 } && test -s conftest.$ac_objext; then
21483 cat >conftest.$ac_ext <<_ACEOF
21486 cat confdefs.h >>conftest.$ac_ext
21487 cat >>conftest.$ac_ext <<_ACEOF
21488 /* end confdefs.h. */
21489 $ac_includes_default
21490 typedef long long ac__type_sizeof_;
21494 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21501 rm -f conftest.$ac_objext
21502 if { (ac_try="$ac_compile"
21503 case "(($ac_try" in
21504 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21505 *) ac_try_echo
=$ac_try;;
21507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21508 (eval "$ac_compile") 2>conftest.er1
21510 grep -v '^ *+' conftest.er1
>conftest.err
21512 cat conftest.err
>&5
21513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21514 (exit $ac_status); } && {
21515 test -z "$ac_c_werror_flag" ||
21516 test ! -s conftest.err
21517 } && test -s conftest.
$ac_objext; then
21518 ac_lo
=$ac_mid; break
21520 echo "$as_me: failed program was:" >&5
21521 sed 's/^/| /' conftest.
$ac_ext >&5
21523 ac_hi
=`expr '(' $ac_mid ')' - 1`
21524 if test $ac_mid -le $ac_hi; then
21528 ac_mid
=`expr 2 '*' $ac_mid`
21531 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21534 echo "$as_me: failed program was:" >&5
21535 sed 's/^/| /' conftest.
$ac_ext >&5
21540 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21543 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21544 # Binary search between lo and hi bounds.
21545 while test "x$ac_lo" != "x$ac_hi"; do
21546 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21547 cat >conftest.
$ac_ext <<_ACEOF
21550 cat confdefs.h
>>conftest.
$ac_ext
21551 cat >>conftest.
$ac_ext <<_ACEOF
21552 /* end confdefs.h. */
21553 $ac_includes_default
21554 typedef long long ac__type_sizeof_;
21558 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21565 rm -f conftest.
$ac_objext
21566 if { (ac_try
="$ac_compile"
21567 case "(($ac_try" in
21568 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21569 *) ac_try_echo=$ac_try;;
21571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21572 (eval "$ac_compile") 2>conftest.er1
21574 grep -v '^ *+' conftest.er1 >conftest.err
21576 cat conftest.err >&5
21577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21578 (exit $ac_status); } && {
21579 test -z "$ac_c_werror_flag" ||
21580 test ! -s conftest.err
21581 } && test -s conftest.$ac_objext; then
21584 echo "$as_me: failed program was:" >&5
21585 sed 's/^/| /' conftest.$ac_ext >&5
21587 ac_lo=`expr '(' $ac_mid ')' + 1`
21590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21593 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21594 '') if test "$ac_cv_type_long_long" = yes; then
21595 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21596 See \`config.log
' for more details." >&5
21597 echo "$as_me: error: cannot compute sizeof (long long)
21598 See \`config.log' for more details.
" >&2;}
21599 { (exit 77); exit 77; }; }
21601 ac_cv_sizeof_long_long=0
21605 cat >conftest.$ac_ext <<_ACEOF
21608 cat confdefs.h >>conftest.$ac_ext
21609 cat >>conftest.$ac_ext <<_ACEOF
21610 /* end confdefs.h. */
21611 $ac_includes_default
21612 typedef long long ac__type_sizeof_;
21613 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21614 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21616 #include <stdlib.h>
21621 FILE *f = fopen ("conftest.val
", "w
");
21624 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21626 long int i = longval ();
21627 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21629 fprintf (f, "%ld
\n", i);
21633 unsigned long int i = ulongval ();
21634 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21636 fprintf (f, "%lu
\n", i);
21638 return ferror (f) || fclose (f) != 0;
21644 rm -f conftest$ac_exeext
21645 if { (ac_try="$ac_link"
21646 case "(($ac_try" in
21647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21648 *) ac_try_echo=$ac_try;;
21650 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21651 (eval "$ac_link") 2>&5
21653 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21654 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21655 { (case "(($ac_try" in
21656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21657 *) ac_try_echo=$ac_try;;
21659 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21660 (eval "$ac_try") 2>&5
21662 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21663 (exit $ac_status); }; }; then
21664 ac_cv_sizeof_long_long=`cat conftest.val`
21666 echo "$as_me: program exited with status
$ac_status" >&5
21667 echo "$as_me: failed program was
:" >&5
21668 sed 's/^/| /' conftest.$ac_ext >&5
21670 ( exit $ac_status )
21671 if test "$ac_cv_type_long_long" = yes; then
21672 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
21673 See \
`config.log' for more details." >&5
21674 echo "$as_me: error: cannot compute sizeof (long long)
21675 See \`config.log
' for more details." >&2;}
21676 { (exit 77); exit 77; }; }
21678 ac_cv_sizeof_long_long=0
21681 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21685 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21686 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21690 cat >>confdefs.h <<_ACEOF
21691 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21695 if test "$ac_cv_sizeof_long_long" != "0"; then
21696 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
21700 { echo "$as_me:$LINENO: checking for long long" >&5
21701 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21702 if test "${ac_cv_type_long_long+set}" = set; then
21703 echo $ECHO_N "(cached) $ECHO_C" >&6
21705 cat >conftest.$ac_ext <<_ACEOF
21708 cat confdefs.h >>conftest.$ac_ext
21709 cat >>conftest.$ac_ext <<_ACEOF
21710 /* end confdefs.h. */
21711 $ac_includes_default
21712 typedef long long ac__type_new_;
21716 if ((ac__type_new_ *) 0)
21718 if (sizeof (ac__type_new_))
21724 rm -f conftest.$ac_objext
21725 if { (ac_try="$ac_compile"
21726 case "(($ac_try" in
21727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21728 *) ac_try_echo=$ac_try;;
21730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21731 (eval "$ac_compile") 2>conftest.er1
21733 grep -v '^
*+' conftest.er1 >conftest.err
21735 cat conftest.err >&5
21736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21737 (exit $ac_status); } && {
21738 test -z "$ac_c_werror_flag" ||
21739 test ! -s conftest.err
21740 } && test -s conftest.$ac_objext; then
21741 ac_cv_type_long_long=yes
21743 echo "$as_me: failed program was:" >&5
21744 sed 's
/^
/| /' conftest.$ac_ext >&5
21746 ac_cv_type_long_long=no
21749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21751 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21752 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21754 # The cast to long int works around a bug in the HP C Compiler
21755 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21756 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21757 # This bug is HP SR number 8606223364.
21758 { echo "$as_me:$LINENO: checking size of long long" >&5
21759 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21760 if test "${ac_cv_sizeof_long_long+set}" = set; then
21761 echo $ECHO_N "(cached) $ECHO_C" >&6
21763 if test "$cross_compiling" = yes; then
21764 # Depending upon the size, compute the lo and hi bounds.
21765 cat >conftest.
$ac_ext <<_ACEOF
21768 cat confdefs.h
>>conftest.
$ac_ext
21769 cat >>conftest.
$ac_ext <<_ACEOF
21770 /* end confdefs.h. */
21771 $ac_includes_default
21772 typedef long long ac__type_sizeof_;
21776 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21783 rm -f conftest.
$ac_objext
21784 if { (ac_try
="$ac_compile"
21785 case "(($ac_try" in
21786 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21787 *) ac_try_echo=$ac_try;;
21789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21790 (eval "$ac_compile") 2>conftest.er1
21792 grep -v '^ *+' conftest.er1 >conftest.err
21794 cat conftest.err >&5
21795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21796 (exit $ac_status); } && {
21797 test -z "$ac_c_werror_flag" ||
21798 test ! -s conftest.err
21799 } && test -s conftest.$ac_objext; then
21802 cat >conftest.$ac_ext <<_ACEOF
21805 cat confdefs.h >>conftest.$ac_ext
21806 cat >>conftest.$ac_ext <<_ACEOF
21807 /* end confdefs.h. */
21808 $ac_includes_default
21809 typedef long long ac__type_sizeof_;
21813 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21820 rm -f conftest.$ac_objext
21821 if { (ac_try="$ac_compile"
21822 case "(($ac_try" in
21823 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21824 *) ac_try_echo
=$ac_try;;
21826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21827 (eval "$ac_compile") 2>conftest.er1
21829 grep -v '^ *+' conftest.er1
>conftest.err
21831 cat conftest.err
>&5
21832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21833 (exit $ac_status); } && {
21834 test -z "$ac_c_werror_flag" ||
21835 test ! -s conftest.err
21836 } && test -s conftest.
$ac_objext; then
21837 ac_hi
=$ac_mid; break
21839 echo "$as_me: failed program was:" >&5
21840 sed 's/^/| /' conftest.
$ac_ext >&5
21842 ac_lo
=`expr $ac_mid + 1`
21843 if test $ac_lo -le $ac_mid; then
21847 ac_mid
=`expr 2 '*' $ac_mid + 1`
21850 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21853 echo "$as_me: failed program was:" >&5
21854 sed 's/^/| /' conftest.
$ac_ext >&5
21856 cat >conftest.
$ac_ext <<_ACEOF
21859 cat confdefs.h
>>conftest.
$ac_ext
21860 cat >>conftest.
$ac_ext <<_ACEOF
21861 /* end confdefs.h. */
21862 $ac_includes_default
21863 typedef long long ac__type_sizeof_;
21867 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21874 rm -f conftest.
$ac_objext
21875 if { (ac_try
="$ac_compile"
21876 case "(($ac_try" in
21877 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21878 *) ac_try_echo=$ac_try;;
21880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21881 (eval "$ac_compile") 2>conftest.er1
21883 grep -v '^ *+' conftest.er1 >conftest.err
21885 cat conftest.err >&5
21886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21887 (exit $ac_status); } && {
21888 test -z "$ac_c_werror_flag" ||
21889 test ! -s conftest.err
21890 } && test -s conftest.$ac_objext; then
21893 cat >conftest.$ac_ext <<_ACEOF
21896 cat confdefs.h >>conftest.$ac_ext
21897 cat >>conftest.$ac_ext <<_ACEOF
21898 /* end confdefs.h. */
21899 $ac_includes_default
21900 typedef long long ac__type_sizeof_;
21904 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21911 rm -f conftest.$ac_objext
21912 if { (ac_try="$ac_compile"
21913 case "(($ac_try" in
21914 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21915 *) ac_try_echo
=$ac_try;;
21917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21918 (eval "$ac_compile") 2>conftest.er1
21920 grep -v '^ *+' conftest.er1
>conftest.err
21922 cat conftest.err
>&5
21923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21924 (exit $ac_status); } && {
21925 test -z "$ac_c_werror_flag" ||
21926 test ! -s conftest.err
21927 } && test -s conftest.
$ac_objext; then
21928 ac_lo
=$ac_mid; break
21930 echo "$as_me: failed program was:" >&5
21931 sed 's/^/| /' conftest.
$ac_ext >&5
21933 ac_hi
=`expr '(' $ac_mid ')' - 1`
21934 if test $ac_mid -le $ac_hi; then
21938 ac_mid
=`expr 2 '*' $ac_mid`
21941 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21944 echo "$as_me: failed program was:" >&5
21945 sed 's/^/| /' conftest.
$ac_ext >&5
21950 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21953 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21954 # Binary search between lo and hi bounds.
21955 while test "x$ac_lo" != "x$ac_hi"; do
21956 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21957 cat >conftest.
$ac_ext <<_ACEOF
21960 cat confdefs.h
>>conftest.
$ac_ext
21961 cat >>conftest.
$ac_ext <<_ACEOF
21962 /* end confdefs.h. */
21963 $ac_includes_default
21964 typedef long long ac__type_sizeof_;
21968 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21975 rm -f conftest.
$ac_objext
21976 if { (ac_try
="$ac_compile"
21977 case "(($ac_try" in
21978 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21979 *) ac_try_echo=$ac_try;;
21981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21982 (eval "$ac_compile") 2>conftest.er1
21984 grep -v '^ *+' conftest.er1 >conftest.err
21986 cat conftest.err >&5
21987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21988 (exit $ac_status); } && {
21989 test -z "$ac_c_werror_flag" ||
21990 test ! -s conftest.err
21991 } && test -s conftest.$ac_objext; then
21994 echo "$as_me: failed program was:" >&5
21995 sed 's/^/| /' conftest.$ac_ext >&5
21997 ac_lo=`expr '(' $ac_mid ')' + 1`
22000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22003 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22004 '') if test "$ac_cv_type_long_long" = yes; then
22005 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22006 See \`config.log
' for more details." >&5
22007 echo "$as_me: error: cannot compute sizeof (long long)
22008 See \`config.log' for more details.
" >&2;}
22009 { (exit 77); exit 77; }; }
22011 ac_cv_sizeof_long_long=0
22015 cat >conftest.$ac_ext <<_ACEOF
22018 cat confdefs.h >>conftest.$ac_ext
22019 cat >>conftest.$ac_ext <<_ACEOF
22020 /* end confdefs.h. */
22021 $ac_includes_default
22022 typedef long long ac__type_sizeof_;
22023 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22024 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22026 #include <stdlib.h>
22031 FILE *f = fopen ("conftest.val
", "w
");
22034 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22036 long int i = longval ();
22037 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22039 fprintf (f, "%ld
\n", i);
22043 unsigned long int i = ulongval ();
22044 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22046 fprintf (f, "%lu
\n", i);
22048 return ferror (f) || fclose (f) != 0;
22054 rm -f conftest$ac_exeext
22055 if { (ac_try="$ac_link"
22056 case "(($ac_try" in
22057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22058 *) ac_try_echo=$ac_try;;
22060 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22061 (eval "$ac_link") 2>&5
22063 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22064 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22065 { (case "(($ac_try" in
22066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22067 *) ac_try_echo=$ac_try;;
22069 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22070 (eval "$ac_try") 2>&5
22072 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22073 (exit $ac_status); }; }; then
22074 ac_cv_sizeof_long_long=`cat conftest.val`
22076 echo "$as_me: program exited with status
$ac_status" >&5
22077 echo "$as_me: failed program was
:" >&5
22078 sed 's/^/| /' conftest.$ac_ext >&5
22080 ( exit $ac_status )
22081 if test "$ac_cv_type_long_long" = yes; then
22082 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22083 See \
`config.log' for more details." >&5
22084 echo "$as_me: error: cannot compute sizeof (long long)
22085 See \`config.log
' for more details." >&2;}
22086 { (exit 77); exit 77; }; }
22088 ac_cv_sizeof_long_long=0
22091 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22095 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22096 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22100 cat >>confdefs.h <<_ACEOF
22101 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22107 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22108 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
22109 if test "${ac_cv_type_wchar_t+set}" = set; then
22110 echo $ECHO_N "(cached) $ECHO_C" >&6
22112 cat >conftest.$ac_ext <<_ACEOF
22115 cat confdefs.h >>conftest.$ac_ext
22116 cat >>conftest.$ac_ext <<_ACEOF
22117 /* end confdefs.h. */
22119 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
22120 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22121 # error "fake wchar_t"
22123 #ifdef HAVE_WCHAR_H
22125 # include <stddef.h>
22127 # include <wchar.h>
22129 #ifdef HAVE_STDLIB_H
22130 # include <stdlib.h>
22136 typedef wchar_t ac__type_new_
;
22140 if ((ac__type_new_
*) 0)
22142 if (sizeof
(ac__type_new_
))
22148 rm -f conftest.
$ac_objext
22149 if { (ac_try
="$ac_compile"
22150 case "(($ac_try" in
22151 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22152 *) ac_try_echo=$ac_try;;
22154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22155 (eval "$ac_compile") 2>conftest.er1
22157 grep -v '^ *+' conftest.er1 >conftest.err
22159 cat conftest.err >&5
22160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22161 (exit $ac_status); } && {
22162 test -z "$ac_c_werror_flag" ||
22163 test ! -s conftest.err
22164 } && test -s conftest.$ac_objext; then
22165 ac_cv_type_wchar_t=yes
22167 echo "$as_me: failed program was:" >&5
22168 sed 's/^/| /' conftest.$ac_ext >&5
22170 ac_cv_type_wchar_t=no
22173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22175 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
22176 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
22178 # The cast to long int works around a bug in the HP C Compiler
22179 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22180 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
22181 # This bug is HP SR number 8606223364.
22182 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
22183 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
22184 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22185 echo $ECHO_N "(cached) $ECHO_C" >&6
22187 if test "$cross_compiling" = yes; then
22188 # Depending upon the size, compute the lo and hi bounds.
22189 cat >conftest.$ac_ext <<_ACEOF
22192 cat confdefs.h >>conftest.$ac_ext
22193 cat >>conftest.$ac_ext <<_ACEOF
22194 /* end confdefs.h. */
22196 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
22197 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22198 # error "fake wchar_t"
22200 #ifdef HAVE_WCHAR_H
22202 # include <stddef.h>
22204 # include <wchar.h>
22206 #ifdef HAVE_STDLIB_H
22207 # include <stdlib.h>
22213 typedef wchar_t ac__type_sizeof_
;
22217 static int test_array
[1 - 2 * !(((long int
) (sizeof
(ac__type_sizeof_
))) >= 0)];
22224 rm -f conftest.
$ac_objext
22225 if { (ac_try
="$ac_compile"
22226 case "(($ac_try" in
22227 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22228 *) ac_try_echo=$ac_try;;
22230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22231 (eval "$ac_compile") 2>conftest.er1
22233 grep -v '^ *+' conftest.er1 >conftest.err
22235 cat conftest.err >&5
22236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22237 (exit $ac_status); } && {
22238 test -z "$ac_c_werror_flag" ||
22239 test ! -s conftest.err
22240 } && test -s conftest.$ac_objext; then
22243 cat >conftest.$ac_ext <<_ACEOF
22246 cat confdefs.h >>conftest.$ac_ext
22247 cat >>conftest.$ac_ext <<_ACEOF
22248 /* end confdefs.h. */
22250 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22251 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22252 # error "fake wchar_t"
22254 #ifdef HAVE_WCHAR_H
22256 # include <stddef.h>
22258 # include <wchar.h>
22260 #ifdef HAVE_STDLIB_H
22261 # include <stdlib.h>
22267 typedef wchar_t ac__type_sizeof_;
22271 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22278 rm -f conftest.$ac_objext
22279 if { (ac_try="$ac_compile"
22280 case "(($ac_try" in
22281 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22282 *) ac_try_echo
=$ac_try;;
22284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22285 (eval "$ac_compile") 2>conftest.er1
22287 grep -v '^ *+' conftest.er1
>conftest.err
22289 cat conftest.err
>&5
22290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22291 (exit $ac_status); } && {
22292 test -z "$ac_c_werror_flag" ||
22293 test ! -s conftest.err
22294 } && test -s conftest.
$ac_objext; then
22295 ac_hi
=$ac_mid; break
22297 echo "$as_me: failed program was:" >&5
22298 sed 's/^/| /' conftest.
$ac_ext >&5
22300 ac_lo
=`expr $ac_mid + 1`
22301 if test $ac_lo -le $ac_mid; then
22305 ac_mid
=`expr 2 '*' $ac_mid + 1`
22308 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22311 echo "$as_me: failed program was:" >&5
22312 sed 's/^/| /' conftest.
$ac_ext >&5
22314 cat >conftest.
$ac_ext <<_ACEOF
22317 cat confdefs.h
>>conftest.
$ac_ext
22318 cat >>conftest.
$ac_ext <<_ACEOF
22319 /* end confdefs.h. */
22321 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22322 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22323 # error "fake wchar_t"
22325 #ifdef HAVE_WCHAR_H
22327 # include <stddef.h>
22329 # include <wchar.h>
22331 #ifdef HAVE_STDLIB_H
22332 # include <stdlib.h>
22338 typedef wchar_t ac__type_sizeof_;
22342 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22349 rm -f conftest.
$ac_objext
22350 if { (ac_try
="$ac_compile"
22351 case "(($ac_try" in
22352 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22353 *) ac_try_echo=$ac_try;;
22355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22356 (eval "$ac_compile") 2>conftest.er1
22358 grep -v '^ *+' conftest.er1 >conftest.err
22360 cat conftest.err >&5
22361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22362 (exit $ac_status); } && {
22363 test -z "$ac_c_werror_flag" ||
22364 test ! -s conftest.err
22365 } && test -s conftest.$ac_objext; then
22368 cat >conftest.$ac_ext <<_ACEOF
22371 cat confdefs.h >>conftest.$ac_ext
22372 cat >>conftest.$ac_ext <<_ACEOF
22373 /* end confdefs.h. */
22375 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22376 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22377 # error "fake wchar_t"
22379 #ifdef HAVE_WCHAR_H
22381 # include <stddef.h>
22383 # include <wchar.h>
22385 #ifdef HAVE_STDLIB_H
22386 # include <stdlib.h>
22392 typedef wchar_t ac__type_sizeof_;
22396 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22403 rm -f conftest.$ac_objext
22404 if { (ac_try="$ac_compile"
22405 case "(($ac_try" in
22406 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22407 *) ac_try_echo
=$ac_try;;
22409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22410 (eval "$ac_compile") 2>conftest.er1
22412 grep -v '^ *+' conftest.er1
>conftest.err
22414 cat conftest.err
>&5
22415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22416 (exit $ac_status); } && {
22417 test -z "$ac_c_werror_flag" ||
22418 test ! -s conftest.err
22419 } && test -s conftest.
$ac_objext; then
22420 ac_lo
=$ac_mid; break
22422 echo "$as_me: failed program was:" >&5
22423 sed 's/^/| /' conftest.
$ac_ext >&5
22425 ac_hi
=`expr '(' $ac_mid ')' - 1`
22426 if test $ac_mid -le $ac_hi; then
22430 ac_mid
=`expr 2 '*' $ac_mid`
22433 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22436 echo "$as_me: failed program was:" >&5
22437 sed 's/^/| /' conftest.
$ac_ext >&5
22442 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22445 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22446 # Binary search between lo and hi bounds.
22447 while test "x$ac_lo" != "x$ac_hi"; do
22448 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22449 cat >conftest.
$ac_ext <<_ACEOF
22452 cat confdefs.h
>>conftest.
$ac_ext
22453 cat >>conftest.
$ac_ext <<_ACEOF
22454 /* end confdefs.h. */
22456 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22457 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22458 # error "fake wchar_t"
22460 #ifdef HAVE_WCHAR_H
22462 # include <stddef.h>
22464 # include <wchar.h>
22466 #ifdef HAVE_STDLIB_H
22467 # include <stdlib.h>
22473 typedef wchar_t ac__type_sizeof_;
22477 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22484 rm -f conftest.
$ac_objext
22485 if { (ac_try
="$ac_compile"
22486 case "(($ac_try" in
22487 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22488 *) ac_try_echo=$ac_try;;
22490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22491 (eval "$ac_compile") 2>conftest.er1
22493 grep -v '^ *+' conftest.er1 >conftest.err
22495 cat conftest.err >&5
22496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22497 (exit $ac_status); } && {
22498 test -z "$ac_c_werror_flag" ||
22499 test ! -s conftest.err
22500 } && test -s conftest.$ac_objext; then
22503 echo "$as_me: failed program was:" >&5
22504 sed 's/^/| /' conftest.$ac_ext >&5
22506 ac_lo=`expr '(' $ac_mid ')' + 1`
22509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22512 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
22513 '') if test "$ac_cv_type_wchar_t" = yes; then
22514 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22515 See \`config.log
' for more details." >&5
22516 echo "$as_me: error: cannot compute sizeof (wchar_t)
22517 See \`config.log' for more details.
" >&2;}
22518 { (exit 77); exit 77; }; }
22520 ac_cv_sizeof_wchar_t=0
22524 cat >conftest.$ac_ext <<_ACEOF
22527 cat confdefs.h >>conftest.$ac_ext
22528 cat >>conftest.$ac_ext <<_ACEOF
22529 /* end confdefs.h. */
22531 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22532 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22533 # error "fake wchar_t
"
22535 #ifdef HAVE_WCHAR_H
22537 # include <stddef.h>
22539 # include <wchar.h>
22541 #ifdef HAVE_STDLIB_H
22542 # include <stdlib.h>
22548 typedef wchar_t ac__type_sizeof_;
22549 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22550 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22552 #include <stdlib.h>
22557 FILE *f = fopen ("conftest.val
", "w
");
22560 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22562 long int i = longval ();
22563 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22565 fprintf (f, "%ld
\n", i);
22569 unsigned long int i = ulongval ();
22570 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22572 fprintf (f, "%lu
\n", i);
22574 return ferror (f) || fclose (f) != 0;
22580 rm -f conftest$ac_exeext
22581 if { (ac_try="$ac_link"
22582 case "(($ac_try" in
22583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22584 *) ac_try_echo=$ac_try;;
22586 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22587 (eval "$ac_link") 2>&5
22589 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22590 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22591 { (case "(($ac_try" in
22592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22593 *) ac_try_echo=$ac_try;;
22595 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22596 (eval "$ac_try") 2>&5
22598 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22599 (exit $ac_status); }; }; then
22600 ac_cv_sizeof_wchar_t=`cat conftest.val`
22602 echo "$as_me: program exited with status
$ac_status" >&5
22603 echo "$as_me: failed program was
:" >&5
22604 sed 's/^/| /' conftest.$ac_ext >&5
22606 ( exit $ac_status )
22607 if test "$ac_cv_type_wchar_t" = yes; then
22608 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(wchar_t
)
22609 See \
`config.log' for more details." >&5
22610 echo "$as_me: error: cannot compute sizeof (wchar_t)
22611 See \`config.log
' for more details." >&2;}
22612 { (exit 77); exit 77; }; }
22614 ac_cv_sizeof_wchar_t=0
22617 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22621 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22622 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
22626 cat >>confdefs.h <<_ACEOF
22627 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22631 if test "$ac_cv_sizeof_wchar_t" != "0"; then
22637 { echo "$as_me:$LINENO: checking for va_copy" >&5
22638 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
22639 if test "${wx_cv_func_va_copy+set}" = set; then
22640 echo $ECHO_N "(cached) $ECHO_C" >&6
22643 cat >conftest.$ac_ext <<_ACEOF
22645 #include <stdarg.h>
22646 void foo(char *f, ...)
22660 rm -f conftest.$ac_objext conftest$ac_exeext
22661 if { (ac_try="$ac_link"
22662 case "(($ac_try" in
22663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22664 *) ac_try_echo=$ac_try;;
22666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22667 (eval "$ac_link") 2>conftest.er1
22669 grep -v '^
*+' conftest.er1 >conftest.err
22671 cat conftest.err >&5
22672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22673 (exit $ac_status); } && {
22674 test -z "$ac_c_werror_flag" ||
22675 test ! -s conftest.err
22676 } && test -s conftest$ac_exeext &&
22677 $as_test_x conftest$ac_exeext; then
22678 wx_cv_func_va_copy=yes
22680 echo "$as_me: failed program was:" >&5
22681 sed 's
/^
/| /' conftest.$ac_ext >&5
22683 wx_cv_func_va_copy=no
22687 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22688 conftest$ac_exeext conftest.$ac_ext
22692 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22693 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
22695 if test $wx_cv_func_va_copy = "yes"; then
22696 cat >>confdefs.h <<\_ACEOF
22697 #define HAVE_VA_COPY 1
22701 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22702 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
22703 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22704 echo $ECHO_N "(cached) $ECHO_C" >&6
22707 if test "$cross_compiling" = yes; then
22708 wx_cv_type_va_list_lvalue=yes
22711 cat >conftest.$ac_ext <<_ACEOF
22713 #include <stdarg.h>
22714 int foo(char *f, ...)
22719 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22727 return foo("hi", 17);
22730 rm -f conftest$ac_exeext
22731 if { (ac_try="$ac_link"
22732 case "(($ac_try" in
22733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22734 *) ac_try_echo=$ac_try;;
22736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22737 (eval "$ac_link") 2>&5
22739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22740 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
22741 { (case "(($ac_try" in
22742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22743 *) ac_try_echo=$ac_try;;
22745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22746 (eval "$ac_try") 2>&5
22748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22749 (exit $ac_status); }; }; then
22750 wx_cv_type_va_list_lvalue=yes
22752 echo "$as_me: program exited with status $ac_status" >&5
22753 echo "$as_me: failed program was:" >&5
22754 sed 's
/^
/| /' conftest.$ac_ext >&5
22756 ( exit $ac_status )
22757 wx_cv_type_va_list_lvalue=no
22759 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22766 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22767 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
22769 if test $wx_cv_type_va_list_lvalue != "yes"; then
22770 cat >>confdefs.h <<\_ACEOF
22771 #define VA_LIST_IS_ARRAY 1
22777 if test "$wxUSE_VARARG_MACROS" = "yes"; then
22779 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
22780 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
22781 if test "${wx_cv_have_variadic_macros+set}" = set; then
22782 echo $ECHO_N "(cached) $ECHO_C" >&6
22786 ac_cpp='$CXXCPP $CPPFLAGS'
22787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22788 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22791 cat >conftest.$ac_ext <<_ACEOF
22794 cat confdefs.h >>conftest.$ac_ext
22795 cat >>conftest.$ac_ext <<_ACEOF
22796 /* end confdefs.h. */
22799 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
22805 test("%s %d %p", "test", 1, 0);
22812 rm -f conftest.$ac_objext
22813 if { (ac_try="$ac_compile"
22814 case "(($ac_try" in
22815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22816 *) ac_try_echo=$ac_try;;
22818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22819 (eval "$ac_compile") 2>conftest.er1
22821 grep -v '^
*+' conftest.er1 >conftest.err
22823 cat conftest.err >&5
22824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22825 (exit $ac_status); } && {
22826 test -z "$ac_cxx_werror_flag" ||
22827 test ! -s conftest.err
22828 } && test -s conftest.$ac_objext; then
22829 wx_cv_have_variadic_macros=yes
22831 echo "$as_me: failed program was:" >&5
22832 sed 's
/^
/| /' conftest.$ac_ext >&5
22834 wx_cv_have_variadic_macros=no
22838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22840 ac_cpp='$CPP $CPPFLAGS'
22841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22842 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22848 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
22849 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
22851 if test $wx_cv_have_variadic_macros = "yes"; then
22852 cat >>confdefs.h <<\_ACEOF
22853 #define HAVE_VARIADIC_MACROS 1
22859 # Check whether --enable-largefile was given.
22860 if test "${enable_largefile+set}" = set; then
22861 enableval=$enable_largefile;
22864 if test "$enable_largefile" != no; then
22867 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
22868 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
22869 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
22870 echo $ECHO_N "(cached) $ECHO_C" >&6
22873 cat >conftest.$ac_ext <<_ACEOF
22876 cat confdefs.h >>conftest.$ac_ext
22877 cat >>conftest.$ac_ext <<_ACEOF
22878 /* end confdefs.h. */
22879 #define _FILE_OFFSET_BITS 64
22880 #include <sys/types.h>
22885 unsigned int field: sizeof(off_t) == 8;
22892 rm -f conftest.$ac_objext
22893 if { (ac_try="$ac_compile"
22894 case "(($ac_try" in
22895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22896 *) ac_try_echo=$ac_try;;
22898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22899 (eval "$ac_compile") 2>conftest.er1
22901 grep -v '^
*+' conftest.er1 >conftest.err
22903 cat conftest.err >&5
22904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22905 (exit $ac_status); } && {
22906 test -z "$ac_c_werror_flag" ||
22907 test ! -s conftest.err
22908 } && test -s conftest.$ac_objext; then
22909 ac_cv_sys_file_offset_bits=64
22911 echo "$as_me: failed program was:" >&5
22912 sed 's
/^
/| /' conftest.$ac_ext >&5
22914 ac_cv_sys_file_offset_bits=no
22917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22921 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
22922 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
22924 if test "$ac_cv_sys_file_offset_bits" != no; then
22926 cat >>confdefs.h <<_ACEOF
22927 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
22932 if test "x$wx_largefile" != "xyes"; then
22934 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
22935 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
22936 if test "${ac_cv_sys_large_files+set}" = set; then
22937 echo $ECHO_N "(cached) $ECHO_C" >&6
22940 cat >conftest.$ac_ext <<_ACEOF
22943 cat confdefs.h >>conftest.$ac_ext
22944 cat >>conftest.$ac_ext <<_ACEOF
22945 /* end confdefs.h. */
22946 #define _LARGE_FILES 1
22947 #include <sys/types.h>
22952 unsigned int field: sizeof(off_t) == 8;
22959 rm -f conftest.$ac_objext
22960 if { (ac_try="$ac_compile"
22961 case "(($ac_try" in
22962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22963 *) ac_try_echo=$ac_try;;
22965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22966 (eval "$ac_compile") 2>conftest.er1
22968 grep -v '^
*+' conftest.er1 >conftest.err
22970 cat conftest.err >&5
22971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22972 (exit $ac_status); } && {
22973 test -z "$ac_c_werror_flag" ||
22974 test ! -s conftest.err
22975 } && test -s conftest.$ac_objext; then
22976 ac_cv_sys_large_files=1
22978 echo "$as_me: failed program was:" >&5
22979 sed 's
/^
/| /' conftest.$ac_ext >&5
22981 ac_cv_sys_large_files=no
22984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22988 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
22989 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
22991 if test "$ac_cv_sys_large_files" != no; then
22993 cat >>confdefs.h <<_ACEOF
22994 #define _LARGE_FILES $ac_cv_sys_large_files
23001 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23002 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23003 if test "x$wx_largefile" = "xyes"; then
23004 cat >>confdefs.h <<\_ACEOF
23005 #define HAVE_LARGEFILE_SUPPORT 1
23009 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23010 echo "${ECHO_T}$wx_largefile" >&6; }
23014 if test "x$wx_largefile" = "xyes"; then
23015 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
23016 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
23018 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23019 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23020 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23021 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23022 echo $ECHO_N "(cached) $ECHO_C" >&6
23026 ac_cpp='$CXXCPP $CPPFLAGS'
23027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23028 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23031 cat >conftest.$ac_ext <<_ACEOF
23034 cat confdefs.h >>conftest.$ac_ext
23035 cat >>conftest.$ac_ext <<_ACEOF
23036 /* end confdefs.h. */
23042 #ifndef __STDC_EXT__
23050 rm -f conftest.$ac_objext
23051 if { (ac_try="$ac_compile"
23052 case "(($ac_try" in
23053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23054 *) ac_try_echo=$ac_try;;
23056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23057 (eval "$ac_compile") 2>conftest.er1
23059 grep -v '^
*+' conftest.er1 >conftest.err
23061 cat conftest.err >&5
23062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23063 (exit $ac_status); } && {
23064 test -z "$ac_cxx_werror_flag" ||
23065 test ! -s conftest.err
23066 } && test -s conftest.$ac_objext; then
23067 wx_cv_STDC_EXT_required=no
23069 echo "$as_me: failed program was:" >&5
23070 sed 's
/^
/| /' conftest.$ac_ext >&5
23072 wx_cv_STDC_EXT_required=yes
23076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23078 ac_cpp='$CPP $CPPFLAGS'
23079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23080 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23086 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
23087 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
23088 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
23089 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
23093 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
23095 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
23096 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
23097 if test "${ac_cv_sys_largefile_source+set}" = set; then
23098 echo $ECHO_N "(cached) $ECHO_C" >&6
23101 cat >conftest.$ac_ext <<_ACEOF
23104 cat confdefs.h >>conftest.$ac_ext
23105 cat >>conftest.$ac_ext <<_ACEOF
23106 /* end confdefs.h. */
23107 #include <sys/types.h> /* for off_t */
23112 int (*fp) (FILE *, off_t, int) = fseeko;
23113 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23118 rm -f conftest.$ac_objext conftest$ac_exeext
23119 if { (ac_try="$ac_link"
23120 case "(($ac_try" in
23121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23122 *) ac_try_echo=$ac_try;;
23124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23125 (eval "$ac_link") 2>conftest.er1
23127 grep -v '^
*+' conftest.er1 >conftest.err
23129 cat conftest.err >&5
23130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23131 (exit $ac_status); } && {
23132 test -z "$ac_c_werror_flag" ||
23133 test ! -s conftest.err
23134 } && test -s conftest$ac_exeext &&
23135 $as_test_x conftest$ac_exeext; then
23136 ac_cv_sys_largefile_source=no; break
23138 echo "$as_me: failed program was:" >&5
23139 sed 's
/^
/| /' conftest.$ac_ext >&5
23144 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23145 conftest$ac_exeext conftest.$ac_ext
23146 cat >conftest.$ac_ext <<_ACEOF
23149 cat confdefs.h >>conftest.$ac_ext
23150 cat >>conftest.$ac_ext <<_ACEOF
23151 /* end confdefs.h. */
23152 #define _LARGEFILE_SOURCE 1
23153 #include <sys/types.h> /* for off_t */
23158 int (*fp) (FILE *, off_t, int) = fseeko;
23159 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23164 rm -f conftest.$ac_objext conftest$ac_exeext
23165 if { (ac_try="$ac_link"
23166 case "(($ac_try" in
23167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23168 *) ac_try_echo=$ac_try;;
23170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23171 (eval "$ac_link") 2>conftest.er1
23173 grep -v '^
*+' conftest.er1 >conftest.err
23175 cat conftest.err >&5
23176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23177 (exit $ac_status); } && {
23178 test -z "$ac_c_werror_flag" ||
23179 test ! -s conftest.err
23180 } && test -s conftest$ac_exeext &&
23181 $as_test_x conftest$ac_exeext; then
23182 ac_cv_sys_largefile_source=1; break
23184 echo "$as_me: failed program was:" >&5
23185 sed 's
/^
/| /' conftest.$ac_ext >&5
23190 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23191 conftest$ac_exeext conftest.$ac_ext
23192 ac_cv_sys_largefile_source=unknown
23196 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
23197 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
23198 case $ac_cv_sys_largefile_source in #(
23201 cat >>confdefs.h <<_ACEOF
23202 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
23208 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
23209 # in glibc 2.1.3, but that breaks too many other things.
23210 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
23211 if test $ac_cv_sys_largefile_source != unknown; then
23213 cat >>confdefs.h <<\_ACEOF
23214 #define HAVE_FSEEKO 1
23219 if test "$ac_cv_sys_largefile_source" != no; then
23220 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
23224 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23225 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
23226 if test "${ac_cv_c_bigendian+set}" = set; then
23227 echo $ECHO_N "(cached) $ECHO_C" >&6
23229 ac_cv_c_bigendian=unknown
23230 # See if sys/param.h defines the BYTE_ORDER macro.
23231 cat >conftest.$ac_ext <<_ACEOF
23234 cat confdefs.h >>conftest.$ac_ext
23235 cat >>conftest.$ac_ext <<_ACEOF
23236 /* end confdefs.h. */
23237 #include <sys/types.h>
23238 #include <sys/param.h>
23243 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
23244 bogus endian macros
23250 rm -f conftest.$ac_objext
23251 if { (ac_try="$ac_compile"
23252 case "(($ac_try" in
23253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23254 *) ac_try_echo=$ac_try;;
23256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23257 (eval "$ac_compile") 2>conftest.er1
23259 grep -v '^
*+' conftest.er1 >conftest.err
23261 cat conftest.err >&5
23262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23263 (exit $ac_status); } && {
23264 test -z "$ac_c_werror_flag" ||
23265 test ! -s conftest.err
23266 } && test -s conftest.$ac_objext; then
23267 # It does; now see whether it defined to BIG_ENDIAN or not.
23268 cat >conftest.$ac_ext <<_ACEOF
23271 cat confdefs.h >>conftest.$ac_ext
23272 cat >>conftest.$ac_ext <<_ACEOF
23273 /* end confdefs.h. */
23274 #include <sys/types.h>
23275 #include <sys/param.h>
23280 #if BYTE_ORDER != BIG_ENDIAN
23287 rm -f conftest.$ac_objext
23288 if { (ac_try="$ac_compile"
23289 case "(($ac_try" in
23290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23291 *) ac_try_echo=$ac_try;;
23293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23294 (eval "$ac_compile") 2>conftest.er1
23296 grep -v '^
*+' conftest.er1 >conftest.err
23298 cat conftest.err >&5
23299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23300 (exit $ac_status); } && {
23301 test -z "$ac_c_werror_flag" ||
23302 test ! -s conftest.err
23303 } && test -s conftest.$ac_objext; then
23304 ac_cv_c_bigendian=yes
23306 echo "$as_me: failed program was:" >&5
23307 sed 's
/^
/| /' conftest.$ac_ext >&5
23309 ac_cv_c_bigendian=no
23312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23314 echo "$as_me: failed program was:" >&5
23315 sed 's
/^
/| /' conftest.$ac_ext >&5
23320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23321 if test $ac_cv_c_bigendian = unknown; then
23322 if test "$cross_compiling" = yes; then
23323 ac_cv_c_bigendian=unknown
23325 cat >conftest.$ac_ext <<_ACEOF
23328 cat confdefs.h >>conftest.$ac_ext
23329 cat >>conftest.$ac_ext <<_ACEOF
23330 /* end confdefs.h. */
23332 /* Are we little or big endian? From Harbison&Steele. */
23336 char c[sizeof (long)];
23339 exit (u.c[sizeof (long) - 1] == 1);
23342 rm -f conftest$ac_exeext
23343 if { (ac_try="$ac_link"
23344 case "(($ac_try" in
23345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23346 *) ac_try_echo=$ac_try;;
23348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23349 (eval "$ac_link") 2>&5
23351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23352 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
23353 { (case "(($ac_try" in
23354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23355 *) ac_try_echo=$ac_try;;
23357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23358 (eval "$ac_try") 2>&5
23360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23361 (exit $ac_status); }; }; then
23362 ac_cv_c_bigendian=no
23364 echo "$as_me: program exited with status $ac_status" >&5
23365 echo "$as_me: failed program was:" >&5
23366 sed 's
/^
/| /' conftest.$ac_ext >&5
23368 ( exit $ac_status )
23369 ac_cv_c_bigendian=yes
23371 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23377 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
23378 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
23379 if test $ac_cv_c_bigendian = unknown; then
23380 { 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
23381 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;}
23383 if test $ac_cv_c_bigendian = yes; then
23384 cat >>confdefs.h <<\_ACEOF
23385 #define WORDS_BIGENDIAN 1
23392 ac_cpp='$CXXCPP $CPPFLAGS'
23393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23394 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23396 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
23397 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
23398 if test -z "$CXXCPP"; then
23399 if test "${ac_cv_prog_CXXCPP+set}" = set; then
23400 echo $ECHO_N "(cached) $ECHO_C" >&6
23402 # Double quotes because CXXCPP needs to be expanded
23403 for CXXCPP in "$CXX -E" "/lib/cpp"
23405 ac_preproc_ok=false
23406 for ac_cxx_preproc_warn_flag in '' yes
23408 # Use a header file that comes with gcc, so configuring glibc
23409 # with a fresh cross-compiler works.
23410 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23411 # <limits.h> exists even on freestanding compilers.
23412 # On the NeXT, cc -E runs the code through the compiler's parser
,
23413 # not just through cpp. "Syntax error" is here to catch this case.
23414 cat >conftest.
$ac_ext <<_ACEOF
23417 cat confdefs.h
>>conftest.
$ac_ext
23418 cat >>conftest.
$ac_ext <<_ACEOF
23419 /* end confdefs.h. */
23421 # include <limits.h>
23423 # include <assert.h>
23427 if { (ac_try
="$ac_cpp conftest.$ac_ext"
23428 case "(($ac_try" in
23429 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23430 *) ac_try_echo=$ac_try;;
23432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23433 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23435 grep -v '^ *+' conftest.er1 >conftest.err
23437 cat conftest.err >&5
23438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23439 (exit $ac_status); } >/dev/null && {
23440 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
23441 test ! -s conftest.err
23445 echo "$as_me: failed program was:" >&5
23446 sed 's/^/| /' conftest.$ac_ext >&5
23448 # Broken: fails on valid input.
23452 rm -f conftest.err conftest.$ac_ext
23454 # OK, works on sane cases. Now check whether nonexistent headers
23455 # can be detected and how.
23456 cat >conftest.$ac_ext <<_ACEOF
23459 cat confdefs.h >>conftest.$ac_ext
23460 cat >>conftest.$ac_ext <<_ACEOF
23461 /* end confdefs.h. */
23462 #include <ac_nonexistent.h>
23464 if { (ac_try="$ac_cpp conftest.$ac_ext"
23465 case "(($ac_try" in
23466 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23467 *) ac_try_echo
=$ac_try;;
23469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23470 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23472 grep -v '^ *+' conftest.er1
>conftest.err
23474 cat conftest.err
>&5
23475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23476 (exit $ac_status); } >/dev
/null
&& {
23477 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
23478 test ! -s conftest.err
23480 # Broken: success on invalid input.
23483 echo "$as_me: failed program was:" >&5
23484 sed 's/^/| /' conftest.
$ac_ext >&5
23486 # Passes both tests.
23491 rm -f conftest.err conftest.
$ac_ext
23494 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
23495 rm -f conftest.err conftest.
$ac_ext
23496 if $ac_preproc_ok; then
23501 ac_cv_prog_CXXCPP
=$CXXCPP
23504 CXXCPP
=$ac_cv_prog_CXXCPP
23506 ac_cv_prog_CXXCPP
=$CXXCPP
23508 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
23509 echo "${ECHO_T}$CXXCPP" >&6; }
23510 ac_preproc_ok
=false
23511 for ac_cxx_preproc_warn_flag
in '' yes
23513 # Use a header file that comes with gcc, so configuring glibc
23514 # with a fresh cross-compiler works.
23515 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23516 # <limits.h> exists even on freestanding compilers.
23517 # On the NeXT, cc -E runs the code through the compiler's parser,
23518 # not just through cpp. "Syntax error" is here to catch this case.
23519 cat >conftest.
$ac_ext <<_ACEOF
23522 cat confdefs.h
>>conftest.
$ac_ext
23523 cat >>conftest.
$ac_ext <<_ACEOF
23524 /* end confdefs.h. */
23526 # include <limits.h>
23528 # include <assert.h>
23532 if { (ac_try
="$ac_cpp conftest.$ac_ext"
23533 case "(($ac_try" in
23534 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23535 *) ac_try_echo=$ac_try;;
23537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23538 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23540 grep -v '^ *+' conftest.er1 >conftest.err
23542 cat conftest.err >&5
23543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23544 (exit $ac_status); } >/dev/null && {
23545 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
23546 test ! -s conftest.err
23550 echo "$as_me: failed program was:" >&5
23551 sed 's/^/| /' conftest.$ac_ext >&5
23553 # Broken: fails on valid input.
23557 rm -f conftest.err conftest.$ac_ext
23559 # OK, works on sane cases. Now check whether nonexistent headers
23560 # can be detected and how.
23561 cat >conftest.$ac_ext <<_ACEOF
23564 cat confdefs.h >>conftest.$ac_ext
23565 cat >>conftest.$ac_ext <<_ACEOF
23566 /* end confdefs.h. */
23567 #include <ac_nonexistent.h>
23569 if { (ac_try="$ac_cpp conftest.$ac_ext"
23570 case "(($ac_try" in
23571 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23572 *) ac_try_echo
=$ac_try;;
23574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23575 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23577 grep -v '^ *+' conftest.er1
>conftest.err
23579 cat conftest.err
>&5
23580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23581 (exit $ac_status); } >/dev
/null
&& {
23582 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
23583 test ! -s conftest.err
23585 # Broken: success on invalid input.
23588 echo "$as_me: failed program was:" >&5
23589 sed 's/^/| /' conftest.
$ac_ext >&5
23591 # Passes both tests.
23596 rm -f conftest.err conftest.
$ac_ext
23599 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
23600 rm -f conftest.err conftest.
$ac_ext
23601 if $ac_preproc_ok; then
23604 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
23605 See \`config.log' for more details." >&5
23606 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
23607 See \`config.log' for more details." >&2;}
23608 { (exit 1); exit 1; }; }
23612 ac_cpp
='$CXXCPP $CPPFLAGS'
23613 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23614 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23615 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23621 ac_cpp
='$CXXCPP $CPPFLAGS'
23622 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23623 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23624 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23628 for ac_header
in iostream
23630 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23631 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23632 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23633 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23634 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23635 echo $ECHO_N "(cached) $ECHO_C" >&6
23637 ac_res
=`eval echo '${'$as_ac_Header'}'`
23638 { echo "$as_me:$LINENO: result: $ac_res" >&5
23639 echo "${ECHO_T}$ac_res" >&6; }
23641 # Is the header compilable?
23642 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
23643 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
23644 cat >conftest.
$ac_ext <<_ACEOF
23647 cat confdefs.h
>>conftest.
$ac_ext
23648 cat >>conftest.
$ac_ext <<_ACEOF
23649 /* end confdefs.h. */
23650 $ac_includes_default
23651 #include <$ac_header>
23653 rm -f conftest.
$ac_objext
23654 if { (ac_try
="$ac_compile"
23655 case "(($ac_try" in
23656 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23657 *) ac_try_echo=$ac_try;;
23659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23660 (eval "$ac_compile") 2>conftest.er1
23662 grep -v '^ *+' conftest.er1 >conftest.err
23664 cat conftest.err >&5
23665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23666 (exit $ac_status); } && {
23667 test -z "$ac_cxx_werror_flag" ||
23668 test ! -s conftest.err
23669 } && test -s conftest.$ac_objext; then
23670 ac_header_compiler=yes
23672 echo "$as_me: failed program was:" >&5
23673 sed 's/^/| /' conftest.$ac_ext >&5
23675 ac_header_compiler=no
23678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23679 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23680 echo "${ECHO_T}$ac_header_compiler" >&6; }
23682 # Is the header present?
23683 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
23684 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
23685 cat >conftest.$ac_ext <<_ACEOF
23688 cat confdefs.h >>conftest.$ac_ext
23689 cat >>conftest.$ac_ext <<_ACEOF
23690 /* end confdefs.h. */
23691 #include <$ac_header>
23693 if { (ac_try="$ac_cpp conftest.$ac_ext"
23694 case "(($ac_try" in
23695 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23696 *) ac_try_echo
=$ac_try;;
23698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23699 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23701 grep -v '^ *+' conftest.er1
>conftest.err
23703 cat conftest.err
>&5
23704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23705 (exit $ac_status); } >/dev
/null
&& {
23706 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
23707 test ! -s conftest.err
23709 ac_header_preproc
=yes
23711 echo "$as_me: failed program was:" >&5
23712 sed 's/^/| /' conftest.
$ac_ext >&5
23714 ac_header_preproc
=no
23717 rm -f conftest.err conftest.
$ac_ext
23718 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23719 echo "${ECHO_T}$ac_header_preproc" >&6; }
23721 # So? What about this header?
23722 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23724 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23725 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23726 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23727 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23728 ac_header_preproc
=yes
23731 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23732 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23733 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23734 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23735 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23736 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23737 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23738 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23739 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23740 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23741 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23742 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23744 ## ----------------------------------------- ##
23745 ## Report this to wx-dev@lists.wxwidgets.org ##
23746 ## ----------------------------------------- ##
23748 ) | sed "s/^/$as_me: WARNING: /" >&2
23751 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23752 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23753 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23754 echo $ECHO_N "(cached) $ECHO_C" >&6
23756 eval "$as_ac_Header=\$ac_header_preproc"
23758 ac_res
=`eval echo '${'$as_ac_Header'}'`
23759 { echo "$as_me:$LINENO: result: $ac_res" >&5
23760 echo "${ECHO_T}$ac_res" >&6; }
23763 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23764 cat >>confdefs.h
<<_ACEOF
23765 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23773 if test "$ac_cv_header_iostream" = "yes" ; then
23776 cat >>confdefs.h
<<\_ACEOF
23777 #define wxUSE_IOSTREAMH 1
23783 ac_cpp
='$CPP $CPPFLAGS'
23784 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23785 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23786 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23791 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23792 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
23793 if test "${wx_cv_cpp_bool+set}" = set; then
23794 echo $ECHO_N "(cached) $ECHO_C" >&6
23799 ac_cpp
='$CXXCPP $CPPFLAGS'
23800 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23801 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23802 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23805 cat >conftest.
$ac_ext <<_ACEOF
23808 cat confdefs.h
>>conftest.
$ac_ext
23809 cat >>conftest.
$ac_ext <<_ACEOF
23810 /* end confdefs.h. */
23825 rm -f conftest.
$ac_objext
23826 if { (ac_try
="$ac_compile"
23827 case "(($ac_try" in
23828 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23829 *) ac_try_echo=$ac_try;;
23831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23832 (eval "$ac_compile") 2>conftest.er1
23834 grep -v '^ *+' conftest.er1 >conftest.err
23836 cat conftest.err >&5
23837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23838 (exit $ac_status); } && {
23839 test -z "$ac_cxx_werror_flag" ||
23840 test ! -s conftest.err
23841 } && test -s conftest.$ac_objext; then
23846 echo "$as_me: failed program was:" >&5
23847 sed 's/^/| /' conftest.$ac_ext >&5
23855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23858 ac_cpp='$CPP $CPPFLAGS'
23859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23865 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23866 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
23868 if test "$wx_cv_cpp_bool" = "yes"; then
23869 cat >>confdefs.h <<\_ACEOF
23870 #define HAVE_BOOL 1
23877 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23878 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
23879 if test "${wx_cv_explicit+set}" = set; then
23880 echo $ECHO_N "(cached) $ECHO_C" >&6
23885 ac_cpp='$CXXCPP $CPPFLAGS'
23886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23891 cat >conftest.$ac_ext <<_ACEOF
23894 cat confdefs.h >>conftest.$ac_ext
23895 cat >>conftest.$ac_ext <<_ACEOF
23896 /* end confdefs.h. */
23898 class Foo { public: explicit Foo(int) {} };
23910 rm -f conftest.$ac_objext
23911 if { (ac_try="$ac_compile"
23912 case "(($ac_try" in
23913 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23914 *) ac_try_echo
=$ac_try;;
23916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23917 (eval "$ac_compile") 2>conftest.er1
23919 grep -v '^ *+' conftest.er1
>conftest.err
23921 cat conftest.err
>&5
23922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23923 (exit $ac_status); } && {
23924 test -z "$ac_cxx_werror_flag" ||
23925 test ! -s conftest.err
23926 } && test -s conftest.
$ac_objext; then
23928 cat >conftest.
$ac_ext <<_ACEOF
23931 cat confdefs.h
>>conftest.
$ac_ext
23932 cat >>conftest.
$ac_ext <<_ACEOF
23933 /* end confdefs.h. */
23935 class Foo { public: explicit Foo(int) {} };
23936 static void TakeFoo(const Foo& foo) { }
23949 rm -f conftest.
$ac_objext
23950 if { (ac_try
="$ac_compile"
23951 case "(($ac_try" in
23952 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23953 *) ac_try_echo=$ac_try;;
23955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23956 (eval "$ac_compile") 2>conftest.er1
23958 grep -v '^ *+' conftest.er1 >conftest.err
23960 cat conftest.err >&5
23961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23962 (exit $ac_status); } && {
23963 test -z "$ac_cxx_werror_flag" ||
23964 test ! -s conftest.err
23965 } && test -s conftest.$ac_objext; then
23968 echo "$as_me: failed program was:" >&5
23969 sed 's/^/| /' conftest.$ac_ext >&5
23975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23978 echo "$as_me: failed program was:" >&5
23979 sed 's/^/| /' conftest.$ac_ext >&5
23985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23988 ac_cpp='$CPP $CPPFLAGS'
23989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23995 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23996 echo "${ECHO_T}$wx_cv_explicit" >&6; }
23998 if test "$wx_cv_explicit" = "yes"; then
23999 cat >>confdefs.h <<\_ACEOF
24000 #define HAVE_EXPLICIT 1
24006 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
24007 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
24008 if test "${ac_cv_cxx_const_cast+set}" = set; then
24009 echo $ECHO_N "(cached) $ECHO_C" >&6
24013 ac_cpp='$CXXCPP $CPPFLAGS'
24014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24018 cat >conftest.$ac_ext <<_ACEOF
24021 cat confdefs.h >>conftest.$ac_ext
24022 cat >>conftest.$ac_ext <<_ACEOF
24023 /* end confdefs.h. */
24028 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
24033 rm -f conftest.$ac_objext
24034 if { (ac_try="$ac_compile"
24035 case "(($ac_try" in
24036 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24037 *) ac_try_echo
=$ac_try;;
24039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24040 (eval "$ac_compile") 2>conftest.er1
24042 grep -v '^ *+' conftest.er1
>conftest.err
24044 cat conftest.err
>&5
24045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24046 (exit $ac_status); } && {
24047 test -z "$ac_cxx_werror_flag" ||
24048 test ! -s conftest.err
24049 } && test -s conftest.
$ac_objext; then
24050 ac_cv_cxx_const_cast
=yes
24052 echo "$as_me: failed program was:" >&5
24053 sed 's/^/| /' conftest.
$ac_ext >&5
24055 ac_cv_cxx_const_cast
=no
24058 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24060 ac_cpp
='$CPP $CPPFLAGS'
24061 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24062 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24063 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
24067 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
24068 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
24069 if test "$ac_cv_cxx_const_cast" = yes; then
24071 cat >>confdefs.h
<<\_ACEOF
24072 #define HAVE_CONST_CAST
24077 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
24078 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
24079 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
24080 echo $ECHO_N "(cached) $ECHO_C" >&6
24084 ac_cpp
='$CXXCPP $CPPFLAGS'
24085 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24086 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24087 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
24089 cat >conftest.
$ac_ext <<_ACEOF
24092 cat confdefs.h
>>conftest.
$ac_ext
24093 cat >>conftest.
$ac_ext <<_ACEOF
24094 /* end confdefs.h. */
24095 #include <typeinfo>
24096 class Base { public : Base () {} virtual void f () = 0;};
24097 class Derived : public Base { public : Derived () {} virtual void f () {} };
24098 class Unrelated { public : Unrelated () {} };
24099 int g (Unrelated&) { return 0; }
24104 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
24109 rm -f conftest.
$ac_objext
24110 if { (ac_try
="$ac_compile"
24111 case "(($ac_try" in
24112 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24113 *) ac_try_echo=$ac_try;;
24115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24116 (eval "$ac_compile") 2>conftest.er1
24118 grep -v '^ *+' conftest.er1 >conftest.err
24120 cat conftest.err >&5
24121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24122 (exit $ac_status); } && {
24123 test -z "$ac_cxx_werror_flag" ||
24124 test ! -s conftest.err
24125 } && test -s conftest.$ac_objext; then
24126 ac_cv_cxx_reinterpret_cast=yes
24128 echo "$as_me: failed program was:" >&5
24129 sed 's/^/| /' conftest.$ac_ext >&5
24131 ac_cv_cxx_reinterpret_cast=no
24134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24136 ac_cpp='$CPP $CPPFLAGS'
24137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24143 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
24144 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
24145 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
24147 cat >>confdefs.h <<\_ACEOF
24148 #define HAVE_REINTERPRET_CAST
24153 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
24154 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
24155 if test "${ac_cv_cxx_static_cast+set}" = set; then
24156 echo $ECHO_N "(cached) $ECHO_C" >&6
24160 ac_cpp='$CXXCPP $CPPFLAGS'
24161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24165 cat >conftest.$ac_ext <<_ACEOF
24168 cat confdefs.h >>conftest.$ac_ext
24169 cat >>conftest.$ac_ext <<_ACEOF
24170 /* end confdefs.h. */
24171 #include <typeinfo>
24172 class Base { public : Base () {} virtual void f () = 0; };
24173 class Derived : public Base { public : Derived () {} virtual void f () {} };
24174 int g (Derived&) { return 0; }
24179 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
24184 rm -f conftest.$ac_objext
24185 if { (ac_try="$ac_compile"
24186 case "(($ac_try" in
24187 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24188 *) ac_try_echo
=$ac_try;;
24190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24191 (eval "$ac_compile") 2>conftest.er1
24193 grep -v '^ *+' conftest.er1
>conftest.err
24195 cat conftest.err
>&5
24196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24197 (exit $ac_status); } && {
24198 test -z "$ac_cxx_werror_flag" ||
24199 test ! -s conftest.err
24200 } && test -s conftest.
$ac_objext; then
24201 ac_cv_cxx_static_cast
=yes
24203 echo "$as_me: failed program was:" >&5
24204 sed 's/^/| /' conftest.
$ac_ext >&5
24206 ac_cv_cxx_static_cast
=no
24209 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24211 ac_cpp
='$CPP $CPPFLAGS'
24212 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24213 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24214 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
24218 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
24219 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
24220 if test "$ac_cv_cxx_static_cast" = yes; then
24222 cat >>confdefs.h
<<\_ACEOF
24223 #define HAVE_STATIC_CAST
24229 if test "x$SUNCXX" = xyes
; then
24230 CXXFLAGS
="-features=tmplife $CXXFLAGS"
24233 if test "x$SUNCC" = xyes
; then
24234 CFLAGS
="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24237 if test "x$SGICC" = "xyes"; then
24238 CFLAGS
="-woff 3970 $CFLAGS"
24240 if test "x$SGICXX" = "xyes"; then
24241 CXXFLAGS
="-woff 3970 $CXXFLAGS"
24244 if test "x$HPCC" = "xyes"; then
24245 CFLAGS
="+W 2011,2450 $CFLAGS"
24247 if test "x$HPCXX" = "xyes"; then
24248 CXXFLAGS
="+W 2340 $CXXFLAGS"
24251 if test "x$COMPAQCXX" = "xyes"; then
24252 CXXFLAGS
="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24256 ac_cpp
='$CXXCPP $CPPFLAGS'
24257 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24258 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24259 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
24262 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24263 if test "$wxUSE_UNICODE" = "yes"; then
24264 std_string
="std::wstring"
24265 char_type
="wchar_t"
24267 std_string
="std::string"
24271 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24272 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24273 if test "${wx_cv_class_stdstring+set}" = set; then
24274 echo $ECHO_N "(cached) $ECHO_C" >&6
24277 cat >conftest.
$ac_ext <<_ACEOF
24280 cat confdefs.h
>>conftest.
$ac_ext
24281 cat >>conftest.
$ac_ext <<_ACEOF
24282 /* end confdefs.h. */
24292 rm -f conftest.
$ac_objext
24293 if { (ac_try
="$ac_compile"
24294 case "(($ac_try" in
24295 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24296 *) ac_try_echo=$ac_try;;
24298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24299 (eval "$ac_compile") 2>conftest.er1
24301 grep -v '^ *+' conftest.er1 >conftest.err
24303 cat conftest.err >&5
24304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24305 (exit $ac_status); } && {
24306 test -z "$ac_cxx_werror_flag" ||
24307 test ! -s conftest.err
24308 } && test -s conftest.$ac_objext; then
24309 wx_cv_class_stdstring=yes
24311 echo "$as_me: failed program was:" >&5
24312 sed 's/^/| /' conftest.$ac_ext >&5
24314 wx_cv_class_stdstring=no
24318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24322 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24323 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24325 if test "$wx_cv_class_stdstring" = yes; then
24326 if test "$wxUSE_UNICODE" = "yes"; then
24327 cat >>confdefs.h <<\_ACEOF
24328 #define HAVE_STD_WSTRING 1
24333 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24334 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24335 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24336 echo $ECHO_N "(cached) $ECHO_C" >&6
24339 cat >conftest.$ac_ext <<_ACEOF
24342 cat confdefs.h >>conftest.$ac_ext
24343 cat >>conftest.$ac_ext <<_ACEOF
24344 /* end confdefs.h. */
24346 #ifdef HAVE_WCHAR_H
24348 # include <stddef.h>
24350 # include <wchar.h>
24352 #ifdef HAVE_STDLIB_H
24353 # include <stdlib.h>
24361 std::basic_string<$char_type> foo;
24362 const $char_type* dummy = foo.c_str();
24367 rm -f conftest.$ac_objext
24368 if { (ac_try="$ac_compile"
24369 case "(($ac_try" in
24370 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24371 *) ac_try_echo
=$ac_try;;
24373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24374 (eval "$ac_compile") 2>conftest.er1
24376 grep -v '^ *+' conftest.er1
>conftest.err
24378 cat conftest.err
>&5
24379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24380 (exit $ac_status); } && {
24381 test -z "$ac_cxx_werror_flag" ||
24382 test ! -s conftest.err
24383 } && test -s conftest.
$ac_objext; then
24384 wx_cv_class_stdbasicstring
=yes
24386 echo "$as_me: failed program was:" >&5
24387 sed 's/^/| /' conftest.
$ac_ext >&5
24389 wx_cv_class_stdbasicstring
=no
24393 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24397 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24398 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24400 if test "$wx_cv_class_stdbasicstring" != yes; then
24401 if test "$wxUSE_STL" = "yes"; then
24402 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
24403 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24404 { (exit 1); exit 1; }; }
24405 elif grep wxUSE_STD_STRING
$wx_arg_cache_file >/dev
/null
; then
24406 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
24407 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24408 { (exit 1); exit 1; }; }
24410 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24411 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24412 wxUSE_STD_STRING
=no
24418 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24419 { echo "$as_me:$LINENO: checking for std::istream" >&5
24420 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24421 if test "${ac_cv_type_std__istream+set}" = set; then
24422 echo $ECHO_N "(cached) $ECHO_C" >&6
24424 cat >conftest.
$ac_ext <<_ACEOF
24427 cat confdefs.h
>>conftest.
$ac_ext
24428 cat >>conftest.
$ac_ext <<_ACEOF
24429 /* end confdefs.h. */
24430 #include <iostream>
24432 typedef std::istream ac__type_new_;
24436 if ((ac__type_new_ *) 0)
24438 if (sizeof (ac__type_new_))
24444 rm -f conftest.
$ac_objext
24445 if { (ac_try
="$ac_compile"
24446 case "(($ac_try" in
24447 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24448 *) ac_try_echo=$ac_try;;
24450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24451 (eval "$ac_compile") 2>conftest.er1
24453 grep -v '^ *+' conftest.er1 >conftest.err
24455 cat conftest.err >&5
24456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24457 (exit $ac_status); } && {
24458 test -z "$ac_cxx_werror_flag" ||
24459 test ! -s conftest.err
24460 } && test -s conftest.$ac_objext; then
24461 ac_cv_type_std__istream=yes
24463 echo "$as_me: failed program was:" >&5
24464 sed 's/^/| /' conftest.$ac_ext >&5
24466 ac_cv_type_std__istream=no
24469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24471 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24472 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24473 if test $ac_cv_type_std__istream = yes; then
24475 cat >>confdefs.h <<_ACEOF
24476 #define HAVE_STD__ISTREAM 1
24481 wxUSE_STD_IOSTREAM=no
24483 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24484 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24485 if test "${ac_cv_type_std__ostream+set}" = set; then
24486 echo $ECHO_N "(cached) $ECHO_C" >&6
24488 cat >conftest.$ac_ext <<_ACEOF
24491 cat confdefs.h >>conftest.$ac_ext
24492 cat >>conftest.$ac_ext <<_ACEOF
24493 /* end confdefs.h. */
24494 #include <iostream>
24496 typedef std::ostream ac__type_new_;
24500 if ((ac__type_new_ *) 0)
24502 if (sizeof (ac__type_new_))
24508 rm -f conftest.$ac_objext
24509 if { (ac_try="$ac_compile"
24510 case "(($ac_try" in
24511 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24512 *) ac_try_echo
=$ac_try;;
24514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24515 (eval "$ac_compile") 2>conftest.er1
24517 grep -v '^ *+' conftest.er1
>conftest.err
24519 cat conftest.err
>&5
24520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24521 (exit $ac_status); } && {
24522 test -z "$ac_cxx_werror_flag" ||
24523 test ! -s conftest.err
24524 } && test -s conftest.
$ac_objext; then
24525 ac_cv_type_std__ostream
=yes
24527 echo "$as_me: failed program was:" >&5
24528 sed 's/^/| /' conftest.
$ac_ext >&5
24530 ac_cv_type_std__ostream
=no
24533 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24535 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24536 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24537 if test $ac_cv_type_std__ostream = yes; then
24539 cat >>confdefs.h
<<_ACEOF
24540 #define HAVE_STD__OSTREAM 1
24545 wxUSE_STD_IOSTREAM
=no
24549 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24550 if grep wxUSE_STD_IOSTREAM
$wx_arg_cache_file >/dev
/null
; then
24551 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
24552 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24553 { (exit 1); exit 1; }; }
24555 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24556 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24561 if test "$wxUSE_STL" = "yes"; then
24562 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24563 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24564 if test "${wx_cv_lib_stl+set}" = set; then
24565 echo $ECHO_N "(cached) $ECHO_C" >&6
24567 cat >conftest.
$ac_ext <<_ACEOF
24570 cat confdefs.h
>>conftest.
$ac_ext
24571 cat >>conftest.
$ac_ext <<_ACEOF
24572 /* end confdefs.h. */
24574 #include <functional>
24575 #include <algorithm>
24581 std::vector<int> moo;
24582 std::list<int> foo;
24583 std::vector<int>::iterator it =
24584 std::find_if(moo.begin(), moo.end(),
24585 std::bind2nd(std::less<int>(), 3));
24590 rm -f conftest.
$ac_objext
24591 if { (ac_try
="$ac_compile"
24592 case "(($ac_try" in
24593 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24594 *) ac_try_echo=$ac_try;;
24596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24597 (eval "$ac_compile") 2>conftest.er1
24599 grep -v '^ *+' conftest.er1 >conftest.err
24601 cat conftest.err >&5
24602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24603 (exit $ac_status); } && {
24604 test -z "$ac_cxx_werror_flag" ||
24605 test ! -s conftest.err
24606 } && test -s conftest.$ac_objext; then
24609 echo "$as_me: failed program was:" >&5
24610 sed 's/^/| /' conftest.$ac_ext >&5
24616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24619 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24620 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24622 if test "$wx_cv_lib_stl" != yes; then
24623 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
24624 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
24625 { (exit 1); exit 1; }; }
24628 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24629 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24630 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24631 echo $ECHO_N "(cached) $ECHO_C" >&6
24633 cat >conftest.$ac_ext <<_ACEOF
24636 cat confdefs.h >>conftest.$ac_ext
24637 cat >>conftest.$ac_ext <<_ACEOF
24638 /* end confdefs.h. */
24643 std::string foo, bar;
24645 foo.compare(1, 1, bar);
24646 foo.compare(1, 1, bar, 1, 1);
24648 foo.compare(1, 1, "");
24649 foo.compare(1, 1, "", 2);
24654 rm -f conftest.$ac_objext
24655 if { (ac_try="$ac_compile"
24656 case "(($ac_try" in
24657 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24658 *) ac_try_echo
=$ac_try;;
24660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24661 (eval "$ac_compile") 2>conftest.er1
24663 grep -v '^ *+' conftest.er1
>conftest.err
24665 cat conftest.err
>&5
24666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24667 (exit $ac_status); } && {
24668 test -z "$ac_cxx_werror_flag" ||
24669 test ! -s conftest.err
24670 } && test -s conftest.
$ac_objext; then
24671 wx_cv_func_stdstring_compare
=yes
24673 echo "$as_me: failed program was:" >&5
24674 sed 's/^/| /' conftest.
$ac_ext >&5
24676 wx_cv_func_stdstring_compare
=no
24680 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24683 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24684 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24686 if test "$wx_cv_func_stdstring_compare" = yes; then
24687 cat >>confdefs.h
<<\_ACEOF
24688 #define HAVE_STD_STRING_COMPARE 1
24693 if test "${ac_cv_header_hash_map+set}" = set; then
24694 { echo "$as_me:$LINENO: checking for hash_map" >&5
24695 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
24696 if test "${ac_cv_header_hash_map+set}" = set; then
24697 echo $ECHO_N "(cached) $ECHO_C" >&6
24699 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24700 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
24702 # Is the header compilable?
24703 { echo "$as_me:$LINENO: checking hash_map usability" >&5
24704 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6; }
24705 cat >conftest.
$ac_ext <<_ACEOF
24708 cat confdefs.h
>>conftest.
$ac_ext
24709 cat >>conftest.
$ac_ext <<_ACEOF
24710 /* end confdefs.h. */
24711 $ac_includes_default
24712 #include <hash_map>
24714 rm -f conftest.
$ac_objext
24715 if { (ac_try
="$ac_compile"
24716 case "(($ac_try" in
24717 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24718 *) ac_try_echo=$ac_try;;
24720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24721 (eval "$ac_compile") 2>conftest.er1
24723 grep -v '^ *+' conftest.er1 >conftest.err
24725 cat conftest.err >&5
24726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24727 (exit $ac_status); } && {
24728 test -z "$ac_cxx_werror_flag" ||
24729 test ! -s conftest.err
24730 } && test -s conftest.$ac_objext; then
24731 ac_header_compiler=yes
24733 echo "$as_me: failed program was:" >&5
24734 sed 's/^/| /' conftest.$ac_ext >&5
24736 ac_header_compiler=no
24739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24740 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24741 echo "${ECHO_T}$ac_header_compiler" >&6; }
24743 # Is the header present?
24744 { echo "$as_me:$LINENO: checking hash_map presence" >&5
24745 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6; }
24746 cat >conftest.$ac_ext <<_ACEOF
24749 cat confdefs.h >>conftest.$ac_ext
24750 cat >>conftest.$ac_ext <<_ACEOF
24751 /* end confdefs.h. */
24752 #include <hash_map>
24754 if { (ac_try="$ac_cpp conftest.$ac_ext"
24755 case "(($ac_try" in
24756 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24757 *) ac_try_echo
=$ac_try;;
24759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24760 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24762 grep -v '^ *+' conftest.er1
>conftest.err
24764 cat conftest.err
>&5
24765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24766 (exit $ac_status); } >/dev
/null
&& {
24767 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
24768 test ! -s conftest.err
24770 ac_header_preproc
=yes
24772 echo "$as_me: failed program was:" >&5
24773 sed 's/^/| /' conftest.
$ac_ext >&5
24775 ac_header_preproc
=no
24778 rm -f conftest.err conftest.
$ac_ext
24779 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24780 echo "${ECHO_T}$ac_header_preproc" >&6; }
24782 # So? What about this header?
24783 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24785 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
24786 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
24787 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
24788 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
24789 ac_header_preproc
=yes
24792 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
24793 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
24794 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
24795 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
24796 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
24797 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
24798 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
24799 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
24800 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
24801 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
24802 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
24803 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
24805 ## ----------------------------------------- ##
24806 ## Report this to wx-dev@lists.wxwidgets.org ##
24807 ## ----------------------------------------- ##
24809 ) | sed "s/^/$as_me: WARNING: /" >&2
24812 { echo "$as_me:$LINENO: checking for hash_map" >&5
24813 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
24814 if test "${ac_cv_header_hash_map+set}" = set; then
24815 echo $ECHO_N "(cached) $ECHO_C" >&6
24817 ac_cv_header_hash_map
=$ac_header_preproc
24819 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24820 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
24823 if test $ac_cv_header_hash_map = yes; then
24824 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
24825 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
24826 if test "${wx_cv_class_stdhashmapset+set}" = set; then
24827 echo $ECHO_N "(cached) $ECHO_C" >&6
24829 cat >conftest.
$ac_ext <<_ACEOF
24832 cat confdefs.h
>>conftest.
$ac_ext
24833 cat >>conftest.
$ac_ext <<_ACEOF
24834 /* end confdefs.h. */
24835 #include <hash_map>
24836 #include <hash_set>
24840 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
24841 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
24846 rm -f conftest.
$ac_objext
24847 if { (ac_try
="$ac_compile"
24848 case "(($ac_try" in
24849 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24850 *) ac_try_echo=$ac_try;;
24852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24853 (eval "$ac_compile") 2>conftest.er1
24855 grep -v '^ *+' conftest.er1 >conftest.err
24857 cat conftest.err >&5
24858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24859 (exit $ac_status); } && {
24860 test -z "$ac_cxx_werror_flag" ||
24861 test ! -s conftest.err
24862 } && test -s conftest.$ac_objext; then
24863 wx_cv_class_stdhashmapset=yes
24865 echo "$as_me: failed program was:" >&5
24866 sed 's/^/| /' conftest.$ac_ext >&5
24868 wx_cv_class_stdhashmapset=no
24871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24875 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
24876 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
24882 if test "$wx_cv_class_stdhashmapset" = yes; then
24883 cat >>confdefs.h <<\_ACEOF
24884 #define HAVE_HASH_MAP 1
24887 cat >>confdefs.h <<\_ACEOF
24888 #define HAVE_STD_HASH_MAP 1
24893 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24894 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24895 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
24896 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24897 echo $ECHO_N "(cached) $ECHO_C" >&6
24899 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24900 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
24902 # Is the header compilable?
24903 { echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
24904 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6; }
24905 cat >conftest.$ac_ext <<_ACEOF
24908 cat confdefs.h >>conftest.$ac_ext
24909 cat >>conftest.$ac_ext <<_ACEOF
24910 /* end confdefs.h. */
24911 $ac_includes_default
24912 #include <ext/hash_map>
24914 rm -f conftest.$ac_objext
24915 if { (ac_try="$ac_compile"
24916 case "(($ac_try" in
24917 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24918 *) ac_try_echo
=$ac_try;;
24920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24921 (eval "$ac_compile") 2>conftest.er1
24923 grep -v '^ *+' conftest.er1
>conftest.err
24925 cat conftest.err
>&5
24926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24927 (exit $ac_status); } && {
24928 test -z "$ac_cxx_werror_flag" ||
24929 test ! -s conftest.err
24930 } && test -s conftest.
$ac_objext; then
24931 ac_header_compiler
=yes
24933 echo "$as_me: failed program was:" >&5
24934 sed 's/^/| /' conftest.
$ac_ext >&5
24936 ac_header_compiler
=no
24939 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24940 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24941 echo "${ECHO_T}$ac_header_compiler" >&6; }
24943 # Is the header present?
24944 { echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
24945 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6; }
24946 cat >conftest.
$ac_ext <<_ACEOF
24949 cat confdefs.h
>>conftest.
$ac_ext
24950 cat >>conftest.
$ac_ext <<_ACEOF
24951 /* end confdefs.h. */
24952 #include <ext/hash_map>
24954 if { (ac_try
="$ac_cpp conftest.$ac_ext"
24955 case "(($ac_try" in
24956 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24957 *) ac_try_echo=$ac_try;;
24959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24960 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24962 grep -v '^ *+' conftest.er1 >conftest.err
24964 cat conftest.err >&5
24965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24966 (exit $ac_status); } >/dev/null && {
24967 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
24968 test ! -s conftest.err
24970 ac_header_preproc=yes
24972 echo "$as_me: failed program was:" >&5
24973 sed 's/^/| /' conftest.$ac_ext >&5
24975 ac_header_preproc=no
24978 rm -f conftest.err conftest.$ac_ext
24979 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24980 echo "${ECHO_T}$ac_header_preproc" >&6; }
24982 # So? What about this header?
24983 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24985 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
24986 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
24987 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
24988 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
24989 ac_header_preproc=yes
24992 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
24993 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
24994 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
24995 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
24996 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
24997 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
24998 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
24999 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
25000 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
25001 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
25002 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
25003 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
25005 ## ----------------------------------------- ##
25006 ## Report this to wx-dev@lists.wxwidgets.org ##
25007 ## ----------------------------------------- ##
25009 ) | sed "s/^/$as_me: WARNING: /" >&2
25012 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25013 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25014 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25015 echo $ECHO_N "(cached) $ECHO_C" >&6
25017 ac_cv_header_ext_hash_map=$ac_header_preproc
25019 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25020 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
25023 if test $ac_cv_header_ext_hash_map = yes; then
25024 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25025 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
25026 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25027 echo $ECHO_N "(cached) $ECHO_C" >&6
25029 cat >conftest.$ac_ext <<_ACEOF
25032 cat confdefs.h >>conftest.$ac_ext
25033 cat >>conftest.$ac_ext <<_ACEOF
25034 /* end confdefs.h. */
25035 #include <ext/hash_map>
25036 #include <ext/hash_set>
25040 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25041 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25046 rm -f conftest.$ac_objext
25047 if { (ac_try="$ac_compile"
25048 case "(($ac_try" in
25049 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25050 *) ac_try_echo
=$ac_try;;
25052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25053 (eval "$ac_compile") 2>conftest.er1
25055 grep -v '^ *+' conftest.er1
>conftest.err
25057 cat conftest.err
>&5
25058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25059 (exit $ac_status); } && {
25060 test -z "$ac_cxx_werror_flag" ||
25061 test ! -s conftest.err
25062 } && test -s conftest.
$ac_objext; then
25063 wx_cv_class_gnuhashmapset
=yes
25065 echo "$as_me: failed program was:" >&5
25066 sed 's/^/| /' conftest.
$ac_ext >&5
25068 wx_cv_class_gnuhashmapset
=no
25071 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25075 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
25076 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
25082 if test "$wx_cv_class_gnuhashmapset" = yes; then
25083 cat >>confdefs.h
<<\_ACEOF
25084 #define HAVE_EXT_HASH_MAP 1
25087 cat >>confdefs.h
<<\_ACEOF
25088 #define HAVE_GNU_CXX_HASH_MAP 1
25095 ac_cpp
='$CPP $CPPFLAGS'
25096 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25097 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25098 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25103 /usr/local/include \
25105 /usr/Motif-2.1/include \
25106 /usr/Motif-1.2/include \
25107 /usr/include/Motif1.2 \
25110 /usr/openwin/include \
25114 /usr/X11R6/include \
25115 /usr/X11R6.4/include \
25116 /usr/X11R5/include \
25117 /usr/X11R4/include \
25119 /usr/include/X11R6 \
25120 /usr/include/X11R5 \
25121 /usr/include/X11R4 \
25123 /usr/local/X11R6/include \
25124 /usr/local/X11R5/include \
25125 /usr/local/X11R4/include \
25127 /usr/local/include/X11R6 \
25128 /usr/local/include/X11R5 \
25129 /usr/local/include/X11R4 \
25133 /usr/local/X11/include \
25134 /usr/local/include/X11 \
25136 /usr/XFree86/include/X11 \
25139 /usr/openwin/share/include"
25141 { echo "$as_me:$LINENO: checking for libraries directory" >&5
25142 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
25146 if test "${wx_cv_std_libpath+set}" = set; then
25147 echo $ECHO_N "(cached) $ECHO_C" >&6
25150 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
25151 for e
in a so sl dylib dll.a
; do
25153 if test -f $libc; then
25156 cat >conftest.
$ac_ext <<_ACEOF
25157 int main() { return 0; }
25159 rm -f conftest.
$ac_objext conftest
$ac_exeext
25160 if { (ac_try
="$ac_link"
25161 case "(($ac_try" in
25162 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25163 *) ac_try_echo=$ac_try;;
25165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25166 (eval "$ac_link") 2>conftest.er1
25168 grep -v '^ *+' conftest.er1 >conftest.err
25170 cat conftest.err >&5
25171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25172 (exit $ac_status); } && {
25173 test -z "$ac_c_werror_flag" ||
25174 test ! -s conftest.err
25175 } && test -s conftest$ac_exeext &&
25176 $as_test_x conftest$ac_exeext; then
25177 wx_cv_std_libpath=`echo $d | sed s@
/usr
/@@
`
25179 echo "$as_me: failed program was:" >&5
25180 sed 's/^/| /' conftest.$ac_ext >&5
25185 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25186 conftest$ac_exeext conftest.$ac_ext
25188 if test "x$wx_cv_std_libpath" != "x"; then
25194 if test "x$wx_cv_std_libpath" = "x"; then
25195 wx_cv_std_libpath="lib"
25204 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
25205 wx_cv_std_libpath="lib/64"
25207 wx_cv_std_libpath="lib"
25212 if test "$ac_cv_sizeof_void_p" = 8 -a \
25213 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
25214 wx_cv_std_libpath="lib64"
25216 wx_cv_std_libpath="lib"
25221 wx_cv_std_libpath="lib";
25225 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
25226 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
25228 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@
$wx_cv_std_libpath@g
` /usr/$wx_cv_std_libpath"
25230 if test "$build" != "$host" -a "$GCC" = yes; then
25231 if cross_root=`$CC -print-prog-name=ld
2>/dev
/null
`; then
25232 cross_root=`dirname $cross_root`
25233 cross_root=`dirname $cross_root`
25235 SEARCH_LIB=`for x
in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25236 SEARCH_INCLUDE=`for x
in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25237 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
25239 if test -z "$PKG_CONFIG_PATH"; then
25240 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
25241 export PKG_CONFIG_PATH
25244 if test -z "$x_includes" -o "$x_includes" = NONE; then
25247 for ac_dir in $SEARCH_INCLUDE /usr/include;
25249 if test -f "$ac_dir/X11/Intrinsic.h"; then
25250 ac_find_includes=$ac_dir
25255 x_includes=$ac_find_includes
25257 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25260 for ac_dir in $SEARCH_LIB;
25262 for ac_extension in a so sl dylib dll.a; do
25263 if test -f "$ac_dir/libXt.$ac_extension"; then
25264 ac_find_libraries=$ac_dir
25270 x_libraries=$ac_find_libraries
25276 cat >confcache <<\_ACEOF
25277 # This file is a shell script that caches the results of configure
25278 # tests run on this system so they can be shared between configure
25279 # scripts and configure runs, see configure's option --config-cache.
25280 # It is not useful on other systems. If it contains results you don't
25281 # want to keep, you may remove or edit it.
25283 # config.status only pays attention to the cache file if you give it
25284 # the --recheck option to rerun configure.
25286 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
25287 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25288 # following values.
25292 # The following way of writing the cache mishandles newlines in values,
25293 # but we know of no workaround that is simple, portable, and efficient.
25294 # So, we kill variables containing newlines.
25295 # Ultrix sh set writes to stderr and can't be redirected directly,
25296 # and sets the high bit in the cache file unless we assign to the vars.
25298 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25299 eval ac_val
=\$
$ac_var
25303 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25304 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25307 _
| IFS
| as_nl
) ;; #(
25308 *) $as_unset $ac_var ;;
25314 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25315 *${as_nl}ac_space
=\
*)
25316 # `set' does not quote correctly, so add quotes (double-quote
25317 # substitution turns \\\\ into \\, and sed turns \\ into \).
25320 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25323 # `set' quotes correctly as required by POSIX, so do not add quotes.
25324 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25333 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25335 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25337 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
25338 if test -w "$cache_file"; then
25339 test "x$cache_file" != "x/dev/null" &&
25340 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25341 echo "$as_me: updating cache $cache_file" >&6;}
25342 cat confcache
>$cache_file
25344 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25345 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25350 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25351 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25352 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25353 if test "${wx_cv_lib_glibc21+set}" = set; then
25354 echo $ECHO_N "(cached) $ECHO_C" >&6
25357 cat >conftest.
$ac_ext <<_ACEOF
25360 cat confdefs.h
>>conftest.
$ac_ext
25361 cat >>conftest.
$ac_ext <<_ACEOF
25362 /* end confdefs.h. */
25363 #include <features.h>
25368 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25376 rm -f conftest.
$ac_objext
25377 if { (ac_try
="$ac_compile"
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_compile") 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_objext; then
25394 wx_cv_lib_glibc21=yes
25397 echo "$as_me: failed program was:" >&5
25398 sed 's/^/| /' conftest.$ac_ext >&5
25401 wx_cv_lib_glibc21=no
25406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25409 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25410 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25411 if test "$wx_cv_lib_glibc21" = "yes"; then
25412 cat >>confdefs.h <<\_ACEOF
25413 #define wxHAVE_GLIBC2 1
25419 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25420 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25421 cat >>confdefs.h <<\_ACEOF
25422 #define _GNU_SOURCE 1
25433 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25434 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25435 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25436 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25437 echo $ECHO_N "(cached) $ECHO_C" >&6
25439 cat >conftest.$ac_ext <<_ACEOF
25442 cat confdefs.h >>conftest.$ac_ext
25443 cat >>conftest.$ac_ext <<_ACEOF
25444 /* end confdefs.h. */
25445 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25446 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25447 #define $ac_func innocuous_$ac_func
25449 /* System header to define __stub macros and hopefully few prototypes,
25450 which can conflict with char $ac_func (); below.
25451 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25452 <limits.h> exists even on freestanding compilers. */
25455 # include <limits.h>
25457 # include <assert.h>
25462 /* Override any GCC internal prototype to avoid an error.
25463 Use char because int might match the return type of a GCC
25464 builtin and then its argument prototype would still apply. */
25469 /* The GNU C library defines this for functions which it implements
25470 to always fail with ENOSYS. Some functions are actually named
25471 something starting with __ and the normal name is an alias. */
25472 #if defined __stub_$ac_func || defined __stub___$ac_func
25479 return $ac_func ();
25484 rm -f conftest.$ac_objext conftest$ac_exeext
25485 if { (ac_try="$ac_link"
25486 case "(($ac_try" in
25487 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25488 *) ac_try_echo
=$ac_try;;
25490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25491 (eval "$ac_link") 2>conftest.er1
25493 grep -v '^ *+' conftest.er1
>conftest.err
25495 cat conftest.err
>&5
25496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25497 (exit $ac_status); } && {
25498 test -z "$ac_c_werror_flag" ||
25499 test ! -s conftest.err
25500 } && test -s conftest
$ac_exeext &&
25501 $as_test_x conftest
$ac_exeext; then
25502 eval "$as_ac_var=yes"
25504 echo "$as_me: failed program was:" >&5
25505 sed 's/^/| /' conftest.
$ac_ext >&5
25507 eval "$as_ac_var=no"
25510 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25511 conftest
$ac_exeext conftest.
$ac_ext
25513 ac_res
=`eval echo '${'$as_ac_var'}'`
25514 { echo "$as_me:$LINENO: result: $ac_res" >&5
25515 echo "${ECHO_T}$ac_res" >&6; }
25516 if test `eval echo '${'$as_ac_var'}'` = yes; then
25517 cat >>confdefs.h
<<_ACEOF
25518 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25525 for ac_func
in floor
25527 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25528 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25529 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25530 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25531 echo $ECHO_N "(cached) $ECHO_C" >&6
25533 cat >conftest.
$ac_ext <<_ACEOF
25536 cat confdefs.h
>>conftest.
$ac_ext
25537 cat >>conftest.
$ac_ext <<_ACEOF
25538 /* end confdefs.h. */
25539 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25540 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25541 #define $ac_func innocuous_$ac_func
25543 /* System header to define __stub macros and hopefully few prototypes,
25544 which can conflict with char $ac_func (); below.
25545 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25546 <limits.h> exists even on freestanding compilers. */
25549 # include <limits.h>
25551 # include <assert.h>
25556 /* Override any GCC internal prototype to avoid an error.
25557 Use char because int might match the return type of a GCC
25558 builtin and then its argument prototype would still apply. */
25563 /* The GNU C library defines this for functions which it implements
25564 to always fail with ENOSYS. Some functions are actually named
25565 something starting with __ and the normal name is an alias. */
25566 #if defined __stub_$ac_func || defined __stub___$ac_func
25573 return $ac_func ();
25578 rm -f conftest.
$ac_objext conftest
$ac_exeext
25579 if { (ac_try
="$ac_link"
25580 case "(($ac_try" in
25581 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25582 *) ac_try_echo=$ac_try;;
25584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25585 (eval "$ac_link") 2>conftest.er1
25587 grep -v '^ *+' conftest.er1 >conftest.err
25589 cat conftest.err >&5
25590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25591 (exit $ac_status); } && {
25592 test -z "$ac_c_werror_flag" ||
25593 test ! -s conftest.err
25594 } && test -s conftest$ac_exeext &&
25595 $as_test_x conftest$ac_exeext; then
25596 eval "$as_ac_var=yes"
25598 echo "$as_me: failed program was:" >&5
25599 sed 's/^/| /' conftest.$ac_ext >&5
25601 eval "$as_ac_var=no"
25604 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25605 conftest$ac_exeext conftest.$ac_ext
25607 ac_res=`eval echo '${'$as_ac_var'}'`
25608 { echo "$as_me:$LINENO: result: $ac_res" >&5
25609 echo "${ECHO_T}$ac_res" >&6; }
25610 if test `eval echo '${'$as_ac_var'}'` = yes; then
25611 cat >>confdefs.h <<_ACEOF
25612 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25618 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25619 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
25620 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25621 { echo "$as_me:$LINENO: result: yes" >&5
25622 echo "${ECHO_T}yes" >&6; }
25624 { echo "$as_me:$LINENO: result: no" >&5
25625 echo "${ECHO_T}no" >&6; }
25627 # use different functions to avoid configure caching
25633 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25634 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25635 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25636 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25637 echo $ECHO_N "(cached) $ECHO_C" >&6
25639 cat >conftest.$ac_ext <<_ACEOF
25642 cat confdefs.h >>conftest.$ac_ext
25643 cat >>conftest.$ac_ext <<_ACEOF
25644 /* end confdefs.h. */
25645 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25646 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25647 #define $ac_func innocuous_$ac_func
25649 /* System header to define __stub macros and hopefully few prototypes,
25650 which can conflict with char $ac_func (); below.
25651 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25652 <limits.h> exists even on freestanding compilers. */
25655 # include <limits.h>
25657 # include <assert.h>
25662 /* Override any GCC internal prototype to avoid an error.
25663 Use char because int might match the return type of a GCC
25664 builtin and then its argument prototype would still apply. */
25669 /* The GNU C library defines this for functions which it implements
25670 to always fail with ENOSYS. Some functions are actually named
25671 something starting with __ and the normal name is an alias. */
25672 #if defined __stub_$ac_func || defined __stub___$ac_func
25679 return $ac_func ();
25684 rm -f conftest.$ac_objext conftest$ac_exeext
25685 if { (ac_try="$ac_link"
25686 case "(($ac_try" in
25687 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25688 *) ac_try_echo
=$ac_try;;
25690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25691 (eval "$ac_link") 2>conftest.er1
25693 grep -v '^ *+' conftest.er1
>conftest.err
25695 cat conftest.err
>&5
25696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25697 (exit $ac_status); } && {
25698 test -z "$ac_c_werror_flag" ||
25699 test ! -s conftest.err
25700 } && test -s conftest
$ac_exeext &&
25701 $as_test_x conftest
$ac_exeext; then
25702 eval "$as_ac_var=yes"
25704 echo "$as_me: failed program was:" >&5
25705 sed 's/^/| /' conftest.
$ac_ext >&5
25707 eval "$as_ac_var=no"
25710 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25711 conftest
$ac_exeext conftest.
$ac_ext
25713 ac_res
=`eval echo '${'$as_ac_var'}'`
25714 { echo "$as_me:$LINENO: result: $ac_res" >&5
25715 echo "${ECHO_T}$ac_res" >&6; }
25716 if test `eval echo '${'$as_ac_var'}'` = yes; then
25717 cat >>confdefs.h
<<_ACEOF
25718 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25725 for ac_func
in ceil
25727 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25728 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25729 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25730 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25731 echo $ECHO_N "(cached) $ECHO_C" >&6
25733 cat >conftest.
$ac_ext <<_ACEOF
25736 cat confdefs.h
>>conftest.
$ac_ext
25737 cat >>conftest.
$ac_ext <<_ACEOF
25738 /* end confdefs.h. */
25739 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25740 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25741 #define $ac_func innocuous_$ac_func
25743 /* System header to define __stub macros and hopefully few prototypes,
25744 which can conflict with char $ac_func (); below.
25745 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25746 <limits.h> exists even on freestanding compilers. */
25749 # include <limits.h>
25751 # include <assert.h>
25756 /* Override any GCC internal prototype to avoid an error.
25757 Use char because int might match the return type of a GCC
25758 builtin and then its argument prototype would still apply. */
25763 /* The GNU C library defines this for functions which it implements
25764 to always fail with ENOSYS. Some functions are actually named
25765 something starting with __ and the normal name is an alias. */
25766 #if defined __stub_$ac_func || defined __stub___$ac_func
25773 return $ac_func ();
25778 rm -f conftest.
$ac_objext conftest
$ac_exeext
25779 if { (ac_try
="$ac_link"
25780 case "(($ac_try" in
25781 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25782 *) ac_try_echo=$ac_try;;
25784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25785 (eval "$ac_link") 2>conftest.er1
25787 grep -v '^ *+' conftest.er1 >conftest.err
25789 cat conftest.err >&5
25790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25791 (exit $ac_status); } && {
25792 test -z "$ac_c_werror_flag" ||
25793 test ! -s conftest.err
25794 } && test -s conftest$ac_exeext &&
25795 $as_test_x conftest$ac_exeext; then
25796 eval "$as_ac_var=yes"
25798 echo "$as_me: failed program was:" >&5
25799 sed 's/^/| /' conftest.$ac_ext >&5
25801 eval "$as_ac_var=no"
25804 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25805 conftest$ac_exeext conftest.$ac_ext
25807 ac_res=`eval echo '${'$as_ac_var'}'`
25808 { echo "$as_me:$LINENO: result: $ac_res" >&5
25809 echo "${ECHO_T}$ac_res" >&6; }
25810 if test `eval echo '${'$as_ac_var'}'` = yes; then
25811 cat >>confdefs.h <<_ACEOF
25812 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25818 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
25819 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
25820 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
25821 { echo "$as_me:$LINENO: result: yes" >&5
25822 echo "${ECHO_T}yes" >&6; }
25824 { echo "$as_me:$LINENO: result: no" >&5
25825 echo "${ECHO_T}no" >&6; }
25826 # not sure we should warn the user, crash, etc.
25831 ac_cpp='$CXXCPP $CPPFLAGS'
25832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25836 if test "wxUSE_UNICODE" = "yes"; then
25838 for wx_func in wcstoull
25840 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25841 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25842 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25843 echo $ECHO_N "(cached) $ECHO_C" >&6
25846 cat >conftest.$ac_ext <<_ACEOF
25850 cat confdefs.h >>conftest.$ac_ext
25851 cat >>conftest.$ac_ext <<_ACEOF
25852 /* end confdefs.h. */
25855 $ac_includes_default
25871 rm -f conftest.$ac_objext conftest$ac_exeext
25872 if { (ac_try="$ac_link"
25873 case "(($ac_try" in
25874 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25875 *) ac_try_echo
=$ac_try;;
25877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25878 (eval "$ac_link") 2>conftest.er1
25880 grep -v '^ *+' conftest.er1
>conftest.err
25882 cat conftest.err
>&5
25883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25884 (exit $ac_status); } && {
25885 test -z "$ac_cxx_werror_flag" ||
25886 test ! -s conftest.err
25887 } && test -s conftest
$ac_exeext &&
25888 $as_test_x conftest
$ac_exeext; then
25889 eval wx_cv_func_
$wx_func=yes
25891 echo "$as_me: failed program was:" >&5
25892 sed 's/^/| /' conftest.
$ac_ext >&5
25894 eval wx_cv_func_
$wx_func=no
25897 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25898 conftest
$ac_exeext conftest.
$ac_ext
25901 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
25902 { echo "$as_me:$LINENO: result: $ac_res" >&5
25903 echo "${ECHO_T}$ac_res" >&6; }
25905 if eval test \
$wx_cv_func_$wx_func = yes
25907 cat >>confdefs.h
<<_ACEOF
25908 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
25920 for wx_func
in strtoull
25922 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25923 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25924 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25925 echo $ECHO_N "(cached) $ECHO_C" >&6
25928 cat >conftest.
$ac_ext <<_ACEOF
25932 cat confdefs.h
>>conftest.
$ac_ext
25933 cat >>conftest.
$ac_ext <<_ACEOF
25934 /* end confdefs.h. */
25937 $ac_includes_default
25953 rm -f conftest.
$ac_objext conftest
$ac_exeext
25954 if { (ac_try
="$ac_link"
25955 case "(($ac_try" in
25956 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25957 *) ac_try_echo=$ac_try;;
25959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25960 (eval "$ac_link") 2>conftest.er1
25962 grep -v '^ *+' conftest.er1 >conftest.err
25964 cat conftest.err >&5
25965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25966 (exit $ac_status); } && {
25967 test -z "$ac_cxx_werror_flag" ||
25968 test ! -s conftest.err
25969 } && test -s conftest$ac_exeext &&
25970 $as_test_x conftest$ac_exeext; then
25971 eval wx_cv_func_$wx_func=yes
25973 echo "$as_me: failed program was:" >&5
25974 sed 's/^/| /' conftest.$ac_ext >&5
25976 eval wx_cv_func_$wx_func=no
25979 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25980 conftest$ac_exeext conftest.$ac_ext
25983 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
25984 { echo "$as_me:$LINENO: result: $ac_res" >&5
25985 echo "${ECHO_T}$ac_res" >&6; }
25987 if eval test \$wx_cv_func_$wx_func = yes
25989 cat >>confdefs.h <<_ACEOF
25990 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
26002 ac_cpp='$CPP $CPPFLAGS'
26003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26010 if test "$wxUSE_REGEX" != "no"; then
26011 cat >>confdefs.h <<\_ACEOF
26012 #define wxUSE_REGEX 1
26016 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
26017 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
26018 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
26019 wxUSE_REGEX=builtin
26022 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
26023 if test "${ac_cv_header_regex_h+set}" = set; then
26024 { echo "$as_me:$LINENO: checking for regex.h" >&5
26025 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
26026 if test "${ac_cv_header_regex_h+set}" = set; then
26027 echo $ECHO_N "(cached) $ECHO_C" >&6
26029 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
26030 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
26032 # Is the header compilable?
26033 { echo "$as_me:$LINENO: checking regex.h usability" >&5
26034 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6; }
26035 cat >conftest.$ac_ext <<_ACEOF
26038 cat confdefs.h >>conftest.$ac_ext
26039 cat >>conftest.$ac_ext <<_ACEOF
26040 /* end confdefs.h. */
26041 $ac_includes_default
26044 rm -f conftest.$ac_objext
26045 if { (ac_try="$ac_compile"
26046 case "(($ac_try" in
26047 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26048 *) ac_try_echo
=$ac_try;;
26050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26051 (eval "$ac_compile") 2>conftest.er1
26053 grep -v '^ *+' conftest.er1
>conftest.err
26055 cat conftest.err
>&5
26056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26057 (exit $ac_status); } && {
26058 test -z "$ac_c_werror_flag" ||
26059 test ! -s conftest.err
26060 } && test -s conftest.
$ac_objext; then
26061 ac_header_compiler
=yes
26063 echo "$as_me: failed program was:" >&5
26064 sed 's/^/| /' conftest.
$ac_ext >&5
26066 ac_header_compiler
=no
26069 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26070 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26071 echo "${ECHO_T}$ac_header_compiler" >&6; }
26073 # Is the header present?
26074 { echo "$as_me:$LINENO: checking regex.h presence" >&5
26075 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6; }
26076 cat >conftest.
$ac_ext <<_ACEOF
26079 cat confdefs.h
>>conftest.
$ac_ext
26080 cat >>conftest.
$ac_ext <<_ACEOF
26081 /* end confdefs.h. */
26084 if { (ac_try
="$ac_cpp conftest.$ac_ext"
26085 case "(($ac_try" in
26086 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26087 *) ac_try_echo=$ac_try;;
26089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26090 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26092 grep -v '^ *+' conftest.er1 >conftest.err
26094 cat conftest.err >&5
26095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26096 (exit $ac_status); } >/dev/null && {
26097 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
26098 test ! -s conftest.err
26100 ac_header_preproc=yes
26102 echo "$as_me: failed program was:" >&5
26103 sed 's/^/| /' conftest.$ac_ext >&5
26105 ac_header_preproc=no
26108 rm -f conftest.err conftest.$ac_ext
26109 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26110 echo "${ECHO_T}$ac_header_preproc" >&6; }
26112 # So? What about this header?
26113 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26115 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
26116 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26117 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
26118 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
26119 ac_header_preproc=yes
26122 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
26123 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
26124 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
26125 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
26126 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
26127 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
26128 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
26129 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
26130 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
26131 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
26132 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
26133 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
26135 ## ----------------------------------------- ##
26136 ## Report this to wx-dev@lists.wxwidgets.org ##
26137 ## ----------------------------------------- ##
26139 ) | sed "s/^/$as_me: WARNING: /" >&2
26142 { echo "$as_me:$LINENO: checking for regex.h" >&5
26143 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
26144 if test "${ac_cv_header_regex_h+set}" = set; then
26145 echo $ECHO_N "(cached) $ECHO_C" >&6
26147 ac_cv_header_regex_h=$ac_header_preproc
26149 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
26150 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
26153 if test $ac_cv_header_regex_h = yes; then
26156 for ac_func in regcomp re_search
26158 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26159 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26160 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26161 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26162 echo $ECHO_N "(cached) $ECHO_C" >&6
26164 cat >conftest.$ac_ext <<_ACEOF
26167 cat confdefs.h >>conftest.$ac_ext
26168 cat >>conftest.$ac_ext <<_ACEOF
26169 /* end confdefs.h. */
26170 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26171 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26172 #define $ac_func innocuous_$ac_func
26174 /* System header to define __stub macros and hopefully few prototypes,
26175 which can conflict with char $ac_func (); below.
26176 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26177 <limits.h> exists even on freestanding compilers. */
26180 # include <limits.h>
26182 # include <assert.h>
26187 /* Override any GCC internal prototype to avoid an error.
26188 Use char because int might match the return type of a GCC
26189 builtin and then its argument prototype would still apply. */
26194 /* The GNU C library defines this for functions which it implements
26195 to always fail with ENOSYS. Some functions are actually named
26196 something starting with __ and the normal name is an alias. */
26197 #if defined __stub_$ac_func || defined __stub___$ac_func
26204 return $ac_func ();
26209 rm -f conftest.$ac_objext conftest$ac_exeext
26210 if { (ac_try="$ac_link"
26211 case "(($ac_try" in
26212 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26213 *) ac_try_echo
=$ac_try;;
26215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26216 (eval "$ac_link") 2>conftest.er1
26218 grep -v '^ *+' conftest.er1
>conftest.err
26220 cat conftest.err
>&5
26221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26222 (exit $ac_status); } && {
26223 test -z "$ac_c_werror_flag" ||
26224 test ! -s conftest.err
26225 } && test -s conftest
$ac_exeext &&
26226 $as_test_x conftest
$ac_exeext; then
26227 eval "$as_ac_var=yes"
26229 echo "$as_me: failed program was:" >&5
26230 sed 's/^/| /' conftest.
$ac_ext >&5
26232 eval "$as_ac_var=no"
26235 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
26236 conftest
$ac_exeext conftest.
$ac_ext
26238 ac_res
=`eval echo '${'$as_ac_var'}'`
26239 { echo "$as_me:$LINENO: result: $ac_res" >&5
26240 echo "${ECHO_T}$ac_res" >&6; }
26241 if test `eval echo '${'$as_ac_var'}'` = yes; then
26242 cat >>confdefs.h
<<_ACEOF
26243 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26253 if test "x$ac_cv_func_regcomp" != "xyes"; then
26254 if test "$wxUSE_REGEX" = "sys" ; then
26255 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
26256 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
26257 { (exit 1); exit 1; }; }
26259 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
26260 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
26261 wxUSE_REGEX
=builtin
26265 cat >>confdefs.h
<<\_ACEOF
26266 #define WX_NO_REGEX_ADVANCED 1
26275 if test "$wxUSE_ZLIB" != "no" ; then
26276 cat >>confdefs.h
<<\_ACEOF
26277 #define wxUSE_ZLIB 1
26281 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
26282 if test "$USE_DARWIN" = 1; then
26283 system_zlib_h_ok
="yes"
26285 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
26286 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
26287 if test "${ac_cv_header_zlib_h+set}" = set; then
26288 echo $ECHO_N "(cached) $ECHO_C" >&6
26290 if test "$cross_compiling" = yes; then
26291 unset ac_cv_header_zlib_h
26294 cat >conftest.
$ac_ext <<_ACEOF
26297 cat confdefs.h
>>conftest.
$ac_ext
26298 cat >>conftest.
$ac_ext <<_ACEOF
26299 /* end confdefs.h. */
26306 FILE *f=fopen("conftestval", "w");
26309 ZLIB_VERSION[0] == '1' &&
26310 (ZLIB_VERSION[2] > '1' ||
26311 (ZLIB_VERSION[2] == '1' &&
26312 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
26317 rm -f conftest
$ac_exeext
26318 if { (ac_try
="$ac_link"
26319 case "(($ac_try" in
26320 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26321 *) ac_try_echo=$ac_try;;
26323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26324 (eval "$ac_link") 2>&5
26326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26327 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26328 { (case "(($ac_try" in
26329 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26330 *) ac_try_echo
=$ac_try;;
26332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26333 (eval "$ac_try") 2>&5
26335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26336 (exit $ac_status); }; }; then
26337 ac_cv_header_zlib_h
=`cat conftestval`
26339 echo "$as_me: program exited with status $ac_status" >&5
26340 echo "$as_me: failed program was:" >&5
26341 sed 's/^/| /' conftest.
$ac_ext >&5
26343 ( exit $ac_status )
26344 ac_cv_header_zlib_h
=no
26346 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
26352 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26353 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26354 if test "${ac_cv_header_zlib_h+set}" = set; then
26355 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26356 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26357 if test "${ac_cv_header_zlib_h+set}" = set; then
26358 echo $ECHO_N "(cached) $ECHO_C" >&6
26360 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26361 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26363 # Is the header compilable?
26364 { echo "$as_me:$LINENO: checking zlib.h usability" >&5
26365 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6; }
26366 cat >conftest.
$ac_ext <<_ACEOF
26369 cat confdefs.h
>>conftest.
$ac_ext
26370 cat >>conftest.
$ac_ext <<_ACEOF
26371 /* end confdefs.h. */
26372 $ac_includes_default
26375 rm -f conftest.
$ac_objext
26376 if { (ac_try
="$ac_compile"
26377 case "(($ac_try" in
26378 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26379 *) ac_try_echo=$ac_try;;
26381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26382 (eval "$ac_compile") 2>conftest.er1
26384 grep -v '^ *+' conftest.er1 >conftest.err
26386 cat conftest.err >&5
26387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26388 (exit $ac_status); } && {
26389 test -z "$ac_c_werror_flag" ||
26390 test ! -s conftest.err
26391 } && test -s conftest.$ac_objext; then
26392 ac_header_compiler=yes
26394 echo "$as_me: failed program was:" >&5
26395 sed 's/^/| /' conftest.$ac_ext >&5
26397 ac_header_compiler=no
26400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26401 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26402 echo "${ECHO_T}$ac_header_compiler" >&6; }
26404 # Is the header present?
26405 { echo "$as_me:$LINENO: checking zlib.h presence" >&5
26406 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6; }
26407 cat >conftest.$ac_ext <<_ACEOF
26410 cat confdefs.h >>conftest.$ac_ext
26411 cat >>conftest.$ac_ext <<_ACEOF
26412 /* end confdefs.h. */
26415 if { (ac_try="$ac_cpp conftest.$ac_ext"
26416 case "(($ac_try" in
26417 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26418 *) ac_try_echo
=$ac_try;;
26420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26421 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26423 grep -v '^ *+' conftest.er1
>conftest.err
26425 cat conftest.err
>&5
26426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26427 (exit $ac_status); } >/dev
/null
&& {
26428 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
26429 test ! -s conftest.err
26431 ac_header_preproc
=yes
26433 echo "$as_me: failed program was:" >&5
26434 sed 's/^/| /' conftest.
$ac_ext >&5
26436 ac_header_preproc
=no
26439 rm -f conftest.err conftest.
$ac_ext
26440 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26441 echo "${ECHO_T}$ac_header_preproc" >&6; }
26443 # So? What about this header?
26444 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26446 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
26447 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26448 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
26449 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
26450 ac_header_preproc
=yes
26453 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
26454 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
26455 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
26456 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
26457 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
26458 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
26459 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
26460 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
26461 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
26462 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
26463 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
26464 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
26466 ## ----------------------------------------- ##
26467 ## Report this to wx-dev@lists.wxwidgets.org ##
26468 ## ----------------------------------------- ##
26470 ) | sed "s/^/$as_me: WARNING: /" >&2
26473 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26474 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26475 if test "${ac_cv_header_zlib_h+set}" = set; then
26476 echo $ECHO_N "(cached) $ECHO_C" >&6
26478 ac_cv_header_zlib_h
=$ac_header_preproc
26480 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26481 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26487 system_zlib_h_ok
=$ac_cv_header_zlib_h
26490 if test "$system_zlib_h_ok" = "yes"; then
26491 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26492 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26493 if test "${ac_cv_lib_z_deflate+set}" = set; then
26494 echo $ECHO_N "(cached) $ECHO_C" >&6
26496 ac_check_lib_save_LIBS
=$LIBS
26498 cat >conftest.
$ac_ext <<_ACEOF
26501 cat confdefs.h
>>conftest.
$ac_ext
26502 cat >>conftest.
$ac_ext <<_ACEOF
26503 /* end confdefs.h. */
26505 /* Override any GCC internal prototype to avoid an error.
26506 Use char because int might match the return type of a GCC
26507 builtin and then its argument prototype would still apply. */
26520 rm -f conftest.
$ac_objext conftest
$ac_exeext
26521 if { (ac_try
="$ac_link"
26522 case "(($ac_try" in
26523 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26524 *) ac_try_echo=$ac_try;;
26526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26527 (eval "$ac_link") 2>conftest.er1
26529 grep -v '^ *+' conftest.er1 >conftest.err
26531 cat conftest.err >&5
26532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26533 (exit $ac_status); } && {
26534 test -z "$ac_c_werror_flag" ||
26535 test ! -s conftest.err
26536 } && test -s conftest$ac_exeext &&
26537 $as_test_x conftest$ac_exeext; then
26538 ac_cv_lib_z_deflate=yes
26540 echo "$as_me: failed program was:" >&5
26541 sed 's/^/| /' conftest.$ac_ext >&5
26543 ac_cv_lib_z_deflate=no
26546 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26547 conftest$ac_exeext conftest.$ac_ext
26548 LIBS=$ac_check_lib_save_LIBS
26550 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26551 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26552 if test $ac_cv_lib_z_deflate = yes; then
26558 if test "x$ZLIB_LINK" = "x" ; then
26559 if test "$wxUSE_ZLIB" = "sys" ; then
26560 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26561 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26562 { (exit 1); exit 1; }; }
26564 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26565 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26576 if test "$wxUSE_LIBPNG" != "no" ; then
26577 cat >>confdefs.h <<\_ACEOF
26578 #define wxUSE_LIBPNG 1
26582 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26583 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26584 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26588 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26589 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26590 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26591 wxUSE_LIBPNG=builtin
26594 if test "$wxUSE_MGL" != 1 ; then
26595 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26596 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26597 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26598 if test "${ac_cv_header_png_h+set}" = set; then
26599 echo $ECHO_N "(cached) $ECHO_C" >&6
26601 if test "$cross_compiling" = yes; then
26602 unset ac_cv_header_png_h
26605 cat >conftest.$ac_ext <<_ACEOF
26608 cat confdefs.h >>conftest.$ac_ext
26609 cat >>conftest.$ac_ext <<_ACEOF
26610 /* end confdefs.h. */
26617 FILE *f=fopen("conftestval", "w");
26620 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26625 rm -f conftest$ac_exeext
26626 if { (ac_try="$ac_link"
26627 case "(($ac_try" in
26628 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26629 *) ac_try_echo
=$ac_try;;
26631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26632 (eval "$ac_link") 2>&5
26634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26635 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26636 { (case "(($ac_try" in
26637 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26638 *) ac_try_echo=$ac_try;;
26640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26641 (eval "$ac_try") 2>&5
26643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26644 (exit $ac_status); }; }; then
26645 ac_cv_header_png_h=`cat conftestval
`
26647 echo "$as_me: program exited with status $ac_status" >&5
26648 echo "$as_me: failed program was:" >&5
26649 sed 's/^/| /' conftest.$ac_ext >&5
26651 ( exit $ac_status )
26652 ac_cv_header_png_h=no
26654 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26660 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26661 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26662 if test "${ac_cv_header_png_h+set}" = set; then
26663 { echo "$as_me:$LINENO: checking for png.h" >&5
26664 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26665 if test "${ac_cv_header_png_h+set}" = set; then
26666 echo $ECHO_N "(cached) $ECHO_C" >&6
26668 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26669 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26671 # Is the header compilable?
26672 { echo "$as_me:$LINENO: checking png.h usability" >&5
26673 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6; }
26674 cat >conftest.$ac_ext <<_ACEOF
26677 cat confdefs.h >>conftest.$ac_ext
26678 cat >>conftest.$ac_ext <<_ACEOF
26679 /* end confdefs.h. */
26680 $ac_includes_default
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_header_compiler
=yes
26702 echo "$as_me: failed program was:" >&5
26703 sed 's/^/| /' conftest.
$ac_ext >&5
26705 ac_header_compiler
=no
26708 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26709 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26710 echo "${ECHO_T}$ac_header_compiler" >&6; }
26712 # Is the header present?
26713 { echo "$as_me:$LINENO: checking png.h presence" >&5
26714 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6; }
26715 cat >conftest.
$ac_ext <<_ACEOF
26718 cat confdefs.h
>>conftest.
$ac_ext
26719 cat >>conftest.
$ac_ext <<_ACEOF
26720 /* end confdefs.h. */
26723 if { (ac_try
="$ac_cpp conftest.$ac_ext"
26724 case "(($ac_try" in
26725 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26726 *) ac_try_echo=$ac_try;;
26728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26729 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26731 grep -v '^ *+' conftest.er1 >conftest.err
26733 cat conftest.err >&5
26734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26735 (exit $ac_status); } >/dev/null && {
26736 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
26737 test ! -s conftest.err
26739 ac_header_preproc=yes
26741 echo "$as_me: failed program was:" >&5
26742 sed 's/^/| /' conftest.$ac_ext >&5
26744 ac_header_preproc=no
26747 rm -f conftest.err conftest.$ac_ext
26748 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26749 echo "${ECHO_T}$ac_header_preproc" >&6; }
26751 # So? What about this header?
26752 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26754 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
26755 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26756 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
26757 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
26758 ac_header_preproc=yes
26761 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
26762 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
26763 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
26764 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
26765 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
26766 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
26767 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
26768 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
26769 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
26770 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
26771 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
26772 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
26774 ## ----------------------------------------- ##
26775 ## Report this to wx-dev@lists.wxwidgets.org ##
26776 ## ----------------------------------------- ##
26778 ) | sed "s/^/$as_me: WARNING: /" >&2
26781 { echo "$as_me:$LINENO: checking for png.h" >&5
26782 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26783 if test "${ac_cv_header_png_h+set}" = set; then
26784 echo $ECHO_N "(cached) $ECHO_C" >&6
26786 ac_cv_header_png_h=$ac_header_preproc
26788 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26789 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26795 if test "$ac_cv_header_png_h" = "yes"; then
26796 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26797 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
26798 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26799 echo $ECHO_N "(cached) $ECHO_C" >&6
26801 ac_check_lib_save_LIBS=$LIBS
26802 LIBS="-lpng -lz -lm $LIBS"
26803 cat >conftest.$ac_ext <<_ACEOF
26806 cat confdefs.h >>conftest.$ac_ext
26807 cat >>conftest.$ac_ext <<_ACEOF
26808 /* end confdefs.h. */
26810 /* Override any GCC internal prototype to avoid an error.
26811 Use char because int might match the return type of a GCC
26812 builtin and then its argument prototype would still apply. */
26816 char png_check_sig ();
26820 return png_check_sig ();
26825 rm -f conftest.$ac_objext conftest$ac_exeext
26826 if { (ac_try="$ac_link"
26827 case "(($ac_try" in
26828 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26829 *) ac_try_echo
=$ac_try;;
26831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26832 (eval "$ac_link") 2>conftest.er1
26834 grep -v '^ *+' conftest.er1
>conftest.err
26836 cat conftest.err
>&5
26837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26838 (exit $ac_status); } && {
26839 test -z "$ac_c_werror_flag" ||
26840 test ! -s conftest.err
26841 } && test -s conftest
$ac_exeext &&
26842 $as_test_x conftest
$ac_exeext; then
26843 ac_cv_lib_png_png_check_sig
=yes
26845 echo "$as_me: failed program was:" >&5
26846 sed 's/^/| /' conftest.
$ac_ext >&5
26848 ac_cv_lib_png_png_check_sig
=no
26851 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
26852 conftest
$ac_exeext conftest.
$ac_ext
26853 LIBS
=$ac_check_lib_save_LIBS
26855 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26856 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
26857 if test $ac_cv_lib_png_png_check_sig = yes; then
26858 PNG_LINK
=" -lpng -lz"
26863 if test "x$PNG_LINK" = "x" ; then
26864 if test "$wxUSE_LIBPNG" = "sys" ; then
26865 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26866 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26867 { (exit 1); exit 1; }; }
26869 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26870 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26871 wxUSE_LIBPNG
=builtin
26879 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
26884 if test "$wxUSE_LIBJPEG" != "no" ; then
26885 cat >>confdefs.h
<<\_ACEOF
26886 #define wxUSE_LIBJPEG 1
26890 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26891 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26892 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26896 if test "$wxUSE_MGL" != 1 ; then
26897 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26898 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26899 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
26900 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26901 echo $ECHO_N "(cached) $ECHO_C" >&6
26903 cat >conftest.
$ac_ext <<_ACEOF
26906 cat confdefs.h
>>conftest.
$ac_ext
26907 cat >>conftest.
$ac_ext <<_ACEOF
26908 /* end confdefs.h. */
26910 #undef HAVE_STDLIB_H
26912 #include <jpeglib.h>
26923 rm -f conftest.
$ac_objext
26924 if { (ac_try
="$ac_compile"
26925 case "(($ac_try" in
26926 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26927 *) ac_try_echo=$ac_try;;
26929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26930 (eval "$ac_compile") 2>conftest.er1
26932 grep -v '^ *+' conftest.er1 >conftest.err
26934 cat conftest.err >&5
26935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26936 (exit $ac_status); } && {
26937 test -z "$ac_c_werror_flag" ||
26938 test ! -s conftest.err
26939 } && test -s conftest.$ac_objext; then
26940 ac_cv_header_jpeglib_h=yes
26942 echo "$as_me: failed program was:" >&5
26943 sed 's/^/| /' conftest.$ac_ext >&5
26945 ac_cv_header_jpeglib_h=no
26949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26953 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26954 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
26956 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26957 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26958 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
26959 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26960 echo $ECHO_N "(cached) $ECHO_C" >&6
26962 ac_check_lib_save_LIBS=$LIBS
26963 LIBS="-ljpeg $LIBS"
26964 cat >conftest.$ac_ext <<_ACEOF
26967 cat confdefs.h >>conftest.$ac_ext
26968 cat >>conftest.$ac_ext <<_ACEOF
26969 /* end confdefs.h. */
26971 /* Override any GCC internal prototype to avoid an error.
26972 Use char because int might match the return type of a GCC
26973 builtin and then its argument prototype would still apply. */
26977 char jpeg_read_header ();
26981 return jpeg_read_header ();
26986 rm -f conftest.$ac_objext conftest$ac_exeext
26987 if { (ac_try="$ac_link"
26988 case "(($ac_try" in
26989 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26990 *) ac_try_echo
=$ac_try;;
26992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26993 (eval "$ac_link") 2>conftest.er1
26995 grep -v '^ *+' conftest.er1
>conftest.err
26997 cat conftest.err
>&5
26998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26999 (exit $ac_status); } && {
27000 test -z "$ac_c_werror_flag" ||
27001 test ! -s conftest.err
27002 } && test -s conftest
$ac_exeext &&
27003 $as_test_x conftest
$ac_exeext; then
27004 ac_cv_lib_jpeg_jpeg_read_header
=yes
27006 echo "$as_me: failed program was:" >&5
27007 sed 's/^/| /' conftest.
$ac_ext >&5
27009 ac_cv_lib_jpeg_jpeg_read_header
=no
27012 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
27013 conftest
$ac_exeext conftest.
$ac_ext
27014 LIBS
=$ac_check_lib_save_LIBS
27016 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
27017 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
27018 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
27019 JPEG_LINK
=" -ljpeg"
27024 if test "x$JPEG_LINK" = "x" ; then
27025 if test "$wxUSE_LIBJPEG" = "sys" ; then
27026 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
27027 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
27028 { (exit 1); exit 1; }; }
27030 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
27031 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
27032 wxUSE_LIBJPEG
=builtin
27037 if test "$wxUSE_MSW" = 1; then
27038 { echo "$as_me:$LINENO: checking for boolean" >&5
27039 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27040 if test "${ac_cv_type_boolean+set}" = set; then
27041 echo $ECHO_N "(cached) $ECHO_C" >&6
27043 cat >conftest.
$ac_ext <<_ACEOF
27046 cat confdefs.h
>>conftest.
$ac_ext
27047 cat >>conftest.
$ac_ext <<_ACEOF
27048 /* end confdefs.h. */
27049 #include <windows.h>
27051 typedef boolean ac__type_new_;
27055 if ((ac__type_new_ *) 0)
27057 if (sizeof (ac__type_new_))
27063 rm -f conftest.
$ac_objext
27064 if { (ac_try
="$ac_compile"
27065 case "(($ac_try" in
27066 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27067 *) ac_try_echo=$ac_try;;
27069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27070 (eval "$ac_compile") 2>conftest.er1
27072 grep -v '^ *+' conftest.er1 >conftest.err
27074 cat conftest.err >&5
27075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27076 (exit $ac_status); } && {
27077 test -z "$ac_c_werror_flag" ||
27078 test ! -s conftest.err
27079 } && test -s conftest.$ac_objext; then
27080 ac_cv_type_boolean=yes
27082 echo "$as_me: failed program was:" >&5
27083 sed 's/^/| /' conftest.$ac_ext >&5
27085 ac_cv_type_boolean=no
27088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27090 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27091 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27092 if test $ac_cv_type_boolean = yes; then
27094 cat >>confdefs.h <<_ACEOF
27095 #define HAVE_BOOLEAN 1
27099 { echo "$as_me:$LINENO: checking for boolean" >&5
27100 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27101 if test "${ac_cv_type_boolean+set}" = set; then
27102 echo $ECHO_N "(cached) $ECHO_C" >&6
27104 cat >conftest.$ac_ext <<_ACEOF
27107 cat confdefs.h >>conftest.$ac_ext
27108 cat >>conftest.$ac_ext <<_ACEOF
27109 /* end confdefs.h. */
27111 #undef HAVE_BOOLEAN
27113 #include <jpeglib.h>
27116 typedef boolean ac__type_new_;
27120 if ((ac__type_new_ *) 0)
27122 if (sizeof (ac__type_new_))
27128 rm -f conftest.$ac_objext
27129 if { (ac_try="$ac_compile"
27130 case "(($ac_try" in
27131 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27132 *) ac_try_echo
=$ac_try;;
27134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27135 (eval "$ac_compile") 2>conftest.er1
27137 grep -v '^ *+' conftest.er1
>conftest.err
27139 cat conftest.err
>&5
27140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27141 (exit $ac_status); } && {
27142 test -z "$ac_c_werror_flag" ||
27143 test ! -s conftest.err
27144 } && test -s conftest.
$ac_objext; then
27145 ac_cv_type_boolean
=yes
27147 echo "$as_me: failed program was:" >&5
27148 sed 's/^/| /' conftest.
$ac_ext >&5
27150 ac_cv_type_boolean
=no
27153 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27155 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27156 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27158 # The cast to long int works around a bug in the HP C Compiler
27159 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27160 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
27161 # This bug is HP SR number 8606223364.
27162 { echo "$as_me:$LINENO: checking size of boolean" >&5
27163 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
27164 if test "${ac_cv_sizeof_boolean+set}" = set; then
27165 echo $ECHO_N "(cached) $ECHO_C" >&6
27167 if test "$cross_compiling" = yes; then
27168 # Depending upon the size, compute the lo and hi bounds.
27169 cat >conftest.
$ac_ext <<_ACEOF
27172 cat confdefs.h
>>conftest.
$ac_ext
27173 cat >>conftest.
$ac_ext <<_ACEOF
27174 /* end confdefs.h. */
27176 #undef HAVE_BOOLEAN
27178 #include <jpeglib.h>
27181 typedef boolean ac__type_sizeof_;
27185 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27192 rm -f conftest.
$ac_objext
27193 if { (ac_try
="$ac_compile"
27194 case "(($ac_try" in
27195 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27196 *) ac_try_echo=$ac_try;;
27198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27199 (eval "$ac_compile") 2>conftest.er1
27201 grep -v '^ *+' conftest.er1 >conftest.err
27203 cat conftest.err >&5
27204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27205 (exit $ac_status); } && {
27206 test -z "$ac_c_werror_flag" ||
27207 test ! -s conftest.err
27208 } && test -s conftest.$ac_objext; then
27211 cat >conftest.$ac_ext <<_ACEOF
27214 cat confdefs.h >>conftest.$ac_ext
27215 cat >>conftest.$ac_ext <<_ACEOF
27216 /* end confdefs.h. */
27218 #undef HAVE_BOOLEAN
27220 #include <jpeglib.h>
27223 typedef boolean ac__type_sizeof_;
27227 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27234 rm -f conftest.$ac_objext
27235 if { (ac_try="$ac_compile"
27236 case "(($ac_try" in
27237 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27238 *) ac_try_echo
=$ac_try;;
27240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27241 (eval "$ac_compile") 2>conftest.er1
27243 grep -v '^ *+' conftest.er1
>conftest.err
27245 cat conftest.err
>&5
27246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27247 (exit $ac_status); } && {
27248 test -z "$ac_c_werror_flag" ||
27249 test ! -s conftest.err
27250 } && test -s conftest.
$ac_objext; then
27251 ac_hi
=$ac_mid; break
27253 echo "$as_me: failed program was:" >&5
27254 sed 's/^/| /' conftest.
$ac_ext >&5
27256 ac_lo
=`expr $ac_mid + 1`
27257 if test $ac_lo -le $ac_mid; then
27261 ac_mid
=`expr 2 '*' $ac_mid + 1`
27264 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27267 echo "$as_me: failed program was:" >&5
27268 sed 's/^/| /' conftest.
$ac_ext >&5
27270 cat >conftest.
$ac_ext <<_ACEOF
27273 cat confdefs.h
>>conftest.
$ac_ext
27274 cat >>conftest.
$ac_ext <<_ACEOF
27275 /* end confdefs.h. */
27277 #undef HAVE_BOOLEAN
27279 #include <jpeglib.h>
27282 typedef boolean ac__type_sizeof_;
27286 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27293 rm -f conftest.
$ac_objext
27294 if { (ac_try
="$ac_compile"
27295 case "(($ac_try" in
27296 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27297 *) ac_try_echo=$ac_try;;
27299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27300 (eval "$ac_compile") 2>conftest.er1
27302 grep -v '^ *+' conftest.er1 >conftest.err
27304 cat conftest.err >&5
27305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27306 (exit $ac_status); } && {
27307 test -z "$ac_c_werror_flag" ||
27308 test ! -s conftest.err
27309 } && test -s conftest.$ac_objext; then
27312 cat >conftest.$ac_ext <<_ACEOF
27315 cat confdefs.h >>conftest.$ac_ext
27316 cat >>conftest.$ac_ext <<_ACEOF
27317 /* end confdefs.h. */
27319 #undef HAVE_BOOLEAN
27321 #include <jpeglib.h>
27324 typedef boolean ac__type_sizeof_;
27328 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27335 rm -f conftest.$ac_objext
27336 if { (ac_try="$ac_compile"
27337 case "(($ac_try" in
27338 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27339 *) ac_try_echo
=$ac_try;;
27341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27342 (eval "$ac_compile") 2>conftest.er1
27344 grep -v '^ *+' conftest.er1
>conftest.err
27346 cat conftest.err
>&5
27347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27348 (exit $ac_status); } && {
27349 test -z "$ac_c_werror_flag" ||
27350 test ! -s conftest.err
27351 } && test -s conftest.
$ac_objext; then
27352 ac_lo
=$ac_mid; break
27354 echo "$as_me: failed program was:" >&5
27355 sed 's/^/| /' conftest.
$ac_ext >&5
27357 ac_hi
=`expr '(' $ac_mid ')' - 1`
27358 if test $ac_mid -le $ac_hi; then
27362 ac_mid
=`expr 2 '*' $ac_mid`
27365 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27368 echo "$as_me: failed program was:" >&5
27369 sed 's/^/| /' conftest.
$ac_ext >&5
27374 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27377 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27378 # Binary search between lo and hi bounds.
27379 while test "x$ac_lo" != "x$ac_hi"; do
27380 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27381 cat >conftest.
$ac_ext <<_ACEOF
27384 cat confdefs.h
>>conftest.
$ac_ext
27385 cat >>conftest.
$ac_ext <<_ACEOF
27386 /* end confdefs.h. */
27388 #undef HAVE_BOOLEAN
27390 #include <jpeglib.h>
27393 typedef boolean ac__type_sizeof_;
27397 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27404 rm -f conftest.
$ac_objext
27405 if { (ac_try
="$ac_compile"
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_compile") 2>conftest.er1
27413 grep -v '^ *+' conftest.er1 >conftest.err
27415 cat conftest.err >&5
27416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27417 (exit $ac_status); } && {
27418 test -z "$ac_c_werror_flag" ||
27419 test ! -s conftest.err
27420 } && test -s conftest.$ac_objext; then
27423 echo "$as_me: failed program was:" >&5
27424 sed 's/^/| /' conftest.$ac_ext >&5
27426 ac_lo=`expr '(' $ac_mid ')' + 1`
27429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27432 ?*) ac_cv_sizeof_boolean=$ac_lo;;
27433 '') if test "$ac_cv_type_boolean" = yes; then
27434 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27435 See \`config.log
' for more details." >&5
27436 echo "$as_me: error: cannot compute sizeof (boolean)
27437 See \`config.log' for more details.
" >&2;}
27438 { (exit 77); exit 77; }; }
27440 ac_cv_sizeof_boolean=0
27444 cat >conftest.$ac_ext <<_ACEOF
27447 cat confdefs.h >>conftest.$ac_ext
27448 cat >>conftest.$ac_ext <<_ACEOF
27449 /* end confdefs.h. */
27451 #undef HAVE_BOOLEAN
27453 #include <jpeglib.h>
27456 typedef boolean ac__type_sizeof_;
27457 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27458 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27460 #include <stdlib.h>
27465 FILE *f = fopen ("conftest.val
", "w
");
27468 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27470 long int i = longval ();
27471 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27473 fprintf (f, "%ld
\n", i);
27477 unsigned long int i = ulongval ();
27478 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27480 fprintf (f, "%lu
\n", i);
27482 return ferror (f) || fclose (f) != 0;
27488 rm -f conftest$ac_exeext
27489 if { (ac_try="$ac_link"
27490 case "(($ac_try" in
27491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27492 *) ac_try_echo=$ac_try;;
27494 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27495 (eval "$ac_link") 2>&5
27497 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27498 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27499 { (case "(($ac_try" in
27500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27501 *) ac_try_echo=$ac_try;;
27503 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27504 (eval "$ac_try") 2>&5
27506 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27507 (exit $ac_status); }; }; then
27508 ac_cv_sizeof_boolean=`cat conftest.val`
27510 echo "$as_me: program exited with status
$ac_status" >&5
27511 echo "$as_me: failed program was
:" >&5
27512 sed 's/^/| /' conftest.$ac_ext >&5
27514 ( exit $ac_status )
27515 if test "$ac_cv_type_boolean" = yes; then
27516 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(boolean
)
27517 See \
`config.log' for more details." >&5
27518 echo "$as_me: error: cannot compute sizeof (boolean)
27519 See \`config.log
' for more details." >&2;}
27520 { (exit 77); exit 77; }; }
27522 ac_cv_sizeof_boolean=0
27525 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27529 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
27530 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27534 cat >>confdefs.h <<_ACEOF
27535 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27539 cat >>confdefs.h <<_ACEOF
27540 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27554 TIFF_PREREQ_LINKS=-lm
27555 if test "$wxUSE_LIBTIFF" != "no" ; then
27556 cat >>confdefs.h <<\_ACEOF
27557 #define wxUSE_LIBTIFF 1
27561 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
27562 if test "$wxUSE_LIBJPEG" = "sys"; then
27563 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27565 if test "$wxUSE_ZLIB" = "sys"; then
27566 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27568 if test "${ac_cv_header_tiffio_h+set}" = set; then
27569 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
27570 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
27571 if test "${ac_cv_header_tiffio_h+set}" = set; then
27572 echo $ECHO_N "(cached) $ECHO_C" >&6
27574 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
27575 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27577 # Is the header compilable?
27578 { echo "$as_me:$LINENO: checking tiffio.h usability" >&5
27579 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6; }
27580 cat >conftest.$ac_ext <<_ACEOF
27583 cat confdefs.h >>conftest.$ac_ext
27584 cat >>conftest.$ac_ext <<_ACEOF
27585 /* end confdefs.h. */
27586 $ac_includes_default
27587 #include <tiffio.h>
27589 rm -f conftest.$ac_objext
27590 if { (ac_try="$ac_compile"
27591 case "(($ac_try" in
27592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27593 *) ac_try_echo=$ac_try;;
27595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27596 (eval "$ac_compile") 2>conftest.er1
27598 grep -v '^
*+' conftest.er1 >conftest.err
27600 cat conftest.err >&5
27601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27602 (exit $ac_status); } && {
27603 test -z "$ac_c_werror_flag" ||
27604 test ! -s conftest.err
27605 } && test -s conftest.$ac_objext; then
27606 ac_header_compiler=yes
27608 echo "$as_me: failed program was:" >&5
27609 sed 's
/^
/| /' conftest.$ac_ext >&5
27611 ac_header_compiler=no
27614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27615 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27616 echo "${ECHO_T}$ac_header_compiler" >&6; }
27618 # Is the header present?
27619 { echo "$as_me:$LINENO: checking tiffio.h presence" >&5
27620 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6; }
27621 cat >conftest.$ac_ext <<_ACEOF
27624 cat confdefs.h >>conftest.$ac_ext
27625 cat >>conftest.$ac_ext <<_ACEOF
27626 /* end confdefs.h. */
27627 #include <tiffio.h>
27629 if { (ac_try="$ac_cpp conftest.$ac_ext"
27630 case "(($ac_try" in
27631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27632 *) ac_try_echo=$ac_try;;
27634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27635 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27637 grep -v '^
*+' conftest.er1 >conftest.err
27639 cat conftest.err >&5
27640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27641 (exit $ac_status); } >/dev/null && {
27642 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
27643 test ! -s conftest.err
27645 ac_header_preproc=yes
27647 echo "$as_me: failed program was:" >&5
27648 sed 's
/^
/| /' conftest.$ac_ext >&5
27650 ac_header_preproc=no
27653 rm -f conftest.err conftest.$ac_ext
27654 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27655 echo "${ECHO_T}$ac_header_preproc" >&6; }
27657 # So? What about this header?
27658 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27660 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
27661 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27662 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result
" >&5
27663 echo "$as_me: WARNING
: tiffio.h
: proceeding with the compiler
's result" >&2;}
27664 ac_header_preproc=yes
27667 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
27668 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
27669 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
27670 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
27671 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
27672 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
27673 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
27674 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
27675 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result
" >&5
27676 echo "$as_me: WARNING
: tiffio.h
: proceeding with the preprocessor
's result" >&2;}
27677 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
27678 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
27680 ## ----------------------------------------- ##
27681 ## Report this to wx-dev@lists.wxwidgets.org ##
27682 ## ----------------------------------------- ##
27684 ) | sed "s/^/$as_me: WARNING: /" >&2
27687 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
27688 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
27689 if test "${ac_cv_header_tiffio_h+set}" = set; then
27690 echo $ECHO_N "(cached) $ECHO_C" >&6
27692 ac_cv_header_tiffio_h=$ac_header_preproc
27694 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
27695 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27698 if test $ac_cv_header_tiffio_h = yes; then
27700 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
27701 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
27702 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27703 echo $ECHO_N "(cached) $ECHO_C" >&6
27705 ac_check_lib_save_LIBS=$LIBS
27706 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27707 cat >conftest.$ac_ext <<_ACEOF
27710 cat confdefs.h >>conftest.$ac_ext
27711 cat >>conftest.$ac_ext <<_ACEOF
27712 /* end confdefs.h. */
27714 /* Override any GCC internal prototype to avoid an error.
27715 Use char because int might match the return type of a GCC
27716 builtin and then its argument prototype would still apply. */
27724 return TIFFError ();
27729 rm -f conftest.$ac_objext conftest$ac_exeext
27730 if { (ac_try="$ac_link"
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_link") 2>conftest.er1
27738 grep -v '^
*+' conftest.er1 >conftest.err
27740 cat conftest.err >&5
27741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27742 (exit $ac_status); } && {
27743 test -z "$ac_c_werror_flag" ||
27744 test ! -s conftest.err
27745 } && test -s conftest$ac_exeext &&
27746 $as_test_x conftest$ac_exeext; then
27747 ac_cv_lib_tiff_TIFFError=yes
27749 echo "$as_me: failed program was:" >&5
27750 sed 's
/^
/| /' conftest.$ac_ext >&5
27752 ac_cv_lib_tiff_TIFFError=no
27755 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27756 conftest$ac_exeext conftest.$ac_ext
27757 LIBS=$ac_check_lib_save_LIBS
27759 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
27760 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27761 if test $ac_cv_lib_tiff_TIFFError = yes; then
27762 TIFF_LINK=" -ltiff"
27771 if test "x$TIFF_LINK" = "x" ; then
27772 if test "$wxUSE_LIBTIFF" = "sys" ; then
27773 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
27774 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
27775 { (exit 1); exit 1; }; }
27777 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
27778 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
27779 wxUSE_LIBTIFF=builtin
27788 if test "$wxUSE_WCHAR_T" != "yes"; then
27789 if test "$wxUSE_EXPAT" != "no"; then
27790 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
27791 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
27794 if test "$wxUSE_XML" != "no"; then
27795 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
27796 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
27801 if test "$wxUSE_EXPAT" != "no"; then
27803 cat >>confdefs.h <<\_ACEOF
27804 #define wxUSE_EXPAT 1
27807 cat >>confdefs.h <<\_ACEOF
27808 #define wxUSE_XML 1
27812 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
27813 if test "${ac_cv_header_expat_h+set}" = set; then
27814 { echo "$as_me:$LINENO: checking for expat.h" >&5
27815 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
27816 if test "${ac_cv_header_expat_h+set}" = set; then
27817 echo $ECHO_N "(cached) $ECHO_C" >&6
27819 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
27820 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27822 # Is the header compilable?
27823 { echo "$as_me:$LINENO: checking expat.h usability" >&5
27824 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6; }
27825 cat >conftest.$ac_ext <<_ACEOF
27828 cat confdefs.h >>conftest.$ac_ext
27829 cat >>conftest.$ac_ext <<_ACEOF
27830 /* end confdefs.h. */
27831 $ac_includes_default
27834 rm -f conftest.$ac_objext
27835 if { (ac_try="$ac_compile"
27836 case "(($ac_try" in
27837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27838 *) ac_try_echo=$ac_try;;
27840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27841 (eval "$ac_compile") 2>conftest.er1
27843 grep -v '^
*+' conftest.er1 >conftest.err
27845 cat conftest.err >&5
27846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27847 (exit $ac_status); } && {
27848 test -z "$ac_c_werror_flag" ||
27849 test ! -s conftest.err
27850 } && test -s conftest.$ac_objext; then
27851 ac_header_compiler=yes
27853 echo "$as_me: failed program was:" >&5
27854 sed 's
/^
/| /' conftest.$ac_ext >&5
27856 ac_header_compiler=no
27859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27860 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27861 echo "${ECHO_T}$ac_header_compiler" >&6; }
27863 # Is the header present?
27864 { echo "$as_me:$LINENO: checking expat.h presence" >&5
27865 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6; }
27866 cat >conftest.$ac_ext <<_ACEOF
27869 cat confdefs.h >>conftest.$ac_ext
27870 cat >>conftest.$ac_ext <<_ACEOF
27871 /* end confdefs.h. */
27874 if { (ac_try="$ac_cpp conftest.$ac_ext"
27875 case "(($ac_try" in
27876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27877 *) ac_try_echo=$ac_try;;
27879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27880 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27882 grep -v '^
*+' conftest.er1 >conftest.err
27884 cat conftest.err >&5
27885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27886 (exit $ac_status); } >/dev/null && {
27887 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
27888 test ! -s conftest.err
27890 ac_header_preproc=yes
27892 echo "$as_me: failed program was:" >&5
27893 sed 's
/^
/| /' conftest.$ac_ext >&5
27895 ac_header_preproc=no
27898 rm -f conftest.err conftest.$ac_ext
27899 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27900 echo "${ECHO_T}$ac_header_preproc" >&6; }
27902 # So? What about this header?
27903 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27905 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
27906 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27907 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result
" >&5
27908 echo "$as_me: WARNING
: expat.h
: proceeding with the compiler
's result" >&2;}
27909 ac_header_preproc=yes
27912 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
27913 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
27914 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
27915 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
27916 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
27917 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
27918 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
27919 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
27920 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result
" >&5
27921 echo "$as_me: WARNING
: expat.h
: proceeding with the preprocessor
's result" >&2;}
27922 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
27923 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
27925 ## ----------------------------------------- ##
27926 ## Report this to wx-dev@lists.wxwidgets.org ##
27927 ## ----------------------------------------- ##
27929 ) | sed "s/^/$as_me: WARNING: /" >&2
27932 { echo "$as_me:$LINENO: checking for expat.h" >&5
27933 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
27934 if test "${ac_cv_header_expat_h+set}" = set; then
27935 echo $ECHO_N "(cached) $ECHO_C" >&6
27937 ac_cv_header_expat_h=$ac_header_preproc
27939 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
27940 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27943 if test $ac_cv_header_expat_h = yes; then
27948 if test "x$found_expat_h" = "x1"; then
27949 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
27950 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
27951 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27952 echo $ECHO_N "(cached) $ECHO_C" >&6
27956 ac_cpp='$CXXCPP $CPPFLAGS'
27957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
27958 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
27959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27961 cat >conftest.$ac_ext <<_ACEOF
27964 cat confdefs.h >>conftest.$ac_ext
27965 cat >>conftest.$ac_ext <<_ACEOF
27966 /* end confdefs.h. */
27976 rm -f conftest.$ac_objext
27977 if { (ac_try="$ac_compile"
27978 case "(($ac_try" in
27979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27980 *) ac_try_echo=$ac_try;;
27982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27983 (eval "$ac_compile") 2>conftest.er1
27985 grep -v '^
*+' conftest.er1 >conftest.err
27987 cat conftest.err >&5
27988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27989 (exit $ac_status); } && {
27990 test -z "$ac_cxx_werror_flag" ||
27991 test ! -s conftest.err
27992 } && test -s conftest.$ac_objext; then
27993 wx_cv_expat_is_not_broken=yes
27995 echo "$as_me: failed program was:" >&5
27996 sed 's
/^
/| /' conftest.$ac_ext >&5
27998 wx_cv_expat_is_not_broken=no
28002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28004 ac_cpp='$CPP $CPPFLAGS'
28005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
28006 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
28007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28012 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
28013 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
28014 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
28015 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
28016 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
28017 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
28018 echo $ECHO_N "(cached) $ECHO_C" >&6
28020 ac_check_lib_save_LIBS=$LIBS
28021 LIBS="-lexpat $LIBS"
28022 cat >conftest.$ac_ext <<_ACEOF
28025 cat confdefs.h >>conftest.$ac_ext
28026 cat >>conftest.$ac_ext <<_ACEOF
28027 /* end confdefs.h. */
28029 /* Override any GCC internal prototype to avoid an error.
28030 Use char because int might match the return type of a GCC
28031 builtin and then its argument prototype would still apply. */
28035 char XML_ParserCreate ();
28039 return XML_ParserCreate ();
28044 rm -f conftest.$ac_objext conftest$ac_exeext
28045 if { (ac_try="$ac_link"
28046 case "(($ac_try" in
28047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28048 *) ac_try_echo=$ac_try;;
28050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28051 (eval "$ac_link") 2>conftest.er1
28053 grep -v '^
*+' conftest.er1 >conftest.err
28055 cat conftest.err >&5
28056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28057 (exit $ac_status); } && {
28058 test -z "$ac_c_werror_flag" ||
28059 test ! -s conftest.err
28060 } && test -s conftest$ac_exeext &&
28061 $as_test_x conftest$ac_exeext; then
28062 ac_cv_lib_expat_XML_ParserCreate=yes
28064 echo "$as_me: failed program was:" >&5
28065 sed 's
/^
/| /' conftest.$ac_ext >&5
28067 ac_cv_lib_expat_XML_ParserCreate=no
28070 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28071 conftest$ac_exeext conftest.$ac_ext
28072 LIBS=$ac_check_lib_save_LIBS
28074 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
28075 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
28076 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
28077 EXPAT_LINK=" -lexpat"
28082 if test "x$EXPAT_LINK" = "x" ; then
28083 if test "$wxUSE_EXPAT" = "sys" ; then
28084 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
28085 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
28086 { (exit 1); exit 1; }; }
28088 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
28089 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
28090 wxUSE_EXPAT=builtin
28096 if test "$wxUSE_EXPAT" = "builtin" ; then
28097 subdirs="$subdirs src/expat"
28104 if test "$wxUSE_LIBMSPACK" != "no"; then
28105 if test "${ac_cv_header_mspack_h+set}" = set; then
28106 { echo "$as_me:$LINENO: checking for mspack.h" >&5
28107 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
28108 if test "${ac_cv_header_mspack_h+set}" = set; then
28109 echo $ECHO_N "(cached) $ECHO_C" >&6
28111 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
28112 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
28114 # Is the header compilable?
28115 { echo "$as_me:$LINENO: checking mspack.h usability" >&5
28116 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6; }
28117 cat >conftest.$ac_ext <<_ACEOF
28120 cat confdefs.h >>conftest.$ac_ext
28121 cat >>conftest.$ac_ext <<_ACEOF
28122 /* end confdefs.h. */
28123 $ac_includes_default
28124 #include <mspack.h>
28126 rm -f conftest.$ac_objext
28127 if { (ac_try="$ac_compile"
28128 case "(($ac_try" in
28129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28130 *) ac_try_echo=$ac_try;;
28132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28133 (eval "$ac_compile") 2>conftest.er1
28135 grep -v '^
*+' conftest.er1 >conftest.err
28137 cat conftest.err >&5
28138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28139 (exit $ac_status); } && {
28140 test -z "$ac_c_werror_flag" ||
28141 test ! -s conftest.err
28142 } && test -s conftest.$ac_objext; then
28143 ac_header_compiler=yes
28145 echo "$as_me: failed program was:" >&5
28146 sed 's
/^
/| /' conftest.$ac_ext >&5
28148 ac_header_compiler=no
28151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28152 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28153 echo "${ECHO_T}$ac_header_compiler" >&6; }
28155 # Is the header present?
28156 { echo "$as_me:$LINENO: checking mspack.h presence" >&5
28157 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6; }
28158 cat >conftest.$ac_ext <<_ACEOF
28161 cat confdefs.h >>conftest.$ac_ext
28162 cat >>conftest.$ac_ext <<_ACEOF
28163 /* end confdefs.h. */
28164 #include <mspack.h>
28166 if { (ac_try="$ac_cpp conftest.$ac_ext"
28167 case "(($ac_try" in
28168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28169 *) ac_try_echo=$ac_try;;
28171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28172 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28174 grep -v '^
*+' conftest.er1 >conftest.err
28176 cat conftest.err >&5
28177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28178 (exit $ac_status); } >/dev/null && {
28179 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28180 test ! -s conftest.err
28182 ac_header_preproc=yes
28184 echo "$as_me: failed program was:" >&5
28185 sed 's
/^
/| /' conftest.$ac_ext >&5
28187 ac_header_preproc=no
28190 rm -f conftest.err conftest.$ac_ext
28191 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28192 echo "${ECHO_T}$ac_header_preproc" >&6; }
28194 # So? What about this header?
28195 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28197 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
28198 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28199 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result
" >&5
28200 echo "$as_me: WARNING
: mspack.h
: proceeding with the compiler
's result" >&2;}
28201 ac_header_preproc=yes
28204 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
28205 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
28206 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
28207 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
28208 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
28209 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
28210 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
28211 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
28212 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result
" >&5
28213 echo "$as_me: WARNING
: mspack.h
: proceeding with the preprocessor
's result" >&2;}
28214 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
28215 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
28217 ## ----------------------------------------- ##
28218 ## Report this to wx-dev@lists.wxwidgets.org ##
28219 ## ----------------------------------------- ##
28221 ) | sed "s/^/$as_me: WARNING: /" >&2
28224 { echo "$as_me:$LINENO: checking for mspack.h" >&5
28225 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
28226 if test "${ac_cv_header_mspack_h+set}" = set; then
28227 echo $ECHO_N "(cached) $ECHO_C" >&6
28229 ac_cv_header_mspack_h=$ac_header_preproc
28231 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
28232 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
28235 if test $ac_cv_header_mspack_h = yes; then
28240 if test "x$found_mspack_h" = "x1"; then
28241 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
28242 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
28243 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
28244 echo $ECHO_N "(cached) $ECHO_C" >&6
28246 ac_check_lib_save_LIBS=$LIBS
28247 LIBS="-lmspack $LIBS"
28248 cat >conftest.$ac_ext <<_ACEOF
28251 cat confdefs.h >>conftest.$ac_ext
28252 cat >>conftest.$ac_ext <<_ACEOF
28253 /* end confdefs.h. */
28255 /* Override any GCC internal prototype to avoid an error.
28256 Use char because int might match the return type of a GCC
28257 builtin and then its argument prototype would still apply. */
28261 char mspack_create_chm_decompressor ();
28265 return mspack_create_chm_decompressor ();
28270 rm -f conftest.$ac_objext conftest$ac_exeext
28271 if { (ac_try="$ac_link"
28272 case "(($ac_try" in
28273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28274 *) ac_try_echo=$ac_try;;
28276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28277 (eval "$ac_link") 2>conftest.er1
28279 grep -v '^
*+' conftest.er1 >conftest.err
28281 cat conftest.err >&5
28282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28283 (exit $ac_status); } && {
28284 test -z "$ac_c_werror_flag" ||
28285 test ! -s conftest.err
28286 } && test -s conftest$ac_exeext &&
28287 $as_test_x conftest$ac_exeext; then
28288 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
28290 echo "$as_me: failed program was:" >&5
28291 sed 's
/^
/| /' conftest.$ac_ext >&5
28293 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
28296 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28297 conftest$ac_exeext conftest.$ac_ext
28298 LIBS=$ac_check_lib_save_LIBS
28300 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
28301 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
28302 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
28303 MSPACK_LINK=" -lmspack"
28307 if test "x$MSPACK_LINK" = "x" ; then
28312 if test "$wxUSE_LIBMSPACK" != "no"; then
28313 cat >>confdefs.h <<\_ACEOF
28314 #define wxUSE_LIBMSPACK 1
28328 if test "$USE_WIN32" = 1 ; then
28330 for ac_header in w32api.h
28332 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28333 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28334 { echo "$as_me:$LINENO: checking for $ac_header" >&5
28335 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28336 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28337 echo $ECHO_N "(cached) $ECHO_C" >&6
28339 ac_res=`eval echo '${'$as_ac_Header'}'`
28340 { echo "$as_me:$LINENO: result: $ac_res" >&5
28341 echo "${ECHO_T}$ac_res" >&6; }
28343 # Is the header compilable?
28344 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
28345 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
28346 cat >conftest.$ac_ext <<_ACEOF
28349 cat confdefs.h >>conftest.$ac_ext
28350 cat >>conftest.$ac_ext <<_ACEOF
28351 /* end confdefs.h. */
28352 $ac_includes_default
28353 #include <$ac_header>
28355 rm -f conftest.$ac_objext
28356 if { (ac_try="$ac_compile"
28357 case "(($ac_try" in
28358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28359 *) ac_try_echo=$ac_try;;
28361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28362 (eval "$ac_compile") 2>conftest.er1
28364 grep -v '^
*+' conftest.er1 >conftest.err
28366 cat conftest.err >&5
28367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28368 (exit $ac_status); } && {
28369 test -z "$ac_c_werror_flag" ||
28370 test ! -s conftest.err
28371 } && test -s conftest.$ac_objext; then
28372 ac_header_compiler=yes
28374 echo "$as_me: failed program was:" >&5
28375 sed 's
/^
/| /' conftest.$ac_ext >&5
28377 ac_header_compiler=no
28380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28381 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28382 echo "${ECHO_T}$ac_header_compiler" >&6; }
28384 # Is the header present?
28385 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
28386 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
28387 cat >conftest.$ac_ext <<_ACEOF
28390 cat confdefs.h >>conftest.$ac_ext
28391 cat >>conftest.$ac_ext <<_ACEOF
28392 /* end confdefs.h. */
28393 #include <$ac_header>
28395 if { (ac_try="$ac_cpp conftest.$ac_ext"
28396 case "(($ac_try" in
28397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28398 *) ac_try_echo=$ac_try;;
28400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28401 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28403 grep -v '^
*+' conftest.er1 >conftest.err
28405 cat conftest.err >&5
28406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28407 (exit $ac_status); } >/dev/null && {
28408 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28409 test ! -s conftest.err
28411 ac_header_preproc=yes
28413 echo "$as_me: failed program was:" >&5
28414 sed 's
/^
/| /' conftest.$ac_ext >&5
28416 ac_header_preproc=no
28419 rm -f conftest.err conftest.$ac_ext
28420 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28421 echo "${ECHO_T}$ac_header_preproc" >&6; }
28423 # So? What about this header?
28424 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28426 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28427 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28428 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
28429 echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
28430 ac_header_preproc=yes
28433 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28434 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28435 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28436 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28437 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
28438 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
28439 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
28440 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
28441 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
28442 echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
28443 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
28444 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
28446 ## ----------------------------------------- ##
28447 ## Report this to wx-dev@lists.wxwidgets.org ##
28448 ## ----------------------------------------- ##
28450 ) | sed "s/^/$as_me: WARNING: /" >&2
28453 { echo "$as_me:$LINENO: checking for $ac_header" >&5
28454 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28455 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28456 echo $ECHO_N "(cached) $ECHO_C" >&6
28458 eval "$as_ac_Header=\$ac_header_preproc"
28460 ac_res=`eval echo '${'$as_ac_Header'}'`
28461 { echo "$as_me:$LINENO: result: $ac_res" >&5
28462 echo "${ECHO_T}$ac_res" >&6; }
28465 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28466 cat >>confdefs.h <<_ACEOF
28467 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28474 if test "${ac_cv_header_windows_h+set}" = set; then
28475 { echo "$as_me:$LINENO: checking for windows.h" >&5
28476 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
28477 if test "${ac_cv_header_windows_h+set}" = set; then
28478 echo $ECHO_N "(cached) $ECHO_C" >&6
28480 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
28481 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
28483 # Is the header compilable?
28484 { echo "$as_me:$LINENO: checking windows.h usability" >&5
28485 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6; }
28486 cat >conftest.$ac_ext <<_ACEOF
28489 cat confdefs.h >>conftest.$ac_ext
28490 cat >>conftest.$ac_ext <<_ACEOF
28491 /* end confdefs.h. */
28492 $ac_includes_default
28493 #include <windows.h>
28495 rm -f conftest.$ac_objext
28496 if { (ac_try="$ac_compile"
28497 case "(($ac_try" in
28498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28499 *) ac_try_echo=$ac_try;;
28501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28502 (eval "$ac_compile") 2>conftest.er1
28504 grep -v '^
*+' conftest.er1 >conftest.err
28506 cat conftest.err >&5
28507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28508 (exit $ac_status); } && {
28509 test -z "$ac_c_werror_flag" ||
28510 test ! -s conftest.err
28511 } && test -s conftest.$ac_objext; then
28512 ac_header_compiler=yes
28514 echo "$as_me: failed program was:" >&5
28515 sed 's
/^
/| /' conftest.$ac_ext >&5
28517 ac_header_compiler=no
28520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28521 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28522 echo "${ECHO_T}$ac_header_compiler" >&6; }
28524 # Is the header present?
28525 { echo "$as_me:$LINENO: checking windows.h presence" >&5
28526 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6; }
28527 cat >conftest.$ac_ext <<_ACEOF
28530 cat confdefs.h >>conftest.$ac_ext
28531 cat >>conftest.$ac_ext <<_ACEOF
28532 /* end confdefs.h. */
28533 #include <windows.h>
28535 if { (ac_try="$ac_cpp conftest.$ac_ext"
28536 case "(($ac_try" in
28537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28538 *) ac_try_echo=$ac_try;;
28540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28541 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28543 grep -v '^
*+' conftest.er1 >conftest.err
28545 cat conftest.err >&5
28546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28547 (exit $ac_status); } >/dev/null && {
28548 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28549 test ! -s conftest.err
28551 ac_header_preproc=yes
28553 echo "$as_me: failed program was:" >&5
28554 sed 's
/^
/| /' conftest.$ac_ext >&5
28556 ac_header_preproc=no
28559 rm -f conftest.err conftest.$ac_ext
28560 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28561 echo "${ECHO_T}$ac_header_preproc" >&6; }
28563 # So? What about this header?
28564 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28566 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
28567 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28568 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result
" >&5
28569 echo "$as_me: WARNING
: windows.h
: proceeding with the compiler
's result" >&2;}
28570 ac_header_preproc=yes
28573 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
28574 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
28575 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
28576 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
28577 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
28578 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
28579 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
28580 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
28581 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result
" >&5
28582 echo "$as_me: WARNING
: windows.h
: proceeding with the preprocessor
's result" >&2;}
28583 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
28584 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
28586 ## ----------------------------------------- ##
28587 ## Report this to wx-dev@lists.wxwidgets.org ##
28588 ## ----------------------------------------- ##
28590 ) | sed "s/^/$as_me: WARNING: /" >&2
28593 { echo "$as_me:$LINENO: checking for windows.h" >&5
28594 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
28595 if test "${ac_cv_header_windows_h+set}" = set; then
28596 echo $ECHO_N "(cached) $ECHO_C" >&6
28598 ac_cv_header_windows_h=$ac_header_preproc
28600 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
28601 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
28604 if test $ac_cv_header_windows_h = yes; then
28608 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
28609 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
28610 { (exit 1); exit 1; }; }
28616 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28618 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
28619 LIBS="$LIBS -loleacc"
28624 LIBS="$LIBS -lkernel32 -luser32"
28627 if test "$wxUSE_ODBC" = "sys" ; then
28630 if test "$wxUSE_ODBC" = "yes" ; then
28631 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
28632 cat >>confdefs.h <<\_ACEOF
28633 #define wxUSE_ODBC 1
28638 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28639 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
28641 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28643 WIN32INSTALL=win32install
28646 for ac_header in pbt.h
28648 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28649 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28650 { echo "$as_me:$LINENO: checking for $ac_header" >&5
28651 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28652 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28653 echo $ECHO_N "(cached) $ECHO_C" >&6
28655 ac_res=`eval echo '${'$as_ac_Header'}'`
28656 { echo "$as_me:$LINENO: result: $ac_res" >&5
28657 echo "${ECHO_T}$ac_res" >&6; }
28659 # Is the header compilable?
28660 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
28661 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
28662 cat >conftest.$ac_ext <<_ACEOF
28665 cat confdefs.h >>conftest.$ac_ext
28666 cat >>conftest.$ac_ext <<_ACEOF
28667 /* end confdefs.h. */
28668 $ac_includes_default
28669 #include <$ac_header>
28671 rm -f conftest.$ac_objext
28672 if { (ac_try="$ac_compile"
28673 case "(($ac_try" in
28674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28675 *) ac_try_echo=$ac_try;;
28677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28678 (eval "$ac_compile") 2>conftest.er1
28680 grep -v '^
*+' conftest.er1 >conftest.err
28682 cat conftest.err >&5
28683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28684 (exit $ac_status); } && {
28685 test -z "$ac_c_werror_flag" ||
28686 test ! -s conftest.err
28687 } && test -s conftest.$ac_objext; then
28688 ac_header_compiler=yes
28690 echo "$as_me: failed program was:" >&5
28691 sed 's
/^
/| /' conftest.$ac_ext >&5
28693 ac_header_compiler=no
28696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28697 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28698 echo "${ECHO_T}$ac_header_compiler" >&6; }
28700 # Is the header present?
28701 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
28702 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
28703 cat >conftest.$ac_ext <<_ACEOF
28706 cat confdefs.h >>conftest.$ac_ext
28707 cat >>conftest.$ac_ext <<_ACEOF
28708 /* end confdefs.h. */
28709 #include <$ac_header>
28711 if { (ac_try="$ac_cpp conftest.$ac_ext"
28712 case "(($ac_try" in
28713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28714 *) ac_try_echo=$ac_try;;
28716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28717 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28719 grep -v '^
*+' conftest.er1 >conftest.err
28721 cat conftest.err >&5
28722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28723 (exit $ac_status); } >/dev/null && {
28724 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28725 test ! -s conftest.err
28727 ac_header_preproc=yes
28729 echo "$as_me: failed program was:" >&5
28730 sed 's
/^
/| /' conftest.$ac_ext >&5
28732 ac_header_preproc=no
28735 rm -f conftest.err conftest.$ac_ext
28736 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28737 echo "${ECHO_T}$ac_header_preproc" >&6; }
28739 # So? What about this header?
28740 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28742 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28743 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28744 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
28745 echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
28746 ac_header_preproc=yes
28749 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28750 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28751 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28752 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28753 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
28754 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
28755 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
28756 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
28757 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
28758 echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
28759 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
28760 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
28762 ## ----------------------------------------- ##
28763 ## Report this to wx-dev@lists.wxwidgets.org ##
28764 ## ----------------------------------------- ##
28766 ) | sed "s/^/$as_me: WARNING: /" >&2
28769 { echo "$as_me:$LINENO: checking for $ac_header" >&5
28770 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28771 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28772 echo $ECHO_N "(cached) $ECHO_C" >&6
28774 eval "$as_ac_Header=\$ac_header_preproc"
28776 ac_res=`eval echo '${'$as_ac_Header'}'`
28777 { echo "$as_me:$LINENO: result: $ac_res" >&5
28778 echo "${ECHO_T}$ac_res" >&6; }
28781 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28782 cat >>confdefs.h <<_ACEOF
28783 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28787 cat >>confdefs.h <<\_ACEOF
28788 #define NEED_PBT_H 1
28797 if test "$wxUSE_GUI" = "yes"; then
28807 if test "$wxUSE_COCOA" = 1 ; then
28808 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
28809 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
28810 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
28811 wxUSE_PRINTING_ARCHITECTURE=no
28813 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
28814 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
28815 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
28816 wxUSE_DRAG_AND_DROP=no
28818 if test "$wxUSE_DRAGIMAGE" = "yes"; then
28819 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
28820 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
28825 if test "$wxUSE_MSW" = 1 ; then
28831 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
28835 if test "$wxUSE_GTK" = 1; then
28836 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
28837 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
28839 gtk_version_cached=1
28840 if test "${wx_cv_lib_gtk+set}" = set; then
28841 echo $ECHO_N "(cached) $ECHO_C" >&6
28844 gtk_version_cached=0
28845 { echo "$as_me:$LINENO: result: " >&5
28846 echo "${ECHO_T}" >&6; }
28849 if test "$wxUSE_THREADS" = "yes"; then
28850 GTK_MODULES=gthread
28854 if test "x$wxGTK_VERSION" != "x1"
28858 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28863 # Check whether --enable-gtktest was given.
28864 if test "${enable_gtktest+set}" = set; then
28865 enableval=$enable_gtktest;
28871 pkg_config_args=gtk+-2.0
28872 for module in . $GTK_MODULES
28876 pkg_config_args="$pkg_config_args gthread-2.0"
28883 # Extract the first word of "pkg-config", so it can be a program name with args.
28884 set dummy pkg-config; ac_word=$2
28885 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28886 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28887 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28888 echo $ECHO_N "(cached) $ECHO_C" >&6
28890 case $PKG_CONFIG in
28892 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28896 for as_dir in $PATH
28899 test -z "$as_dir" && as_dir=.
28900 for ac_exec_ext in '' $ac_executable_extensions; do
28901 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28902 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28903 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28910 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
28914 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28915 if test -n "$PKG_CONFIG"; then
28916 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28917 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28919 { echo "$as_me:$LINENO: result: no" >&5
28920 echo "${ECHO_T}no" >&6; }
28925 if test x$PKG_CONFIG != xno ; then
28926 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28929 echo "*** pkg-config too old; version 0.7 or better required."
28937 min_gtk_version=2.0.0
28938 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
28939 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
28941 if test x$PKG_CONFIG != xno ; then
28942 ## don't try to run the
test against uninstalled libtool libs
28943 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28944 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
28948 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28955 if test x
"$no_gtk" = x
; then
28956 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
28957 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
28958 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
28959 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28960 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
28961 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28962 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
28963 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28964 if test "x$enable_gtktest" = "xyes" ; then
28965 ac_save_CFLAGS
="$CFLAGS"
28966 ac_save_LIBS
="$LIBS"
28967 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28968 LIBS
="$GTK_LIBS $LIBS"
28970 if test "$cross_compiling" = yes; then
28971 echo $ac_n "cross compiling; assumed OK... $ac_c"
28973 cat >conftest.
$ac_ext <<_ACEOF
28976 cat confdefs.h
>>conftest.
$ac_ext
28977 cat >>conftest.
$ac_ext <<_ACEOF
28978 /* end confdefs.h. */
28980 #include <gtk/gtk.h>
28982 #include <stdlib.h>
28987 int major, minor, micro;
28990 system ("touch conf.gtktest");
28992 /* HP/UX 9 (%@#!) writes to sscanf strings */
28993 tmp_version = g_strdup("$min_gtk_version");
28994 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28995 printf("%s, bad version string\n", "$min_gtk_version");
28999 if ((gtk_major_version != $gtk_config_major_version) ||
29000 (gtk_minor_version != $gtk_config_minor_version) ||
29001 (gtk_micro_version != $gtk_config_micro_version))
29003 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29004 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29005 gtk_major_version, gtk_minor_version, gtk_micro_version);
29006 printf ("*** was found! If pkg-config was correct, then it is best\n");
29007 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29008 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29009 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29010 printf("*** required on your system.\n");
29011 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
29012 printf("*** to point to the correct configuration files\n");
29014 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29015 (gtk_minor_version != GTK_MINOR_VERSION) ||
29016 (gtk_micro_version != GTK_MICRO_VERSION))
29018 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29019 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29020 printf("*** library (version %d.%d.%d)\n",
29021 gtk_major_version, gtk_minor_version, gtk_micro_version);
29025 if ((gtk_major_version > major) ||
29026 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29027 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29033 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29034 gtk_major_version, gtk_minor_version, gtk_micro_version);
29035 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29036 major, minor, micro);
29037 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29039 printf("*** If you have already installed a sufficiently new version, this error\n");
29040 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
29041 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29042 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
29043 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
29044 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29045 printf("*** so that the correct libraries are found at run-time))\n");
29052 rm -f conftest
$ac_exeext
29053 if { (ac_try
="$ac_link"
29054 case "(($ac_try" in
29055 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29056 *) ac_try_echo=$ac_try;;
29058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29059 (eval "$ac_link") 2>&5
29061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29062 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29063 { (case "(($ac_try" in
29064 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29065 *) ac_try_echo
=$ac_try;;
29067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29068 (eval "$ac_try") 2>&5
29070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29071 (exit $ac_status); }; }; then
29074 echo "$as_me: program exited with status $ac_status" >&5
29075 echo "$as_me: failed program was:" >&5
29076 sed 's/^/| /' conftest.
$ac_ext >&5
29078 ( exit $ac_status )
29081 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
29085 CFLAGS
="$ac_save_CFLAGS"
29086 LIBS
="$ac_save_LIBS"
29089 if test "x$no_gtk" = x
; then
29090 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
29091 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
29094 { echo "$as_me:$LINENO: result: no" >&5
29095 echo "${ECHO_T}no" >&6; }
29096 if test "$PKG_CONFIG" = "no" ; then
29097 echo "*** A new enough version of pkg-config was not found."
29098 echo "*** See http://pkgconfig.sourceforge.net"
29100 if test -f conf.gtktest
; then
29103 echo "*** Could not run GTK+ test program, checking why..."
29104 ac_save_CFLAGS
="$CFLAGS"
29105 ac_save_LIBS
="$LIBS"
29106 CFLAGS
="$CFLAGS $GTK_CFLAGS"
29107 LIBS
="$LIBS $GTK_LIBS"
29108 cat >conftest.
$ac_ext <<_ACEOF
29111 cat confdefs.h
>>conftest.
$ac_ext
29112 cat >>conftest.
$ac_ext <<_ACEOF
29113 /* end confdefs.h. */
29115 #include <gtk/gtk.h>
29121 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29126 rm -f conftest.
$ac_objext conftest
$ac_exeext
29127 if { (ac_try
="$ac_link"
29128 case "(($ac_try" in
29129 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29130 *) ac_try_echo=$ac_try;;
29132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29133 (eval "$ac_link") 2>conftest.er1
29135 grep -v '^ *+' conftest.er1 >conftest.err
29137 cat conftest.err >&5
29138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29139 (exit $ac_status); } && {
29140 test -z "$ac_c_werror_flag" ||
29141 test ! -s conftest.err
29142 } && test -s conftest$ac_exeext &&
29143 $as_test_x conftest$ac_exeext; then
29144 echo "*** The test program compiled, but did not run. This usually means"
29145 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
29146 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
29147 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29148 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29149 echo "*** is required on your system"
29151 echo "*** If you have an old version installed, it is best to remove it, although"
29152 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29154 echo "$as_me: failed program was:" >&5
29155 sed 's/^/| /' conftest.$ac_ext >&5
29157 echo "*** The test program failed to compile or link. See the file config.log for the"
29158 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
29161 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29162 conftest$ac_exeext conftest.$ac_ext
29163 CFLAGS="$ac_save_CFLAGS"
29164 LIBS="$ac_save_LIBS"
29178 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
29179 GTK_CFLAGS=`echo $GTK_CFLAGS | sed 's/-mt//'`
29180 GTK_LIBS=`echo $GTK_LIBS | sed 's/-mt//'`
29182 if test "$wxUSE_SHARED" != "yes"; then
29183 GTK_LIBS="$GTK_LIBS -lX11"
29188 if test -z "$wx_cv_lib_gtk"; then
29189 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
29191 # Check whether --with-gtk-prefix was given.
29192 if test "${with_gtk_prefix+set}" = set; then
29193 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
29195 gtk_config_prefix=""
29199 # Check whether --with-gtk-exec-prefix was given.
29200 if test "${with_gtk_exec_prefix+set}" = set; then
29201 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
29203 gtk_config_exec_prefix=""
29206 # Check whether --enable-gtktest was given.
29207 if test "${enable_gtktest+set}" = set; then
29208 enableval=$enable_gtktest;
29214 for module in . $GTK_MODULES
29218 gtk_config_args="$gtk_config_args gthread"
29223 if test x$gtk_config_exec_prefix != x ; then
29224 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29225 if test x${GTK_CONFIG+set} != xset ; then
29226 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29229 if test x$gtk_config_prefix != x ; then
29230 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29231 if test x${GTK_CONFIG+set} != xset ; then
29232 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29236 # Extract the first word of "gtk-config", so it can be a program name with args.
29237 set dummy gtk-config; ac_word=$2
29238 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29239 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29240 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29241 echo $ECHO_N "(cached) $ECHO_C" >&6
29243 case $GTK_CONFIG in
29245 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29249 for as_dir in $PATH
29252 test -z "$as_dir" && as_dir=.
29253 for ac_exec_ext in '' $ac_executable_extensions; do
29254 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29255 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29256 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29263 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
29267 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29268 if test -n "$GTK_CONFIG"; then
29269 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
29270 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29272 { echo "$as_me:$LINENO: result: no" >&5
29273 echo "${ECHO_T}no" >&6; }
29277 min_gtk_version=1.2.7
29278 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
29279 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
29281 if test "$GTK_CONFIG" = "no" ; then
29284 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29285 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29286 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29287 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29288 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29289 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29290 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29291 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29292 if test "x$enable_gtktest" = "xyes" ; then
29293 ac_save_CFLAGS="$CFLAGS"
29294 ac_save_LIBS="$LIBS"
29295 CFLAGS="$CFLAGS $GTK_CFLAGS"
29296 LIBS="$GTK_LIBS $LIBS"
29298 if test "$cross_compiling" = yes; then
29299 echo $ac_n "cross compiling; assumed OK... $ac_c"
29301 cat >conftest.$ac_ext <<_ACEOF
29304 cat confdefs.h >>conftest.$ac_ext
29305 cat >>conftest.$ac_ext <<_ACEOF
29306 /* end confdefs.h. */
29308 #include <gtk/gtk.h>
29310 #include <stdlib.h>
29315 int major, minor, micro;
29318 system ("touch conf.gtktest");
29320 /* HP/UX 9 (%@#!) writes to sscanf strings */
29321 tmp_version = g_strdup("$min_gtk_version");
29322 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
29323 printf("%s, bad version string\n", "$min_gtk_version");
29327 if ((gtk_major_version != $gtk_config_major_version) ||
29328 (gtk_minor_version != $gtk_config_minor_version) ||
29329 (gtk_micro_version != $gtk_config_micro_version))
29331 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29332 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29333 gtk_major_version, gtk_minor_version, gtk_micro_version);
29334 printf ("*** was found! If gtk-config was correct, then it is best\n");
29335 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29336 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29337 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29338 printf("*** required on your system.\n");
29339 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29340 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29341 printf("*** before re-running configure\n");
29343 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29344 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29345 (gtk_minor_version != GTK_MINOR_VERSION) ||
29346 (gtk_micro_version != GTK_MICRO_VERSION))
29348 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29349 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29350 printf("*** library (version %d.%d.%d)\n",
29351 gtk_major_version, gtk_minor_version, gtk_micro_version);
29353 #endif /* defined (GTK_MAJOR_VERSION) ... */
29356 if ((gtk_major_version > major) ||
29357 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29358 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29364 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29365 gtk_major_version, gtk_minor_version, gtk_micro_version);
29366 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29367 major, minor, micro);
29368 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29370 printf("*** If you have already installed a sufficiently new version, this error\n");
29371 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29372 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29373 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29374 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29375 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29376 printf("*** so that the correct libraries are found at run-time))\n");
29383 rm -f conftest$ac_exeext
29384 if { (ac_try="$ac_link"
29385 case "(($ac_try" in
29386 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29387 *) ac_try_echo
=$ac_try;;
29389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29390 (eval "$ac_link") 2>&5
29392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29393 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
29394 { (case "(($ac_try" in
29395 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29396 *) ac_try_echo=$ac_try;;
29398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29399 (eval "$ac_try") 2>&5
29401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29402 (exit $ac_status); }; }; then
29405 echo "$as_me: program exited with status $ac_status" >&5
29406 echo "$as_me: failed program was:" >&5
29407 sed 's/^/| /' conftest.$ac_ext >&5
29409 ( exit $ac_status )
29412 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29416 CFLAGS="$ac_save_CFLAGS"
29417 LIBS="$ac_save_LIBS"
29420 if test "x$no_gtk" = x ; then
29421 { echo "$as_me:$LINENO: result: yes" >&5
29422 echo "${ECHO_T}yes" >&6; }
29423 wx_cv_lib_gtk=1.2.7
29425 { echo "$as_me:$LINENO: result: no" >&5
29426 echo "${ECHO_T}no" >&6; }
29427 if test "$GTK_CONFIG" = "no" ; then
29428 echo "*** The gtk-config script installed by GTK could not be found"
29429 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29430 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29431 echo "*** full path to gtk-config."
29433 if test -f conf.gtktest ; then
29436 echo "*** Could not run GTK test program, checking why..."
29437 CFLAGS="$CFLAGS $GTK_CFLAGS"
29438 LIBS="$LIBS $GTK_LIBS"
29439 cat >conftest.$ac_ext <<_ACEOF
29442 cat confdefs.h >>conftest.$ac_ext
29443 cat >>conftest.$ac_ext <<_ACEOF
29444 /* end confdefs.h. */
29446 #include <gtk/gtk.h>
29452 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29457 rm -f conftest.$ac_objext conftest$ac_exeext
29458 if { (ac_try="$ac_link"
29459 case "(($ac_try" in
29460 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29461 *) ac_try_echo
=$ac_try;;
29463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29464 (eval "$ac_link") 2>conftest.er1
29466 grep -v '^ *+' conftest.er1
>conftest.err
29468 cat conftest.err
>&5
29469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29470 (exit $ac_status); } && {
29471 test -z "$ac_c_werror_flag" ||
29472 test ! -s conftest.err
29473 } && test -s conftest
$ac_exeext &&
29474 $as_test_x conftest
$ac_exeext; then
29475 echo "*** The test program compiled, but did not run. This usually means"
29476 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29477 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29478 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29479 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29480 echo "*** is required on your system"
29482 echo "*** If you have an old version installed, it is best to remove it, although"
29483 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29485 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29486 echo "*** came with the system with the command"
29488 echo "*** rpm --erase --nodeps gtk gtk-devel"
29490 echo "$as_me: failed program was:" >&5
29491 sed 's/^/| /' conftest.
$ac_ext >&5
29493 echo "*** The test program failed to compile or link. See the file config.log for the"
29494 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29495 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29496 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29499 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
29500 conftest
$ac_exeext conftest.
$ac_ext
29501 CFLAGS
="$ac_save_CFLAGS"
29502 LIBS
="$ac_save_LIBS"
29514 if test -z "$wx_cv_lib_gtk"; then
29516 # Check whether --with-gtk-prefix was given.
29517 if test "${with_gtk_prefix+set}" = set; then
29518 withval
=$with_gtk_prefix; gtk_config_prefix
="$withval"
29520 gtk_config_prefix
=""
29524 # Check whether --with-gtk-exec-prefix was given.
29525 if test "${with_gtk_exec_prefix+set}" = set; then
29526 withval
=$with_gtk_exec_prefix; gtk_config_exec_prefix
="$withval"
29528 gtk_config_exec_prefix
=""
29531 # Check whether --enable-gtktest was given.
29532 if test "${enable_gtktest+set}" = set; then
29533 enableval
=$enable_gtktest;
29539 for module
in .
$GTK_MODULES
29543 gtk_config_args
="$gtk_config_args gthread"
29548 if test x
$gtk_config_exec_prefix != x
; then
29549 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29550 if test x
${GTK_CONFIG+set} != xset
; then
29551 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
29554 if test x
$gtk_config_prefix != x
; then
29555 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
29556 if test x
${GTK_CONFIG+set} != xset
; then
29557 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
29561 # Extract the first word of "gtk-config", so it can be a program name with args.
29562 set dummy gtk
-config; ac_word
=$2
29563 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29564 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29565 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29566 echo $ECHO_N "(cached) $ECHO_C" >&6
29568 case $GTK_CONFIG in
29570 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
29573 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29574 for as_dir
in $PATH
29577 test -z "$as_dir" && as_dir
=.
29578 for ac_exec_ext
in '' $ac_executable_extensions; do
29579 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29580 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29581 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29588 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
29592 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
29593 if test -n "$GTK_CONFIG"; then
29594 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
29595 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29597 { echo "$as_me:$LINENO: result: no" >&5
29598 echo "${ECHO_T}no" >&6; }
29602 min_gtk_version
=1.2.3
29603 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
29604 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
29606 if test "$GTK_CONFIG" = "no" ; then
29609 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
29610 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
29611 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
29612 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29613 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
29614 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29615 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
29616 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29617 if test "x$enable_gtktest" = "xyes" ; then
29618 ac_save_CFLAGS
="$CFLAGS"
29619 ac_save_LIBS
="$LIBS"
29620 CFLAGS
="$CFLAGS $GTK_CFLAGS"
29621 LIBS
="$GTK_LIBS $LIBS"
29623 if test "$cross_compiling" = yes; then
29624 echo $ac_n "cross compiling; assumed OK... $ac_c"
29626 cat >conftest.
$ac_ext <<_ACEOF
29629 cat confdefs.h
>>conftest.
$ac_ext
29630 cat >>conftest.
$ac_ext <<_ACEOF
29631 /* end confdefs.h. */
29633 #include <gtk/gtk.h>
29635 #include <stdlib.h>
29640 int major, minor, micro;
29643 system ("touch conf.gtktest");
29645 /* HP/UX 9 (%@#!) writes to sscanf strings */
29646 tmp_version = g_strdup("$min_gtk_version");
29647 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
29648 printf("%s, bad version string\n", "$min_gtk_version");
29652 if ((gtk_major_version != $gtk_config_major_version) ||
29653 (gtk_minor_version != $gtk_config_minor_version) ||
29654 (gtk_micro_version != $gtk_config_micro_version))
29656 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29657 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29658 gtk_major_version, gtk_minor_version, gtk_micro_version);
29659 printf ("*** was found! If gtk-config was correct, then it is best\n");
29660 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29661 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29662 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29663 printf("*** required on your system.\n");
29664 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29665 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29666 printf("*** before re-running configure\n");
29668 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29669 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29670 (gtk_minor_version != GTK_MINOR_VERSION) ||
29671 (gtk_micro_version != GTK_MICRO_VERSION))
29673 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29674 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29675 printf("*** library (version %d.%d.%d)\n",
29676 gtk_major_version, gtk_minor_version, gtk_micro_version);
29678 #endif /* defined (GTK_MAJOR_VERSION) ... */
29681 if ((gtk_major_version > major) ||
29682 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29683 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29689 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29690 gtk_major_version, gtk_minor_version, gtk_micro_version);
29691 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29692 major, minor, micro);
29693 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29695 printf("*** If you have already installed a sufficiently new version, this error\n");
29696 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29697 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29698 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29699 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29700 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29701 printf("*** so that the correct libraries are found at run-time))\n");
29708 rm -f conftest
$ac_exeext
29709 if { (ac_try
="$ac_link"
29710 case "(($ac_try" in
29711 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29712 *) ac_try_echo=$ac_try;;
29714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29715 (eval "$ac_link") 2>&5
29717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29718 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29719 { (case "(($ac_try" in
29720 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29721 *) ac_try_echo
=$ac_try;;
29723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29724 (eval "$ac_try") 2>&5
29726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29727 (exit $ac_status); }; }; then
29730 echo "$as_me: program exited with status $ac_status" >&5
29731 echo "$as_me: failed program was:" >&5
29732 sed 's/^/| /' conftest.
$ac_ext >&5
29734 ( exit $ac_status )
29737 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
29741 CFLAGS
="$ac_save_CFLAGS"
29742 LIBS
="$ac_save_LIBS"
29745 if test "x$no_gtk" = x
; then
29746 { echo "$as_me:$LINENO: result: yes" >&5
29747 echo "${ECHO_T}yes" >&6; }
29748 wx_cv_lib_gtk
=1.2.3
29750 { echo "$as_me:$LINENO: result: no" >&5
29751 echo "${ECHO_T}no" >&6; }
29752 if test "$GTK_CONFIG" = "no" ; then
29753 echo "*** The gtk-config script installed by GTK could not be found"
29754 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29755 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29756 echo "*** full path to gtk-config."
29758 if test -f conf.gtktest
; then
29761 echo "*** Could not run GTK test program, checking why..."
29762 CFLAGS
="$CFLAGS $GTK_CFLAGS"
29763 LIBS
="$LIBS $GTK_LIBS"
29764 cat >conftest.
$ac_ext <<_ACEOF
29767 cat confdefs.h
>>conftest.
$ac_ext
29768 cat >>conftest.
$ac_ext <<_ACEOF
29769 /* end confdefs.h. */
29771 #include <gtk/gtk.h>
29777 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29782 rm -f conftest.
$ac_objext conftest
$ac_exeext
29783 if { (ac_try
="$ac_link"
29784 case "(($ac_try" in
29785 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29786 *) ac_try_echo=$ac_try;;
29788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29789 (eval "$ac_link") 2>conftest.er1
29791 grep -v '^ *+' conftest.er1 >conftest.err
29793 cat conftest.err >&5
29794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29795 (exit $ac_status); } && {
29796 test -z "$ac_c_werror_flag" ||
29797 test ! -s conftest.err
29798 } && test -s conftest$ac_exeext &&
29799 $as_test_x conftest$ac_exeext; then
29800 echo "*** The test program compiled, but did not run. This usually means"
29801 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29802 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29803 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29804 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29805 echo "*** is required on your system"
29807 echo "*** If you have an old version installed, it is best to remove it, although"
29808 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29810 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29811 echo "*** came with the system with the command"
29813 echo "*** rpm --erase --nodeps gtk gtk-devel"
29815 echo "$as_me: failed program was:" >&5
29816 sed 's/^/| /' conftest.$ac_ext >&5
29818 echo "*** The test program failed to compile or link. See the file config.log for the"
29819 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29820 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29821 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29824 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29825 conftest$ac_exeext conftest.$ac_ext
29826 CFLAGS="$ac_save_CFLAGS"
29827 LIBS="$ac_save_LIBS"
29842 if test -z "$wx_cv_lib_gtk"; then
29845 wx_cv_cflags_gtk=$GTK_CFLAGS
29846 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
29853 if test "$gtk_version_cached" = 1; then
29854 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29855 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
29858 case "$wx_cv_lib_gtk" in
29867 *) { { echo "$as_me:$LINENO: error:
29868 The development files for GTK+ were not found. For GTK+ 2, please
29869 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29870 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29871 and that the version is 1.2.3 or above. Also check that the
29872 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29873 --libs' are in the LD_LIBRARY_PATH or equivalent.
29875 echo "$as_me: error:
29876 The development files for GTK+ were not found. For GTK+ 2, please
29877 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29878 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29879 and that the version is 1.2.3 or above. Also check that the
29880 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29881 --libs' are in the LD_LIBRARY_PATH or equivalent.
29883 { (exit 1); exit 1; }; }
29887 if test "$WXGTK20" = 1; then
29888 save_CFLAGS="$CFLAGS"
29890 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
29891 LIBS="$LIBS $wx_cv_libs_gtk"
29893 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
29894 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
29895 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
29896 echo $ECHO_N "(cached) $ECHO_C" >&6
29898 cat >conftest.$ac_ext <<_ACEOF
29901 cat confdefs.h >>conftest.$ac_ext
29902 cat >>conftest.$ac_ext <<_ACEOF
29903 /* end confdefs.h. */
29904 #include <gtk/gtk.h>
29909 #ifndef gtk_icon_size_lookup
29910 (void) gtk_icon_size_lookup;
29917 rm -f conftest.$ac_objext
29918 if { (ac_try="$ac_compile"
29919 case "(($ac_try" in
29920 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29921 *) ac_try_echo
=$ac_try;;
29923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29924 (eval "$ac_compile") 2>conftest.er1
29926 grep -v '^ *+' conftest.er1
>conftest.err
29928 cat conftest.err
>&5
29929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29930 (exit $ac_status); } && {
29931 test -z "$ac_c_werror_flag" ||
29932 test ! -s conftest.err
29933 } && test -s conftest.
$ac_objext; then
29934 ac_cv_have_decl_gtk_icon_size_lookup
=yes
29936 echo "$as_me: failed program was:" >&5
29937 sed 's/^/| /' conftest.
$ac_ext >&5
29939 ac_cv_have_decl_gtk_icon_size_lookup
=no
29942 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29944 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
29945 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
29946 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
29948 cat >>confdefs.h
<<_ACEOF
29949 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
29954 cat >>confdefs.h
<<_ACEOF
29955 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
29958 cat >>confdefs.h
<<\_ACEOF
29959 #define NEED_GTK_ICON_SIZE_LOOKUP 1
29966 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29967 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
29968 cat >conftest.
$ac_ext <<_ACEOF
29971 cat confdefs.h
>>conftest.
$ac_ext
29972 cat >>conftest.
$ac_ext <<_ACEOF
29973 /* end confdefs.h. */
29975 #include <gtk/gtk.h>
29981 #if !GTK_CHECK_VERSION(2,6,0)
29989 rm -f conftest.
$ac_objext
29990 if { (ac_try
="$ac_compile"
29991 case "(($ac_try" in
29992 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29993 *) ac_try_echo=$ac_try;;
29995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29996 (eval "$ac_compile") 2>conftest.er1
29998 grep -v '^ *+' conftest.er1 >conftest.err
30000 cat conftest.err >&5
30001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30002 (exit $ac_status); } && {
30003 test -z "$ac_c_werror_flag" ||
30004 test ! -s conftest.err
30005 } && test -s conftest.$ac_objext; then
30007 cat >>confdefs.h <<\_ACEOF
30008 #define __WXGTK26__ 1
30011 cat >>confdefs.h <<\_ACEOF
30012 #define __WXGTK24__ 1
30015 { echo "$as_me:$LINENO: result: yes" >&5
30016 echo "${ECHO_T}yes" >&6; }
30020 echo "$as_me: failed program was:" >&5
30021 sed 's/^/| /' conftest.$ac_ext >&5
30024 { echo "$as_me:$LINENO: result: no" >&5
30025 echo "${ECHO_T}no" >&6; }
30030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30032 if test "$ac_wxgtk26" = 0; then
30033 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
30034 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
30035 cat >conftest.$ac_ext <<_ACEOF
30038 cat confdefs.h >>conftest.$ac_ext
30039 cat >>conftest.$ac_ext <<_ACEOF
30040 /* end confdefs.h. */
30042 #include <gtk/gtk.h>
30048 #if !GTK_CHECK_VERSION(2,4,0)
30056 rm -f conftest.$ac_objext
30057 if { (ac_try="$ac_compile"
30058 case "(($ac_try" in
30059 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30060 *) ac_try_echo
=$ac_try;;
30062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30063 (eval "$ac_compile") 2>conftest.er1
30065 grep -v '^ *+' conftest.er1
>conftest.err
30067 cat conftest.err
>&5
30068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30069 (exit $ac_status); } && {
30070 test -z "$ac_c_werror_flag" ||
30071 test ! -s conftest.err
30072 } && test -s conftest.
$ac_objext; then
30074 cat >>confdefs.h
<<\_ACEOF
30075 #define __WXGTK24__ 1
30078 { echo "$as_me:$LINENO: result: yes" >&5
30079 echo "${ECHO_T}yes" >&6; }
30082 echo "$as_me: failed program was:" >&5
30083 sed 's/^/| /' conftest.
$ac_ext >&5
30086 { echo "$as_me:$LINENO: result: no" >&5
30087 echo "${ECHO_T}no" >&6; }
30091 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30094 CFLAGS
="$save_CFLAGS"
30097 if test "$wxUSE_UNICODE" = "yes"; then
30098 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
30099 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
30103 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
30104 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
30105 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
30106 echo $ECHO_N "(cached) $ECHO_C" >&6
30108 ac_check_lib_save_LIBS
=$LIBS
30110 cat >conftest.
$ac_ext <<_ACEOF
30113 cat confdefs.h
>>conftest.
$ac_ext
30114 cat >>conftest.
$ac_ext <<_ACEOF
30115 /* end confdefs.h. */
30117 /* Override any GCC internal prototype to avoid an error.
30118 Use char because int might match the return type of a GCC
30119 builtin and then its argument prototype would still apply. */
30123 char gdk_im_open ();
30127 return gdk_im_open ();
30132 rm -f conftest.
$ac_objext conftest
$ac_exeext
30133 if { (ac_try
="$ac_link"
30134 case "(($ac_try" in
30135 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30136 *) ac_try_echo=$ac_try;;
30138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30139 (eval "$ac_link") 2>conftest.er1
30141 grep -v '^ *+' conftest.er1 >conftest.err
30143 cat conftest.err >&5
30144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30145 (exit $ac_status); } && {
30146 test -z "$ac_c_werror_flag" ||
30147 test ! -s conftest.err
30148 } && test -s conftest$ac_exeext &&
30149 $as_test_x conftest$ac_exeext; then
30150 ac_cv_lib_gdk_gdk_im_open=yes
30152 echo "$as_me: failed program was:" >&5
30153 sed 's/^/| /' conftest.$ac_ext >&5
30155 ac_cv_lib_gdk_gdk_im_open=no
30158 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30159 conftest$ac_exeext conftest.$ac_ext
30160 LIBS=$ac_check_lib_save_LIBS
30162 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
30163 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
30164 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
30165 cat >>confdefs.h <<\_ACEOF
30172 if test "$USE_DARWIN" != 1; then
30174 for ac_func in poll
30176 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30177 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30178 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30179 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30180 echo $ECHO_N "(cached) $ECHO_C" >&6
30182 cat >conftest.$ac_ext <<_ACEOF
30185 cat confdefs.h >>conftest.$ac_ext
30186 cat >>conftest.$ac_ext <<_ACEOF
30187 /* end confdefs.h. */
30188 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30189 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30190 #define $ac_func innocuous_$ac_func
30192 /* System header to define __stub macros and hopefully few prototypes,
30193 which can conflict with char $ac_func (); below.
30194 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30195 <limits.h> exists even on freestanding compilers. */
30198 # include <limits.h>
30200 # include <assert.h>
30205 /* Override any GCC internal prototype to avoid an error.
30206 Use char because int might match the return type of a GCC
30207 builtin and then its argument prototype would still apply. */
30212 /* The GNU C library defines this for functions which it implements
30213 to always fail with ENOSYS. Some functions are actually named
30214 something starting with __ and the normal name is an alias. */
30215 #if defined __stub_$ac_func || defined __stub___$ac_func
30222 return $ac_func ();
30227 rm -f conftest.$ac_objext conftest$ac_exeext
30228 if { (ac_try="$ac_link"
30229 case "(($ac_try" in
30230 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30231 *) ac_try_echo
=$ac_try;;
30233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30234 (eval "$ac_link") 2>conftest.er1
30236 grep -v '^ *+' conftest.er1
>conftest.err
30238 cat conftest.err
>&5
30239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30240 (exit $ac_status); } && {
30241 test -z "$ac_c_werror_flag" ||
30242 test ! -s conftest.err
30243 } && test -s conftest
$ac_exeext &&
30244 $as_test_x conftest
$ac_exeext; then
30245 eval "$as_ac_var=yes"
30247 echo "$as_me: failed program was:" >&5
30248 sed 's/^/| /' conftest.
$ac_ext >&5
30250 eval "$as_ac_var=no"
30253 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30254 conftest
$ac_exeext conftest.
$ac_ext
30256 ac_res
=`eval echo '${'$as_ac_var'}'`
30257 { echo "$as_me:$LINENO: result: $ac_res" >&5
30258 echo "${ECHO_T}$ac_res" >&6; }
30259 if test `eval echo '${'$as_ac_var'}'` = yes; then
30260 cat >>confdefs.h
<<_ACEOF
30261 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30270 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
30271 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
30273 AFMINSTALL
=afminstall
30277 if test "$wxUSE_GPE" = "yes"; then
30278 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
30279 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
30282 for ac_dir
in $SEARCH_LIB;
30284 for ac_extension
in a so sl dylib dll.a
; do
30285 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
30286 ac_find_libraries
=$ac_dir
30292 if test "$ac_find_libraries" != "" ; then
30294 if test "$ac_find_libraries" = "default location"; then
30297 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
30299 if test $result = 0; then
30302 ac_path_to_link
=" -L$ac_find_libraries"
30306 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
30308 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30309 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
30311 { echo "$as_me:$LINENO: result: not found" >&5
30312 echo "${ECHO_T}not found" >&6; }
30318 if test "$wxUSE_MGL" = 1; then
30319 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
30320 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
30321 if test "x$MGL_ROOT" = x
; then
30322 { echo "$as_me:$LINENO: result: not found" >&5
30323 echo "${ECHO_T}not found" >&6; }
30324 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
30325 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
30326 { (exit 1); exit 1; }; }
30328 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
30329 echo "${ECHO_T}$MGL_ROOT" >&6; }
30332 { echo "$as_me:$LINENO: checking for libmgl location" >&5
30333 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
30336 if test "x$wxUSE_SHARED" = xyes
; then
30337 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
30339 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
30343 mgl_os_candidates
="dos32/dj2"
30346 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
30347 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
30348 { (exit 1); exit 1; }; }
30354 for mgl_os_i
in $mgl_os_candidates ; do
30355 if test "x$mgl_os" = x
; then
30356 if test "$wxUSE_DEBUG_FLAG" = yes ; then
30357 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
30358 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
30363 if test "x$mgl_lib_type" = x
; then
30364 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
30365 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
30366 mgl_lib_type
=release
30373 if test "x$mgl_os" = x
; then
30374 { echo "$as_me:$LINENO: result: not found" >&5
30375 echo "${ECHO_T}not found" >&6; }
30376 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
30377 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
30378 { (exit 1); exit 1; }; }
30380 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
30381 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
30383 wxUSE_UNIVERSAL
="yes"
30385 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
30386 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
30388 AFMINSTALL
=afminstall
30393 if test "$wxUSE_DFB" = 1; then
30396 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30397 if test -n "$ac_tool_prefix"; then
30398 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30399 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
30400 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30401 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30402 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30403 echo $ECHO_N "(cached) $ECHO_C" >&6
30405 case $PKG_CONFIG in
30407 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
30410 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30411 for as_dir
in $PATH
30414 test -z "$as_dir" && as_dir
=.
30415 for ac_exec_ext
in '' $ac_executable_extensions; do
30416 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30417 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
30418 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30428 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
30429 if test -n "$PKG_CONFIG"; then
30430 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30431 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30433 { echo "$as_me:$LINENO: result: no" >&5
30434 echo "${ECHO_T}no" >&6; }
30439 if test -z "$ac_cv_path_PKG_CONFIG"; then
30440 ac_pt_PKG_CONFIG
=$PKG_CONFIG
30441 # Extract the first word of "pkg-config", so it can be a program name with args.
30442 set dummy pkg
-config; ac_word
=$2
30443 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30444 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30445 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30446 echo $ECHO_N "(cached) $ECHO_C" >&6
30448 case $ac_pt_PKG_CONFIG in
30450 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30453 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30454 for as_dir
in $PATH
30457 test -z "$as_dir" && as_dir
=.
30458 for ac_exec_ext
in '' $ac_executable_extensions; do
30459 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30460 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
30461 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30471 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
30472 if test -n "$ac_pt_PKG_CONFIG"; then
30473 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30474 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
30476 { echo "$as_me:$LINENO: result: no" >&5
30477 echo "${ECHO_T}no" >&6; }
30480 if test "x$ac_pt_PKG_CONFIG" = x
; then
30483 case $cross_compiling:$ac_tool_warned in
30485 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30486 whose name does not start with the host triplet. If you think this
30487 configuration is useful to you, please write to autoconf@gnu.org." >&5
30488 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30489 whose name does not start with the host triplet. If you think this
30490 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30491 ac_tool_warned
=yes ;;
30493 PKG_CONFIG
=$ac_pt_PKG_CONFIG
30496 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
30500 if test -n "$PKG_CONFIG"; then
30501 _pkg_min_version
=0.9.0
30502 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30503 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
30504 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30505 { echo "$as_me:$LINENO: result: yes" >&5
30506 echo "${ECHO_T}yes" >&6; }
30508 { echo "$as_me:$LINENO: result: no" >&5
30509 echo "${ECHO_T}no" >&6; }
30517 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
30518 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
30520 if test -n "$PKG_CONFIG"; then
30521 if test -n "$DIRECTFB_CFLAGS"; then
30522 pkg_cv_DIRECTFB_CFLAGS
="$DIRECTFB_CFLAGS"
30524 if test -n "$PKG_CONFIG" && \
30525 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
30526 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
30528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30529 (exit $ac_status); }; then
30530 pkg_cv_DIRECTFB_CFLAGS
=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
30538 if test -n "$PKG_CONFIG"; then
30539 if test -n "$DIRECTFB_LIBS"; then
30540 pkg_cv_DIRECTFB_LIBS
="$DIRECTFB_LIBS"
30542 if test -n "$PKG_CONFIG" && \
30543 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
30544 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
30546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30547 (exit $ac_status); }; then
30548 pkg_cv_DIRECTFB_LIBS
=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
30559 if test $pkg_failed = yes; then
30561 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30562 _pkg_short_errors_supported
=yes
30564 _pkg_short_errors_supported
=no
30566 if test $_pkg_short_errors_supported = yes; then
30567 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
30569 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
30571 # Put the nasty error message in config.log where it belongs
30572 echo "$DIRECTFB_PKG_ERRORS" >&5
30575 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
30576 echo "$as_me: error: DirectFB not found." >&2;}
30577 { (exit 1); exit 1; }; }
30580 elif test $pkg_failed = untried
; then
30582 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
30583 echo "$as_me: error: DirectFB not found." >&2;}
30584 { (exit 1); exit 1; }; }
30588 DIRECTFB_CFLAGS
=$pkg_cv_DIRECTFB_CFLAGS
30589 DIRECTFB_LIBS
=$pkg_cv_DIRECTFB_LIBS
30590 { echo "$as_me:$LINENO: result: yes" >&5
30591 echo "${ECHO_T}yes" >&6; }
30593 wxUSE_UNIVERSAL
="yes"
30594 TOOLKIT_INCLUDE
="$DIRECTFB_CFLAGS"
30595 GUI_TK_LIBRARY
="$DIRECTFB_LIBS"
30602 if test "$wxUSE_MICROWIN" = 1; then
30603 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
30604 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
30605 if test "x$MICROWINDOWS" = x
; then
30606 { echo "$as_me:$LINENO: result: not found" >&5
30607 echo "${ECHO_T}not found" >&6; }
30608 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
30609 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
30610 { (exit 1); exit 1; }; }
30612 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
30613 echo "${ECHO_T}$MICROWINDOWS" >&6; }
30616 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
30617 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
30618 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
30620 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
30621 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
30622 { (exit 1); exit 1; }; }
30625 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
30626 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
30628 wxUSE_UNIVERSAL
="yes"
30630 AFMINSTALL
=afminstall
30632 GUIDIST
=MICROWIN_DIST
30634 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
30637 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
30638 { echo "$as_me:$LINENO: checking for X" >&5
30639 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
30642 # Check whether --with-x was given.
30643 if test "${with_x+set}" = set; then
30647 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
30648 if test "x$with_x" = xno
; then
30649 # The user explicitly disabled X.
30652 case $x_includes,$x_libraries in #(
30653 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
30654 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
30655 { (exit 1); exit 1; }; };; #(
30656 *,NONE
| NONE
,*) if test "${ac_cv_have_x+set}" = set; then
30657 echo $ECHO_N "(cached) $ECHO_C" >&6
30659 # One or both of the vars are not set, and there is no cached value.
30660 ac_x_includes
=no ac_x_libraries
=no
30661 rm -f -r conftest.dir
30662 if mkdir conftest.dir
; then
30664 cat >Imakefile
<<'_ACEOF'
30666 @echo incroot='${INCROOT}'
30668 @echo usrlibdir='${USRLIBDIR}'
30670 @echo libdir='${LIBDIR}'
30672 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
30673 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
30674 for ac_var
in incroot usrlibdir libdir
; do
30675 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
30677 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
30678 for ac_extension
in a so sl
; do
30679 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
30680 test -f "$ac_im_libdir/libX11.$ac_extension"; then
30681 ac_im_usrlibdir
=$ac_im_libdir; break
30684 # Screen out bogus values from the imake configuration. They are
30685 # bogus both because they are the default anyway, and because
30686 # using them would break gcc on systems where it needs fixed includes.
30687 case $ac_im_incroot in
30688 /usr
/include
) ac_x_includes
= ;;
30689 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
30691 case $ac_im_usrlibdir in
30692 /usr
/lib
| /lib
) ;;
30693 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
30697 rm -f -r conftest.dir
30700 # Standard set of common directories for X headers.
30701 # Check X11 before X11Rn because it is often a symlink to the current release.
30713 /usr/local/X11/include
30714 /usr/local/X11R6/include
30715 /usr/local/X11R5/include
30716 /usr/local/X11R4/include
30718 /usr/local/include/X11
30719 /usr/local/include/X11R6
30720 /usr/local/include/X11R5
30721 /usr/local/include/X11R4
30725 /usr/XFree86/include/X11
30729 /usr/unsupported/include
30730 /usr/athena/include
30731 /usr/local/x11r5/include
30732 /usr/lpp/Xamples/include
30734 /usr/openwin/include
30735 /usr/openwin/share/include'
30737 if test "$ac_x_includes" = no
; then
30738 # Guess where to find include files, by looking for Xlib.h.
30739 # First, try using that file with no special directory specified.
30740 cat >conftest.
$ac_ext <<_ACEOF
30743 cat confdefs.h
>>conftest.
$ac_ext
30744 cat >>conftest.
$ac_ext <<_ACEOF
30745 /* end confdefs.h. */
30746 #include <X11/Xlib.h>
30748 if { (ac_try
="$ac_cpp conftest.$ac_ext"
30749 case "(($ac_try" in
30750 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30751 *) ac_try_echo=$ac_try;;
30753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30754 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30756 grep -v '^ *+' conftest.er1 >conftest.err
30758 cat conftest.err >&5
30759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30760 (exit $ac_status); } >/dev/null && {
30761 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30762 test ! -s conftest.err
30764 # We can compile using X headers with no special include directory.
30767 echo "$as_me: failed program was:" >&5
30768 sed 's/^/| /' conftest.$ac_ext >&5
30770 for ac_dir in $ac_x_header_dirs; do
30771 if test -r "$ac_dir/X11/Xlib.h"; then
30772 ac_x_includes=$ac_dir
30778 rm -f conftest.err conftest.$ac_ext
30779 fi # $ac_x_includes = no
30781 if test "$ac_x_libraries" = no; then
30782 # Check for the libraries.
30783 # See if we find them without any special options.
30784 # Don't add to $LIBS permanently.
30787 cat >conftest.$ac_ext <<_ACEOF
30790 cat confdefs.h >>conftest.$ac_ext
30791 cat >>conftest.$ac_ext <<_ACEOF
30792 /* end confdefs.h. */
30793 #include <X11/Xlib.h>
30802 rm -f conftest.$ac_objext conftest$ac_exeext
30803 if { (ac_try="$ac_link"
30804 case "(($ac_try" in
30805 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30806 *) ac_try_echo
=$ac_try;;
30808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30809 (eval "$ac_link") 2>conftest.er1
30811 grep -v '^ *+' conftest.er1
>conftest.err
30813 cat conftest.err
>&5
30814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30815 (exit $ac_status); } && {
30816 test -z "$ac_c_werror_flag" ||
30817 test ! -s conftest.err
30818 } && test -s conftest
$ac_exeext &&
30819 $as_test_x conftest
$ac_exeext; then
30821 # We can link X programs with no special library path.
30824 echo "$as_me: failed program was:" >&5
30825 sed 's/^/| /' conftest.
$ac_ext >&5
30828 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
30830 # Don't even attempt the hair of trying to link an X program!
30831 for ac_extension
in a so sl
; do
30832 if test -r "$ac_dir/libX11.$ac_extension"; then
30833 ac_x_libraries
=$ac_dir
30840 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30841 conftest
$ac_exeext conftest.
$ac_ext
30842 fi # $ac_x_libraries = no
30844 case $ac_x_includes,$ac_x_libraries in #(
30845 no
,* | *,no
| *\'*)
30846 # Didn't find X, or a directory has "'" in its name.
30847 ac_cv_have_x
="have_x=no";; #(
30849 # Record where we found X for the cache.
30850 ac_cv_have_x
="have_x=yes\
30851 ac_x_includes='$ac_x_includes'\
30852 ac_x_libraries='$ac_x_libraries'"
30858 eval "$ac_cv_have_x"
30861 if test "$have_x" != yes; then
30862 { echo "$as_me:$LINENO: result: $have_x" >&5
30863 echo "${ECHO_T}$have_x" >&6; }
30866 # If each of the values was on the command line, it overrides each guess.
30867 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
30868 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
30869 # Update the cache value to reflect the command line values.
30870 ac_cv_have_x
="have_x=yes\
30871 ac_x_includes='$x_includes'\
30872 ac_x_libraries='$x_libraries'"
30873 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
30874 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
30877 if test "$no_x" = yes; then
30878 # Not all programs may use this symbol, but it does not hurt to define it.
30880 cat >>confdefs.h
<<\_ACEOF
30881 #define X_DISPLAY_MISSING 1
30884 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
30886 if test -n "$x_includes"; then
30887 X_CFLAGS
="$X_CFLAGS -I$x_includes"
30890 # It would also be nice to do this for all -L options, not just this one.
30891 if test -n "$x_libraries"; then
30892 X_LIBS
="$X_LIBS -L$x_libraries"
30893 # For Solaris; some versions of Sun CC require a space after -R and
30894 # others require no space. Words are not sufficient . . . .
30895 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30896 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
30897 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
30898 ac_xsave_c_werror_flag
=$ac_c_werror_flag
30899 ac_c_werror_flag
=yes
30900 cat >conftest.
$ac_ext <<_ACEOF
30903 cat confdefs.h
>>conftest.
$ac_ext
30904 cat >>conftest.
$ac_ext <<_ACEOF
30905 /* end confdefs.h. */
30915 rm -f conftest.
$ac_objext conftest
$ac_exeext
30916 if { (ac_try
="$ac_link"
30917 case "(($ac_try" in
30918 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30919 *) ac_try_echo=$ac_try;;
30921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30922 (eval "$ac_link") 2>conftest.er1
30924 grep -v '^ *+' conftest.er1 >conftest.err
30926 cat conftest.err >&5
30927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30928 (exit $ac_status); } && {
30929 test -z "$ac_c_werror_flag" ||
30930 test ! -s conftest.err
30931 } && test -s conftest$ac_exeext &&
30932 $as_test_x conftest$ac_exeext; then
30933 { echo "$as_me:$LINENO: result: no" >&5
30934 echo "${ECHO_T}no" >&6; }
30935 X_LIBS="$X_LIBS -R$x_libraries"
30937 echo "$as_me: failed program was:" >&5
30938 sed 's/^/| /' conftest.$ac_ext >&5
30940 LIBS="$ac_xsave_LIBS -R $x_libraries"
30941 cat >conftest.$ac_ext <<_ACEOF
30944 cat confdefs.h >>conftest.$ac_ext
30945 cat >>conftest.$ac_ext <<_ACEOF
30946 /* end confdefs.h. */
30956 rm -f conftest.$ac_objext conftest$ac_exeext
30957 if { (ac_try="$ac_link"
30958 case "(($ac_try" in
30959 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30960 *) ac_try_echo
=$ac_try;;
30962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30963 (eval "$ac_link") 2>conftest.er1
30965 grep -v '^ *+' conftest.er1
>conftest.err
30967 cat conftest.err
>&5
30968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30969 (exit $ac_status); } && {
30970 test -z "$ac_c_werror_flag" ||
30971 test ! -s conftest.err
30972 } && test -s conftest
$ac_exeext &&
30973 $as_test_x conftest
$ac_exeext; then
30974 { echo "$as_me:$LINENO: result: yes" >&5
30975 echo "${ECHO_T}yes" >&6; }
30976 X_LIBS
="$X_LIBS -R $x_libraries"
30978 echo "$as_me: failed program was:" >&5
30979 sed 's/^/| /' conftest.
$ac_ext >&5
30981 { echo "$as_me:$LINENO: result: neither works" >&5
30982 echo "${ECHO_T}neither works" >&6; }
30985 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30986 conftest
$ac_exeext conftest.
$ac_ext
30989 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30990 conftest
$ac_exeext conftest.
$ac_ext
30991 ac_c_werror_flag
=$ac_xsave_c_werror_flag
30992 LIBS
=$ac_xsave_LIBS
30995 # Check for system-dependent libraries X programs must link with.
30996 # Do this before checking for the system-independent R6 libraries
30997 # (-lICE), since we may need -lsocket or whatever for X linking.
30999 if test "$ISC" = yes; then
31000 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
31002 # Martyn Johnson says this is needed for Ultrix, if the X
31003 # libraries were built with DECnet support. And Karl Berry says
31004 # the Alpha needs dnet_stub (dnet does not exist).
31005 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
31006 cat >conftest.
$ac_ext <<_ACEOF
31009 cat confdefs.h
>>conftest.
$ac_ext
31010 cat >>conftest.
$ac_ext <<_ACEOF
31011 /* end confdefs.h. */
31013 /* Override any GCC internal prototype to avoid an error.
31014 Use char because int might match the return type of a GCC
31015 builtin and then its argument prototype would still apply. */
31019 char XOpenDisplay ();
31023 return XOpenDisplay ();
31028 rm -f conftest.
$ac_objext conftest
$ac_exeext
31029 if { (ac_try
="$ac_link"
31030 case "(($ac_try" in
31031 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31032 *) ac_try_echo=$ac_try;;
31034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31035 (eval "$ac_link") 2>conftest.er1
31037 grep -v '^ *+' conftest.er1 >conftest.err
31039 cat conftest.err >&5
31040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31041 (exit $ac_status); } && {
31042 test -z "$ac_c_werror_flag" ||
31043 test ! -s conftest.err
31044 } && test -s conftest$ac_exeext &&
31045 $as_test_x conftest$ac_exeext; then
31048 echo "$as_me: failed program was:" >&5
31049 sed 's/^/| /' conftest.$ac_ext >&5
31051 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
31052 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
31053 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
31054 echo $ECHO_N "(cached) $ECHO_C" >&6
31056 ac_check_lib_save_LIBS=$LIBS
31057 LIBS="-ldnet $LIBS"
31058 cat >conftest.$ac_ext <<_ACEOF
31061 cat confdefs.h >>conftest.$ac_ext
31062 cat >>conftest.$ac_ext <<_ACEOF
31063 /* end confdefs.h. */
31065 /* Override any GCC internal prototype to avoid an error.
31066 Use char because int might match the return type of a GCC
31067 builtin and then its argument prototype would still apply. */
31075 return dnet_ntoa ();
31080 rm -f conftest.$ac_objext conftest$ac_exeext
31081 if { (ac_try="$ac_link"
31082 case "(($ac_try" in
31083 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31084 *) ac_try_echo
=$ac_try;;
31086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31087 (eval "$ac_link") 2>conftest.er1
31089 grep -v '^ *+' conftest.er1
>conftest.err
31091 cat conftest.err
>&5
31092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31093 (exit $ac_status); } && {
31094 test -z "$ac_c_werror_flag" ||
31095 test ! -s conftest.err
31096 } && test -s conftest
$ac_exeext &&
31097 $as_test_x conftest
$ac_exeext; then
31098 ac_cv_lib_dnet_dnet_ntoa
=yes
31100 echo "$as_me: failed program was:" >&5
31101 sed 's/^/| /' conftest.
$ac_ext >&5
31103 ac_cv_lib_dnet_dnet_ntoa
=no
31106 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31107 conftest
$ac_exeext conftest.
$ac_ext
31108 LIBS
=$ac_check_lib_save_LIBS
31110 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
31111 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
31112 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
31113 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
31116 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
31117 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
31118 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
31119 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
31120 echo $ECHO_N "(cached) $ECHO_C" >&6
31122 ac_check_lib_save_LIBS
=$LIBS
31123 LIBS
="-ldnet_stub $LIBS"
31124 cat >conftest.
$ac_ext <<_ACEOF
31127 cat confdefs.h
>>conftest.
$ac_ext
31128 cat >>conftest.
$ac_ext <<_ACEOF
31129 /* end confdefs.h. */
31131 /* Override any GCC internal prototype to avoid an error.
31132 Use char because int might match the return type of a GCC
31133 builtin and then its argument prototype would still apply. */
31141 return dnet_ntoa ();
31146 rm -f conftest.
$ac_objext conftest
$ac_exeext
31147 if { (ac_try
="$ac_link"
31148 case "(($ac_try" in
31149 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31150 *) ac_try_echo=$ac_try;;
31152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31153 (eval "$ac_link") 2>conftest.er1
31155 grep -v '^ *+' conftest.er1 >conftest.err
31157 cat conftest.err >&5
31158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31159 (exit $ac_status); } && {
31160 test -z "$ac_c_werror_flag" ||
31161 test ! -s conftest.err
31162 } && test -s conftest$ac_exeext &&
31163 $as_test_x conftest$ac_exeext; then
31164 ac_cv_lib_dnet_stub_dnet_ntoa=yes
31166 echo "$as_me: failed program was:" >&5
31167 sed 's/^/| /' conftest.$ac_ext >&5
31169 ac_cv_lib_dnet_stub_dnet_ntoa=no
31172 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31173 conftest$ac_exeext conftest.$ac_ext
31174 LIBS=$ac_check_lib_save_LIBS
31176 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
31177 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
31178 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
31179 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
31185 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31186 conftest$ac_exeext conftest.$ac_ext
31187 LIBS="$ac_xsave_LIBS"
31189 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
31190 # to get the SysV transport functions.
31191 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
31193 # The nsl library prevents programs from opening the X display
31194 # on Irix 5.2, according to T.E. Dickey.
31195 # The functions gethostbyname, getservbyname, and inet_addr are
31196 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
31197 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
31198 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
31199 if test "${ac_cv_func_gethostbyname+set}" = set; then
31200 echo $ECHO_N "(cached) $ECHO_C" >&6
31202 cat >conftest.$ac_ext <<_ACEOF
31205 cat confdefs.h >>conftest.$ac_ext
31206 cat >>conftest.$ac_ext <<_ACEOF
31207 /* end confdefs.h. */
31208 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
31209 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31210 #define gethostbyname innocuous_gethostbyname
31212 /* System header to define __stub macros and hopefully few prototypes,
31213 which can conflict with char gethostbyname (); below.
31214 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31215 <limits.h> exists even on freestanding compilers. */
31218 # include <limits.h>
31220 # include <assert.h>
31223 #undef gethostbyname
31225 /* Override any GCC internal prototype to avoid an error.
31226 Use char because int might match the return type of a GCC
31227 builtin and then its argument prototype would still apply. */
31231 char gethostbyname ();
31232 /* The GNU C library defines this for functions which it implements
31233 to always fail with ENOSYS. Some functions are actually named
31234 something starting with __ and the normal name is an alias. */
31235 #if defined __stub_gethostbyname || defined __stub___gethostbyname
31242 return gethostbyname ();
31247 rm -f conftest.$ac_objext conftest$ac_exeext
31248 if { (ac_try="$ac_link"
31249 case "(($ac_try" in
31250 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31251 *) ac_try_echo
=$ac_try;;
31253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31254 (eval "$ac_link") 2>conftest.er1
31256 grep -v '^ *+' conftest.er1
>conftest.err
31258 cat conftest.err
>&5
31259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31260 (exit $ac_status); } && {
31261 test -z "$ac_c_werror_flag" ||
31262 test ! -s conftest.err
31263 } && test -s conftest
$ac_exeext &&
31264 $as_test_x conftest
$ac_exeext; then
31265 ac_cv_func_gethostbyname
=yes
31267 echo "$as_me: failed program was:" >&5
31268 sed 's/^/| /' conftest.
$ac_ext >&5
31270 ac_cv_func_gethostbyname
=no
31273 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31274 conftest
$ac_exeext conftest.
$ac_ext
31276 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
31277 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
31279 if test $ac_cv_func_gethostbyname = no
; then
31280 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
31281 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
31282 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
31283 echo $ECHO_N "(cached) $ECHO_C" >&6
31285 ac_check_lib_save_LIBS
=$LIBS
31287 cat >conftest.
$ac_ext <<_ACEOF
31290 cat confdefs.h
>>conftest.
$ac_ext
31291 cat >>conftest.
$ac_ext <<_ACEOF
31292 /* end confdefs.h. */
31294 /* Override any GCC internal prototype to avoid an error.
31295 Use char because int might match the return type of a GCC
31296 builtin and then its argument prototype would still apply. */
31300 char gethostbyname ();
31304 return gethostbyname ();
31309 rm -f conftest.
$ac_objext conftest
$ac_exeext
31310 if { (ac_try
="$ac_link"
31311 case "(($ac_try" in
31312 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31313 *) ac_try_echo=$ac_try;;
31315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31316 (eval "$ac_link") 2>conftest.er1
31318 grep -v '^ *+' conftest.er1 >conftest.err
31320 cat conftest.err >&5
31321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31322 (exit $ac_status); } && {
31323 test -z "$ac_c_werror_flag" ||
31324 test ! -s conftest.err
31325 } && test -s conftest$ac_exeext &&
31326 $as_test_x conftest$ac_exeext; then
31327 ac_cv_lib_nsl_gethostbyname=yes
31329 echo "$as_me: failed program was:" >&5
31330 sed 's/^/| /' conftest.$ac_ext >&5
31332 ac_cv_lib_nsl_gethostbyname=no
31335 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31336 conftest$ac_exeext conftest.$ac_ext
31337 LIBS=$ac_check_lib_save_LIBS
31339 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
31340 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
31341 if test $ac_cv_lib_nsl_gethostbyname = yes; then
31342 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
31345 if test $ac_cv_lib_nsl_gethostbyname = no; then
31346 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
31347 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
31348 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
31349 echo $ECHO_N "(cached) $ECHO_C" >&6
31351 ac_check_lib_save_LIBS=$LIBS
31353 cat >conftest.$ac_ext <<_ACEOF
31356 cat confdefs.h >>conftest.$ac_ext
31357 cat >>conftest.$ac_ext <<_ACEOF
31358 /* end confdefs.h. */
31360 /* Override any GCC internal prototype to avoid an error.
31361 Use char because int might match the return type of a GCC
31362 builtin and then its argument prototype would still apply. */
31366 char gethostbyname ();
31370 return gethostbyname ();
31375 rm -f conftest.$ac_objext conftest$ac_exeext
31376 if { (ac_try="$ac_link"
31377 case "(($ac_try" in
31378 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31379 *) ac_try_echo
=$ac_try;;
31381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31382 (eval "$ac_link") 2>conftest.er1
31384 grep -v '^ *+' conftest.er1
>conftest.err
31386 cat conftest.err
>&5
31387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31388 (exit $ac_status); } && {
31389 test -z "$ac_c_werror_flag" ||
31390 test ! -s conftest.err
31391 } && test -s conftest
$ac_exeext &&
31392 $as_test_x conftest
$ac_exeext; then
31393 ac_cv_lib_bsd_gethostbyname
=yes
31395 echo "$as_me: failed program was:" >&5
31396 sed 's/^/| /' conftest.
$ac_ext >&5
31398 ac_cv_lib_bsd_gethostbyname
=no
31401 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31402 conftest
$ac_exeext conftest.
$ac_ext
31403 LIBS
=$ac_check_lib_save_LIBS
31405 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
31406 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
31407 if test $ac_cv_lib_bsd_gethostbyname = yes; then
31408 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
31414 # lieder@skyler.mavd.honeywell.com says without -lsocket,
31415 # socket/setsockopt and other routines are undefined under SCO ODT
31416 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
31417 # on later versions), says Simon Leinen: it contains gethostby*
31418 # variants that don't use the name server (or something). -lsocket
31419 # must be given before -lnsl if both are needed. We assume that
31420 # if connect needs -lnsl, so does gethostbyname.
31421 { echo "$as_me:$LINENO: checking for connect" >&5
31422 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
31423 if test "${ac_cv_func_connect+set}" = set; then
31424 echo $ECHO_N "(cached) $ECHO_C" >&6
31426 cat >conftest.
$ac_ext <<_ACEOF
31429 cat confdefs.h
>>conftest.
$ac_ext
31430 cat >>conftest.
$ac_ext <<_ACEOF
31431 /* end confdefs.h. */
31432 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
31433 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31434 #define connect innocuous_connect
31436 /* System header to define __stub macros and hopefully few prototypes,
31437 which can conflict with char connect (); below.
31438 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31439 <limits.h> exists even on freestanding compilers. */
31442 # include <limits.h>
31444 # include <assert.h>
31449 /* Override any GCC internal prototype to avoid an error.
31450 Use char because int might match the return type of a GCC
31451 builtin and then its argument prototype would still apply. */
31456 /* The GNU C library defines this for functions which it implements
31457 to always fail with ENOSYS. Some functions are actually named
31458 something starting with __ and the normal name is an alias. */
31459 #if defined __stub_connect || defined __stub___connect
31471 rm -f conftest.
$ac_objext conftest
$ac_exeext
31472 if { (ac_try
="$ac_link"
31473 case "(($ac_try" in
31474 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31475 *) ac_try_echo=$ac_try;;
31477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31478 (eval "$ac_link") 2>conftest.er1
31480 grep -v '^ *+' conftest.er1 >conftest.err
31482 cat conftest.err >&5
31483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31484 (exit $ac_status); } && {
31485 test -z "$ac_c_werror_flag" ||
31486 test ! -s conftest.err
31487 } && test -s conftest$ac_exeext &&
31488 $as_test_x conftest$ac_exeext; then
31489 ac_cv_func_connect=yes
31491 echo "$as_me: failed program was:" >&5
31492 sed 's/^/| /' conftest.$ac_ext >&5
31494 ac_cv_func_connect=no
31497 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31498 conftest$ac_exeext conftest.$ac_ext
31500 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
31501 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
31503 if test $ac_cv_func_connect = no; then
31504 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
31505 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
31506 if test "${ac_cv_lib_socket_connect+set}" = set; then
31507 echo $ECHO_N "(cached) $ECHO_C" >&6
31509 ac_check_lib_save_LIBS=$LIBS
31510 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
31511 cat >conftest.$ac_ext <<_ACEOF
31514 cat confdefs.h >>conftest.$ac_ext
31515 cat >>conftest.$ac_ext <<_ACEOF
31516 /* end confdefs.h. */
31518 /* Override any GCC internal prototype to avoid an error.
31519 Use char because int might match the return type of a GCC
31520 builtin and then its argument prototype would still apply. */
31533 rm -f conftest.$ac_objext conftest$ac_exeext
31534 if { (ac_try="$ac_link"
31535 case "(($ac_try" in
31536 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31537 *) ac_try_echo
=$ac_try;;
31539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31540 (eval "$ac_link") 2>conftest.er1
31542 grep -v '^ *+' conftest.er1
>conftest.err
31544 cat conftest.err
>&5
31545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31546 (exit $ac_status); } && {
31547 test -z "$ac_c_werror_flag" ||
31548 test ! -s conftest.err
31549 } && test -s conftest
$ac_exeext &&
31550 $as_test_x conftest
$ac_exeext; then
31551 ac_cv_lib_socket_connect
=yes
31553 echo "$as_me: failed program was:" >&5
31554 sed 's/^/| /' conftest.
$ac_ext >&5
31556 ac_cv_lib_socket_connect
=no
31559 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31560 conftest
$ac_exeext conftest.
$ac_ext
31561 LIBS
=$ac_check_lib_save_LIBS
31563 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
31564 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
31565 if test $ac_cv_lib_socket_connect = yes; then
31566 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
31571 # Guillermo Gomez says -lposix is necessary on A/UX.
31572 { echo "$as_me:$LINENO: checking for remove" >&5
31573 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
31574 if test "${ac_cv_func_remove+set}" = set; then
31575 echo $ECHO_N "(cached) $ECHO_C" >&6
31577 cat >conftest.
$ac_ext <<_ACEOF
31580 cat confdefs.h
>>conftest.
$ac_ext
31581 cat >>conftest.
$ac_ext <<_ACEOF
31582 /* end confdefs.h. */
31583 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
31584 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31585 #define remove innocuous_remove
31587 /* System header to define __stub macros and hopefully few prototypes,
31588 which can conflict with char remove (); below.
31589 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31590 <limits.h> exists even on freestanding compilers. */
31593 # include <limits.h>
31595 # include <assert.h>
31600 /* Override any GCC internal prototype to avoid an error.
31601 Use char because int might match the return type of a GCC
31602 builtin and then its argument prototype would still apply. */
31607 /* The GNU C library defines this for functions which it implements
31608 to always fail with ENOSYS. Some functions are actually named
31609 something starting with __ and the normal name is an alias. */
31610 #if defined __stub_remove || defined __stub___remove
31622 rm -f conftest.
$ac_objext conftest
$ac_exeext
31623 if { (ac_try
="$ac_link"
31624 case "(($ac_try" in
31625 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31626 *) ac_try_echo=$ac_try;;
31628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31629 (eval "$ac_link") 2>conftest.er1
31631 grep -v '^ *+' conftest.er1 >conftest.err
31633 cat conftest.err >&5
31634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31635 (exit $ac_status); } && {
31636 test -z "$ac_c_werror_flag" ||
31637 test ! -s conftest.err
31638 } && test -s conftest$ac_exeext &&
31639 $as_test_x conftest$ac_exeext; then
31640 ac_cv_func_remove=yes
31642 echo "$as_me: failed program was:" >&5
31643 sed 's/^/| /' conftest.$ac_ext >&5
31645 ac_cv_func_remove=no
31648 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31649 conftest$ac_exeext conftest.$ac_ext
31651 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
31652 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
31654 if test $ac_cv_func_remove = no; then
31655 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
31656 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
31657 if test "${ac_cv_lib_posix_remove+set}" = set; then
31658 echo $ECHO_N "(cached) $ECHO_C" >&6
31660 ac_check_lib_save_LIBS=$LIBS
31661 LIBS="-lposix $LIBS"
31662 cat >conftest.$ac_ext <<_ACEOF
31665 cat confdefs.h >>conftest.$ac_ext
31666 cat >>conftest.$ac_ext <<_ACEOF
31667 /* end confdefs.h. */
31669 /* Override any GCC internal prototype to avoid an error.
31670 Use char because int might match the return type of a GCC
31671 builtin and then its argument prototype would still apply. */
31684 rm -f conftest.$ac_objext conftest$ac_exeext
31685 if { (ac_try="$ac_link"
31686 case "(($ac_try" in
31687 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31688 *) ac_try_echo
=$ac_try;;
31690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31691 (eval "$ac_link") 2>conftest.er1
31693 grep -v '^ *+' conftest.er1
>conftest.err
31695 cat conftest.err
>&5
31696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31697 (exit $ac_status); } && {
31698 test -z "$ac_c_werror_flag" ||
31699 test ! -s conftest.err
31700 } && test -s conftest
$ac_exeext &&
31701 $as_test_x conftest
$ac_exeext; then
31702 ac_cv_lib_posix_remove
=yes
31704 echo "$as_me: failed program was:" >&5
31705 sed 's/^/| /' conftest.
$ac_ext >&5
31707 ac_cv_lib_posix_remove
=no
31710 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31711 conftest
$ac_exeext conftest.
$ac_ext
31712 LIBS
=$ac_check_lib_save_LIBS
31714 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
31715 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
31716 if test $ac_cv_lib_posix_remove = yes; then
31717 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
31722 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
31723 { echo "$as_me:$LINENO: checking for shmat" >&5
31724 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
31725 if test "${ac_cv_func_shmat+set}" = set; then
31726 echo $ECHO_N "(cached) $ECHO_C" >&6
31728 cat >conftest.
$ac_ext <<_ACEOF
31731 cat confdefs.h
>>conftest.
$ac_ext
31732 cat >>conftest.
$ac_ext <<_ACEOF
31733 /* end confdefs.h. */
31734 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
31735 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31736 #define shmat innocuous_shmat
31738 /* System header to define __stub macros and hopefully few prototypes,
31739 which can conflict with char shmat (); below.
31740 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31741 <limits.h> exists even on freestanding compilers. */
31744 # include <limits.h>
31746 # include <assert.h>
31751 /* Override any GCC internal prototype to avoid an error.
31752 Use char because int might match the return type of a GCC
31753 builtin and then its argument prototype would still apply. */
31758 /* The GNU C library defines this for functions which it implements
31759 to always fail with ENOSYS. Some functions are actually named
31760 something starting with __ and the normal name is an alias. */
31761 #if defined __stub_shmat || defined __stub___shmat
31773 rm -f conftest.
$ac_objext conftest
$ac_exeext
31774 if { (ac_try
="$ac_link"
31775 case "(($ac_try" in
31776 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31777 *) ac_try_echo=$ac_try;;
31779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31780 (eval "$ac_link") 2>conftest.er1
31782 grep -v '^ *+' conftest.er1 >conftest.err
31784 cat conftest.err >&5
31785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31786 (exit $ac_status); } && {
31787 test -z "$ac_c_werror_flag" ||
31788 test ! -s conftest.err
31789 } && test -s conftest$ac_exeext &&
31790 $as_test_x conftest$ac_exeext; then
31791 ac_cv_func_shmat=yes
31793 echo "$as_me: failed program was:" >&5
31794 sed 's/^/| /' conftest.$ac_ext >&5
31796 ac_cv_func_shmat=no
31799 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31800 conftest$ac_exeext conftest.$ac_ext
31802 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
31803 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
31805 if test $ac_cv_func_shmat = no; then
31806 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
31807 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
31808 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
31809 echo $ECHO_N "(cached) $ECHO_C" >&6
31811 ac_check_lib_save_LIBS=$LIBS
31813 cat >conftest.$ac_ext <<_ACEOF
31816 cat confdefs.h >>conftest.$ac_ext
31817 cat >>conftest.$ac_ext <<_ACEOF
31818 /* end confdefs.h. */
31820 /* Override any GCC internal prototype to avoid an error.
31821 Use char because int might match the return type of a GCC
31822 builtin and then its argument prototype would still apply. */
31835 rm -f conftest.$ac_objext conftest$ac_exeext
31836 if { (ac_try="$ac_link"
31837 case "(($ac_try" in
31838 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31839 *) ac_try_echo
=$ac_try;;
31841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31842 (eval "$ac_link") 2>conftest.er1
31844 grep -v '^ *+' conftest.er1
>conftest.err
31846 cat conftest.err
>&5
31847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31848 (exit $ac_status); } && {
31849 test -z "$ac_c_werror_flag" ||
31850 test ! -s conftest.err
31851 } && test -s conftest
$ac_exeext &&
31852 $as_test_x conftest
$ac_exeext; then
31853 ac_cv_lib_ipc_shmat
=yes
31855 echo "$as_me: failed program was:" >&5
31856 sed 's/^/| /' conftest.
$ac_ext >&5
31858 ac_cv_lib_ipc_shmat
=no
31861 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31862 conftest
$ac_exeext conftest.
$ac_ext
31863 LIBS
=$ac_check_lib_save_LIBS
31865 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31866 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
31867 if test $ac_cv_lib_ipc_shmat = yes; then
31868 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
31874 # Check for libraries that X11R6 Xt/Xaw programs need.
31875 ac_save_LDFLAGS
=$LDFLAGS
31876 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
31877 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31878 # check for ICE first), but we must link in the order -lSM -lICE or
31879 # we get undefined symbols. So assume we have SM if we have ICE.
31880 # These have to be linked with before -lX11, unlike the other
31881 # libraries we check for below, so use a different variable.
31882 # John Interrante, Karl Berry
31883 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31884 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
31885 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31886 echo $ECHO_N "(cached) $ECHO_C" >&6
31888 ac_check_lib_save_LIBS
=$LIBS
31889 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
31890 cat >conftest.
$ac_ext <<_ACEOF
31893 cat confdefs.h
>>conftest.
$ac_ext
31894 cat >>conftest.
$ac_ext <<_ACEOF
31895 /* end confdefs.h. */
31897 /* Override any GCC internal prototype to avoid an error.
31898 Use char because int might match the return type of a GCC
31899 builtin and then its argument prototype would still apply. */
31903 char IceConnectionNumber ();
31907 return IceConnectionNumber ();
31912 rm -f conftest.
$ac_objext conftest
$ac_exeext
31913 if { (ac_try
="$ac_link"
31914 case "(($ac_try" in
31915 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31916 *) ac_try_echo=$ac_try;;
31918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31919 (eval "$ac_link") 2>conftest.er1
31921 grep -v '^ *+' conftest.er1 >conftest.err
31923 cat conftest.err >&5
31924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31925 (exit $ac_status); } && {
31926 test -z "$ac_c_werror_flag" ||
31927 test ! -s conftest.err
31928 } && test -s conftest$ac_exeext &&
31929 $as_test_x conftest$ac_exeext; then
31930 ac_cv_lib_ICE_IceConnectionNumber=yes
31932 echo "$as_me: failed program was:" >&5
31933 sed 's/^/| /' conftest.$ac_ext >&5
31935 ac_cv_lib_ICE_IceConnectionNumber=no
31938 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31939 conftest$ac_exeext conftest.$ac_ext
31940 LIBS=$ac_check_lib_save_LIBS
31942 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31943 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
31944 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31945 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
31948 LDFLAGS=$ac_save_LDFLAGS
31953 if test "$no_x" = "yes"; then
31954 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31955 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31956 { (exit 1); exit 1; }; }
31959 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31960 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
31961 AFMINSTALL=afminstall
31962 COMPILED_X_PROGRAM=0
31966 if test "$wxUSE_X11" = 1; then
31967 if test "$wxUSE_NANOX" = "yes"; then
31968 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31969 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
31970 if test "x$MICROWIN" = x ; then
31971 { echo "$as_me:$LINENO: result: not found" >&5
31972 echo "${ECHO_T}not found" >&6; }
31973 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31974 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31975 { (exit 1); exit 1; }; }
31977 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
31978 echo "${ECHO_T}$MICROWIN" >&6; }
31979 cat >>confdefs.h <<\_ACEOF
31980 #define wxUSE_NANOX 1
31986 if test "$wxUSE_UNICODE" = "yes"; then
31989 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31990 if test -n "$ac_tool_prefix"; then
31991 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31992 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31993 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31994 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31995 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31996 echo $ECHO_N "(cached) $ECHO_C" >&6
31998 case $PKG_CONFIG in
32000 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
32003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32004 for as_dir in $PATH
32007 test -z "$as_dir" && as_dir=.
32008 for ac_exec_ext in '' $ac_executable_extensions; do
32009 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32010 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32011 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32021 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
32022 if test -n "$PKG_CONFIG"; then
32023 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
32024 echo "${ECHO_T}$PKG_CONFIG" >&6; }
32026 { echo "$as_me:$LINENO: result: no" >&5
32027 echo "${ECHO_T}no" >&6; }
32032 if test -z "$ac_cv_path_PKG_CONFIG"; then
32033 ac_pt_PKG_CONFIG=$PKG_CONFIG
32034 # Extract the first word of "pkg-config", so it can be a program name with args.
32035 set dummy pkg-config; ac_word=$2
32036 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32037 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32038 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
32039 echo $ECHO_N "(cached) $ECHO_C" >&6
32041 case $ac_pt_PKG_CONFIG in
32043 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
32046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32047 for as_dir in $PATH
32050 test -z "$as_dir" && as_dir=.
32051 for ac_exec_ext in '' $ac_executable_extensions; do
32052 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32053 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32054 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32064 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
32065 if test -n "$ac_pt_PKG_CONFIG"; then
32066 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
32067 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
32069 { echo "$as_me:$LINENO: result: no" >&5
32070 echo "${ECHO_T}no" >&6; }
32073 if test "x$ac_pt_PKG_CONFIG" = x; then
32076 case $cross_compiling:$ac_tool_warned in
32078 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
32079 whose name does not start with the host triplet. If you think this
32080 configuration is useful to you, please write to autoconf@gnu.org." >&5
32081 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
32082 whose name does not start with the host triplet. If you think this
32083 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32084 ac_tool_warned=yes ;;
32086 PKG_CONFIG=$ac_pt_PKG_CONFIG
32089 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
32093 if test -n "$PKG_CONFIG"; then
32094 _pkg_min_version=0.9.0
32095 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
32096 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
32097 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
32098 { echo "$as_me:$LINENO: result: yes" >&5
32099 echo "${ECHO_T}yes" >&6; }
32101 { echo "$as_me:$LINENO: result: no" >&5
32102 echo "${ECHO_T}no" >&6; }
32110 { echo "$as_me:$LINENO: checking for PANGOX" >&5
32111 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
32113 if test -n "$PKG_CONFIG"; then
32114 if test -n "$PANGOX_CFLAGS"; then
32115 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
32117 if test -n "$PKG_CONFIG" && \
32118 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32119 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32122 (exit $ac_status); }; then
32123 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev
/null
`
32131 if test -n "$PKG_CONFIG"; then
32132 if test -n "$PANGOX_LIBS"; then
32133 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
32135 if test -n "$PKG_CONFIG" && \
32136 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32137 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32140 (exit $ac_status); }; then
32141 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev
/null
`
32152 if test $pkg_failed = yes; then
32154 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32155 _pkg_short_errors_supported=yes
32157 _pkg_short_errors_supported=no
32159 if test $_pkg_short_errors_supported = yes; then
32160 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
32162 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
32164 # Put the nasty error message in config.log where it belongs
32165 echo "$PANGOX_PKG_ERRORS" >&5
32168 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32169 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32170 { (exit 1); exit 1; }; }
32173 elif test $pkg_failed = untried; then
32175 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32176 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32177 { (exit 1); exit 1; }; }
32181 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
32182 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
32183 { echo "$as_me:$LINENO: result: yes" >&5
32184 echo "${ECHO_T}yes" >&6; }
32186 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
32187 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
32188 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
32193 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
32194 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
32196 if test -n "$PKG_CONFIG"; then
32197 if test -n "$PANGOFT2_CFLAGS"; then
32198 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
32200 if test -n "$PKG_CONFIG" && \
32201 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
32202 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
32204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32205 (exit $ac_status); }; then
32206 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev
/null
`
32214 if test -n "$PKG_CONFIG"; then
32215 if test -n "$PANGOFT2_LIBS"; then
32216 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
32218 if test -n "$PKG_CONFIG" && \
32219 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
32220 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
32222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32223 (exit $ac_status); }; then
32224 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev
/null
`
32235 if test $pkg_failed = yes; then
32237 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32238 _pkg_short_errors_supported=yes
32240 _pkg_short_errors_supported=no
32242 if test $_pkg_short_errors_supported = yes; then
32243 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
32245 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
32247 # Put the nasty error message in config.log where it belongs
32248 echo "$PANGOFT2_PKG_ERRORS" >&5
32251 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
32252 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
32253 wxUSE_PRINTING_ARCHITECTURE="no"
32256 elif test $pkg_failed = untried; then
32258 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
32259 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
32260 wxUSE_PRINTING_ARCHITECTURE="no"
32264 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
32265 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
32266 { echo "$as_me:$LINENO: result: yes" >&5
32267 echo "${ECHO_T}yes" >&6; }
32269 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
32270 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
32271 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
32276 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
32277 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
32279 if test -n "$PKG_CONFIG"; then
32280 if test -n "$PANGOXFT_CFLAGS"; then
32281 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
32283 if test -n "$PKG_CONFIG" && \
32284 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
32285 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
32287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32288 (exit $ac_status); }; then
32289 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev
/null
`
32297 if test -n "$PKG_CONFIG"; then
32298 if test -n "$PANGOXFT_LIBS"; then
32299 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
32301 if test -n "$PKG_CONFIG" && \
32302 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
32303 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
32305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32306 (exit $ac_status); }; then
32307 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev
/null
`
32318 if test $pkg_failed = yes; then
32320 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32321 _pkg_short_errors_supported=yes
32323 _pkg_short_errors_supported=no
32325 if test $_pkg_short_errors_supported = yes; then
32326 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
32328 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
32330 # Put the nasty error message in config.log where it belongs
32331 echo "$PANGOXFT_PKG_ERRORS" >&5
32334 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
32335 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
32338 elif test $pkg_failed = untried; then
32340 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
32341 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
32345 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
32346 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
32347 { echo "$as_me:$LINENO: result: yes" >&5
32348 echo "${ECHO_T}yes" >&6; }
32350 cat >>confdefs.h <<\_ACEOF
32351 #define HAVE_PANGO_XFT 1
32354 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
32355 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
32356 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
32360 LIBS="$LIBS $PANGOX_LIBS"
32362 for ac_func in pango_font_family_is_monospace
32364 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32365 { echo "$as_me:$LINENO: checking for $ac_func" >&5
32366 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
32367 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
32368 echo $ECHO_N "(cached) $ECHO_C" >&6
32370 cat >conftest.$ac_ext <<_ACEOF
32373 cat confdefs.h >>conftest.$ac_ext
32374 cat >>conftest.$ac_ext <<_ACEOF
32375 /* end confdefs.h. */
32376 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32377 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32378 #define $ac_func innocuous_$ac_func
32380 /* System header to define __stub macros and hopefully few prototypes,
32381 which can conflict with char $ac_func (); below.
32382 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32383 <limits.h> exists even on freestanding compilers. */
32386 # include <limits.h>
32388 # include <assert.h>
32393 /* Override any GCC internal prototype to avoid an error.
32394 Use char because int might match the return type of a GCC
32395 builtin and then its argument prototype would still apply. */
32400 /* The GNU C library defines this for functions which it implements
32401 to always fail with ENOSYS. Some functions are actually named
32402 something starting with __ and the normal name is an alias. */
32403 #if defined __stub_$ac_func || defined __stub___$ac_func
32410 return $ac_func ();
32415 rm -f conftest.$ac_objext conftest$ac_exeext
32416 if { (ac_try="$ac_link"
32417 case "(($ac_try" in
32418 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32419 *) ac_try_echo
=$ac_try;;
32421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32422 (eval "$ac_link") 2>conftest.er1
32424 grep -v '^ *+' conftest.er1
>conftest.err
32426 cat conftest.err
>&5
32427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32428 (exit $ac_status); } && {
32429 test -z "$ac_c_werror_flag" ||
32430 test ! -s conftest.err
32431 } && test -s conftest
$ac_exeext &&
32432 $as_test_x conftest
$ac_exeext; then
32433 eval "$as_ac_var=yes"
32435 echo "$as_me: failed program was:" >&5
32436 sed 's/^/| /' conftest.
$ac_ext >&5
32438 eval "$as_ac_var=no"
32441 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32442 conftest
$ac_exeext conftest.
$ac_ext
32444 ac_res
=`eval echo '${'$as_ac_var'}'`
32445 { echo "$as_me:$LINENO: result: $ac_res" >&5
32446 echo "${ECHO_T}$ac_res" >&6; }
32447 if test `eval echo '${'$as_ac_var'}'` = yes; then
32448 cat >>confdefs.h
<<_ACEOF
32449 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32458 wxUSE_UNIVERSAL
="yes"
32460 if test "$wxUSE_NANOX" = "yes"; then
32461 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
32462 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"
32463 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
32465 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
32472 if test "$wxUSE_MOTIF" = 1; then
32473 if test "$wxUSE_UNICODE" = "yes"; then
32474 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
32475 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
32476 { (exit 1); exit 1; }; }
32479 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
32480 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
32483 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
32485 if test -f "$ac_dir/Xm/Xm.h"; then
32486 ac_find_includes
=$ac_dir
32491 if test "$ac_find_includes" != "" ; then
32492 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32493 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32495 if test "x$ac_find_includes" = "x/usr/include"; then
32496 ac_path_to_include
=""
32498 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
32500 if test $result = 0; then
32501 ac_path_to_include
=""
32503 ac_path_to_include
=" -I$ac_find_includes"
32507 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
32509 save_CFLAGS
=$CFLAGS
32510 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
32512 cat >conftest.
$ac_ext <<_ACEOF
32515 cat confdefs.h
>>conftest.
$ac_ext
32516 cat >>conftest.
$ac_ext <<_ACEOF
32517 /* end confdefs.h. */
32526 version = xmUseVersion;
32532 rm -f conftest.
$ac_objext
32533 if { (ac_try
="$ac_compile"
32534 case "(($ac_try" in
32535 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32536 *) ac_try_echo=$ac_try;;
32538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32539 (eval "$ac_compile") 2>conftest.er1
32541 grep -v '^ *+' conftest.er1 >conftest.err
32543 cat conftest.err >&5
32544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32545 (exit $ac_status); } && {
32546 test -z "$ac_c_werror_flag" ||
32547 test ! -s conftest.err
32548 } && test -s conftest.$ac_objext; then
32550 { echo "$as_me:$LINENO: result: found in default search path" >&5
32551 echo "${ECHO_T}found in default search path" >&6; }
32552 COMPILED_X_PROGRAM=1
32555 echo "$as_me: failed program was:" >&5
32556 sed 's/^/| /' conftest.$ac_ext >&5
32559 { echo "$as_me:$LINENO: result: no" >&5
32560 echo "${ECHO_T}no" >&6; }
32561 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
32562 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
32563 { (exit 1); exit 1; }; }
32568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32570 CFLAGS=$save_CFLAGS
32574 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
32575 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
32578 for ac_dir in $SEARCH_LIB;
32580 for ac_extension in a so sl dylib dll.a; do
32581 if test -f "$ac_dir/libXm.$ac_extension"; then
32582 ac_find_libraries=$ac_dir
32589 if test "x$ac_find_libraries" != "x" ; then
32590 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32591 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32594 if test "$ac_find_libraries" = "default location"; then
32597 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32599 if test $result = 0; then
32602 ac_path_to_link=" -L$ac_find_libraries"
32606 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32608 save_CFLAGS=$CFLAGS
32609 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32611 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
32613 cat >conftest.$ac_ext <<_ACEOF
32616 cat confdefs.h >>conftest.$ac_ext
32617 cat >>conftest.$ac_ext <<_ACEOF
32618 /* end confdefs.h. */
32627 version = xmUseVersion;
32633 rm -f conftest.$ac_objext conftest$ac_exeext
32634 if { (ac_try="$ac_link"
32635 case "(($ac_try" in
32636 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32637 *) ac_try_echo
=$ac_try;;
32639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32640 (eval "$ac_link") 2>conftest.er1
32642 grep -v '^ *+' conftest.er1
>conftest.err
32644 cat conftest.err
>&5
32645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32646 (exit $ac_status); } && {
32647 test -z "$ac_c_werror_flag" ||
32648 test ! -s conftest.err
32649 } && test -s conftest
$ac_exeext &&
32650 $as_test_x conftest
$ac_exeext; then
32652 { echo "$as_me:$LINENO: result: found in default search path" >&5
32653 echo "${ECHO_T}found in default search path" >&6; }
32654 COMPILED_X_PROGRAM
=1
32657 echo "$as_me: failed program was:" >&5
32658 sed 's/^/| /' conftest.
$ac_ext >&5
32661 { echo "$as_me:$LINENO: result: no" >&5
32662 echo "${ECHO_T}no" >&6; }
32663 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
32664 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
32665 { (exit 1); exit 1; }; }
32670 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32671 conftest
$ac_exeext conftest.
$ac_ext
32673 CFLAGS
=$save_CFLAGS
32677 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
32678 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
32682 for libp
in "" " -lXp"; do
32683 if test "$libs_found" = "0"; then
32684 for libsm_ice
in "" " -lSM -lICE"; do
32685 if test "$libs_found" = "0"; then
32687 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
32688 save_CFLAGS
=$CFLAGS
32689 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
32691 cat >conftest.
$ac_ext <<_ACEOF
32694 cat confdefs.h
>>conftest.
$ac_ext
32695 cat >>conftest.
$ac_ext <<_ACEOF
32696 /* end confdefs.h. */
32699 #include <Xm/List.h>
32705 XmString string = NULL;
32708 XmListAddItem(w, string, position);
32714 rm -f conftest.
$ac_objext conftest
$ac_exeext
32715 if { (ac_try
="$ac_link"
32716 case "(($ac_try" in
32717 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32718 *) ac_try_echo=$ac_try;;
32720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32721 (eval "$ac_link") 2>conftest.er1
32723 grep -v '^ *+' conftest.er1 >conftest.err
32725 cat conftest.err >&5
32726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32727 (exit $ac_status); } && {
32728 test -z "$ac_c_werror_flag" ||
32729 test ! -s conftest.err
32730 } && test -s conftest$ac_exeext &&
32731 $as_test_x conftest$ac_exeext; then
32734 libsm_ice_link="$libsm_ice"
32735 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
32736 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
32740 echo "$as_me: failed program was:" >&5
32741 sed 's/^/| /' conftest.$ac_ext >&5
32747 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32748 conftest$ac_exeext conftest.$ac_ext
32751 CFLAGS=$save_CFLAGS
32757 if test "$libs_found" = "0"; then
32758 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
32759 echo "${ECHO_T}can't find the right libraries" >&6; }
32760 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
32761 echo "$as_me: error: can't link a simple motif program" >&2;}
32762 { (exit 1); exit 1; }; }
32765 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
32766 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
32767 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
32768 echo $ECHO_N "(cached) $ECHO_C" >&6
32770 ac_check_lib_save_LIBS=$LIBS
32772 cat >conftest.$ac_ext <<_ACEOF
32775 cat confdefs.h >>conftest.$ac_ext
32776 cat >>conftest.$ac_ext <<_ACEOF
32777 /* end confdefs.h. */
32779 /* Override any GCC internal prototype to avoid an error.
32780 Use char because int might match the return type of a GCC
32781 builtin and then its argument prototype would still apply. */
32785 char SgCreateList ();
32789 return SgCreateList ();
32794 rm -f conftest.$ac_objext conftest$ac_exeext
32795 if { (ac_try="$ac_link"
32796 case "(($ac_try" in
32797 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32798 *) ac_try_echo
=$ac_try;;
32800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32801 (eval "$ac_link") 2>conftest.er1
32803 grep -v '^ *+' conftest.er1
>conftest.err
32805 cat conftest.err
>&5
32806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32807 (exit $ac_status); } && {
32808 test -z "$ac_c_werror_flag" ||
32809 test ! -s conftest.err
32810 } && test -s conftest
$ac_exeext &&
32811 $as_test_x conftest
$ac_exeext; then
32812 ac_cv_lib_Sgm_SgCreateList
=yes
32814 echo "$as_me: failed program was:" >&5
32815 sed 's/^/| /' conftest.
$ac_ext >&5
32817 ac_cv_lib_Sgm_SgCreateList
=no
32820 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32821 conftest
$ac_exeext conftest.
$ac_ext
32822 LIBS
=$ac_check_lib_save_LIBS
32824 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32825 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
32826 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
32827 libsgm_link
=" -lSgm"
32831 save_CFLAGS
=$CFLAGS
32832 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
32834 { echo "$as_me:$LINENO: checking for Motif 2" >&5
32835 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
32836 if test "${wx_cv_lib_motif2+set}" = set; then
32837 echo $ECHO_N "(cached) $ECHO_C" >&6
32839 cat >conftest.
$ac_ext <<_ACEOF
32842 cat confdefs.h
>>conftest.
$ac_ext
32843 cat >>conftest.
$ac_ext <<_ACEOF
32844 /* end confdefs.h. */
32852 #if XmVersion < 2000
32860 rm -f conftest.
$ac_objext
32861 if { (ac_try
="$ac_compile"
32862 case "(($ac_try" in
32863 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32864 *) ac_try_echo=$ac_try;;
32866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32867 (eval "$ac_compile") 2>conftest.er1
32869 grep -v '^ *+' conftest.er1 >conftest.err
32871 cat conftest.err >&5
32872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32873 (exit $ac_status); } && {
32874 test -z "$ac_c_werror_flag" ||
32875 test ! -s conftest.err
32876 } && test -s conftest.$ac_objext; then
32877 wx_cv_lib_motif2="yes"
32879 echo "$as_me: failed program was:" >&5
32880 sed 's/^/| /' conftest.$ac_ext >&5
32882 wx_cv_lib_motif2="no"
32885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32887 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32888 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
32889 if test "$wx_cv_lib_motif2" = "yes"; then
32890 cat >>confdefs.h <<\_ACEOF
32891 #define __WXMOTIF20__ 1
32895 cat >>confdefs.h <<\_ACEOF
32896 #define __WXMOTIF20__ 0
32901 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32902 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
32903 if test "${wx_cv_lib_lesstif+set}" = set; then
32904 echo $ECHO_N "(cached) $ECHO_C" >&6
32906 cat >conftest.$ac_ext <<_ACEOF
32909 cat confdefs.h >>conftest.$ac_ext
32910 cat >>conftest.$ac_ext <<_ACEOF
32911 /* end confdefs.h. */
32919 #if !defined(LesstifVersion) || LesstifVersion <= 0
32927 rm -f conftest.$ac_objext
32928 if { (ac_try="$ac_compile"
32929 case "(($ac_try" in
32930 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32931 *) ac_try_echo
=$ac_try;;
32933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32934 (eval "$ac_compile") 2>conftest.er1
32936 grep -v '^ *+' conftest.er1
>conftest.err
32938 cat conftest.err
>&5
32939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32940 (exit $ac_status); } && {
32941 test -z "$ac_c_werror_flag" ||
32942 test ! -s conftest.err
32943 } && test -s conftest.
$ac_objext; then
32944 wx_cv_lib_lesstif
="yes"
32946 echo "$as_me: failed program was:" >&5
32947 sed 's/^/| /' conftest.
$ac_ext >&5
32949 wx_cv_lib_lesstif
="no"
32952 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32955 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32956 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
32957 if test "$wx_cv_lib_lesstif" = "yes"; then
32958 cat >>confdefs.h
<<\_ACEOF
32959 #define __WXLESSTIF__ 1
32963 cat >>confdefs.h
<<\_ACEOF
32964 #define __WXLESSTIF__ 0
32969 CFLAGS
=$save_CFLAGS
32971 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32976 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32977 if test "$wxUSE_LIBXPM" = "sys"; then
32978 { echo "$as_me:$LINENO: checking for Xpm library" >&5
32979 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
32982 for ac_dir
in $SEARCH_LIB;
32984 for ac_extension
in a so sl dylib dll.a
; do
32985 if test -f "$ac_dir/libXpm.$ac_extension"; then
32986 ac_find_libraries
=$ac_dir
32992 if test "$ac_find_libraries" != "" ; then
32994 if test "$ac_find_libraries" = "default location"; then
32997 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
32999 if test $result = 0; then
33002 ac_path_to_link
=" -L$ac_find_libraries"
33006 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
33007 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33008 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33010 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
33011 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
33012 if test "${wx_cv_x11_xpm_h+set}" = set; then
33013 echo $ECHO_N "(cached) $ECHO_C" >&6
33016 save_CFLAGS
=$CFLAGS
33017 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
33019 cat >conftest.
$ac_ext <<_ACEOF
33022 cat confdefs.h
>>conftest.
$ac_ext
33023 cat >>conftest.
$ac_ext <<_ACEOF
33024 /* end confdefs.h. */
33026 #include <X11/xpm.h>
33033 version = XpmLibraryVersion();
33039 rm -f conftest.
$ac_objext
33040 if { (ac_try
="$ac_compile"
33041 case "(($ac_try" in
33042 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33043 *) ac_try_echo=$ac_try;;
33045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33046 (eval "$ac_compile") 2>conftest.er1
33048 grep -v '^ *+' conftest.er1 >conftest.err
33050 cat conftest.err >&5
33051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33052 (exit $ac_status); } && {
33053 test -z "$ac_c_werror_flag" ||
33054 test ! -s conftest.err
33055 } && test -s conftest.$ac_objext; then
33056 wx_cv_x11_xpm_h=yes
33058 echo "$as_me: failed program was:" >&5
33059 sed 's/^/| /' conftest.$ac_ext >&5
33065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33067 CFLAGS=$save_CFLAGS
33071 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
33072 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
33074 if test $wx_cv_x11_xpm_h = "yes"; then
33075 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
33076 cat >>confdefs.h <<\_ACEOF
33077 #define wxHAVE_LIB_XPM 1
33081 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
33082 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
33088 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
33089 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
33090 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
33091 echo $ECHO_N "(cached) $ECHO_C" >&6
33093 ac_check_lib_save_LIBS=$LIBS
33094 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
33095 cat >conftest.$ac_ext <<_ACEOF
33098 cat confdefs.h >>conftest.$ac_ext
33099 cat >>conftest.$ac_ext <<_ACEOF
33100 /* end confdefs.h. */
33102 /* Override any GCC internal prototype to avoid an error.
33103 Use char because int might match the return type of a GCC
33104 builtin and then its argument prototype would still apply. */
33108 char XShapeQueryExtension ();
33112 return XShapeQueryExtension ();
33117 rm -f conftest.$ac_objext conftest$ac_exeext
33118 if { (ac_try="$ac_link"
33119 case "(($ac_try" in
33120 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33121 *) ac_try_echo
=$ac_try;;
33123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33124 (eval "$ac_link") 2>conftest.er1
33126 grep -v '^ *+' conftest.er1
>conftest.err
33128 cat conftest.err
>&5
33129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33130 (exit $ac_status); } && {
33131 test -z "$ac_c_werror_flag" ||
33132 test ! -s conftest.err
33133 } && test -s conftest
$ac_exeext &&
33134 $as_test_x conftest
$ac_exeext; then
33135 ac_cv_lib_Xext_XShapeQueryExtension
=yes
33137 echo "$as_me: failed program was:" >&5
33138 sed 's/^/| /' conftest.
$ac_ext >&5
33140 ac_cv_lib_Xext_XShapeQueryExtension
=no
33143 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33144 conftest
$ac_exeext conftest.
$ac_ext
33145 LIBS
=$ac_check_lib_save_LIBS
33147 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
33148 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
33149 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
33151 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
33157 if test "$wxHAVE_XEXT_LIB" = 1; then
33158 save_CFLAGS
="$CFLAGS"
33159 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
33161 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
33162 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
33163 cat >conftest.
$ac_ext <<_ACEOF
33166 cat confdefs.h
>>conftest.
$ac_ext
33167 cat >>conftest.
$ac_ext <<_ACEOF
33168 /* end confdefs.h. */
33170 #include <X11/Xlib.h>
33171 #include <X11/extensions/shape.h>
33177 int dummy1, dummy2;
33178 XShapeQueryExtension((Display*)NULL,
33179 (int*)NULL, (int*)NULL);
33185 rm -f conftest.
$ac_objext
33186 if { (ac_try
="$ac_compile"
33187 case "(($ac_try" in
33188 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33189 *) ac_try_echo=$ac_try;;
33191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33192 (eval "$ac_compile") 2>conftest.er1
33194 grep -v '^ *+' conftest.er1 >conftest.err
33196 cat conftest.err >&5
33197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33198 (exit $ac_status); } && {
33199 test -z "$ac_c_werror_flag" ||
33200 test ! -s conftest.err
33201 } && test -s conftest.$ac_objext; then
33203 cat >>confdefs.h <<\_ACEOF
33204 #define HAVE_XSHAPE 1
33207 { echo "$as_me:$LINENO: result: found" >&5
33208 echo "${ECHO_T}found" >&6; }
33211 echo "$as_me: failed program was:" >&5
33212 sed 's/^/| /' conftest.$ac_ext >&5
33215 { echo "$as_me:$LINENO: result: not found" >&5
33216 echo "${ECHO_T}not found" >&6; }
33220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33221 CFLAGS="$save_CFLAGS"
33226 if test "$wxUSE_MAC" = 1; then
33227 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
33228 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
33229 if test "$GCC" = yes; then
33230 { echo "$as_me:$LINENO: result: gcc" >&5
33231 echo "${ECHO_T}gcc" >&6; }
33232 CPPFLAGS_PASCAL="-fpascal-strings"
33233 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
33234 { echo "$as_me:$LINENO: result: xlc" >&5
33235 echo "${ECHO_T}xlc" >&6; }
33236 CPPFLAGS_PASCAL="-qmacpstr"
33238 { echo "$as_me:$LINENO: result: none" >&5
33239 echo "${ECHO_T}none" >&6; }
33242 if test "x$wxUSE_UNIX" = "xyes"; then
33243 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
33245 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
33250 WXBASEPORT="_carbon"
33253 if test "$wxUSE_COCOA" = 1; then
33258 if test "$wxUSE_PM" = 1; then
33261 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
33262 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
33263 if test "${wx_cv_spbcdata+set}" = set; then
33264 echo $ECHO_N "(cached) $ECHO_C" >&6
33267 cat >conftest.$ac_ext <<_ACEOF
33270 cat confdefs.h >>conftest.$ac_ext
33271 cat >>conftest.$ac_ext <<_ACEOF
33272 /* end confdefs.h. */
33287 rm -f conftest.$ac_objext
33288 if { (ac_try="$ac_compile"
33289 case "(($ac_try" in
33290 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33291 *) ac_try_echo
=$ac_try;;
33293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33294 (eval "$ac_compile") 2>conftest.er1
33296 grep -v '^ *+' conftest.er1
>conftest.err
33298 cat conftest.err
>&5
33299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33300 (exit $ac_status); } && {
33301 test -z "$ac_c_werror_flag" ||
33302 test ! -s conftest.err
33303 } && test -s conftest.
$ac_objext; then
33306 echo "$as_me: failed program was:" >&5
33307 sed 's/^/| /' conftest.
$ac_ext >&5
33313 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33317 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
33318 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
33320 if test $wx_cv_spbcdata = "yes"; then
33321 cat >>confdefs.h
<<\_ACEOF
33322 #define HAVE_SPBCDATA 1
33328 if test "$TOOLKIT" = "PM" ; then
33331 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
33334 if test "$wxUSE_UNIVERSAL" = "yes"; then
33335 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
33339 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
33340 DISTDIR
="wx\$(TOOLKIT)"
33346 if test "$USE_WIN32" = 1 ; then
33350 GUIDIST
="BASE_DIST"
33355 if test "$wxUSE_GUI" = "yes"; then
33356 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
33358 for ac_header
in X
11/Xlib.h
33360 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33361 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33362 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33363 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33364 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33365 echo $ECHO_N "(cached) $ECHO_C" >&6
33367 ac_res
=`eval echo '${'$as_ac_Header'}'`
33368 { echo "$as_me:$LINENO: result: $ac_res" >&5
33369 echo "${ECHO_T}$ac_res" >&6; }
33371 # Is the header compilable?
33372 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
33373 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
33374 cat >conftest.
$ac_ext <<_ACEOF
33377 cat confdefs.h
>>conftest.
$ac_ext
33378 cat >>conftest.
$ac_ext <<_ACEOF
33379 /* end confdefs.h. */
33380 $ac_includes_default
33381 #include <$ac_header>
33383 rm -f conftest.
$ac_objext
33384 if { (ac_try
="$ac_compile"
33385 case "(($ac_try" in
33386 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33387 *) ac_try_echo=$ac_try;;
33389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33390 (eval "$ac_compile") 2>conftest.er1
33392 grep -v '^ *+' conftest.er1 >conftest.err
33394 cat conftest.err >&5
33395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33396 (exit $ac_status); } && {
33397 test -z "$ac_c_werror_flag" ||
33398 test ! -s conftest.err
33399 } && test -s conftest.$ac_objext; then
33400 ac_header_compiler=yes
33402 echo "$as_me: failed program was:" >&5
33403 sed 's/^/| /' conftest.$ac_ext >&5
33405 ac_header_compiler=no
33408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33409 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33410 echo "${ECHO_T}$ac_header_compiler" >&6; }
33412 # Is the header present?
33413 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
33414 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
33415 cat >conftest.$ac_ext <<_ACEOF
33418 cat confdefs.h >>conftest.$ac_ext
33419 cat >>conftest.$ac_ext <<_ACEOF
33420 /* end confdefs.h. */
33421 #include <$ac_header>
33423 if { (ac_try="$ac_cpp conftest.$ac_ext"
33424 case "(($ac_try" in
33425 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33426 *) ac_try_echo
=$ac_try;;
33428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33429 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
33431 grep -v '^ *+' conftest.er1
>conftest.err
33433 cat conftest.err
>&5
33434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33435 (exit $ac_status); } >/dev
/null
&& {
33436 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
33437 test ! -s conftest.err
33439 ac_header_preproc
=yes
33441 echo "$as_me: failed program was:" >&5
33442 sed 's/^/| /' conftest.
$ac_ext >&5
33444 ac_header_preproc
=no
33447 rm -f conftest.err conftest.
$ac_ext
33448 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33449 echo "${ECHO_T}$ac_header_preproc" >&6; }
33451 # So? What about this header?
33452 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33454 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
33455 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
33456 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
33457 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
33458 ac_header_preproc
=yes
33461 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
33462 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
33463 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
33464 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
33465 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
33466 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
33467 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
33468 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
33469 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33470 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33471 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
33472 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
33474 ## ----------------------------------------- ##
33475 ## Report this to wx-dev@lists.wxwidgets.org ##
33476 ## ----------------------------------------- ##
33478 ) | sed "s/^/$as_me: WARNING: /" >&2
33481 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33482 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33483 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33484 echo $ECHO_N "(cached) $ECHO_C" >&6
33486 eval "$as_ac_Header=\$ac_header_preproc"
33488 ac_res
=`eval echo '${'$as_ac_Header'}'`
33489 { echo "$as_me:$LINENO: result: $ac_res" >&5
33490 echo "${ECHO_T}$ac_res" >&6; }
33493 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33494 cat >>confdefs.h
<<_ACEOF
33495 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33503 for ac_header
in X
11/XKBlib.h
33505 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33506 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33507 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33508 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33509 echo $ECHO_N "(cached) $ECHO_C" >&6
33511 cat >conftest.
$ac_ext <<_ACEOF
33514 cat confdefs.h
>>conftest.
$ac_ext
33515 cat >>conftest.
$ac_ext <<_ACEOF
33516 /* end confdefs.h. */
33518 #if HAVE_X11_XLIB_H
33519 #include <X11/Xlib.h>
33523 #include <$ac_header>
33525 rm -f conftest.
$ac_objext
33526 if { (ac_try
="$ac_compile"
33527 case "(($ac_try" in
33528 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33529 *) ac_try_echo=$ac_try;;
33531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33532 (eval "$ac_compile") 2>conftest.er1
33534 grep -v '^ *+' conftest.er1 >conftest.err
33536 cat conftest.err >&5
33537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33538 (exit $ac_status); } && {
33539 test -z "$ac_c_werror_flag" ||
33540 test ! -s conftest.err
33541 } && test -s conftest.$ac_objext; then
33542 eval "$as_ac_Header=yes"
33544 echo "$as_me: failed program was:" >&5
33545 sed 's/^/| /' conftest.$ac_ext >&5
33547 eval "$as_ac_Header=no"
33550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33552 ac_res=`eval echo '${'$as_ac_Header'}'`
33553 { echo "$as_me:$LINENO: result: $ac_res" >&5
33554 echo "${ECHO_T}$ac_res" >&6; }
33555 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33556 cat >>confdefs.h <<_ACEOF
33557 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33572 if test "$TOOLKIT" != "MSW" ; then
33574 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
33576 if test "${ac_cv_header_sql_h+set}" = set; then
33577 { echo "$as_me:$LINENO: checking for sql.h" >&5
33578 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
33579 if test "${ac_cv_header_sql_h+set}" = set; then
33580 echo $ECHO_N "(cached) $ECHO_C" >&6
33582 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
33583 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
33585 # Is the header compilable?
33586 { echo "$as_me:$LINENO: checking sql.h usability" >&5
33587 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6; }
33588 cat >conftest.$ac_ext <<_ACEOF
33591 cat confdefs.h >>conftest.$ac_ext
33592 cat >>conftest.$ac_ext <<_ACEOF
33593 /* end confdefs.h. */
33594 $ac_includes_default
33597 rm -f conftest.$ac_objext
33598 if { (ac_try="$ac_compile"
33599 case "(($ac_try" in
33600 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33601 *) ac_try_echo
=$ac_try;;
33603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33604 (eval "$ac_compile") 2>conftest.er1
33606 grep -v '^ *+' conftest.er1
>conftest.err
33608 cat conftest.err
>&5
33609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33610 (exit $ac_status); } && {
33611 test -z "$ac_c_werror_flag" ||
33612 test ! -s conftest.err
33613 } && test -s conftest.
$ac_objext; then
33614 ac_header_compiler
=yes
33616 echo "$as_me: failed program was:" >&5
33617 sed 's/^/| /' conftest.
$ac_ext >&5
33619 ac_header_compiler
=no
33622 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33623 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33624 echo "${ECHO_T}$ac_header_compiler" >&6; }
33626 # Is the header present?
33627 { echo "$as_me:$LINENO: checking sql.h presence" >&5
33628 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6; }
33629 cat >conftest.
$ac_ext <<_ACEOF
33632 cat confdefs.h
>>conftest.
$ac_ext
33633 cat >>conftest.
$ac_ext <<_ACEOF
33634 /* end confdefs.h. */
33637 if { (ac_try
="$ac_cpp conftest.$ac_ext"
33638 case "(($ac_try" in
33639 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33640 *) ac_try_echo=$ac_try;;
33642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33643 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
33645 grep -v '^ *+' conftest.er1 >conftest.err
33647 cat conftest.err >&5
33648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33649 (exit $ac_status); } >/dev/null && {
33650 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
33651 test ! -s conftest.err
33653 ac_header_preproc=yes
33655 echo "$as_me: failed program was:" >&5
33656 sed 's/^/| /' conftest.$ac_ext >&5
33658 ac_header_preproc=no
33661 rm -f conftest.err conftest.$ac_ext
33662 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33663 echo "${ECHO_T}$ac_header_preproc" >&6; }
33665 # So? What about this header?
33666 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33668 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
33669 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
33670 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
33671 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
33672 ac_header_preproc=yes
33675 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
33676 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
33677 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
33678 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
33679 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
33680 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
33681 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
33682 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
33683 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
33684 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
33685 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
33686 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
33688 ## ----------------------------------------- ##
33689 ## Report this to wx-dev@lists.wxwidgets.org ##
33690 ## ----------------------------------------- ##
33692 ) | sed "s/^/$as_me: WARNING: /" >&2
33695 { echo "$as_me:$LINENO: checking for sql.h" >&5
33696 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
33697 if test "${ac_cv_header_sql_h+set}" = set; then
33698 echo $ECHO_N "(cached) $ECHO_C" >&6
33700 ac_cv_header_sql_h=$ac_header_preproc
33702 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
33703 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
33706 if test $ac_cv_header_sql_h = yes; then
33711 if test "x$found_sql_h" = "x1" ; then
33712 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
33713 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6; }
33714 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
33715 echo $ECHO_N "(cached) $ECHO_C" >&6
33717 ac_check_lib_save_LIBS=$LIBS
33718 LIBS="-liodbc $LIBS"
33719 cat >conftest.$ac_ext <<_ACEOF
33722 cat confdefs.h >>conftest.$ac_ext
33723 cat >>conftest.$ac_ext <<_ACEOF
33724 /* end confdefs.h. */
33726 /* Override any GCC internal prototype to avoid an error.
33727 Use char because int might match the return type of a GCC
33728 builtin and then its argument prototype would still apply. */
33732 char SQLAllocEnv ();
33736 return SQLAllocEnv ();
33741 rm -f conftest.$ac_objext conftest$ac_exeext
33742 if { (ac_try="$ac_link"
33743 case "(($ac_try" in
33744 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33745 *) ac_try_echo
=$ac_try;;
33747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33748 (eval "$ac_link") 2>conftest.er1
33750 grep -v '^ *+' conftest.er1
>conftest.err
33752 cat conftest.err
>&5
33753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33754 (exit $ac_status); } && {
33755 test -z "$ac_c_werror_flag" ||
33756 test ! -s conftest.err
33757 } && test -s conftest
$ac_exeext &&
33758 $as_test_x conftest
$ac_exeext; then
33759 ac_cv_lib_iodbc_SQLAllocEnv
=yes
33761 echo "$as_me: failed program was:" >&5
33762 sed 's/^/| /' conftest.
$ac_ext >&5
33764 ac_cv_lib_iodbc_SQLAllocEnv
=no
33767 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33768 conftest
$ac_exeext conftest.
$ac_ext
33769 LIBS
=$ac_check_lib_save_LIBS
33771 { echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
33772 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6; }
33773 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
33774 ODBC_LINK
=" -liodbc"
33777 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
33778 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6; }
33779 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
33780 echo $ECHO_N "(cached) $ECHO_C" >&6
33782 ac_check_lib_save_LIBS
=$LIBS
33783 LIBS
="-lunixodbc $LIBS"
33784 cat >conftest.
$ac_ext <<_ACEOF
33787 cat confdefs.h
>>conftest.
$ac_ext
33788 cat >>conftest.
$ac_ext <<_ACEOF
33789 /* end confdefs.h. */
33791 /* Override any GCC internal prototype to avoid an error.
33792 Use char because int might match the return type of a GCC
33793 builtin and then its argument prototype would still apply. */
33797 char SQLAllocEnv ();
33801 return SQLAllocEnv ();
33806 rm -f conftest.
$ac_objext conftest
$ac_exeext
33807 if { (ac_try
="$ac_link"
33808 case "(($ac_try" in
33809 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33810 *) ac_try_echo=$ac_try;;
33812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33813 (eval "$ac_link") 2>conftest.er1
33815 grep -v '^ *+' conftest.er1 >conftest.err
33817 cat conftest.err >&5
33818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33819 (exit $ac_status); } && {
33820 test -z "$ac_c_werror_flag" ||
33821 test ! -s conftest.err
33822 } && test -s conftest$ac_exeext &&
33823 $as_test_x conftest$ac_exeext; then
33824 ac_cv_lib_unixodbc_SQLAllocEnv=yes
33826 echo "$as_me: failed program was:" >&5
33827 sed 's/^/| /' conftest.$ac_ext >&5
33829 ac_cv_lib_unixodbc_SQLAllocEnv=no
33832 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33833 conftest$ac_exeext conftest.$ac_ext
33834 LIBS=$ac_check_lib_save_LIBS
33836 { echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
33837 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6; }
33838 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
33839 ODBC_LINK=" -lunixodbc"
33842 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
33843 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6; }
33844 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
33845 echo $ECHO_N "(cached) $ECHO_C" >&6
33847 ac_check_lib_save_LIBS=$LIBS
33848 LIBS="-lodbc $LIBS"
33849 cat >conftest.$ac_ext <<_ACEOF
33852 cat confdefs.h >>conftest.$ac_ext
33853 cat >>conftest.$ac_ext <<_ACEOF
33854 /* end confdefs.h. */
33856 /* Override any GCC internal prototype to avoid an error.
33857 Use char because int might match the return type of a GCC
33858 builtin and then its argument prototype would still apply. */
33862 char SQLAllocEnv ();
33866 return SQLAllocEnv ();
33871 rm -f conftest.$ac_objext conftest$ac_exeext
33872 if { (ac_try="$ac_link"
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_link") 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_exeext &&
33888 $as_test_x conftest
$ac_exeext; then
33889 ac_cv_lib_odbc_SQLAllocEnv
=yes
33891 echo "$as_me: failed program was:" >&5
33892 sed 's/^/| /' conftest.
$ac_ext >&5
33894 ac_cv_lib_odbc_SQLAllocEnv
=no
33897 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33898 conftest
$ac_exeext conftest.
$ac_ext
33899 LIBS
=$ac_check_lib_save_LIBS
33901 { echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
33902 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6; }
33903 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
33904 ODBC_LINK
=" -lodbc"
33914 if test "x$ODBC_LINK" = "x" ; then
33915 if test "$wxUSE_ODBC" = "sys" ; then
33916 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
33917 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
33918 { (exit 1); exit 1; }; }
33920 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
33921 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
33929 if test "$wxUSE_ODBC" = "builtin" ; then
33930 cat >>confdefs.h
<<\_ACEOF
33931 #define wxUSE_BUILTIN_IODBC 1
33937 if test "$wxUSE_ODBC" != "no" ; then
33938 cat >>confdefs.h
<<\_ACEOF
33939 #define wxUSE_ODBC 1
33942 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
33944 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_IODBC_"
33948 if test "$wxUSE_DISPLAY" = "yes"; then
33949 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33950 { echo "$as_me:$LINENO: checking for Xinerama" >&5
33951 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
33954 for ac_dir
in $SEARCH_LIB;
33956 for ac_extension
in a so sl dylib dll.a
; do
33957 if test -f "$ac_dir/libXinerama.$ac_extension"; then
33958 ac_find_libraries
=$ac_dir
33964 if test "$ac_find_libraries" != "" ; then
33966 if test "$ac_find_libraries" = "default location"; then
33969 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
33971 if test $result = 0; then
33974 ac_path_to_link
=" -L$ac_find_libraries"
33978 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33979 LDFLAGS
="$LDFLAGS $ac_path_to_link"
33981 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
33982 { echo "$as_me:$LINENO: result: yes" >&5
33983 echo "${ECHO_T}yes" >&6; }
33985 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
33986 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
33989 for ac_dir
in $SEARCH_LIB;
33991 for ac_extension
in a so sl dylib dll.a
; do
33992 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
33993 ac_find_libraries
=$ac_dir
33999 if test "$ac_find_libraries" != "" ; then
34000 { echo "$as_me:$LINENO: result: yes" >&5
34001 echo "${ECHO_T}yes" >&6; }
34003 for ac_header
in X
11/extensions
/xf86vmode.h
34005 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34006 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34007 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34008 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34009 echo $ECHO_N "(cached) $ECHO_C" >&6
34011 cat >conftest.
$ac_ext <<_ACEOF
34014 cat confdefs.h
>>conftest.
$ac_ext
34015 cat >>conftest.
$ac_ext <<_ACEOF
34016 /* end confdefs.h. */
34018 #if HAVE_X11_XLIB_H
34019 #include <X11/Xlib.h>
34023 #include <$ac_header>
34025 rm -f conftest.
$ac_objext
34026 if { (ac_try
="$ac_compile"
34027 case "(($ac_try" in
34028 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34029 *) ac_try_echo=$ac_try;;
34031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34032 (eval "$ac_compile") 2>conftest.er1
34034 grep -v '^ *+' conftest.er1 >conftest.err
34036 cat conftest.err >&5
34037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34038 (exit $ac_status); } && {
34039 test -z "$ac_c_werror_flag" ||
34040 test ! -s conftest.err
34041 } && test -s conftest.$ac_objext; then
34042 eval "$as_ac_Header=yes"
34044 echo "$as_me: failed program was:" >&5
34045 sed 's/^/| /' conftest.$ac_ext >&5
34047 eval "$as_ac_Header=no"
34050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34052 ac_res=`eval echo '${'$as_ac_Header'}'`
34053 { echo "$as_me:$LINENO: result: $ac_res" >&5
34054 echo "${ECHO_T}$ac_res" >&6; }
34055 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34056 cat >>confdefs.h <<_ACEOF
34057 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34060 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
34067 { echo "$as_me:$LINENO: result: no" >&5
34068 echo "${ECHO_T}no" >&6; }
34072 { echo "$as_me:$LINENO: result: no" >&5
34073 echo "${ECHO_T}no" >&6; }
34074 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
34075 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
34078 elif test "$wxUSE_MSW" = 1; then
34080 for ac_header in ddraw.h
34082 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34083 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34084 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34085 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34086 echo $ECHO_N "(cached) $ECHO_C" >&6
34088 cat >conftest.$ac_ext <<_ACEOF
34091 cat confdefs.h >>conftest.$ac_ext
34092 cat >>conftest.$ac_ext <<_ACEOF
34093 /* end confdefs.h. */
34094 #include <windows.h>
34096 #include <$ac_header>
34098 rm -f conftest.$ac_objext
34099 if { (ac_try="$ac_compile"
34100 case "(($ac_try" in
34101 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34102 *) ac_try_echo
=$ac_try;;
34104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34105 (eval "$ac_compile") 2>conftest.er1
34107 grep -v '^ *+' conftest.er1
>conftest.err
34109 cat conftest.err
>&5
34110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34111 (exit $ac_status); } && {
34112 test -z "$ac_c_werror_flag" ||
34113 test ! -s conftest.err
34114 } && test -s conftest.
$ac_objext; then
34115 eval "$as_ac_Header=yes"
34117 echo "$as_me: failed program was:" >&5
34118 sed 's/^/| /' conftest.
$ac_ext >&5
34120 eval "$as_ac_Header=no"
34123 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34125 ac_res
=`eval echo '${'$as_ac_Header'}'`
34126 { echo "$as_me:$LINENO: result: $ac_res" >&5
34127 echo "${ECHO_T}$ac_res" >&6; }
34128 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34129 cat >>confdefs.h
<<_ACEOF
34130 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34140 if test "$wxUSE_DETECT_SM" = "yes"; then
34141 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
34142 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
34143 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
34146 for ac_dir
in $SEARCH_LIB;
34148 for ac_extension
in a so sl dylib dll.a
; do
34149 if test -f "$ac_dir/libSM.$ac_extension"; then
34150 ac_find_libraries
=$ac_dir
34156 if test "$ac_find_libraries" != "" ; then
34158 if test "$ac_find_libraries" = "default location"; then
34161 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
34163 if test $result = 0; then
34166 ac_path_to_link
=" -L$ac_find_libraries"
34170 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34171 LDFLAGS
="$LDFLAGS $ac_path_to_link"
34173 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lSM"
34174 { echo "$as_me:$LINENO: result: yes" >&5
34175 echo "${ECHO_T}yes" >&6; }
34177 { echo "$as_me:$LINENO: result: no" >&5
34178 echo "${ECHO_T}no" >&6; }
34179 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
34180 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
34181 wxUSE_DETECT_SM
="no"
34184 wxUSE_DETECT_SM
="no"
34191 if test "$wxUSE_OPENGL" = "yes"; then
34192 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
34193 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
34194 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
34196 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
34197 OPENGL_LIBS
="-framework OpenGL -framework AGL"
34198 elif test "$wxUSE_MSW" = 1; then
34199 OPENGL_LIBS
="-lopengl32 -lglu32"
34201 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
34202 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
34205 for ac_dir
in $SEARCH_INCLUDE /opt
/graphics
/OpenGL
/include
/usr
/include
;
34207 if test -f "$ac_dir/GL/gl.h"; then
34208 ac_find_includes
=$ac_dir
34213 if test "$ac_find_includes" != "" ; then
34214 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
34215 echo "${ECHO_T}found in $ac_find_includes" >&6; }
34217 if test "x$ac_find_includes" = "x/usr/include"; then
34218 ac_path_to_include
=""
34220 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
34222 if test $result = 0; then
34223 ac_path_to_include
=""
34225 ac_path_to_include
=" -I$ac_find_includes"
34229 CPPFLAGS
="$ac_path_to_include $CPPFLAGS"
34231 { echo "$as_me:$LINENO: result: not found" >&5
34232 echo "${ECHO_T}not found" >&6; }
34235 if test "${ac_cv_header_GL_gl_h+set}" = set; then
34236 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
34237 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
34238 if test "${ac_cv_header_GL_gl_h+set}" = set; then
34239 echo $ECHO_N "(cached) $ECHO_C" >&6
34241 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
34242 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
34244 # Is the header compilable?
34245 { echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
34246 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6; }
34247 cat >conftest.
$ac_ext <<_ACEOF
34250 cat confdefs.h
>>conftest.
$ac_ext
34251 cat >>conftest.
$ac_ext <<_ACEOF
34252 /* end confdefs.h. */
34253 $ac_includes_default
34256 rm -f conftest.
$ac_objext
34257 if { (ac_try
="$ac_compile"
34258 case "(($ac_try" in
34259 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34260 *) ac_try_echo=$ac_try;;
34262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34263 (eval "$ac_compile") 2>conftest.er1
34265 grep -v '^ *+' conftest.er1 >conftest.err
34267 cat conftest.err >&5
34268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34269 (exit $ac_status); } && {
34270 test -z "$ac_c_werror_flag" ||
34271 test ! -s conftest.err
34272 } && test -s conftest.$ac_objext; then
34273 ac_header_compiler=yes
34275 echo "$as_me: failed program was:" >&5
34276 sed 's/^/| /' conftest.$ac_ext >&5
34278 ac_header_compiler=no
34281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34282 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34283 echo "${ECHO_T}$ac_header_compiler" >&6; }
34285 # Is the header present?
34286 { echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
34287 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6; }
34288 cat >conftest.$ac_ext <<_ACEOF
34291 cat confdefs.h >>conftest.$ac_ext
34292 cat >>conftest.$ac_ext <<_ACEOF
34293 /* end confdefs.h. */
34296 if { (ac_try="$ac_cpp conftest.$ac_ext"
34297 case "(($ac_try" in
34298 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34299 *) ac_try_echo
=$ac_try;;
34301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34302 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
34304 grep -v '^ *+' conftest.er1
>conftest.err
34306 cat conftest.err
>&5
34307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34308 (exit $ac_status); } >/dev
/null
&& {
34309 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
34310 test ! -s conftest.err
34312 ac_header_preproc
=yes
34314 echo "$as_me: failed program was:" >&5
34315 sed 's/^/| /' conftest.
$ac_ext >&5
34317 ac_header_preproc
=no
34320 rm -f conftest.err conftest.
$ac_ext
34321 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34322 echo "${ECHO_T}$ac_header_preproc" >&6; }
34324 # So? What about this header?
34325 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34327 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
34328 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
34329 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
34330 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
34331 ac_header_preproc
=yes
34334 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
34335 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
34336 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
34337 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
34338 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
34339 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
34340 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
34341 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
34342 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
34343 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
34344 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
34345 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
34347 ## ----------------------------------------- ##
34348 ## Report this to wx-dev@lists.wxwidgets.org ##
34349 ## ----------------------------------------- ##
34351 ) | sed "s/^/$as_me: WARNING: /" >&2
34354 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
34355 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
34356 if test "${ac_cv_header_GL_gl_h+set}" = set; then
34357 echo $ECHO_N "(cached) $ECHO_C" >&6
34359 ac_cv_header_GL_gl_h
=$ac_header_preproc
34361 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
34362 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
34365 if test $ac_cv_header_GL_gl_h = yes; then
34367 if test "${ac_cv_header_GL_glu_h+set}" = set; then
34368 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
34369 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
34370 if test "${ac_cv_header_GL_glu_h+set}" = set; then
34371 echo $ECHO_N "(cached) $ECHO_C" >&6
34373 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
34374 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
34376 # Is the header compilable?
34377 { echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
34378 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6; }
34379 cat >conftest.
$ac_ext <<_ACEOF
34382 cat confdefs.h
>>conftest.
$ac_ext
34383 cat >>conftest.
$ac_ext <<_ACEOF
34384 /* end confdefs.h. */
34385 $ac_includes_default
34386 #include <GL/glu.h>
34388 rm -f conftest.
$ac_objext
34389 if { (ac_try
="$ac_compile"
34390 case "(($ac_try" in
34391 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34392 *) ac_try_echo=$ac_try;;
34394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34395 (eval "$ac_compile") 2>conftest.er1
34397 grep -v '^ *+' conftest.er1 >conftest.err
34399 cat conftest.err >&5
34400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34401 (exit $ac_status); } && {
34402 test -z "$ac_c_werror_flag" ||
34403 test ! -s conftest.err
34404 } && test -s conftest.$ac_objext; then
34405 ac_header_compiler=yes
34407 echo "$as_me: failed program was:" >&5
34408 sed 's/^/| /' conftest.$ac_ext >&5
34410 ac_header_compiler=no
34413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34414 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34415 echo "${ECHO_T}$ac_header_compiler" >&6; }
34417 # Is the header present?
34418 { echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
34419 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6; }
34420 cat >conftest.$ac_ext <<_ACEOF
34423 cat confdefs.h >>conftest.$ac_ext
34424 cat >>conftest.$ac_ext <<_ACEOF
34425 /* end confdefs.h. */
34426 #include <GL/glu.h>
34428 if { (ac_try="$ac_cpp conftest.$ac_ext"
34429 case "(($ac_try" in
34430 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34431 *) ac_try_echo
=$ac_try;;
34433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34434 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
34436 grep -v '^ *+' conftest.er1
>conftest.err
34438 cat conftest.err
>&5
34439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34440 (exit $ac_status); } >/dev
/null
&& {
34441 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
34442 test ! -s conftest.err
34444 ac_header_preproc
=yes
34446 echo "$as_me: failed program was:" >&5
34447 sed 's/^/| /' conftest.
$ac_ext >&5
34449 ac_header_preproc
=no
34452 rm -f conftest.err conftest.
$ac_ext
34453 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34454 echo "${ECHO_T}$ac_header_preproc" >&6; }
34456 # So? What about this header?
34457 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34459 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
34460 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
34461 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
34462 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
34463 ac_header_preproc
=yes
34466 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
34467 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
34468 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
34469 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
34470 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
34471 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
34472 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
34473 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
34474 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
34475 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
34476 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
34477 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
34479 ## ----------------------------------------- ##
34480 ## Report this to wx-dev@lists.wxwidgets.org ##
34481 ## ----------------------------------------- ##
34483 ) | sed "s/^/$as_me: WARNING: /" >&2
34486 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
34487 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
34488 if test "${ac_cv_header_GL_glu_h+set}" = set; then
34489 echo $ECHO_N "(cached) $ECHO_C" >&6
34491 ac_cv_header_GL_glu_h
=$ac_header_preproc
34493 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
34494 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
34497 if test $ac_cv_header_GL_glu_h = yes; then
34501 { echo "$as_me:$LINENO: checking for -lGL" >&5
34502 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
34505 for ac_dir
in $SEARCH_LIB /opt
/graphics
/OpenGL
/lib
;
34507 for ac_extension
in a so sl dylib dll.a
; do
34508 if test -f "$ac_dir/libGL.$ac_extension"; then
34509 ac_find_libraries
=$ac_dir
34515 if test "$ac_find_libraries" != "" ; then
34516 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34517 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34520 if test "$ac_find_libraries" = "default location"; then
34523 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
34525 if test $result = 0; then
34528 ac_path_to_link
=" -L$ac_find_libraries"
34532 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34533 LDFLAGS_GL
="$ac_path_to_link"
34536 { echo "$as_me:$LINENO: checking for -lGLU" >&5
34537 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
34540 for ac_dir
in $SEARCH_LIB;
34542 for ac_extension
in a so sl dylib dll.a
; do
34543 if test -f "$ac_dir/libGLU.$ac_extension"; then
34544 ac_find_libraries
=$ac_dir
34550 if test "$ac_find_libraries" != "" ; then
34552 if test "$ac_find_libraries" = "default location"; then
34555 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
34557 if test $result = 0; then
34560 ac_path_to_link
=" -L$ac_find_libraries"
34564 if test "$ac_path_to_link" != " -L/usr/lib" -a \
34565 "$ac_path_to_link" != "$LDFLAGS_GL"; then
34566 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
34570 OPENGL_LIBS
="-lGL -lGLU"
34571 { echo "$as_me:$LINENO: result: yes" >&5
34572 echo "${ECHO_T}yes" >&6; }
34574 { echo "$as_me:$LINENO: result: no" >&5
34575 echo "${ECHO_T}no" >&6; }
34578 { echo "$as_me:$LINENO: result: no" >&5
34579 echo "${ECHO_T}no" >&6; }
34582 if test "$found_gl" != 1; then
34583 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
34584 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
34587 for ac_dir
in $SEARCH_LIB;
34589 for ac_extension
in a so sl dylib dll.a
; do
34590 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
34591 ac_find_libraries
=$ac_dir
34597 if test "$ac_find_libraries" != "" ; then
34599 if test "$ac_find_libraries" = "default location"; then
34602 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
34604 if test $result = 0; then
34607 ac_path_to_link
=" -L$ac_find_libraries"
34611 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
34612 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
34613 { echo "$as_me:$LINENO: result: yes" >&5
34614 echo "${ECHO_T}yes" >&6; }
34616 { echo "$as_me:$LINENO: result: no" >&5
34617 echo "${ECHO_T}no" >&6; }
34629 if test "x$OPENGL_LIBS" = "x"; then
34630 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
34631 echo "$as_me: error: OpenGL libraries not available" >&2;}
34632 { (exit 1); exit 1; }; }
34636 if test "$wxUSE_OPENGL" = "yes"; then
34638 cat >>confdefs.h
<<\_ACEOF
34639 #define wxUSE_OPENGL 1
34642 cat >>confdefs.h
<<\_ACEOF
34643 #define wxUSE_GLCANVAS 1
34646 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
34651 if test -n "$TOOLKIT" ; then
34652 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
34657 if test "$wxUSE_SHARED" = "yes"; then
34661 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
34662 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
34667 if test "$wxUSE_SHARED" = "yes"; then
34671 *-*-cygwin* | *-*-mingw* )
34672 wx_cv_version_script
=no
34676 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
34677 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
34678 if test "${wx_cv_version_script+set}" = set; then
34679 echo $ECHO_N "(cached) $ECHO_C" >&6
34682 echo "VER_1 { *; };" >conftest.sym
34683 echo "int main() { return 0; }" >conftest.cpp
34686 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34687 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
34688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34689 (eval $ac_try) 2>&5
34691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34692 (exit $ac_status); }; } ; then
34693 if test -s conftest.stderr
; then
34694 wx_cv_version_script
=no
34696 wx_cv_version_script
=yes
34699 wx_cv_version_script
=no
34702 if test $wx_cv_version_script = yes
34704 echo "struct B { virtual ~B() { } }; \
34705 struct D : public B { }; \
34706 void F() { D d; }" > conftest.cpp
34709 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34710 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
34711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34712 (eval $ac_try) 2>&5
34714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34715 (exit $ac_status); }; } &&
34717 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34718 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
34719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34720 (eval $ac_try) 2>&5
34722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34723 (exit $ac_status); }; }
34726 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34727 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
34728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34729 (eval $ac_try) 2>&5
34731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34732 (exit $ac_status); }; }
34734 wx_cv_version_script
=yes
34736 wx_cv_version_script
=no
34741 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
34742 rm -f conftest1.output conftest2.output conftest3.output
34745 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
34746 echo "${ECHO_T}$wx_cv_version_script" >&6; }
34748 if test $wx_cv_version_script = yes ; then
34749 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(wx_top_builddir)/version-script"
34756 *-*-linux* | *-*-gnu* )
34757 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
34758 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
34762 if test "$GCC" = yes ; then
34763 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
34765 saveLdflags
="$LDFLAGS"
34766 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
34767 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
34768 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
34769 cat >conftest.
$ac_ext <<_ACEOF
34772 cat confdefs.h
>>conftest.
$ac_ext
34773 cat >>conftest.
$ac_ext <<_ACEOF
34774 /* end confdefs.h. */
34784 rm -f conftest.
$ac_objext conftest
$ac_exeext
34785 if { (ac_try
="$ac_link"
34786 case "(($ac_try" in
34787 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34788 *) ac_try_echo=$ac_try;;
34790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34791 (eval "$ac_link") 2>conftest.er1
34793 grep -v '^ *+' conftest.er1 >conftest.err
34795 cat conftest.err >&5
34796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34797 (exit $ac_status); } && {
34798 test -z "$ac_c_werror_flag" ||
34799 test ! -s conftest.err
34800 } && test -s conftest$ac_exeext &&
34801 $as_test_x conftest$ac_exeext; then
34803 { echo "$as_me:$LINENO: result: yes" >&5
34804 echo "${ECHO_T}yes" >&6; }
34805 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
34806 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
34809 echo "$as_me: failed program was:" >&5
34810 sed 's/^/| /' conftest.$ac_ext >&5
34813 { echo "$as_me:$LINENO: result: no" >&5
34814 echo "${ECHO_T}no" >&6; }
34815 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
34816 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
34817 LDFLAGS="$saveLdflags -Wl,-R,/"
34818 cat >conftest.$ac_ext <<_ACEOF
34821 cat confdefs.h >>conftest.$ac_ext
34822 cat >>conftest.$ac_ext <<_ACEOF
34823 /* end confdefs.h. */
34833 rm -f conftest.$ac_objext conftest$ac_exeext
34834 if { (ac_try="$ac_link"
34835 case "(($ac_try" in
34836 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34837 *) ac_try_echo
=$ac_try;;
34839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34840 (eval "$ac_link") 2>conftest.er1
34842 grep -v '^ *+' conftest.er1
>conftest.err
34844 cat conftest.err
>&5
34845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34846 (exit $ac_status); } && {
34847 test -z "$ac_c_werror_flag" ||
34848 test ! -s conftest.err
34849 } && test -s conftest
$ac_exeext &&
34850 $as_test_x conftest
$ac_exeext; then
34852 { echo "$as_me:$LINENO: result: yes" >&5
34853 echo "${ECHO_T}yes" >&6; }
34854 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
34855 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
34858 echo "$as_me: failed program was:" >&5
34859 sed 's/^/| /' conftest.
$ac_ext >&5
34862 { echo "$as_me:$LINENO: result: no" >&5
34863 echo "${ECHO_T}no" >&6; }
34867 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34868 conftest
$ac_exeext conftest.
$ac_ext
34872 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34873 conftest
$ac_exeext conftest.
$ac_ext
34874 LDFLAGS
="$saveLdflags"
34876 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
34877 WXCONFIG_RPATH
="-R\$libdir"
34882 install_name_tool
=`which install_name_tool`
34883 if test "$install_name_tool" -a -x "$install_name_tool"; then
34884 SAMPLES_RPATH_POSTLINK
="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
34885 cat <<EOF >change-install-names
34887 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
34888 inst_cmd="install_name_tool "
34889 for i in \${libnames} ; do
34890 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
34894 chmod +x change
-install-names
34898 *-*-cygwin* | *-*-mingw32* )
34899 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
34903 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
34904 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
34909 if test $wxUSE_RPATH = "no"; then
34910 SAMPLES_RPATH_FLAG
=''
34911 SAMPLES_RPATH_POSTLINK
=''
34919 config_linkage_component
="-static"
34926 lib_unicode_suffix
=
34928 if test "$wxUSE_UNICODE" = "yes"; then
34929 lib_unicode_suffix
=u
34930 WX_CHARTYPE
="unicode"
34935 WX_DEBUGTYPE
="release"
34937 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
34939 WX_DEBUGTYPE
="debug"
34943 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
34944 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
34947 if test "$wxUSE_DEBUG_INFO" = "yes"; then
34951 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
34953 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
34955 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
34957 if test "$cross_compiling" = "yes"; then
34958 HOST_SUFFIX
="-$host_alias"
34959 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
34960 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
34963 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34964 if test "${TOOLKIT_DIR}" = "os2"; then
34965 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34967 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34972 if test "$wxUSE_COCOA" = 1; then
34975 ac_cpp
='$CPP $CPPFLAGS'
34976 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34977 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34978 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34982 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
34983 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
34984 cat >conftest.
$ac_ext <<_ACEOF
34987 cat confdefs.h
>>conftest.
$ac_ext
34988 cat >>conftest.
$ac_ext <<_ACEOF
34989 /* end confdefs.h. */
34990 #include <AppKit/NSEvent.h>
34991 #include <CoreFoundation/CoreFoundation.h>
35001 rm -f conftest.
$ac_objext
35002 if { (ac_try
="$ac_compile"
35003 case "(($ac_try" in
35004 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35005 *) ac_try_echo=$ac_try;;
35007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35008 (eval "$ac_compile") 2>conftest.er1
35010 grep -v '^ *+' conftest.er1 >conftest.err
35012 cat conftest.err >&5
35013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35014 (exit $ac_status); } && {
35015 test -z "$ac_c_werror_flag" ||
35016 test ! -s conftest.err
35017 } && test -s conftest.$ac_objext; then
35018 { echo "$as_me:$LINENO: result: no" >&5
35019 echo "${ECHO_T}no" >&6; }
35021 echo "$as_me: failed program was:" >&5
35022 sed 's/^/| /' conftest.$ac_ext >&5
35024 { echo "$as_me:$LINENO: result: yes" >&5
35025 echo "${ECHO_T}yes" >&6; }
35026 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
35027 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
35028 cat >conftest.$ac_ext <<_ACEOF
35031 cat confdefs.h >>conftest.$ac_ext
35032 cat >>conftest.$ac_ext <<_ACEOF
35033 /* end confdefs.h. */
35034 #define __Point__ 1
35035 #include <AppKit/NSEvent.h>
35036 #include <CoreFoundation/CoreFoundation.h>
35046 rm -f conftest.$ac_objext
35047 if { (ac_try="$ac_compile"
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_compile") 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_objext; then
35063 { echo "$as_me:$LINENO: result: yes" >&5
35064 echo "${ECHO_T}yes" >&6; }
35065 cat >>confdefs.h
<<\_ACEOF
35066 #define __Point__ 1
35071 echo "$as_me: failed program was:" >&5
35072 sed 's/^/| /' conftest.
$ac_ext >&5
35074 { { echo "$as_me:$LINENO: error: no
35075 See \`config.log' for more details." >&5
35076 echo "$as_me: error: no
35077 See \`config.log' for more details." >&2;}
35078 { (exit 1); exit 1; }; }
35082 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35086 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35088 ac_cpp
='$CPP $CPPFLAGS'
35089 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35090 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35091 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35095 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
35096 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
35097 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
35099 LIBWXMACRES
="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
35101 # Extract the first word of "Rez", so it can be a program name with args.
35102 set dummy Rez
; ac_word
=$2
35103 { echo "$as_me:$LINENO: checking for $ac_word" >&5
35104 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
35105 if test "${ac_cv_prog_REZ+set}" = set; then
35106 echo $ECHO_N "(cached) $ECHO_C" >&6
35108 if test -n "$REZ"; then
35109 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
35111 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35112 for as_dir
in $PATH
35115 test -z "$as_dir" && as_dir
=.
35116 for ac_exec_ext
in '' $ac_executable_extensions; do
35117 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
35118 ac_cv_prog_REZ
="Rez"
35119 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35126 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
35129 REZ
=$ac_cv_prog_REZ
35130 if test -n "$REZ"; then
35131 { echo "$as_me:$LINENO: result: $REZ" >&5
35132 echo "${ECHO_T}$REZ" >&6; }
35134 { echo "$as_me:$LINENO: result: no" >&5
35135 echo "${ECHO_T}no" >&6; }
35139 # Extract the first word of "DeRez", so it can be a program name with args.
35140 set dummy DeRez
; ac_word
=$2
35141 { echo "$as_me:$LINENO: checking for $ac_word" >&5
35142 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
35143 if test "${ac_cv_prog_DEREZ+set}" = set; then
35144 echo $ECHO_N "(cached) $ECHO_C" >&6
35146 if test -n "$DEREZ"; then
35147 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
35149 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35150 for as_dir
in $PATH
35153 test -z "$as_dir" && as_dir
=.
35154 for ac_exec_ext
in '' $ac_executable_extensions; do
35155 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
35156 ac_cv_prog_DEREZ
="DeRez"
35157 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35164 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
35167 DEREZ
=$ac_cv_prog_DEREZ
35168 if test -n "$DEREZ"; then
35169 { echo "$as_me:$LINENO: result: $DEREZ" >&5
35170 echo "${ECHO_T}$DEREZ" >&6; }
35172 { echo "$as_me:$LINENO: result: no" >&5
35173 echo "${ECHO_T}no" >&6; }
35177 # Extract the first word of "SetFile", so it can be a program name with args.
35178 set dummy SetFile
; ac_word
=$2
35179 { echo "$as_me:$LINENO: checking for $ac_word" >&5
35180 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
35181 if test "${ac_cv_prog_SETFILE+set}" = set; then
35182 echo $ECHO_N "(cached) $ECHO_C" >&6
35184 if test -n "$SETFILE"; then
35185 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
35187 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35188 for as_dir
in $PATH
35191 test -z "$as_dir" && as_dir
=.
35192 for ac_exec_ext
in '' $ac_executable_extensions; do
35193 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
35194 ac_cv_prog_SETFILE
="SetFile"
35195 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35202 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
35205 SETFILE
=$ac_cv_prog_SETFILE
35206 if test -n "$SETFILE"; then
35207 { echo "$as_me:$LINENO: result: $SETFILE" >&5
35208 echo "${ECHO_T}$SETFILE" >&6; }
35210 { echo "$as_me:$LINENO: result: no" >&5
35211 echo "${ECHO_T}no" >&6; }
35216 MACSETFILE
="\$(SETFILE)"
35218 if test "$wxUSE_MAC" = 1; then
35219 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
35221 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
35223 POSTLINK_COMMAND
="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
35224 RESCOMP
="echo -n \| $REZ"
35225 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
35231 if test "$wxUSE_PM" = 1; then
35233 WXCONFIG_RESFLAGS
="-ep"
35235 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
35237 POSTLINK_COMMAND
="@true"
35244 { echo "$as_me:$LINENO: checking for mode_t" >&5
35245 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
35246 if test "${ac_cv_type_mode_t+set}" = set; then
35247 echo $ECHO_N "(cached) $ECHO_C" >&6
35249 cat >conftest.
$ac_ext <<_ACEOF
35252 cat confdefs.h
>>conftest.
$ac_ext
35253 cat >>conftest.
$ac_ext <<_ACEOF
35254 /* end confdefs.h. */
35255 $ac_includes_default
35256 typedef mode_t ac__type_new_;
35260 if ((ac__type_new_ *) 0)
35262 if (sizeof (ac__type_new_))
35268 rm -f conftest.
$ac_objext
35269 if { (ac_try
="$ac_compile"
35270 case "(($ac_try" in
35271 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35272 *) ac_try_echo=$ac_try;;
35274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35275 (eval "$ac_compile") 2>conftest.er1
35277 grep -v '^ *+' conftest.er1 >conftest.err
35279 cat conftest.err >&5
35280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35281 (exit $ac_status); } && {
35282 test -z "$ac_c_werror_flag" ||
35283 test ! -s conftest.err
35284 } && test -s conftest.$ac_objext; then
35285 ac_cv_type_mode_t=yes
35287 echo "$as_me: failed program was:" >&5
35288 sed 's/^/| /' conftest.$ac_ext >&5
35290 ac_cv_type_mode_t=no
35293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35295 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
35296 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
35297 if test $ac_cv_type_mode_t = yes; then
35301 cat >>confdefs.h <<_ACEOF
35307 { echo "$as_me:$LINENO: checking for off_t" >&5
35308 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
35309 if test "${ac_cv_type_off_t+set}" = set; then
35310 echo $ECHO_N "(cached) $ECHO_C" >&6
35312 cat >conftest.$ac_ext <<_ACEOF
35315 cat confdefs.h >>conftest.$ac_ext
35316 cat >>conftest.$ac_ext <<_ACEOF
35317 /* end confdefs.h. */
35318 $ac_includes_default
35319 typedef off_t ac__type_new_;
35323 if ((ac__type_new_ *) 0)
35325 if (sizeof (ac__type_new_))
35331 rm -f conftest.$ac_objext
35332 if { (ac_try="$ac_compile"
35333 case "(($ac_try" in
35334 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35335 *) ac_try_echo
=$ac_try;;
35337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35338 (eval "$ac_compile") 2>conftest.er1
35340 grep -v '^ *+' conftest.er1
>conftest.err
35342 cat conftest.err
>&5
35343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35344 (exit $ac_status); } && {
35345 test -z "$ac_c_werror_flag" ||
35346 test ! -s conftest.err
35347 } && test -s conftest.
$ac_objext; then
35348 ac_cv_type_off_t
=yes
35350 echo "$as_me: failed program was:" >&5
35351 sed 's/^/| /' conftest.
$ac_ext >&5
35353 ac_cv_type_off_t
=no
35356 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35358 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
35359 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
35360 if test $ac_cv_type_off_t = yes; then
35364 cat >>confdefs.h
<<_ACEOF
35365 #define off_t long int
35370 { echo "$as_me:$LINENO: checking for pid_t" >&5
35371 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
35372 if test "${ac_cv_type_pid_t+set}" = set; then
35373 echo $ECHO_N "(cached) $ECHO_C" >&6
35375 cat >conftest.
$ac_ext <<_ACEOF
35378 cat confdefs.h
>>conftest.
$ac_ext
35379 cat >>conftest.
$ac_ext <<_ACEOF
35380 /* end confdefs.h. */
35381 $ac_includes_default
35382 typedef pid_t ac__type_new_;
35386 if ((ac__type_new_ *) 0)
35388 if (sizeof (ac__type_new_))
35394 rm -f conftest.
$ac_objext
35395 if { (ac_try
="$ac_compile"
35396 case "(($ac_try" in
35397 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35398 *) ac_try_echo=$ac_try;;
35400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35401 (eval "$ac_compile") 2>conftest.er1
35403 grep -v '^ *+' conftest.er1 >conftest.err
35405 cat conftest.err >&5
35406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35407 (exit $ac_status); } && {
35408 test -z "$ac_c_werror_flag" ||
35409 test ! -s conftest.err
35410 } && test -s conftest.$ac_objext; then
35411 ac_cv_type_pid_t=yes
35413 echo "$as_me: failed program was:" >&5
35414 sed 's/^/| /' conftest.$ac_ext >&5
35416 ac_cv_type_pid_t=no
35419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35421 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
35422 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
35423 if test $ac_cv_type_pid_t = yes; then
35427 cat >>confdefs.h <<_ACEOF
35433 { echo "$as_me:$LINENO: checking for size_t" >&5
35434 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
35435 if test "${ac_cv_type_size_t+set}" = set; then
35436 echo $ECHO_N "(cached) $ECHO_C" >&6
35438 cat >conftest.$ac_ext <<_ACEOF
35441 cat confdefs.h >>conftest.$ac_ext
35442 cat >>conftest.$ac_ext <<_ACEOF
35443 /* end confdefs.h. */
35444 $ac_includes_default
35445 typedef size_t ac__type_new_;
35449 if ((ac__type_new_ *) 0)
35451 if (sizeof (ac__type_new_))
35457 rm -f conftest.$ac_objext
35458 if { (ac_try="$ac_compile"
35459 case "(($ac_try" in
35460 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35461 *) ac_try_echo
=$ac_try;;
35463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35464 (eval "$ac_compile") 2>conftest.er1
35466 grep -v '^ *+' conftest.er1
>conftest.err
35468 cat conftest.err
>&5
35469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35470 (exit $ac_status); } && {
35471 test -z "$ac_c_werror_flag" ||
35472 test ! -s conftest.err
35473 } && test -s conftest.
$ac_objext; then
35474 ac_cv_type_size_t
=yes
35476 echo "$as_me: failed program was:" >&5
35477 sed 's/^/| /' conftest.
$ac_ext >&5
35479 ac_cv_type_size_t
=no
35482 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35484 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
35485 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
35486 if test $ac_cv_type_size_t = yes; then
35490 cat >>confdefs.h
<<_ACEOF
35491 #define size_t unsigned int
35496 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
35497 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
35498 if test "${ac_cv_type_uid_t+set}" = set; then
35499 echo $ECHO_N "(cached) $ECHO_C" >&6
35501 cat >conftest.
$ac_ext <<_ACEOF
35504 cat confdefs.h
>>conftest.
$ac_ext
35505 cat >>conftest.
$ac_ext <<_ACEOF
35506 /* end confdefs.h. */
35507 #include <sys/types.h>
35510 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
35511 $EGREP "uid_t" >/dev
/null
2>&1; then
35512 ac_cv_type_uid_t
=yes
35514 ac_cv_type_uid_t
=no
35519 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
35520 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
35521 if test $ac_cv_type_uid_t = no
; then
35523 cat >>confdefs.h
<<\_ACEOF
35528 cat >>confdefs.h
<<\_ACEOF
35535 { echo "$as_me:$LINENO: checking for ssize_t" >&5
35536 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
35537 if test "${ac_cv_type_ssize_t+set}" = set; then
35538 echo $ECHO_N "(cached) $ECHO_C" >&6
35540 cat >conftest.
$ac_ext <<_ACEOF
35543 cat confdefs.h
>>conftest.
$ac_ext
35544 cat >>conftest.
$ac_ext <<_ACEOF
35545 /* end confdefs.h. */
35546 $ac_includes_default
35547 typedef ssize_t ac__type_new_;
35551 if ((ac__type_new_ *) 0)
35553 if (sizeof (ac__type_new_))
35559 rm -f conftest.
$ac_objext
35560 if { (ac_try
="$ac_compile"
35561 case "(($ac_try" in
35562 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35563 *) ac_try_echo=$ac_try;;
35565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35566 (eval "$ac_compile") 2>conftest.er1
35568 grep -v '^ *+' conftest.er1 >conftest.err
35570 cat conftest.err >&5
35571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35572 (exit $ac_status); } && {
35573 test -z "$ac_c_werror_flag" ||
35574 test ! -s conftest.err
35575 } && test -s conftest.$ac_objext; then
35576 ac_cv_type_ssize_t=yes
35578 echo "$as_me: failed program was:" >&5
35579 sed 's/^/| /' conftest.$ac_ext >&5
35581 ac_cv_type_ssize_t=no
35584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35586 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
35587 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
35588 if test $ac_cv_type_ssize_t = yes; then
35590 cat >>confdefs.h <<_ACEOF
35591 #define HAVE_SSIZE_T 1
35599 ac_cpp='$CXXCPP $CPPFLAGS'
35600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35603 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
35604 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
35605 if test "${wx_cv_size_t_is_uint+set}" = set; then
35606 echo $ECHO_N "(cached) $ECHO_C" >&6
35609 cat >conftest.$ac_ext <<_ACEOF
35612 cat confdefs.h >>conftest.$ac_ext
35613 cat >>conftest.$ac_ext <<_ACEOF
35614 /* end confdefs.h. */
35615 #include <stddef.h>
35622 struct Foo { void foo(size_t); void foo(unsigned int); };
35630 rm -f conftest.$ac_objext
35631 if { (ac_try="$ac_compile"
35632 case "(($ac_try" in
35633 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35634 *) ac_try_echo
=$ac_try;;
35636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35637 (eval "$ac_compile") 2>conftest.er1
35639 grep -v '^ *+' conftest.er1
>conftest.err
35641 cat conftest.err
>&5
35642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35643 (exit $ac_status); } && {
35644 test -z "$ac_cxx_werror_flag" ||
35645 test ! -s conftest.err
35646 } && test -s conftest.
$ac_objext; then
35647 wx_cv_size_t_is_uint
=no
35649 echo "$as_me: failed program was:" >&5
35650 sed 's/^/| /' conftest.
$ac_ext >&5
35652 wx_cv_size_t_is_uint
=yes
35656 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35660 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
35661 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
35663 if test "$wx_cv_size_t_is_uint" = "yes"; then
35664 cat >>confdefs.h
<<\_ACEOF
35665 #define wxSIZE_T_IS_UINT 1
35669 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
35670 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
35671 if test "${wx_cv_size_t_is_ulong+set}" = set; then
35672 echo $ECHO_N "(cached) $ECHO_C" >&6
35674 cat >conftest.
$ac_ext <<_ACEOF
35677 cat confdefs.h
>>conftest.
$ac_ext
35678 cat >>conftest.
$ac_ext <<_ACEOF
35679 /* end confdefs.h. */
35680 #include <stddef.h>
35687 struct Foo { void foo(size_t); void foo(unsigned long); };
35695 rm -f conftest.
$ac_objext
35696 if { (ac_try
="$ac_compile"
35697 case "(($ac_try" in
35698 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35699 *) ac_try_echo=$ac_try;;
35701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35702 (eval "$ac_compile") 2>conftest.er1
35704 grep -v '^ *+' conftest.er1 >conftest.err
35706 cat conftest.err >&5
35707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35708 (exit $ac_status); } && {
35709 test -z "$ac_cxx_werror_flag" ||
35710 test ! -s conftest.err
35711 } && test -s conftest.$ac_objext; then
35712 wx_cv_size_t_is_ulong=no
35714 echo "$as_me: failed program was:" >&5
35715 sed 's/^/| /' conftest.$ac_ext >&5
35717 wx_cv_size_t_is_ulong=yes
35721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35724 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
35725 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
35727 if test "$wx_cv_size_t_is_ulong" = "yes"; then
35728 cat >>confdefs.h <<\_ACEOF
35729 #define wxSIZE_T_IS_ULONG 1
35736 ac_cpp='$CPP $CPPFLAGS'
35737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35742 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
35743 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
35744 if test "${wx_cv_struct_pw_gecos+set}" = set; then
35745 echo $ECHO_N "(cached) $ECHO_C" >&6
35748 cat >conftest.$ac_ext <<_ACEOF
35751 cat confdefs.h >>conftest.$ac_ext
35752 cat >>conftest.$ac_ext <<_ACEOF
35753 /* end confdefs.h. */
35767 rm -f conftest.$ac_objext
35768 if { (ac_try="$ac_compile"
35769 case "(($ac_try" in
35770 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35771 *) ac_try_echo
=$ac_try;;
35773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35774 (eval "$ac_compile") 2>conftest.er1
35776 grep -v '^ *+' conftest.er1
>conftest.err
35778 cat conftest.err
>&5
35779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35780 (exit $ac_status); } && {
35781 test -z "$ac_c_werror_flag" ||
35782 test ! -s conftest.err
35783 } && test -s conftest.
$ac_objext; then
35785 wx_cv_struct_pw_gecos
=yes
35788 echo "$as_me: failed program was:" >&5
35789 sed 's/^/| /' conftest.
$ac_ext >&5
35792 wx_cv_struct_pw_gecos
=no
35797 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35801 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
35802 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
35804 if test "$wx_cv_struct_pw_gecos" = "yes"; then
35805 cat >>confdefs.h
<<\_ACEOF
35806 #define HAVE_PW_GECOS 1
35812 if test "$wxUSE_WCHAR_T" = "yes"; then
35813 cat >>confdefs.h
<<\_ACEOF
35814 #define wxUSE_WCHAR_T 1
35821 for ac_func
in wcslen
35823 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35824 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35825 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35826 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35827 echo $ECHO_N "(cached) $ECHO_C" >&6
35829 cat >conftest.
$ac_ext <<_ACEOF
35832 cat confdefs.h
>>conftest.
$ac_ext
35833 cat >>conftest.
$ac_ext <<_ACEOF
35834 /* end confdefs.h. */
35835 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35836 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35837 #define $ac_func innocuous_$ac_func
35839 /* System header to define __stub macros and hopefully few prototypes,
35840 which can conflict with char $ac_func (); below.
35841 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35842 <limits.h> exists even on freestanding compilers. */
35845 # include <limits.h>
35847 # include <assert.h>
35852 /* Override any GCC internal prototype to avoid an error.
35853 Use char because int might match the return type of a GCC
35854 builtin and then its argument prototype would still apply. */
35859 /* The GNU C library defines this for functions which it implements
35860 to always fail with ENOSYS. Some functions are actually named
35861 something starting with __ and the normal name is an alias. */
35862 #if defined __stub_$ac_func || defined __stub___$ac_func
35869 return $ac_func ();
35874 rm -f conftest.
$ac_objext conftest
$ac_exeext
35875 if { (ac_try
="$ac_link"
35876 case "(($ac_try" in
35877 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35878 *) ac_try_echo=$ac_try;;
35880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35881 (eval "$ac_link") 2>conftest.er1
35883 grep -v '^ *+' conftest.er1 >conftest.err
35885 cat conftest.err >&5
35886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35887 (exit $ac_status); } && {
35888 test -z "$ac_c_werror_flag" ||
35889 test ! -s conftest.err
35890 } && test -s conftest$ac_exeext &&
35891 $as_test_x conftest$ac_exeext; then
35892 eval "$as_ac_var=yes"
35894 echo "$as_me: failed program was:" >&5
35895 sed 's/^/| /' conftest.$ac_ext >&5
35897 eval "$as_ac_var=no"
35900 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35901 conftest$ac_exeext conftest.$ac_ext
35903 ac_res=`eval echo '${'$as_ac_var'}'`
35904 { echo "$as_me:$LINENO: result: $ac_res" >&5
35905 echo "${ECHO_T}$ac_res" >&6; }
35906 if test `eval echo '${'$as_ac_var'}'` = yes; then
35907 cat >>confdefs.h <<_ACEOF
35908 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35915 if test "$WCSLEN_FOUND" = 0; then
35916 if test "$TOOLKIT" = "MSW"; then
35917 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
35918 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
35919 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
35920 echo $ECHO_N "(cached) $ECHO_C" >&6
35922 ac_check_lib_save_LIBS=$LIBS
35923 LIBS="-lmsvcrt $LIBS"
35924 cat >conftest.$ac_ext <<_ACEOF
35927 cat confdefs.h >>conftest.$ac_ext
35928 cat >>conftest.$ac_ext <<_ACEOF
35929 /* end confdefs.h. */
35931 /* Override any GCC internal prototype to avoid an error.
35932 Use char because int might match the return type of a GCC
35933 builtin and then its argument prototype would still apply. */
35946 rm -f conftest.$ac_objext conftest$ac_exeext
35947 if { (ac_try="$ac_link"
35948 case "(($ac_try" in
35949 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35950 *) ac_try_echo
=$ac_try;;
35952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35953 (eval "$ac_link") 2>conftest.er1
35955 grep -v '^ *+' conftest.er1
>conftest.err
35957 cat conftest.err
>&5
35958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35959 (exit $ac_status); } && {
35960 test -z "$ac_c_werror_flag" ||
35961 test ! -s conftest.err
35962 } && test -s conftest
$ac_exeext &&
35963 $as_test_x conftest
$ac_exeext; then
35964 ac_cv_lib_msvcrt_wcslen
=yes
35966 echo "$as_me: failed program was:" >&5
35967 sed 's/^/| /' conftest.
$ac_ext >&5
35969 ac_cv_lib_msvcrt_wcslen
=no
35972 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35973 conftest
$ac_exeext conftest.
$ac_ext
35974 LIBS
=$ac_check_lib_save_LIBS
35976 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
35977 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
35978 if test $ac_cv_lib_msvcrt_wcslen = yes; then
35983 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
35984 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
35985 if test "${ac_cv_lib_w_wcslen+set}" = set; then
35986 echo $ECHO_N "(cached) $ECHO_C" >&6
35988 ac_check_lib_save_LIBS
=$LIBS
35990 cat >conftest.
$ac_ext <<_ACEOF
35993 cat confdefs.h
>>conftest.
$ac_ext
35994 cat >>conftest.
$ac_ext <<_ACEOF
35995 /* end confdefs.h. */
35997 /* Override any GCC internal prototype to avoid an error.
35998 Use char because int might match the return type of a GCC
35999 builtin and then its argument prototype would still apply. */
36012 rm -f conftest.
$ac_objext conftest
$ac_exeext
36013 if { (ac_try
="$ac_link"
36014 case "(($ac_try" in
36015 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36016 *) ac_try_echo=$ac_try;;
36018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36019 (eval "$ac_link") 2>conftest.er1
36021 grep -v '^ *+' conftest.er1 >conftest.err
36023 cat conftest.err >&5
36024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36025 (exit $ac_status); } && {
36026 test -z "$ac_c_werror_flag" ||
36027 test ! -s conftest.err
36028 } && test -s conftest$ac_exeext &&
36029 $as_test_x conftest$ac_exeext; then
36030 ac_cv_lib_w_wcslen=yes
36032 echo "$as_me: failed program was:" >&5
36033 sed 's/^/| /' conftest.$ac_ext >&5
36035 ac_cv_lib_w_wcslen=no
36038 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36039 conftest$ac_exeext conftest.$ac_ext
36040 LIBS=$ac_check_lib_save_LIBS
36042 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
36043 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
36044 if test $ac_cv_lib_w_wcslen = yes; then
36054 if test "$WCSLEN_FOUND" = 1; then
36055 cat >>confdefs.h <<\_ACEOF
36056 #define HAVE_WCSLEN 1
36061 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
36062 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
36065 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
36066 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
36067 if test "${ac_cv_type_mbstate_t+set}" = set; then
36068 echo $ECHO_N "(cached) $ECHO_C" >&6
36070 cat >conftest.$ac_ext <<_ACEOF
36073 cat confdefs.h >>conftest.$ac_ext
36074 cat >>conftest.$ac_ext <<_ACEOF
36075 /* end confdefs.h. */
36078 typedef mbstate_t ac__type_new_;
36082 if ((ac__type_new_ *) 0)
36084 if (sizeof (ac__type_new_))
36090 rm -f conftest.$ac_objext
36091 if { (ac_try="$ac_compile"
36092 case "(($ac_try" in
36093 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36094 *) ac_try_echo
=$ac_try;;
36096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36097 (eval "$ac_compile") 2>conftest.er1
36099 grep -v '^ *+' conftest.er1
>conftest.err
36101 cat conftest.err
>&5
36102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36103 (exit $ac_status); } && {
36104 test -z "$ac_c_werror_flag" ||
36105 test ! -s conftest.err
36106 } && test -s conftest.
$ac_objext; then
36107 ac_cv_type_mbstate_t
=yes
36109 echo "$as_me: failed program was:" >&5
36110 sed 's/^/| /' conftest.
$ac_ext >&5
36112 ac_cv_type_mbstate_t
=no
36115 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36117 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
36118 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
36119 if test $ac_cv_type_mbstate_t = yes; then
36121 cat >>confdefs.h
<<_ACEOF
36122 #define HAVE_MBSTATE_T 1
36126 for ac_func
in wcsrtombs
36128 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36129 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36130 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36131 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36132 echo $ECHO_N "(cached) $ECHO_C" >&6
36134 cat >conftest.
$ac_ext <<_ACEOF
36137 cat confdefs.h
>>conftest.
$ac_ext
36138 cat >>conftest.
$ac_ext <<_ACEOF
36139 /* end confdefs.h. */
36140 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36141 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36142 #define $ac_func innocuous_$ac_func
36144 /* System header to define __stub macros and hopefully few prototypes,
36145 which can conflict with char $ac_func (); below.
36146 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36147 <limits.h> exists even on freestanding compilers. */
36150 # include <limits.h>
36152 # include <assert.h>
36157 /* Override any GCC internal prototype to avoid an error.
36158 Use char because int might match the return type of a GCC
36159 builtin and then its argument prototype would still apply. */
36164 /* The GNU C library defines this for functions which it implements
36165 to always fail with ENOSYS. Some functions are actually named
36166 something starting with __ and the normal name is an alias. */
36167 #if defined __stub_$ac_func || defined __stub___$ac_func
36174 return $ac_func ();
36179 rm -f conftest.
$ac_objext conftest
$ac_exeext
36180 if { (ac_try
="$ac_link"
36181 case "(($ac_try" in
36182 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36183 *) ac_try_echo=$ac_try;;
36185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36186 (eval "$ac_link") 2>conftest.er1
36188 grep -v '^ *+' conftest.er1 >conftest.err
36190 cat conftest.err >&5
36191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36192 (exit $ac_status); } && {
36193 test -z "$ac_c_werror_flag" ||
36194 test ! -s conftest.err
36195 } && test -s conftest$ac_exeext &&
36196 $as_test_x conftest$ac_exeext; then
36197 eval "$as_ac_var=yes"
36199 echo "$as_me: failed program was:" >&5
36200 sed 's/^/| /' conftest.$ac_ext >&5
36202 eval "$as_ac_var=no"
36205 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36206 conftest$ac_exeext conftest.$ac_ext
36208 ac_res=`eval echo '${'$as_ac_var'}'`
36209 { echo "$as_me:$LINENO: result: $ac_res" >&5
36210 echo "${ECHO_T}$ac_res" >&6; }
36211 if test `eval echo '${'$as_ac_var'}'` = yes; then
36212 cat >>confdefs.h <<_ACEOF
36213 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36222 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
36223 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
36228 for ac_func in snprintf vsnprintf
36230 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36231 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36232 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36233 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36234 echo $ECHO_N "(cached) $ECHO_C" >&6
36236 cat >conftest.$ac_ext <<_ACEOF
36239 cat confdefs.h >>conftest.$ac_ext
36240 cat >>conftest.$ac_ext <<_ACEOF
36241 /* end confdefs.h. */
36242 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36243 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36244 #define $ac_func innocuous_$ac_func
36246 /* System header to define __stub macros and hopefully few prototypes,
36247 which can conflict with char $ac_func (); below.
36248 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36249 <limits.h> exists even on freestanding compilers. */
36252 # include <limits.h>
36254 # include <assert.h>
36259 /* Override any GCC internal prototype to avoid an error.
36260 Use char because int might match the return type of a GCC
36261 builtin and then its argument prototype would still apply. */
36266 /* The GNU C library defines this for functions which it implements
36267 to always fail with ENOSYS. Some functions are actually named
36268 something starting with __ and the normal name is an alias. */
36269 #if defined __stub_$ac_func || defined __stub___$ac_func
36276 return $ac_func ();
36281 rm -f conftest.$ac_objext conftest$ac_exeext
36282 if { (ac_try="$ac_link"
36283 case "(($ac_try" in
36284 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36285 *) ac_try_echo
=$ac_try;;
36287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36288 (eval "$ac_link") 2>conftest.er1
36290 grep -v '^ *+' conftest.er1
>conftest.err
36292 cat conftest.err
>&5
36293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36294 (exit $ac_status); } && {
36295 test -z "$ac_c_werror_flag" ||
36296 test ! -s conftest.err
36297 } && test -s conftest
$ac_exeext &&
36298 $as_test_x conftest
$ac_exeext; then
36299 eval "$as_ac_var=yes"
36301 echo "$as_me: failed program was:" >&5
36302 sed 's/^/| /' conftest.
$ac_ext >&5
36304 eval "$as_ac_var=no"
36307 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36308 conftest
$ac_exeext conftest.
$ac_ext
36310 ac_res
=`eval echo '${'$as_ac_var'}'`
36311 { echo "$as_me:$LINENO: result: $ac_res" >&5
36312 echo "${ECHO_T}$ac_res" >&6; }
36313 if test `eval echo '${'$as_ac_var'}'` = yes; then
36314 cat >>confdefs.h
<<_ACEOF
36315 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36322 if test "$ac_cv_func_vsnprintf" = "yes"; then
36323 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
36324 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
36325 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
36326 echo $ECHO_N "(cached) $ECHO_C" >&6
36329 cat >conftest.
$ac_ext <<_ACEOF
36332 cat confdefs.h
>>conftest.
$ac_ext
36333 cat >>conftest.
$ac_ext <<_ACEOF
36334 /* end confdefs.h. */
36337 #include <stdarg.h>
36339 #if __MSL__ >= 0x6000
36341 using namespace std;
36351 vsnprintf(buf, 10u, "%s", ap);
36357 rm -f conftest.
$ac_objext
36358 if { (ac_try
="$ac_compile"
36359 case "(($ac_try" in
36360 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36361 *) ac_try_echo=$ac_try;;
36363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36364 (eval "$ac_compile") 2>conftest.er1
36366 grep -v '^ *+' conftest.er1 >conftest.err
36368 cat conftest.err >&5
36369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36370 (exit $ac_status); } && {
36371 test -z "$ac_c_werror_flag" ||
36372 test ! -s conftest.err
36373 } && test -s conftest.$ac_objext; then
36374 wx_cv_func_vsnprintf_decl=yes
36376 echo "$as_me: failed program was:" >&5
36377 sed 's/^/| /' conftest.$ac_ext >&5
36379 wx_cv_func_vsnprintf_decl=no
36383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36387 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
36388 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
36390 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
36391 cat >>confdefs.h <<\_ACEOF
36392 #define HAVE_VSNPRINTF_DECL 1
36396 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
36397 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
36398 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
36399 echo $ECHO_N "(cached) $ECHO_C" >&6
36402 cat >conftest.$ac_ext <<_ACEOF
36405 cat confdefs.h >>conftest.$ac_ext
36406 cat >>conftest.$ac_ext <<_ACEOF
36407 /* end confdefs.h. */
36410 #include <stdarg.h>
36412 #if __MSL__ >= 0x6000
36414 using namespace std;
36424 const char *fmt = "%s";
36425 vsnprintf(buf, 10u, fmt, ap);
36431 rm -f conftest.$ac_objext
36432 if { (ac_try="$ac_compile"
36433 case "(($ac_try" in
36434 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36435 *) ac_try_echo
=$ac_try;;
36437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36438 (eval "$ac_compile") 2>conftest.er1
36440 grep -v '^ *+' conftest.er1
>conftest.err
36442 cat conftest.err
>&5
36443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36444 (exit $ac_status); } && {
36445 test -z "$ac_c_werror_flag" ||
36446 test ! -s conftest.err
36447 } && test -s conftest.
$ac_objext; then
36448 wx_cv_func_broken_vsnprintf_decl
=no
36450 echo "$as_me: failed program was:" >&5
36451 sed 's/^/| /' conftest.
$ac_ext >&5
36453 wx_cv_func_broken_vsnprintf_decl
=yes
36457 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36461 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
36462 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
36464 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
36465 cat >>confdefs.h
<<\_ACEOF
36466 #define HAVE_BROKEN_VSNPRINTF_DECL 1
36473 if test "$ac_cv_func_snprintf" = "yes"; then
36474 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
36475 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
36476 if test "${wx_cv_func_snprintf_decl+set}" = set; then
36477 echo $ECHO_N "(cached) $ECHO_C" >&6
36480 cat >conftest.
$ac_ext <<_ACEOF
36483 cat confdefs.h
>>conftest.
$ac_ext
36484 cat >>conftest.
$ac_ext <<_ACEOF
36485 /* end confdefs.h. */
36488 #include <stdarg.h>
36490 #if __MSL__ >= 0x6000
36492 using namespace std;
36501 snprintf(buf, 10u, "%s", "wx");
36507 rm -f conftest.
$ac_objext
36508 if { (ac_try
="$ac_compile"
36509 case "(($ac_try" in
36510 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36511 *) ac_try_echo=$ac_try;;
36513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36514 (eval "$ac_compile") 2>conftest.er1
36516 grep -v '^ *+' conftest.er1 >conftest.err
36518 cat conftest.err >&5
36519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36520 (exit $ac_status); } && {
36521 test -z "$ac_c_werror_flag" ||
36522 test ! -s conftest.err
36523 } && test -s conftest.$ac_objext; then
36524 wx_cv_func_snprintf_decl=yes
36526 echo "$as_me: failed program was:" >&5
36527 sed 's/^/| /' conftest.$ac_ext >&5
36529 wx_cv_func_snprintf_decl=no
36533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36537 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
36538 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
36540 if test "$wx_cv_func_snprintf_decl" = "yes"; then
36541 cat >>confdefs.h <<\_ACEOF
36542 #define HAVE_SNPRINTF_DECL 1
36546 { echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
36547 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6; }
36548 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
36549 echo $ECHO_N "(cached) $ECHO_C" >&6
36552 cat >conftest.$ac_ext <<_ACEOF
36555 cat confdefs.h >>conftest.$ac_ext
36556 cat >>conftest.$ac_ext <<_ACEOF
36557 /* end confdefs.h. */
36560 #include <stdarg.h>
36562 #if __MSL__ >= 0x6000
36564 using namespace std;
36573 const char *fmt = "%s";
36574 snprintf(buf, 10u, fmt, "wx");
36580 rm -f conftest.$ac_objext
36581 if { (ac_try="$ac_compile"
36582 case "(($ac_try" in
36583 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36584 *) ac_try_echo
=$ac_try;;
36586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36587 (eval "$ac_compile") 2>conftest.er1
36589 grep -v '^ *+' conftest.er1
>conftest.err
36591 cat conftest.err
>&5
36592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36593 (exit $ac_status); } && {
36594 test -z "$ac_c_werror_flag" ||
36595 test ! -s conftest.err
36596 } && test -s conftest.
$ac_objext; then
36597 wx_cv_func_broken_snprintf_decl
=no
36599 echo "$as_me: failed program was:" >&5
36600 sed 's/^/| /' conftest.
$ac_ext >&5
36602 wx_cv_func_broken_snprintf_decl
=yes
36606 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36610 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
36611 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6; }
36613 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
36614 cat >>confdefs.h
<<\_ACEOF
36615 #define HAVE_BROKEN_SNPRINTF_DECL 1
36621 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
36623 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
36624 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
36625 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
36626 echo $ECHO_N "(cached) $ECHO_C" >&6
36629 if test "$cross_compiling" = yes; then
36631 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
36632 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
36633 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
36634 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
36635 wx_cv_func_snprintf_pos_params
=no
36639 cat >conftest.
$ac_ext <<_ACEOF
36642 cat confdefs.h
>>conftest.
$ac_ext
36643 cat >>conftest.
$ac_ext <<_ACEOF
36644 /* end confdefs.h. */
36651 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
36652 if (strcmp ("2 3 1", buffer) == 0)
36658 rm -f conftest
$ac_exeext
36659 if { (ac_try
="$ac_link"
36660 case "(($ac_try" in
36661 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36662 *) ac_try_echo=$ac_try;;
36664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36665 (eval "$ac_link") 2>&5
36667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36668 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
36669 { (case "(($ac_try" in
36670 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36671 *) ac_try_echo
=$ac_try;;
36673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36674 (eval "$ac_try") 2>&5
36676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36677 (exit $ac_status); }; }; then
36678 wx_cv_func_snprintf_pos_params
=no
36680 echo "$as_me: program exited with status $ac_status" >&5
36681 echo "$as_me: failed program was:" >&5
36682 sed 's/^/| /' conftest.
$ac_ext >&5
36684 ( exit $ac_status )
36685 wx_cv_func_snprintf_pos_params
=yes
36687 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
36694 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
36695 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
36697 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
36698 cat >>confdefs.h
<<\_ACEOF
36699 #define HAVE_UNIX98_PRINTF 1
36706 if test "$wxUSE_UNICODE" = yes; then
36709 for ac_func
in swprintf
36711 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36712 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36713 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36714 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36715 echo $ECHO_N "(cached) $ECHO_C" >&6
36717 cat >conftest.
$ac_ext <<_ACEOF
36720 cat confdefs.h
>>conftest.
$ac_ext
36721 cat >>conftest.
$ac_ext <<_ACEOF
36722 /* end confdefs.h. */
36723 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36724 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36725 #define $ac_func innocuous_$ac_func
36727 /* System header to define __stub macros and hopefully few prototypes,
36728 which can conflict with char $ac_func (); below.
36729 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36730 <limits.h> exists even on freestanding compilers. */
36733 # include <limits.h>
36735 # include <assert.h>
36740 /* Override any GCC internal prototype to avoid an error.
36741 Use char because int might match the return type of a GCC
36742 builtin and then its argument prototype would still apply. */
36747 /* The GNU C library defines this for functions which it implements
36748 to always fail with ENOSYS. Some functions are actually named
36749 something starting with __ and the normal name is an alias. */
36750 #if defined __stub_$ac_func || defined __stub___$ac_func
36757 return $ac_func ();
36762 rm -f conftest.
$ac_objext conftest
$ac_exeext
36763 if { (ac_try
="$ac_link"
36764 case "(($ac_try" in
36765 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36766 *) ac_try_echo=$ac_try;;
36768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36769 (eval "$ac_link") 2>conftest.er1
36771 grep -v '^ *+' conftest.er1 >conftest.err
36773 cat conftest.err >&5
36774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36775 (exit $ac_status); } && {
36776 test -z "$ac_c_werror_flag" ||
36777 test ! -s conftest.err
36778 } && test -s conftest$ac_exeext &&
36779 $as_test_x conftest$ac_exeext; then
36780 eval "$as_ac_var=yes"
36782 echo "$as_me: failed program was:" >&5
36783 sed 's/^/| /' conftest.$ac_ext >&5
36785 eval "$as_ac_var=no"
36788 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36789 conftest$ac_exeext conftest.$ac_ext
36791 ac_res=`eval echo '${'$as_ac_var'}'`
36792 { echo "$as_me:$LINENO: result: $ac_res" >&5
36793 echo "${ECHO_T}$ac_res" >&6; }
36794 if test `eval echo '${'$as_ac_var'}'` = yes; then
36795 cat >>confdefs.h <<_ACEOF
36796 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36803 if test "$ac_cv_func_swprintf" = "yes"; then
36804 { echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
36805 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6; }
36806 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
36807 echo $ECHO_N "(cached) $ECHO_C" >&6
36810 cat >conftest.$ac_ext <<_ACEOF
36813 cat confdefs.h >>conftest.$ac_ext
36814 cat >>conftest.$ac_ext <<_ACEOF
36815 /* end confdefs.h. */
36818 #include <stdarg.h>
36826 const wchar_t *fmt = L"test";
36827 swprintf(buf, 10u, fmt);
36833 rm -f conftest.$ac_objext
36834 if { (ac_try="$ac_compile"
36835 case "(($ac_try" in
36836 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36837 *) ac_try_echo
=$ac_try;;
36839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36840 (eval "$ac_compile") 2>conftest.er1
36842 grep -v '^ *+' conftest.er1
>conftest.err
36844 cat conftest.err
>&5
36845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36846 (exit $ac_status); } && {
36847 test -z "$ac_c_werror_flag" ||
36848 test ! -s conftest.err
36849 } && test -s conftest.
$ac_objext; then
36850 wx_cv_func_broken_swprintf_decl
=no
36852 echo "$as_me: failed program was:" >&5
36853 sed 's/^/| /' conftest.
$ac_ext >&5
36855 wx_cv_func_broken_swprintf_decl
=yes
36859 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36863 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
36864 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6; }
36866 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
36867 cat >>confdefs.h
<<\_ACEOF
36868 #define HAVE_BROKEN_SWPRINTF_DECL 1
36874 wchar_headers
="#include <stdio.h>
36875 #include <wchar.h>"
36879 for ac_header
in widec.h
36881 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36882 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
36883 { echo "$as_me:$LINENO: checking for $ac_header" >&5
36884 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
36885 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
36886 echo $ECHO_N "(cached) $ECHO_C" >&6
36888 ac_res
=`eval echo '${'$as_ac_Header'}'`
36889 { echo "$as_me:$LINENO: result: $ac_res" >&5
36890 echo "${ECHO_T}$ac_res" >&6; }
36892 # Is the header compilable?
36893 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
36894 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
36895 cat >conftest.
$ac_ext <<_ACEOF
36898 cat confdefs.h
>>conftest.
$ac_ext
36899 cat >>conftest.
$ac_ext <<_ACEOF
36900 /* end confdefs.h. */
36901 $ac_includes_default
36902 #include <$ac_header>
36904 rm -f conftest.
$ac_objext
36905 if { (ac_try
="$ac_compile"
36906 case "(($ac_try" in
36907 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36908 *) ac_try_echo=$ac_try;;
36910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36911 (eval "$ac_compile") 2>conftest.er1
36913 grep -v '^ *+' conftest.er1 >conftest.err
36915 cat conftest.err >&5
36916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36917 (exit $ac_status); } && {
36918 test -z "$ac_c_werror_flag" ||
36919 test ! -s conftest.err
36920 } && test -s conftest.$ac_objext; then
36921 ac_header_compiler=yes
36923 echo "$as_me: failed program was:" >&5
36924 sed 's/^/| /' conftest.$ac_ext >&5
36926 ac_header_compiler=no
36929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36930 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36931 echo "${ECHO_T}$ac_header_compiler" >&6; }
36933 # Is the header present?
36934 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
36935 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
36936 cat >conftest.$ac_ext <<_ACEOF
36939 cat confdefs.h >>conftest.$ac_ext
36940 cat >>conftest.$ac_ext <<_ACEOF
36941 /* end confdefs.h. */
36942 #include <$ac_header>
36944 if { (ac_try="$ac_cpp conftest.$ac_ext"
36945 case "(($ac_try" in
36946 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36947 *) ac_try_echo
=$ac_try;;
36949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36950 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
36952 grep -v '^ *+' conftest.er1
>conftest.err
36954 cat conftest.err
>&5
36955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36956 (exit $ac_status); } >/dev
/null
&& {
36957 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
36958 test ! -s conftest.err
36960 ac_header_preproc
=yes
36962 echo "$as_me: failed program was:" >&5
36963 sed 's/^/| /' conftest.
$ac_ext >&5
36965 ac_header_preproc
=no
36968 rm -f conftest.err conftest.
$ac_ext
36969 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36970 echo "${ECHO_T}$ac_header_preproc" >&6; }
36972 # So? What about this header?
36973 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36975 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36976 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36977 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36978 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36979 ac_header_preproc
=yes
36982 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36983 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36984 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36985 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36986 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36987 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36988 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36989 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36990 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36991 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36992 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36993 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36995 ## ----------------------------------------- ##
36996 ## Report this to wx-dev@lists.wxwidgets.org ##
36997 ## ----------------------------------------- ##
36999 ) | sed "s/^/$as_me: WARNING: /" >&2
37002 { echo "$as_me:$LINENO: checking for $ac_header" >&5
37003 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
37004 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
37005 echo $ECHO_N "(cached) $ECHO_C" >&6
37007 eval "$as_ac_Header=\$ac_header_preproc"
37009 ac_res
=`eval echo '${'$as_ac_Header'}'`
37010 { echo "$as_me:$LINENO: result: $ac_res" >&5
37011 echo "${ECHO_T}$ac_res" >&6; }
37014 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37015 cat >>confdefs.h
<<_ACEOF
37016 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37023 if test "$ac_cv_header_widec_h" = "yes"; then
37024 wchar_headers
="$wchar_headers
37025 #include <widec.h>"
37030 for wx_func
in wputc wputchar putws fputws wprintf vswprintf
37032 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37033 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37034 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37035 echo $ECHO_N "(cached) $ECHO_C" >&6
37038 cat >conftest.
$ac_ext <<_ACEOF
37042 cat confdefs.h
>>conftest.
$ac_ext
37043 cat >>conftest.
$ac_ext <<_ACEOF
37044 /* end confdefs.h. */
37047 $ac_includes_default
37063 rm -f conftest.
$ac_objext conftest
$ac_exeext
37064 if { (ac_try
="$ac_link"
37065 case "(($ac_try" in
37066 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37067 *) ac_try_echo=$ac_try;;
37069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37070 (eval "$ac_link") 2>conftest.er1
37072 grep -v '^ *+' conftest.er1 >conftest.err
37074 cat conftest.err >&5
37075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37076 (exit $ac_status); } && {
37077 test -z "$ac_c_werror_flag" ||
37078 test ! -s conftest.err
37079 } && test -s conftest$ac_exeext &&
37080 $as_test_x conftest$ac_exeext; then
37081 eval wx_cv_func_$wx_func=yes
37083 echo "$as_me: failed program was:" >&5
37084 sed 's/^/| /' conftest.$ac_ext >&5
37086 eval wx_cv_func_$wx_func=no
37089 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37090 conftest$ac_exeext conftest.$ac_ext
37093 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37094 { echo "$as_me:$LINENO: result: $ac_res" >&5
37095 echo "${ECHO_T}$ac_res" >&6; }
37097 if eval test \$wx_cv_func_$wx_func = yes
37099 cat >>confdefs.h <<_ACEOF
37100 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37111 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
37112 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
37113 cat >conftest.$ac_ext <<_ACEOF
37116 cat confdefs.h >>conftest.$ac_ext
37117 cat >>conftest.$ac_ext <<_ACEOF
37118 /* end confdefs.h. */
37128 rm -f conftest.$ac_objext
37129 if { (ac_try="$ac_compile"
37130 case "(($ac_try" in
37131 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37132 *) ac_try_echo
=$ac_try;;
37134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37135 (eval "$ac_compile") 2>conftest.er1
37137 grep -v '^ *+' conftest.er1
>conftest.err
37139 cat conftest.err
>&5
37140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37141 (exit $ac_status); } && {
37142 test -z "$ac_c_werror_flag" ||
37143 test ! -s conftest.err
37144 } && test -s conftest.
$ac_objext; then
37145 { echo "$as_me:$LINENO: result: yes" >&5
37146 echo "${ECHO_T}yes" >&6; }
37147 cat >>confdefs.h
<<\_ACEOF
37148 #define HAVE__VSNWPRINTF 1
37152 echo "$as_me: failed program was:" >&5
37153 sed 's/^/| /' conftest.
$ac_ext >&5
37155 { echo "$as_me:$LINENO: result: no" >&5
37156 echo "${ECHO_T}no" >&6; }
37159 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext;
37162 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
37164 for wx_func
in fnmatch
37166 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37167 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37168 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37169 echo $ECHO_N "(cached) $ECHO_C" >&6
37172 cat >conftest.
$ac_ext <<_ACEOF
37176 cat confdefs.h
>>conftest.
$ac_ext
37177 cat >>conftest.
$ac_ext <<_ACEOF
37178 /* end confdefs.h. */
37180 #include <fnmatch.h>
37181 $ac_includes_default
37197 rm -f conftest.
$ac_objext conftest
$ac_exeext
37198 if { (ac_try
="$ac_link"
37199 case "(($ac_try" in
37200 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37201 *) ac_try_echo=$ac_try;;
37203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37204 (eval "$ac_link") 2>conftest.er1
37206 grep -v '^ *+' conftest.er1 >conftest.err
37208 cat conftest.err >&5
37209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37210 (exit $ac_status); } && {
37211 test -z "$ac_c_werror_flag" ||
37212 test ! -s conftest.err
37213 } && test -s conftest$ac_exeext &&
37214 $as_test_x conftest$ac_exeext; then
37215 eval wx_cv_func_$wx_func=yes
37217 echo "$as_me: failed program was:" >&5
37218 sed 's/^/| /' conftest.$ac_ext >&5
37220 eval wx_cv_func_$wx_func=no
37223 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37224 conftest$ac_exeext conftest.$ac_ext
37227 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37228 { echo "$as_me:$LINENO: result: $ac_res" >&5
37229 echo "${ECHO_T}$ac_res" >&6; }
37231 if eval test \$wx_cv_func_$wx_func = yes
37233 cat >>confdefs.h <<_ACEOF
37234 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37246 if test "$wxUSE_FILE" = "yes"; then
37248 for wx_func in fsync
37250 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37251 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37252 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37253 echo $ECHO_N "(cached) $ECHO_C" >&6
37256 cat >conftest.$ac_ext <<_ACEOF
37260 cat confdefs.h >>conftest.$ac_ext
37261 cat >>conftest.$ac_ext <<_ACEOF
37262 /* end confdefs.h. */
37265 $ac_includes_default
37281 rm -f conftest.$ac_objext conftest$ac_exeext
37282 if { (ac_try="$ac_link"
37283 case "(($ac_try" in
37284 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37285 *) ac_try_echo
=$ac_try;;
37287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37288 (eval "$ac_link") 2>conftest.er1
37290 grep -v '^ *+' conftest.er1
>conftest.err
37292 cat conftest.err
>&5
37293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37294 (exit $ac_status); } && {
37295 test -z "$ac_c_werror_flag" ||
37296 test ! -s conftest.err
37297 } && test -s conftest
$ac_exeext &&
37298 $as_test_x conftest
$ac_exeext; then
37299 eval wx_cv_func_
$wx_func=yes
37301 echo "$as_me: failed program was:" >&5
37302 sed 's/^/| /' conftest.
$ac_ext >&5
37304 eval wx_cv_func_
$wx_func=no
37307 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37308 conftest
$ac_exeext conftest.
$ac_ext
37311 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37312 { echo "$as_me:$LINENO: result: $ac_res" >&5
37313 echo "${ECHO_T}$ac_res" >&6; }
37315 if eval test \
$wx_cv_func_$wx_func = yes
37317 cat >>confdefs.h
<<_ACEOF
37318 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37331 for wx_func
in round
37333 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37334 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37335 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37336 echo $ECHO_N "(cached) $ECHO_C" >&6
37339 cat >conftest.
$ac_ext <<_ACEOF
37343 cat confdefs.h
>>conftest.
$ac_ext
37344 cat >>conftest.
$ac_ext <<_ACEOF
37345 /* end confdefs.h. */
37348 $ac_includes_default
37364 rm -f conftest.
$ac_objext conftest
$ac_exeext
37365 if { (ac_try
="$ac_link"
37366 case "(($ac_try" in
37367 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37368 *) ac_try_echo=$ac_try;;
37370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37371 (eval "$ac_link") 2>conftest.er1
37373 grep -v '^ *+' conftest.er1 >conftest.err
37375 cat conftest.err >&5
37376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37377 (exit $ac_status); } && {
37378 test -z "$ac_c_werror_flag" ||
37379 test ! -s conftest.err
37380 } && test -s conftest$ac_exeext &&
37381 $as_test_x conftest$ac_exeext; then
37382 eval wx_cv_func_$wx_func=yes
37384 echo "$as_me: failed program was:" >&5
37385 sed 's/^/| /' conftest.$ac_ext >&5
37387 eval wx_cv_func_$wx_func=no
37390 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37391 conftest$ac_exeext conftest.$ac_ext
37394 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37395 { echo "$as_me:$LINENO: result: $ac_res" >&5
37396 echo "${ECHO_T}$ac_res" >&6; }
37398 if eval test \$wx_cv_func_$wx_func = yes
37400 cat >>confdefs.h <<_ACEOF
37401 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37412 if test "$TOOLKIT" != "MSW"; then
37418 # Check whether --with-libiconv-prefix was given.
37419 if test "${with_libiconv_prefix+set}" = set; then
37420 withval=$with_libiconv_prefix;
37421 for dir in `echo "$withval" | tr : ' '`; do
37422 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
37423 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
37429 { echo "$as_me:$LINENO: checking for iconv" >&5
37430 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
37431 if test "${am_cv_func_iconv+set}" = set; then
37432 echo $ECHO_N "(cached) $ECHO_C" >&6
37435 am_cv_func_iconv="no, consider installing GNU libiconv"
37437 cat >conftest.$ac_ext <<_ACEOF
37440 cat confdefs.h >>conftest.$ac_ext
37441 cat >>conftest.$ac_ext <<_ACEOF
37442 /* end confdefs.h. */
37443 #include <stdlib.h>
37448 iconv_t cd = iconv_open("","");
37449 iconv(cd,NULL,NULL,NULL,NULL);
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 am_cv_func_iconv
=yes
37475 echo "$as_me: failed program was:" >&5
37476 sed 's/^/| /' conftest.
$ac_ext >&5
37481 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37482 conftest
$ac_exeext conftest.
$ac_ext
37483 if test "$am_cv_func_iconv" != yes; then
37484 am_save_LIBS
="$LIBS"
37485 LIBS
="$LIBS -liconv"
37486 cat >conftest.
$ac_ext <<_ACEOF
37489 cat confdefs.h
>>conftest.
$ac_ext
37490 cat >>conftest.
$ac_ext <<_ACEOF
37491 /* end confdefs.h. */
37492 #include <stdlib.h>
37497 iconv_t cd = iconv_open("","");
37498 iconv(cd,NULL,NULL,NULL,NULL);
37504 rm -f conftest.
$ac_objext conftest
$ac_exeext
37505 if { (ac_try
="$ac_link"
37506 case "(($ac_try" in
37507 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37508 *) ac_try_echo=$ac_try;;
37510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37511 (eval "$ac_link") 2>conftest.er1
37513 grep -v '^ *+' conftest.er1 >conftest.err
37515 cat conftest.err >&5
37516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37517 (exit $ac_status); } && {
37518 test -z "$ac_c_werror_flag" ||
37519 test ! -s conftest.err
37520 } && test -s conftest$ac_exeext &&
37521 $as_test_x conftest$ac_exeext; then
37522 am_cv_lib_iconv=yes
37523 am_cv_func_iconv=yes
37525 echo "$as_me: failed program was:" >&5
37526 sed 's/^/| /' conftest.$ac_ext >&5
37531 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37532 conftest$ac_exeext conftest.$ac_ext
37533 LIBS="$am_save_LIBS"
37537 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
37538 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
37539 if test "$am_cv_func_iconv" = yes; then
37541 cat >>confdefs.h <<\_ACEOF
37542 #define HAVE_ICONV 1
37545 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
37546 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
37547 if test "${wx_cv_func_iconv_const+set}" = set; then
37548 echo $ECHO_N "(cached) $ECHO_C" >&6
37550 cat >conftest.$ac_ext <<_ACEOF
37553 cat confdefs.h >>conftest.$ac_ext
37554 cat >>conftest.$ac_ext <<_ACEOF
37555 /* end confdefs.h. */
37557 #include <stdlib.h>
37563 #if defined(__STDC__) || defined(__cplusplus)
37564 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
37577 rm -f conftest.$ac_objext
37578 if { (ac_try="$ac_compile"
37579 case "(($ac_try" in
37580 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37581 *) ac_try_echo
=$ac_try;;
37583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37584 (eval "$ac_compile") 2>conftest.er1
37586 grep -v '^ *+' conftest.er1
>conftest.err
37588 cat conftest.err
>&5
37589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37590 (exit $ac_status); } && {
37591 test -z "$ac_c_werror_flag" ||
37592 test ! -s conftest.err
37593 } && test -s conftest.
$ac_objext; then
37594 wx_cv_func_iconv_const
="no"
37596 echo "$as_me: failed program was:" >&5
37597 sed 's/^/| /' conftest.
$ac_ext >&5
37599 wx_cv_func_iconv_const
="yes"
37603 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37606 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
37607 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
37610 if test "x$wx_cv_func_iconv_const" = "xyes"; then
37611 iconv_const
="const"
37615 cat >>confdefs.h
<<_ACEOF
37616 #define ICONV_CONST $iconv_const
37621 if test "$am_cv_lib_iconv" = yes; then
37626 LIBS
="$LIBICONV $LIBS"
37628 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37630 for ac_func
in sigaction
37632 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37633 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37634 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37635 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37636 echo $ECHO_N "(cached) $ECHO_C" >&6
37638 cat >conftest.
$ac_ext <<_ACEOF
37641 cat confdefs.h
>>conftest.
$ac_ext
37642 cat >>conftest.
$ac_ext <<_ACEOF
37643 /* end confdefs.h. */
37644 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37645 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37646 #define $ac_func innocuous_$ac_func
37648 /* System header to define __stub macros and hopefully few prototypes,
37649 which can conflict with char $ac_func (); below.
37650 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37651 <limits.h> exists even on freestanding compilers. */
37654 # include <limits.h>
37656 # include <assert.h>
37661 /* Override any GCC internal prototype to avoid an error.
37662 Use char because int might match the return type of a GCC
37663 builtin and then its argument prototype would still apply. */
37668 /* The GNU C library defines this for functions which it implements
37669 to always fail with ENOSYS. Some functions are actually named
37670 something starting with __ and the normal name is an alias. */
37671 #if defined __stub_$ac_func || defined __stub___$ac_func
37678 return $ac_func ();
37683 rm -f conftest.
$ac_objext conftest
$ac_exeext
37684 if { (ac_try
="$ac_link"
37685 case "(($ac_try" in
37686 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37687 *) ac_try_echo=$ac_try;;
37689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37690 (eval "$ac_link") 2>conftest.er1
37692 grep -v '^ *+' conftest.er1 >conftest.err
37694 cat conftest.err >&5
37695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37696 (exit $ac_status); } && {
37697 test -z "$ac_c_werror_flag" ||
37698 test ! -s conftest.err
37699 } && test -s conftest$ac_exeext &&
37700 $as_test_x conftest$ac_exeext; then
37701 eval "$as_ac_var=yes"
37703 echo "$as_me: failed program was:" >&5
37704 sed 's/^/| /' conftest.$ac_ext >&5
37706 eval "$as_ac_var=no"
37709 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37710 conftest$ac_exeext conftest.$ac_ext
37712 ac_res=`eval echo '${'$as_ac_var'}'`
37713 { echo "$as_me:$LINENO: result: $ac_res" >&5
37714 echo "${ECHO_T}$ac_res" >&6; }
37715 if test `eval echo '${'$as_ac_var'}'` = yes; then
37716 cat >>confdefs.h <<_ACEOF
37717 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37724 if test "$ac_cv_func_sigaction" = "no"; then
37725 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
37726 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
37727 wxUSE_ON_FATAL_EXCEPTION=no
37730 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
37731 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
37732 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
37733 if test "${wx_cv_type_sa_handler+set}" = set; then
37734 echo $ECHO_N "(cached) $ECHO_C" >&6
37738 ac_cpp='$CXXCPP $CPPFLAGS'
37739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37743 cat >conftest.$ac_ext <<_ACEOF
37746 cat confdefs.h >>conftest.$ac_ext
37747 cat >>conftest.$ac_ext <<_ACEOF
37748 /* end confdefs.h. */
37749 #include <signal.h>
37754 extern void testSigHandler(int);
37756 struct sigaction sa;
37757 sa.sa_handler = testSigHandler;
37763 rm -f conftest.$ac_objext
37764 if { (ac_try="$ac_compile"
37765 case "(($ac_try" in
37766 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37767 *) ac_try_echo
=$ac_try;;
37769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37770 (eval "$ac_compile") 2>conftest.er1
37772 grep -v '^ *+' conftest.er1
>conftest.err
37774 cat conftest.err
>&5
37775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37776 (exit $ac_status); } && {
37777 test -z "$ac_cxx_werror_flag" ||
37778 test ! -s conftest.err
37779 } && test -s conftest.
$ac_objext; then
37781 wx_cv_type_sa_handler
=int
37784 echo "$as_me: failed program was:" >&5
37785 sed 's/^/| /' conftest.
$ac_ext >&5
37788 wx_cv_type_sa_handler
=void
37792 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37794 ac_cpp
='$CPP $CPPFLAGS'
37795 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37796 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37797 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37801 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
37802 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
37804 cat >>confdefs.h
<<_ACEOF
37805 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
37811 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37812 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
37813 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
37814 if test "${wx_cv_func_backtrace+set}" = set; then
37815 echo $ECHO_N "(cached) $ECHO_C" >&6
37819 ac_cpp
='$CXXCPP $CPPFLAGS'
37820 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37821 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37822 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37824 cat >conftest.
$ac_ext <<_ACEOF
37827 cat confdefs.h
>>conftest.
$ac_ext
37828 cat >>conftest.
$ac_ext <<_ACEOF
37829 /* end confdefs.h. */
37830 #include <execinfo.h>
37838 backtrace(trace, 1);
37839 messages = backtrace_symbols(trace, 1);
37845 rm -f conftest.
$ac_objext
37846 if { (ac_try
="$ac_compile"
37847 case "(($ac_try" in
37848 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37849 *) ac_try_echo=$ac_try;;
37851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37852 (eval "$ac_compile") 2>conftest.er1
37854 grep -v '^ *+' conftest.er1 >conftest.err
37856 cat conftest.err >&5
37857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37858 (exit $ac_status); } && {
37859 test -z "$ac_cxx_werror_flag" ||
37860 test ! -s conftest.err
37861 } && test -s conftest.$ac_objext; then
37862 wx_cv_func_backtrace=yes
37864 echo "$as_me: failed program was:" >&5
37865 sed 's/^/| /' conftest.$ac_ext >&5
37867 wx_cv_func_backtrace=no
37871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37873 ac_cpp='$CPP $CPPFLAGS'
37874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37881 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
37882 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
37885 if test "$wx_cv_func_backtrace" = "no"; then
37886 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
37887 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
37888 wxUSE_STACKWALKER=no
37890 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
37891 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
37892 if test "${wx_cv_func_cxa_demangle+set}" = set; then
37893 echo $ECHO_N "(cached) $ECHO_C" >&6
37897 ac_cpp='$CXXCPP $CPPFLAGS'
37898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37902 cat >conftest.$ac_ext <<_ACEOF
37905 cat confdefs.h >>conftest.$ac_ext
37906 cat >>conftest.$ac_ext <<_ACEOF
37907 /* end confdefs.h. */
37908 #include <cxxabi.h>
37914 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
37920 rm -f conftest.$ac_objext conftest$ac_exeext
37921 if { (ac_try="$ac_link"
37922 case "(($ac_try" in
37923 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37924 *) ac_try_echo
=$ac_try;;
37926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37927 (eval "$ac_link") 2>conftest.er1
37929 grep -v '^ *+' conftest.er1
>conftest.err
37931 cat conftest.err
>&5
37932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37933 (exit $ac_status); } && {
37934 test -z "$ac_cxx_werror_flag" ||
37935 test ! -s conftest.err
37936 } && test -s conftest
$ac_exeext &&
37937 $as_test_x conftest
$ac_exeext; then
37938 wx_cv_func_cxa_demangle
=yes
37940 echo "$as_me: failed program was:" >&5
37941 sed 's/^/| /' conftest.
$ac_ext >&5
37943 wx_cv_func_cxa_demangle
=no
37947 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37948 conftest
$ac_exeext conftest.
$ac_ext
37950 ac_cpp
='$CPP $CPPFLAGS'
37951 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37952 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37953 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37958 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
37959 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
37961 if test "$wx_cv_func_cxa_demangle" = "yes"; then
37962 cat >>confdefs.h
<<\_ACEOF
37963 #define HAVE_CXA_DEMANGLE 1
37970 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
37971 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
37972 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
37973 wxUSE_STACKWALKER
=no
37979 for ac_func
in mkstemp mktemp
37981 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37982 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37983 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37984 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37985 echo $ECHO_N "(cached) $ECHO_C" >&6
37987 cat >conftest.
$ac_ext <<_ACEOF
37990 cat confdefs.h
>>conftest.
$ac_ext
37991 cat >>conftest.
$ac_ext <<_ACEOF
37992 /* end confdefs.h. */
37993 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37994 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37995 #define $ac_func innocuous_$ac_func
37997 /* System header to define __stub macros and hopefully few prototypes,
37998 which can conflict with char $ac_func (); below.
37999 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38000 <limits.h> exists even on freestanding compilers. */
38003 # include <limits.h>
38005 # include <assert.h>
38010 /* Override any GCC internal prototype to avoid an error.
38011 Use char because int might match the return type of a GCC
38012 builtin and then its argument prototype would still apply. */
38017 /* The GNU C library defines this for functions which it implements
38018 to always fail with ENOSYS. Some functions are actually named
38019 something starting with __ and the normal name is an alias. */
38020 #if defined __stub_$ac_func || defined __stub___$ac_func
38027 return $ac_func ();
38032 rm -f conftest.
$ac_objext conftest
$ac_exeext
38033 if { (ac_try
="$ac_link"
38034 case "(($ac_try" in
38035 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38036 *) ac_try_echo=$ac_try;;
38038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38039 (eval "$ac_link") 2>conftest.er1
38041 grep -v '^ *+' conftest.er1 >conftest.err
38043 cat conftest.err >&5
38044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38045 (exit $ac_status); } && {
38046 test -z "$ac_c_werror_flag" ||
38047 test ! -s conftest.err
38048 } && test -s conftest$ac_exeext &&
38049 $as_test_x conftest$ac_exeext; then
38050 eval "$as_ac_var=yes"
38052 echo "$as_me: failed program was:" >&5
38053 sed 's/^/| /' conftest.$ac_ext >&5
38055 eval "$as_ac_var=no"
38058 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38059 conftest$ac_exeext conftest.$ac_ext
38061 ac_res=`eval echo '${'$as_ac_var'}'`
38062 { echo "$as_me:$LINENO: result: $ac_res" >&5
38063 echo "${ECHO_T}$ac_res" >&6; }
38064 if test `eval echo '${'$as_ac_var'}'` = yes; then
38065 cat >>confdefs.h <<_ACEOF
38066 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38073 { echo "$as_me:$LINENO: checking for statfs" >&5
38074 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
38075 if test "${wx_cv_func_statfs+set}" = set; then
38076 echo $ECHO_N "(cached) $ECHO_C" >&6
38078 cat >conftest.$ac_ext <<_ACEOF
38081 cat confdefs.h >>conftest.$ac_ext
38082 cat >>conftest.$ac_ext <<_ACEOF
38083 /* end confdefs.h. */
38085 #if defined(__BSD__)
38086 #include <sys/param.h>
38087 #include <sys/mount.h>
38089 #include <sys/vfs.h>
38107 rm -f conftest.$ac_objext
38108 if { (ac_try="$ac_compile"
38109 case "(($ac_try" in
38110 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38111 *) ac_try_echo
=$ac_try;;
38113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38114 (eval "$ac_compile") 2>conftest.er1
38116 grep -v '^ *+' conftest.er1
>conftest.err
38118 cat conftest.err
>&5
38119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38120 (exit $ac_status); } && {
38121 test -z "$ac_c_werror_flag" ||
38122 test ! -s conftest.err
38123 } && test -s conftest.
$ac_objext; then
38124 wx_cv_func_statfs
=yes
38126 echo "$as_me: failed program was:" >&5
38127 sed 's/^/| /' conftest.
$ac_ext >&5
38129 wx_cv_func_statfs
=no
38133 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38136 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
38137 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
38139 if test "$wx_cv_func_statfs" = "yes"; then
38140 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
38141 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
38142 if test "${wx_cv_func_statfs_decl+set}" = set; then
38143 echo $ECHO_N "(cached) $ECHO_C" >&6
38146 ac_cpp
='$CXXCPP $CPPFLAGS'
38147 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38148 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38149 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38151 cat >conftest.
$ac_ext <<_ACEOF
38154 cat confdefs.h
>>conftest.
$ac_ext
38155 cat >>conftest.
$ac_ext <<_ACEOF
38156 /* end confdefs.h. */
38158 #if defined(__BSD__)
38159 #include <sys/param.h>
38160 #include <sys/mount.h>
38162 #include <sys/vfs.h>
38176 rm -f conftest.
$ac_objext
38177 if { (ac_try
="$ac_compile"
38178 case "(($ac_try" in
38179 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38180 *) ac_try_echo=$ac_try;;
38182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38183 (eval "$ac_compile") 2>conftest.er1
38185 grep -v '^ *+' conftest.er1 >conftest.err
38187 cat conftest.err >&5
38188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38189 (exit $ac_status); } && {
38190 test -z "$ac_cxx_werror_flag" ||
38191 test ! -s conftest.err
38192 } && test -s conftest.$ac_objext; then
38193 wx_cv_func_statfs_decl=yes
38195 echo "$as_me: failed program was:" >&5
38196 sed 's/^/| /' conftest.$ac_ext >&5
38198 wx_cv_func_statfs_decl=no
38202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38204 ac_cpp='$CPP $CPPFLAGS'
38205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38211 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
38212 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
38214 if test "$wx_cv_func_statfs_decl" = "yes"; then
38215 cat >>confdefs.h <<\_ACEOF
38216 #define HAVE_STATFS_DECL 1
38221 wx_cv_type_statvfs_t="struct statfs"
38222 cat >>confdefs.h <<\_ACEOF
38223 #define HAVE_STATFS 1
38227 { echo "$as_me:$LINENO: checking for statvfs" >&5
38228 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
38229 if test "${wx_cv_func_statvfs+set}" = set; then
38230 echo $ECHO_N "(cached) $ECHO_C" >&6
38232 cat >conftest.$ac_ext <<_ACEOF
38235 cat confdefs.h >>conftest.$ac_ext
38236 cat >>conftest.$ac_ext <<_ACEOF
38237 /* end confdefs.h. */
38239 #include <stddef.h>
38240 #include <sys/statvfs.h>
38246 statvfs("/", NULL);
38252 rm -f conftest.$ac_objext
38253 if { (ac_try="$ac_compile"
38254 case "(($ac_try" in
38255 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38256 *) ac_try_echo
=$ac_try;;
38258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38259 (eval "$ac_compile") 2>conftest.er1
38261 grep -v '^ *+' conftest.er1
>conftest.err
38263 cat conftest.err
>&5
38264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38265 (exit $ac_status); } && {
38266 test -z "$ac_c_werror_flag" ||
38267 test ! -s conftest.err
38268 } && test -s conftest.
$ac_objext; then
38269 wx_cv_func_statvfs
=yes
38271 echo "$as_me: failed program was:" >&5
38272 sed 's/^/| /' conftest.
$ac_ext >&5
38274 wx_cv_func_statvfs
=no
38278 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38281 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
38282 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
38284 if test "$wx_cv_func_statvfs" = "yes"; then
38285 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
38286 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
38287 if test "${wx_cv_type_statvfs_t+set}" = set; then
38288 echo $ECHO_N "(cached) $ECHO_C" >&6
38291 ac_cpp
='$CXXCPP $CPPFLAGS'
38292 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38293 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38294 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38296 cat >conftest.
$ac_ext <<_ACEOF
38299 cat confdefs.h
>>conftest.
$ac_ext
38300 cat >>conftest.
$ac_ext <<_ACEOF
38301 /* end confdefs.h. */
38303 #include <sys/statvfs.h>
38320 rm -f conftest.
$ac_objext
38321 if { (ac_try
="$ac_compile"
38322 case "(($ac_try" in
38323 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38324 *) ac_try_echo=$ac_try;;
38326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38327 (eval "$ac_compile") 2>conftest.er1
38329 grep -v '^ *+' conftest.er1 >conftest.err
38331 cat conftest.err >&5
38332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38333 (exit $ac_status); } && {
38334 test -z "$ac_cxx_werror_flag" ||
38335 test ! -s conftest.err
38336 } && test -s conftest.$ac_objext; then
38337 wx_cv_type_statvfs_t=statvfs_t
38339 echo "$as_me: failed program was:" >&5
38340 sed 's/^/| /' conftest.$ac_ext >&5
38343 cat >conftest.$ac_ext <<_ACEOF
38346 cat confdefs.h >>conftest.$ac_ext
38347 cat >>conftest.$ac_ext <<_ACEOF
38348 /* end confdefs.h. */
38350 #include <sys/statvfs.h>
38367 rm -f conftest.$ac_objext
38368 if { (ac_try="$ac_compile"
38369 case "(($ac_try" in
38370 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38371 *) ac_try_echo
=$ac_try;;
38373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38374 (eval "$ac_compile") 2>conftest.er1
38376 grep -v '^ *+' conftest.er1
>conftest.err
38378 cat conftest.err
>&5
38379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38380 (exit $ac_status); } && {
38381 test -z "$ac_cxx_werror_flag" ||
38382 test ! -s conftest.err
38383 } && test -s conftest.
$ac_objext; then
38384 wx_cv_type_statvfs_t
="struct statvfs"
38386 echo "$as_me: failed program was:" >&5
38387 sed 's/^/| /' conftest.
$ac_ext >&5
38389 wx_cv_type_statvfs_t
="unknown"
38393 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38398 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38400 ac_cpp
='$CPP $CPPFLAGS'
38401 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38402 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38403 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38407 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
38408 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
38410 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38411 cat >>confdefs.h
<<\_ACEOF
38412 #define HAVE_STATVFS 1
38417 wx_cv_type_statvfs_t
="unknown"
38421 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38422 cat >>confdefs.h
<<_ACEOF
38423 #define WX_STATFS_T $wx_cv_type_statvfs_t
38427 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
38428 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
38431 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
38434 for ac_func
in fcntl flock
38436 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38437 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38438 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38439 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38440 echo $ECHO_N "(cached) $ECHO_C" >&6
38442 cat >conftest.
$ac_ext <<_ACEOF
38445 cat confdefs.h
>>conftest.
$ac_ext
38446 cat >>conftest.
$ac_ext <<_ACEOF
38447 /* end confdefs.h. */
38448 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38449 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38450 #define $ac_func innocuous_$ac_func
38452 /* System header to define __stub macros and hopefully few prototypes,
38453 which can conflict with char $ac_func (); below.
38454 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38455 <limits.h> exists even on freestanding compilers. */
38458 # include <limits.h>
38460 # include <assert.h>
38465 /* Override any GCC internal prototype to avoid an error.
38466 Use char because int might match the return type of a GCC
38467 builtin and then its argument prototype would still apply. */
38472 /* The GNU C library defines this for functions which it implements
38473 to always fail with ENOSYS. Some functions are actually named
38474 something starting with __ and the normal name is an alias. */
38475 #if defined __stub_$ac_func || defined __stub___$ac_func
38482 return $ac_func ();
38487 rm -f conftest.
$ac_objext conftest
$ac_exeext
38488 if { (ac_try
="$ac_link"
38489 case "(($ac_try" in
38490 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38491 *) ac_try_echo=$ac_try;;
38493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38494 (eval "$ac_link") 2>conftest.er1
38496 grep -v '^ *+' conftest.er1 >conftest.err
38498 cat conftest.err >&5
38499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38500 (exit $ac_status); } && {
38501 test -z "$ac_c_werror_flag" ||
38502 test ! -s conftest.err
38503 } && test -s conftest$ac_exeext &&
38504 $as_test_x conftest$ac_exeext; then
38505 eval "$as_ac_var=yes"
38507 echo "$as_me: failed program was:" >&5
38508 sed 's/^/| /' conftest.$ac_ext >&5
38510 eval "$as_ac_var=no"
38513 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38514 conftest$ac_exeext conftest.$ac_ext
38516 ac_res=`eval echo '${'$as_ac_var'}'`
38517 { echo "$as_me:$LINENO: result: $ac_res" >&5
38518 echo "${ECHO_T}$ac_res" >&6; }
38519 if test `eval echo '${'$as_ac_var'}'` = yes; then
38520 cat >>confdefs.h <<_ACEOF
38521 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38528 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
38529 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
38530 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
38531 wxUSE_SNGLINST_CHECKER=no
38536 for ac_func in timegm
38538 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38539 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38540 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38541 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38542 echo $ECHO_N "(cached) $ECHO_C" >&6
38544 cat >conftest.$ac_ext <<_ACEOF
38547 cat confdefs.h >>conftest.$ac_ext
38548 cat >>conftest.$ac_ext <<_ACEOF
38549 /* end confdefs.h. */
38550 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38551 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38552 #define $ac_func innocuous_$ac_func
38554 /* System header to define __stub macros and hopefully few prototypes,
38555 which can conflict with char $ac_func (); below.
38556 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38557 <limits.h> exists even on freestanding compilers. */
38560 # include <limits.h>
38562 # include <assert.h>
38567 /* Override any GCC internal prototype to avoid an error.
38568 Use char because int might match the return type of a GCC
38569 builtin and then its argument prototype would still apply. */
38574 /* The GNU C library defines this for functions which it implements
38575 to always fail with ENOSYS. Some functions are actually named
38576 something starting with __ and the normal name is an alias. */
38577 #if defined __stub_$ac_func || defined __stub___$ac_func
38584 return $ac_func ();
38589 rm -f conftest.$ac_objext conftest$ac_exeext
38590 if { (ac_try="$ac_link"
38591 case "(($ac_try" in
38592 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38593 *) ac_try_echo
=$ac_try;;
38595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38596 (eval "$ac_link") 2>conftest.er1
38598 grep -v '^ *+' conftest.er1
>conftest.err
38600 cat conftest.err
>&5
38601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38602 (exit $ac_status); } && {
38603 test -z "$ac_c_werror_flag" ||
38604 test ! -s conftest.err
38605 } && test -s conftest
$ac_exeext &&
38606 $as_test_x conftest
$ac_exeext; then
38607 eval "$as_ac_var=yes"
38609 echo "$as_me: failed program was:" >&5
38610 sed 's/^/| /' conftest.
$ac_ext >&5
38612 eval "$as_ac_var=no"
38615 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38616 conftest
$ac_exeext conftest.
$ac_ext
38618 ac_res
=`eval echo '${'$as_ac_var'}'`
38619 { echo "$as_me:$LINENO: result: $ac_res" >&5
38620 echo "${ECHO_T}$ac_res" >&6; }
38621 if test `eval echo '${'$as_ac_var'}'` = yes; then
38622 cat >>confdefs.h
<<_ACEOF
38623 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38632 for ac_func
in putenv setenv
38634 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38635 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38636 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38637 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38638 echo $ECHO_N "(cached) $ECHO_C" >&6
38640 cat >conftest.
$ac_ext <<_ACEOF
38643 cat confdefs.h
>>conftest.
$ac_ext
38644 cat >>conftest.
$ac_ext <<_ACEOF
38645 /* end confdefs.h. */
38646 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38647 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38648 #define $ac_func innocuous_$ac_func
38650 /* System header to define __stub macros and hopefully few prototypes,
38651 which can conflict with char $ac_func (); below.
38652 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38653 <limits.h> exists even on freestanding compilers. */
38656 # include <limits.h>
38658 # include <assert.h>
38663 /* Override any GCC internal prototype to avoid an error.
38664 Use char because int might match the return type of a GCC
38665 builtin and then its argument prototype would still apply. */
38670 /* The GNU C library defines this for functions which it implements
38671 to always fail with ENOSYS. Some functions are actually named
38672 something starting with __ and the normal name is an alias. */
38673 #if defined __stub_$ac_func || defined __stub___$ac_func
38680 return $ac_func ();
38685 rm -f conftest.
$ac_objext conftest
$ac_exeext
38686 if { (ac_try
="$ac_link"
38687 case "(($ac_try" in
38688 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38689 *) ac_try_echo=$ac_try;;
38691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38692 (eval "$ac_link") 2>conftest.er1
38694 grep -v '^ *+' conftest.er1 >conftest.err
38696 cat conftest.err >&5
38697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38698 (exit $ac_status); } && {
38699 test -z "$ac_c_werror_flag" ||
38700 test ! -s conftest.err
38701 } && test -s conftest$ac_exeext &&
38702 $as_test_x conftest$ac_exeext; then
38703 eval "$as_ac_var=yes"
38705 echo "$as_me: failed program was:" >&5
38706 sed 's/^/| /' conftest.$ac_ext >&5
38708 eval "$as_ac_var=no"
38711 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38712 conftest$ac_exeext conftest.$ac_ext
38714 ac_res=`eval echo '${'$as_ac_var'}'`
38715 { echo "$as_me:$LINENO: result: $ac_res" >&5
38716 echo "${ECHO_T}$ac_res" >&6; }
38717 if test `eval echo '${'$as_ac_var'}'` = yes; then
38718 cat >>confdefs.h <<_ACEOF
38719 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38726 HAVE_SOME_SLEEP_FUNC=0
38727 if test "$USE_BEOS" = 1; then
38728 cat >>confdefs.h <<\_ACEOF
38729 #define HAVE_SLEEP 1
38732 HAVE_SOME_SLEEP_FUNC=1
38735 if test "$USE_DARWIN" = 1; then
38736 cat >>confdefs.h <<\_ACEOF
38737 #define HAVE_USLEEP 1
38740 HAVE_SOME_SLEEP_FUNC=1
38743 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
38746 for ac_func in nanosleep
38748 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38749 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38750 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38751 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38752 echo $ECHO_N "(cached) $ECHO_C" >&6
38754 cat >conftest.$ac_ext <<_ACEOF
38757 cat confdefs.h >>conftest.$ac_ext
38758 cat >>conftest.$ac_ext <<_ACEOF
38759 /* end confdefs.h. */
38760 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38761 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38762 #define $ac_func innocuous_$ac_func
38764 /* System header to define __stub macros and hopefully few prototypes,
38765 which can conflict with char $ac_func (); below.
38766 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38767 <limits.h> exists even on freestanding compilers. */
38770 # include <limits.h>
38772 # include <assert.h>
38777 /* Override any GCC internal prototype to avoid an error.
38778 Use char because int might match the return type of a GCC
38779 builtin and then its argument prototype would still apply. */
38784 /* The GNU C library defines this for functions which it implements
38785 to always fail with ENOSYS. Some functions are actually named
38786 something starting with __ and the normal name is an alias. */
38787 #if defined __stub_$ac_func || defined __stub___$ac_func
38794 return $ac_func ();
38799 rm -f conftest.$ac_objext conftest$ac_exeext
38800 if { (ac_try="$ac_link"
38801 case "(($ac_try" in
38802 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38803 *) ac_try_echo
=$ac_try;;
38805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38806 (eval "$ac_link") 2>conftest.er1
38808 grep -v '^ *+' conftest.er1
>conftest.err
38810 cat conftest.err
>&5
38811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38812 (exit $ac_status); } && {
38813 test -z "$ac_c_werror_flag" ||
38814 test ! -s conftest.err
38815 } && test -s conftest
$ac_exeext &&
38816 $as_test_x conftest
$ac_exeext; then
38817 eval "$as_ac_var=yes"
38819 echo "$as_me: failed program was:" >&5
38820 sed 's/^/| /' conftest.
$ac_ext >&5
38822 eval "$as_ac_var=no"
38825 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38826 conftest
$ac_exeext conftest.
$ac_ext
38828 ac_res
=`eval echo '${'$as_ac_var'}'`
38829 { echo "$as_me:$LINENO: result: $ac_res" >&5
38830 echo "${ECHO_T}$ac_res" >&6; }
38831 if test `eval echo '${'$as_ac_var'}'` = yes; then
38832 cat >>confdefs.h
<<_ACEOF
38833 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38835 cat >>confdefs.h
<<\_ACEOF
38836 #define HAVE_NANOSLEEP 1
38841 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
38842 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
38843 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
38844 echo $ECHO_N "(cached) $ECHO_C" >&6
38846 ac_check_lib_save_LIBS
=$LIBS
38847 LIBS
="-lposix4 $LIBS"
38848 cat >conftest.
$ac_ext <<_ACEOF
38851 cat confdefs.h
>>conftest.
$ac_ext
38852 cat >>conftest.
$ac_ext <<_ACEOF
38853 /* end confdefs.h. */
38855 /* Override any GCC internal prototype to avoid an error.
38856 Use char because int might match the return type of a GCC
38857 builtin and then its argument prototype would still apply. */
38865 return nanosleep ();
38870 rm -f conftest.
$ac_objext conftest
$ac_exeext
38871 if { (ac_try
="$ac_link"
38872 case "(($ac_try" in
38873 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38874 *) ac_try_echo=$ac_try;;
38876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38877 (eval "$ac_link") 2>conftest.er1
38879 grep -v '^ *+' conftest.er1 >conftest.err
38881 cat conftest.err >&5
38882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38883 (exit $ac_status); } && {
38884 test -z "$ac_c_werror_flag" ||
38885 test ! -s conftest.err
38886 } && test -s conftest$ac_exeext &&
38887 $as_test_x conftest$ac_exeext; then
38888 ac_cv_lib_posix4_nanosleep=yes
38890 echo "$as_me: failed program was:" >&5
38891 sed 's/^/| /' conftest.$ac_ext >&5
38893 ac_cv_lib_posix4_nanosleep=no
38896 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38897 conftest$ac_exeext conftest.$ac_ext
38898 LIBS=$ac_check_lib_save_LIBS
38900 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
38901 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
38902 if test $ac_cv_lib_posix4_nanosleep = yes; then
38904 cat >>confdefs.h <<\_ACEOF
38905 #define HAVE_NANOSLEEP 1
38908 POSIX4_LINK=" -lposix4"
38913 for wx_func in usleep
38915 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38916 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38917 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38918 echo $ECHO_N "(cached) $ECHO_C" >&6
38921 cat >conftest.$ac_ext <<_ACEOF
38925 cat confdefs.h >>conftest.$ac_ext
38926 cat >>conftest.$ac_ext <<_ACEOF
38927 /* end confdefs.h. */
38930 $ac_includes_default
38946 rm -f conftest.$ac_objext conftest$ac_exeext
38947 if { (ac_try="$ac_link"
38948 case "(($ac_try" in
38949 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38950 *) ac_try_echo
=$ac_try;;
38952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38953 (eval "$ac_link") 2>conftest.er1
38955 grep -v '^ *+' conftest.er1
>conftest.err
38957 cat conftest.err
>&5
38958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38959 (exit $ac_status); } && {
38960 test -z "$ac_c_werror_flag" ||
38961 test ! -s conftest.err
38962 } && test -s conftest
$ac_exeext &&
38963 $as_test_x conftest
$ac_exeext; then
38964 eval wx_cv_func_
$wx_func=yes
38966 echo "$as_me: failed program was:" >&5
38967 sed 's/^/| /' conftest.
$ac_ext >&5
38969 eval wx_cv_func_
$wx_func=no
38972 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38973 conftest
$ac_exeext conftest.
$ac_ext
38976 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38977 { echo "$as_me:$LINENO: result: $ac_res" >&5
38978 echo "${ECHO_T}$ac_res" >&6; }
38980 if eval test \
$wx_cv_func_$wx_func = yes
38982 cat >>confdefs.h
<<_ACEOF
38983 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38989 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
38990 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
39007 for wx_func
in uname
39009 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39010 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39011 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39012 echo $ECHO_N "(cached) $ECHO_C" >&6
39015 cat >conftest.
$ac_ext <<_ACEOF
39019 cat confdefs.h
>>conftest.
$ac_ext
39020 cat >>conftest.
$ac_ext <<_ACEOF
39021 /* end confdefs.h. */
39023 #include <sys/utsname.h>
39024 $ac_includes_default
39040 rm -f conftest.
$ac_objext conftest
$ac_exeext
39041 if { (ac_try
="$ac_link"
39042 case "(($ac_try" in
39043 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39044 *) ac_try_echo=$ac_try;;
39046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39047 (eval "$ac_link") 2>conftest.er1
39049 grep -v '^ *+' conftest.er1 >conftest.err
39051 cat conftest.err >&5
39052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39053 (exit $ac_status); } && {
39054 test -z "$ac_c_werror_flag" ||
39055 test ! -s conftest.err
39056 } && test -s conftest$ac_exeext &&
39057 $as_test_x conftest$ac_exeext; then
39058 eval wx_cv_func_$wx_func=yes
39060 echo "$as_me: failed program was:" >&5
39061 sed 's/^/| /' conftest.$ac_ext >&5
39063 eval wx_cv_func_$wx_func=no
39066 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39067 conftest$ac_exeext conftest.$ac_ext
39070 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39071 { echo "$as_me:$LINENO: result: $ac_res" >&5
39072 echo "${ECHO_T}$ac_res" >&6; }
39074 if eval test \$wx_cv_func_$wx_func = yes
39076 cat >>confdefs.h <<_ACEOF
39077 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
39087 if test "$wx_cv_func_uname" != yes; then
39089 for wx_func in gethostname
39091 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39092 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39093 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39094 echo $ECHO_N "(cached) $ECHO_C" >&6
39097 cat >conftest.$ac_ext <<_ACEOF
39101 cat confdefs.h >>conftest.$ac_ext
39102 cat >>conftest.$ac_ext <<_ACEOF
39103 /* end confdefs.h. */
39106 $ac_includes_default
39122 rm -f conftest.$ac_objext conftest$ac_exeext
39123 if { (ac_try="$ac_link"
39124 case "(($ac_try" in
39125 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39126 *) ac_try_echo
=$ac_try;;
39128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39129 (eval "$ac_link") 2>conftest.er1
39131 grep -v '^ *+' conftest.er1
>conftest.err
39133 cat conftest.err
>&5
39134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39135 (exit $ac_status); } && {
39136 test -z "$ac_c_werror_flag" ||
39137 test ! -s conftest.err
39138 } && test -s conftest
$ac_exeext &&
39139 $as_test_x conftest
$ac_exeext; then
39140 eval wx_cv_func_
$wx_func=yes
39142 echo "$as_me: failed program was:" >&5
39143 sed 's/^/| /' conftest.
$ac_ext >&5
39145 eval wx_cv_func_
$wx_func=no
39148 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39149 conftest
$ac_exeext conftest.
$ac_ext
39152 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
39153 { echo "$as_me:$LINENO: result: $ac_res" >&5
39154 echo "${ECHO_T}$ac_res" >&6; }
39156 if eval test \
$wx_cv_func_$wx_func = yes
39158 cat >>confdefs.h
<<_ACEOF
39159 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
39172 for wx_func
in strtok_r
39174 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39175 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39176 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39177 echo $ECHO_N "(cached) $ECHO_C" >&6
39180 cat >conftest.
$ac_ext <<_ACEOF
39184 cat confdefs.h
>>conftest.
$ac_ext
39185 cat >>conftest.
$ac_ext <<_ACEOF
39186 /* end confdefs.h. */
39189 $ac_includes_default
39205 rm -f conftest.
$ac_objext conftest
$ac_exeext
39206 if { (ac_try
="$ac_link"
39207 case "(($ac_try" in
39208 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39209 *) ac_try_echo=$ac_try;;
39211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39212 (eval "$ac_link") 2>conftest.er1
39214 grep -v '^ *+' conftest.er1 >conftest.err
39216 cat conftest.err >&5
39217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39218 (exit $ac_status); } && {
39219 test -z "$ac_c_werror_flag" ||
39220 test ! -s conftest.err
39221 } && test -s conftest$ac_exeext &&
39222 $as_test_x conftest$ac_exeext; then
39223 eval wx_cv_func_$wx_func=yes
39225 echo "$as_me: failed program was:" >&5
39226 sed 's/^/| /' conftest.$ac_ext >&5
39228 eval wx_cv_func_$wx_func=no
39231 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39232 conftest$ac_exeext conftest.$ac_ext
39235 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39236 { echo "$as_me:$LINENO: result: $ac_res" >&5
39237 echo "${ECHO_T}$ac_res" >&6; }
39239 if eval test \$wx_cv_func_$wx_func = yes
39241 cat >>confdefs.h <<_ACEOF
39242 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
39255 for ac_func in inet_addr
39257 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39258 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39259 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39260 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39261 echo $ECHO_N "(cached) $ECHO_C" >&6
39263 cat >conftest.$ac_ext <<_ACEOF
39266 cat confdefs.h >>conftest.$ac_ext
39267 cat >>conftest.$ac_ext <<_ACEOF
39268 /* end confdefs.h. */
39269 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39270 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39271 #define $ac_func innocuous_$ac_func
39273 /* System header to define __stub macros and hopefully few prototypes,
39274 which can conflict with char $ac_func (); below.
39275 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39276 <limits.h> exists even on freestanding compilers. */
39279 # include <limits.h>
39281 # include <assert.h>
39286 /* Override any GCC internal prototype to avoid an error.
39287 Use char because int might match the return type of a GCC
39288 builtin and then its argument prototype would still apply. */
39293 /* The GNU C library defines this for functions which it implements
39294 to always fail with ENOSYS. Some functions are actually named
39295 something starting with __ and the normal name is an alias. */
39296 #if defined __stub_$ac_func || defined __stub___$ac_func
39303 return $ac_func ();
39308 rm -f conftest.$ac_objext conftest$ac_exeext
39309 if { (ac_try="$ac_link"
39310 case "(($ac_try" in
39311 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39312 *) ac_try_echo
=$ac_try;;
39314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39315 (eval "$ac_link") 2>conftest.er1
39317 grep -v '^ *+' conftest.er1
>conftest.err
39319 cat conftest.err
>&5
39320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39321 (exit $ac_status); } && {
39322 test -z "$ac_c_werror_flag" ||
39323 test ! -s conftest.err
39324 } && test -s conftest
$ac_exeext &&
39325 $as_test_x conftest
$ac_exeext; then
39326 eval "$as_ac_var=yes"
39328 echo "$as_me: failed program was:" >&5
39329 sed 's/^/| /' conftest.
$ac_ext >&5
39331 eval "$as_ac_var=no"
39334 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39335 conftest
$ac_exeext conftest.
$ac_ext
39337 ac_res
=`eval echo '${'$as_ac_var'}'`
39338 { echo "$as_me:$LINENO: result: $ac_res" >&5
39339 echo "${ECHO_T}$ac_res" >&6; }
39340 if test `eval echo '${'$as_ac_var'}'` = yes; then
39341 cat >>confdefs.h
<<_ACEOF
39342 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39344 cat >>confdefs.h
<<\_ACEOF
39345 #define HAVE_INET_ADDR 1
39350 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
39351 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
39352 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
39353 echo $ECHO_N "(cached) $ECHO_C" >&6
39355 ac_check_lib_save_LIBS
=$LIBS
39357 cat >conftest.
$ac_ext <<_ACEOF
39360 cat confdefs.h
>>conftest.
$ac_ext
39361 cat >>conftest.
$ac_ext <<_ACEOF
39362 /* end confdefs.h. */
39364 /* Override any GCC internal prototype to avoid an error.
39365 Use char because int might match the return type of a GCC
39366 builtin and then its argument prototype would still apply. */
39374 return inet_addr ();
39379 rm -f conftest.
$ac_objext conftest
$ac_exeext
39380 if { (ac_try
="$ac_link"
39381 case "(($ac_try" in
39382 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39383 *) ac_try_echo=$ac_try;;
39385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39386 (eval "$ac_link") 2>conftest.er1
39388 grep -v '^ *+' conftest.er1 >conftest.err
39390 cat conftest.err >&5
39391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39392 (exit $ac_status); } && {
39393 test -z "$ac_c_werror_flag" ||
39394 test ! -s conftest.err
39395 } && test -s conftest$ac_exeext &&
39396 $as_test_x conftest$ac_exeext; then
39397 ac_cv_lib_nsl_inet_addr=yes
39399 echo "$as_me: failed program was:" >&5
39400 sed 's/^/| /' conftest.$ac_ext >&5
39402 ac_cv_lib_nsl_inet_addr=no
39405 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39406 conftest$ac_exeext conftest.$ac_ext
39407 LIBS=$ac_check_lib_save_LIBS
39409 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
39410 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
39411 if test $ac_cv_lib_nsl_inet_addr = yes; then
39415 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
39416 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
39417 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
39418 echo $ECHO_N "(cached) $ECHO_C" >&6
39420 ac_check_lib_save_LIBS=$LIBS
39421 LIBS="-lresolv $LIBS"
39422 cat >conftest.$ac_ext <<_ACEOF
39425 cat confdefs.h >>conftest.$ac_ext
39426 cat >>conftest.$ac_ext <<_ACEOF
39427 /* end confdefs.h. */
39429 /* Override any GCC internal prototype to avoid an error.
39430 Use char because int might match the return type of a GCC
39431 builtin and then its argument prototype would still apply. */
39439 return inet_addr ();
39444 rm -f conftest.$ac_objext conftest$ac_exeext
39445 if { (ac_try="$ac_link"
39446 case "(($ac_try" in
39447 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39448 *) ac_try_echo
=$ac_try;;
39450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39451 (eval "$ac_link") 2>conftest.er1
39453 grep -v '^ *+' conftest.er1
>conftest.err
39455 cat conftest.err
>&5
39456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39457 (exit $ac_status); } && {
39458 test -z "$ac_c_werror_flag" ||
39459 test ! -s conftest.err
39460 } && test -s conftest
$ac_exeext &&
39461 $as_test_x conftest
$ac_exeext; then
39462 ac_cv_lib_resolv_inet_addr
=yes
39464 echo "$as_me: failed program was:" >&5
39465 sed 's/^/| /' conftest.
$ac_ext >&5
39467 ac_cv_lib_resolv_inet_addr
=no
39470 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39471 conftest
$ac_exeext conftest.
$ac_ext
39472 LIBS
=$ac_check_lib_save_LIBS
39474 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
39475 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
39476 if test $ac_cv_lib_resolv_inet_addr = yes; then
39480 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
39481 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
39482 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
39483 echo $ECHO_N "(cached) $ECHO_C" >&6
39485 ac_check_lib_save_LIBS
=$LIBS
39486 LIBS
="-lsocket $LIBS"
39487 cat >conftest.
$ac_ext <<_ACEOF
39490 cat confdefs.h
>>conftest.
$ac_ext
39491 cat >>conftest.
$ac_ext <<_ACEOF
39492 /* end confdefs.h. */
39494 /* Override any GCC internal prototype to avoid an error.
39495 Use char because int might match the return type of a GCC
39496 builtin and then its argument prototype would still apply. */
39504 return inet_addr ();
39509 rm -f conftest.
$ac_objext conftest
$ac_exeext
39510 if { (ac_try
="$ac_link"
39511 case "(($ac_try" in
39512 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39513 *) ac_try_echo=$ac_try;;
39515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39516 (eval "$ac_link") 2>conftest.er1
39518 grep -v '^ *+' conftest.er1 >conftest.err
39520 cat conftest.err >&5
39521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39522 (exit $ac_status); } && {
39523 test -z "$ac_c_werror_flag" ||
39524 test ! -s conftest.err
39525 } && test -s conftest$ac_exeext &&
39526 $as_test_x conftest$ac_exeext; then
39527 ac_cv_lib_socket_inet_addr=yes
39529 echo "$as_me: failed program was:" >&5
39530 sed 's/^/| /' conftest.$ac_ext >&5
39532 ac_cv_lib_socket_inet_addr=no
39535 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39536 conftest$ac_exeext conftest.$ac_ext
39537 LIBS=$ac_check_lib_save_LIBS
39539 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
39540 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
39541 if test $ac_cv_lib_socket_inet_addr = yes; then
39561 for ac_func in inet_aton
39563 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39564 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39565 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39566 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39567 echo $ECHO_N "(cached) $ECHO_C" >&6
39569 cat >conftest.$ac_ext <<_ACEOF
39572 cat confdefs.h >>conftest.$ac_ext
39573 cat >>conftest.$ac_ext <<_ACEOF
39574 /* end confdefs.h. */
39575 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39576 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39577 #define $ac_func innocuous_$ac_func
39579 /* System header to define __stub macros and hopefully few prototypes,
39580 which can conflict with char $ac_func (); below.
39581 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39582 <limits.h> exists even on freestanding compilers. */
39585 # include <limits.h>
39587 # include <assert.h>
39592 /* Override any GCC internal prototype to avoid an error.
39593 Use char because int might match the return type of a GCC
39594 builtin and then its argument prototype would still apply. */
39599 /* The GNU C library defines this for functions which it implements
39600 to always fail with ENOSYS. Some functions are actually named
39601 something starting with __ and the normal name is an alias. */
39602 #if defined __stub_$ac_func || defined __stub___$ac_func
39609 return $ac_func ();
39614 rm -f conftest.$ac_objext conftest$ac_exeext
39615 if { (ac_try="$ac_link"
39616 case "(($ac_try" in
39617 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39618 *) ac_try_echo
=$ac_try;;
39620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39621 (eval "$ac_link") 2>conftest.er1
39623 grep -v '^ *+' conftest.er1
>conftest.err
39625 cat conftest.err
>&5
39626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39627 (exit $ac_status); } && {
39628 test -z "$ac_c_werror_flag" ||
39629 test ! -s conftest.err
39630 } && test -s conftest
$ac_exeext &&
39631 $as_test_x conftest
$ac_exeext; then
39632 eval "$as_ac_var=yes"
39634 echo "$as_me: failed program was:" >&5
39635 sed 's/^/| /' conftest.
$ac_ext >&5
39637 eval "$as_ac_var=no"
39640 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39641 conftest
$ac_exeext conftest.
$ac_ext
39643 ac_res
=`eval echo '${'$as_ac_var'}'`
39644 { echo "$as_me:$LINENO: result: $ac_res" >&5
39645 echo "${ECHO_T}$ac_res" >&6; }
39646 if test `eval echo '${'$as_ac_var'}'` = yes; then
39647 cat >>confdefs.h
<<_ACEOF
39648 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39650 cat >>confdefs.h
<<\_ACEOF
39651 #define HAVE_INET_ATON 1
39656 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
39657 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
39658 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
39659 if { as_var
=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
39660 echo $ECHO_N "(cached) $ECHO_C" >&6
39662 ac_check_lib_save_LIBS
=$LIBS
39663 LIBS
="-l$INET_LINK $LIBS"
39664 cat >conftest.
$ac_ext <<_ACEOF
39667 cat confdefs.h
>>conftest.
$ac_ext
39668 cat >>conftest.
$ac_ext <<_ACEOF
39669 /* end confdefs.h. */
39671 /* Override any GCC internal prototype to avoid an error.
39672 Use char because int might match the return type of a GCC
39673 builtin and then its argument prototype would still apply. */
39681 return inet_aton ();
39686 rm -f conftest.
$ac_objext conftest
$ac_exeext
39687 if { (ac_try
="$ac_link"
39688 case "(($ac_try" in
39689 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39690 *) ac_try_echo=$ac_try;;
39692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39693 (eval "$ac_link") 2>conftest.er1
39695 grep -v '^ *+' conftest.er1 >conftest.err
39697 cat conftest.err >&5
39698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39699 (exit $ac_status); } && {
39700 test -z "$ac_c_werror_flag" ||
39701 test ! -s conftest.err
39702 } && test -s conftest$ac_exeext &&
39703 $as_test_x conftest$ac_exeext; then
39704 eval "$as_ac_Lib=yes"
39706 echo "$as_me: failed program was:" >&5
39707 sed 's/^/| /' conftest.$ac_ext >&5
39709 eval "$as_ac_Lib=no"
39712 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39713 conftest$ac_exeext conftest.$ac_ext
39714 LIBS=$ac_check_lib_save_LIBS
39716 ac_res=`eval echo '${'$as_ac_Lib'}'`
39717 { echo "$as_me:$LINENO: result: $ac_res" >&5
39718 echo "${ECHO_T}$ac_res" >&6; }
39719 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
39720 cat >>confdefs.h <<\_ACEOF
39721 #define HAVE_INET_ATON 1
39731 if test "x$INET_LINK" != "x"; then
39732 cat >>confdefs.h <<\_ACEOF
39733 #define HAVE_INET_ADDR 1
39736 INET_LINK=" -l$INET_LINK"
39740 for wx_func in fdopen
39742 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39743 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39744 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39745 echo $ECHO_N "(cached) $ECHO_C" >&6
39748 cat >conftest.$ac_ext <<_ACEOF
39752 cat confdefs.h >>conftest.$ac_ext
39753 cat >>conftest.$ac_ext <<_ACEOF
39754 /* end confdefs.h. */
39757 $ac_includes_default
39773 rm -f conftest.$ac_objext conftest$ac_exeext
39774 if { (ac_try="$ac_link"
39775 case "(($ac_try" in
39776 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39777 *) ac_try_echo
=$ac_try;;
39779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39780 (eval "$ac_link") 2>conftest.er1
39782 grep -v '^ *+' conftest.er1
>conftest.err
39784 cat conftest.err
>&5
39785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39786 (exit $ac_status); } && {
39787 test -z "$ac_c_werror_flag" ||
39788 test ! -s conftest.err
39789 } && test -s conftest
$ac_exeext &&
39790 $as_test_x conftest
$ac_exeext; then
39791 eval wx_cv_func_
$wx_func=yes
39793 echo "$as_me: failed program was:" >&5
39794 sed 's/^/| /' conftest.
$ac_ext >&5
39796 eval wx_cv_func_
$wx_func=no
39799 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39800 conftest
$ac_exeext conftest.
$ac_ext
39803 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
39804 { echo "$as_me:$LINENO: result: $ac_res" >&5
39805 echo "${ECHO_T}$ac_res" >&6; }
39807 if eval test \
$wx_cv_func_$wx_func = yes
39809 cat >>confdefs.h
<<_ACEOF
39810 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
39827 { echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
39828 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6; }
39829 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
39830 echo $ECHO_N "(cached) $ECHO_C" >&6
39832 ac_check_lib_save_LIBS
=$LIBS
39834 cat >conftest.
$ac_ext <<_ACEOF
39837 cat confdefs.h
>>conftest.
$ac_ext
39838 cat >>conftest.
$ac_ext <<_ACEOF
39839 /* end confdefs.h. */
39841 /* Override any GCC internal prototype to avoid an error.
39842 Use char because int might match the return type of a GCC
39843 builtin and then its argument prototype would still apply. */
39851 return esd_close ();
39856 rm -f conftest.
$ac_objext conftest
$ac_exeext
39857 if { (ac_try
="$ac_link"
39858 case "(($ac_try" in
39859 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39860 *) ac_try_echo=$ac_try;;
39862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39863 (eval "$ac_link") 2>conftest.er1
39865 grep -v '^ *+' conftest.er1 >conftest.err
39867 cat conftest.err >&5
39868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39869 (exit $ac_status); } && {
39870 test -z "$ac_c_werror_flag" ||
39871 test ! -s conftest.err
39872 } && test -s conftest$ac_exeext &&
39873 $as_test_x conftest$ac_exeext; then
39874 ac_cv_lib_esd_esd_close=yes
39876 echo "$as_me: failed program was:" >&5
39877 sed 's/^/| /' conftest.$ac_ext >&5
39879 ac_cv_lib_esd_esd_close=no
39882 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39883 conftest$ac_exeext conftest.$ac_ext
39884 LIBS=$ac_check_lib_save_LIBS
39886 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
39887 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6; }
39888 if test $ac_cv_lib_esd_esd_close = yes; then
39891 for ac_header in esd.h
39893 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39894 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39895 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39896 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39897 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39898 echo $ECHO_N "(cached) $ECHO_C" >&6
39900 ac_res=`eval echo '${'$as_ac_Header'}'`
39901 { echo "$as_me:$LINENO: result: $ac_res" >&5
39902 echo "${ECHO_T}$ac_res" >&6; }
39904 # Is the header compilable?
39905 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
39906 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
39907 cat >conftest.$ac_ext <<_ACEOF
39910 cat confdefs.h >>conftest.$ac_ext
39911 cat >>conftest.$ac_ext <<_ACEOF
39912 /* end confdefs.h. */
39913 $ac_includes_default
39914 #include <$ac_header>
39916 rm -f conftest.$ac_objext
39917 if { (ac_try="$ac_compile"
39918 case "(($ac_try" in
39919 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39920 *) ac_try_echo
=$ac_try;;
39922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39923 (eval "$ac_compile") 2>conftest.er1
39925 grep -v '^ *+' conftest.er1
>conftest.err
39927 cat conftest.err
>&5
39928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39929 (exit $ac_status); } && {
39930 test -z "$ac_c_werror_flag" ||
39931 test ! -s conftest.err
39932 } && test -s conftest.
$ac_objext; then
39933 ac_header_compiler
=yes
39935 echo "$as_me: failed program was:" >&5
39936 sed 's/^/| /' conftest.
$ac_ext >&5
39938 ac_header_compiler
=no
39941 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39942 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39943 echo "${ECHO_T}$ac_header_compiler" >&6; }
39945 # Is the header present?
39946 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
39947 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
39948 cat >conftest.
$ac_ext <<_ACEOF
39951 cat confdefs.h
>>conftest.
$ac_ext
39952 cat >>conftest.
$ac_ext <<_ACEOF
39953 /* end confdefs.h. */
39954 #include <$ac_header>
39956 if { (ac_try
="$ac_cpp conftest.$ac_ext"
39957 case "(($ac_try" in
39958 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39959 *) ac_try_echo=$ac_try;;
39961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39962 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
39964 grep -v '^ *+' conftest.er1 >conftest.err
39966 cat conftest.err >&5
39967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39968 (exit $ac_status); } >/dev/null && {
39969 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
39970 test ! -s conftest.err
39972 ac_header_preproc=yes
39974 echo "$as_me: failed program was:" >&5
39975 sed 's/^/| /' conftest.$ac_ext >&5
39977 ac_header_preproc=no
39980 rm -f conftest.err conftest.$ac_ext
39981 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39982 echo "${ECHO_T}$ac_header_preproc" >&6; }
39984 # So? What about this header?
39985 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
39987 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39988 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39989 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39990 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39991 ac_header_preproc=yes
39994 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39995 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39996 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39997 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39998 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39999 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
40000 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
40001 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
40002 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
40003 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
40004 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
40005 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
40007 ## ----------------------------------------- ##
40008 ## Report this to wx-dev@lists.wxwidgets.org ##
40009 ## ----------------------------------------- ##
40011 ) | sed "s/^/$as_me: WARNING: /" >&2
40014 { echo "$as_me:$LINENO: checking for $ac_header" >&5
40015 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
40016 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
40017 echo $ECHO_N "(cached) $ECHO_C" >&6
40019 eval "$as_ac_Header=\$ac_header_preproc"
40021 ac_res=`eval echo '${'$as_ac_Header'}'`
40022 { echo "$as_me:$LINENO: result: $ac_res" >&5
40023 echo "${ECHO_T}$ac_res" >&6; }
40026 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40027 cat >>confdefs.h <<_ACEOF
40028 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40031 EXTRALIBS_ESD="-lesd"
40042 { echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
40043 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6; }
40044 cat >conftest.$ac_ext <<_ACEOF
40047 cat confdefs.h >>conftest.$ac_ext
40048 cat >>conftest.$ac_ext <<_ACEOF
40049 /* end confdefs.h. */
40051 #include <linux/cdrom.h>
40054 #include <sys/cdio.h>
40060 struct cdrom_tocentry entry, old_entry;
40065 rm -f conftest.$ac_objext
40066 if { (ac_try="$ac_compile"
40067 case "(($ac_try" in
40068 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40069 *) ac_try_echo
=$ac_try;;
40071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40072 (eval "$ac_compile") 2>conftest.er1
40074 grep -v '^ *+' conftest.er1
>conftest.err
40076 cat conftest.err
>&5
40077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40078 (exit $ac_status); } && {
40079 test -z "$ac_c_werror_flag" ||
40080 test ! -s conftest.err
40081 } && test -s conftest.
$ac_objext; then
40082 { echo "$as_me:$LINENO: result: yes" >&5
40083 echo "${ECHO_T}yes" >&6; }
40084 cat >>confdefs.h
<<\_ACEOF
40085 #define HAVE_KNOWN_CDROM_INTERFACE 1
40089 echo "$as_me: failed program was:" >&5
40090 sed 's/^/| /' conftest.
$ac_ext >&5
40092 { echo "$as_me:$LINENO: result: no" >&5
40093 echo "${ECHO_T}no" >&6; }
40096 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40099 cat >confcache
<<\_ACEOF
40100 # This file is a shell script that caches the results of configure
40101 # tests run on this system so they can be shared between configure
40102 # scripts and configure runs, see configure's option --config-cache.
40103 # It is not useful on other systems. If it contains results you don't
40104 # want to keep, you may remove or edit it.
40106 # config.status only pays attention to the cache file if you give it
40107 # the --recheck option to rerun configure.
40109 # `ac_cv_env_foo' variables (set or unset) will be overridden when
40110 # loading this file, other *unset* `ac_cv_foo' will be assigned the
40111 # following values.
40115 # The following way of writing the cache mishandles newlines in values,
40116 # but we know of no workaround that is simple, portable, and efficient.
40117 # So, we kill variables containing newlines.
40118 # Ultrix sh set writes to stderr and can't be redirected directly,
40119 # and sets the high bit in the cache file unless we assign to the vars.
40121 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
40122 eval ac_val
=\$
$ac_var
40126 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
40127 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
40130 _
| IFS
| as_nl
) ;; #(
40131 *) $as_unset $ac_var ;;
40137 case $as_nl`(ac_space=' '; set) 2>&1` in #(
40138 *${as_nl}ac_space
=\
*)
40139 # `set' does not quote correctly, so add quotes (double-quote
40140 # substitution turns \\\\ into \\, and sed turns \\ into \).
40143 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
40146 # `set' quotes correctly as required by POSIX, so do not add quotes.
40147 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
40156 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
40158 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
40160 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
40161 if test -w "$cache_file"; then
40162 test "x$cache_file" != "x/dev/null" &&
40163 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
40164 echo "$as_me: updating cache $cache_file" >&6;}
40165 cat confcache
>$cache_file
40167 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
40168 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
40174 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40180 if test "$wxUSE_THREADS" = "yes" ; then
40181 if test "$USE_BEOS" = 1; then
40182 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
40183 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
40188 if test "$wxUSE_THREADS" = "yes" ; then
40191 THREAD_OPTS
="-pthread"
40193 *-*-solaris2* | *-*-sunos4* )
40194 if test "x$GCC" = "xyes"; then
40195 THREAD_OPTS
="-pthreads $THREAD_OPTS"
40197 THREAD_OPTS
="-mt $THREAD_OPTS"
40201 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
40203 *-*-darwin* | *-*-cygwin* )
40207 THREAD_OPTS
="pthreads"
40210 if test "x$GCC" = "xyes"; then
40211 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
40219 if test "x$GCC" = "xyes"; then
40225 if test "x$GCC" != "xyes"; then
40226 THREAD_OPTS
="-Ethread"
40231 THREAD_OPTS
="$THREAD_OPTS pthread none"
40234 for flag
in $THREAD_OPTS; do
40237 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
40238 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
40242 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
40243 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
40244 THREADS_CFLAGS
="$flag"
40248 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
40249 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
40250 THREADS_LINK
="-l$flag"
40255 save_CFLAGS
="$CFLAGS"
40256 LIBS
="$THREADS_LINK $LIBS"
40257 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
40259 cat >conftest.
$ac_ext <<_ACEOF
40262 cat confdefs.h
>>conftest.
$ac_ext
40263 cat >>conftest.
$ac_ext <<_ACEOF
40264 /* end confdefs.h. */
40265 #include <pthread.h>
40269 pthread_create(0,0,0,0);
40274 rm -f conftest.
$ac_objext conftest
$ac_exeext
40275 if { (ac_try
="$ac_link"
40276 case "(($ac_try" in
40277 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40278 *) ac_try_echo=$ac_try;;
40280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40281 (eval "$ac_link") 2>conftest.er1
40283 grep -v '^ *+' conftest.er1 >conftest.err
40285 cat conftest.err >&5
40286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40287 (exit $ac_status); } && {
40288 test -z "$ac_c_werror_flag" ||
40289 test ! -s conftest.err
40290 } && test -s conftest$ac_exeext &&
40291 $as_test_x conftest$ac_exeext; then
40294 echo "$as_me: failed program was:" >&5
40295 sed 's/^/| /' conftest.$ac_ext >&5
40300 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40301 conftest$ac_exeext conftest.$ac_ext
40304 CFLAGS="$save_CFLAGS"
40306 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
40307 echo "${ECHO_T}$THREADS_OK" >&6; }
40308 if test "x$THREADS_OK" = "xyes"; then
40316 if test "x$THREADS_OK" != "xyes"; then
40318 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
40319 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
40321 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
40322 LIBS="$THREADS_LINK $LIBS"
40324 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
40325 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
40329 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
40330 flag="-D_THREAD_SAFE"
40333 flag="-D_THREAD_SAFE"
40336 flag="-D_REENTRANT"
40337 if test "x$GCC" != "xyes"; then
40338 flag="$flag -D_RWSTD_MULTI_THREAD"
40341 *solaris* | alpha*-osf*)
40342 flag="-D_REENTRANT"
40345 { echo "$as_me:$LINENO: result: ${flag}" >&5
40346 echo "${ECHO_T}${flag}" >&6; }
40347 if test "x$flag" != xno; then
40348 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
40351 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
40355 if test "$wxUSE_THREADS" = "yes" ; then
40357 for ac_func in thr_setconcurrency
40359 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40360 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40361 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40362 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40363 echo $ECHO_N "(cached) $ECHO_C" >&6
40365 cat >conftest.$ac_ext <<_ACEOF
40368 cat confdefs.h >>conftest.$ac_ext
40369 cat >>conftest.$ac_ext <<_ACEOF
40370 /* end confdefs.h. */
40371 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40372 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40373 #define $ac_func innocuous_$ac_func
40375 /* System header to define __stub macros and hopefully few prototypes,
40376 which can conflict with char $ac_func (); below.
40377 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40378 <limits.h> exists even on freestanding compilers. */
40381 # include <limits.h>
40383 # include <assert.h>
40388 /* Override any GCC internal prototype to avoid an error.
40389 Use char because int might match the return type of a GCC
40390 builtin and then its argument prototype would still apply. */
40395 /* The GNU C library defines this for functions which it implements
40396 to always fail with ENOSYS. Some functions are actually named
40397 something starting with __ and the normal name is an alias. */
40398 #if defined __stub_$ac_func || defined __stub___$ac_func
40405 return $ac_func ();
40410 rm -f conftest.$ac_objext conftest$ac_exeext
40411 if { (ac_try="$ac_link"
40412 case "(($ac_try" in
40413 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40414 *) ac_try_echo
=$ac_try;;
40416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40417 (eval "$ac_link") 2>conftest.er1
40419 grep -v '^ *+' conftest.er1
>conftest.err
40421 cat conftest.err
>&5
40422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40423 (exit $ac_status); } && {
40424 test -z "$ac_c_werror_flag" ||
40425 test ! -s conftest.err
40426 } && test -s conftest
$ac_exeext &&
40427 $as_test_x conftest
$ac_exeext; then
40428 eval "$as_ac_var=yes"
40430 echo "$as_me: failed program was:" >&5
40431 sed 's/^/| /' conftest.
$ac_ext >&5
40433 eval "$as_ac_var=no"
40436 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40437 conftest
$ac_exeext conftest.
$ac_ext
40439 ac_res
=`eval echo '${'$as_ac_var'}'`
40440 { echo "$as_me:$LINENO: result: $ac_res" >&5
40441 echo "${ECHO_T}$ac_res" >&6; }
40442 if test `eval echo '${'$as_ac_var'}'` = yes; then
40443 cat >>confdefs.h
<<_ACEOF
40444 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40451 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
40452 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
40453 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
40454 echo $ECHO_N "(cached) $ECHO_C" >&6
40457 cat >conftest.
$ac_ext <<_ACEOF
40460 cat confdefs.h
>>conftest.
$ac_ext
40461 cat >>conftest.
$ac_ext <<_ACEOF
40462 /* end confdefs.h. */
40463 #include <pthread.h>
40464 void ThreadCleanupFunc(void *p);
40471 pthread_cleanup_push(ThreadCleanupFunc, p);
40472 pthread_cleanup_pop(0);
40478 rm -f conftest.
$ac_objext
40479 if { (ac_try
="$ac_compile"
40480 case "(($ac_try" in
40481 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40482 *) ac_try_echo=$ac_try;;
40484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40485 (eval "$ac_compile") 2>conftest.er1
40487 grep -v '^ *+' conftest.er1 >conftest.err
40489 cat conftest.err >&5
40490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40491 (exit $ac_status); } && {
40492 test -z "$ac_c_werror_flag" ||
40493 test ! -s conftest.err
40494 } && test -s conftest.$ac_objext; then
40496 wx_cv_func_pthread_cleanup=yes
40499 echo "$as_me: failed program was:" >&5
40500 sed 's/^/| /' conftest.$ac_ext >&5
40503 wx_cv_func_pthread_cleanup=no
40508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40511 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
40512 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
40513 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
40514 cat >>confdefs.h <<\_ACEOF
40515 #define wxHAVE_PTHREAD_CLEANUP 1
40521 for ac_header in sched.h
40523 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40524 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
40525 { echo "$as_me:$LINENO: checking for $ac_header" >&5
40526 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
40527 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
40528 echo $ECHO_N "(cached) $ECHO_C" >&6
40530 ac_res=`eval echo '${'$as_ac_Header'}'`
40531 { echo "$as_me:$LINENO: result: $ac_res" >&5
40532 echo "${ECHO_T}$ac_res" >&6; }
40534 # Is the header compilable?
40535 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
40536 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
40537 cat >conftest.$ac_ext <<_ACEOF
40540 cat confdefs.h >>conftest.$ac_ext
40541 cat >>conftest.$ac_ext <<_ACEOF
40542 /* end confdefs.h. */
40543 $ac_includes_default
40544 #include <$ac_header>
40546 rm -f conftest.$ac_objext
40547 if { (ac_try="$ac_compile"
40548 case "(($ac_try" in
40549 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40550 *) ac_try_echo
=$ac_try;;
40552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40553 (eval "$ac_compile") 2>conftest.er1
40555 grep -v '^ *+' conftest.er1
>conftest.err
40557 cat conftest.err
>&5
40558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40559 (exit $ac_status); } && {
40560 test -z "$ac_c_werror_flag" ||
40561 test ! -s conftest.err
40562 } && test -s conftest.
$ac_objext; then
40563 ac_header_compiler
=yes
40565 echo "$as_me: failed program was:" >&5
40566 sed 's/^/| /' conftest.
$ac_ext >&5
40568 ac_header_compiler
=no
40571 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40572 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
40573 echo "${ECHO_T}$ac_header_compiler" >&6; }
40575 # Is the header present?
40576 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
40577 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
40578 cat >conftest.
$ac_ext <<_ACEOF
40581 cat confdefs.h
>>conftest.
$ac_ext
40582 cat >>conftest.
$ac_ext <<_ACEOF
40583 /* end confdefs.h. */
40584 #include <$ac_header>
40586 if { (ac_try
="$ac_cpp conftest.$ac_ext"
40587 case "(($ac_try" in
40588 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40589 *) ac_try_echo=$ac_try;;
40591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40592 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
40594 grep -v '^ *+' conftest.er1 >conftest.err
40596 cat conftest.err >&5
40597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40598 (exit $ac_status); } >/dev/null && {
40599 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
40600 test ! -s conftest.err
40602 ac_header_preproc=yes
40604 echo "$as_me: failed program was:" >&5
40605 sed 's/^/| /' conftest.$ac_ext >&5
40607 ac_header_preproc=no
40610 rm -f conftest.err conftest.$ac_ext
40611 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
40612 echo "${ECHO_T}$ac_header_preproc" >&6; }
40614 # So? What about this header?
40615 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
40617 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
40618 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
40619 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
40620 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
40621 ac_header_preproc=yes
40624 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
40625 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
40626 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
40627 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
40628 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
40629 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
40630 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
40631 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
40632 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
40633 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
40634 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
40635 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
40637 ## ----------------------------------------- ##
40638 ## Report this to wx-dev@lists.wxwidgets.org ##
40639 ## ----------------------------------------- ##
40641 ) | sed "s/^/$as_me: WARNING: /" >&2
40644 { echo "$as_me:$LINENO: checking for $ac_header" >&5
40645 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
40646 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
40647 echo $ECHO_N "(cached) $ECHO_C" >&6
40649 eval "$as_ac_Header=\$ac_header_preproc"
40651 ac_res=`eval echo '${'$as_ac_Header'}'`
40652 { echo "$as_me:$LINENO: result: $ac_res" >&5
40653 echo "${ECHO_T}$ac_res" >&6; }
40656 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40657 cat >>confdefs.h <<_ACEOF
40658 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40665 if test "$ac_cv_header_sched_h" = "yes"; then
40666 { echo "$as_me:$LINENO: checking for sched_yield" >&5
40667 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
40668 if test "${ac_cv_func_sched_yield+set}" = set; then
40669 echo $ECHO_N "(cached) $ECHO_C" >&6
40671 cat >conftest.$ac_ext <<_ACEOF
40674 cat confdefs.h >>conftest.$ac_ext
40675 cat >>conftest.$ac_ext <<_ACEOF
40676 /* end confdefs.h. */
40677 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
40678 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40679 #define sched_yield innocuous_sched_yield
40681 /* System header to define __stub macros and hopefully few prototypes,
40682 which can conflict with char sched_yield (); below.
40683 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40684 <limits.h> exists even on freestanding compilers. */
40687 # include <limits.h>
40689 # include <assert.h>
40694 /* Override any GCC internal prototype to avoid an error.
40695 Use char because int might match the return type of a GCC
40696 builtin and then its argument prototype would still apply. */
40700 char sched_yield ();
40701 /* The GNU C library defines this for functions which it implements
40702 to always fail with ENOSYS. Some functions are actually named
40703 something starting with __ and the normal name is an alias. */
40704 #if defined __stub_sched_yield || defined __stub___sched_yield
40711 return sched_yield ();
40716 rm -f conftest.$ac_objext conftest$ac_exeext
40717 if { (ac_try="$ac_link"
40718 case "(($ac_try" in
40719 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40720 *) ac_try_echo
=$ac_try;;
40722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40723 (eval "$ac_link") 2>conftest.er1
40725 grep -v '^ *+' conftest.er1
>conftest.err
40727 cat conftest.err
>&5
40728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40729 (exit $ac_status); } && {
40730 test -z "$ac_c_werror_flag" ||
40731 test ! -s conftest.err
40732 } && test -s conftest
$ac_exeext &&
40733 $as_test_x conftest
$ac_exeext; then
40734 ac_cv_func_sched_yield
=yes
40736 echo "$as_me: failed program was:" >&5
40737 sed 's/^/| /' conftest.
$ac_ext >&5
40739 ac_cv_func_sched_yield
=no
40742 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40743 conftest
$ac_exeext conftest.
$ac_ext
40745 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
40746 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
40747 if test $ac_cv_func_sched_yield = yes; then
40748 cat >>confdefs.h
<<\_ACEOF
40749 #define HAVE_SCHED_YIELD 1
40754 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
40755 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
40756 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
40757 echo $ECHO_N "(cached) $ECHO_C" >&6
40759 ac_check_lib_save_LIBS
=$LIBS
40760 LIBS
="-lposix4 $LIBS"
40761 cat >conftest.
$ac_ext <<_ACEOF
40764 cat confdefs.h
>>conftest.
$ac_ext
40765 cat >>conftest.
$ac_ext <<_ACEOF
40766 /* end confdefs.h. */
40768 /* Override any GCC internal prototype to avoid an error.
40769 Use char because int might match the return type of a GCC
40770 builtin and then its argument prototype would still apply. */
40774 char sched_yield ();
40778 return sched_yield ();
40783 rm -f conftest.
$ac_objext conftest
$ac_exeext
40784 if { (ac_try
="$ac_link"
40785 case "(($ac_try" in
40786 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40787 *) ac_try_echo=$ac_try;;
40789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40790 (eval "$ac_link") 2>conftest.er1
40792 grep -v '^ *+' conftest.er1 >conftest.err
40794 cat conftest.err >&5
40795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40796 (exit $ac_status); } && {
40797 test -z "$ac_c_werror_flag" ||
40798 test ! -s conftest.err
40799 } && test -s conftest$ac_exeext &&
40800 $as_test_x conftest$ac_exeext; then
40801 ac_cv_lib_posix4_sched_yield=yes
40803 echo "$as_me: failed program was:" >&5
40804 sed 's/^/| /' conftest.$ac_ext >&5
40806 ac_cv_lib_posix4_sched_yield=no
40809 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40810 conftest$ac_exeext conftest.$ac_ext
40811 LIBS=$ac_check_lib_save_LIBS
40813 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
40814 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
40815 if test $ac_cv_lib_posix4_sched_yield = yes; then
40816 cat >>confdefs.h <<\_ACEOF
40817 #define HAVE_SCHED_YIELD 1
40819 POSIX4_LINK=" -lposix4"
40821 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
40822 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
40833 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
40834 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
40835 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
40836 echo $ECHO_N "(cached) $ECHO_C" >&6
40838 cat >conftest.$ac_ext <<_ACEOF
40841 cat confdefs.h >>conftest.$ac_ext
40842 cat >>conftest.$ac_ext <<_ACEOF
40843 /* end confdefs.h. */
40844 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
40845 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40846 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
40848 /* System header to define __stub macros and hopefully few prototypes,
40849 which can conflict with char pthread_attr_getschedpolicy (); below.
40850 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40851 <limits.h> exists even on freestanding compilers. */
40854 # include <limits.h>
40856 # include <assert.h>
40859 #undef pthread_attr_getschedpolicy
40861 /* Override any GCC internal prototype to avoid an error.
40862 Use char because int might match the return type of a GCC
40863 builtin and then its argument prototype would still apply. */
40867 char pthread_attr_getschedpolicy ();
40868 /* The GNU C library defines this for functions which it implements
40869 to always fail with ENOSYS. Some functions are actually named
40870 something starting with __ and the normal name is an alias. */
40871 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
40878 return pthread_attr_getschedpolicy ();
40883 rm -f conftest.$ac_objext conftest$ac_exeext
40884 if { (ac_try="$ac_link"
40885 case "(($ac_try" in
40886 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40887 *) ac_try_echo
=$ac_try;;
40889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40890 (eval "$ac_link") 2>conftest.er1
40892 grep -v '^ *+' conftest.er1
>conftest.err
40894 cat conftest.err
>&5
40895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40896 (exit $ac_status); } && {
40897 test -z "$ac_c_werror_flag" ||
40898 test ! -s conftest.err
40899 } && test -s conftest
$ac_exeext &&
40900 $as_test_x conftest
$ac_exeext; then
40901 ac_cv_func_pthread_attr_getschedpolicy
=yes
40903 echo "$as_me: failed program was:" >&5
40904 sed 's/^/| /' conftest.
$ac_ext >&5
40906 ac_cv_func_pthread_attr_getschedpolicy
=no
40909 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40910 conftest
$ac_exeext conftest.
$ac_ext
40912 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
40913 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
40914 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
40915 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
40916 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
40917 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
40918 echo $ECHO_N "(cached) $ECHO_C" >&6
40920 cat >conftest.
$ac_ext <<_ACEOF
40923 cat confdefs.h
>>conftest.
$ac_ext
40924 cat >>conftest.
$ac_ext <<_ACEOF
40925 /* end confdefs.h. */
40926 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
40927 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40928 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
40930 /* System header to define __stub macros and hopefully few prototypes,
40931 which can conflict with char pthread_attr_setschedparam (); below.
40932 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40933 <limits.h> exists even on freestanding compilers. */
40936 # include <limits.h>
40938 # include <assert.h>
40941 #undef pthread_attr_setschedparam
40943 /* Override any GCC internal prototype to avoid an error.
40944 Use char because int might match the return type of a GCC
40945 builtin and then its argument prototype would still apply. */
40949 char pthread_attr_setschedparam ();
40950 /* The GNU C library defines this for functions which it implements
40951 to always fail with ENOSYS. Some functions are actually named
40952 something starting with __ and the normal name is an alias. */
40953 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
40960 return pthread_attr_setschedparam ();
40965 rm -f conftest.
$ac_objext conftest
$ac_exeext
40966 if { (ac_try
="$ac_link"
40967 case "(($ac_try" in
40968 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40969 *) ac_try_echo=$ac_try;;
40971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40972 (eval "$ac_link") 2>conftest.er1
40974 grep -v '^ *+' conftest.er1 >conftest.err
40976 cat conftest.err >&5
40977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40978 (exit $ac_status); } && {
40979 test -z "$ac_c_werror_flag" ||
40980 test ! -s conftest.err
40981 } && test -s conftest$ac_exeext &&
40982 $as_test_x conftest$ac_exeext; then
40983 ac_cv_func_pthread_attr_setschedparam=yes
40985 echo "$as_me: failed program was:" >&5
40986 sed 's/^/| /' conftest.$ac_ext >&5
40988 ac_cv_func_pthread_attr_setschedparam=no
40991 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40992 conftest$ac_exeext conftest.$ac_ext
40994 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
40995 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
40996 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
40997 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
40998 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
40999 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
41000 echo $ECHO_N "(cached) $ECHO_C" >&6
41002 cat >conftest.$ac_ext <<_ACEOF
41005 cat confdefs.h >>conftest.$ac_ext
41006 cat >>conftest.$ac_ext <<_ACEOF
41007 /* end confdefs.h. */
41008 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
41009 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41010 #define sched_get_priority_max innocuous_sched_get_priority_max
41012 /* System header to define __stub macros and hopefully few prototypes,
41013 which can conflict with char sched_get_priority_max (); below.
41014 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41015 <limits.h> exists even on freestanding compilers. */
41018 # include <limits.h>
41020 # include <assert.h>
41023 #undef sched_get_priority_max
41025 /* Override any GCC internal prototype to avoid an error.
41026 Use char because int might match the return type of a GCC
41027 builtin and then its argument prototype would still apply. */
41031 char sched_get_priority_max ();
41032 /* The GNU C library defines this for functions which it implements
41033 to always fail with ENOSYS. Some functions are actually named
41034 something starting with __ and the normal name is an alias. */
41035 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
41042 return sched_get_priority_max ();
41047 rm -f conftest.$ac_objext conftest$ac_exeext
41048 if { (ac_try="$ac_link"
41049 case "(($ac_try" in
41050 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41051 *) ac_try_echo
=$ac_try;;
41053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41054 (eval "$ac_link") 2>conftest.er1
41056 grep -v '^ *+' conftest.er1
>conftest.err
41058 cat conftest.err
>&5
41059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41060 (exit $ac_status); } && {
41061 test -z "$ac_c_werror_flag" ||
41062 test ! -s conftest.err
41063 } && test -s conftest
$ac_exeext &&
41064 $as_test_x conftest
$ac_exeext; then
41065 ac_cv_func_sched_get_priority_max
=yes
41067 echo "$as_me: failed program was:" >&5
41068 sed 's/^/| /' conftest.
$ac_ext >&5
41070 ac_cv_func_sched_get_priority_max
=no
41073 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41074 conftest
$ac_exeext conftest.
$ac_ext
41076 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
41077 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
41078 if test $ac_cv_func_sched_get_priority_max = yes; then
41081 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
41082 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
41083 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
41084 echo $ECHO_N "(cached) $ECHO_C" >&6
41086 ac_check_lib_save_LIBS
=$LIBS
41087 LIBS
="-lposix4 $LIBS"
41088 cat >conftest.
$ac_ext <<_ACEOF
41091 cat confdefs.h
>>conftest.
$ac_ext
41092 cat >>conftest.
$ac_ext <<_ACEOF
41093 /* end confdefs.h. */
41095 /* Override any GCC internal prototype to avoid an error.
41096 Use char because int might match the return type of a GCC
41097 builtin and then its argument prototype would still apply. */
41101 char sched_get_priority_max ();
41105 return sched_get_priority_max ();
41110 rm -f conftest.
$ac_objext conftest
$ac_exeext
41111 if { (ac_try
="$ac_link"
41112 case "(($ac_try" in
41113 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41114 *) ac_try_echo=$ac_try;;
41116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41117 (eval "$ac_link") 2>conftest.er1
41119 grep -v '^ *+' conftest.er1 >conftest.err
41121 cat conftest.err >&5
41122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41123 (exit $ac_status); } && {
41124 test -z "$ac_c_werror_flag" ||
41125 test ! -s conftest.err
41126 } && test -s conftest$ac_exeext &&
41127 $as_test_x conftest$ac_exeext; then
41128 ac_cv_lib_posix4_sched_get_priority_max=yes
41130 echo "$as_me: failed program was:" >&5
41131 sed 's/^/| /' conftest.$ac_ext >&5
41133 ac_cv_lib_posix4_sched_get_priority_max=no
41136 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41137 conftest$ac_exeext conftest.$ac_ext
41138 LIBS=$ac_check_lib_save_LIBS
41140 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
41141 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
41142 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
41145 POSIX4_LINK=" -lposix4"
41159 if test "$HAVE_PRIOR_FUNCS" = 1; then
41160 cat >>confdefs.h <<\_ACEOF
41161 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
41165 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
41166 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
41169 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
41170 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
41171 if test "${ac_cv_func_pthread_cancel+set}" = set; then
41172 echo $ECHO_N "(cached) $ECHO_C" >&6
41174 cat >conftest.$ac_ext <<_ACEOF
41177 cat confdefs.h >>conftest.$ac_ext
41178 cat >>conftest.$ac_ext <<_ACEOF
41179 /* end confdefs.h. */
41180 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
41181 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41182 #define pthread_cancel innocuous_pthread_cancel
41184 /* System header to define __stub macros and hopefully few prototypes,
41185 which can conflict with char pthread_cancel (); below.
41186 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41187 <limits.h> exists even on freestanding compilers. */
41190 # include <limits.h>
41192 # include <assert.h>
41195 #undef pthread_cancel
41197 /* Override any GCC internal prototype to avoid an error.
41198 Use char because int might match the return type of a GCC
41199 builtin and then its argument prototype would still apply. */
41203 char pthread_cancel ();
41204 /* The GNU C library defines this for functions which it implements
41205 to always fail with ENOSYS. Some functions are actually named
41206 something starting with __ and the normal name is an alias. */
41207 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
41214 return pthread_cancel ();
41219 rm -f conftest.$ac_objext conftest$ac_exeext
41220 if { (ac_try="$ac_link"
41221 case "(($ac_try" in
41222 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41223 *) ac_try_echo
=$ac_try;;
41225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41226 (eval "$ac_link") 2>conftest.er1
41228 grep -v '^ *+' conftest.er1
>conftest.err
41230 cat conftest.err
>&5
41231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41232 (exit $ac_status); } && {
41233 test -z "$ac_c_werror_flag" ||
41234 test ! -s conftest.err
41235 } && test -s conftest
$ac_exeext &&
41236 $as_test_x conftest
$ac_exeext; then
41237 ac_cv_func_pthread_cancel
=yes
41239 echo "$as_me: failed program was:" >&5
41240 sed 's/^/| /' conftest.
$ac_ext >&5
41242 ac_cv_func_pthread_cancel
=no
41245 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41246 conftest
$ac_exeext conftest.
$ac_ext
41248 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
41249 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
41250 if test $ac_cv_func_pthread_cancel = yes; then
41251 cat >>confdefs.h
<<\_ACEOF
41252 #define HAVE_PTHREAD_CANCEL 1
41256 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
41257 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
41261 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
41262 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
41263 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
41264 echo $ECHO_N "(cached) $ECHO_C" >&6
41266 cat >conftest.
$ac_ext <<_ACEOF
41269 cat confdefs.h
>>conftest.
$ac_ext
41270 cat >>conftest.
$ac_ext <<_ACEOF
41271 /* end confdefs.h. */
41272 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
41273 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41274 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
41276 /* System header to define __stub macros and hopefully few prototypes,
41277 which can conflict with char pthread_attr_setstacksize (); below.
41278 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41279 <limits.h> exists even on freestanding compilers. */
41282 # include <limits.h>
41284 # include <assert.h>
41287 #undef pthread_attr_setstacksize
41289 /* Override any GCC internal prototype to avoid an error.
41290 Use char because int might match the return type of a GCC
41291 builtin and then its argument prototype would still apply. */
41295 char pthread_attr_setstacksize ();
41296 /* The GNU C library defines this for functions which it implements
41297 to always fail with ENOSYS. Some functions are actually named
41298 something starting with __ and the normal name is an alias. */
41299 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
41306 return pthread_attr_setstacksize ();
41311 rm -f conftest.
$ac_objext conftest
$ac_exeext
41312 if { (ac_try
="$ac_link"
41313 case "(($ac_try" in
41314 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41315 *) ac_try_echo=$ac_try;;
41317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41318 (eval "$ac_link") 2>conftest.er1
41320 grep -v '^ *+' conftest.er1 >conftest.err
41322 cat conftest.err >&5
41323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41324 (exit $ac_status); } && {
41325 test -z "$ac_c_werror_flag" ||
41326 test ! -s conftest.err
41327 } && test -s conftest$ac_exeext &&
41328 $as_test_x conftest$ac_exeext; then
41329 ac_cv_func_pthread_attr_setstacksize=yes
41331 echo "$as_me: failed program was:" >&5
41332 sed 's/^/| /' conftest.$ac_ext >&5
41334 ac_cv_func_pthread_attr_setstacksize=no
41337 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41338 conftest$ac_exeext conftest.$ac_ext
41340 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
41341 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
41342 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
41343 cat >>confdefs.h <<\_ACEOF
41344 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
41351 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
41352 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
41353 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
41354 echo $ECHO_N "(cached) $ECHO_C" >&6
41357 cat >conftest.$ac_ext <<_ACEOF
41360 cat confdefs.h >>conftest.$ac_ext
41361 cat >>conftest.$ac_ext <<_ACEOF
41362 /* end confdefs.h. */
41363 #include <pthread.h>
41368 pthread_mutexattr_t attr;
41369 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41375 rm -f conftest.$ac_objext
41376 if { (ac_try="$ac_compile"
41377 case "(($ac_try" in
41378 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41379 *) ac_try_echo
=$ac_try;;
41381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41382 (eval "$ac_compile") 2>conftest.er1
41384 grep -v '^ *+' conftest.er1
>conftest.err
41386 cat conftest.err
>&5
41387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41388 (exit $ac_status); } && {
41389 test -z "$ac_c_werror_flag" ||
41390 test ! -s conftest.err
41391 } && test -s conftest.
$ac_objext; then
41392 wx_cv_type_pthread_mutexattr_t
=yes
41394 echo "$as_me: failed program was:" >&5
41395 sed 's/^/| /' conftest.
$ac_ext >&5
41397 wx_cv_type_pthread_mutexattr_t
=no
41401 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41404 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
41405 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
41407 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
41408 cat >>confdefs.h
<<\_ACEOF
41409 #define HAVE_PTHREAD_MUTEXATTR_T 1
41413 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
41414 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
41415 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
41416 echo $ECHO_N "(cached) $ECHO_C" >&6
41419 cat >conftest.
$ac_ext <<_ACEOF
41422 cat confdefs.h
>>conftest.
$ac_ext
41423 cat >>conftest.
$ac_ext <<_ACEOF
41424 /* end confdefs.h. */
41425 #include <pthread.h>
41430 pthread_mutexattr_t attr;
41431 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41437 rm -f conftest.
$ac_objext
41438 if { (ac_try
="$ac_compile"
41439 case "(($ac_try" in
41440 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41441 *) ac_try_echo=$ac_try;;
41443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41444 (eval "$ac_compile") 2>conftest.er1
41446 grep -v '^ *+' conftest.er1 >conftest.err
41448 cat conftest.err >&5
41449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41450 (exit $ac_status); } && {
41451 test -z "$ac_c_werror_flag" ||
41452 test ! -s conftest.err
41453 } && test -s conftest.$ac_objext; then
41454 wx_cv_func_pthread_mutexattr_settype_decl=yes
41456 echo "$as_me: failed program was:" >&5
41457 sed 's/^/| /' conftest.$ac_ext >&5
41459 wx_cv_func_pthread_mutexattr_settype_decl=no
41463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41466 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
41467 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
41468 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
41469 cat >>confdefs.h <<\_ACEOF
41470 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
41475 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
41476 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
41477 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
41478 echo $ECHO_N "(cached) $ECHO_C" >&6
41481 cat >conftest.$ac_ext <<_ACEOF
41484 cat confdefs.h >>conftest.$ac_ext
41485 cat >>conftest.$ac_ext <<_ACEOF
41486 /* end confdefs.h. */
41487 #include <pthread.h>
41492 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
41498 rm -f conftest.$ac_objext
41499 if { (ac_try="$ac_compile"
41500 case "(($ac_try" in
41501 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41502 *) ac_try_echo
=$ac_try;;
41504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41505 (eval "$ac_compile") 2>conftest.er1
41507 grep -v '^ *+' conftest.er1
>conftest.err
41509 cat conftest.err
>&5
41510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41511 (exit $ac_status); } && {
41512 test -z "$ac_c_werror_flag" ||
41513 test ! -s conftest.err
41514 } && test -s conftest.
$ac_objext; then
41516 wx_cv_type_pthread_rec_mutex_init
=yes
41519 echo "$as_me: failed program was:" >&5
41520 sed 's/^/| /' conftest.
$ac_ext >&5
41523 wx_cv_type_pthread_rec_mutex_init
=no
41528 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41531 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
41532 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
41533 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
41534 cat >>confdefs.h
<<\_ACEOF
41535 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
41539 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
41540 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
41546 if test "$wxUSE_THREADS" = "yes" ; then
41549 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
41550 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
41551 if test "${wx_cv_cflags_mthread+set}" = set; then
41552 echo $ECHO_N "(cached) $ECHO_C" >&6
41555 CFLAGS_OLD
="$CFLAGS"
41556 CFLAGS
="-mthreads $CFLAGS"
41557 cat >conftest.
$ac_ext <<_ACEOF
41560 cat confdefs.h
>>conftest.
$ac_ext
41561 cat >>conftest.
$ac_ext <<_ACEOF
41562 /* end confdefs.h. */
41572 rm -f conftest.
$ac_objext
41573 if { (ac_try
="$ac_compile"
41574 case "(($ac_try" in
41575 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41576 *) ac_try_echo=$ac_try;;
41578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41579 (eval "$ac_compile") 2>conftest.er1
41581 grep -v '^ *+' conftest.er1 >conftest.err
41583 cat conftest.err >&5
41584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41585 (exit $ac_status); } && {
41586 test -z "$ac_c_werror_flag" ||
41587 test ! -s conftest.err
41588 } && test -s conftest.$ac_objext; then
41589 wx_cv_cflags_mthread=yes
41591 echo "$as_me: failed program was:" >&5
41592 sed 's/^/| /' conftest.$ac_ext >&5
41594 wx_cv_cflags_mthread=no
41598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41602 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
41603 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
41605 if test "$wx_cv_cflags_mthread" = "yes"; then
41606 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
41607 LDFLAGS="$LDFLAGS -mthreads"
41609 CFLAGS="$CFLAGS_OLD"
41613 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
41614 LDFLAGS="$LDFLAGS -Zmt"
41620 { echo "$as_me:$LINENO: checking for localtime_r" >&5
41621 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
41622 if test "${ac_cv_func_localtime_r+set}" = set; then
41623 echo $ECHO_N "(cached) $ECHO_C" >&6
41625 cat >conftest.$ac_ext <<_ACEOF
41628 cat confdefs.h >>conftest.$ac_ext
41629 cat >>conftest.$ac_ext <<_ACEOF
41630 /* end confdefs.h. */
41631 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
41632 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41633 #define localtime_r innocuous_localtime_r
41635 /* System header to define __stub macros and hopefully few prototypes,
41636 which can conflict with char localtime_r (); below.
41637 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41638 <limits.h> exists even on freestanding compilers. */
41641 # include <limits.h>
41643 # include <assert.h>
41648 /* Override any GCC internal prototype to avoid an error.
41649 Use char because int might match the return type of a GCC
41650 builtin and then its argument prototype would still apply. */
41654 char localtime_r ();
41655 /* The GNU C library defines this for functions which it implements
41656 to always fail with ENOSYS. Some functions are actually named
41657 something starting with __ and the normal name is an alias. */
41658 #if defined __stub_localtime_r || defined __stub___localtime_r
41665 return localtime_r ();
41670 rm -f conftest.$ac_objext conftest$ac_exeext
41671 if { (ac_try="$ac_link"
41672 case "(($ac_try" in
41673 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41674 *) ac_try_echo
=$ac_try;;
41676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41677 (eval "$ac_link") 2>conftest.er1
41679 grep -v '^ *+' conftest.er1
>conftest.err
41681 cat conftest.err
>&5
41682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41683 (exit $ac_status); } && {
41684 test -z "$ac_c_werror_flag" ||
41685 test ! -s conftest.err
41686 } && test -s conftest
$ac_exeext &&
41687 $as_test_x conftest
$ac_exeext; then
41688 ac_cv_func_localtime_r
=yes
41690 echo "$as_me: failed program was:" >&5
41691 sed 's/^/| /' conftest.
$ac_ext >&5
41693 ac_cv_func_localtime_r
=no
41696 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41697 conftest
$ac_exeext conftest.
$ac_ext
41699 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
41700 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
41701 if test $ac_cv_func_localtime_r = yes; then
41702 cat >>confdefs.h
<<\_ACEOF
41703 #define HAVE_LOCALTIME_R 1
41708 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
41709 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
41710 if test "${ac_cv_func_gmtime_r+set}" = set; then
41711 echo $ECHO_N "(cached) $ECHO_C" >&6
41713 cat >conftest.
$ac_ext <<_ACEOF
41716 cat confdefs.h
>>conftest.
$ac_ext
41717 cat >>conftest.
$ac_ext <<_ACEOF
41718 /* end confdefs.h. */
41719 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
41720 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41721 #define gmtime_r innocuous_gmtime_r
41723 /* System header to define __stub macros and hopefully few prototypes,
41724 which can conflict with char gmtime_r (); below.
41725 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41726 <limits.h> exists even on freestanding compilers. */
41729 # include <limits.h>
41731 # include <assert.h>
41736 /* Override any GCC internal prototype to avoid an error.
41737 Use char because int might match the return type of a GCC
41738 builtin and then its argument prototype would still apply. */
41743 /* The GNU C library defines this for functions which it implements
41744 to always fail with ENOSYS. Some functions are actually named
41745 something starting with __ and the normal name is an alias. */
41746 #if defined __stub_gmtime_r || defined __stub___gmtime_r
41753 return gmtime_r ();
41758 rm -f conftest.
$ac_objext conftest
$ac_exeext
41759 if { (ac_try
="$ac_link"
41760 case "(($ac_try" in
41761 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41762 *) ac_try_echo=$ac_try;;
41764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41765 (eval "$ac_link") 2>conftest.er1
41767 grep -v '^ *+' conftest.er1 >conftest.err
41769 cat conftest.err >&5
41770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41771 (exit $ac_status); } && {
41772 test -z "$ac_c_werror_flag" ||
41773 test ! -s conftest.err
41774 } && test -s conftest$ac_exeext &&
41775 $as_test_x conftest$ac_exeext; then
41776 ac_cv_func_gmtime_r=yes
41778 echo "$as_me: failed program was:" >&5
41779 sed 's/^/| /' conftest.$ac_ext >&5
41781 ac_cv_func_gmtime_r=no
41784 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41785 conftest$ac_exeext conftest.$ac_ext
41787 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
41788 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
41789 if test $ac_cv_func_gmtime_r = yes; then
41790 cat >>confdefs.h <<\_ACEOF
41791 #define HAVE_GMTIME_R 1
41796 { echo "$as_me:$LINENO: checking for readdir_r" >&5
41797 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6; }
41798 if test "${ac_cv_func_readdir_r+set}" = set; then
41799 echo $ECHO_N "(cached) $ECHO_C" >&6
41801 cat >conftest.$ac_ext <<_ACEOF
41804 cat confdefs.h >>conftest.$ac_ext
41805 cat >>conftest.$ac_ext <<_ACEOF
41806 /* end confdefs.h. */
41807 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
41808 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41809 #define readdir_r innocuous_readdir_r
41811 /* System header to define __stub macros and hopefully few prototypes,
41812 which can conflict with char readdir_r (); below.
41813 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41814 <limits.h> exists even on freestanding compilers. */
41817 # include <limits.h>
41819 # include <assert.h>
41824 /* Override any GCC internal prototype to avoid an error.
41825 Use char because int might match the return type of a GCC
41826 builtin and then its argument prototype would still apply. */
41831 /* The GNU C library defines this for functions which it implements
41832 to always fail with ENOSYS. Some functions are actually named
41833 something starting with __ and the normal name is an alias. */
41834 #if defined __stub_readdir_r || defined __stub___readdir_r
41841 return readdir_r ();
41846 rm -f conftest.$ac_objext conftest$ac_exeext
41847 if { (ac_try="$ac_link"
41848 case "(($ac_try" in
41849 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41850 *) ac_try_echo
=$ac_try;;
41852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41853 (eval "$ac_link") 2>conftest.er1
41855 grep -v '^ *+' conftest.er1
>conftest.err
41857 cat conftest.err
>&5
41858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41859 (exit $ac_status); } && {
41860 test -z "$ac_c_werror_flag" ||
41861 test ! -s conftest.err
41862 } && test -s conftest
$ac_exeext &&
41863 $as_test_x conftest
$ac_exeext; then
41864 ac_cv_func_readdir_r
=yes
41866 echo "$as_me: failed program was:" >&5
41867 sed 's/^/| /' conftest.
$ac_ext >&5
41869 ac_cv_func_readdir_r
=no
41872 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41873 conftest
$ac_exeext conftest.
$ac_ext
41875 { echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
41876 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6; }
41877 if test $ac_cv_func_readdir_r = yes; then
41878 cat >>confdefs.h
<<\_ACEOF
41879 #define HAVE_READDIR_R 1
41888 ac_cpp
='$CPP $CPPFLAGS'
41889 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41890 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41891 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41893 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
41894 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
41896 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
41897 echo $ECHO_N "(cached) $ECHO_C" >&6
41901 ################################################################
41903 ac_cv_func_which_gethostbyname_r
=unknown
41906 # ONE ARGUMENT (sanity check)
41909 # This should fail, as there is no variant of gethostbyname_r() that takes
41910 # a single argument. If it actually compiles, then we can assume that
41911 # netdb.h is not declaring the function, and the compiler is thereby
41912 # assuming an implicit prototype. In which case, we're out of luck.
41914 cat >conftest.
$ac_ext <<_ACEOF
41917 cat confdefs.h
>>conftest.
$ac_ext
41918 cat >>conftest.
$ac_ext <<_ACEOF
41919 /* end confdefs.h. */
41925 char *name = "www.gnu.org";
41926 (void)gethostbyname_r(name) /* ; */
41932 rm -f conftest.
$ac_objext
41933 if { (ac_try
="$ac_compile"
41934 case "(($ac_try" in
41935 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41936 *) ac_try_echo=$ac_try;;
41938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41939 (eval "$ac_compile") 2>conftest.er1
41941 grep -v '^ *+' conftest.er1 >conftest.err
41943 cat conftest.err >&5
41944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41945 (exit $ac_status); } && {
41946 test -z "$ac_c_werror_flag" ||
41947 test ! -s conftest.err
41948 } && test -s conftest.$ac_objext; then
41949 ac_cv_func_which_gethostbyname_r=no
41951 echo "$as_me: failed program was:" >&5
41952 sed 's/^/| /' conftest.$ac_ext >&5
41957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41964 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41966 cat >conftest.$ac_ext <<_ACEOF
41969 cat confdefs.h >>conftest.$ac_ext
41970 cat >>conftest.$ac_ext <<_ACEOF
41971 /* end confdefs.h. */
41977 char *name = "www.gnu.org";
41978 struct hostent ret, *retp;
41982 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
41988 rm -f conftest.$ac_objext
41989 if { (ac_try="$ac_compile"
41990 case "(($ac_try" in
41991 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41992 *) ac_try_echo
=$ac_try;;
41994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41995 (eval "$ac_compile") 2>conftest.er1
41997 grep -v '^ *+' conftest.er1
>conftest.err
41999 cat conftest.err
>&5
42000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42001 (exit $ac_status); } && {
42002 test -z "$ac_c_werror_flag" ||
42003 test ! -s conftest.err
42004 } && test -s conftest.
$ac_objext; then
42005 ac_cv_func_which_gethostbyname_r
=six
42007 echo "$as_me: failed program was:" >&5
42008 sed 's/^/| /' conftest.
$ac_ext >&5
42013 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42022 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42024 cat >conftest.
$ac_ext <<_ACEOF
42027 cat confdefs.h
>>conftest.
$ac_ext
42028 cat >>conftest.
$ac_ext <<_ACEOF
42029 /* end confdefs.h. */
42035 char *name = "www.gnu.org";
42036 struct hostent ret;
42040 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
42046 rm -f conftest.
$ac_objext
42047 if { (ac_try
="$ac_compile"
42048 case "(($ac_try" in
42049 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42050 *) ac_try_echo=$ac_try;;
42052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42053 (eval "$ac_compile") 2>conftest.er1
42055 grep -v '^ *+' conftest.er1 >conftest.err
42057 cat conftest.err >&5
42058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42059 (exit $ac_status); } && {
42060 test -z "$ac_c_werror_flag" ||
42061 test ! -s conftest.err
42062 } && test -s conftest.$ac_objext; then
42063 ac_cv_func_which_gethostbyname_r=five
42065 echo "$as_me: failed program was:" >&5
42066 sed 's/^/| /' conftest.$ac_ext >&5
42071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42077 # (e.g. AIX, HP-UX, Tru64)
42080 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42082 cat >conftest.$ac_ext <<_ACEOF
42085 cat confdefs.h >>conftest.$ac_ext
42086 cat >>conftest.$ac_ext <<_ACEOF
42087 /* end confdefs.h. */
42093 char *name = "www.gnu.org";
42094 struct hostent ret;
42095 struct hostent_data data;
42096 (void)gethostbyname_r(name, &ret, &data) /* ; */
42102 rm -f conftest.$ac_objext
42103 if { (ac_try="$ac_compile"
42104 case "(($ac_try" in
42105 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42106 *) ac_try_echo
=$ac_try;;
42108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42109 (eval "$ac_compile") 2>conftest.er1
42111 grep -v '^ *+' conftest.er1
>conftest.err
42113 cat conftest.err
>&5
42114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42115 (exit $ac_status); } && {
42116 test -z "$ac_c_werror_flag" ||
42117 test ! -s conftest.err
42118 } && test -s conftest.
$ac_objext; then
42119 ac_cv_func_which_gethostbyname_r
=three
42121 echo "$as_me: failed program was:" >&5
42122 sed 's/^/| /' conftest.
$ac_ext >&5
42127 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42131 ################################################################
42136 case "$ac_cv_func_which_gethostbyname_r" in
42138 { echo "$as_me:$LINENO: result: three" >&5
42139 echo "${ECHO_T}three" >&6; }
42140 cat >>confdefs.h
<<\_ACEOF
42141 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
42147 { echo "$as_me:$LINENO: result: five" >&5
42148 echo "${ECHO_T}five" >&6; }
42149 cat >>confdefs.h
<<\_ACEOF
42150 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
42156 { echo "$as_me:$LINENO: result: six" >&5
42157 echo "${ECHO_T}six" >&6; }
42158 cat >>confdefs.h
<<\_ACEOF
42159 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
42165 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
42166 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
42170 { echo "$as_me:$LINENO: result: can't tell" >&5
42171 echo "${ECHO_T}can't tell" >&6; }
42175 { { echo "$as_me:$LINENO: error: internal error" >&5
42176 echo "$as_me: error: internal error" >&2;}
42177 { (exit 1); exit 1; }; }
42182 ac_cpp
='$CPP $CPPFLAGS'
42183 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42184 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42185 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42189 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
42190 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
42191 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
42192 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
42193 if test "${ac_cv_func_gethostbyname+set}" = set; then
42194 echo $ECHO_N "(cached) $ECHO_C" >&6
42196 cat >conftest.
$ac_ext <<_ACEOF
42199 cat confdefs.h
>>conftest.
$ac_ext
42200 cat >>conftest.
$ac_ext <<_ACEOF
42201 /* end confdefs.h. */
42202 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
42203 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42204 #define gethostbyname innocuous_gethostbyname
42206 /* System header to define __stub macros and hopefully few prototypes,
42207 which can conflict with char gethostbyname (); below.
42208 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42209 <limits.h> exists even on freestanding compilers. */
42212 # include <limits.h>
42214 # include <assert.h>
42217 #undef gethostbyname
42219 /* Override any GCC internal prototype to avoid an error.
42220 Use char because int might match the return type of a GCC
42221 builtin and then its argument prototype would still apply. */
42225 char gethostbyname ();
42226 /* The GNU C library defines this for functions which it implements
42227 to always fail with ENOSYS. Some functions are actually named
42228 something starting with __ and the normal name is an alias. */
42229 #if defined __stub_gethostbyname || defined __stub___gethostbyname
42236 return gethostbyname ();
42241 rm -f conftest.
$ac_objext conftest
$ac_exeext
42242 if { (ac_try
="$ac_link"
42243 case "(($ac_try" in
42244 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42245 *) ac_try_echo=$ac_try;;
42247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42248 (eval "$ac_link") 2>conftest.er1
42250 grep -v '^ *+' conftest.er1 >conftest.err
42252 cat conftest.err >&5
42253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42254 (exit $ac_status); } && {
42255 test -z "$ac_c_werror_flag" ||
42256 test ! -s conftest.err
42257 } && test -s conftest$ac_exeext &&
42258 $as_test_x conftest$ac_exeext; then
42259 ac_cv_func_gethostbyname=yes
42261 echo "$as_me: failed program was:" >&5
42262 sed 's/^/| /' conftest.$ac_ext >&5
42264 ac_cv_func_gethostbyname=no
42267 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42268 conftest$ac_exeext conftest.$ac_ext
42270 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
42271 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
42272 if test $ac_cv_func_gethostbyname = yes; then
42273 cat >>confdefs.h <<\_ACEOF
42274 #define HAVE_GETHOSTBYNAME 1
42281 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
42282 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
42283 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
42284 echo $ECHO_N "(cached) $ECHO_C" >&6
42288 ac_cpp='$CXXCPP $CPPFLAGS'
42289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42294 cat >conftest.$ac_ext <<_ACEOF
42297 cat confdefs.h >>conftest.$ac_ext
42298 cat >>conftest.$ac_ext <<_ACEOF
42299 /* end confdefs.h. */
42307 struct servent *se, *res;
42310 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
42316 rm -f conftest.$ac_objext
42317 if { (ac_try="$ac_compile"
42318 case "(($ac_try" in
42319 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42320 *) ac_try_echo
=$ac_try;;
42322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42323 (eval "$ac_compile") 2>conftest.er1
42325 grep -v '^ *+' conftest.er1
>conftest.err
42327 cat conftest.err
>&5
42328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42329 (exit $ac_status); } && {
42330 test -z "$ac_cxx_werror_flag" ||
42331 test ! -s conftest.err
42332 } && test -s conftest.
$ac_objext; then
42333 ac_cv_func_which_getservbyname_r
=six
42335 echo "$as_me: failed program was:" >&5
42336 sed 's/^/| /' conftest.
$ac_ext >&5
42339 cat >conftest.
$ac_ext <<_ACEOF
42342 cat confdefs.h
>>conftest.
$ac_ext
42343 cat >>conftest.
$ac_ext <<_ACEOF
42344 /* end confdefs.h. */
42352 struct servent *se;
42355 (void) getservbyname_r(name, proto, se, buffer, buflen)
42361 rm -f conftest.
$ac_objext
42362 if { (ac_try
="$ac_compile"
42363 case "(($ac_try" in
42364 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42365 *) ac_try_echo=$ac_try;;
42367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42368 (eval "$ac_compile") 2>conftest.er1
42370 grep -v '^ *+' conftest.er1 >conftest.err
42372 cat conftest.err >&5
42373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42374 (exit $ac_status); } && {
42375 test -z "$ac_cxx_werror_flag" ||
42376 test ! -s conftest.err
42377 } && test -s conftest.$ac_objext; then
42378 ac_cv_func_which_getservbyname_r=five
42380 echo "$as_me: failed program was:" >&5
42381 sed 's/^/| /' conftest.$ac_ext >&5
42384 cat >conftest.$ac_ext <<_ACEOF
42387 cat confdefs.h >>conftest.$ac_ext
42388 cat >>conftest.$ac_ext <<_ACEOF
42389 /* end confdefs.h. */
42397 struct servent *se;
42398 struct servent_data data;
42399 (void) getservbyname_r(name, proto, se, &data);
42405 rm -f conftest.$ac_objext
42406 if { (ac_try="$ac_compile"
42407 case "(($ac_try" in
42408 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42409 *) ac_try_echo
=$ac_try;;
42411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42412 (eval "$ac_compile") 2>conftest.er1
42414 grep -v '^ *+' conftest.er1
>conftest.err
42416 cat conftest.err
>&5
42417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42418 (exit $ac_status); } && {
42419 test -z "$ac_cxx_werror_flag" ||
42420 test ! -s conftest.err
42421 } && test -s conftest.
$ac_objext; then
42422 ac_cv_func_which_getservbyname_r
=four
42424 echo "$as_me: failed program was:" >&5
42425 sed 's/^/| /' conftest.
$ac_ext >&5
42427 ac_cv_func_which_getservbyname_r
=no
42431 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42436 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42441 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42443 ac_cpp
='$CPP $CPPFLAGS'
42444 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42445 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42446 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42451 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
42452 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
42454 if test $ac_cv_func_which_getservbyname_r = six
; then
42455 cat >>confdefs.h
<<\_ACEOF
42456 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
42459 elif test $ac_cv_func_which_getservbyname_r = five
; then
42460 cat >>confdefs.h
<<\_ACEOF
42461 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
42464 elif test $ac_cv_func_which_getservbyname_r = four
; then
42465 cat >>confdefs.h
<<\_ACEOF
42466 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
42472 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
42473 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
42475 for ac_func
in getservbyname
42477 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42478 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42479 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42480 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42481 echo $ECHO_N "(cached) $ECHO_C" >&6
42483 cat >conftest.
$ac_ext <<_ACEOF
42486 cat confdefs.h
>>conftest.
$ac_ext
42487 cat >>conftest.
$ac_ext <<_ACEOF
42488 /* end confdefs.h. */
42489 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42490 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42491 #define $ac_func innocuous_$ac_func
42493 /* System header to define __stub macros and hopefully few prototypes,
42494 which can conflict with char $ac_func (); below.
42495 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42496 <limits.h> exists even on freestanding compilers. */
42499 # include <limits.h>
42501 # include <assert.h>
42506 /* Override any GCC internal prototype to avoid an error.
42507 Use char because int might match the return type of a GCC
42508 builtin and then its argument prototype would still apply. */
42513 /* The GNU C library defines this for functions which it implements
42514 to always fail with ENOSYS. Some functions are actually named
42515 something starting with __ and the normal name is an alias. */
42516 #if defined __stub_$ac_func || defined __stub___$ac_func
42523 return $ac_func ();
42528 rm -f conftest.
$ac_objext conftest
$ac_exeext
42529 if { (ac_try
="$ac_link"
42530 case "(($ac_try" in
42531 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42532 *) ac_try_echo=$ac_try;;
42534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42535 (eval "$ac_link") 2>conftest.er1
42537 grep -v '^ *+' conftest.er1 >conftest.err
42539 cat conftest.err >&5
42540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42541 (exit $ac_status); } && {
42542 test -z "$ac_c_werror_flag" ||
42543 test ! -s conftest.err
42544 } && test -s conftest$ac_exeext &&
42545 $as_test_x conftest$ac_exeext; then
42546 eval "$as_ac_var=yes"
42548 echo "$as_me: failed program was:" >&5
42549 sed 's/^/| /' conftest.$ac_ext >&5
42551 eval "$as_ac_var=no"
42554 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42555 conftest$ac_exeext conftest.$ac_ext
42557 ac_res=`eval echo '${'$as_ac_var'}'`
42558 { echo "$as_me:$LINENO: result: $ac_res" >&5
42559 echo "${ECHO_T}$ac_res" >&6; }
42560 if test `eval echo '${'$as_ac_var'}'` = yes; then
42561 cat >>confdefs.h <<_ACEOF
42562 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42564 cat >>confdefs.h <<\_ACEOF
42565 #define HAVE_GETSERVBYNAME 1
42573 if test "$wxUSE_THREADS" = "yes"; then
42574 cat >>confdefs.h <<\_ACEOF
42575 #define wxUSE_THREADS 1
42579 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
42581 if test "$wx_cv_func_strtok_r" = "yes"; then
42582 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
42583 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
42584 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
42585 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
42586 { echo "$as_me:$LINENO: result: yes" >&5
42587 echo "${ECHO_T}yes" >&6; }
42589 { echo "$as_me:$LINENO: result: no" >&5
42590 echo "${ECHO_T}no" >&6; }
42595 if test "$WXGTK20" = 1 ; then
42596 cat >>confdefs.h <<_ACEOF
42597 #define __WXGTK20__ $WXGTK20
42603 if test "$WXGTK12" = 1 ; then
42604 cat >>confdefs.h <<_ACEOF
42605 #define __WXGTK12__ $WXGTK12
42610 if test "$WXGTK127" = 1 ; then
42611 cat >>confdefs.h <<_ACEOF
42612 #define __WXGTK127__ $WXGTK127
42617 if test "$WXGPE" = 1 ; then
42618 cat >>confdefs.h <<_ACEOF
42619 #define __WXGPE__ $WXGPE
42625 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
42630 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
42631 wxUSE_DEBUG_INFO=yes
42632 if test "$GCC" = yes; then
42633 DEBUG_CFLAGS="-ggdb"
42637 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
42638 cat >>confdefs.h <<\_ACEOF
42642 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
42644 if test "$wxUSE_GTK" = 1 ; then
42645 if test "x$wxGTK_VERSION" = "x1" ; then
42646 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
42651 if test "$wxUSE_MEM_TRACING" = "yes" ; then
42652 cat >>confdefs.h <<\_ACEOF
42653 #define wxUSE_MEMORY_TRACING 1
42656 cat >>confdefs.h <<\_ACEOF
42657 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
42660 cat >>confdefs.h <<\_ACEOF
42661 #define wxUSE_DEBUG_NEW_ALWAYS 1
42664 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
42667 if test "$wxUSE_DMALLOC" = "yes" ; then
42668 DMALLOC_LIBS="-ldmallocthcxx"
42672 if test "$wxUSE_PROFILE" = "yes" ; then
42673 PROFILE_FLAGS=" -pg"
42676 if test "$GCC" = "yes" ; then
42677 if test "$wxUSE_NO_RTTI" = "yes" ; then
42678 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
42680 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
42681 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
42683 if test "$wxUSE_PERMISSIVE" = "yes" ; then
42684 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
42689 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
42692 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
42698 if test "$wxUSE_OPTIMISE" = "no" ; then
42699 if test "$GCC" = yes ; then
42700 OPTIMISE_CFLAGS="-O0"
42703 if test "$GCC" = yes ; then
42705 *-pc-os2_emx | *-pc-os2-emx )
42706 OPTIMISE_CFLAGS="-O2"
42709 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
42713 OPTIMISE_CFLAGS="-O"
42718 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
42719 cat >>confdefs.h <<\_ACEOF
42720 #define WXWIN_COMPATIBILITY_2_6 1
42724 WXWIN_COMPATIBILITY_2_8="yes"
42727 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
42728 cat >>confdefs.h <<\_ACEOF
42729 #define WXWIN_COMPATIBILITY_2_8 1
42735 if test "$wxUSE_GUI" = "yes"; then
42736 cat >>confdefs.h <<\_ACEOF
42737 #define wxUSE_GUI 1
42744 if test "$wxUSE_UNIX" = "yes"; then
42745 cat >>confdefs.h <<\_ACEOF
42746 #define wxUSE_UNIX 1
42752 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
42756 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42757 if test "$USE_DARWIN" = 1; then
42759 elif test "$USE_DOS" = 1; then
42763 for ac_func in dlopen
42765 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42766 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42767 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42768 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42769 echo $ECHO_N "(cached) $ECHO_C" >&6
42771 cat >conftest.$ac_ext <<_ACEOF
42774 cat confdefs.h >>conftest.$ac_ext
42775 cat >>conftest.$ac_ext <<_ACEOF
42776 /* end confdefs.h. */
42777 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42778 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42779 #define $ac_func innocuous_$ac_func
42781 /* System header to define __stub macros and hopefully few prototypes,
42782 which can conflict with char $ac_func (); below.
42783 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42784 <limits.h> exists even on freestanding compilers. */
42787 # include <limits.h>
42789 # include <assert.h>
42794 /* Override any GCC internal prototype to avoid an error.
42795 Use char because int might match the return type of a GCC
42796 builtin and then its argument prototype would still apply. */
42801 /* The GNU C library defines this for functions which it implements
42802 to always fail with ENOSYS. Some functions are actually named
42803 something starting with __ and the normal name is an alias. */
42804 #if defined __stub_$ac_func || defined __stub___$ac_func
42811 return $ac_func ();
42816 rm -f conftest.$ac_objext conftest$ac_exeext
42817 if { (ac_try="$ac_link"
42818 case "(($ac_try" in
42819 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42820 *) ac_try_echo
=$ac_try;;
42822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42823 (eval "$ac_link") 2>conftest.er1
42825 grep -v '^ *+' conftest.er1
>conftest.err
42827 cat conftest.err
>&5
42828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42829 (exit $ac_status); } && {
42830 test -z "$ac_c_werror_flag" ||
42831 test ! -s conftest.err
42832 } && test -s conftest
$ac_exeext &&
42833 $as_test_x conftest
$ac_exeext; then
42834 eval "$as_ac_var=yes"
42836 echo "$as_me: failed program was:" >&5
42837 sed 's/^/| /' conftest.
$ac_ext >&5
42839 eval "$as_ac_var=no"
42842 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42843 conftest
$ac_exeext conftest.
$ac_ext
42845 ac_res
=`eval echo '${'$as_ac_var'}'`
42846 { echo "$as_me:$LINENO: result: $ac_res" >&5
42847 echo "${ECHO_T}$ac_res" >&6; }
42848 if test `eval echo '${'$as_ac_var'}'` = yes; then
42849 cat >>confdefs.h
<<_ACEOF
42850 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42853 cat >>confdefs.h
<<\_ACEOF
42854 #define HAVE_DLOPEN 1
42861 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
42862 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
42863 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
42864 echo $ECHO_N "(cached) $ECHO_C" >&6
42866 ac_check_lib_save_LIBS
=$LIBS
42868 cat >conftest.
$ac_ext <<_ACEOF
42871 cat confdefs.h
>>conftest.
$ac_ext
42872 cat >>conftest.
$ac_ext <<_ACEOF
42873 /* end confdefs.h. */
42875 /* Override any GCC internal prototype to avoid an error.
42876 Use char because int might match the return type of a GCC
42877 builtin and then its argument prototype would still apply. */
42890 rm -f conftest.
$ac_objext conftest
$ac_exeext
42891 if { (ac_try
="$ac_link"
42892 case "(($ac_try" in
42893 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42894 *) ac_try_echo=$ac_try;;
42896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42897 (eval "$ac_link") 2>conftest.er1
42899 grep -v '^ *+' conftest.er1 >conftest.err
42901 cat conftest.err >&5
42902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42903 (exit $ac_status); } && {
42904 test -z "$ac_c_werror_flag" ||
42905 test ! -s conftest.err
42906 } && test -s conftest$ac_exeext &&
42907 $as_test_x conftest$ac_exeext; then
42908 ac_cv_lib_dl_dlopen=yes
42910 echo "$as_me: failed program was:" >&5
42911 sed 's/^/| /' conftest.$ac_ext >&5
42913 ac_cv_lib_dl_dlopen=no
42916 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42917 conftest$ac_exeext conftest.$ac_ext
42918 LIBS=$ac_check_lib_save_LIBS
42920 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
42921 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
42922 if test $ac_cv_lib_dl_dlopen = yes; then
42924 cat >>confdefs.h <<\_ACEOF
42925 #define HAVE_DLOPEN 1
42929 DL_LINK=" -ldl$DL_LINK"
42934 for ac_func in shl_load
42936 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42937 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42938 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42939 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42940 echo $ECHO_N "(cached) $ECHO_C" >&6
42942 cat >conftest.$ac_ext <<_ACEOF
42945 cat confdefs.h >>conftest.$ac_ext
42946 cat >>conftest.$ac_ext <<_ACEOF
42947 /* end confdefs.h. */
42948 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42949 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42950 #define $ac_func innocuous_$ac_func
42952 /* System header to define __stub macros and hopefully few prototypes,
42953 which can conflict with char $ac_func (); below.
42954 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42955 <limits.h> exists even on freestanding compilers. */
42958 # include <limits.h>
42960 # include <assert.h>
42965 /* Override any GCC internal prototype to avoid an error.
42966 Use char because int might match the return type of a GCC
42967 builtin and then its argument prototype would still apply. */
42972 /* The GNU C library defines this for functions which it implements
42973 to always fail with ENOSYS. Some functions are actually named
42974 something starting with __ and the normal name is an alias. */
42975 #if defined __stub_$ac_func || defined __stub___$ac_func
42982 return $ac_func ();
42987 rm -f conftest.$ac_objext conftest$ac_exeext
42988 if { (ac_try="$ac_link"
42989 case "(($ac_try" in
42990 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42991 *) ac_try_echo
=$ac_try;;
42993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42994 (eval "$ac_link") 2>conftest.er1
42996 grep -v '^ *+' conftest.er1
>conftest.err
42998 cat conftest.err
>&5
42999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43000 (exit $ac_status); } && {
43001 test -z "$ac_c_werror_flag" ||
43002 test ! -s conftest.err
43003 } && test -s conftest
$ac_exeext &&
43004 $as_test_x conftest
$ac_exeext; then
43005 eval "$as_ac_var=yes"
43007 echo "$as_me: failed program was:" >&5
43008 sed 's/^/| /' conftest.
$ac_ext >&5
43010 eval "$as_ac_var=no"
43013 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43014 conftest
$ac_exeext conftest.
$ac_ext
43016 ac_res
=`eval echo '${'$as_ac_var'}'`
43017 { echo "$as_me:$LINENO: result: $ac_res" >&5
43018 echo "${ECHO_T}$ac_res" >&6; }
43019 if test `eval echo '${'$as_ac_var'}'` = yes; then
43020 cat >>confdefs.h
<<_ACEOF
43021 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43024 cat >>confdefs.h
<<\_ACEOF
43025 #define HAVE_SHL_LOAD 1
43032 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
43033 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
43034 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
43035 echo $ECHO_N "(cached) $ECHO_C" >&6
43037 ac_check_lib_save_LIBS
=$LIBS
43038 LIBS
="-lshl_load $LIBS"
43039 cat >conftest.
$ac_ext <<_ACEOF
43042 cat confdefs.h
>>conftest.
$ac_ext
43043 cat >>conftest.
$ac_ext <<_ACEOF
43044 /* end confdefs.h. */
43046 /* Override any GCC internal prototype to avoid an error.
43047 Use char because int might match the return type of a GCC
43048 builtin and then its argument prototype would still apply. */
43061 rm -f conftest.
$ac_objext conftest
$ac_exeext
43062 if { (ac_try
="$ac_link"
43063 case "(($ac_try" in
43064 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43065 *) ac_try_echo=$ac_try;;
43067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43068 (eval "$ac_link") 2>conftest.er1
43070 grep -v '^ *+' conftest.er1 >conftest.err
43072 cat conftest.err >&5
43073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43074 (exit $ac_status); } && {
43075 test -z "$ac_c_werror_flag" ||
43076 test ! -s conftest.err
43077 } && test -s conftest$ac_exeext &&
43078 $as_test_x conftest$ac_exeext; then
43079 ac_cv_lib_shl_load_dld=yes
43081 echo "$as_me: failed program was:" >&5
43082 sed 's/^/| /' conftest.$ac_ext >&5
43084 ac_cv_lib_shl_load_dld=no
43087 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43088 conftest$ac_exeext conftest.$ac_ext
43089 LIBS=$ac_check_lib_save_LIBS
43091 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
43092 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
43093 if test $ac_cv_lib_shl_load_dld = yes; then
43096 DL_LINK=" -ldld$DL_LINK"
43112 if test "$HAVE_DL_FUNCS" = 1; then
43114 for ac_func in dlerror
43116 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43117 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43118 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43119 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43120 echo $ECHO_N "(cached) $ECHO_C" >&6
43122 cat >conftest.$ac_ext <<_ACEOF
43125 cat confdefs.h >>conftest.$ac_ext
43126 cat >>conftest.$ac_ext <<_ACEOF
43127 /* end confdefs.h. */
43128 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43129 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43130 #define $ac_func innocuous_$ac_func
43132 /* System header to define __stub macros and hopefully few prototypes,
43133 which can conflict with char $ac_func (); below.
43134 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43135 <limits.h> exists even on freestanding compilers. */
43138 # include <limits.h>
43140 # include <assert.h>
43145 /* Override any GCC internal prototype to avoid an error.
43146 Use char because int might match the return type of a GCC
43147 builtin and then its argument prototype would still apply. */
43152 /* The GNU C library defines this for functions which it implements
43153 to always fail with ENOSYS. Some functions are actually named
43154 something starting with __ and the normal name is an alias. */
43155 #if defined __stub_$ac_func || defined __stub___$ac_func
43162 return $ac_func ();
43167 rm -f conftest.$ac_objext conftest$ac_exeext
43168 if { (ac_try="$ac_link"
43169 case "(($ac_try" in
43170 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43171 *) ac_try_echo
=$ac_try;;
43173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43174 (eval "$ac_link") 2>conftest.er1
43176 grep -v '^ *+' conftest.er1
>conftest.err
43178 cat conftest.err
>&5
43179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43180 (exit $ac_status); } && {
43181 test -z "$ac_c_werror_flag" ||
43182 test ! -s conftest.err
43183 } && test -s conftest
$ac_exeext &&
43184 $as_test_x conftest
$ac_exeext; then
43185 eval "$as_ac_var=yes"
43187 echo "$as_me: failed program was:" >&5
43188 sed 's/^/| /' conftest.
$ac_ext >&5
43190 eval "$as_ac_var=no"
43193 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43194 conftest
$ac_exeext conftest.
$ac_ext
43196 ac_res
=`eval echo '${'$as_ac_var'}'`
43197 { echo "$as_me:$LINENO: result: $ac_res" >&5
43198 echo "${ECHO_T}$ac_res" >&6; }
43199 if test `eval echo '${'$as_ac_var'}'` = yes; then
43200 cat >>confdefs.h
<<_ACEOF
43201 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43203 cat >>confdefs.h
<<\_ACEOF
43204 #define HAVE_DLERROR 1
43209 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
43210 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
43211 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
43212 echo $ECHO_N "(cached) $ECHO_C" >&6
43214 ac_check_lib_save_LIBS
=$LIBS
43216 cat >conftest.
$ac_ext <<_ACEOF
43219 cat confdefs.h
>>conftest.
$ac_ext
43220 cat >>conftest.
$ac_ext <<_ACEOF
43221 /* end confdefs.h. */
43223 /* Override any GCC internal prototype to avoid an error.
43224 Use char because int might match the return type of a GCC
43225 builtin and then its argument prototype would still apply. */
43238 rm -f conftest.
$ac_objext conftest
$ac_exeext
43239 if { (ac_try
="$ac_link"
43240 case "(($ac_try" in
43241 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43242 *) ac_try_echo=$ac_try;;
43244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43245 (eval "$ac_link") 2>conftest.er1
43247 grep -v '^ *+' conftest.er1 >conftest.err
43249 cat conftest.err >&5
43250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43251 (exit $ac_status); } && {
43252 test -z "$ac_c_werror_flag" ||
43253 test ! -s conftest.err
43254 } && test -s conftest$ac_exeext &&
43255 $as_test_x conftest$ac_exeext; then
43256 ac_cv_lib_dl_dlerror=yes
43258 echo "$as_me: failed program was:" >&5
43259 sed 's/^/| /' conftest.$ac_ext >&5
43261 ac_cv_lib_dl_dlerror=no
43264 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43265 conftest$ac_exeext conftest.$ac_ext
43266 LIBS=$ac_check_lib_save_LIBS
43268 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
43269 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
43270 if test $ac_cv_lib_dl_dlerror = yes; then
43271 cat >>confdefs.h <<\_ACEOF
43272 #define HAVE_DLERROR 1
43285 if test "$HAVE_DL_FUNCS" = 0; then
43286 if test "$HAVE_SHL_FUNCS" = 0; then
43287 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
43288 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
43289 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
43290 wxUSE_DYNAMIC_LOADER=no
43291 wxUSE_DYNLIB_CLASS=no
43293 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
43294 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
43301 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
43302 cat >>confdefs.h <<\_ACEOF
43303 #define wxUSE_DYNAMIC_LOADER 1
43307 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43308 cat >>confdefs.h <<\_ACEOF
43309 #define wxUSE_DYNLIB_CLASS 1
43316 if test "$wxUSE_PLUGINS" = "yes" ; then
43317 if test "$wxUSE_SHARED" = "no" ; then
43318 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
43319 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
43322 if test "$wxUSE_MONOLITHIC" = "yes" ; then
43323 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
43324 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
43327 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
43328 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
43329 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
43332 if test "$wxUSE_PLUGINS" = "yes" ; then
43333 cat >>confdefs.h <<\_ACEOF
43334 #define wxUSE_PLUGINS 1
43341 if test "$wxUSE_STL" = "yes"; then
43342 cat >>confdefs.h <<\_ACEOF
43343 #define wxUSE_STL 1
43348 if test "$wxUSE_APPLE_IEEE" = "yes"; then
43349 cat >>confdefs.h <<\_ACEOF
43350 #define wxUSE_APPLE_IEEE 1
43355 if test "$wxUSE_TIMER" = "yes"; then
43356 cat >>confdefs.h <<\_ACEOF
43357 #define wxUSE_TIMER 1
43362 if test "$USE_UNIX" = "1" ; then
43363 if test "$wxUSE_MGL" != 1; then
43364 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
43365 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
43366 if test "${ac_cv_header_sys_soundcard+set}" = set; then
43367 echo $ECHO_N "(cached) $ECHO_C" >&6
43370 cat >conftest.$ac_ext <<_ACEOF
43373 cat confdefs.h >>conftest.$ac_ext
43374 cat >>conftest.$ac_ext <<_ACEOF
43375 /* end confdefs.h. */
43377 #include <sys/ioctl.h>
43378 #include <sys/soundcard.h>
43384 ioctl(0, SNDCTL_DSP_SPEED, 0);
43390 rm -f conftest.$ac_objext conftest$ac_exeext
43391 if { (ac_try="$ac_link"
43392 case "(($ac_try" in
43393 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43394 *) ac_try_echo
=$ac_try;;
43396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43397 (eval "$ac_link") 2>conftest.er1
43399 grep -v '^ *+' conftest.er1
>conftest.err
43401 cat conftest.err
>&5
43402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43403 (exit $ac_status); } && {
43404 test -z "$ac_c_werror_flag" ||
43405 test ! -s conftest.err
43406 } && test -s conftest
$ac_exeext &&
43407 $as_test_x conftest
$ac_exeext; then
43408 ac_cv_header_sys_soundcard
=yes
43410 echo "$as_me: failed program was:" >&5
43411 sed 's/^/| /' conftest.
$ac_ext >&5
43415 LIBS
="$saveLibs -lossaudio"
43416 cat >conftest.
$ac_ext <<_ACEOF
43419 cat confdefs.h
>>conftest.
$ac_ext
43420 cat >>conftest.
$ac_ext <<_ACEOF
43421 /* end confdefs.h. */
43423 #include <sys/ioctl.h>
43424 #include <sys/soundcard.h>
43430 ioctl(0, SNDCTL_DSP_SPEED, 0);
43436 rm -f conftest.
$ac_objext conftest
$ac_exeext
43437 if { (ac_try
="$ac_link"
43438 case "(($ac_try" in
43439 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43440 *) ac_try_echo=$ac_try;;
43442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43443 (eval "$ac_link") 2>conftest.er1
43445 grep -v '^ *+' conftest.er1 >conftest.err
43447 cat conftest.err >&5
43448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43449 (exit $ac_status); } && {
43450 test -z "$ac_c_werror_flag" ||
43451 test ! -s conftest.err
43452 } && test -s conftest$ac_exeext &&
43453 $as_test_x conftest$ac_exeext; then
43454 ac_cv_header_sys_soundcard=yes
43456 echo "$as_me: failed program was:" >&5
43457 sed 's/^/| /' conftest.$ac_ext >&5
43461 ac_cv_header_sys_soundcard=no
43466 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43467 conftest$ac_exeext conftest.$ac_ext
43472 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43473 conftest$ac_exeext conftest.$ac_ext
43476 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
43477 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
43480 if test "$ac_cv_header_sys_soundcard" = "yes"; then
43481 cat >>confdefs.h <<\_ACEOF
43482 #define HAVE_SYS_SOUNDCARD_H 1
43486 DISABLED_CONTRIB="$DISABLED_CONTRIB mmedia"
43491 if test "$wxUSE_SOUND" = "yes"; then
43492 if test "$USE_UNIX" = "1" ; then
43493 if test "$wxUSE_LIBSDL" != "no"; then
43495 # Check whether --with-sdl-prefix was given.
43496 if test "${with_sdl_prefix+set}" = set; then
43497 withval=$with_sdl_prefix; sdl_prefix="$withval"
43503 # Check whether --with-sdl-exec-prefix was given.
43504 if test "${with_sdl_exec_prefix+set}" = set; then
43505 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
43510 # Check whether --enable-sdltest was given.
43511 if test "${enable_sdltest+set}" = set; then
43512 enableval=$enable_sdltest;
43518 if test x$sdl_exec_prefix != x ; then
43519 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
43520 if test x${SDL_CONFIG+set} != xset ; then
43521 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
43524 if test x$sdl_prefix != x ; then
43525 sdl_args="$sdl_args --prefix=$sdl_prefix"
43526 if test x${SDL_CONFIG+set} != xset ; then
43527 SDL_CONFIG=$sdl_prefix/bin/sdl-config
43531 if test "x$prefix" != xNONE; then
43532 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
43534 # Extract the first word of "sdl-config", so it can be a program name with args.
43535 set dummy sdl-config; ac_word=$2
43536 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43537 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43538 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
43539 echo $ECHO_N "(cached) $ECHO_C" >&6
43541 case $SDL_CONFIG in
43543 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
43546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43547 for as_dir in $PATH
43550 test -z "$as_dir" && as_dir=.
43551 for ac_exec_ext in '' $ac_executable_extensions; do
43552 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43553 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43554 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43561 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
43565 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
43566 if test -n "$SDL_CONFIG"; then
43567 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
43568 echo "${ECHO_T}$SDL_CONFIG" >&6; }
43570 { echo "$as_me:$LINENO: result: no" >&5
43571 echo "${ECHO_T}no" >&6; }
43575 min_sdl_version=1.2.0
43576 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
43577 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
43579 if test "$SDL_CONFIG" = "no" ; then
43582 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
43583 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
43585 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
43586 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
43587 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
43588 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
43589 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
43590 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
43591 if test "x$enable_sdltest" = "xyes" ; then
43592 ac_save_CFLAGS="$CFLAGS"
43593 ac_save_CXXFLAGS="$CXXFLAGS"
43594 ac_save_LIBS="$LIBS"
43595 CFLAGS="$CFLAGS $SDL_CFLAGS"
43596 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43597 LIBS="$LIBS $SDL_LIBS"
43599 if test "$cross_compiling" = yes; then
43600 echo $ac_n "cross compiling; assumed OK... $ac_c"
43602 cat >conftest.$ac_ext <<_ACEOF
43605 cat confdefs.h >>conftest.$ac_ext
43606 cat >>conftest.$ac_ext <<_ACEOF
43607 /* end confdefs.h. */
43610 #include <stdlib.h>
43611 #include <string.h>
43615 my_strdup (char *str)
43621 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
43622 strcpy (new_str, str);
43630 int main (int argc, char *argv[])
43632 int major, minor, micro;
43635 /* This hangs on some systems (?)
43636 system ("touch conf.sdltest");
43638 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
43640 /* HP/UX 9 (%@#!) writes to sscanf strings */
43641 tmp_version = my_strdup("$min_sdl_version");
43642 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
43643 printf("%s, bad version string\n", "$min_sdl_version");
43647 if (($sdl_major_version > major) ||
43648 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
43649 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
43655 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
43656 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
43657 printf("*** best to upgrade to the required version.\n");
43658 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
43659 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
43660 printf("*** config.cache before re-running configure\n");
43667 rm -f conftest$ac_exeext
43668 if { (ac_try="$ac_link"
43669 case "(($ac_try" in
43670 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43671 *) ac_try_echo
=$ac_try;;
43673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43674 (eval "$ac_link") 2>&5
43676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43677 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
43678 { (case "(($ac_try" in
43679 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43680 *) ac_try_echo=$ac_try;;
43682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43683 (eval "$ac_try") 2>&5
43685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43686 (exit $ac_status); }; }; then
43689 echo "$as_me: program exited with status $ac_status" >&5
43690 echo "$as_me: failed program was:" >&5
43691 sed 's/^/| /' conftest.$ac_ext >&5
43693 ( exit $ac_status )
43696 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43700 CFLAGS="$ac_save_CFLAGS"
43701 CXXFLAGS="$ac_save_CXXFLAGS"
43702 LIBS="$ac_save_LIBS"
43705 if test "x$no_sdl" = x ; then
43706 { echo "$as_me:$LINENO: result: yes" >&5
43707 echo "${ECHO_T}yes" >&6; }
43709 EXTRALIBS_SDL="$SDL_LIBS"
43710 CFLAGS="$SDL_CFLAGS $CFLAGS"
43711 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
43712 cat >>confdefs.h <<\_ACEOF
43713 #define wxUSE_LIBSDL 1
43718 { echo "$as_me:$LINENO: result: no" >&5
43719 echo "${ECHO_T}no" >&6; }
43720 if test "$SDL_CONFIG" = "no" ; then
43721 echo "*** The sdl-config script installed by SDL could not be found"
43722 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
43723 echo "*** your path, or set the SDL_CONFIG environment variable to the"
43724 echo "*** full path to sdl-config."
43726 if test -f conf.sdltest ; then
43729 echo "*** Could not run SDL test program, checking why..."
43730 CFLAGS="$CFLAGS $SDL_CFLAGS"
43731 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43732 LIBS="$LIBS $SDL_LIBS"
43733 cat >conftest.$ac_ext <<_ACEOF
43736 cat confdefs.h >>conftest.$ac_ext
43737 cat >>conftest.$ac_ext <<_ACEOF
43738 /* end confdefs.h. */
43743 int main(int argc, char *argv[])
43746 #define main K_and_R_C_main
43756 rm -f conftest.$ac_objext conftest$ac_exeext
43757 if { (ac_try="$ac_link"
43758 case "(($ac_try" in
43759 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43760 *) ac_try_echo
=$ac_try;;
43762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43763 (eval "$ac_link") 2>conftest.er1
43765 grep -v '^ *+' conftest.er1
>conftest.err
43767 cat conftest.err
>&5
43768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43769 (exit $ac_status); } && {
43770 test -z "$ac_c_werror_flag" ||
43771 test ! -s conftest.err
43772 } && test -s conftest
$ac_exeext &&
43773 $as_test_x conftest
$ac_exeext; then
43774 echo "*** The test program compiled, but did not run. This usually means"
43775 echo "*** that the run-time linker is not finding SDL or finding the wrong"
43776 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
43777 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
43778 echo "*** to the installed location Also, make sure you have run ldconfig if that"
43779 echo "*** is required on your system"
43781 echo "*** If you have an old version installed, it is best to remove it, although"
43782 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
43784 echo "$as_me: failed program was:" >&5
43785 sed 's/^/| /' conftest.
$ac_ext >&5
43787 echo "*** The test program failed to compile or link. See the file config.log for the"
43788 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
43789 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
43790 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
43793 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43794 conftest
$ac_exeext conftest.
$ac_ext
43795 CFLAGS
="$ac_save_CFLAGS"
43796 CXXFLAGS
="$ac_save_CXXFLAGS"
43797 LIBS
="$ac_save_LIBS"
43808 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
43813 if test "$wxUSE_MGL" = 1; then
43814 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
43815 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
43821 if test "$wxUSE_SOUND" = "yes"; then
43822 cat >>confdefs.h
<<\_ACEOF
43823 #define wxUSE_SOUND 1
43826 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
43829 if test "$WXGTK20" = 1; then
43832 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
43833 if test -n "$ac_tool_prefix"; then
43834 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
43835 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
43836 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43837 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43838 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
43839 echo $ECHO_N "(cached) $ECHO_C" >&6
43841 case $PKG_CONFIG in
43843 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
43846 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43847 for as_dir
in $PATH
43850 test -z "$as_dir" && as_dir
=.
43851 for ac_exec_ext
in '' $ac_executable_extensions; do
43852 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43853 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
43854 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43864 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
43865 if test -n "$PKG_CONFIG"; then
43866 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
43867 echo "${ECHO_T}$PKG_CONFIG" >&6; }
43869 { echo "$as_me:$LINENO: result: no" >&5
43870 echo "${ECHO_T}no" >&6; }
43875 if test -z "$ac_cv_path_PKG_CONFIG"; then
43876 ac_pt_PKG_CONFIG
=$PKG_CONFIG
43877 # Extract the first word of "pkg-config", so it can be a program name with args.
43878 set dummy pkg
-config; ac_word
=$2
43879 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43880 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43881 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
43882 echo $ECHO_N "(cached) $ECHO_C" >&6
43884 case $ac_pt_PKG_CONFIG in
43886 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
43889 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43890 for as_dir
in $PATH
43893 test -z "$as_dir" && as_dir
=.
43894 for ac_exec_ext
in '' $ac_executable_extensions; do
43895 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43896 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
43897 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43907 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
43908 if test -n "$ac_pt_PKG_CONFIG"; then
43909 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
43910 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
43912 { echo "$as_me:$LINENO: result: no" >&5
43913 echo "${ECHO_T}no" >&6; }
43916 if test "x$ac_pt_PKG_CONFIG" = x
; then
43919 case $cross_compiling:$ac_tool_warned in
43921 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
43922 whose name does not start with the host triplet. If you think this
43923 configuration is useful to you, please write to autoconf@gnu.org." >&5
43924 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
43925 whose name does not start with the host triplet. If you think this
43926 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
43927 ac_tool_warned
=yes ;;
43929 PKG_CONFIG
=$ac_pt_PKG_CONFIG
43932 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
43936 if test -n "$PKG_CONFIG"; then
43937 _pkg_min_version
=0.9.0
43938 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
43939 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
43940 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
43941 { echo "$as_me:$LINENO: result: yes" >&5
43942 echo "${ECHO_T}yes" >&6; }
43944 { echo "$as_me:$LINENO: result: no" >&5
43945 echo "${ECHO_T}no" >&6; }
43951 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43952 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
43956 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
43957 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
43959 if test -n "$PKG_CONFIG"; then
43960 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
43961 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
43963 if test -n "$PKG_CONFIG" && \
43964 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43965 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43968 (exit $ac_status); }; then
43969 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43977 if test -n "$PKG_CONFIG"; then
43978 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
43979 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
43981 if test -n "$PKG_CONFIG" && \
43982 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43983 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43986 (exit $ac_status); }; then
43987 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43998 if test $pkg_failed = yes; then
44000 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44001 _pkg_short_errors_supported
=yes
44003 _pkg_short_errors_supported
=no
44005 if test $_pkg_short_errors_supported = yes; then
44006 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44008 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44010 # Put the nasty error message in config.log where it belongs
44011 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
44014 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44015 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44016 wxUSE_LIBGNOMEPRINT
="no"
44019 elif test $pkg_failed = untried
; then
44021 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44022 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44023 wxUSE_LIBGNOMEPRINT
="no"
44027 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
44028 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
44029 { echo "$as_me:$LINENO: result: yes" >&5
44030 echo "${ECHO_T}yes" >&6; }
44032 CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
44033 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
44034 cat >>confdefs.h
<<\_ACEOF
44035 #define wxUSE_LIBGNOMEPRINT 1
44043 if test "$wxUSE_MIMETYPE" = "yes" ; then
44044 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
44048 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
44049 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
44051 if test -n "$PKG_CONFIG"; then
44052 if test -n "$GNOMEVFS_CFLAGS"; then
44053 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
44055 if test -n "$PKG_CONFIG" && \
44056 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44057 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44060 (exit $ac_status); }; then
44061 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44069 if test -n "$PKG_CONFIG"; then
44070 if test -n "$GNOMEVFS_LIBS"; then
44071 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
44073 if test -n "$PKG_CONFIG" && \
44074 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44075 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44078 (exit $ac_status); }; then
44079 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44090 if test $pkg_failed = yes; then
44092 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44093 _pkg_short_errors_supported
=yes
44095 _pkg_short_errors_supported
=no
44097 if test $_pkg_short_errors_supported = yes; then
44098 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44100 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44102 # Put the nasty error message in config.log where it belongs
44103 echo "$GNOMEVFS_PKG_ERRORS" >&5
44106 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44107 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44108 wxUSE_LIBGNOMEVFS
="no"
44111 elif test $pkg_failed = untried
; then
44113 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44114 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44115 wxUSE_LIBGNOMEVFS
="no"
44119 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
44120 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
44121 { echo "$as_me:$LINENO: result: yes" >&5
44122 echo "${ECHO_T}yes" >&6; }
44124 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
44125 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
44126 cat >>confdefs.h
<<\_ACEOF
44127 #define wxUSE_LIBGNOMEVFS 1
44135 if test "$wxUSE_LIBHILDON" = "yes" ; then
44138 { echo "$as_me:$LINENO: checking for HILDON" >&5
44139 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
44141 if test -n "$PKG_CONFIG"; then
44142 if test -n "$HILDON_CFLAGS"; then
44143 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
44145 if test -n "$PKG_CONFIG" && \
44146 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44147 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44150 (exit $ac_status); }; then
44151 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
44159 if test -n "$PKG_CONFIG"; then
44160 if test -n "$HILDON_LIBS"; then
44161 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
44163 if test -n "$PKG_CONFIG" && \
44164 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44165 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44168 (exit $ac_status); }; then
44169 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
44180 if test $pkg_failed = yes; then
44182 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44183 _pkg_short_errors_supported
=yes
44185 _pkg_short_errors_supported
=no
44187 if test $_pkg_short_errors_supported = yes; then
44188 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44190 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44192 # Put the nasty error message in config.log where it belongs
44193 echo "$HILDON_PKG_ERRORS" >&5
44196 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44197 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44198 wxUSE_LIBHILDON
="no"
44201 elif test $pkg_failed = untried
; then
44203 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44204 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44205 wxUSE_LIBHILDON
="no"
44209 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
44210 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
44211 { echo "$as_me:$LINENO: result: yes" >&5
44212 echo "${ECHO_T}yes" >&6; }
44214 EXTRALIBS_HILDON
="$HILDON_LIBS"
44215 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
44216 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
44217 cat >>confdefs.h
<<\_ACEOF
44218 #define wxUSE_LIBHILDON 1
44226 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
44227 cat >>confdefs.h
<<\_ACEOF
44228 #define wxUSE_CMDLINE_PARSER 1
44233 if test "$wxUSE_STOPWATCH" = "yes"; then
44234 cat >>confdefs.h
<<\_ACEOF
44235 #define wxUSE_STOPWATCH 1
44240 if test "$wxUSE_DATETIME" = "yes"; then
44241 cat >>confdefs.h
<<\_ACEOF
44242 #define wxUSE_DATETIME 1
44247 if test "$wxUSE_FILE" = "yes"; then
44248 cat >>confdefs.h
<<\_ACEOF
44249 #define wxUSE_FILE 1
44254 if test "$wxUSE_FFILE" = "yes"; then
44255 cat >>confdefs.h
<<\_ACEOF
44256 #define wxUSE_FFILE 1
44261 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
44262 if test "$wxUSE_STREAMS" != yes; then
44263 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
44264 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
44265 wxUSE_ARCHIVE_STREAMS
=no
44267 cat >>confdefs.h
<<\_ACEOF
44268 #define wxUSE_ARCHIVE_STREAMS 1
44274 if test "$wxUSE_ZIPSTREAM" = "yes"; then
44275 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44276 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
44277 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
44278 elif test "$wxUSE_ZLIB" = "no"; then
44279 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
44280 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
44282 cat >>confdefs.h
<<\_ACEOF
44283 #define wxUSE_ZIPSTREAM 1
44289 if test "$wxUSE_TARSTREAM" = "yes"; then
44290 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44291 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
44292 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
44294 cat >>confdefs.h
<<\_ACEOF
44295 #define wxUSE_TARSTREAM 1
44301 if test "$wxUSE_FILESYSTEM" = "yes"; then
44302 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
44303 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
44304 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
44305 wxUSE_FILESYSTEM
=no
44307 cat >>confdefs.h
<<\_ACEOF
44308 #define wxUSE_FILESYSTEM 1
44314 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
44315 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
44316 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
44317 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
44319 cat >>confdefs.h
<<\_ACEOF
44320 #define wxUSE_FS_ARCHIVE 1
44326 if test "$wxUSE_FS_ZIP" = "yes"; then
44327 if test "$wxUSE_FS_ARCHIVE" != yes; then
44328 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
44329 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
44331 cat >>confdefs.h
<<\_ACEOF
44332 #define wxUSE_FS_ZIP 1
44338 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44339 if test "$USE_UNIX" != 1; then
44340 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
44341 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
44342 wxUSE_ON_FATAL_EXCEPTION
=no
44344 cat >>confdefs.h
<<\_ACEOF
44345 #define wxUSE_ON_FATAL_EXCEPTION 1
44351 if test "$wxUSE_STACKWALKER" = "yes"; then
44352 cat >>confdefs.h
<<\_ACEOF
44353 #define wxUSE_STACKWALKER 1
44358 if test "$wxUSE_DEBUGREPORT" = "yes"; then
44359 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
44360 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
44361 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
44362 wxUSE_DEBUGREPORT
=no
44364 cat >>confdefs.h
<<\_ACEOF
44365 #define wxUSE_DEBUGREPORT 1
44368 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44369 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
44374 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
44375 cat >>confdefs.h
<<\_ACEOF
44376 #define wxUSE_SNGLINST_CHECKER 1
44381 if test "$wxUSE_BUSYINFO" = "yes"; then
44382 cat >>confdefs.h
<<\_ACEOF
44383 #define wxUSE_BUSYINFO 1
44388 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
44389 cat >>confdefs.h
<<\_ACEOF
44390 #define wxUSE_STD_IOSTREAM 1
44395 if test "$wxUSE_STD_STRING" = "yes"; then
44396 cat >>confdefs.h
<<\_ACEOF
44397 #define wxUSE_STD_STRING 1
44402 if test "$wxUSE_STDPATHS" = "yes"; then
44403 cat >>confdefs.h
<<\_ACEOF
44404 #define wxUSE_STDPATHS 1
44409 if test "$wxUSE_TEXTBUFFER" = "yes"; then
44410 cat >>confdefs.h
<<\_ACEOF
44411 #define wxUSE_TEXTBUFFER 1
44416 if test "$wxUSE_TEXTFILE" = "yes"; then
44417 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
44418 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
44419 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
44421 cat >>confdefs.h
<<\_ACEOF
44422 #define wxUSE_TEXTFILE 1
44428 if test "$wxUSE_CONFIG" = "yes" ; then
44429 if test "$wxUSE_TEXTFILE" != "yes"; then
44430 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
44431 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
44433 cat >>confdefs.h
<<\_ACEOF
44434 #define wxUSE_CONFIG 1
44437 cat >>confdefs.h
<<\_ACEOF
44438 #define wxUSE_CONFIG_NATIVE 1
44441 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
44445 if test "$wxUSE_INTL" = "yes" ; then
44446 if test "$wxUSE_FILE" != "yes"; then
44447 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
44448 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
44450 cat >>confdefs.h
<<\_ACEOF
44451 #define wxUSE_INTL 1
44454 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
44455 GUIDIST
="$GUIDIST INTL_DIST"
44459 if test "$wxUSE_LOG" = "yes"; then
44460 cat >>confdefs.h
<<\_ACEOF
44461 #define wxUSE_LOG 1
44465 if test "$wxUSE_LOGGUI" = "yes"; then
44466 cat >>confdefs.h
<<\_ACEOF
44467 #define wxUSE_LOGGUI 1
44472 if test "$wxUSE_LOGWINDOW" = "yes"; then
44473 cat >>confdefs.h
<<\_ACEOF
44474 #define wxUSE_LOGWINDOW 1
44479 if test "$wxUSE_LOGDIALOG" = "yes"; then
44480 cat >>confdefs.h
<<\_ACEOF
44481 #define wxUSE_LOG_DIALOG 1
44486 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
44489 if test "$wxUSE_LONGLONG" = "yes"; then
44490 cat >>confdefs.h
<<\_ACEOF
44491 #define wxUSE_LONGLONG 1
44496 if test "$wxUSE_GEOMETRY" = "yes"; then
44497 cat >>confdefs.h
<<\_ACEOF
44498 #define wxUSE_GEOMETRY 1
44503 if test "$wxUSE_STREAMS" = "yes" ; then
44504 cat >>confdefs.h
<<\_ACEOF
44505 #define wxUSE_STREAMS 1
44510 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
44511 cat >>confdefs.h
<<\_ACEOF
44512 #define wxUSE_PRINTF_POS_PARAMS 1
44519 if test "$wxUSE_DATETIME" = "yes"; then
44521 for ac_func
in strptime
44523 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44524 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44525 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44526 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44527 echo $ECHO_N "(cached) $ECHO_C" >&6
44529 cat >conftest.
$ac_ext <<_ACEOF
44532 cat confdefs.h
>>conftest.
$ac_ext
44533 cat >>conftest.
$ac_ext <<_ACEOF
44534 /* end confdefs.h. */
44535 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44536 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44537 #define $ac_func innocuous_$ac_func
44539 /* System header to define __stub macros and hopefully few prototypes,
44540 which can conflict with char $ac_func (); below.
44541 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44542 <limits.h> exists even on freestanding compilers. */
44545 # include <limits.h>
44547 # include <assert.h>
44552 /* Override any GCC internal prototype to avoid an error.
44553 Use char because int might match the return type of a GCC
44554 builtin and then its argument prototype would still apply. */
44559 /* The GNU C library defines this for functions which it implements
44560 to always fail with ENOSYS. Some functions are actually named
44561 something starting with __ and the normal name is an alias. */
44562 #if defined __stub_$ac_func || defined __stub___$ac_func
44569 return $ac_func ();
44574 rm -f conftest.
$ac_objext conftest
$ac_exeext
44575 if { (ac_try
="$ac_link"
44576 case "(($ac_try" in
44577 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44578 *) ac_try_echo=$ac_try;;
44580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44581 (eval "$ac_link") 2>conftest.er1
44583 grep -v '^ *+' conftest.er1 >conftest.err
44585 cat conftest.err >&5
44586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44587 (exit $ac_status); } && {
44588 test -z "$ac_c_werror_flag" ||
44589 test ! -s conftest.err
44590 } && test -s conftest$ac_exeext &&
44591 $as_test_x conftest$ac_exeext; then
44592 eval "$as_ac_var=yes"
44594 echo "$as_me: failed program was:" >&5
44595 sed 's/^/| /' conftest.$ac_ext >&5
44597 eval "$as_ac_var=no"
44600 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44601 conftest$ac_exeext conftest.$ac_ext
44603 ac_res=`eval echo '${'$as_ac_var'}'`
44604 { echo "$as_me:$LINENO: result: $ac_res" >&5
44605 echo "${ECHO_T}$ac_res" >&6; }
44606 if test `eval echo '${'$as_ac_var'}'` = yes; then
44607 cat >>confdefs.h <<_ACEOF
44608 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44614 if test "$ac_cv_func_strptime" = "yes"; then
44615 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
44616 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
44617 if test "${wx_cv_func_strptime_decl+set}" = set; then
44618 echo $ECHO_N "(cached) $ECHO_C" >&6
44622 ac_cpp='$CXXCPP $CPPFLAGS'
44623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44627 cat >conftest.$ac_ext <<_ACEOF
44630 cat confdefs.h >>conftest.$ac_ext
44631 cat >>conftest.$ac_ext <<_ACEOF
44632 /* end confdefs.h. */
44641 strptime("foo", "bar", &t);
44647 rm -f conftest.$ac_objext
44648 if { (ac_try="$ac_compile"
44649 case "(($ac_try" in
44650 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44651 *) ac_try_echo
=$ac_try;;
44653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44654 (eval "$ac_compile") 2>conftest.er1
44656 grep -v '^ *+' conftest.er1
>conftest.err
44658 cat conftest.err
>&5
44659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44660 (exit $ac_status); } && {
44661 test -z "$ac_cxx_werror_flag" ||
44662 test ! -s conftest.err
44663 } && test -s conftest.
$ac_objext; then
44664 wx_cv_func_strptime_decl
=yes
44666 echo "$as_me: failed program was:" >&5
44667 sed 's/^/| /' conftest.
$ac_ext >&5
44669 wx_cv_func_strptime_decl
=no
44673 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44675 ac_cpp
='$CPP $CPPFLAGS'
44676 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44677 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44678 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44683 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
44684 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
44686 if test "$wx_cv_func_strptime_decl" = "yes"; then
44687 cat >>confdefs.h
<<\_ACEOF
44688 #define HAVE_STRPTIME_DECL 1
44693 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
44694 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
44695 if test "${wx_cv_var_timezone+set}" = set; then
44696 echo $ECHO_N "(cached) $ECHO_C" >&6
44700 ac_cpp
='$CXXCPP $CPPFLAGS'
44701 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44702 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44703 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
44705 cat >conftest.
$ac_ext <<_ACEOF
44708 cat confdefs.h
>>conftest.
$ac_ext
44709 cat >>conftest.
$ac_ext <<_ACEOF
44710 /* end confdefs.h. */
44725 rm -f conftest.
$ac_objext
44726 if { (ac_try
="$ac_compile"
44727 case "(($ac_try" in
44728 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44729 *) ac_try_echo=$ac_try;;
44731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44732 (eval "$ac_compile") 2>conftest.er1
44734 grep -v '^ *+' conftest.er1 >conftest.err
44736 cat conftest.err >&5
44737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44738 (exit $ac_status); } && {
44739 test -z "$ac_cxx_werror_flag" ||
44740 test ! -s conftest.err
44741 } && test -s conftest.$ac_objext; then
44743 wx_cv_var_timezone=timezone
44746 echo "$as_me: failed program was:" >&5
44747 sed 's/^/| /' conftest.$ac_ext >&5
44750 cat >conftest.$ac_ext <<_ACEOF
44753 cat confdefs.h >>conftest.$ac_ext
44754 cat >>conftest.$ac_ext <<_ACEOF
44755 /* end confdefs.h. */
44770 rm -f conftest.$ac_objext
44771 if { (ac_try="$ac_compile"
44772 case "(($ac_try" in
44773 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44774 *) ac_try_echo
=$ac_try;;
44776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44777 (eval "$ac_compile") 2>conftest.er1
44779 grep -v '^ *+' conftest.er1
>conftest.err
44781 cat conftest.err
>&5
44782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44783 (exit $ac_status); } && {
44784 test -z "$ac_cxx_werror_flag" ||
44785 test ! -s conftest.err
44786 } && test -s conftest.
$ac_objext; then
44788 wx_cv_var_timezone
=_timezone
44791 echo "$as_me: failed program was:" >&5
44792 sed 's/^/| /' conftest.
$ac_ext >&5
44795 cat >conftest.
$ac_ext <<_ACEOF
44798 cat confdefs.h
>>conftest.
$ac_ext
44799 cat >>conftest.
$ac_ext <<_ACEOF
44800 /* end confdefs.h. */
44815 rm -f conftest.
$ac_objext
44816 if { (ac_try
="$ac_compile"
44817 case "(($ac_try" in
44818 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44819 *) ac_try_echo=$ac_try;;
44821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44822 (eval "$ac_compile") 2>conftest.er1
44824 grep -v '^ *+' conftest.er1 >conftest.err
44826 cat conftest.err >&5
44827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44828 (exit $ac_status); } && {
44829 test -z "$ac_cxx_werror_flag" ||
44830 test ! -s conftest.err
44831 } && test -s conftest.$ac_objext; then
44833 wx_cv_var_timezone=__timezone
44836 echo "$as_me: failed program was:" >&5
44837 sed 's/^/| /' conftest.$ac_ext >&5
44840 if test "$USE_DOS" = 0 ; then
44841 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
44842 echo "$as_me: WARNING: no timezone variable" >&2;}
44848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44860 ac_cpp='$CPP $CPPFLAGS'
44861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44868 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
44869 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
44871 if test "x$wx_cv_var_timezone" != x ; then
44872 cat >>confdefs.h <<_ACEOF
44873 #define WX_TIMEZONE $wx_cv_var_timezone
44879 for ac_func in localtime
44881 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44882 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44883 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44884 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44885 echo $ECHO_N "(cached) $ECHO_C" >&6
44887 cat >conftest.$ac_ext <<_ACEOF
44890 cat confdefs.h >>conftest.$ac_ext
44891 cat >>conftest.$ac_ext <<_ACEOF
44892 /* end confdefs.h. */
44893 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44894 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44895 #define $ac_func innocuous_$ac_func
44897 /* System header to define __stub macros and hopefully few prototypes,
44898 which can conflict with char $ac_func (); below.
44899 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44900 <limits.h> exists even on freestanding compilers. */
44903 # include <limits.h>
44905 # include <assert.h>
44910 /* Override any GCC internal prototype to avoid an error.
44911 Use char because int might match the return type of a GCC
44912 builtin and then its argument prototype would still apply. */
44917 /* The GNU C library defines this for functions which it implements
44918 to always fail with ENOSYS. Some functions are actually named
44919 something starting with __ and the normal name is an alias. */
44920 #if defined __stub_$ac_func || defined __stub___$ac_func
44927 return $ac_func ();
44932 rm -f conftest.$ac_objext conftest$ac_exeext
44933 if { (ac_try="$ac_link"
44934 case "(($ac_try" in
44935 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44936 *) ac_try_echo
=$ac_try;;
44938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44939 (eval "$ac_link") 2>conftest.er1
44941 grep -v '^ *+' conftest.er1
>conftest.err
44943 cat conftest.err
>&5
44944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44945 (exit $ac_status); } && {
44946 test -z "$ac_c_werror_flag" ||
44947 test ! -s conftest.err
44948 } && test -s conftest
$ac_exeext &&
44949 $as_test_x conftest
$ac_exeext; then
44950 eval "$as_ac_var=yes"
44952 echo "$as_me: failed program was:" >&5
44953 sed 's/^/| /' conftest.
$ac_ext >&5
44955 eval "$as_ac_var=no"
44958 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44959 conftest
$ac_exeext conftest.
$ac_ext
44961 ac_res
=`eval echo '${'$as_ac_var'}'`
44962 { echo "$as_me:$LINENO: result: $ac_res" >&5
44963 echo "${ECHO_T}$ac_res" >&6; }
44964 if test `eval echo '${'$as_ac_var'}'` = yes; then
44965 cat >>confdefs.h
<<_ACEOF
44966 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44973 if test "$ac_cv_func_localtime" = "yes"; then
44974 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
44975 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
44976 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
44977 echo $ECHO_N "(cached) $ECHO_C" >&6
44980 cat >conftest.
$ac_ext <<_ACEOF
44983 cat confdefs.h
>>conftest.
$ac_ext
44984 cat >>conftest.
$ac_ext <<_ACEOF
44985 /* end confdefs.h. */
45000 rm -f conftest.
$ac_objext
45001 if { (ac_try
="$ac_compile"
45002 case "(($ac_try" in
45003 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45004 *) ac_try_echo=$ac_try;;
45006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45007 (eval "$ac_compile") 2>conftest.er1
45009 grep -v '^ *+' conftest.er1 >conftest.err
45011 cat conftest.err >&5
45012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45013 (exit $ac_status); } && {
45014 test -z "$ac_c_werror_flag" ||
45015 test ! -s conftest.err
45016 } && test -s conftest.$ac_objext; then
45018 wx_cv_struct_tm_has_gmtoff=yes
45021 echo "$as_me: failed program was:" >&5
45022 sed 's/^/| /' conftest.$ac_ext >&5
45024 wx_cv_struct_tm_has_gmtoff=no
45028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45031 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
45032 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
45035 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
45036 cat >>confdefs.h <<\_ACEOF
45037 #define WX_GMTOFF_IN_TM 1
45044 for ac_func in gettimeofday ftime
45046 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45047 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45048 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45049 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45050 echo $ECHO_N "(cached) $ECHO_C" >&6
45052 cat >conftest.$ac_ext <<_ACEOF
45055 cat confdefs.h >>conftest.$ac_ext
45056 cat >>conftest.$ac_ext <<_ACEOF
45057 /* end confdefs.h. */
45058 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45059 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45060 #define $ac_func innocuous_$ac_func
45062 /* System header to define __stub macros and hopefully few prototypes,
45063 which can conflict with char $ac_func (); below.
45064 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45065 <limits.h> exists even on freestanding compilers. */
45068 # include <limits.h>
45070 # include <assert.h>
45075 /* Override any GCC internal prototype to avoid an error.
45076 Use char because int might match the return type of a GCC
45077 builtin and then its argument prototype would still apply. */
45082 /* The GNU C library defines this for functions which it implements
45083 to always fail with ENOSYS. Some functions are actually named
45084 something starting with __ and the normal name is an alias. */
45085 #if defined __stub_$ac_func || defined __stub___$ac_func
45092 return $ac_func ();
45097 rm -f conftest.$ac_objext conftest$ac_exeext
45098 if { (ac_try="$ac_link"
45099 case "(($ac_try" in
45100 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45101 *) ac_try_echo
=$ac_try;;
45103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45104 (eval "$ac_link") 2>conftest.er1
45106 grep -v '^ *+' conftest.er1
>conftest.err
45108 cat conftest.err
>&5
45109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45110 (exit $ac_status); } && {
45111 test -z "$ac_c_werror_flag" ||
45112 test ! -s conftest.err
45113 } && test -s conftest
$ac_exeext &&
45114 $as_test_x conftest
$ac_exeext; then
45115 eval "$as_ac_var=yes"
45117 echo "$as_me: failed program was:" >&5
45118 sed 's/^/| /' conftest.
$ac_ext >&5
45120 eval "$as_ac_var=no"
45123 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
45124 conftest
$ac_exeext conftest.
$ac_ext
45126 ac_res
=`eval echo '${'$as_ac_var'}'`
45127 { echo "$as_me:$LINENO: result: $ac_res" >&5
45128 echo "${ECHO_T}$ac_res" >&6; }
45129 if test `eval echo '${'$as_ac_var'}'` = yes; then
45130 cat >>confdefs.h
<<_ACEOF
45131 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45138 if test "$ac_cv_func_gettimeofday" = "yes"; then
45139 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
45140 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
45141 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
45142 echo $ECHO_N "(cached) $ECHO_C" >&6
45145 cat >conftest.
$ac_ext <<_ACEOF
45148 cat confdefs.h
>>conftest.
$ac_ext
45149 cat >>conftest.
$ac_ext <<_ACEOF
45150 /* end confdefs.h. */
45152 #include <sys/time.h>
45153 #include <unistd.h>
45160 gettimeofday(&tv, NULL);
45166 rm -f conftest.
$ac_objext
45167 if { (ac_try
="$ac_compile"
45168 case "(($ac_try" in
45169 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45170 *) ac_try_echo=$ac_try;;
45172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45173 (eval "$ac_compile") 2>conftest.er1
45175 grep -v '^ *+' conftest.er1 >conftest.err
45177 cat conftest.err >&5
45178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45179 (exit $ac_status); } && {
45180 test -z "$ac_c_werror_flag" ||
45181 test ! -s conftest.err
45182 } && test -s conftest.$ac_objext; then
45183 wx_cv_func_gettimeofday_has_2_args=yes
45185 echo "$as_me: failed program was:" >&5
45186 sed 's/^/| /' conftest.$ac_ext >&5
45188 cat >conftest.$ac_ext <<_ACEOF
45191 cat confdefs.h >>conftest.$ac_ext
45192 cat >>conftest.$ac_ext <<_ACEOF
45193 /* end confdefs.h. */
45195 #include <sys/time.h>
45196 #include <unistd.h>
45209 rm -f conftest.$ac_objext
45210 if { (ac_try="$ac_compile"
45211 case "(($ac_try" in
45212 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45213 *) ac_try_echo
=$ac_try;;
45215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45216 (eval "$ac_compile") 2>conftest.er1
45218 grep -v '^ *+' conftest.er1
>conftest.err
45220 cat conftest.err
>&5
45221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45222 (exit $ac_status); } && {
45223 test -z "$ac_c_werror_flag" ||
45224 test ! -s conftest.err
45225 } && test -s conftest.
$ac_objext; then
45226 wx_cv_func_gettimeofday_has_2_args
=no
45228 echo "$as_me: failed program was:" >&5
45229 sed 's/^/| /' conftest.
$ac_ext >&5
45232 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
45233 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
45234 wx_cv_func_gettimeofday_has_2_args
=unknown
45239 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45243 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45246 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
45247 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
45249 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
45250 cat >>confdefs.h
<<\_ACEOF
45251 #define WX_GETTIMEOFDAY_NO_TZ 1
45257 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
45261 if test "$wxUSE_SOCKETS" = "yes"; then
45262 if test "$wxUSE_MGL" = "1"; then
45263 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
45264 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
45269 if test "$wxUSE_SOCKETS" = "yes"; then
45270 if test "$TOOLKIT" != "MSW"; then
45271 { echo "$as_me:$LINENO: checking for socket" >&5
45272 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
45273 if test "${ac_cv_func_socket+set}" = set; then
45274 echo $ECHO_N "(cached) $ECHO_C" >&6
45276 cat >conftest.
$ac_ext <<_ACEOF
45279 cat confdefs.h
>>conftest.
$ac_ext
45280 cat >>conftest.
$ac_ext <<_ACEOF
45281 /* end confdefs.h. */
45282 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
45283 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45284 #define socket innocuous_socket
45286 /* System header to define __stub macros and hopefully few prototypes,
45287 which can conflict with char socket (); below.
45288 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45289 <limits.h> exists even on freestanding compilers. */
45292 # include <limits.h>
45294 # include <assert.h>
45299 /* Override any GCC internal prototype to avoid an error.
45300 Use char because int might match the return type of a GCC
45301 builtin and then its argument prototype would still apply. */
45306 /* The GNU C library defines this for functions which it implements
45307 to always fail with ENOSYS. Some functions are actually named
45308 something starting with __ and the normal name is an alias. */
45309 #if defined __stub_socket || defined __stub___socket
45321 rm -f conftest.
$ac_objext conftest
$ac_exeext
45322 if { (ac_try
="$ac_link"
45323 case "(($ac_try" in
45324 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45325 *) ac_try_echo=$ac_try;;
45327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45328 (eval "$ac_link") 2>conftest.er1
45330 grep -v '^ *+' conftest.er1 >conftest.err
45332 cat conftest.err >&5
45333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45334 (exit $ac_status); } && {
45335 test -z "$ac_c_werror_flag" ||
45336 test ! -s conftest.err
45337 } && test -s conftest$ac_exeext &&
45338 $as_test_x conftest$ac_exeext; then
45339 ac_cv_func_socket=yes
45341 echo "$as_me: failed program was:" >&5
45342 sed 's/^/| /' conftest.$ac_ext >&5
45344 ac_cv_func_socket=no
45347 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45348 conftest$ac_exeext conftest.$ac_ext
45350 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
45351 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
45352 if test $ac_cv_func_socket = yes; then
45356 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
45357 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
45358 if test "${ac_cv_lib_socket_socket+set}" = set; then
45359 echo $ECHO_N "(cached) $ECHO_C" >&6
45361 ac_check_lib_save_LIBS=$LIBS
45362 LIBS="-lsocket $LIBS"
45363 cat >conftest.$ac_ext <<_ACEOF
45366 cat confdefs.h >>conftest.$ac_ext
45367 cat >>conftest.$ac_ext <<_ACEOF
45368 /* end confdefs.h. */
45370 /* Override any GCC internal prototype to avoid an error.
45371 Use char because int might match the return type of a GCC
45372 builtin and then its argument prototype would still apply. */
45385 rm -f conftest.$ac_objext conftest$ac_exeext
45386 if { (ac_try="$ac_link"
45387 case "(($ac_try" in
45388 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45389 *) ac_try_echo
=$ac_try;;
45391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45392 (eval "$ac_link") 2>conftest.er1
45394 grep -v '^ *+' conftest.er1
>conftest.err
45396 cat conftest.err
>&5
45397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45398 (exit $ac_status); } && {
45399 test -z "$ac_c_werror_flag" ||
45400 test ! -s conftest.err
45401 } && test -s conftest
$ac_exeext &&
45402 $as_test_x conftest
$ac_exeext; then
45403 ac_cv_lib_socket_socket
=yes
45405 echo "$as_me: failed program was:" >&5
45406 sed 's/^/| /' conftest.
$ac_ext >&5
45408 ac_cv_lib_socket_socket
=no
45411 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
45412 conftest
$ac_exeext conftest.
$ac_ext
45413 LIBS
=$ac_check_lib_save_LIBS
45415 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
45416 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
45417 if test $ac_cv_lib_socket_socket = yes; then
45418 if test "$INET_LINK" != " -lsocket"; then
45419 INET_LINK
="$INET_LINK -lsocket"
45423 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
45424 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
45437 if test "$wxUSE_SOCKETS" = "yes" ; then
45438 if test "$TOOLKIT" != "MSW"; then
45439 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
45440 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
45441 if test "${wx_cv_type_getsockname3+set}" = set; then
45442 echo $ECHO_N "(cached) $ECHO_C" >&6
45446 ac_cpp
='$CXXCPP $CPPFLAGS'
45447 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45448 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45449 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
45451 cat >conftest.
$ac_ext <<_ACEOF
45454 cat confdefs.h
>>conftest.
$ac_ext
45455 cat >>conftest.
$ac_ext <<_ACEOF
45456 /* end confdefs.h. */
45458 #include <sys/types.h>
45459 #include <sys/socket.h>
45466 getsockname(0, 0, &len);
45472 rm -f conftest.
$ac_objext
45473 if { (ac_try
="$ac_compile"
45474 case "(($ac_try" in
45475 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45476 *) ac_try_echo=$ac_try;;
45478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45479 (eval "$ac_compile") 2>conftest.er1
45481 grep -v '^ *+' conftest.er1 >conftest.err
45483 cat conftest.err >&5
45484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45485 (exit $ac_status); } && {
45486 test -z "$ac_cxx_werror_flag" ||
45487 test ! -s conftest.err
45488 } && test -s conftest.$ac_objext; then
45489 wx_cv_type_getsockname3=socklen_t
45491 echo "$as_me: failed program was:" >&5
45492 sed 's/^/| /' conftest.$ac_ext >&5
45495 CFLAGS_OLD="$CFLAGS"
45496 if test "$GCC" = yes ; then
45497 CFLAGS="-Werror $CFLAGS"
45500 cat >conftest.$ac_ext <<_ACEOF
45503 cat confdefs.h >>conftest.$ac_ext
45504 cat >>conftest.$ac_ext <<_ACEOF
45505 /* end confdefs.h. */
45507 #include <sys/types.h>
45508 #include <sys/socket.h>
45515 getsockname(0, 0, &len);
45521 rm -f conftest.$ac_objext
45522 if { (ac_try="$ac_compile"
45523 case "(($ac_try" in
45524 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45525 *) ac_try_echo
=$ac_try;;
45527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45528 (eval "$ac_compile") 2>conftest.er1
45530 grep -v '^ *+' conftest.er1
>conftest.err
45532 cat conftest.err
>&5
45533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45534 (exit $ac_status); } && {
45535 test -z "$ac_cxx_werror_flag" ||
45536 test ! -s conftest.err
45537 } && test -s conftest.
$ac_objext; then
45538 wx_cv_type_getsockname3
=size_t
45540 echo "$as_me: failed program was:" >&5
45541 sed 's/^/| /' conftest.
$ac_ext >&5
45543 cat >conftest.
$ac_ext <<_ACEOF
45546 cat confdefs.h
>>conftest.
$ac_ext
45547 cat >>conftest.
$ac_ext <<_ACEOF
45548 /* end confdefs.h. */
45550 #include <sys/types.h>
45551 #include <sys/socket.h>
45558 getsockname(0, 0, &len);
45564 rm -f conftest.
$ac_objext
45565 if { (ac_try
="$ac_compile"
45566 case "(($ac_try" in
45567 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45568 *) ac_try_echo=$ac_try;;
45570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45571 (eval "$ac_compile") 2>conftest.er1
45573 grep -v '^ *+' conftest.er1 >conftest.err
45575 cat conftest.err >&5
45576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45577 (exit $ac_status); } && {
45578 test -z "$ac_cxx_werror_flag" ||
45579 test ! -s conftest.err
45580 } && test -s conftest.$ac_objext; then
45581 wx_cv_type_getsockname3=int
45583 echo "$as_me: failed program was:" >&5
45584 sed 's/^/| /' conftest.$ac_ext >&5
45586 wx_cv_type_getsockname3=unknown
45590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45596 CFLAGS="$CFLAGS_OLD"
45601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45603 ac_cpp='$CPP $CPPFLAGS'
45604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45610 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
45611 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
45613 if test "$wx_cv_type_getsockname3" = "unknown"; then
45615 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45616 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45618 cat >>confdefs.h <<_ACEOF
45619 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
45623 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
45624 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
45625 if test "${wx_cv_type_getsockopt5+set}" = set; then
45626 echo $ECHO_N "(cached) $ECHO_C" >&6
45629 cat >conftest.$ac_ext <<_ACEOF
45632 cat confdefs.h >>conftest.$ac_ext
45633 cat >>conftest.$ac_ext <<_ACEOF
45634 /* end confdefs.h. */
45636 #include <sys/types.h>
45637 #include <sys/socket.h>
45644 getsockopt(0, 0, 0, 0, &len);
45650 rm -f conftest.$ac_objext
45651 if { (ac_try="$ac_compile"
45652 case "(($ac_try" in
45653 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45654 *) ac_try_echo
=$ac_try;;
45656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45657 (eval "$ac_compile") 2>conftest.er1
45659 grep -v '^ *+' conftest.er1
>conftest.err
45661 cat conftest.err
>&5
45662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45663 (exit $ac_status); } && {
45664 test -z "$ac_c_werror_flag" ||
45665 test ! -s conftest.err
45666 } && test -s conftest.
$ac_objext; then
45667 wx_cv_type_getsockopt5
=socklen_t
45669 echo "$as_me: failed program was:" >&5
45670 sed 's/^/| /' conftest.
$ac_ext >&5
45674 ac_cpp
='$CXXCPP $CPPFLAGS'
45675 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45676 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45677 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
45679 cat >conftest.
$ac_ext <<_ACEOF
45682 cat confdefs.h
>>conftest.
$ac_ext
45683 cat >>conftest.
$ac_ext <<_ACEOF
45684 /* end confdefs.h. */
45686 #include <sys/types.h>
45687 #include <sys/socket.h>
45694 getsockopt(0, 0, 0, 0, &len);
45700 rm -f conftest.
$ac_objext
45701 if { (ac_try
="$ac_compile"
45702 case "(($ac_try" in
45703 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45704 *) ac_try_echo=$ac_try;;
45706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45707 (eval "$ac_compile") 2>conftest.er1
45709 grep -v '^ *+' conftest.er1 >conftest.err
45711 cat conftest.err >&5
45712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45713 (exit $ac_status); } && {
45714 test -z "$ac_cxx_werror_flag" ||
45715 test ! -s conftest.err
45716 } && test -s conftest.$ac_objext; then
45717 wx_cv_type_getsockopt5=size_t
45719 echo "$as_me: failed program was:" >&5
45720 sed 's/^/| /' conftest.$ac_ext >&5
45722 cat >conftest.$ac_ext <<_ACEOF
45725 cat confdefs.h >>conftest.$ac_ext
45726 cat >>conftest.$ac_ext <<_ACEOF
45727 /* end confdefs.h. */
45729 #include <sys/types.h>
45730 #include <sys/socket.h>
45737 getsockopt(0, 0, 0, 0, &len);
45743 rm -f conftest.$ac_objext
45744 if { (ac_try="$ac_compile"
45745 case "(($ac_try" in
45746 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45747 *) ac_try_echo
=$ac_try;;
45749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45750 (eval "$ac_compile") 2>conftest.er1
45752 grep -v '^ *+' conftest.er1
>conftest.err
45754 cat conftest.err
>&5
45755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45756 (exit $ac_status); } && {
45757 test -z "$ac_cxx_werror_flag" ||
45758 test ! -s conftest.err
45759 } && test -s conftest.
$ac_objext; then
45760 wx_cv_type_getsockopt5
=int
45762 echo "$as_me: failed program was:" >&5
45763 sed 's/^/| /' conftest.
$ac_ext >&5
45765 wx_cv_type_getsockopt5
=unknown
45769 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45773 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45775 ac_cpp
='$CPP $CPPFLAGS'
45776 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45777 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45778 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
45784 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45787 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
45788 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
45790 if test "$wx_cv_type_getsockopt5" = "unknown"; then
45792 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45793 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45795 cat >>confdefs.h
<<_ACEOF
45796 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
45803 if test "$wxUSE_SOCKETS" = "yes" ; then
45804 cat >>confdefs.h
<<\_ACEOF
45805 #define wxUSE_SOCKETS 1
45808 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
45811 if test "$wxUSE_PROTOCOL" = "yes"; then
45812 if test "$wxUSE_SOCKETS" != "yes"; then
45813 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
45814 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
45819 if test "$wxUSE_PROTOCOL" = "yes"; then
45820 cat >>confdefs.h
<<\_ACEOF
45821 #define wxUSE_PROTOCOL 1
45825 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
45826 cat >>confdefs.h
<<\_ACEOF
45827 #define wxUSE_PROTOCOL_HTTP 1
45831 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
45832 cat >>confdefs.h
<<\_ACEOF
45833 #define wxUSE_PROTOCOL_FTP 1
45837 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
45838 cat >>confdefs.h
<<\_ACEOF
45839 #define wxUSE_PROTOCOL_FILE 1
45844 if test "$wxUSE_FS_INET" = "yes"; then
45845 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
45846 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
45851 if test "$wxUSE_URL" = "yes"; then
45852 if test "$wxUSE_PROTOCOL" != "yes"; then
45853 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
45854 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
45857 if test "$wxUSE_URL" = "yes"; then
45858 cat >>confdefs.h
<<\_ACEOF
45859 #define wxUSE_URL 1
45865 if test "$wxUSE_VARIANT" = "yes"; then
45866 cat >>confdefs.h
<<\_ACEOF
45867 #define wxUSE_VARIANT 1
45872 if test "$wxUSE_FS_INET" = "yes"; then
45873 cat >>confdefs.h
<<\_ACEOF
45874 #define wxUSE_FS_INET 1
45880 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
45883 if test "$TOOLKIT" = "MSW"; then
45886 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
45887 if test "$USE_DARWIN" = 1; then
45888 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
45889 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
45891 ac_cpp
='$CXXCPP $CPPFLAGS'
45892 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45893 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45894 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
45896 cat >conftest.
$ac_ext <<_ACEOF
45899 cat confdefs.h
>>conftest.
$ac_ext
45900 cat >>conftest.
$ac_ext <<_ACEOF
45901 /* end confdefs.h. */
45902 #include <IOKit/hid/IOHIDLib.h>
45906 IOHIDQueueInterface *qi = NULL;
45907 IOHIDCallbackFunction cb = NULL;
45908 qi->setEventCallout(NULL, cb, NULL, NULL);
45913 rm -f conftest.
$ac_objext
45914 if { (ac_try
="$ac_compile"
45915 case "(($ac_try" in
45916 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45917 *) ac_try_echo=$ac_try;;
45919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45920 (eval "$ac_compile") 2>conftest.er1
45922 grep -v '^ *+' conftest.er1 >conftest.err
45924 cat conftest.err >&5
45925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45926 (exit $ac_status); } && {
45927 test -z "$ac_cxx_werror_flag" ||
45928 test ! -s conftest.err
45929 } && test -s conftest.$ac_objext; then
45933 echo "$as_me: failed program was:" >&5
45934 sed 's/^/| /' conftest.$ac_ext >&5
45939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45941 ac_cpp='$CPP $CPPFLAGS'
45942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45946 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
45947 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
45951 if test "$wxUSE_MGL" != "1"; then
45952 { echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
45953 echo $ECHO_N "checking for linux/joystick.h... $ECHO_C" >&6; }
45954 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
45955 echo $ECHO_N "(cached) $ECHO_C" >&6
45957 cat >conftest.$ac_ext <<_ACEOF
45960 cat confdefs.h >>conftest.$ac_ext
45961 cat >>conftest.$ac_ext <<_ACEOF
45962 /* end confdefs.h. */
45965 #include <linux/joystick.h>
45967 rm -f conftest.$ac_objext
45968 if { (ac_try="$ac_compile"
45969 case "(($ac_try" in
45970 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45971 *) ac_try_echo
=$ac_try;;
45973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45974 (eval "$ac_compile") 2>conftest.er1
45976 grep -v '^ *+' conftest.er1
>conftest.err
45978 cat conftest.err
>&5
45979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45980 (exit $ac_status); } && {
45981 test -z "$ac_c_werror_flag" ||
45982 test ! -s conftest.err
45983 } && test -s conftest.
$ac_objext; then
45984 ac_cv_header_linux_joystick_h
=yes
45986 echo "$as_me: failed program was:" >&5
45987 sed 's/^/| /' conftest.
$ac_ext >&5
45989 ac_cv_header_linux_joystick_h
=no
45992 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45994 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
45995 echo "${ECHO_T}$ac_cv_header_linux_joystick_h" >&6; }
45996 if test $ac_cv_header_linux_joystick_h = yes; then
46004 if test "$wxUSE_JOYSTICK" = "yes"; then
46005 cat >>confdefs.h
<<\_ACEOF
46006 #define wxUSE_JOYSTICK 1
46009 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
46011 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
46012 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
46018 if test "$wxUSE_FONTMAP" = "yes" ; then
46019 cat >>confdefs.h
<<\_ACEOF
46020 #define wxUSE_FONTMAP 1
46025 if test "$wxUSE_UNICODE" = "yes" ; then
46026 cat >>confdefs.h
<<\_ACEOF
46027 #define wxUSE_UNICODE 1
46031 if test "$USE_WIN32" != 1; then
46032 wxUSE_UNICODE_MSLU
=no
46035 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
46036 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
46037 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
46038 if test "${ac_cv_lib_unicows_main+set}" = set; then
46039 echo $ECHO_N "(cached) $ECHO_C" >&6
46041 ac_check_lib_save_LIBS
=$LIBS
46042 LIBS
="-lunicows $LIBS"
46043 cat >conftest.
$ac_ext <<_ACEOF
46046 cat confdefs.h
>>conftest.
$ac_ext
46047 cat >>conftest.
$ac_ext <<_ACEOF
46048 /* end confdefs.h. */
46059 rm -f conftest.
$ac_objext conftest
$ac_exeext
46060 if { (ac_try
="$ac_link"
46061 case "(($ac_try" in
46062 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46063 *) ac_try_echo=$ac_try;;
46065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46066 (eval "$ac_link") 2>conftest.er1
46068 grep -v '^ *+' conftest.er1 >conftest.err
46070 cat conftest.err >&5
46071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46072 (exit $ac_status); } && {
46073 test -z "$ac_c_werror_flag" ||
46074 test ! -s conftest.err
46075 } && test -s conftest$ac_exeext &&
46076 $as_test_x conftest$ac_exeext; then
46077 ac_cv_lib_unicows_main=yes
46079 echo "$as_me: failed program was:" >&5
46080 sed 's/^/| /' conftest.$ac_ext >&5
46082 ac_cv_lib_unicows_main=no
46085 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46086 conftest$ac_exeext conftest.$ac_ext
46087 LIBS=$ac_check_lib_save_LIBS
46089 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
46090 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
46091 if test $ac_cv_lib_unicows_main = yes; then
46093 cat >>confdefs.h <<\_ACEOF
46094 #define wxUSE_UNICODE_MSLU 1
46100 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46101 Applications will only run on Windows NT/2000/XP!" >&5
46102 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46103 Applications will only run on Windows NT/2000/XP!" >&2;}
46104 wxUSE_UNICODE_MSLU=no
46111 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
46112 cat >>confdefs.h <<\_ACEOF
46113 #define wxUSE_EXPERIMENTAL_PRINTF 1
46119 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
46120 cat >>confdefs.h <<\_ACEOF
46121 #define wxUSE_POSTSCRIPT 1
46126 cat >>confdefs.h <<\_ACEOF
46127 #define wxUSE_AFM_FOR_POSTSCRIPT 1
46131 cat >>confdefs.h <<\_ACEOF
46132 #define wxUSE_NORMALIZED_PS_FONTS 1
46137 if test "$wxUSE_CONSTRAINTS" = "yes"; then
46138 cat >>confdefs.h <<\_ACEOF
46139 #define wxUSE_CONSTRAINTS 1
46142 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
46145 if test "$wxUSE_MDI" = "yes"; then
46146 cat >>confdefs.h <<\_ACEOF
46147 #define wxUSE_MDI 1
46151 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
46152 cat >>confdefs.h <<\_ACEOF
46153 #define wxUSE_MDI_ARCHITECTURE 1
46156 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
46160 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
46161 cat >>confdefs.h <<\_ACEOF
46162 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
46165 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
46166 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
46167 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
46171 if test "$wxUSE_HELP" = "yes"; then
46172 cat >>confdefs.h <<\_ACEOF
46173 #define wxUSE_HELP 1
46176 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
46178 if test "$wxUSE_MSW" = 1; then
46179 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
46180 cat >>confdefs.h <<\_ACEOF
46181 #define wxUSE_MS_HTML_HELP 1
46187 if test "$wxUSE_WXHTML_HELP" = "yes"; then
46188 if test "$wxUSE_HTML" = "yes"; then
46189 cat >>confdefs.h <<\_ACEOF
46190 #define wxUSE_WXHTML_HELP 1
46194 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
46195 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
46196 wxUSE_WXHTML_HELP=no
46201 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
46202 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46203 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
46204 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
46206 cat >>confdefs.h <<\_ACEOF
46207 #define wxUSE_PRINTING_ARCHITECTURE 1
46211 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
46214 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
46215 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
46216 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
46217 { (exit 1); exit 1; }; }
46221 if test "$wxUSE_METAFILE" = "yes"; then
46222 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
46223 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
46224 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
46230 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
46231 -o "$wxUSE_CLIPBOARD" = "yes" \
46232 -o "$wxUSE_OLE" = "yes" \
46233 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
46235 for ac_header in ole2.h
46237 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46238 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46239 { echo "$as_me:$LINENO: checking for $ac_header" >&5
46240 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
46241 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46242 echo $ECHO_N "(cached) $ECHO_C" >&6
46244 ac_res=`eval echo '${'$as_ac_Header'}'`
46245 { echo "$as_me:$LINENO: result: $ac_res" >&5
46246 echo "${ECHO_T}$ac_res" >&6; }
46248 # Is the header compilable?
46249 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
46250 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
46251 cat >conftest.$ac_ext <<_ACEOF
46254 cat confdefs.h >>conftest.$ac_ext
46255 cat >>conftest.$ac_ext <<_ACEOF
46256 /* end confdefs.h. */
46257 $ac_includes_default
46258 #include <$ac_header>
46260 rm -f conftest.$ac_objext
46261 if { (ac_try="$ac_compile"
46262 case "(($ac_try" in
46263 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46264 *) ac_try_echo
=$ac_try;;
46266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46267 (eval "$ac_compile") 2>conftest.er1
46269 grep -v '^ *+' conftest.er1
>conftest.err
46271 cat conftest.err
>&5
46272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46273 (exit $ac_status); } && {
46274 test -z "$ac_c_werror_flag" ||
46275 test ! -s conftest.err
46276 } && test -s conftest.
$ac_objext; then
46277 ac_header_compiler
=yes
46279 echo "$as_me: failed program was:" >&5
46280 sed 's/^/| /' conftest.
$ac_ext >&5
46282 ac_header_compiler
=no
46285 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46286 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
46287 echo "${ECHO_T}$ac_header_compiler" >&6; }
46289 # Is the header present?
46290 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
46291 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
46292 cat >conftest.
$ac_ext <<_ACEOF
46295 cat confdefs.h
>>conftest.
$ac_ext
46296 cat >>conftest.
$ac_ext <<_ACEOF
46297 /* end confdefs.h. */
46298 #include <$ac_header>
46300 if { (ac_try
="$ac_cpp conftest.$ac_ext"
46301 case "(($ac_try" in
46302 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46303 *) ac_try_echo=$ac_try;;
46305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46306 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
46308 grep -v '^ *+' conftest.er1 >conftest.err
46310 cat conftest.err >&5
46311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46312 (exit $ac_status); } >/dev/null && {
46313 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
46314 test ! -s conftest.err
46316 ac_header_preproc=yes
46318 echo "$as_me: failed program was:" >&5
46319 sed 's/^/| /' conftest.$ac_ext >&5
46321 ac_header_preproc=no
46324 rm -f conftest.err conftest.$ac_ext
46325 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
46326 echo "${ECHO_T}$ac_header_preproc" >&6; }
46328 # So? What about this header?
46329 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
46331 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
46332 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
46333 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
46334 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
46335 ac_header_preproc=yes
46338 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
46339 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
46340 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
46341 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
46342 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
46343 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
46344 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
46345 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
46346 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
46347 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
46348 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
46349 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
46351 ## ----------------------------------------- ##
46352 ## Report this to wx-dev@lists.wxwidgets.org ##
46353 ## ----------------------------------------- ##
46355 ) | sed "s/^/$as_me: WARNING: /" >&2
46358 { echo "$as_me:$LINENO: checking for $ac_header" >&5
46359 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
46360 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46361 echo $ECHO_N "(cached) $ECHO_C" >&6
46363 eval "$as_ac_Header=\$ac_header_preproc"
46365 ac_res=`eval echo '${'$as_ac_Header'}'`
46366 { echo "$as_me:$LINENO: result: $ac_res" >&5
46367 echo "${ECHO_T}$ac_res" >&6; }
46370 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46371 cat >>confdefs.h <<_ACEOF
46372 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46380 if test "$ac_cv_header_ole2_h" = "yes" ; then
46381 if test "$GCC" = yes ; then
46382 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
46383 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
46384 cat >conftest.$ac_ext <<_ACEOF
46387 cat confdefs.h >>conftest.$ac_ext
46388 cat >>conftest.$ac_ext <<_ACEOF
46389 /* end confdefs.h. */
46390 #include <windows.h>
46400 rm -f conftest.$ac_objext
46401 if { (ac_try="$ac_compile"
46402 case "(($ac_try" in
46403 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46404 *) ac_try_echo
=$ac_try;;
46406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46407 (eval "$ac_compile") 2>conftest.er1
46409 grep -v '^ *+' conftest.er1
>conftest.err
46411 cat conftest.err
>&5
46412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46413 (exit $ac_status); } && {
46414 test -z "$ac_c_werror_flag" ||
46415 test ! -s conftest.err
46416 } && test -s conftest.
$ac_objext; then
46417 { echo "$as_me:$LINENO: result: no" >&5
46418 echo "${ECHO_T}no" >&6; }
46420 echo "$as_me: failed program was:" >&5
46421 sed 's/^/| /' conftest.
$ac_ext >&5
46423 { echo "$as_me:$LINENO: result: yes" >&5
46424 echo "${ECHO_T}yes" >&6; }
46425 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
46428 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46429 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
46430 if test "$wxUSE_OLE" = "yes" ; then
46431 cat >>confdefs.h
<<\_ACEOF
46432 #define wxUSE_OLE 1
46435 cat >>confdefs.h
<<\_ACEOF
46436 #define wxUSE_OLE_AUTOMATION 1
46439 cat >>confdefs.h
<<\_ACEOF
46440 #define wxUSE_ACTIVEX 1
46443 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
46447 if test "$wxUSE_DATAOBJ" = "yes" ; then
46448 cat >>confdefs.h
<<\_ACEOF
46449 #define wxUSE_DATAOBJ 1
46454 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
46455 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
46458 wxUSE_DRAG_AND_DROP
=no
46463 if test "$wxUSE_METAFILE" = "yes"; then
46464 cat >>confdefs.h
<<\_ACEOF
46465 #define wxUSE_METAFILE 1
46469 cat >>confdefs.h
<<\_ACEOF
46470 #define wxUSE_ENH_METAFILE 1
46476 if test "$wxUSE_IPC" = "yes"; then
46477 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
46478 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
46479 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
46483 if test "$wxUSE_IPC" = "yes"; then
46484 cat >>confdefs.h
<<\_ACEOF
46485 #define wxUSE_IPC 1
46488 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
46492 if test "$wxUSE_DATAOBJ" = "yes"; then
46493 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
46494 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
46495 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
46498 cat >>confdefs.h
<<\_ACEOF
46499 #define wxUSE_DATAOBJ 1
46504 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
46505 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
46507 wxUSE_DRAG_AND_DROP
=no
46510 if test "$wxUSE_CLIPBOARD" = "yes"; then
46511 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
46512 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
46513 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
46517 if test "$wxUSE_CLIPBOARD" = "yes"; then
46518 cat >>confdefs.h
<<\_ACEOF
46519 #define wxUSE_CLIPBOARD 1
46525 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
46526 if test "$wxUSE_GTK" = 1; then
46527 if test "$WXGTK12" != 1; then
46528 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
46529 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
46530 wxUSE_DRAG_AND_DROP
=no
46534 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
46535 "$wxUSE_DFB" = 1; then
46536 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
46537 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
46538 wxUSE_DRAG_AND_DROP
=no
46541 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
46542 cat >>confdefs.h
<<\_ACEOF
46543 #define wxUSE_DRAG_AND_DROP 1
46550 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
46551 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
46554 if test "$wxUSE_SPLINES" = "yes" ; then
46555 cat >>confdefs.h
<<\_ACEOF
46556 #define wxUSE_SPLINES 1
46561 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
46562 cat >>confdefs.h
<<\_ACEOF
46563 #define wxUSE_MOUSEWHEEL 1
46570 if test "$wxUSE_CONTROLS" = "yes"; then
46574 if test "$wxUSE_ACCEL" = "yes"; then
46575 cat >>confdefs.h
<<\_ACEOF
46576 #define wxUSE_ACCEL 1
46582 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
46583 cat >>confdefs.h
<<\_ACEOF
46584 #define wxUSE_ANIMATIONCTRL 1
46588 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
46591 if test "$wxUSE_BUTTON" = "yes"; then
46592 cat >>confdefs.h
<<\_ACEOF
46593 #define wxUSE_BUTTON 1
46599 if test "$wxUSE_BMPBUTTON" = "yes"; then
46600 cat >>confdefs.h
<<\_ACEOF
46601 #define wxUSE_BMPBUTTON 1
46607 if test "$wxUSE_CALCTRL" = "yes"; then
46608 cat >>confdefs.h
<<\_ACEOF
46609 #define wxUSE_CALENDARCTRL 1
46613 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
46616 if test "$wxUSE_CARET" = "yes"; then
46617 cat >>confdefs.h
<<\_ACEOF
46618 #define wxUSE_CARET 1
46622 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
46625 if test "$wxUSE_COLLPANE" = "yes"; then
46626 cat >>confdefs.h
<<\_ACEOF
46627 #define wxUSE_COLLPANE 1
46631 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
46634 if test "$wxUSE_COMBOBOX" = "yes"; then
46635 cat >>confdefs.h
<<\_ACEOF
46636 #define wxUSE_COMBOBOX 1
46642 if test "$wxUSE_COMBOCTRL" = "yes"; then
46643 cat >>confdefs.h
<<\_ACEOF
46644 #define wxUSE_COMBOCTRL 1
46650 if test "$wxUSE_CHOICE" = "yes"; then
46651 cat >>confdefs.h
<<\_ACEOF
46652 #define wxUSE_CHOICE 1
46658 if test "$wxUSE_CHOICEBOOK" = "yes"; then
46659 cat >>confdefs.h
<<\_ACEOF
46660 #define wxUSE_CHOICEBOOK 1
46666 if test "$wxUSE_CHECKBOX" = "yes"; then
46667 cat >>confdefs.h
<<\_ACEOF
46668 #define wxUSE_CHECKBOX 1
46674 if test "$wxUSE_CHECKLST" = "yes"; then
46675 cat >>confdefs.h
<<\_ACEOF
46676 #define wxUSE_CHECKLISTBOX 1
46680 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
46683 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
46684 cat >>confdefs.h
<<\_ACEOF
46685 #define wxUSE_COLOURPICKERCTRL 1
46691 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
46692 cat >>confdefs.h
<<\_ACEOF
46693 #define wxUSE_DATEPICKCTRL 1
46699 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
46700 cat >>confdefs.h
<<\_ACEOF
46701 #define wxUSE_DIRPICKERCTRL 1
46707 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
46708 cat >>confdefs.h
<<\_ACEOF
46709 #define wxUSE_FILEPICKERCTRL 1
46715 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
46716 cat >>confdefs.h
<<\_ACEOF
46717 #define wxUSE_FONTPICKERCTRL 1
46723 if test "$wxUSE_DISPLAY" = "yes"; then
46724 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
46725 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
46726 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
46729 cat >>confdefs.h
<<\_ACEOF
46730 #define wxUSE_DISPLAY 1
46733 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display multimon"
46737 if test "$wxUSE_DETECT_SM" = "yes"; then
46738 cat >>confdefs.h
<<\_ACEOF
46739 #define wxUSE_DETECT_SM 1
46744 if test "$wxUSE_GAUGE" = "yes"; then
46745 cat >>confdefs.h
<<\_ACEOF
46746 #define wxUSE_GAUGE 1
46752 if test "$wxUSE_GRID" = "yes"; then
46753 cat >>confdefs.h
<<\_ACEOF
46754 #define wxUSE_GRID 1
46758 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
46761 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
46762 cat >>confdefs.h
<<\_ACEOF
46763 #define wxUSE_HYPERLINKCTRL 1
46769 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
46770 cat >>confdefs.h
<<\_ACEOF
46771 #define wxUSE_BITMAPCOMBOBOX 1
46777 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
46778 cat >>confdefs.h
<<\_ACEOF
46779 #define wxUSE_DATAVIEWCTRL 1
46783 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
46786 if test "$wxUSE_IMAGLIST" = "yes"; then
46787 cat >>confdefs.h
<<\_ACEOF
46788 #define wxUSE_IMAGLIST 1
46793 if test "$wxUSE_LISTBOOK" = "yes"; then
46794 cat >>confdefs.h
<<\_ACEOF
46795 #define wxUSE_LISTBOOK 1
46801 if test "$wxUSE_LISTBOX" = "yes"; then
46802 cat >>confdefs.h
<<\_ACEOF
46803 #define wxUSE_LISTBOX 1
46807 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listbox"
46810 if test "$wxUSE_LISTCTRL" = "yes"; then
46811 if test "$wxUSE_IMAGLIST" = "yes"; then
46812 cat >>confdefs.h
<<\_ACEOF
46813 #define wxUSE_LISTCTRL 1
46817 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
46819 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
46820 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
46824 if test "$wxUSE_NOTEBOOK" = "yes"; then
46825 cat >>confdefs.h
<<\_ACEOF
46826 #define wxUSE_NOTEBOOK 1
46830 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
46833 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
46834 cat >>confdefs.h
<<\_ACEOF
46835 #define wxUSE_ODCOMBOBOX 1
46839 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
46843 if test "$wxUSE_RADIOBOX" = "yes"; then
46844 cat >>confdefs.h
<<\_ACEOF
46845 #define wxUSE_RADIOBOX 1
46851 if test "$wxUSE_RADIOBTN" = "yes"; then
46852 cat >>confdefs.h
<<\_ACEOF
46853 #define wxUSE_RADIOBTN 1
46859 if test "$wxUSE_SASH" = "yes"; then
46860 cat >>confdefs.h
<<\_ACEOF
46861 #define wxUSE_SASH 1
46864 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
46867 if test "$wxUSE_SCROLLBAR" = "yes"; then
46868 cat >>confdefs.h
<<\_ACEOF
46869 #define wxUSE_SCROLLBAR 1
46873 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
46876 if test "$wxUSE_SEARCHCTRL" = "yes"; then
46877 cat >>confdefs.h
<<\_ACEOF
46878 #define wxUSE_SEARCHCTRL 1
46884 if test "$wxUSE_SLIDER" = "yes"; then
46885 cat >>confdefs.h
<<\_ACEOF
46886 #define wxUSE_SLIDER 1
46892 if test "$wxUSE_SPINBTN" = "yes"; then
46893 cat >>confdefs.h
<<\_ACEOF
46894 #define wxUSE_SPINBTN 1
46900 if test "$wxUSE_SPINCTRL" = "yes"; then
46901 cat >>confdefs.h
<<\_ACEOF
46902 #define wxUSE_SPINCTRL 1
46908 if test "$wxUSE_SPLITTER" = "yes"; then
46909 cat >>confdefs.h
<<\_ACEOF
46910 #define wxUSE_SPLITTER 1
46913 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
46916 if test "$wxUSE_STATBMP" = "yes"; then
46917 cat >>confdefs.h
<<\_ACEOF
46918 #define wxUSE_STATBMP 1
46924 if test "$wxUSE_STATBOX" = "yes"; then
46925 cat >>confdefs.h
<<\_ACEOF
46926 #define wxUSE_STATBOX 1
46932 if test "$wxUSE_STATTEXT" = "yes"; then
46933 cat >>confdefs.h
<<\_ACEOF
46934 #define wxUSE_STATTEXT 1
46940 if test "$wxUSE_STATLINE" = "yes"; then
46941 cat >>confdefs.h
<<\_ACEOF
46942 #define wxUSE_STATLINE 1
46948 if test "$wxUSE_STATUSBAR" = "yes"; then
46949 cat >>confdefs.h
<<\_ACEOF
46950 #define wxUSE_NATIVE_STATUSBAR 1
46953 cat >>confdefs.h
<<\_ACEOF
46954 #define wxUSE_STATUSBAR 1
46959 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
46962 if test "$wxUSE_TAB_DIALOG" = "yes"; then
46963 cat >>confdefs.h
<<\_ACEOF
46964 #define wxUSE_TAB_DIALOG 1
46969 if test "$wxUSE_TEXTCTRL" = "yes"; then
46970 cat >>confdefs.h
<<\_ACEOF
46971 #define wxUSE_TEXTCTRL 1
46975 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
46978 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46979 if test "$wxUSE_COCOA" = 1 ; then
46980 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
46981 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
46985 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46986 cat >>confdefs.h
<<\_ACEOF
46987 #define wxUSE_TOGGLEBTN 1
46994 if test "$wxUSE_TOOLBAR" = "yes"; then
46995 cat >>confdefs.h
<<\_ACEOF
46996 #define wxUSE_TOOLBAR 1
47001 if test "$wxUSE_UNIVERSAL" = "yes"; then
47002 wxUSE_TOOLBAR_NATIVE
="no"
47004 wxUSE_TOOLBAR_NATIVE
="yes"
47005 cat >>confdefs.h
<<\_ACEOF
47006 #define wxUSE_TOOLBAR_NATIVE 1
47011 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
47014 if test "$wxUSE_TOOLTIPS" = "yes"; then
47015 if test "$wxUSE_MOTIF" = 1; then
47016 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
47017 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
47019 if test "$wxUSE_UNIVERSAL" = "yes"; then
47020 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
47021 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
47023 cat >>confdefs.h
<<\_ACEOF
47024 #define wxUSE_TOOLTIPS 1
47031 if test "$wxUSE_TREEBOOK" = "yes"; then
47032 cat >>confdefs.h
<<\_ACEOF
47033 #define wxUSE_TREEBOOK 1
47039 if test "$wxUSE_TOOLBOOK" = "yes"; then
47040 cat >>confdefs.h
<<\_ACEOF
47041 #define wxUSE_TOOLBOOK 1
47047 if test "$wxUSE_TREECTRL" = "yes"; then
47048 if test "$wxUSE_IMAGLIST" = "yes"; then
47049 cat >>confdefs.h
<<\_ACEOF
47050 #define wxUSE_TREECTRL 1
47054 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
47056 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
47057 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
47061 if test "$wxUSE_POPUPWIN" = "yes"; then
47062 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
47063 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
47064 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
47066 if test "$wxUSE_PM" = 1; then
47067 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
47068 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
47070 cat >>confdefs.h
<<\_ACEOF
47071 #define wxUSE_POPUPWIN 1
47074 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
47081 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
47082 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
47083 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
47084 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
47086 cat >>confdefs.h
<<\_ACEOF
47087 #define wxUSE_DIALUP_MANAGER 1
47090 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
47094 if test "$wxUSE_TIPWINDOW" = "yes"; then
47095 if test "$wxUSE_PM" = 1; then
47096 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
47097 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
47099 cat >>confdefs.h
<<\_ACEOF
47100 #define wxUSE_TIPWINDOW 1
47106 if test "$USES_CONTROLS" = 1; then
47107 cat >>confdefs.h
<<\_ACEOF
47108 #define wxUSE_CONTROLS 1
47114 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
47115 cat >>confdefs.h
<<\_ACEOF
47116 #define wxUSE_ACCESSIBILITY 1
47119 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
47122 if test "$wxUSE_DC_CACHEING" = "yes"; then
47123 cat >>confdefs.h
<<\_ACEOF
47124 #define wxUSE_DC_CACHEING 1
47129 if test "$wxUSE_DRAGIMAGE" = "yes"; then
47130 cat >>confdefs.h
<<\_ACEOF
47131 #define wxUSE_DRAGIMAGE 1
47134 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
47137 if test "$wxUSE_EXCEPTIONS" = "yes"; then
47138 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
47139 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
47140 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
47142 cat >>confdefs.h
<<\_ACEOF
47143 #define wxUSE_EXCEPTIONS 1
47146 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
47151 if test "$wxUSE_HTML" = "yes"; then
47152 cat >>confdefs.h
<<\_ACEOF
47153 #define wxUSE_HTML 1
47157 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
47158 if test "$wxUSE_MAC" = 1; then
47159 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
47162 if test "$wxUSE_WEBKIT" = "yes"; then
47163 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
47164 old_CPPFLAGS
="$CPPFLAGS"
47165 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
47166 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
47167 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
47168 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
47169 echo $ECHO_N "(cached) $ECHO_C" >&6
47171 cat >conftest.
$ac_ext <<_ACEOF
47174 cat confdefs.h
>>conftest.
$ac_ext
47175 cat >>conftest.
$ac_ext <<_ACEOF
47176 /* end confdefs.h. */
47178 #include <Carbon/Carbon.h>
47179 #include <WebKit/WebKit.h>
47182 #include <WebKit/HIWebView.h>
47184 rm -f conftest.
$ac_objext
47185 if { (ac_try
="$ac_compile"
47186 case "(($ac_try" in
47187 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47188 *) ac_try_echo=$ac_try;;
47190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47191 (eval "$ac_compile") 2>conftest.er1
47193 grep -v '^ *+' conftest.er1 >conftest.err
47195 cat conftest.err >&5
47196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47197 (exit $ac_status); } && {
47198 test -z "$ac_c_werror_flag" ||
47199 test ! -s conftest.err
47200 } && test -s conftest.$ac_objext; then
47201 ac_cv_header_WebKit_HIWebView_h=yes
47203 echo "$as_me: failed program was:" >&5
47204 sed 's/^/| /' conftest.$ac_ext >&5
47206 ac_cv_header_WebKit_HIWebView_h=no
47209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47211 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
47212 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
47213 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
47215 cat >>confdefs.h <<\_ACEOF
47216 #define wxUSE_WEBKIT 1
47219 WEBKIT_LINK="-framework WebKit"
47223 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
47224 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
47230 CPPFLAGS="$old_CPPFLAGS"
47231 elif test "$wxUSE_COCOA" = 1; then
47232 cat >>confdefs.h <<\_ACEOF
47233 #define wxUSE_WEBKIT 1
47242 if test "$wxUSE_XRC" = "yes"; then
47243 if test "$wxUSE_XML" != "yes"; then
47244 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
47245 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
47248 cat >>confdefs.h <<\_ACEOF
47249 #define wxUSE_XRC 1
47253 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
47258 if test "$wxUSE_AUI" = "yes"; then
47259 cat >>confdefs.h <<\_ACEOF
47260 #define wxUSE_AUI 1
47264 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
47267 if test "$wxUSE_MENUS" = "yes"; then
47268 cat >>confdefs.h <<\_ACEOF
47269 #define wxUSE_MENUS 1
47272 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
47275 if test "$wxUSE_METAFILE" = "yes"; then
47276 cat >>confdefs.h <<\_ACEOF
47277 #define wxUSE_METAFILE 1
47282 if test "$wxUSE_MIMETYPE" = "yes"; then
47283 cat >>confdefs.h <<\_ACEOF
47284 #define wxUSE_MIMETYPE 1
47289 if test "$wxUSE_MINIFRAME" = "yes"; then
47290 cat >>confdefs.h <<\_ACEOF
47291 #define wxUSE_MINIFRAME 1
47294 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
47297 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
47298 cat >>confdefs.h <<\_ACEOF
47299 #define wxUSE_SYSTEM_OPTIONS 1
47302 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
47303 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
47304 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
47309 if test "$wxUSE_VALIDATORS" = "yes"; then
47310 cat >>confdefs.h <<\_ACEOF
47311 #define wxUSE_VALIDATORS 1
47314 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
47317 if test "$wxUSE_PALETTE" = "yes" ; then
47318 if test "$wxUSE_DFB" = 1; then
47319 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
47320 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
47323 cat >>confdefs.h <<\_ACEOF
47324 #define wxUSE_PALETTE 1
47330 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
47331 LIBS=" -lunicows $LIBS"
47335 if test "$wxUSE_RICHTEXT" = "yes"; then
47336 cat >>confdefs.h <<\_ACEOF
47337 #define wxUSE_RICHTEXT 1
47341 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
47345 if test "$wxUSE_IMAGE" = "yes" ; then
47346 cat >>confdefs.h <<\_ACEOF
47347 #define wxUSE_IMAGE 1
47351 if test "$wxUSE_GIF" = "yes" ; then
47352 cat >>confdefs.h <<\_ACEOF
47353 #define wxUSE_GIF 1
47358 if test "$wxUSE_PCX" = "yes" ; then
47359 cat >>confdefs.h <<\_ACEOF
47360 #define wxUSE_PCX 1
47365 if test "$wxUSE_TGA" = "yes" ; then
47366 cat >>confdefs.h <<\_ACEOF
47367 #define wxUSE_TGA 1
47372 if test "$wxUSE_IFF" = "yes" ; then
47373 cat >>confdefs.h <<\_ACEOF
47374 #define wxUSE_IFF 1
47379 if test "$wxUSE_PNM" = "yes" ; then
47380 cat >>confdefs.h <<\_ACEOF
47381 #define wxUSE_PNM 1
47386 if test "$wxUSE_XPM" = "yes" ; then
47387 cat >>confdefs.h <<\_ACEOF
47388 #define wxUSE_XPM 1
47393 if test "$wxUSE_ICO_CUR" = "yes" ; then
47394 cat >>confdefs.h <<\_ACEOF
47395 #define wxUSE_ICO_CUR 1
47402 if test "$wxUSE_ABOUTDLG" = "yes"; then
47403 cat >>confdefs.h <<\_ACEOF
47404 #define wxUSE_ABOUTDLG 1
47409 if test "$wxUSE_CHOICEDLG" = "yes"; then
47410 cat >>confdefs.h <<\_ACEOF
47411 #define wxUSE_CHOICEDLG 1
47416 if test "$wxUSE_COLOURDLG" = "yes"; then
47417 cat >>confdefs.h <<\_ACEOF
47418 #define wxUSE_COLOURDLG 1
47423 if test "$wxUSE_FILEDLG" = "yes"; then
47424 cat >>confdefs.h <<\_ACEOF
47425 #define wxUSE_FILEDLG 1
47430 if test "$wxUSE_FINDREPLDLG" = "yes"; then
47431 cat >>confdefs.h <<\_ACEOF
47432 #define wxUSE_FINDREPLDLG 1
47437 if test "$wxUSE_FONTDLG" = "yes"; then
47438 cat >>confdefs.h <<\_ACEOF
47439 #define wxUSE_FONTDLG 1
47444 if test "$wxUSE_DIRDLG" = "yes"; then
47445 if test "$wxUSE_TREECTRL" != "yes"; then
47446 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
47447 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
47449 cat >>confdefs.h <<\_ACEOF
47450 #define wxUSE_DIRDLG 1
47456 if test "$wxUSE_MSGDLG" = "yes"; then
47457 cat >>confdefs.h <<\_ACEOF
47458 #define wxUSE_MSGDLG 1
47463 if test "$wxUSE_NUMBERDLG" = "yes"; then
47464 cat >>confdefs.h <<\_ACEOF
47465 #define wxUSE_NUMBERDLG 1
47470 if test "$wxUSE_PROGRESSDLG" = "yes"; then
47471 if test "$wxUSE_CONSTRAINTS" != "yes"; then
47472 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
47473 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
47475 cat >>confdefs.h <<\_ACEOF
47476 #define wxUSE_PROGRESSDLG 1
47482 if test "$wxUSE_SPLASH" = "yes"; then
47483 cat >>confdefs.h <<\_ACEOF
47484 #define wxUSE_SPLASH 1
47487 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
47490 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
47491 if test "$wxUSE_CONSTRAINTS" != "yes"; then
47492 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
47493 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
47495 cat >>confdefs.h <<\_ACEOF
47496 #define wxUSE_STARTUP_TIPS 1
47502 if test "$wxUSE_TEXTDLG" = "yes"; then
47503 cat >>confdefs.h <<\_ACEOF
47504 #define wxUSE_TEXTDLG 1
47509 if test "$wxUSE_WIZARDDLG" = "yes"; then
47510 cat >>confdefs.h <<\_ACEOF
47511 #define wxUSE_WIZARDDLG 1
47514 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
47518 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
47519 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
47520 cat >>confdefs.h <<\_ACEOF
47521 #define wxUSE_GRAPHICS_CONTEXT 1
47524 elif test "$wxUSE_GTK" != 1; then
47525 cat >>confdefs.h <<\_ACEOF
47526 #define wxUSE_GRAPHICS_CONTEXT 1
47532 { echo "$as_me:$LINENO: checking for CAIRO" >&5
47533 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
47535 if test -n "$PKG_CONFIG"; then
47536 if test -n "$CAIRO_CFLAGS"; then
47537 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
47539 if test -n "$PKG_CONFIG" && \
47540 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
47541 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
47543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47544 (exit $ac_status); }; then
47545 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev
/null
`
47553 if test -n "$PKG_CONFIG"; then
47554 if test -n "$CAIRO_LIBS"; then
47555 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
47557 if test -n "$PKG_CONFIG" && \
47558 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
47559 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
47561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47562 (exit $ac_status); }; then
47563 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev
/null
`
47574 if test $pkg_failed = yes; then
47576 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47577 _pkg_short_errors_supported=yes
47579 _pkg_short_errors_supported=no
47581 if test $_pkg_short_errors_supported = yes; then
47582 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
47584 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
47586 # Put the nasty error message in config.log where it belongs
47587 echo "$CAIRO_PKG_ERRORS" >&5
47589 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
47590 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
47592 elif test $pkg_failed = untried; then
47593 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
47594 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
47597 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
47598 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
47599 { echo "$as_me:$LINENO: result: yes" >&5
47600 echo "${ECHO_T}yes" >&6; }
47601 cat >>confdefs.h <<\_ACEOF
47602 #define wxUSE_GRAPHICS_CONTEXT 1
47612 if test "$wxUSE_MEDIACTRL" = "yes"; then
47615 if test "$wxUSE_GTK" = 1; then
47616 wxUSE_GSTREAMER="no"
47618 GST_VERSION_MAJOR=0
47619 GST_VERSION_MINOR=10
47620 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
47622 if test "$wxUSE_GSTREAMER8" = "no"; then
47625 { echo "$as_me:$LINENO: checking for GST" >&5
47626 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
47628 if test -n "$PKG_CONFIG"; then
47629 if test -n "$GST_CFLAGS"; then
47630 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
47632 if test -n "$PKG_CONFIG" && \
47633 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
47634 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
47636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47637 (exit $ac_status); }; then
47638 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
47646 if test -n "$PKG_CONFIG"; then
47647 if test -n "$GST_LIBS"; then
47648 pkg_cv_GST_LIBS="$GST_LIBS"
47650 if test -n "$PKG_CONFIG" && \
47651 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
47652 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
47654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47655 (exit $ac_status); }; then
47656 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
47667 if test $pkg_failed = yes; then
47669 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47670 _pkg_short_errors_supported=yes
47672 _pkg_short_errors_supported=no
47674 if test $_pkg_short_errors_supported = yes; then
47675 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
47677 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
47679 # Put the nasty error message in config.log where it belongs
47680 echo "$GST_PKG_ERRORS" >&5
47683 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
47684 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
47685 GST_VERSION_MINOR=8
47688 elif test $pkg_failed = untried; then
47690 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
47691 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
47692 GST_VERSION_MINOR=8
47696 GST_CFLAGS=$pkg_cv_GST_CFLAGS
47697 GST_LIBS=$pkg_cv_GST_LIBS
47698 { echo "$as_me:$LINENO: result: yes" >&5
47699 echo "${ECHO_T}yes" >&6; }
47701 wxUSE_GSTREAMER="yes"
47702 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
47706 GST_VERSION_MINOR=8
47709 if test $GST_VERSION_MINOR = "8"; then
47710 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
47713 { echo "$as_me:$LINENO: checking for GST" >&5
47714 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
47716 if test -n "$PKG_CONFIG"; then
47717 if test -n "$GST_CFLAGS"; then
47718 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
47720 if test -n "$PKG_CONFIG" && \
47721 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47722 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47725 (exit $ac_status); }; then
47726 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
47734 if test -n "$PKG_CONFIG"; then
47735 if test -n "$GST_LIBS"; then
47736 pkg_cv_GST_LIBS="$GST_LIBS"
47738 if test -n "$PKG_CONFIG" && \
47739 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47740 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47743 (exit $ac_status); }; then
47744 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
47755 if test $pkg_failed = yes; then
47757 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47758 _pkg_short_errors_supported=yes
47760 _pkg_short_errors_supported=no
47762 if test $_pkg_short_errors_supported = yes; then
47763 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47765 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47767 # Put the nasty error message in config.log where it belongs
47768 echo "$GST_PKG_ERRORS" >&5
47771 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47772 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47774 elif test $pkg_failed = untried; then
47776 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47777 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47780 GST_CFLAGS=$pkg_cv_GST_CFLAGS
47781 GST_LIBS=$pkg_cv_GST_LIBS
47782 { echo "$as_me:$LINENO: result: yes" >&5
47783 echo "${ECHO_T}yes" >&6; }
47784 wxUSE_GSTREAMER="yes"
47789 if test "$wxUSE_GSTREAMER" = "yes"; then
47792 if "$GCC" = yes; then
47793 GST_CFLAGS=`echo $GST_CFLAGS | sed 's/-mt//'`
47794 GST_LIBS=`echo $GST_LIBS | sed 's/-mt//'`
47798 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
47799 LIBS="$GST_LIBS $LIBS"
47801 cat >>confdefs.h <<\_ACEOF
47802 #define wxUSE_GSTREAMER 1
47810 if test $USE_MEDIA = 1; then
47811 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
47812 cat >>confdefs.h <<\_ACEOF
47813 #define wxUSE_MEDIACTRL 1
47820 if test "$cross_compiling" = "yes"; then
47823 OSINFO=`uname
-s -r -m`
47824 OSINFO="\"$OSINFO\""
47827 cat >>confdefs.h <<_ACEOF
47828 #define WXWIN_OS_DESCRIPTION $OSINFO
47833 if test "x$prefix" != "xNONE"; then
47836 wxPREFIX=$ac_default_prefix
47839 cat >>confdefs.h <<_ACEOF
47840 #define wxINSTALL_PREFIX "$wxPREFIX"
47846 CORE_BASE_LIBS="net base"
47847 CORE_GUI_LIBS="adv core"
47849 if test "$wxUSE_XML" = "yes" ; then
47850 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
47852 if test "$wxUSE_ODBC" != "no" ; then
47853 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
47854 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
47856 if test "$wxUSE_HTML" = "yes" ; then
47857 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
47859 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47860 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
47862 if test "$wxUSE_XRC" = "yes" ; then
47863 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
47865 if test "$wxUSE_AUI" = "yes" ; then
47866 CORE_GUI_LIBS="aui $CORE_GUI_LIBS"
47869 if test "$wxUSE_GUI" != "yes"; then
47878 if test "$wxUSE_MAC" = 1 ; then
47879 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
47880 if test "$USE_DARWIN" = 1; then
47881 LDFLAGS="$LDFLAGS -framework QuickTime"
47883 LDFLAGS="$LDFLAGS -lQuickTimeLib"
47886 if test "$USE_DARWIN" = 1; then
47887 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
47889 LDFLAGS="$LDFLAGS -lCarbonLib"
47892 if test "$wxUSE_COCOA" = 1 ; then
47893 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
47894 if test "$wxUSE_MEDIACTRL" = "yes"; then
47895 LDFLAGS="$LDFLAGS -framework QuickTime"
47898 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
47899 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
47902 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
47904 if test "$wxUSE_GUI" = "yes"; then
47907 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
47908 dynamic erase event exec font image minimal mobile \
47909 mobile/wxedit mobile/styles propsize render \
47910 rotate shaped vscroll widgets"
47912 if test "$wxUSE_MONOLITHIC" != "yes"; then
47913 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
47915 if test "$TOOLKIT" = "MSW"; then
47916 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
47917 if test "$wxUSE_UNIVERSAL" != "yes"; then
47918 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
47921 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
47922 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
47925 SAMPLES_SUBDIRS="console"
47929 if test "x$INTELCC" = "xyes" ; then
47930 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
47931 elif test "$GCC" = yes ; then
47932 CWARNINGS="-Wall -Wundef"
47935 if test "x$INTELCXX" = "xyes" ; then
47936 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
47937 elif test "$GXX" = yes ; then
47938 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
47942 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
47943 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
47946 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
47947 -I\\${wx_top_builddir}/lib
/wx
/include
/${TOOLCHAIN_FULLNAME} \
47948 -I\\${top_srcdir}/include
$TOOLKIT_INCLUDE \
47951 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
47952 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
47953 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
47955 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
47958 if test "x$MWCC" = "xyes"; then
47960 CC="$CC -cwd source -I-"
47961 CXX="$CXX -cwd source -I-"
47966 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
47967 EXTRALIBS_XML="$EXPAT_LINK"
47968 EXTRALIBS_HTML="$MSPACK_LINK"
47969 EXTRALIBS_ODBC="$ODBC_LINK"
47970 if test "$wxUSE_GUI" = "yes"; then
47971 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
47973 if test "$wxUSE_OPENGL" = "yes"; then
47974 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
47977 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
47979 WXCONFIG_LIBS="$LIBS"
47981 if test "$wxUSE_REGEX" = "builtin" ; then
47982 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
47984 if test "$wxUSE_EXPAT" = "builtin" ; then
47985 wxconfig_3rdparty="expat $wxconfig_3rdparty"
47987 if test "$wxUSE_ODBC" = "builtin" ; then
47988 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
47990 if test "$wxUSE_LIBTIFF" = "builtin" ; then
47991 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
47993 if test "$wxUSE_LIBJPEG" = "builtin" ; then
47994 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
47996 if test "$wxUSE_LIBPNG" = "builtin" ; then
47997 wxconfig_3rdparty="png $wxconfig_3rdparty"
47999 if test "$wxUSE_ZLIB" = "builtin" ; then
48000 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
48003 for i in $wxconfig_3rdparty ; do
48004 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
48008 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
48011 case "$wxUNIV_THEMES" in
48013 cat >>confdefs.h <<\_ACEOF
48014 #define wxUSE_ALL_THEMES 1
48020 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a
-z A
-Z`; do
48021 cat >>confdefs.h <<_ACEOF
48022 #define wxUSE_THEME_$t 1
48039 if test $wxUSE_MONOLITHIC = "yes" ; then
48045 if test $wxUSE_PLUGINS = "yes" ; then
48051 if test $wxUSE_ODBC != "no" ; then
48057 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
48063 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
48093 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
48104 TOOLKIT_DESC="GTK+"
48105 if test "$WXGTK20" = 1; then
48106 TOOLKIT_DESC="$TOOLKIT_DESC 2"
48107 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
48108 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
48110 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
48111 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
48113 if test "$wxUSE_LIBHILDON" = "yes"; then
48114 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
48117 if test "$TOOLKIT_EXTRA" != ""; then
48118 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
48124 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
48128 TOOLKIT_DESC="base only"
48132 if test "$wxUSE_WINE" = "yes"; then
48133 BAKEFILE_FORCE_PLATFORM=win32
48136 if test "$wxUSE_MAC" = 1 ; then
48137 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
48138 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
48139 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
48141 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
48143 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
48144 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
48145 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
48146 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
48149 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
48150 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
48153 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
48155 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
48156 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
48157 if test "${wx_cv_gcc_pch_bug+set}" = set; then
48158 echo $ECHO_N "(cached) $ECHO_C" >&6
48161 echo '#include <stdio.h>
48162 const wchar_t test_var[] = L"awidetest";' > conftest.h
48164 echo '#include "conftest.h"
48167 printf("%ls", test_var);
48171 wx_cv_gcc_pch_bug="pch not supported"
48173 if $CXX conftest.h >/dev/null 2>&1
48177 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
48179 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
48180 grep awidetest >/dev/null
48182 wx_cv_gcc_pch_bug=no
48184 wx_cv_gcc_pch_bug=yes
48189 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
48192 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
48193 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
48195 if test "$wx_cv_gcc_pch_bug" = yes; then
48203 if test "x$BAKEFILE_HOST" = "x"; then
48204 if test "x${host}" = "x" ; then
48205 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
48206 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
48207 { (exit 1); exit 1; }; }
48210 BAKEFILE_HOST="${host}"
48213 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
48215 if test -n "$ac_tool_prefix"; then
48216 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
48217 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
48218 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48219 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48220 if test "${ac_cv_prog_RANLIB+set}" = set; then
48221 echo $ECHO_N "(cached) $ECHO_C" >&6
48223 if test -n "$RANLIB"; then
48224 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
48226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48227 for as_dir in $PATH
48230 test -z "$as_dir" && as_dir=.
48231 for ac_exec_ext in '' $ac_executable_extensions; do
48232 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48233 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
48234 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48243 RANLIB=$ac_cv_prog_RANLIB
48244 if test -n "$RANLIB"; then
48245 { echo "$as_me:$LINENO: result: $RANLIB" >&5
48246 echo "${ECHO_T}$RANLIB" >&6; }
48248 { echo "$as_me:$LINENO: result: no" >&5
48249 echo "${ECHO_T}no" >&6; }
48254 if test -z "$ac_cv_prog_RANLIB"; then
48255 ac_ct_RANLIB=$RANLIB
48256 # Extract the first word of "ranlib", so it can be a program name with args.
48257 set dummy ranlib; ac_word=$2
48258 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48259 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48260 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
48261 echo $ECHO_N "(cached) $ECHO_C" >&6
48263 if test -n "$ac_ct_RANLIB"; then
48264 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
48266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48267 for as_dir in $PATH
48270 test -z "$as_dir" && as_dir=.
48271 for ac_exec_ext in '' $ac_executable_extensions; do
48272 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48273 ac_cv_prog_ac_ct_RANLIB="ranlib"
48274 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48283 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
48284 if test -n "$ac_ct_RANLIB"; then
48285 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
48286 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
48288 { echo "$as_me:$LINENO: result: no" >&5
48289 echo "${ECHO_T}no" >&6; }
48292 if test "x$ac_ct_RANLIB" = x; then
48295 case $cross_compiling:$ac_tool_warned in
48297 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48298 whose name does not start with the host triplet. If you think this
48299 configuration is useful to you, please write to autoconf@gnu.org." >&5
48300 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48301 whose name does not start with the host triplet. If you think this
48302 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48303 ac_tool_warned=yes ;;
48305 RANLIB=$ac_ct_RANLIB
48308 RANLIB="$ac_cv_prog_RANLIB"
48311 # Find a good install program. We prefer a C program (faster),
48312 # so one script is as good as another. But avoid the broken or
48313 # incompatible versions:
48314 # SysV /etc/install, /usr/sbin/install
48315 # SunOS /usr/etc/install
48316 # IRIX /sbin/install
48318 # AmigaOS /C/install, which installs bootblocks on floppy discs
48319 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
48320 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
48321 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
48322 # OS/2's system install, which has a completely different semantic
48323 # ./install, which can be erroneously created by make from ./install.sh.
48324 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
48325 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
48326 if test -z "$INSTALL"; then
48327 if test "${ac_cv_path_install+set}" = set; then
48328 echo $ECHO_N "(cached) $ECHO_C" >&6
48330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48331 for as_dir in $PATH
48334 test -z "$as_dir" && as_dir=.
48335 # Account for people who put trailing slashes in PATH elements.
48337 ./ | .// | /cC/* | \
48338 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
48339 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
48342 # OSF1 and SCO ODT 3.0 have their own names for install.
48343 # Don't use installbsd from OSF since it installs stuff as root
48345 for ac_prog in ginstall scoinst install; do
48346 for ac_exec_ext in '' $ac_executable_extensions; do
48347 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
48348 if test $ac_prog = install &&
48349 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
48350 # AIX install. It has an incompatible calling convention.
48352 elif test $ac_prog = install &&
48353 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
48354 # program-specific install script used by HP pwplus--don't use.
48357 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
48370 if test "${ac_cv_path_install+set}" = set; then
48371 INSTALL=$ac_cv_path_install
48373 # As a last resort, use the slow shell script. Don't cache a
48374 # value for INSTALL within a source directory, because that will
48375 # break other packages using the cache if that directory is
48376 # removed, or if the value is a relative name.
48377 INSTALL=$ac_install_sh
48380 { echo "$as_me:$LINENO: result: $INSTALL" >&5
48381 echo "${ECHO_T}$INSTALL" >&6; }
48383 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
48384 # It thinks the first close brace ends the variable substitution.
48385 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
48387 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
48389 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
48391 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
48392 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
48394 if test "$LN_S" = "ln -s"; then
48395 { echo "$as_me:$LINENO: result: yes" >&5
48396 echo "${ECHO_T}yes" >&6; }
48398 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
48399 echo "${ECHO_T}no, using $LN_S" >&6; }
48403 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
48404 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
48405 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
48406 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
48407 echo $ECHO_N "(cached) $ECHO_C" >&6
48409 cat >conftest.make <<\_ACEOF
48412 @echo '@@@%%%=$(MAKE)=@@@%%%'
48414 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
48415 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
48416 *@@@%%%=?*=@@@%%%*)
48417 eval ac_cv_prog_make_${ac_make}_set=yes;;
48419 eval ac_cv_prog_make_${ac_make}_set=no;;
48421 rm -f conftest.make
48423 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
48424 { echo "$as_me:$LINENO: result: yes" >&5
48425 echo "${ECHO_T}yes" >&6; }
48428 { echo "$as_me:$LINENO: result: no" >&5
48429 echo "${ECHO_T}no" >&6; }
48430 SET_MAKE="MAKE=${MAKE-make}"
48435 if test "x$SUNCXX" = "xyes"; then
48438 AROPTIONS=${AROPTIONS:-"-xar -o"}
48440 if test -n "$ac_tool_prefix"; then
48441 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
48442 set dummy ${ac_tool_prefix}ar; ac_word=$2
48443 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48444 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48445 if test "${ac_cv_prog_AR+set}" = set; then
48446 echo $ECHO_N "(cached) $ECHO_C" >&6
48448 if test -n "$AR"; then
48449 ac_cv_prog_AR="$AR" # Let the user override the test.
48451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48452 for as_dir in $PATH
48455 test -z "$as_dir" && as_dir=.
48456 for ac_exec_ext in '' $ac_executable_extensions; do
48457 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48458 ac_cv_prog_AR="${ac_tool_prefix}ar"
48459 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48469 if test -n "$AR"; then
48470 { echo "$as_me:$LINENO: result: $AR" >&5
48471 echo "${ECHO_T}$AR" >&6; }
48473 { echo "$as_me:$LINENO: result: no" >&5
48474 echo "${ECHO_T}no" >&6; }
48479 if test -z "$ac_cv_prog_AR"; then
48481 # Extract the first word of "ar", so it can be a program name with args.
48482 set dummy ar; ac_word=$2
48483 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48484 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48485 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
48486 echo $ECHO_N "(cached) $ECHO_C" >&6
48488 if test -n "$ac_ct_AR"; then
48489 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
48491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48492 for as_dir in $PATH
48495 test -z "$as_dir" && as_dir=.
48496 for ac_exec_ext in '' $ac_executable_extensions; do
48497 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48498 ac_cv_prog_ac_ct_AR="ar"
48499 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48508 ac_ct_AR=$ac_cv_prog_ac_ct_AR
48509 if test -n "$ac_ct_AR"; then
48510 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
48511 echo "${ECHO_T}$ac_ct_AR" >&6; }
48513 { echo "$as_me:$LINENO: result: no" >&5
48514 echo "${ECHO_T}no" >&6; }
48517 if test "x$ac_ct_AR" = x; then
48520 case $cross_compiling:$ac_tool_warned in
48522 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48523 whose name does not start with the host triplet. If you think this
48524 configuration is useful to you, please write to autoconf@gnu.org." >&5
48525 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48526 whose name does not start with the host triplet. If you think this
48527 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48528 ac_tool_warned=yes ;;
48533 AR="$ac_cv_prog_AR"
48540 if test -n "$ac_tool_prefix"; then
48541 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
48542 set dummy ${ac_tool_prefix}strip; ac_word=$2
48543 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48544 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48545 if test "${ac_cv_prog_STRIP+set}" = set; then
48546 echo $ECHO_N "(cached) $ECHO_C" >&6
48548 if test -n "$STRIP"; then
48549 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
48551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48552 for as_dir in $PATH
48555 test -z "$as_dir" && as_dir=.
48556 for ac_exec_ext in '' $ac_executable_extensions; do
48557 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48558 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
48559 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48568 STRIP=$ac_cv_prog_STRIP
48569 if test -n "$STRIP"; then
48570 { echo "$as_me:$LINENO: result: $STRIP" >&5
48571 echo "${ECHO_T}$STRIP" >&6; }
48573 { echo "$as_me:$LINENO: result: no" >&5
48574 echo "${ECHO_T}no" >&6; }
48579 if test -z "$ac_cv_prog_STRIP"; then
48581 # Extract the first word of "strip", so it can be a program name with args.
48582 set dummy strip; ac_word=$2
48583 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48584 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48585 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
48586 echo $ECHO_N "(cached) $ECHO_C" >&6
48588 if test -n "$ac_ct_STRIP"; then
48589 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
48591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48592 for as_dir in $PATH
48595 test -z "$as_dir" && as_dir=.
48596 for ac_exec_ext in '' $ac_executable_extensions; do
48597 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48598 ac_cv_prog_ac_ct_STRIP="strip"
48599 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48608 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
48609 if test -n "$ac_ct_STRIP"; then
48610 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
48611 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
48613 { echo "$as_me:$LINENO: result: no" >&5
48614 echo "${ECHO_T}no" >&6; }
48617 if test "x$ac_ct_STRIP" = x; then
48620 case $cross_compiling:$ac_tool_warned in
48622 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48623 whose name does not start with the host triplet. If you think this
48624 configuration is useful to you, please write to autoconf@gnu.org." >&5
48625 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48626 whose name does not start with the host triplet. If you think this
48627 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48628 ac_tool_warned=yes ;;
48633 STRIP="$ac_cv_prog_STRIP"
48636 if test -n "$ac_tool_prefix"; then
48637 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
48638 set dummy ${ac_tool_prefix}nm; ac_word=$2
48639 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48640 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48641 if test "${ac_cv_prog_NM+set}" = set; then
48642 echo $ECHO_N "(cached) $ECHO_C" >&6
48644 if test -n "$NM"; then
48645 ac_cv_prog_NM="$NM" # Let the user override the test.
48647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48648 for as_dir in $PATH
48651 test -z "$as_dir" && as_dir=.
48652 for ac_exec_ext in '' $ac_executable_extensions; do
48653 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48654 ac_cv_prog_NM="${ac_tool_prefix}nm"
48655 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48665 if test -n "$NM"; then
48666 { echo "$as_me:$LINENO: result: $NM" >&5
48667 echo "${ECHO_T}$NM" >&6; }
48669 { echo "$as_me:$LINENO: result: no" >&5
48670 echo "${ECHO_T}no" >&6; }
48675 if test -z "$ac_cv_prog_NM"; then
48677 # Extract the first word of "nm", so it can be a program name with args.
48678 set dummy nm; ac_word=$2
48679 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48680 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48681 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
48682 echo $ECHO_N "(cached) $ECHO_C" >&6
48684 if test -n "$ac_ct_NM"; then
48685 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
48687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48688 for as_dir in $PATH
48691 test -z "$as_dir" && as_dir=.
48692 for ac_exec_ext in '' $ac_executable_extensions; do
48693 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48694 ac_cv_prog_ac_ct_NM="nm"
48695 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48704 ac_ct_NM=$ac_cv_prog_ac_ct_NM
48705 if test -n "$ac_ct_NM"; then
48706 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
48707 echo "${ECHO_T}$ac_ct_NM" >&6; }
48709 { echo "$as_me:$LINENO: result: no" >&5
48710 echo "${ECHO_T}no" >&6; }
48713 if test "x$ac_ct_NM" = x; then
48716 case $cross_compiling:$ac_tool_warned in
48718 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48719 whose name does not start with the host triplet. If you think this
48720 configuration is useful to you, please write to autoconf@gnu.org." >&5
48721 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48722 whose name does not start with the host triplet. If you think this
48723 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48724 ac_tool_warned=yes ;;
48729 NM="$ac_cv_prog_NM"
48733 case ${BAKEFILE_HOST} in
48735 INSTALL_DIR="mkdir -p"
48738 INSTALL_DIR='$(INSTALL) -d'
48744 case ${BAKEFILE_HOST} in
48745 *-*-cygwin* | *-*-mingw32* )
48746 LDFLAGS_GUI="-mwindows"
48752 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
48753 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
48754 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
48755 echo $ECHO_N "(cached) $ECHO_C" >&6
48758 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
48759 egrep -s GNU > /dev/null); then
48760 bakefile_cv_prog_makeisgnu="yes"
48762 bakefile_cv_prog_makeisgnu="no"
48766 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
48767 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
48769 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
48786 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
48787 case "${BAKEFILE_HOST}" in
48794 *-pc-os2_emx | *-pc-os2-emx )
48804 powerpc-apple-macos* )
48813 case "$BAKEFILE_FORCE_PLATFORM" in
48834 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
48835 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
48836 { (exit 1); exit 1; }; }
48851 # Check whether --enable-omf was given.
48852 if test "${enable_omf+set}" = set; then
48853 enableval=$enable_omf; bk_os2_use_omf="$enableval"
48857 case "${BAKEFILE_HOST}" in
48859 if test "x$GCC" = "xyes"; then
48860 CFLAGS="$CFLAGS -fno-common"
48861 CXXFLAGS="$CXXFLAGS -fno-common"
48863 if test "x$XLCC" = "xyes"; then
48864 CFLAGS="$CFLAGS -qnocommon"
48865 CXXFLAGS="$CXXFLAGS -qnocommon"
48869 *-pc-os2_emx | *-pc-os2-emx )
48870 if test "x$bk_os2_use_omf" = "xyes" ; then
48873 LDFLAGS="-Zomf $LDFLAGS"
48874 CFLAGS="-Zomf $CFLAGS"
48875 CXXFLAGS="-Zomf $CXXFLAGS"
48883 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
48889 SO_SUFFIX_MODULE="so"
48894 DLLPREFIX_MODULE=""
48898 case "${BAKEFILE_HOST}" in
48901 SO_SUFFIX_MODULE="sl"
48905 SO_SUFFIX_MODULE="a"
48909 SO_SUFFIX_MODULE="dll"
48910 DLLIMP_SUFFIX="dll.a"
48917 SO_SUFFIX_MODULE="dll"
48918 DLLIMP_SUFFIX="dll.a"
48928 *-pc-os2_emx | *-pc-os2-emx )
48930 SO_SUFFIX_MODULE="dll"
48931 DLLIMP_SUFFIX=$OS2_LIBEXT
48935 LIBEXT=".$OS2_LIBEXT"
48940 SO_SUFFIX_MODULE="bundle"
48944 if test "x$DLLIMP_SUFFIX" = "x" ; then
48945 DLLIMP_SUFFIX="$SO_SUFFIX"
48960 if test "x$GCC" = "xyes"; then
48964 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
48965 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
48968 case "${BAKEFILE_HOST}" in
48970 if test "x$GCC" != "xyes"; then
48971 LDFLAGS="$LDFLAGS -L/usr/lib"
48973 SHARED_LD_CC="${CC} -b -o"
48974 SHARED_LD_CXX="${CXX} -b -o"
48980 if test "x$GCC" != "xyes"; then
48981 { echo "$as_me:$LINENO: checking for Intel compiler" >&5
48982 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6; }
48983 if test "${bakefile_cv_prog_icc+set}" = set; then
48984 echo $ECHO_N "(cached) $ECHO_C" >&6
48987 cat >conftest.$ac_ext <<_ACEOF
48990 cat confdefs.h >>conftest.$ac_ext
48991 cat >>conftest.$ac_ext <<_ACEOF
48992 /* end confdefs.h. */
48998 #ifndef __INTEL_COMPILER
49006 rm -f conftest.$ac_objext
49007 if { (ac_try="$ac_compile"
49008 case "(($ac_try" in
49009 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
49010 *) ac_try_echo
=$ac_try;;
49012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49013 (eval "$ac_compile") 2>conftest.er1
49015 grep -v '^ *+' conftest.er1
>conftest.err
49017 cat conftest.err
>&5
49018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49019 (exit $ac_status); } && {
49020 test -z "$ac_c_werror_flag" ||
49021 test ! -s conftest.err
49022 } && test -s conftest.
$ac_objext; then
49023 bakefile_cv_prog_icc
=yes
49025 echo "$as_me: failed program was:" >&5
49026 sed 's/^/| /' conftest.
$ac_ext >&5
49028 bakefile_cv_prog_icc
=no
49032 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
49035 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
49036 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6; }
49037 if test "$bakefile_cv_prog_icc" = "yes"; then
49044 if test "x$GCC" != xyes
; then
49045 SHARED_LD_CC
="${CC} -G -o"
49046 SHARED_LD_CXX
="${CXX} -G -o"
49054 cat <<EOF >shared-ld-sh
49056 #-----------------------------------------------------------------------------
49057 #-- Name: distrib/mac/shared-ld-sh
49058 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
49059 #-- Author: Gilles Depeyrot
49060 #-- Copyright: (c) 2002 Gilles Depeyrot
49061 #-- Licence: any use permitted
49062 #-----------------------------------------------------------------------------
49067 linking_flag="-dynamiclib"
49068 ldargs="-r -keep_private_externs -nostdlib"
49070 while test ${D}# -gt 0; do
49077 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
49078 # collect these options and values
49079 args="${D}{args} ${D}1 ${D}2"
49084 # collect these load args
49085 ldargs="${D}{ldargs} ${D}1"
49088 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
49089 # collect these options
49090 args="${D}{args} ${D}1"
49093 -dynamiclib|-bundle)
49094 linking_flag="${D}1"
49098 echo "shared-ld: unhandled option '${D}1'"
49102 *.o | *.a | *.dylib)
49103 # collect object files
49104 objects="${D}{objects} ${D}1"
49108 echo "shared-ld: unhandled argument '${D}1'"
49119 # Link one module containing all the others
49121 if test ${D}{verbose} = 1; then
49122 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
49124 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
49128 # Link the shared library from the single module created, but only if the
49129 # previous command didn't fail:
49131 if test ${D}{status} = 0; then
49132 if test ${D}{verbose} = 1; then
49133 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
49135 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
49140 # Remove intermediate module
49142 rm -f master.${D}${D}.o
49147 chmod +x shared
-ld-sh
49149 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
49150 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
49153 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
49154 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
49155 if test "${bakefile_cv_gcc31+set}" = set; then
49156 echo $ECHO_N "(cached) $ECHO_C" >&6
49159 cat >conftest.
$ac_ext <<_ACEOF
49162 cat confdefs.h
>>conftest.
$ac_ext
49163 cat >>conftest.
$ac_ext <<_ACEOF
49164 /* end confdefs.h. */
49170 #if (__GNUC__ < 3) || \
49171 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
49179 rm -f conftest.
$ac_objext
49180 if { (ac_try
="$ac_compile"
49181 case "(($ac_try" in
49182 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
49183 *) ac_try_echo=$ac_try;;
49185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49186 (eval "$ac_compile") 2>conftest.er1
49188 grep -v '^ *+' conftest.er1 >conftest.err
49190 cat conftest.err >&5
49191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49192 (exit $ac_status); } && {
49193 test -z "$ac_c_werror_flag" ||
49194 test ! -s conftest.err
49195 } && test -s conftest.$ac_objext; then
49197 bakefile_cv_gcc31=yes
49200 echo "$as_me: failed program was:" >&5
49201 sed 's/^/| /' conftest.$ac_ext >&5
49204 bakefile_cv_gcc31=no
49209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49212 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
49213 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
49214 if test "$bakefile_cv_gcc31" = "no"; then
49215 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
49216 SHARED_LD_CXX="$SHARED_LD_CC"
49218 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
49219 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
49222 if test "x$GCC" == "xyes"; then
49223 PIC_FLAG="-dynamic -fPIC"
49225 if test "x$XLCC" = "xyes"; then
49226 PIC_FLAG="-dynamic -DPIC"
49231 if test "x$GCC" = "xyes"; then
49234 case "${BAKEFILE_HOST}" in
49236 LD_EXPFULL="-Wl,-bexpfull"
49240 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
49241 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
49243 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
49244 set dummy makeC++SharedLib; ac_word=$2
49245 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49246 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49247 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
49248 echo $ECHO_N "(cached) $ECHO_C" >&6
49250 if test -n "$AIX_CXX_LD"; then
49251 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
49253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49254 for as_dir in $PATH
49257 test -z "$as_dir" && as_dir=.
49258 for ac_exec_ext in '' $ac_executable_extensions; do
49259 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49260 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
49261 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49268 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
49271 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
49272 if test -n "$AIX_CXX_LD"; then
49273 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
49274 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
49276 { echo "$as_me:$LINENO: result: no" >&5
49277 echo "${ECHO_T}no" >&6; }
49281 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
49282 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
49287 SHARED_LD_CC="${LD} -nostart -o"
49288 SHARED_LD_CXX="${LD} -nostart -o"
49292 if test "x$GCC" != "xyes"; then
49297 *-*-cygwin* | *-*-mingw32* )
49299 SHARED_LD_CC="\$(CC) -shared -o"
49300 SHARED_LD_CXX="\$(CXX) -shared -o"
49304 *-pc-os2_emx | *-pc-os2-emx )
49305 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49306 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49310 cat <<EOF >dllar.sh
49313 # dllar - a tool to build both a .dll and an .a file
49314 # from a set of object (.o) files for EMX/OS2.
49316 # Written by Andrew Zabolotny, bit@freya.etu.ru
49317 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
49319 # This script will accept a set of files on the command line.
49320 # All the public symbols from the .o files will be exported into
49321 # a .DEF file, then linker will be run (through gcc) against them to
49322 # build a shared library consisting of all given .o files. All libraries
49323 # (.a) will be first decompressed into component .o files then act as
49324 # described above. You can optionally give a description (-d "description")
49325 # which will be put into .DLL. To see the list of accepted options (as well
49326 # as command-line format) simply run this program without options. The .DLL
49327 # is built to be imported by name (there is no guarantee that new versions
49328 # of the library you build will have same ordinals for same symbols).
49330 # dllar is free software; you can redistribute it and/or modify
49331 # it under the terms of the GNU General Public License as published by
49332 # the Free Software Foundation; either version 2, or (at your option)
49333 # any later version.
49335 # dllar is distributed in the hope that it will be useful,
49336 # but WITHOUT ANY WARRANTY; without even the implied warranty of
49337 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
49338 # GNU General Public License for more details.
49340 # You should have received a copy of the GNU General Public License
49341 # along with dllar; see the file COPYING. If not, write to the Free
49342 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
49345 # To successfuly run this program you will need:
49346 # - Current drive should have LFN support (HPFS, ext2, network, etc)
49347 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
49349 # (used to build the .dll)
49351 # (used to create .def file from .o files)
49353 # (used to create .a file from .def file)
49354 # - GNU text utilites (cat, sort, uniq)
49355 # used to process emxexp output
49356 # - GNU file utilities (mv, rm)
49358 # - lxlite (optional, see flag below)
49359 # (used for general .dll cleanup)
49366 # basnam, variant of basename, which does _not_ remove the path, _iff_
49367 # second argument (suffix to remove) is given
49371 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
49374 echo ${D}1 | sed 's/'${D}2'${D}//'
49377 echo "error in basnam ${D}*"
49383 # Cleanup temporary files and output
49386 for i in ${D}inputFiles ; do
49389 rm -rf \`basnam
${D}i
!\
`
49396 # Kill result in case of failure as there is just to many stupid make/nmake
49397 # things out there which doesn't do this.
49398 if [ ${D}# -eq 0 ]; then
49399 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
49403 # Print usage and exit script with rc=1.
49405 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
49406 echo ' [-name-mangler-script script.sh]'
49407 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
49408 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
49409 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
49410 echo ' [*.o] [*.a]'
49411 echo '*> "output_file" should have no extension.'
49412 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
49413 echo ' The import library name is derived from this and is set to "name".a,'
49414 echo ' unless overridden by -import'
49415 echo '*> "importlib_name" should have no extension.'
49416 echo ' If it has the .o, or .a extension, it is automatically removed.'
49417 echo ' This name is used as the import library name and may be longer and'
49418 echo ' more descriptive than the DLL name which has to follow the old '
49419 echo ' 8.3 convention of FAT.'
49420 echo '*> "script.sh may be given to override the output_file name by a'
49421 echo ' different name. It is mainly useful if the regular make process'
49422 echo ' of some package does not take into account OS/2 restriction of'
49423 echo ' DLL name lengths. It takes the importlib name as input and is'
49424 echo ' supposed to procude a shorter name as output. The script should'
49425 echo ' expect to get importlib_name without extension and should produce'
49426 echo ' a (max.) 8 letter name without extension.'
49427 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
49428 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
49429 echo ' These flags will be put at the start of GCC command line.'
49430 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
49431 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
49432 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
49433 echo ' If the last character of a symbol is "*", all symbols beginning'
49434 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
49435 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
49436 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
49437 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
49438 echo ' C runtime DLLs.'
49439 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
49440 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
49441 echo ' unchanged to GCC at the end of command line.'
49442 echo '*> If you create a DLL from a library and you do not specify -o,'
49443 echo ' the basename for DLL and import library will be set to library name,'
49444 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
49445 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
49446 echo ' library will be renamed into gcc_s.a.'
49449 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
49450 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
49455 # Execute a command.
49456 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
49457 # @Uses Whatever CleanUp() uses.
49463 if [ ${D}rcCmd -ne 0 ]; then
49464 echo "command failed, exit code="${D}rcCmd
49479 CFLAGS="-s -Zcrtdll"
49481 EXPORT_BY_ORDINALS=0
49486 case ${D}curDirS in
49490 curDirS=${D}{curDirS}"/"
49493 # Parse commandline
49496 while [ ${D}1 ]; do
49499 EXPORT_BY_ORDINALS=1;
49509 -name-mangler-script)
49530 exclude_symbols=${D}{exclude_symbols}${D}1" "
49534 library_flags=${D}{library_flags}${D}1" "
49553 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
49556 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam
${D}1 .dll\
`"
49557 if [ ${D}omfLinking -eq 1 ]; then
49558 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
49560 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
49565 if [ ${D}libsToLink -ne 0 ]; then
49566 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
49568 for file in ${D}1 ; do
49569 if [ -f ${D}file ]; then
49570 inputFiles="${D}{inputFiles} ${D}file"
49574 if [ ${D}found -eq 0 ]; then
49575 echo "ERROR: No file(s) found: "${D}1
49582 done # iterate cmdline words
49585 if [ -z "${D}inputFiles" ]; then
49586 echo "dllar: no input files"
49590 # Now extract all .o files from .a files
49592 for file in ${D}inputFiles ; do
49603 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
49608 dirname=\`basnam
${D}file ${D}suffix\
`"_%"
49610 if [ ${D}? -ne 0 ]; then
49611 echo "Failed to create subdirectory ./${D}dirname"
49615 # Append '!' to indicate archive
49616 newInputFiles="${D}newInputFiles ${D}{dirname}!"
49617 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
49620 for subfile in ${D}dirname/*.o* ; do
49621 if [ -f ${D}subfile ]; then
49623 if [ -s ${D}subfile ]; then
49624 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
49625 newInputFiles="${D}newInputFiles ${D}subfile"
49629 if [ ${D}found -eq 0 ]; then
49630 echo "WARNING: there are no files in archive \\'${D}file\\'"
49634 newInputFiles="${D}{newInputFiles} ${D}file"
49638 inputFiles="${D}newInputFiles"
49640 # Output filename(s).
49642 if [ -z ${D}outFile ]; then
49644 set outFile ${D}inputFiles; outFile=${D}2
49647 # If it is an archive, remove the '!' and the '_%' suffixes
49648 case ${D}outFile in
49650 outFile=\`basnam
${D}outFile _
%!\
`
49655 case ${D}outFile in
49657 outFile=\`basnam
${D}outFile .dll\
`
49660 outFile=\`basnam
${D}outFile .DLL\
`
49663 outFile=\`basnam
${D}outFile .o\
`
49666 outFile=\`basnam
${D}outFile .obj\
`
49669 outFile=\`basnam
${D}outFile .a\
`
49672 outFile=\`basnam
${D}outFile .lib\
`
49677 case ${D}outimpFile in
49679 outimpFile=\`basnam
${D}outimpFile .a\
`
49682 outimpFile=\`basnam
${D}outimpFile .lib\
`
49687 if [ -z ${D}outimpFile ]; then
49688 outimpFile=${D}outFile
49690 defFile="${D}{outFile}.def"
49691 arcFile="${D}{outimpFile}.a"
49692 arcFile2="${D}{outimpFile}.lib"
49694 #create ${D}dllFile as something matching 8.3 restrictions,
49695 if [ -z ${D}renameScript ] ; then
49696 dllFile="${D}outFile"
49698 dllFile=\`${D}renameScript
${D}outimpFile\
`
49701 if [ ${D}do_backup -ne 0 ] ; then
49702 if [ -f ${D}arcFile ] ; then
49703 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
49705 if [ -f ${D}arcFile2 ] ; then
49706 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
49710 # Extract public symbols from all the object files.
49711 tmpdefFile=${D}{defFile}_%
49712 rm -f ${D}tmpdefFile
49713 for file in ${D}inputFiles ; do
49718 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
49723 # Create the def file.
49725 echo "LIBRARY \`basnam
${D}dllFile\
` ${D}library_flags" >> ${D}defFile
49726 dllFile="${D}{dllFile}.dll"
49727 if [ ! -z ${D}description ]; then
49728 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
49730 echo "EXPORTS" >> ${D}defFile
49732 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
49733 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
49735 # Checks if the export is ok or not.
49736 for word in ${D}exclude_symbols; do
49737 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
49738 mv ${D}{tmpdefFile}% ${D}tmpdefFile
49742 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49743 sed "=" < ${D}tmpdefFile | \\
49747 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
49749 ' > ${D}{tmpdefFile}%
49750 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
49752 rm -f ${D}{tmpdefFile}%
49754 cat ${D}tmpdefFile >> ${D}defFile
49755 rm -f ${D}tmpdefFile
49757 # Do linking, create implib, and apply lxlite.
49759 for file in ${D}inputFiles ; do
49764 gccCmdl="${D}gccCmdl ${D}file"
49768 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
49769 touch "${D}{outFile}.dll"
49771 doCommand "emximp -o ${D}arcFile ${D}defFile"
49772 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
49774 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49777 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
49779 doCommand "emxomf -s -l ${D}arcFile"
49789 powerpc-apple-macos* | \
49790 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
49802 if test "x$PIC_FLAG" != "x" ; then
49803 PIC_FLAG="$PIC_FLAG -DPIC"
49806 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
49807 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
49809 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
49810 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
49829 case "${BAKEFILE_HOST}" in
49830 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
49831 SONAME_FLAG="-Wl,-soname,"
49865 # Check whether --enable-dependency-tracking was given.
49866 if test "${enable_dependency_tracking+set}" = set; then
49867 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
49871 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
49872 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
49875 if test "x$bk_use_trackdeps" = "xno" ; then
49877 { echo "$as_me:$LINENO: result: disabled" >&5
49878 echo "${ECHO_T}disabled" >&6; }
49882 if test "x$GCC" = "xyes"; then
49884 case "${BAKEFILE_HOST}" in
49886 DEPSFLAG="-no-cpp-precomp -MMD"
49892 { echo "$as_me:$LINENO: result: gcc" >&5
49893 echo "${ECHO_T}gcc" >&6; }
49894 elif test "x$MWCC" = "xyes"; then
49897 { echo "$as_me:$LINENO: result: mwcc" >&5
49898 echo "${ECHO_T}mwcc" >&6; }
49899 elif test "x$SUNCC" = "xyes"; then
49902 { echo "$as_me:$LINENO: result: Sun cc" >&5
49903 echo "${ECHO_T}Sun cc" >&6; }
49904 elif test "x$SGICC" = "xyes"; then
49907 { echo "$as_me:$LINENO: result: SGI cc" >&5
49908 echo "${ECHO_T}SGI cc" >&6; }
49909 elif test "x$HPCC" = "xyes"; then
49912 { echo "$as_me:$LINENO: result: HP cc" >&5
49913 echo "${ECHO_T}HP cc" >&6; }
49914 elif test "x$COMPAQCC" = "xyes"; then
49917 { echo "$as_me:$LINENO: result: Compaq cc" >&5
49918 echo "${ECHO_T}Compaq cc" >&6; }
49921 { echo "$as_me:$LINENO: result: none" >&5
49922 echo "${ECHO_T}none" >&6; }
49925 if test $DEPS_TRACKING = 1 ; then
49931 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
49932 # script. It is used to track C/C++ files dependencies in portable way.
49934 # Permission is given to use this file in any way.
49936 DEPSMODE=${DEPSMODE}
49938 DEPSFLAG="${DEPSFLAG}"
49940 mkdir -p ${D}DEPSDIR
49942 if test ${D}DEPSMODE = gcc ; then
49943 ${D}* ${D}{DEPSFLAG}
49945 if test ${D}{status} != 0 ; then
49948 # move created file to the location we want it in:
49949 while test ${D}# -gt 0; do
49963 depfile=\`basename ${D}srcfile
| sed -e 's/\\..*${D}/.d/g'\
`
49964 depobjname=\`echo ${D}depfile
|sed -e 's/\\.d/.o/g'\
`
49965 if test -f ${D}depfile ; then
49966 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
49969 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
49970 depfile=\`basename ${D}objfile
| sed -e 's/\\..*${D}/.d/g'\
`
49971 if test ! -f ${D}depfile ; then
49972 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
49973 depfile="${D}objfile.d"
49975 if test -f ${D}depfile ; then
49976 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
49981 elif test ${D}DEPSMODE = mwcc ; then
49982 ${D}* || exit ${D}?
49983 # Run mwcc again with -MM and redirect into the dep file we want
49984 # NOTE: We can't use shift here because we need ${D}* to be valid
49986 for arg in ${D}* ; do
49987 if test "${D}prevarg" = "-o"; then
50000 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
50002 elif test ${D}DEPSMODE = unixcc; then
50003 ${D}* || exit ${D}?
50004 # Run compiler again with deps flag and redirect into the dep file.
50005 # It doesn't work if the '-o FILE' option is used, but without it the
50006 # dependency file will contain the wrong name for the object. So it is
50007 # removed from the command line, and the dep file is fixed with sed.
50009 while test ${D}# -gt 0; do
50016 eval arg${D}#=\\${D}1
50017 cmd="${D}cmd \\${D}arg${D}#"
50022 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
50031 BK_DEPS="`pwd`/bk-deps"
50039 case ${BAKEFILE_HOST} in
50040 *-*-cygwin* | *-*-mingw32* )
50041 if test -n "$ac_tool_prefix"; then
50042 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
50043 set dummy ${ac_tool_prefix}windres; ac_word=$2
50044 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50045 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50046 if test "${ac_cv_prog_WINDRES+set}" = set; then
50047 echo $ECHO_N "(cached) $ECHO_C" >&6
50049 if test -n "$WINDRES"; then
50050 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
50052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50053 for as_dir in $PATH
50056 test -z "$as_dir" && as_dir=.
50057 for ac_exec_ext in '' $ac_executable_extensions; do
50058 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50059 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
50060 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50069 WINDRES=$ac_cv_prog_WINDRES
50070 if test -n "$WINDRES"; then
50071 { echo "$as_me:$LINENO: result: $WINDRES" >&5
50072 echo "${ECHO_T}$WINDRES" >&6; }
50074 { echo "$as_me:$LINENO: result: no" >&5
50075 echo "${ECHO_T}no" >&6; }
50080 if test -z "$ac_cv_prog_WINDRES"; then
50081 ac_ct_WINDRES=$WINDRES
50082 # Extract the first word of "windres", so it can be a program name with args.
50083 set dummy windres; ac_word=$2
50084 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50085 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50086 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
50087 echo $ECHO_N "(cached) $ECHO_C" >&6
50089 if test -n "$ac_ct_WINDRES"; then
50090 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
50092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50093 for as_dir in $PATH
50096 test -z "$as_dir" && as_dir=.
50097 for ac_exec_ext in '' $ac_executable_extensions; do
50098 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50099 ac_cv_prog_ac_ct_WINDRES="windres"
50100 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50109 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
50110 if test -n "$ac_ct_WINDRES"; then
50111 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
50112 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
50114 { echo "$as_me:$LINENO: result: no" >&5
50115 echo "${ECHO_T}no" >&6; }
50118 if test "x$ac_ct_WINDRES" = x; then
50121 case $cross_compiling:$ac_tool_warned in
50123 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50124 whose name does not start with the host triplet. If you think this
50125 configuration is useful to you, please write to autoconf@gnu.org." >&5
50126 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50127 whose name does not start with the host triplet. If you think this
50128 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50129 ac_tool_warned=yes ;;
50131 WINDRES=$ac_ct_WINDRES
50134 WINDRES="$ac_cv_prog_WINDRES"
50139 *-*-darwin* | powerpc-apple-macos* )
50140 # Extract the first word of "Rez", so it can be a program name with args.
50141 set dummy Rez; ac_word=$2
50142 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50143 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50144 if test "${ac_cv_prog_REZ+set}" = set; then
50145 echo $ECHO_N "(cached) $ECHO_C" >&6
50147 if test -n "$REZ"; then
50148 ac_cv_prog_REZ="$REZ" # Let the user override the test.
50150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50151 for as_dir in $PATH
50154 test -z "$as_dir" && as_dir=.
50155 for ac_exec_ext in '' $ac_executable_extensions; do
50156 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50157 ac_cv_prog_REZ="Rez"
50158 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50165 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
50168 REZ=$ac_cv_prog_REZ
50169 if test -n "$REZ"; then
50170 { echo "$as_me:$LINENO: result: $REZ" >&5
50171 echo "${ECHO_T}$REZ" >&6; }
50173 { echo "$as_me:$LINENO: result: no" >&5
50174 echo "${ECHO_T}no" >&6; }
50178 # Extract the first word of "SetFile", so it can be a program name with args.
50179 set dummy SetFile; ac_word=$2
50180 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50181 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50182 if test "${ac_cv_prog_SETFILE+set}" = set; then
50183 echo $ECHO_N "(cached) $ECHO_C" >&6
50185 if test -n "$SETFILE"; then
50186 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
50188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50189 for as_dir in $PATH
50192 test -z "$as_dir" && as_dir=.
50193 for ac_exec_ext in '' $ac_executable_extensions; do
50194 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50195 ac_cv_prog_SETFILE="SetFile"
50196 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50203 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
50206 SETFILE=$ac_cv_prog_SETFILE
50207 if test -n "$SETFILE"; then
50208 { echo "$as_me:$LINENO: result: $SETFILE" >&5
50209 echo "${ECHO_T}$SETFILE" >&6; }
50211 { echo "$as_me:$LINENO: result: no" >&5
50212 echo "${ECHO_T}no" >&6; }
50224 BAKEFILE_BAKEFILE_M4_VERSION="0.2.1"
50227 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.1"
50231 # Check whether --enable-precomp-headers was given.
50232 if test "${enable_precomp_headers+set}" = set; then
50233 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
50242 case ${BAKEFILE_HOST} in
50248 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
50249 if test "x$GCC" = "xyes"; then
50250 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
50251 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
50252 cat >conftest.$ac_ext <<_ACEOF
50255 cat confdefs.h >>conftest.$ac_ext
50256 cat >>conftest.$ac_ext <<_ACEOF
50257 /* end confdefs.h. */
50263 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
50264 There is no PCH support
50267 There is no PCH support
50269 #if (__GNUC__ == 3) && \
50270 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
50271 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
50272 ( defined(__INTEL_COMPILER) )
50273 There is no PCH support
50280 rm -f conftest.$ac_objext
50281 if { (ac_try="$ac_compile"
50282 case "(($ac_try" in
50283 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
50284 *) ac_try_echo
=$ac_try;;
50286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50287 (eval "$ac_compile") 2>conftest.er1
50289 grep -v '^ *+' conftest.er1
>conftest.err
50291 cat conftest.err
>&5
50292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50293 (exit $ac_status); } && {
50294 test -z "$ac_c_werror_flag" ||
50295 test ! -s conftest.err
50296 } && test -s conftest.
$ac_objext; then
50298 { echo "$as_me:$LINENO: result: yes" >&5
50299 echo "${ECHO_T}yes" >&6; }
50303 echo "$as_me: failed program was:" >&5
50304 sed 's/^/| /' conftest.
$ac_ext >&5
50307 cat >conftest.
$ac_ext <<_ACEOF
50310 cat confdefs.h
>>conftest.
$ac_ext
50311 cat >>conftest.
$ac_ext <<_ACEOF
50312 /* end confdefs.h. */
50318 #if !defined(__INTEL_COMPILER) || \
50319 (__INTEL_COMPILER < 800)
50320 There is no PCH support
50327 rm -f conftest.
$ac_objext
50328 if { (ac_try
="$ac_compile"
50329 case "(($ac_try" in
50330 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
50331 *) ac_try_echo=$ac_try;;
50333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50334 (eval "$ac_compile") 2>conftest.er1
50336 grep -v '^ *+' conftest.er1 >conftest.err
50338 cat conftest.err >&5
50339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50340 (exit $ac_status); } && {
50341 test -z "$ac_c_werror_flag" ||
50342 test ! -s conftest.err
50343 } && test -s conftest.$ac_objext; then
50345 { echo "$as_me:$LINENO: result: yes" >&5
50346 echo "${ECHO_T}yes" >&6; }
50350 echo "$as_me: failed program was:" >&5
50351 sed 's/^/| /' conftest.$ac_ext >&5
50354 { echo "$as_me:$LINENO: result: no" >&5
50355 echo "${ECHO_T}no" >&6; }
50359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50364 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
50368 cat <<EOF >bk-make-pch
50371 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
50372 # script. It is used to generated precompiled headers.
50374 # Permission is given to use this file in any way.
50384 while test ${D}{#} -gt 0; do
50388 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\
`
50389 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
50390 headerfile="${D}{incdir}/${D}{header}"
50393 -use-pch|-use_pch )
50398 if test ${D}add_to_cmdline = 1 ; then
50399 compiler="${D}{compiler} ${D}{1}"
50404 if test "x${D}{headerfile}" = "x" ; then
50405 echo "error: can't find header ${D}{header} in include paths" >&2
50407 if test -f ${D}{outfile} ; then
50408 rm -f ${D}{outfile}
50410 mkdir -p \`dirname ${D}{outfile
}\
`
50412 depsfile=".deps/\`echo ${D}{outfile
} | tr '/.' '__'\
`.d"
50414 if test "x${GCC_PCH}" = "x1" ; then
50415 # can do this because gcc is >= 3.4:
50416 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
50417 elif test "x${ICC_PCH}" = "x1" ; then
50418 filename=pch_gen-${D}${D}
50419 file=${D}{filename}.c
50420 dfile=${D}{filename}.d
50421 cat > ${D}file <<EOT
50422 #include "${D}header"
50424 # using -MF icc complains about differing command lines in creation/use
50425 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
50426 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
50427 rm -f ${D}file ${D}dfile ${D}{filename}.o
50433 chmod +x bk-make-pch
50434 BK_MAKE_PCH="`pwd`/bk-make-pch"
50443 COND_BUILD_DEBUG="#"
50444 if test "x$BUILD" = "xdebug" ; then
50445 COND_BUILD_DEBUG=""
50448 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
50449 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
50450 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
50453 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
50454 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
50455 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
50458 COND_BUILD_DEBUG_UNICODE_0="#"
50459 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
50460 COND_BUILD_DEBUG_UNICODE_0=""
50463 COND_BUILD_DEBUG_UNICODE_1="#"
50464 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
50465 COND_BUILD_DEBUG_UNICODE_1=""
50468 COND_BUILD_RELEASE="#"
50469 if test "x$BUILD" = "xrelease" ; then
50470 COND_BUILD_RELEASE=""
50473 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
50474 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
50475 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
50478 COND_BUILD_RELEASE_UNICODE_0="#"
50479 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
50480 COND_BUILD_RELEASE_UNICODE_0=""
50483 COND_BUILD_RELEASE_UNICODE_1="#"
50484 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
50485 COND_BUILD_RELEASE_UNICODE_1=""
50488 COND_DEBUG_FLAG_1="#"
50489 if test "x$DEBUG_FLAG" = "x1" ; then
50490 COND_DEBUG_FLAG_1=""
50493 COND_DEBUG_INFO_0="#"
50494 if test "x$DEBUG_INFO" = "x0" ; then
50495 COND_DEBUG_INFO_0=""
50498 COND_DEBUG_INFO_1="#"
50499 if test "x$DEBUG_INFO" = "x1" ; then
50500 COND_DEBUG_INFO_1=""
50503 COND_DEPS_TRACKING_0="#"
50504 if test "x$DEPS_TRACKING" = "x0" ; then
50505 COND_DEPS_TRACKING_0=""
50508 COND_DEPS_TRACKING_1="#"
50509 if test "x$DEPS_TRACKING" = "x1" ; then
50510 COND_DEPS_TRACKING_1=""
50514 if test "x$GCC_PCH" = "x1" ; then
50519 if test "x$ICC_PCH" = "x1" ; then
50523 COND_MONOLITHIC_0="#"
50524 if test "x$MONOLITHIC" = "x0" ; then
50525 COND_MONOLITHIC_0=""
50528 COND_MONOLITHIC_0_SHARED_0="#"
50529 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
50530 COND_MONOLITHIC_0_SHARED_0=""
50533 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
50534 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
50535 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
50538 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
50539 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
50540 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
50543 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
50544 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
50545 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
50548 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
50549 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50550 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
50553 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
50554 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
50555 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
50558 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
50559 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
50560 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
50563 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
50564 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
50565 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
50568 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
50569 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
50570 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
50573 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
50574 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
50575 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
50578 COND_MONOLITHIC_0_SHARED_1="#"
50579 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
50580 COND_MONOLITHIC_0_SHARED_1=""
50583 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
50584 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
50585 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
50588 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
50589 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
50590 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
50593 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
50594 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
50595 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
50598 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
50599 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50600 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
50603 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
50604 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
50605 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
50608 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
50609 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
50610 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
50613 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
50614 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
50615 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
50618 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
50619 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
50620 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
50623 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
50624 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
50625 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
50628 COND_MONOLITHIC_0_USE_MEDIA_1="#"
50629 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
50630 COND_MONOLITHIC_0_USE_MEDIA_1=""
50633 COND_MONOLITHIC_0_USE_ODBC_1="#"
50634 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
50635 COND_MONOLITHIC_0_USE_ODBC_1=""
50638 COND_MONOLITHIC_1="#"
50639 if test "x$MONOLITHIC" = "x1" ; then
50640 COND_MONOLITHIC_1=""
50643 COND_MONOLITHIC_1_SHARED_0="#"
50644 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
50645 COND_MONOLITHIC_1_SHARED_0=""
50648 COND_MONOLITHIC_1_SHARED_1="#"
50649 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
50650 COND_MONOLITHIC_1_SHARED_1=""
50653 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
50654 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
50655 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
50658 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
50659 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
50660 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
50663 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
50664 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50665 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
50668 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
50669 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50670 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
50673 COND_PLATFORM_MACOSX_1="#"
50674 if test "x$PLATFORM_MACOSX" = "x1" ; then
50675 COND_PLATFORM_MACOSX_1=""
50678 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
50679 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
50680 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
50683 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
50684 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
50685 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
50688 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
50689 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
50690 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
50693 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
50694 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
50695 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
50698 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
50699 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
50700 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
50703 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
50704 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
50705 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
50708 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
50709 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
50710 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
50713 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
50714 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
50715 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
50718 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
50719 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50720 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
50723 COND_PLATFORM_MACOS_1="#"
50724 if test "x$PLATFORM_MACOS" = "x1" ; then
50725 COND_PLATFORM_MACOS_1=""
50728 COND_PLATFORM_MAC_1="#"
50729 if test "x$PLATFORM_MAC" = "x1" ; then
50730 COND_PLATFORM_MAC_1=""
50733 COND_PLATFORM_MSDOS_0="#"
50734 if test "x$PLATFORM_MSDOS" = "x0" ; then
50735 COND_PLATFORM_MSDOS_0=""
50738 COND_PLATFORM_MSDOS_1="#"
50739 if test "x$PLATFORM_MSDOS" = "x1" ; then
50740 COND_PLATFORM_MSDOS_1=""
50743 COND_PLATFORM_OS2_1="#"
50744 if test "x$PLATFORM_OS2" = "x1" ; then
50745 COND_PLATFORM_OS2_1=""
50748 COND_PLATFORM_UNIX_0="#"
50749 if test "x$PLATFORM_UNIX" = "x0" ; then
50750 COND_PLATFORM_UNIX_0=""
50753 COND_PLATFORM_UNIX_1="#"
50754 if test "x$PLATFORM_UNIX" = "x1" ; then
50755 COND_PLATFORM_UNIX_1=""
50758 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
50759 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
50760 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
50763 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
50764 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50765 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
50768 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
50769 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
50770 COND_PLATFORM_UNIX_1_USE_GUI_1=""
50773 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
50774 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
50775 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
50778 COND_PLATFORM_WIN32_0="#"
50779 if test "x$PLATFORM_WIN32" = "x0" ; then
50780 COND_PLATFORM_WIN32_0=""
50783 COND_PLATFORM_WIN32_1="#"
50784 if test "x$PLATFORM_WIN32" = "x1" ; then
50785 COND_PLATFORM_WIN32_1=""
50789 if test "x$SHARED" = "x0" ; then
50793 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
50794 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
50795 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
50798 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
50799 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50800 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
50803 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
50804 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
50805 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
50808 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
50809 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50810 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
50813 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
50814 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50815 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
50818 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
50819 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50820 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
50823 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
50824 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50825 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
50828 COND_SHARED_0_USE_XRC_1="#"
50829 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
50830 COND_SHARED_0_USE_XRC_1=""
50833 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
50834 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
50835 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
50838 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
50839 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
50840 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
50843 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
50844 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
50845 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
50848 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
50849 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
50850 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
50854 if test "x$SHARED" = "x1" ; then
50858 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
50859 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50860 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
50863 COND_SHARED_1_USE_XRC_1="#"
50864 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
50865 COND_SHARED_1_USE_XRC_1=""
50869 if test "x$TOOLKIT" = "x" ; then
50873 COND_TOOLKIT_COCOA="#"
50874 if test "x$TOOLKIT" = "xCOCOA" ; then
50875 COND_TOOLKIT_COCOA=""
50878 COND_TOOLKIT_COCOA_USE_GUI_1="#"
50879 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
50880 COND_TOOLKIT_COCOA_USE_GUI_1=""
50883 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
50884 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50885 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
50888 COND_TOOLKIT_DFB="#"
50889 if test "x$TOOLKIT" = "xDFB" ; then
50890 COND_TOOLKIT_DFB=""
50893 COND_TOOLKIT_DFB_USE_GUI_1="#"
50894 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
50895 COND_TOOLKIT_DFB_USE_GUI_1=""
50898 COND_TOOLKIT_GTK="#"
50899 if test "x$TOOLKIT" = "xGTK" ; then
50900 COND_TOOLKIT_GTK=""
50903 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
50904 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
50905 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
50908 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
50909 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
50910 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
50913 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
50914 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
50915 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
50918 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
50919 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50920 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
50923 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
50924 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
50925 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
50928 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
50929 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50930 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
50933 COND_TOOLKIT_GTK_USE_GUI_1="#"
50934 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
50935 COND_TOOLKIT_GTK_USE_GUI_1=""
50938 COND_TOOLKIT_MAC="#"
50939 if test "x$TOOLKIT" = "xMAC" ; then
50940 COND_TOOLKIT_MAC=""
50943 COND_TOOLKIT_MAC_USE_GUI_1="#"
50944 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
50945 COND_TOOLKIT_MAC_USE_GUI_1=""
50948 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
50949 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50950 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
50953 COND_TOOLKIT_MGL="#"
50954 if test "x$TOOLKIT" = "xMGL" ; then
50955 COND_TOOLKIT_MGL=""
50958 COND_TOOLKIT_MGL_USE_GUI_1="#"
50959 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50960 COND_TOOLKIT_MGL_USE_GUI_1=""
50963 COND_TOOLKIT_MOTIF="#"
50964 if test "x$TOOLKIT" = "xMOTIF" ; then
50965 COND_TOOLKIT_MOTIF=""
50968 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
50969 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
50970 COND_TOOLKIT_MOTIF_USE_GUI_1=""
50973 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
50974 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50975 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
50978 COND_TOOLKIT_MSW="#"
50979 if test "x$TOOLKIT" = "xMSW" ; then
50980 COND_TOOLKIT_MSW=""
50983 COND_TOOLKIT_MSW_USE_GUI_1="#"
50984 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
50985 COND_TOOLKIT_MSW_USE_GUI_1=""
50988 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
50989 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50990 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
50993 COND_TOOLKIT_MSW_WXUNIV_0="#"
50994 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50995 COND_TOOLKIT_MSW_WXUNIV_0=""
50998 COND_TOOLKIT_PM="#"
50999 if test "x$TOOLKIT" = "xPM" ; then
51003 COND_TOOLKIT_PM_USE_GUI_1="#"
51004 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
51005 COND_TOOLKIT_PM_USE_GUI_1=""
51008 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
51009 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51010 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
51013 COND_TOOLKIT_WINCE="#"
51014 if test "x$TOOLKIT" = "xWINCE" ; then
51015 COND_TOOLKIT_WINCE=""
51018 COND_TOOLKIT_WINCE_USE_GUI_1="#"
51019 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
51020 COND_TOOLKIT_WINCE_USE_GUI_1=""
51023 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
51024 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51025 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
51028 COND_TOOLKIT_WINCE_WXUNIV_0="#"
51029 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
51030 COND_TOOLKIT_WINCE_WXUNIV_0=""
51033 COND_TOOLKIT_X11="#"
51034 if test "x$TOOLKIT" = "xX11" ; then
51035 COND_TOOLKIT_X11=""
51038 COND_TOOLKIT_X11_USE_GUI_1="#"
51039 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
51040 COND_TOOLKIT_X11_USE_GUI_1=""
51044 if test "x$UNICODE" = "x1" ; then
51048 COND_USE_EXCEPTIONS_0="#"
51049 if test "x$USE_EXCEPTIONS" = "x0" ; then
51050 COND_USE_EXCEPTIONS_0=""
51053 COND_USE_EXCEPTIONS_1="#"
51054 if test "x$USE_EXCEPTIONS" = "x1" ; then
51055 COND_USE_EXCEPTIONS_1=""
51059 if test "x$USE_GUI" = "x0" ; then
51064 if test "x$USE_GUI" = "x1" ; then
51068 COND_USE_GUI_1_WXUNIV_0="#"
51069 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51070 COND_USE_GUI_1_WXUNIV_0=""
51073 COND_USE_GUI_1_WXUNIV_1="#"
51074 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
51075 COND_USE_GUI_1_WXUNIV_1=""
51078 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
51079 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51080 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
51083 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
51084 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51085 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
51088 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
51089 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51090 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
51093 COND_USE_ODBC_1="#"
51094 if test "x$USE_ODBC" = "x1" ; then
51098 COND_USE_OPENGL_1="#"
51099 if test "x$USE_OPENGL" = "x1" ; then
51100 COND_USE_OPENGL_1=""
51104 if test "x$USE_PCH" = "x1" ; then
51108 COND_USE_PLUGINS_0="#"
51109 if test "x$USE_PLUGINS" = "x0" ; then
51110 COND_USE_PLUGINS_0=""
51113 COND_USE_RTTI_0="#"
51114 if test "x$USE_RTTI" = "x0" ; then
51118 COND_USE_RTTI_1="#"
51119 if test "x$USE_RTTI" = "x1" ; then
51123 COND_USE_SOSYMLINKS_1="#"
51124 if test "x$USE_SOSYMLINKS" = "x1" ; then
51125 COND_USE_SOSYMLINKS_1=""
51128 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
51129 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51130 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
51133 COND_USE_SOVERLINUX_1="#"
51134 if test "x$USE_SOVERLINUX" = "x1" ; then
51135 COND_USE_SOVERLINUX_1=""
51138 COND_USE_SOVERSION_0="#"
51139 if test "x$USE_SOVERSION" = "x0" ; then
51140 COND_USE_SOVERSION_0=""
51143 COND_USE_SOVERSOLARIS_1="#"
51144 if test "x$USE_SOVERSOLARIS" = "x1" ; then
51145 COND_USE_SOVERSOLARIS_1=""
51148 COND_USE_THREADS_0="#"
51149 if test "x$USE_THREADS" = "x0" ; then
51150 COND_USE_THREADS_0=""
51153 COND_USE_THREADS_1="#"
51154 if test "x$USE_THREADS" = "x1" ; then
51155 COND_USE_THREADS_1=""
51159 if test "x$USE_XRC" = "x1" ; then
51163 COND_WINDOWS_IMPLIB_1="#"
51164 if test "x$WINDOWS_IMPLIB" = "x1" ; then
51165 COND_WINDOWS_IMPLIB_1=""
51168 COND_WITH_PLUGIN_SDL_1="#"
51169 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
51170 COND_WITH_PLUGIN_SDL_1=""
51174 if test "x$WXUNIV" = "x0" ; then
51179 if test "x$WXUNIV" = "x1" ; then
51183 COND_WXUSE_EXPAT_BUILTIN="#"
51184 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
51185 COND_WXUSE_EXPAT_BUILTIN=""
51188 COND_WXUSE_LIBJPEG_BUILTIN="#"
51189 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51190 COND_WXUSE_LIBJPEG_BUILTIN=""
51193 COND_WXUSE_LIBPNG_BUILTIN="#"
51194 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51195 COND_WXUSE_LIBPNG_BUILTIN=""
51198 COND_WXUSE_LIBTIFF_BUILTIN="#"
51199 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51200 COND_WXUSE_LIBTIFF_BUILTIN=""
51203 COND_WXUSE_ODBC_BUILTIN="#"
51204 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
51205 COND_WXUSE_ODBC_BUILTIN=""
51208 COND_WXUSE_REGEX_BUILTIN="#"
51209 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
51210 COND_WXUSE_REGEX_BUILTIN=""
51213 COND_WXUSE_ZLIB_BUILTIN="#"
51214 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
51215 COND_WXUSE_ZLIB_BUILTIN=""
51220 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
51221 { { 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
51222 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;}
51223 { (exit 1); exit 1; }; }
51226 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
51227 { { 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
51228 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;}
51229 { (exit 1); exit 1; }; }
51233 if test $GCC_PCH = 1
51235 if test "$wx_cv_gcc_pch_bug" = yes; then
51236 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
51237 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
51238 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
51239 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
51240 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
51241 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
51244 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
51248 if test "$wxUSE_MAC" = 1 ; then
51249 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
51250 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
51256 if test "$wxUSE_SHARED" = "yes"; then
51258 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
51259 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
51262 *-pc-os2_emx | *-pc-os2-emx )
51263 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
51264 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
51265 cp -p ${srcdir}/src/os2/dllnames.sh .
51266 cp -p ${srcdir}/src/os2/dllar.sh .
51271 EXE_LINKER="$CXX -o"
51274 if test "$wxUSE_OMF" = "yes"; then
51276 *-pc-os2_emx | *-pc-os2-emx )
51277 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
51278 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
51279 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
51284 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
51286 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
51348 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
51349 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
51350 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
51351 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
51352 echo $ECHO_N "(cached) $ECHO_C" >&6
51354 cat >conftest.make <<\_ACEOF
51357 @echo '@@@%%%=$(MAKE)=@@@%%%'
51359 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
51360 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
51361 *@@@%%%=?*=@@@%%%*)
51362 eval ac_cv_prog_make_${ac_make}_set=yes;;
51364 eval ac_cv_prog_make_${ac_make}_set=no;;
51366 rm -f conftest.make
51368 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
51369 { echo "$as_me:$LINENO: result: yes" >&5
51370 echo "${ECHO_T}yes" >&6; }
51373 { echo "$as_me:$LINENO: result: no" >&5
51374 echo "${ECHO_T}no" >&6; }
51375 SET_MAKE="MAKE=${MAKE-make}"
51380 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
51383 if test "$USE_WIN32" = 1; then
51384 ac_config_commands="$ac_config_commands
51390 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
51393 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
51396 if test "$wx_cv_version_script" = "yes"; then
51397 ac_config_files="$ac_config_files version-script"
51400 ac_config_files="$ac_config_files Makefile"
51403 ac_config_commands="$ac_config_commands wx-config"
51407 if test "$wxWITH_SUBDIRS" != "no"; then
51408 if test "$wxUSE_GUI" = "yes"; then
51409 SUBDIRS="samples demos utils contrib"
51410 else SUBDIRS="samples utils"
51415 # Check whether --with-cppunit-prefix was given.
51416 if test "${with_cppunit_prefix+set}" = set; then
51417 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
51419 cppunit_config_prefix=""
51423 # Check whether --with-cppunit-exec-prefix was given.
51424 if test "${with_cppunit_exec_prefix+set}" = set; then
51425 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
51427 cppunit_config_exec_prefix=""
51431 if test x$cppunit_config_exec_prefix != x ; then
51432 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
51433 if test x${CPPUNIT_CONFIG+set} != xset ; then
51434 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
51437 if test x$cppunit_config_prefix != x ; then
51438 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
51439 if test x${CPPUNIT_CONFIG+set} != xset ; then
51440 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
51444 # Extract the first word of "cppunit-config", so it can be a program name with args.
51445 set dummy cppunit-config; ac_word=$2
51446 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51447 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51448 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
51449 echo $ECHO_N "(cached) $ECHO_C" >&6
51451 case $CPPUNIT_CONFIG in
51453 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
51456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51457 for as_dir in $PATH
51460 test -z "$as_dir" && as_dir=.
51461 for ac_exec_ext in '' $ac_executable_extensions; do
51462 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51463 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
51464 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51471 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
51475 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
51476 if test -n "$CPPUNIT_CONFIG"; then
51477 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
51478 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
51480 { echo "$as_me:$LINENO: result: no" >&5
51481 echo "${ECHO_T}no" >&6; }
51485 cppunit_version_min=1.8.0
51487 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
51488 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
51490 if test "$CPPUNIT_CONFIG" = "no" ; then
51491 { echo "$as_me:$LINENO: result: no" >&5
51492 echo "${ECHO_T}no" >&6; }
51495 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
51496 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
51497 cppunit_version=`$CPPUNIT_CONFIG --version`
51499 cppunit_major_version=`echo $cppunit_version | \
51500 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51501 cppunit_minor_version=`echo $cppunit_version | \
51502 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51503 cppunit_micro_version=`echo $cppunit_version | \
51504 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51506 cppunit_major_min=`echo $cppunit_version_min | \
51507 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51508 cppunit_minor_min=`echo $cppunit_version_min | \
51509 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51510 cppunit_micro_min=`echo $cppunit_version_min | \
51511 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51513 cppunit_version_proper=`expr \
51514 $cppunit_major_version \
> $cppunit_major_min \
| \
51515 $cppunit_major_version \
= $cppunit_major_min \
& \
51516 $cppunit_minor_version \
> $cppunit_minor_min \
| \
51517 $cppunit_major_version \
= $cppunit_major_min \
& \
51518 $cppunit_minor_version \
= $cppunit_minor_min \
& \
51519 $cppunit_micro_version \
>= $cppunit_micro_min `
51521 if test "$cppunit_version_proper" = "1" ; then
51522 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
51523 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
51525 { echo "$as_me:$LINENO: result: no" >&5
51526 echo "${ECHO_T}no" >&6; }
51531 if test "x$no_cppunit" = x ; then
51532 SUBDIRS="$SUBDIRS tests"
51543 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
51544 DISABLED_CONTRIB="$DISABLED_CONTRIB net"
51547 for subdir in `echo $SUBDIRS`; do
51548 if test -d ${srcdir}/${subdir} ; then
51549 if test "$wxUSE_GUI" = "yes"; then
51550 if test ${subdir} = "samples"; then
51551 makefiles="samples/Makefile.in $makefiles"
51552 for sample in `echo $SAMPLES_SUBDIRS`; do
51553 if test -d $srcdir/samples/$sample; then
51554 makefiles="samples/$sample/Makefile.in $makefiles"
51558 disabled_var=DISABLED_`echo $subdir | tr [a
-z] [A
-Z]`;
51559 eval "disabled=\$$disabled_var"
51560 disabled=/`echo X
$disabled | sed 's@ @/|/@g'`/
51561 makefiles=`(cd $srcdir ; find $subdir -name Makefile.
in) | $EGREP -v "$disabled"`
51563 else if test ${subdir} = "samples"; then
51564 makefiles="samples/Makefile.in samples/console/Makefile.in"
51565 elif test ${subdir} = "utils"; then
51567 for util in HelpGen tex2rtf ; do
51568 if test -d $srcdir/utils/$util ; then
51569 makefiles="utils/$util/Makefile.in \
51570 utils/$util/src/Makefile.in \
51574 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.
in)`
51578 for mkin in $makefiles ; do
51579 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
51580 ac_config_files="$ac_config_files $mk"
51586 cat >confcache <<\_ACEOF
51587 # This file is a shell script that caches the results of configure
51588 # tests run on this system so they can be shared between configure
51589 # scripts and configure runs, see configure's option --config-cache.
51590 # It is not useful on other systems. If it contains results you don't
51591 # want to keep, you may remove or edit it.
51593 # config.status only pays attention to the cache file if you give it
51594 # the --recheck option to rerun configure.
51596 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
51597 # loading this file, other *unset* `ac_cv_foo' will be assigned the
51598 # following values.
51602 # The following way of writing the cache mishandles newlines in values,
51603 # but we know of no workaround that is simple, portable, and efficient.
51604 # So, we kill variables containing newlines.
51605 # Ultrix sh set writes to stderr and can't be redirected directly,
51606 # and sets the high bit in the cache file unless we assign to the vars.
51608 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
51609 eval ac_val
=\$
$ac_var
51613 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
51614 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
51617 _
| IFS
| as_nl
) ;; #(
51618 *) $as_unset $ac_var ;;
51624 case $as_nl`(ac_space=' '; set) 2>&1` in #(
51625 *${as_nl}ac_space
=\
*)
51626 # `set' does not quote correctly, so add quotes (double-quote
51627 # substitution turns \\\\ into \\, and sed turns \\ into \).
51630 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
51633 # `set' quotes correctly as required by POSIX, so do not add quotes.
51634 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
51643 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
51645 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
51647 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
51648 if test -w "$cache_file"; then
51649 test "x$cache_file" != "x/dev/null" &&
51650 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
51651 echo "$as_me: updating cache $cache_file" >&6;}
51652 cat confcache
>$cache_file
51654 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
51655 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
51660 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
51661 # Let make expand exec_prefix.
51662 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
51664 DEFS
=-DHAVE_CONFIG_H
51668 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
51669 # 1. Remove the extension, and $U if already installed.
51670 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
51671 ac_i
=`echo "$ac_i" | sed "$ac_script"`
51672 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
51673 # will be set to the directory where LIBOBJS objects are built.
51674 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
51675 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
51677 LIBOBJS
=$ac_libobjs
51679 LTLIBOBJS
=$ac_ltlibobjs
51683 : ${CONFIG_STATUS=./config.status}
51684 ac_clean_files_save
=$ac_clean_files
51685 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
51686 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
51687 echo "$as_me: creating $CONFIG_STATUS" >&6;}
51688 cat >$CONFIG_STATUS <<_ACEOF
51690 # Generated by $as_me.
51691 # Run this file to recreate the current configuration.
51692 # Compiler output produced by configure, useful for debugging
51693 # configure, is in config.log if it exists.
51696 ac_cs_recheck=false
51698 SHELL=\${CONFIG_SHELL-$SHELL}
51701 cat >>$CONFIG_STATUS <<\_ACEOF
51702 ## --------------------- ##
51703 ## M4sh Initialization. ##
51704 ## --------------------- ##
51706 # Be more Bourne compatible
51707 DUALCASE
=1; export DUALCASE
# for MKS sh
51708 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
51711 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
51712 # is contrary to our usage. Disable this feature.
51713 alias -g '${1+"$@"}'='"$@"'
51714 setopt NO_GLOB_SUBST
51716 case `(set -o) 2>/dev/null` in
51717 *posix
*) set -o posix
;;
51726 # Avoid depending upon Character Ranges.
51727 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
51728 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
51729 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
51730 as_cr_digits
='0123456789'
51731 as_cr_alnum
=$as_cr_Letters$as_cr_digits
51733 # The user is always right.
51734 if test "${PATH_SEPARATOR+set}" != set; then
51735 echo "#! /bin/sh" >conf$$.sh
51736 echo "exit 0" >>conf$$.sh
51738 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
51746 # Support unset when possible.
51747 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
51755 # We need space, tab and new line, in precisely that order. Quoting is
51756 # there to prevent editors from complaining about space-tab.
51757 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
51758 # splitting by setting IFS to empty value.)
51763 # Find who we are. Look in the path if we contain no directory separator.
51765 *[\\/]* ) as_myself
=$0 ;;
51766 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
51767 for as_dir
in $PATH
51770 test -z "$as_dir" && as_dir
=.
51771 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
51777 # We did not find ourselves, most probably we were run as `sh COMMAND'
51778 # in which case we are not to be found in the path.
51779 if test "x$as_myself" = x
; then
51782 if test ! -f "$as_myself"; then
51783 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
51784 { (exit 1); exit 1; }
51787 # Work around bugs in pre-3.0 UWIN ksh.
51788 for as_var
in ENV MAIL MAILPATH
51789 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
51797 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
51798 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
51799 LC_TELEPHONE LC_TIME
51801 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
51802 eval $as_var=C
; export $as_var
51804 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
51808 # Required to use basename.
51809 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
51810 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
51816 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
51817 as_basename
=basename
51823 # Name of the executable.
51824 as_me
=`$as_basename -- "$0" ||
51825 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
51826 X"$0" : 'X\(//\)$' \| \
51827 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
51829 sed '/^.*\/\([^/][^/]*\)\/*$/{
51848 as_lineno_1
=$LINENO
51849 as_lineno_2
=$LINENO
51850 test "x$as_lineno_1" != "x$as_lineno_2" &&
51851 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
51853 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
51854 # uniformly replaced by the line number. The first 'sed' inserts a
51855 # line-number line after each line using $LINENO; the second 'sed'
51856 # does the real work. The second script uses 'N' to pair each
51857 # line-number line with the line containing $LINENO, and appends
51858 # trailing '-' during substitution so that $LINENO is not a special
51859 # case at line end.
51860 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
51861 # scripts with optimization help from Paolo Bonzini. Blame Lee
51862 # E. McMahon (1931-1989) for sed's syntax. :-)
51874 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
51877 ' >$as_me.lineno
&&
51878 chmod +x
"$as_me.lineno" ||
51879 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
51880 { (exit 1); exit 1; }; }
51882 # Don't try to exec as it changes $[0], causing all sort of problems
51883 # (the dirname of $[0] is not the place where we might find the
51884 # original and so on. Autoconf is especially sensitive to this).
51885 .
"./$as_me.lineno"
51886 # Exit status is that of the last command.
51891 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
51897 ECHO_C
= ECHO_N
= ECHO_T
=
51898 case `echo -n x` in
51900 case `echo 'x\c'` in
51901 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
51908 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
51909 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
51915 rm -f conf$$ conf$$.exe conf$$.
file
51916 if test -d conf$$.dir
; then
51917 rm -f conf$$.dir
/conf$$.
file
51923 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
51925 # ... but there are two gotchas:
51926 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
51927 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
51928 # In both cases, we have to default to `cp -p'.
51929 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
51931 elif ln conf$$.
file conf$$
2>/dev
/null
; then
51936 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
51937 rmdir conf$$.dir
2>/dev
/null
51939 if mkdir -p .
2>/dev
/null
; then
51942 test -d .
/-p && rmdir .
/-p
51946 if test -x / >/dev
/null
2>&1; then
51947 as_test_x
='test -x'
51949 if ls -dL / >/dev
/null
2>&1; then
51956 if test -d "$1"; then
51962 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
51963 ???[sx]*):;;*)false;;esac;fi
51967 as_executable_p
=$as_test_x
51969 # Sed expression to map a string onto a valid CPP name.
51970 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
51972 # Sed expression to map a string onto a valid variable name.
51973 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
51978 # Save the log message, to keep $[0] and so on meaningful, and to
51979 # report actual input values of CONFIG_FILES etc. instead of their
51980 # values after options handling.
51982 This file was extended by wxWidgets $as_me 2.9.0, which was
51983 generated by GNU Autoconf 2.61. Invocation command line was
51985 CONFIG_FILES = $CONFIG_FILES
51986 CONFIG_HEADERS = $CONFIG_HEADERS
51987 CONFIG_LINKS = $CONFIG_LINKS
51988 CONFIG_COMMANDS = $CONFIG_COMMANDS
51991 on `(hostname || uname -n) 2>/dev/null | sed 1q`
51996 cat >>$CONFIG_STATUS <<_ACEOF
51997 # Files that config.status was made for.
51998 config_files="$ac_config_files"
51999 config_headers="$ac_config_headers"
52000 config_commands="$ac_config_commands"
52004 cat >>$CONFIG_STATUS <<\_ACEOF
52006 \`$as_me' instantiates files from templates according to the
52007 current configuration.
52009 Usage: $0 [OPTIONS] [FILE]...
52011 -h, --help print this help, then exit
52012 -V, --version print version number and configuration settings, then exit
52013 -q, --quiet do not print progress messages
52014 -d, --debug don't remove temporary files
52015 --recheck update $as_me by reconfiguring in the same conditions
52016 --file=FILE[:TEMPLATE]
52017 instantiate the configuration file FILE
52018 --header=FILE[:TEMPLATE]
52019 instantiate the configuration header FILE
52021 Configuration files:
52024 Configuration headers:
52027 Configuration commands:
52030 Report bugs to <bug-autoconf@gnu.org>."
52033 cat >>$CONFIG_STATUS <<_ACEOF
52035 wxWidgets config.status 2.9.0
52036 configured by $0, generated by GNU Autoconf 2.61,
52037 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
52039 Copyright (C) 2006 Free Software Foundation, Inc.
52040 This config.status script is free software; the Free Software Foundation
52041 gives unlimited permission to copy, distribute and modify it."
52048 cat >>$CONFIG_STATUS <<\_ACEOF
52049 # If no file are specified by the user, then we need to provide default
52050 # value. By we need to know if files were specified by the user.
52056 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
52057 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
52068 # Handling of the options.
52069 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
52071 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
52072 echo "$ac_cs_version"; exit ;;
52073 --debug | --debu | --deb | --de | --d | -d )
52075 --file | --fil | --fi | --f )
52077 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
52078 ac_need_defaults
=false
;;
52079 --header | --heade | --head | --hea )
52081 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
52082 ac_need_defaults
=false
;;
52084 # Conflict between --help and --header
52085 { echo "$as_me: error: ambiguous option: $1
52086 Try \`$0 --help' for more information." >&2
52087 { (exit 1); exit 1; }; };;
52088 --help | --hel | -h )
52089 echo "$ac_cs_usage"; exit ;;
52090 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
52091 | -silent | --silent | --silen | --sile | --sil | --si | --s)
52094 # This is an error.
52095 -*) { echo "$as_me: error: unrecognized option: $1
52096 Try \`$0 --help' for more information." >&2
52097 { (exit 1); exit 1; }; } ;;
52099 *) ac_config_targets
="$ac_config_targets $1"
52100 ac_need_defaults
=false
;;
52106 ac_configure_extra_args
=
52108 if $ac_cs_silent; then
52110 ac_configure_extra_args
="$ac_configure_extra_args --silent"
52114 cat >>$CONFIG_STATUS <<_ACEOF
52115 if \$ac_cs_recheck; then
52116 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
52117 CONFIG_SHELL=$SHELL
52118 export CONFIG_SHELL
52119 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
52123 cat >>$CONFIG_STATUS <<\_ACEOF
52127 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
52128 ## Running $as_me. ##
52134 cat >>$CONFIG_STATUS <<_ACEOF
52140 infile="$srcdir/include/wx/msw/genrcdefs.h"
52141 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
52144 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
52145 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
52146 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
52152 cat >>$CONFIG_STATUS <<\_ACEOF
52154 # Handling of arguments.
52155 for ac_config_target
in $ac_config_targets
52157 case $ac_config_target in
52158 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
52159 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
52160 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
52161 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
52162 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
52163 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
52164 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
52165 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
52167 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
52168 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
52169 { (exit 1); exit 1; }; };;
52174 # If the user did not use the arguments to specify the items to instantiate,
52175 # then the envvar interface is used. Set only those that are not.
52176 # We use the long form for the default assignment because of an extremely
52177 # bizarre bug on SunOS 4.1.3.
52178 if $ac_need_defaults; then
52179 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
52180 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
52181 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
52184 # Have a temporary directory for convenience. Make it in the build tree
52185 # simply because there is no reason against having it here, and in addition,
52186 # creating and moving files from /tmp can sometimes cause problems.
52187 # Hook for its removal unless debugging.
52188 # Note that there is a small window in which the directory will not be cleaned:
52189 # after its creation but before its name has been assigned to `$tmp'.
52193 trap 'exit_status=$?
52194 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
52196 trap '{ (exit 1); exit 1; }' 1 2 13 15
52198 # Create a (secure) tmp directory for tmp files.
52201 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
52202 test -n "$tmp" && test -d "$tmp"
52205 tmp
=.
/conf$$
-$RANDOM
52206 (umask 077 && mkdir "$tmp")
52209 echo "$me: cannot create a temporary directory in ." >&2
52210 { (exit 1); exit 1; }
52214 # Set up the sed scripts for CONFIG_FILES section.
52217 # No need to generate the scripts if there are no CONFIG_FILES.
52218 # This happens for instance when ./config.status config.h
52219 if test -n "$CONFIG_FILES"; then
52226 for ac_last_try
in false false false false false
:; do
52227 cat >conf$
$subs.
sed <<_ACEOF
52228 SHELL!$SHELL$ac_delim
52229 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
52230 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
52231 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
52232 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
52233 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
52234 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
52235 exec_prefix!$exec_prefix$ac_delim
52236 prefix!$prefix$ac_delim
52237 program_transform_name!$program_transform_name$ac_delim
52238 bindir!$bindir$ac_delim
52239 sbindir!$sbindir$ac_delim
52240 libexecdir!$libexecdir$ac_delim
52241 datarootdir!$datarootdir$ac_delim
52242 datadir!$datadir$ac_delim
52243 sysconfdir!$sysconfdir$ac_delim
52244 sharedstatedir!$sharedstatedir$ac_delim
52245 localstatedir!$localstatedir$ac_delim
52246 includedir!$includedir$ac_delim
52247 oldincludedir!$oldincludedir$ac_delim
52248 docdir!$docdir$ac_delim
52249 infodir!$infodir$ac_delim
52250 htmldir!$htmldir$ac_delim
52251 dvidir!$dvidir$ac_delim
52252 pdfdir!$pdfdir$ac_delim
52253 psdir!$psdir$ac_delim
52254 libdir!$libdir$ac_delim
52255 localedir!$localedir$ac_delim
52256 mandir!$mandir$ac_delim
52257 DEFS!$DEFS$ac_delim
52258 ECHO_C!$ECHO_C$ac_delim
52259 ECHO_N!$ECHO_N$ac_delim
52260 ECHO_T!$ECHO_T$ac_delim
52261 LIBS!$LIBS$ac_delim
52262 build_alias!$build_alias$ac_delim
52263 host_alias!$host_alias$ac_delim
52264 target_alias!$target_alias$ac_delim
52265 build!$build$ac_delim
52266 build_cpu!$build_cpu$ac_delim
52267 build_vendor!$build_vendor$ac_delim
52268 build_os!$build_os$ac_delim
52269 host!$host$ac_delim
52270 host_cpu!$host_cpu$ac_delim
52271 host_vendor!$host_vendor$ac_delim
52272 host_os!$host_os$ac_delim
52273 target!$target$ac_delim
52274 target_cpu!$target_cpu$ac_delim
52275 target_vendor!$target_vendor$ac_delim
52276 target_os!$target_os$ac_delim
52277 wx_top_builddir!$wx_top_builddir$ac_delim
52279 CFLAGS!$CFLAGS$ac_delim
52280 LDFLAGS!$LDFLAGS$ac_delim
52281 CPPFLAGS!$CPPFLAGS$ac_delim
52282 ac_ct_CC!$ac_ct_CC$ac_delim
52283 EXEEXT!$EXEEXT$ac_delim
52284 OBJEXT!$OBJEXT$ac_delim
52286 GREP!$GREP$ac_delim
52287 EGREP!$EGREP$ac_delim
52289 CXXFLAGS!$CXXFLAGS$ac_delim
52290 ac_ct_CXX!$ac_ct_CXX$ac_delim
52291 RANLIB!$RANLIB$ac_delim
52293 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
52294 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
52295 INSTALL_DATA!$INSTALL_DATA$ac_delim
52296 STRIP!$STRIP$ac_delim
52297 WINDRES!$WINDRES$ac_delim
52298 DLLTOOL!$DLLTOOL$ac_delim
52299 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
52300 LN_S!$LN_S$ac_delim
52301 CXXCPP!$CXXCPP$ac_delim
52302 subdirs!$subdirs$ac_delim
52303 PKG_CONFIG!$PKG_CONFIG$ac_delim
52304 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
52305 GTK_LIBS!$GTK_LIBS$ac_delim
52306 GTK_CONFIG!$GTK_CONFIG$ac_delim
52307 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
52308 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
52309 XMKMF!$XMKMF$ac_delim
52310 X_CFLAGS!$X_CFLAGS$ac_delim
52311 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
52312 X_LIBS!$X_LIBS$ac_delim
52313 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
52314 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
52315 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
52316 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
52317 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
52318 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
52319 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
52321 DEREZ!$DEREZ$ac_delim
52322 SETFILE!$SETFILE$ac_delim
52323 LIBICONV!$LIBICONV$ac_delim
52324 EXTRALIBS_ESD!$EXTRALIBS_ESD$ac_delim
52327 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52329 elif $ac_last_try; then
52330 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52331 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52332 { (exit 1); exit 1; }; }
52334 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52338 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52339 if test -n "$ac_eof"; then
52340 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52341 ac_eof
=`expr $ac_eof + 1`
52344 cat >>$CONFIG_STATUS <<_ACEOF
52345 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
52346 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52349 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52350 s/^/s,@/; s/!/@,|#_!!_#|/
52353 s/'"$ac_delim"'$/,g/; t
52355 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52356 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52357 rm -f conf$
$subs.
sed
52358 cat >>$CONFIG_STATUS <<_ACEOF
52364 for ac_last_try
in false false false false false
:; do
52365 cat >conf$
$subs.
sed <<_ACEOF
52366 SDL_CONFIG!$SDL_CONFIG$ac_delim
52367 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
52368 SDL_LIBS!$SDL_LIBS$ac_delim
52369 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
52370 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
52371 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
52372 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
52373 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
52374 HILDON_LIBS!$HILDON_LIBS$ac_delim
52375 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
52376 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
52377 GST_CFLAGS!$GST_CFLAGS$ac_delim
52378 GST_LIBS!$GST_LIBS$ac_delim
52379 CORE_BASE_LIBS!$CORE_BASE_LIBS$ac_delim
52380 CORE_GUI_LIBS!$CORE_GUI_LIBS$ac_delim
52381 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
52382 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
52383 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
52384 wxUSE_ODBC!$wxUSE_ODBC$ac_delim
52385 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
52386 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
52387 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
52388 VENDOR!$VENDOR$ac_delim
52389 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
52390 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
52391 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
52392 WXUNIV!$WXUNIV$ac_delim
52393 MONOLITHIC!$MONOLITHIC$ac_delim
52394 USE_PLUGINS!$USE_PLUGINS$ac_delim
52395 EXTRALIBS!$EXTRALIBS$ac_delim
52396 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
52397 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
52398 EXTRALIBS_ODBC!$EXTRALIBS_ODBC$ac_delim
52399 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
52400 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
52401 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
52402 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
52403 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
52404 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
52405 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
52406 UNICODE!$UNICODE$ac_delim
52407 BUILD!$BUILD$ac_delim
52408 DEBUG_INFO!$DEBUG_INFO$ac_delim
52409 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
52410 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
52411 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
52412 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
52413 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
52414 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
52415 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
52416 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
52417 SET_MAKE!$SET_MAKE$ac_delim
52418 MAKE_SET!$MAKE_SET$ac_delim
52419 AROPTIONS!$AROPTIONS$ac_delim
52421 INSTALL_DIR!$INSTALL_DIR$ac_delim
52422 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
52423 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
52424 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
52425 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
52426 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
52427 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
52428 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
52429 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
52430 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
52431 SO_SUFFIX!$SO_SUFFIX$ac_delim
52432 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
52433 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
52434 LIBPREFIX!$LIBPREFIX$ac_delim
52435 LIBEXT!$LIBEXT$ac_delim
52436 DLLPREFIX!$DLLPREFIX$ac_delim
52437 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
52438 dlldir!$dlldir$ac_delim
52439 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
52440 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
52441 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
52442 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
52443 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
52444 PIC_FLAG!$PIC_FLAG$ac_delim
52445 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
52446 USE_SOVERSION!$USE_SOVERSION$ac_delim
52447 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
52448 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
52449 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
52450 USE_MACVERSION!$USE_MACVERSION$ac_delim
52451 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
52452 SONAME_FLAG!$SONAME_FLAG$ac_delim
52453 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
52454 BK_DEPS!$BK_DEPS$ac_delim
52455 GCC_PCH!$GCC_PCH$ac_delim
52456 ICC_PCH!$ICC_PCH$ac_delim
52457 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
52458 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
52459 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
52460 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
52461 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
52462 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
52465 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52467 elif $ac_last_try; then
52468 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52469 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52470 { (exit 1); exit 1; }; }
52472 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52476 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52477 if test -n "$ac_eof"; then
52478 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52479 ac_eof
=`expr $ac_eof + 1`
52482 cat >>$CONFIG_STATUS <<_ACEOF
52483 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
52484 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52487 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52488 s/^/s,@/; s/!/@,|#_!!_#|/
52491 s/'"$ac_delim"'$/,g/; t
52493 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52494 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52495 rm -f conf$
$subs.
sed
52496 cat >>$CONFIG_STATUS <<_ACEOF
52502 for ac_last_try
in false false false false false
:; do
52503 cat >conf$
$subs.
sed <<_ACEOF
52504 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
52505 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
52506 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
52507 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
52508 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
52509 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
52510 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
52511 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
52512 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
52513 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
52514 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
52515 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
52516 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
52517 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
52518 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
52519 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
52520 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52521 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1$ac_delim
52522 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
52523 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1$ac_delim
52524 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
52525 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
52526 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
52527 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
52528 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
52529 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
52530 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
52531 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1$ac_delim
52532 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
52533 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1$ac_delim
52534 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
52535 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
52536 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
52537 COND_MONOLITHIC_0_USE_ODBC_1!$COND_MONOLITHIC_0_USE_ODBC_1$ac_delim
52538 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
52539 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
52540 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
52541 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
52542 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
52543 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
52544 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
52545 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
52546 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
52547 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
52548 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
52549 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
52550 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
52551 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
52552 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
52553 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
52554 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
52555 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
52556 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
52557 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
52558 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
52559 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
52560 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
52561 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
52562 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
52563 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
52564 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
52565 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
52566 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
52567 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
52568 COND_SHARED_0!$COND_SHARED_0$ac_delim
52569 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
52570 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
52571 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
52572 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
52573 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
52574 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
52575 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
52576 COND_SHARED_0_USE_XRC_1!$COND_SHARED_0_USE_XRC_1$ac_delim
52577 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
52578 COND_SHARED_0_WXUSE_ODBC_BUILTIN!$COND_SHARED_0_WXUSE_ODBC_BUILTIN$ac_delim
52579 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
52580 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
52581 COND_SHARED_1!$COND_SHARED_1$ac_delim
52582 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
52583 COND_SHARED_1_USE_XRC_1!$COND_SHARED_1_USE_XRC_1$ac_delim
52584 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
52585 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
52586 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
52587 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
52588 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
52589 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
52590 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
52591 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
52592 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
52593 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
52594 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
52595 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
52596 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
52597 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
52598 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
52599 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
52600 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
52603 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52605 elif $ac_last_try; then
52606 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52607 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52608 { (exit 1); exit 1; }; }
52610 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52614 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52615 if test -n "$ac_eof"; then
52616 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52617 ac_eof
=`expr $ac_eof + 1`
52620 cat >>$CONFIG_STATUS <<_ACEOF
52621 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
52622 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52625 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52626 s/^/s,@/; s/!/@,|#_!!_#|/
52629 s/'"$ac_delim"'$/,g/; t
52631 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52632 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52633 rm -f conf$
$subs.
sed
52634 cat >>$CONFIG_STATUS <<_ACEOF
52640 for ac_last_try
in false false false false false
:; do
52641 cat >conf$
$subs.
sed <<_ACEOF
52642 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
52643 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
52644 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
52645 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
52646 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
52647 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
52648 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
52649 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
52650 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
52651 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
52652 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
52653 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
52654 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
52655 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
52656 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
52657 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
52658 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
52659 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
52660 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
52661 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
52662 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
52663 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
52664 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
52665 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
52666 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
52667 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
52668 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
52669 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
52670 COND_USE_ODBC_1!$COND_USE_ODBC_1$ac_delim
52671 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
52672 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
52673 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
52674 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
52675 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
52676 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
52677 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
52678 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
52679 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
52680 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
52681 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
52682 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
52683 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
52684 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
52685 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
52686 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
52687 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
52688 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
52689 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
52690 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
52691 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
52692 COND_WXUSE_ODBC_BUILTIN!$COND_WXUSE_ODBC_BUILTIN$ac_delim
52693 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
52694 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
52695 SHARED!$SHARED$ac_delim
52696 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
52697 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
52698 USE_GUI!$USE_GUI$ac_delim
52699 AFMINSTALL!$AFMINSTALL$ac_delim
52700 WIN32INSTALL!$WIN32INSTALL$ac_delim
52701 TOOLKIT!$TOOLKIT$ac_delim
52702 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
52703 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
52704 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
52705 cross_compiling!$cross_compiling$ac_delim
52706 WIDGET_SET!$WIDGET_SET$ac_delim
52707 WX_RELEASE!$WX_RELEASE$ac_delim
52708 WX_VERSION!$WX_VERSION$ac_delim
52709 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
52710 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
52711 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
52712 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
52713 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
52714 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
52715 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
52716 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
52717 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
52718 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
52719 EXE_LINKER!$EXE_LINKER$ac_delim
52720 GUIDIST!$GUIDIST$ac_delim
52721 DISTDIR!$DISTDIR$ac_delim
52722 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
52723 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
52724 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
52725 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
52726 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
52727 RESCOMP!$RESCOMP$ac_delim
52728 RESFLAGS!$RESFLAGS$ac_delim
52729 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
52730 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
52731 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
52732 LIBWXMACRES!$LIBWXMACRES$ac_delim
52733 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
52734 MACSETFILE!$MACSETFILE$ac_delim
52736 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
52737 LIBOBJS!$LIBOBJS$ac_delim
52738 LTLIBOBJS!$LTLIBOBJS$ac_delim
52741 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52743 elif $ac_last_try; then
52744 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52745 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52746 { (exit 1); exit 1; }; }
52748 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52752 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52753 if test -n "$ac_eof"; then
52754 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52755 ac_eof
=`expr $ac_eof + 1`
52758 cat >>$CONFIG_STATUS <<_ACEOF
52759 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
52760 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52763 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52764 s/^/s,@/; s/!/@,|#_!!_#|/
52767 s/'"$ac_delim"'$/,g/; t
52769 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52770 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52771 rm -f conf$
$subs.
sed
52772 cat >>$CONFIG_STATUS <<_ACEOF
52777 # VPATH may cause trouble with some makes, so we remove $(srcdir),
52778 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
52779 # trailing colons and then remove the whole line if VPATH becomes empty
52780 # (actually we leave an empty line to preserve line numbers).
52781 if test "x$srcdir" = x.
; then
52782 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
52783 s/:*\$(srcdir):*/:/
52784 s/:*\${srcdir}:*/:/
52786 s/^\([^=]*=[ ]*\):*/\1/
52792 cat >>$CONFIG_STATUS <<\_ACEOF
52793 fi # test -n "$CONFIG_FILES"
52796 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
52799 :[FHLC
]) ac_mode
=$ac_tag; continue;;
52801 case $ac_mode$ac_tag in
52803 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
52804 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
52805 { (exit 1); exit 1; }; };;
52806 :[FH
]-) ac_tag
=-:-;;
52807 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
52824 -) ac_f
="$tmp/stdin";;
52825 *) # Look for the file first in the build tree, then in the source tree
52826 # (if the path is not absolute). The absolute path cannot be DOS-style,
52827 # because $ac_f cannot contain `:'.
52831 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
52833 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
52834 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
52835 { (exit 1); exit 1; }; };;
52837 ac_file_inputs
="$ac_file_inputs $ac_f"
52840 # Let's still pretend it is `configure' which instantiates (i.e., don't
52841 # use $as_me), people would be surprised to read:
52842 # /* config.h. Generated by config.status. */
52843 configure_input
="Generated from "`IFS=:
52844 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
52845 if test x
"$ac_file" != x
-; then
52846 configure_input
="$ac_file. $configure_input"
52847 { echo "$as_me:$LINENO: creating $ac_file" >&5
52848 echo "$as_me: creating $ac_file" >&6;}
52852 *:-:* | *:-) cat >"$tmp/stdin";;
52857 ac_dir
=`$as_dirname -- "$ac_file" ||
52858 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52859 X"$ac_file" : 'X\(//\)[^/]' \| \
52860 X"$ac_file" : 'X\(//\)$' \| \
52861 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
52863 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52867 /^X\(\/\/\)[^/].*/{
52882 -*) as_dir
=.
/$as_dir;;
52884 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52888 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52889 *) as_qdir
=$as_dir;;
52891 as_dirs
="'$as_qdir' $as_dirs"
52892 as_dir
=`$as_dirname -- "$as_dir" ||
52893 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52894 X"$as_dir" : 'X\(//\)[^/]' \| \
52895 X"$as_dir" : 'X\(//\)$' \| \
52896 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52898 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52902 /^X\(\/\/\)[^/].*/{
52915 test -d "$as_dir" && break
52917 test -z "$as_dirs" || eval "mkdir $as_dirs"
52918 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52919 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52920 { (exit 1); exit 1; }; }; }
52924 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
52926 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52927 # A ".." for each directory in $ac_dir_suffix.
52928 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52929 case $ac_top_builddir_sub in
52930 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
52931 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
52934 ac_abs_top_builddir
=$ac_pwd
52935 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
52936 # for backward compatibility:
52937 ac_top_builddir
=$ac_top_build_prefix
52940 .
) # We are building in place.
52942 ac_top_srcdir
=$ac_top_builddir_sub
52943 ac_abs_top_srcdir
=$ac_pwd ;;
52944 [\\/]* | ?
:[\\/]* ) # Absolute name.
52945 ac_srcdir
=$srcdir$ac_dir_suffix;
52946 ac_top_srcdir
=$srcdir
52947 ac_abs_top_srcdir
=$srcdir ;;
52948 *) # Relative name.
52949 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
52950 ac_top_srcdir
=$ac_top_build_prefix$srcdir
52951 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
52953 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
52963 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
52964 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
52968 cat >>$CONFIG_STATUS <<\_ACEOF
52969 # If the template does not know about datarootdir, expand it.
52970 # FIXME: This hack should be removed a few years after 2.60.
52971 ac_datarootdir_hack
=; ac_datarootdir_seen
=
52973 case `sed -n '/datarootdir/ {
52982 ' $ac_file_inputs` in
52983 *datarootdir
*) ac_datarootdir_seen
=yes;;
52984 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
52985 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
52986 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
52988 cat >>$CONFIG_STATUS <<_ACEOF
52989 ac_datarootdir_hack='
52990 s&@datadir@&$datadir&g
52991 s&@docdir@&$docdir&g
52992 s&@infodir@&$infodir&g
52993 s&@localedir@&$localedir&g
52994 s&@mandir@&$mandir&g
52995 s&\\\${datarootdir}&$datarootdir&g' ;;
52999 # Neutralize VPATH when `$srcdir' = `.'.
53000 # Shell code in configure.ac might set extrasub.
53001 # FIXME: do we really want to maintain this feature?
53002 cat >>$CONFIG_STATUS <<_ACEOF
53006 cat >>$CONFIG_STATUS <<\_ACEOF
53008 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
53009 s
&@configure_input@
&$configure_input&;t t
53010 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
53011 s
&@srcdir@
&$ac_srcdir&;t t
53012 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
53013 s
&@top_srcdir@
&$ac_top_srcdir&;t t
53014 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
53015 s
&@builddir@
&$ac_builddir&;t t
53016 s
&@abs_builddir@
&$ac_abs_builddir&;t t
53017 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
53018 s
&@INSTALL@
&$ac_INSTALL&;t t
53019 $ac_datarootdir_hack
53020 " $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
53022 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
53023 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
53024 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
53025 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
53026 which seems to be undefined. Please make sure it is defined." >&5
53027 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
53028 which seems to be undefined. Please make sure it is defined." >&2;}
53032 -) cat "$tmp/out"; rm -f "$tmp/out";;
53033 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
53042 # Transform confdefs.h into a sed script `conftest.defines', that
53043 # substitutes the proper values into config.h.in to produce config.h.
53044 rm -f conftest.defines conftest.
tail
53045 # First, append a space to every undef/define line, to ease matching.
53046 echo 's/$/ /' >conftest.defines
53047 # Then, protect against being on the right side of a sed subst, or in
53048 # an unquoted here document, in config.status. If some macros were
53049 # called several times there might be several #defines for the same
53050 # symbol, which is useless. But do not sort them, since the last
53051 # AC_DEFINE must be honored.
53052 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
53053 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
53054 # NAME is the cpp macro being defined, VALUE is the value it is being given.
53055 # PARAMS is the parameter list in the macro definition--in most cases, it's
53056 # just an empty string.
53057 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
53058 ac_dB
='\\)[ (].*,\\1define\\2'
53066 s/^[ ]*#[ ]*define[ ][ ]*//
53071 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
53072 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
53073 ' >>conftest.defines
53075 # Remove the space that was appended to ease matching.
53076 # Then replace #undef with comments. This is necessary, for
53077 # example, in the case of _POSIX_SOURCE, which is predefined and required
53078 # on some systems where configure will not decide to define it.
53079 # (The regexp can be short, since the line contains either #define or #undef.)
53081 s,^[ #]*u.*,/* & */,' >>conftest.defines
53083 # Break up conftest.defines:
53084 ac_max_sed_lines
=50
53086 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
53087 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
53088 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
53090 ac_in
='$ac_file_inputs'
53091 ac_out
='"$tmp/out1"'
53092 ac_nxt
='"$tmp/out2"'
53096 # Write a here document:
53097 cat >>$CONFIG_STATUS <<_ACEOF
53098 # First, check the format of the line:
53099 cat >"\$tmp/defines.sed" <<\\CEOF
53100 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
53101 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
53105 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
53107 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
53108 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
53109 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
53110 grep . conftest.
tail >/dev
/null
|| break
53111 rm -f conftest.defines
53112 mv conftest.
tail conftest.defines
53114 rm -f conftest.defines conftest.
tail
53116 echo "ac_result=$ac_in" >>$CONFIG_STATUS
53117 cat >>$CONFIG_STATUS <<\_ACEOF
53118 if test x
"$ac_file" != x
-; then
53119 echo "/* $configure_input */" >"$tmp/config.h"
53120 cat "$ac_result" >>"$tmp/config.h"
53121 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
53122 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
53123 echo "$as_me: $ac_file is unchanged" >&6;}
53126 mv "$tmp/config.h" $ac_file
53129 echo "/* $configure_input */"
53135 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
53136 echo "$as_me: executing $ac_file commands" >&6;}
53141 case $ac_file$ac_mode in
53143 mkdir -p $outdir &&
53144 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
53146 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
53147 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
53148 "wx-config":C
) rm -f wx
-config
53149 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
53156 { (exit 0); exit 0; }
53158 chmod +x
$CONFIG_STATUS
53159 ac_clean_files
=$ac_clean_files_save
53162 # configure is writing to config.log, and then calls config.status.
53163 # config.status does its own redirection, appending to config.log.
53164 # Unfortunately, on DOS this fails, as config.log is still kept open
53165 # by configure, so config.status won't be able to write to it; its
53166 # output is simply discarded. So we exec the FD to /dev/null,
53167 # effectively closing config.log, so it can be properly (re)opened and
53168 # appended to by config.status. When coming back to configure, we
53169 # need to make the FD available again.
53170 if test "$no_create" != yes; then
53172 ac_config_status_args
=
53173 test "$silent" = yes &&
53174 ac_config_status_args
="$ac_config_status_args --quiet"
53176 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
53178 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
53179 # would make configure fail if this is the last instruction.
53180 $ac_cs_success || { (exit 1); exit 1; }
53184 # CONFIG_SUBDIRS section.
53186 if test "$no_recursion" != yes; then
53188 # Remove --cache-file and --srcdir arguments so they do not pile up.
53189 ac_sub_configure_args
=
53191 eval "set x $ac_configure_args"
53195 if test -n "$ac_prev"; then
53200 -cache-file | --cache-file | --cache-fil | --cache-fi \
53201 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
53202 ac_prev
=cache_file
;;
53203 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
53204 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
53207 --config-cache | -C)
53209 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
53211 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
53213 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
53215 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
53219 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
53221 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
53225 # Always prepend --prefix to ensure using the same prefix
53226 # in subdir configurations.
53227 ac_arg
="--prefix=$prefix"
53229 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
53231 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
53234 if test "$silent" = yes; then
53235 ac_sub_configure_args
="--silent $ac_sub_configure_args"
53239 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
53241 # Do not complain, so a configure script can configure whichever
53242 # parts of a large source tree are present.
53243 test -d "$srcdir/$ac_dir" || continue
53245 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
53246 echo "$as_me:$LINENO: $ac_msg" >&5
53250 -*) as_dir
=.
/$as_dir;;
53252 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
53256 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
53257 *) as_qdir
=$as_dir;;
53259 as_dirs
="'$as_qdir' $as_dirs"
53260 as_dir
=`$as_dirname -- "$as_dir" ||
53261 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53262 X"$as_dir" : 'X\(//\)[^/]' \| \
53263 X"$as_dir" : 'X\(//\)$' \| \
53264 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
53266 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53270 /^X\(\/\/\)[^/].*/{
53283 test -d "$as_dir" && break
53285 test -z "$as_dirs" || eval "mkdir $as_dirs"
53286 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
53287 echo "$as_me: error: cannot create directory $as_dir" >&2;}
53288 { (exit 1); exit 1; }; }; }
53292 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
53294 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
53295 # A ".." for each directory in $ac_dir_suffix.
53296 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
53297 case $ac_top_builddir_sub in
53298 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
53299 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
53302 ac_abs_top_builddir
=$ac_pwd
53303 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
53304 # for backward compatibility:
53305 ac_top_builddir
=$ac_top_build_prefix
53308 .
) # We are building in place.
53310 ac_top_srcdir
=$ac_top_builddir_sub
53311 ac_abs_top_srcdir
=$ac_pwd ;;
53312 [\\/]* | ?
:[\\/]* ) # Absolute name.
53313 ac_srcdir
=$srcdir$ac_dir_suffix;
53314 ac_top_srcdir
=$srcdir
53315 ac_abs_top_srcdir
=$srcdir ;;
53316 *) # Relative name.
53317 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
53318 ac_top_srcdir
=$ac_top_build_prefix$srcdir
53319 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
53321 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
53326 # Check for guested configure; otherwise get Cygnus style configure.
53327 if test -f "$ac_srcdir/configure.gnu"; then
53328 ac_sub_configure
=$ac_srcdir/configure.gnu
53329 elif test -f "$ac_srcdir/configure"; then
53330 ac_sub_configure
=$ac_srcdir/configure
53331 elif test -f "$ac_srcdir/configure.in"; then
53332 # This should be Cygnus configure.
53333 ac_sub_configure
=$ac_aux_dir/configure
53335 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
53336 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
53340 # The recursion is here.
53341 if test -n "$ac_sub_configure"; then
53342 # Make the cache file name correct relative to the subdirectory.
53343 case $cache_file in
53344 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
53345 *) # Relative name.
53346 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
53349 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
53350 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
53351 # The eval makes quoting arguments work.
53352 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
53353 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
53354 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
53355 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
53356 { (exit 1); exit 1; }; }
53365 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
53367 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
53368 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
53370 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
53371 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
53372 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
53374 echo " What level of wxWidgets compatibility should be enabled?"
53375 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
53376 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
53378 echo " Which libraries should wxWidgets use?"
53379 echo " jpeg ${wxUSE_LIBJPEG-none}"
53380 echo " png ${wxUSE_LIBPNG-none}"
53381 echo " regex ${wxUSE_REGEX}"
53382 echo " tiff ${wxUSE_LIBTIFF-none}"
53383 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
53384 echo " xpm ${wxUSE_LIBXPM-none}"
53386 echo " zlib ${wxUSE_ZLIB}"
53387 echo " odbc ${wxUSE_ODBC}"
53388 echo " expat ${wxUSE_EXPAT}"
53389 echo " libmspack ${wxUSE_LIBMSPACK}"
53390 echo " sdl ${wxUSE_LIBSDL}"