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; }
13770 ac_cpp='$CPP $CPPFLAGS'
13771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13775 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes
"; then
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; }
14281 ac_cpp='$CPP $CPPFLAGS'
14282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14283 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14286 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
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; }
14361 ac_cpp='$CPP $CPPFLAGS'
14362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14363 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14366 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
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; }
14441 ac_cpp='$CPP $CPPFLAGS'
14442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14443 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14446 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
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; }
14521 ac_cpp='$CPP $CPPFLAGS'
14522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14523 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14526 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
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; }
15416 ac_cpp
='$CPP $CPPFLAGS'
15417 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15418 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15419 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15421 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
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; }
15927 ac_cpp='$CPP $CPPFLAGS'
15928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15932 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
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; }
16007 ac_cpp
='$CPP $CPPFLAGS'
16008 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16009 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16010 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16012 if test "x$bakefile_cv_c_compiler___HP_aCC" = "xyes"; then
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; }
16087 ac_cpp='$CPP $CPPFLAGS'
16088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16092 if test "x$bakefile_cv_c_compiler___DECCXX" = "xyes"; then
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; }
16167 ac_cpp
='$CPP $CPPFLAGS'
16168 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16169 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16170 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16172 if test "x$bakefile_cv_c_compiler___SUNPRO_CC" = "xyes"; then
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
29967 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
29968 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
29969 cat >conftest.
$ac_ext <<_ACEOF
29972 cat confdefs.h
>>conftest.
$ac_ext
29973 cat >>conftest.
$ac_ext <<_ACEOF
29974 /* end confdefs.h. */
29976 #include <gtk/gtk.h>
29982 #if !GTK_CHECK_VERSION(2,10,0)
29990 rm -f conftest.
$ac_objext
29991 if { (ac_try
="$ac_compile"
29992 case "(($ac_try" in
29993 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29994 *) ac_try_echo=$ac_try;;
29996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29997 (eval "$ac_compile") 2>conftest.er1
29999 grep -v '^ *+' conftest.er1 >conftest.err
30001 cat conftest.err >&5
30002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30003 (exit $ac_status); } && {
30004 test -z "$ac_c_werror_flag" ||
30005 test ! -s conftest.err
30006 } && test -s conftest.$ac_objext; then
30008 cat >>confdefs.h <<\_ACEOF
30009 #define __WXGTK210__ 1
30012 cat >>confdefs.h <<\_ACEOF
30013 #define __WXGTK26__ 1
30016 cat >>confdefs.h <<\_ACEOF
30017 #define __WXGTK24__ 1
30020 { echo "$as_me:$LINENO: result: yes" >&5
30021 echo "${ECHO_T}yes" >&6; }
30025 echo "$as_me: failed program was:" >&5
30026 sed 's/^/| /' conftest.$ac_ext >&5
30029 { echo "$as_me:$LINENO: result: no" >&5
30030 echo "${ECHO_T}no" >&6; }
30035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30037 if test "$ac_wxgtk210" = 0; then
30038 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
30039 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
30040 cat >conftest.$ac_ext <<_ACEOF
30043 cat confdefs.h >>conftest.$ac_ext
30044 cat >>conftest.$ac_ext <<_ACEOF
30045 /* end confdefs.h. */
30047 #include <gtk/gtk.h>
30053 #if !GTK_CHECK_VERSION(2,6,0)
30061 rm -f conftest.$ac_objext
30062 if { (ac_try="$ac_compile"
30063 case "(($ac_try" in
30064 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30065 *) ac_try_echo
=$ac_try;;
30067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30068 (eval "$ac_compile") 2>conftest.er1
30070 grep -v '^ *+' conftest.er1
>conftest.err
30072 cat conftest.err
>&5
30073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30074 (exit $ac_status); } && {
30075 test -z "$ac_c_werror_flag" ||
30076 test ! -s conftest.err
30077 } && test -s conftest.
$ac_objext; then
30079 cat >>confdefs.h
<<\_ACEOF
30080 #define __WXGTK26__ 1
30083 cat >>confdefs.h
<<\_ACEOF
30084 #define __WXGTK24__ 1
30087 { echo "$as_me:$LINENO: result: yes" >&5
30088 echo "${ECHO_T}yes" >&6; }
30092 echo "$as_me: failed program was:" >&5
30093 sed 's/^/| /' conftest.
$ac_ext >&5
30096 { echo "$as_me:$LINENO: result: no" >&5
30097 echo "${ECHO_T}no" >&6; }
30102 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30105 if test "$ac_wxgtk26" = 0; then
30106 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
30107 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
30108 cat >conftest.
$ac_ext <<_ACEOF
30111 cat confdefs.h
>>conftest.
$ac_ext
30112 cat >>conftest.
$ac_ext <<_ACEOF
30113 /* end confdefs.h. */
30115 #include <gtk/gtk.h>
30121 #if !GTK_CHECK_VERSION(2,4,0)
30129 rm -f conftest.
$ac_objext
30130 if { (ac_try
="$ac_compile"
30131 case "(($ac_try" in
30132 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30133 *) ac_try_echo=$ac_try;;
30135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30136 (eval "$ac_compile") 2>conftest.er1
30138 grep -v '^ *+' conftest.er1 >conftest.err
30140 cat conftest.err >&5
30141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30142 (exit $ac_status); } && {
30143 test -z "$ac_c_werror_flag" ||
30144 test ! -s conftest.err
30145 } && test -s conftest.$ac_objext; then
30147 cat >>confdefs.h <<\_ACEOF
30148 #define __WXGTK24__ 1
30151 { echo "$as_me:$LINENO: result: yes" >&5
30152 echo "${ECHO_T}yes" >&6; }
30155 echo "$as_me: failed program was:" >&5
30156 sed 's/^/| /' conftest.$ac_ext >&5
30159 { echo "$as_me:$LINENO: result: no" >&5
30160 echo "${ECHO_T}no" >&6; }
30164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30167 CFLAGS="$save_CFLAGS"
30170 if test "$wxUSE_UNICODE" = "yes"; then
30171 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
30172 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
30176 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
30177 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
30178 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
30179 echo $ECHO_N "(cached) $ECHO_C" >&6
30181 ac_check_lib_save_LIBS=$LIBS
30183 cat >conftest.$ac_ext <<_ACEOF
30186 cat confdefs.h >>conftest.$ac_ext
30187 cat >>conftest.$ac_ext <<_ACEOF
30188 /* end confdefs.h. */
30190 /* Override any GCC internal prototype to avoid an error.
30191 Use char because int might match the return type of a GCC
30192 builtin and then its argument prototype would still apply. */
30196 char gdk_im_open ();
30200 return gdk_im_open ();
30205 rm -f conftest.$ac_objext conftest$ac_exeext
30206 if { (ac_try="$ac_link"
30207 case "(($ac_try" in
30208 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30209 *) ac_try_echo
=$ac_try;;
30211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30212 (eval "$ac_link") 2>conftest.er1
30214 grep -v '^ *+' conftest.er1
>conftest.err
30216 cat conftest.err
>&5
30217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30218 (exit $ac_status); } && {
30219 test -z "$ac_c_werror_flag" ||
30220 test ! -s conftest.err
30221 } && test -s conftest
$ac_exeext &&
30222 $as_test_x conftest
$ac_exeext; then
30223 ac_cv_lib_gdk_gdk_im_open
=yes
30225 echo "$as_me: failed program was:" >&5
30226 sed 's/^/| /' conftest.
$ac_ext >&5
30228 ac_cv_lib_gdk_gdk_im_open
=no
30231 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30232 conftest
$ac_exeext conftest.
$ac_ext
30233 LIBS
=$ac_check_lib_save_LIBS
30235 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
30236 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
30237 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
30238 cat >>confdefs.h
<<\_ACEOF
30245 if test "$USE_DARWIN" != 1; then
30247 for ac_func
in poll
30249 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30250 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30251 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30252 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30253 echo $ECHO_N "(cached) $ECHO_C" >&6
30255 cat >conftest.
$ac_ext <<_ACEOF
30258 cat confdefs.h
>>conftest.
$ac_ext
30259 cat >>conftest.
$ac_ext <<_ACEOF
30260 /* end confdefs.h. */
30261 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30262 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30263 #define $ac_func innocuous_$ac_func
30265 /* System header to define __stub macros and hopefully few prototypes,
30266 which can conflict with char $ac_func (); below.
30267 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30268 <limits.h> exists even on freestanding compilers. */
30271 # include <limits.h>
30273 # include <assert.h>
30278 /* Override any GCC internal prototype to avoid an error.
30279 Use char because int might match the return type of a GCC
30280 builtin and then its argument prototype would still apply. */
30285 /* The GNU C library defines this for functions which it implements
30286 to always fail with ENOSYS. Some functions are actually named
30287 something starting with __ and the normal name is an alias. */
30288 #if defined __stub_$ac_func || defined __stub___$ac_func
30295 return $ac_func ();
30300 rm -f conftest.
$ac_objext conftest
$ac_exeext
30301 if { (ac_try
="$ac_link"
30302 case "(($ac_try" in
30303 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30304 *) ac_try_echo=$ac_try;;
30306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30307 (eval "$ac_link") 2>conftest.er1
30309 grep -v '^ *+' conftest.er1 >conftest.err
30311 cat conftest.err >&5
30312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30313 (exit $ac_status); } && {
30314 test -z "$ac_c_werror_flag" ||
30315 test ! -s conftest.err
30316 } && test -s conftest$ac_exeext &&
30317 $as_test_x conftest$ac_exeext; then
30318 eval "$as_ac_var=yes"
30320 echo "$as_me: failed program was:" >&5
30321 sed 's/^/| /' conftest.$ac_ext >&5
30323 eval "$as_ac_var=no"
30326 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30327 conftest$ac_exeext conftest.$ac_ext
30329 ac_res=`eval echo '${'$as_ac_var'}'`
30330 { echo "$as_me:$LINENO: result: $ac_res" >&5
30331 echo "${ECHO_T}$ac_res" >&6; }
30332 if test `eval echo '${'$as_ac_var'}'` = yes; then
30333 cat >>confdefs.h <<_ACEOF
30334 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30343 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
30344 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
30346 AFMINSTALL=afminstall
30350 if test "$wxUSE_GPE" = "yes"; then
30351 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
30352 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
30355 for ac_dir in $SEARCH_LIB;
30357 for ac_extension in a so sl dylib dll.a; do
30358 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
30359 ac_find_libraries=$ac_dir
30365 if test "$ac_find_libraries" != "" ; then
30367 if test "$ac_find_libraries" = "default location"; then
30370 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
30372 if test $result = 0; then
30375 ac_path_to_link=" -L$ac_find_libraries"
30379 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
30381 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30382 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
30384 { echo "$as_me:$LINENO: result: not found" >&5
30385 echo "${ECHO_T}not found" >&6; }
30391 if test "$wxUSE_MGL" = 1; then
30392 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
30393 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
30394 if test "x$MGL_ROOT" = x ; then
30395 { echo "$as_me:$LINENO: result: not found" >&5
30396 echo "${ECHO_T}not found" >&6; }
30397 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
30398 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
30399 { (exit 1); exit 1; }; }
30401 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
30402 echo "${ECHO_T}$MGL_ROOT" >&6; }
30405 { echo "$as_me:$LINENO: checking for libmgl location" >&5
30406 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
30409 if test "x$wxUSE_SHARED" = xyes ; then
30410 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
30412 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
30416 mgl_os_candidates="dos32/dj2"
30419 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
30420 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
30421 { (exit 1); exit 1; }; }
30427 for mgl_os_i in $mgl_os_candidates ; do
30428 if test "x$mgl_os" = x ; then
30429 if test "$wxUSE_DEBUG_FLAG" = yes ; then
30430 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
30431 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
30436 if test "x$mgl_lib_type" = x ; then
30437 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
30438 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
30439 mgl_lib_type=release
30446 if test "x$mgl_os" = x ; then
30447 { echo "$as_me:$LINENO: result: not found" >&5
30448 echo "${ECHO_T}not found" >&6; }
30449 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
30450 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
30451 { (exit 1); exit 1; }; }
30453 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
30454 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
30456 wxUSE_UNIVERSAL="yes"
30458 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
30459 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
30461 AFMINSTALL=afminstall
30466 if test "$wxUSE_DFB" = 1; then
30469 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30470 if test -n "$ac_tool_prefix"; then
30471 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30472 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30473 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30474 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30475 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30476 echo $ECHO_N "(cached) $ECHO_C" >&6
30478 case $PKG_CONFIG in
30480 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30484 for as_dir in $PATH
30487 test -z "$as_dir" && as_dir=.
30488 for ac_exec_ext in '' $ac_executable_extensions; do
30489 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30490 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30491 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30501 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30502 if test -n "$PKG_CONFIG"; then
30503 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30504 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30506 { echo "$as_me:$LINENO: result: no" >&5
30507 echo "${ECHO_T}no" >&6; }
30512 if test -z "$ac_cv_path_PKG_CONFIG"; then
30513 ac_pt_PKG_CONFIG=$PKG_CONFIG
30514 # Extract the first word of "pkg-config", so it can be a program name with args.
30515 set dummy pkg-config; ac_word=$2
30516 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30517 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30518 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30519 echo $ECHO_N "(cached) $ECHO_C" >&6
30521 case $ac_pt_PKG_CONFIG in
30523 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30527 for as_dir in $PATH
30530 test -z "$as_dir" && as_dir=.
30531 for ac_exec_ext in '' $ac_executable_extensions; do
30532 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30533 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30534 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30544 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
30545 if test -n "$ac_pt_PKG_CONFIG"; then
30546 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30547 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
30549 { echo "$as_me:$LINENO: result: no" >&5
30550 echo "${ECHO_T}no" >&6; }
30553 if test "x$ac_pt_PKG_CONFIG" = x; then
30556 case $cross_compiling:$ac_tool_warned in
30558 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30559 whose name does not start with the host triplet. If you think this
30560 configuration is useful to you, please write to autoconf@gnu.org." >&5
30561 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30562 whose name does not start with the host triplet. If you think this
30563 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30564 ac_tool_warned=yes ;;
30566 PKG_CONFIG=$ac_pt_PKG_CONFIG
30569 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
30573 if test -n "$PKG_CONFIG"; then
30574 _pkg_min_version=0.9.0
30575 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30576 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
30577 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30578 { echo "$as_me:$LINENO: result: yes" >&5
30579 echo "${ECHO_T}yes" >&6; }
30581 { echo "$as_me:$LINENO: result: no" >&5
30582 echo "${ECHO_T}no" >&6; }
30590 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
30591 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
30593 if test -n "$PKG_CONFIG"; then
30594 if test -n "$DIRECTFB_CFLAGS"; then
30595 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
30597 if test -n "$PKG_CONFIG" && \
30598 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
30599 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
30601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30602 (exit $ac_status); }; then
30603 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev
/null
`
30611 if test -n "$PKG_CONFIG"; then
30612 if test -n "$DIRECTFB_LIBS"; then
30613 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
30615 if test -n "$PKG_CONFIG" && \
30616 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
30617 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
30619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30620 (exit $ac_status); }; then
30621 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev
/null
`
30632 if test $pkg_failed = yes; then
30634 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30635 _pkg_short_errors_supported=yes
30637 _pkg_short_errors_supported=no
30639 if test $_pkg_short_errors_supported = yes; then
30640 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
30642 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
30644 # Put the nasty error message in config.log where it belongs
30645 echo "$DIRECTFB_PKG_ERRORS" >&5
30648 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
30649 echo "$as_me: error: DirectFB not found." >&2;}
30650 { (exit 1); exit 1; }; }
30653 elif test $pkg_failed = untried; then
30655 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
30656 echo "$as_me: error: DirectFB not found." >&2;}
30657 { (exit 1); exit 1; }; }
30661 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
30662 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
30663 { echo "$as_me:$LINENO: result: yes" >&5
30664 echo "${ECHO_T}yes" >&6; }
30666 wxUSE_UNIVERSAL="yes"
30667 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
30668 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
30675 if test "$wxUSE_MICROWIN" = 1; then
30676 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
30677 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
30678 if test "x$MICROWINDOWS" = x ; then
30679 { echo "$as_me:$LINENO: result: not found" >&5
30680 echo "${ECHO_T}not found" >&6; }
30681 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
30682 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
30683 { (exit 1); exit 1; }; }
30685 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
30686 echo "${ECHO_T}$MICROWINDOWS" >&6; }
30689 if test -f $MICROWINDOWS/lib/libmwin.a; then
30690 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
30691 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
30693 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
30694 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
30695 { (exit 1); exit 1; }; }
30698 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
30699 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
30701 wxUSE_UNIVERSAL="yes"
30703 AFMINSTALL=afminstall
30705 GUIDIST=MICROWIN_DIST
30707 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
30710 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
30711 { echo "$as_me:$LINENO: checking for X" >&5
30712 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
30715 # Check whether --with-x was given.
30716 if test "${with_x+set}" = set; then
30720 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
30721 if test "x$with_x" = xno; then
30722 # The user explicitly disabled X.
30725 case $x_includes,$x_libraries in #(
30726 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
30727 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
30728 { (exit 1); exit 1; }; };; #(
30729 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
30730 echo $ECHO_N "(cached) $ECHO_C" >&6
30732 # One or both of the vars are not set, and there is no cached value.
30733 ac_x_includes=no ac_x_libraries=no
30734 rm -f -r conftest.dir
30735 if mkdir conftest.dir; then
30737 cat >Imakefile <<'_ACEOF'
30739 @echo incroot='${INCROOT}'
30741 @echo usrlibdir='${USRLIBDIR}'
30743 @echo libdir='${LIBDIR}'
30745 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
30746 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
30747 for ac_var in incroot usrlibdir libdir; do
30748 eval "ac_im_$ac_var=\`\
${MAKE-make} $ac_var 2>/dev
/null
| sed -n 's/^$ac_var=//p'\
`"
30750 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
30751 for ac_extension in a so sl; do
30752 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
30753 test -f "$ac_im_libdir/libX11.$ac_extension"; then
30754 ac_im_usrlibdir=$ac_im_libdir; break
30757 # Screen out bogus values from the imake configuration. They are
30758 # bogus both because they are the default anyway, and because
30759 # using them would break gcc on systems where it needs fixed includes.
30760 case $ac_im_incroot in
30761 /usr/include) ac_x_includes= ;;
30762 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
30764 case $ac_im_usrlibdir in
30765 /usr/lib | /lib) ;;
30766 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
30770 rm -f -r conftest.dir
30773 # Standard set of common directories for X headers.
30774 # Check X11 before X11Rn because it is often a symlink to the current release.
30786 /usr/local/X11/include
30787 /usr/local/X11R6/include
30788 /usr/local/X11R5/include
30789 /usr/local/X11R4/include
30791 /usr/local/include/X11
30792 /usr/local/include/X11R6
30793 /usr/local/include/X11R5
30794 /usr/local/include/X11R4
30798 /usr/XFree86/include/X11
30802 /usr/unsupported/include
30803 /usr/athena/include
30804 /usr/local/x11r5/include
30805 /usr/lpp/Xamples/include
30807 /usr/openwin/include
30808 /usr/openwin/share/include'
30810 if test "$ac_x_includes" = no; then
30811 # Guess where to find include files, by looking for Xlib.h.
30812 # First, try using that file with no special directory specified.
30813 cat >conftest.$ac_ext <<_ACEOF
30816 cat confdefs.h >>conftest.$ac_ext
30817 cat >>conftest.$ac_ext <<_ACEOF
30818 /* end confdefs.h. */
30819 #include <X11/Xlib.h>
30821 if { (ac_try="$ac_cpp conftest.$ac_ext"
30822 case "(($ac_try" in
30823 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30824 *) ac_try_echo
=$ac_try;;
30826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30827 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30829 grep -v '^ *+' conftest.er1
>conftest.err
30831 cat conftest.err
>&5
30832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30833 (exit $ac_status); } >/dev
/null
&& {
30834 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30835 test ! -s conftest.err
30837 # We can compile using X headers with no special include directory.
30840 echo "$as_me: failed program was:" >&5
30841 sed 's/^/| /' conftest.
$ac_ext >&5
30843 for ac_dir
in $ac_x_header_dirs; do
30844 if test -r "$ac_dir/X11/Xlib.h"; then
30845 ac_x_includes
=$ac_dir
30851 rm -f conftest.err conftest.
$ac_ext
30852 fi # $ac_x_includes = no
30854 if test "$ac_x_libraries" = no
; then
30855 # Check for the libraries.
30856 # See if we find them without any special options.
30857 # Don't add to $LIBS permanently.
30860 cat >conftest.
$ac_ext <<_ACEOF
30863 cat confdefs.h
>>conftest.
$ac_ext
30864 cat >>conftest.
$ac_ext <<_ACEOF
30865 /* end confdefs.h. */
30866 #include <X11/Xlib.h>
30875 rm -f conftest.
$ac_objext conftest
$ac_exeext
30876 if { (ac_try
="$ac_link"
30877 case "(($ac_try" in
30878 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30879 *) ac_try_echo=$ac_try;;
30881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30882 (eval "$ac_link") 2>conftest.er1
30884 grep -v '^ *+' conftest.er1 >conftest.err
30886 cat conftest.err >&5
30887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30888 (exit $ac_status); } && {
30889 test -z "$ac_c_werror_flag" ||
30890 test ! -s conftest.err
30891 } && test -s conftest$ac_exeext &&
30892 $as_test_x conftest$ac_exeext; then
30894 # We can link X programs with no special library path.
30897 echo "$as_me: failed program was:" >&5
30898 sed 's/^/| /' conftest.$ac_ext >&5
30901 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s
/include
/lib
/g
`
30903 # Don't even attempt the hair of trying to link an X program!
30904 for ac_extension in a so sl; do
30905 if test -r "$ac_dir/libX11.$ac_extension"; then
30906 ac_x_libraries=$ac_dir
30913 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30914 conftest$ac_exeext conftest.$ac_ext
30915 fi # $ac_x_libraries = no
30917 case $ac_x_includes,$ac_x_libraries in #(
30918 no,* | *,no | *\'*)
30919 # Didn't find X, or a directory has "'" in its name.
30920 ac_cv_have_x="have_x=no";; #(
30922 # Record where we found X for the cache.
30923 ac_cv_have_x="have_x=yes\
30924 ac_x_includes='$ac_x_includes'\
30925 ac_x_libraries='$ac_x_libraries'"
30931 eval "$ac_cv_have_x"
30934 if test "$have_x" != yes; then
30935 { echo "$as_me:$LINENO: result: $have_x" >&5
30936 echo "${ECHO_T}$have_x" >&6; }
30939 # If each of the values was on the command line, it overrides each guess.
30940 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
30941 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
30942 # Update the cache value to reflect the command line values.
30943 ac_cv_have_x="have_x=yes\
30944 ac_x_includes='$x_includes'\
30945 ac_x_libraries='$x_libraries'"
30946 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
30947 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
30950 if test "$no_x" = yes; then
30951 # Not all programs may use this symbol, but it does not hurt to define it.
30953 cat >>confdefs.h <<\_ACEOF
30954 #define X_DISPLAY_MISSING 1
30957 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
30959 if test -n "$x_includes"; then
30960 X_CFLAGS="$X_CFLAGS -I$x_includes"
30963 # It would also be nice to do this for all -L options, not just this one.
30964 if test -n "$x_libraries"; then
30965 X_LIBS="$X_LIBS -L$x_libraries"
30966 # For Solaris; some versions of Sun CC require a space after -R and
30967 # others require no space. Words are not sufficient . . . .
30968 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30969 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
30970 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
30971 ac_xsave_c_werror_flag=$ac_c_werror_flag
30972 ac_c_werror_flag=yes
30973 cat >conftest.$ac_ext <<_ACEOF
30976 cat confdefs.h >>conftest.$ac_ext
30977 cat >>conftest.$ac_ext <<_ACEOF
30978 /* end confdefs.h. */
30988 rm -f conftest.$ac_objext conftest$ac_exeext
30989 if { (ac_try="$ac_link"
30990 case "(($ac_try" in
30991 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30992 *) ac_try_echo
=$ac_try;;
30994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30995 (eval "$ac_link") 2>conftest.er1
30997 grep -v '^ *+' conftest.er1
>conftest.err
30999 cat conftest.err
>&5
31000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31001 (exit $ac_status); } && {
31002 test -z "$ac_c_werror_flag" ||
31003 test ! -s conftest.err
31004 } && test -s conftest
$ac_exeext &&
31005 $as_test_x conftest
$ac_exeext; then
31006 { echo "$as_me:$LINENO: result: no" >&5
31007 echo "${ECHO_T}no" >&6; }
31008 X_LIBS
="$X_LIBS -R$x_libraries"
31010 echo "$as_me: failed program was:" >&5
31011 sed 's/^/| /' conftest.
$ac_ext >&5
31013 LIBS
="$ac_xsave_LIBS -R $x_libraries"
31014 cat >conftest.
$ac_ext <<_ACEOF
31017 cat confdefs.h
>>conftest.
$ac_ext
31018 cat >>conftest.
$ac_ext <<_ACEOF
31019 /* end confdefs.h. */
31029 rm -f conftest.
$ac_objext conftest
$ac_exeext
31030 if { (ac_try
="$ac_link"
31031 case "(($ac_try" in
31032 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31033 *) ac_try_echo=$ac_try;;
31035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31036 (eval "$ac_link") 2>conftest.er1
31038 grep -v '^ *+' conftest.er1 >conftest.err
31040 cat conftest.err >&5
31041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31042 (exit $ac_status); } && {
31043 test -z "$ac_c_werror_flag" ||
31044 test ! -s conftest.err
31045 } && test -s conftest$ac_exeext &&
31046 $as_test_x conftest$ac_exeext; then
31047 { echo "$as_me:$LINENO: result: yes" >&5
31048 echo "${ECHO_T}yes" >&6; }
31049 X_LIBS="$X_LIBS -R $x_libraries"
31051 echo "$as_me: failed program was:" >&5
31052 sed 's/^/| /' conftest.$ac_ext >&5
31054 { echo "$as_me:$LINENO: result: neither works" >&5
31055 echo "${ECHO_T}neither works" >&6; }
31058 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31059 conftest$ac_exeext conftest.$ac_ext
31062 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31063 conftest$ac_exeext conftest.$ac_ext
31064 ac_c_werror_flag=$ac_xsave_c_werror_flag
31065 LIBS=$ac_xsave_LIBS
31068 # Check for system-dependent libraries X programs must link with.
31069 # Do this before checking for the system-independent R6 libraries
31070 # (-lICE), since we may need -lsocket or whatever for X linking.
31072 if test "$ISC" = yes; then
31073 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
31075 # Martyn Johnson says this is needed for Ultrix, if the X
31076 # libraries were built with DECnet support. And Karl Berry says
31077 # the Alpha needs dnet_stub (dnet does not exist).
31078 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
31079 cat >conftest.$ac_ext <<_ACEOF
31082 cat confdefs.h >>conftest.$ac_ext
31083 cat >>conftest.$ac_ext <<_ACEOF
31084 /* end confdefs.h. */
31086 /* Override any GCC internal prototype to avoid an error.
31087 Use char because int might match the return type of a GCC
31088 builtin and then its argument prototype would still apply. */
31092 char XOpenDisplay ();
31096 return XOpenDisplay ();
31101 rm -f conftest.$ac_objext conftest$ac_exeext
31102 if { (ac_try="$ac_link"
31103 case "(($ac_try" in
31104 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31105 *) ac_try_echo
=$ac_try;;
31107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31108 (eval "$ac_link") 2>conftest.er1
31110 grep -v '^ *+' conftest.er1
>conftest.err
31112 cat conftest.err
>&5
31113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31114 (exit $ac_status); } && {
31115 test -z "$ac_c_werror_flag" ||
31116 test ! -s conftest.err
31117 } && test -s conftest
$ac_exeext &&
31118 $as_test_x conftest
$ac_exeext; then
31121 echo "$as_me: failed program was:" >&5
31122 sed 's/^/| /' conftest.
$ac_ext >&5
31124 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
31125 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
31126 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
31127 echo $ECHO_N "(cached) $ECHO_C" >&6
31129 ac_check_lib_save_LIBS
=$LIBS
31130 LIBS
="-ldnet $LIBS"
31131 cat >conftest.
$ac_ext <<_ACEOF
31134 cat confdefs.h
>>conftest.
$ac_ext
31135 cat >>conftest.
$ac_ext <<_ACEOF
31136 /* end confdefs.h. */
31138 /* Override any GCC internal prototype to avoid an error.
31139 Use char because int might match the return type of a GCC
31140 builtin and then its argument prototype would still apply. */
31148 return dnet_ntoa ();
31153 rm -f conftest.
$ac_objext conftest
$ac_exeext
31154 if { (ac_try
="$ac_link"
31155 case "(($ac_try" in
31156 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31157 *) ac_try_echo=$ac_try;;
31159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31160 (eval "$ac_link") 2>conftest.er1
31162 grep -v '^ *+' conftest.er1 >conftest.err
31164 cat conftest.err >&5
31165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31166 (exit $ac_status); } && {
31167 test -z "$ac_c_werror_flag" ||
31168 test ! -s conftest.err
31169 } && test -s conftest$ac_exeext &&
31170 $as_test_x conftest$ac_exeext; then
31171 ac_cv_lib_dnet_dnet_ntoa=yes
31173 echo "$as_me: failed program was:" >&5
31174 sed 's/^/| /' conftest.$ac_ext >&5
31176 ac_cv_lib_dnet_dnet_ntoa=no
31179 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31180 conftest$ac_exeext conftest.$ac_ext
31181 LIBS=$ac_check_lib_save_LIBS
31183 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
31184 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
31185 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
31186 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
31189 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
31190 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
31191 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
31192 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
31193 echo $ECHO_N "(cached) $ECHO_C" >&6
31195 ac_check_lib_save_LIBS=$LIBS
31196 LIBS="-ldnet_stub $LIBS"
31197 cat >conftest.$ac_ext <<_ACEOF
31200 cat confdefs.h >>conftest.$ac_ext
31201 cat >>conftest.$ac_ext <<_ACEOF
31202 /* end confdefs.h. */
31204 /* Override any GCC internal prototype to avoid an error.
31205 Use char because int might match the return type of a GCC
31206 builtin and then its argument prototype would still apply. */
31214 return dnet_ntoa ();
31219 rm -f conftest.$ac_objext conftest$ac_exeext
31220 if { (ac_try="$ac_link"
31221 case "(($ac_try" in
31222 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31223 *) ac_try_echo
=$ac_try;;
31225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31226 (eval "$ac_link") 2>conftest.er1
31228 grep -v '^ *+' conftest.er1
>conftest.err
31230 cat conftest.err
>&5
31231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31232 (exit $ac_status); } && {
31233 test -z "$ac_c_werror_flag" ||
31234 test ! -s conftest.err
31235 } && test -s conftest
$ac_exeext &&
31236 $as_test_x conftest
$ac_exeext; then
31237 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
31239 echo "$as_me: failed program was:" >&5
31240 sed 's/^/| /' conftest.
$ac_ext >&5
31242 ac_cv_lib_dnet_stub_dnet_ntoa
=no
31245 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31246 conftest
$ac_exeext conftest.
$ac_ext
31247 LIBS
=$ac_check_lib_save_LIBS
31249 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
31250 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
31251 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
31252 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
31258 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31259 conftest
$ac_exeext conftest.
$ac_ext
31260 LIBS
="$ac_xsave_LIBS"
31262 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
31263 # to get the SysV transport functions.
31264 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
31266 # The nsl library prevents programs from opening the X display
31267 # on Irix 5.2, according to T.E. Dickey.
31268 # The functions gethostbyname, getservbyname, and inet_addr are
31269 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
31270 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
31271 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
31272 if test "${ac_cv_func_gethostbyname+set}" = set; then
31273 echo $ECHO_N "(cached) $ECHO_C" >&6
31275 cat >conftest.
$ac_ext <<_ACEOF
31278 cat confdefs.h
>>conftest.
$ac_ext
31279 cat >>conftest.
$ac_ext <<_ACEOF
31280 /* end confdefs.h. */
31281 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
31282 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31283 #define gethostbyname innocuous_gethostbyname
31285 /* System header to define __stub macros and hopefully few prototypes,
31286 which can conflict with char gethostbyname (); below.
31287 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31288 <limits.h> exists even on freestanding compilers. */
31291 # include <limits.h>
31293 # include <assert.h>
31296 #undef gethostbyname
31298 /* Override any GCC internal prototype to avoid an error.
31299 Use char because int might match the return type of a GCC
31300 builtin and then its argument prototype would still apply. */
31304 char gethostbyname ();
31305 /* The GNU C library defines this for functions which it implements
31306 to always fail with ENOSYS. Some functions are actually named
31307 something starting with __ and the normal name is an alias. */
31308 #if defined __stub_gethostbyname || defined __stub___gethostbyname
31315 return gethostbyname ();
31320 rm -f conftest.
$ac_objext conftest
$ac_exeext
31321 if { (ac_try
="$ac_link"
31322 case "(($ac_try" in
31323 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31324 *) ac_try_echo=$ac_try;;
31326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31327 (eval "$ac_link") 2>conftest.er1
31329 grep -v '^ *+' conftest.er1 >conftest.err
31331 cat conftest.err >&5
31332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31333 (exit $ac_status); } && {
31334 test -z "$ac_c_werror_flag" ||
31335 test ! -s conftest.err
31336 } && test -s conftest$ac_exeext &&
31337 $as_test_x conftest$ac_exeext; then
31338 ac_cv_func_gethostbyname=yes
31340 echo "$as_me: failed program was:" >&5
31341 sed 's/^/| /' conftest.$ac_ext >&5
31343 ac_cv_func_gethostbyname=no
31346 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31347 conftest$ac_exeext conftest.$ac_ext
31349 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
31350 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
31352 if test $ac_cv_func_gethostbyname = no; then
31353 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
31354 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
31355 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
31356 echo $ECHO_N "(cached) $ECHO_C" >&6
31358 ac_check_lib_save_LIBS=$LIBS
31360 cat >conftest.$ac_ext <<_ACEOF
31363 cat confdefs.h >>conftest.$ac_ext
31364 cat >>conftest.$ac_ext <<_ACEOF
31365 /* end confdefs.h. */
31367 /* Override any GCC internal prototype to avoid an error.
31368 Use char because int might match the return type of a GCC
31369 builtin and then its argument prototype would still apply. */
31373 char gethostbyname ();
31377 return gethostbyname ();
31382 rm -f conftest.$ac_objext conftest$ac_exeext
31383 if { (ac_try="$ac_link"
31384 case "(($ac_try" in
31385 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31386 *) ac_try_echo
=$ac_try;;
31388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31389 (eval "$ac_link") 2>conftest.er1
31391 grep -v '^ *+' conftest.er1
>conftest.err
31393 cat conftest.err
>&5
31394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31395 (exit $ac_status); } && {
31396 test -z "$ac_c_werror_flag" ||
31397 test ! -s conftest.err
31398 } && test -s conftest
$ac_exeext &&
31399 $as_test_x conftest
$ac_exeext; then
31400 ac_cv_lib_nsl_gethostbyname
=yes
31402 echo "$as_me: failed program was:" >&5
31403 sed 's/^/| /' conftest.
$ac_ext >&5
31405 ac_cv_lib_nsl_gethostbyname
=no
31408 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31409 conftest
$ac_exeext conftest.
$ac_ext
31410 LIBS
=$ac_check_lib_save_LIBS
31412 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
31413 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
31414 if test $ac_cv_lib_nsl_gethostbyname = yes; then
31415 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
31418 if test $ac_cv_lib_nsl_gethostbyname = no
; then
31419 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
31420 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
31421 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
31422 echo $ECHO_N "(cached) $ECHO_C" >&6
31424 ac_check_lib_save_LIBS
=$LIBS
31426 cat >conftest.
$ac_ext <<_ACEOF
31429 cat confdefs.h
>>conftest.
$ac_ext
31430 cat >>conftest.
$ac_ext <<_ACEOF
31431 /* end confdefs.h. */
31433 /* Override any GCC internal prototype to avoid an error.
31434 Use char because int might match the return type of a GCC
31435 builtin and then its argument prototype would still apply. */
31439 char gethostbyname ();
31443 return gethostbyname ();
31448 rm -f conftest.
$ac_objext conftest
$ac_exeext
31449 if { (ac_try
="$ac_link"
31450 case "(($ac_try" in
31451 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31452 *) ac_try_echo=$ac_try;;
31454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31455 (eval "$ac_link") 2>conftest.er1
31457 grep -v '^ *+' conftest.er1 >conftest.err
31459 cat conftest.err >&5
31460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31461 (exit $ac_status); } && {
31462 test -z "$ac_c_werror_flag" ||
31463 test ! -s conftest.err
31464 } && test -s conftest$ac_exeext &&
31465 $as_test_x conftest$ac_exeext; then
31466 ac_cv_lib_bsd_gethostbyname=yes
31468 echo "$as_me: failed program was:" >&5
31469 sed 's/^/| /' conftest.$ac_ext >&5
31471 ac_cv_lib_bsd_gethostbyname=no
31474 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31475 conftest$ac_exeext conftest.$ac_ext
31476 LIBS=$ac_check_lib_save_LIBS
31478 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
31479 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
31480 if test $ac_cv_lib_bsd_gethostbyname = yes; then
31481 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
31487 # lieder@skyler.mavd.honeywell.com says without -lsocket,
31488 # socket/setsockopt and other routines are undefined under SCO ODT
31489 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
31490 # on later versions), says Simon Leinen: it contains gethostby*
31491 # variants that don't use the name server (or something). -lsocket
31492 # must be given before -lnsl if both are needed. We assume that
31493 # if connect needs -lnsl, so does gethostbyname.
31494 { echo "$as_me:$LINENO: checking for connect" >&5
31495 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
31496 if test "${ac_cv_func_connect+set}" = set; then
31497 echo $ECHO_N "(cached) $ECHO_C" >&6
31499 cat >conftest.$ac_ext <<_ACEOF
31502 cat confdefs.h >>conftest.$ac_ext
31503 cat >>conftest.$ac_ext <<_ACEOF
31504 /* end confdefs.h. */
31505 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
31506 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31507 #define connect innocuous_connect
31509 /* System header to define __stub macros and hopefully few prototypes,
31510 which can conflict with char connect (); below.
31511 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31512 <limits.h> exists even on freestanding compilers. */
31515 # include <limits.h>
31517 # include <assert.h>
31522 /* Override any GCC internal prototype to avoid an error.
31523 Use char because int might match the return type of a GCC
31524 builtin and then its argument prototype would still apply. */
31529 /* The GNU C library defines this for functions which it implements
31530 to always fail with ENOSYS. Some functions are actually named
31531 something starting with __ and the normal name is an alias. */
31532 #if defined __stub_connect || defined __stub___connect
31544 rm -f conftest.$ac_objext conftest$ac_exeext
31545 if { (ac_try="$ac_link"
31546 case "(($ac_try" in
31547 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31548 *) ac_try_echo
=$ac_try;;
31550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31551 (eval "$ac_link") 2>conftest.er1
31553 grep -v '^ *+' conftest.er1
>conftest.err
31555 cat conftest.err
>&5
31556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31557 (exit $ac_status); } && {
31558 test -z "$ac_c_werror_flag" ||
31559 test ! -s conftest.err
31560 } && test -s conftest
$ac_exeext &&
31561 $as_test_x conftest
$ac_exeext; then
31562 ac_cv_func_connect
=yes
31564 echo "$as_me: failed program was:" >&5
31565 sed 's/^/| /' conftest.
$ac_ext >&5
31567 ac_cv_func_connect
=no
31570 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31571 conftest
$ac_exeext conftest.
$ac_ext
31573 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
31574 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
31576 if test $ac_cv_func_connect = no
; then
31577 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
31578 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
31579 if test "${ac_cv_lib_socket_connect+set}" = set; then
31580 echo $ECHO_N "(cached) $ECHO_C" >&6
31582 ac_check_lib_save_LIBS
=$LIBS
31583 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
31584 cat >conftest.
$ac_ext <<_ACEOF
31587 cat confdefs.h
>>conftest.
$ac_ext
31588 cat >>conftest.
$ac_ext <<_ACEOF
31589 /* end confdefs.h. */
31591 /* Override any GCC internal prototype to avoid an error.
31592 Use char because int might match the return type of a GCC
31593 builtin and then its argument prototype would still apply. */
31606 rm -f conftest.
$ac_objext conftest
$ac_exeext
31607 if { (ac_try
="$ac_link"
31608 case "(($ac_try" in
31609 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31610 *) ac_try_echo=$ac_try;;
31612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31613 (eval "$ac_link") 2>conftest.er1
31615 grep -v '^ *+' conftest.er1 >conftest.err
31617 cat conftest.err >&5
31618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31619 (exit $ac_status); } && {
31620 test -z "$ac_c_werror_flag" ||
31621 test ! -s conftest.err
31622 } && test -s conftest$ac_exeext &&
31623 $as_test_x conftest$ac_exeext; then
31624 ac_cv_lib_socket_connect=yes
31626 echo "$as_me: failed program was:" >&5
31627 sed 's/^/| /' conftest.$ac_ext >&5
31629 ac_cv_lib_socket_connect=no
31632 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31633 conftest$ac_exeext conftest.$ac_ext
31634 LIBS=$ac_check_lib_save_LIBS
31636 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
31637 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
31638 if test $ac_cv_lib_socket_connect = yes; then
31639 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
31644 # Guillermo Gomez says -lposix is necessary on A/UX.
31645 { echo "$as_me:$LINENO: checking for remove" >&5
31646 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
31647 if test "${ac_cv_func_remove+set}" = set; then
31648 echo $ECHO_N "(cached) $ECHO_C" >&6
31650 cat >conftest.$ac_ext <<_ACEOF
31653 cat confdefs.h >>conftest.$ac_ext
31654 cat >>conftest.$ac_ext <<_ACEOF
31655 /* end confdefs.h. */
31656 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
31657 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31658 #define remove innocuous_remove
31660 /* System header to define __stub macros and hopefully few prototypes,
31661 which can conflict with char remove (); below.
31662 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31663 <limits.h> exists even on freestanding compilers. */
31666 # include <limits.h>
31668 # include <assert.h>
31673 /* Override any GCC internal prototype to avoid an error.
31674 Use char because int might match the return type of a GCC
31675 builtin and then its argument prototype would still apply. */
31680 /* The GNU C library defines this for functions which it implements
31681 to always fail with ENOSYS. Some functions are actually named
31682 something starting with __ and the normal name is an alias. */
31683 #if defined __stub_remove || defined __stub___remove
31695 rm -f conftest.$ac_objext conftest$ac_exeext
31696 if { (ac_try="$ac_link"
31697 case "(($ac_try" in
31698 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31699 *) ac_try_echo
=$ac_try;;
31701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31702 (eval "$ac_link") 2>conftest.er1
31704 grep -v '^ *+' conftest.er1
>conftest.err
31706 cat conftest.err
>&5
31707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31708 (exit $ac_status); } && {
31709 test -z "$ac_c_werror_flag" ||
31710 test ! -s conftest.err
31711 } && test -s conftest
$ac_exeext &&
31712 $as_test_x conftest
$ac_exeext; then
31713 ac_cv_func_remove
=yes
31715 echo "$as_me: failed program was:" >&5
31716 sed 's/^/| /' conftest.
$ac_ext >&5
31718 ac_cv_func_remove
=no
31721 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31722 conftest
$ac_exeext conftest.
$ac_ext
31724 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
31725 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
31727 if test $ac_cv_func_remove = no
; then
31728 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
31729 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
31730 if test "${ac_cv_lib_posix_remove+set}" = set; then
31731 echo $ECHO_N "(cached) $ECHO_C" >&6
31733 ac_check_lib_save_LIBS
=$LIBS
31734 LIBS
="-lposix $LIBS"
31735 cat >conftest.
$ac_ext <<_ACEOF
31738 cat confdefs.h
>>conftest.
$ac_ext
31739 cat >>conftest.
$ac_ext <<_ACEOF
31740 /* end confdefs.h. */
31742 /* Override any GCC internal prototype to avoid an error.
31743 Use char because int might match the return type of a GCC
31744 builtin and then its argument prototype would still apply. */
31757 rm -f conftest.
$ac_objext conftest
$ac_exeext
31758 if { (ac_try
="$ac_link"
31759 case "(($ac_try" in
31760 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31761 *) ac_try_echo=$ac_try;;
31763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31764 (eval "$ac_link") 2>conftest.er1
31766 grep -v '^ *+' conftest.er1 >conftest.err
31768 cat conftest.err >&5
31769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31770 (exit $ac_status); } && {
31771 test -z "$ac_c_werror_flag" ||
31772 test ! -s conftest.err
31773 } && test -s conftest$ac_exeext &&
31774 $as_test_x conftest$ac_exeext; then
31775 ac_cv_lib_posix_remove=yes
31777 echo "$as_me: failed program was:" >&5
31778 sed 's/^/| /' conftest.$ac_ext >&5
31780 ac_cv_lib_posix_remove=no
31783 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31784 conftest$ac_exeext conftest.$ac_ext
31785 LIBS=$ac_check_lib_save_LIBS
31787 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
31788 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
31789 if test $ac_cv_lib_posix_remove = yes; then
31790 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
31795 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
31796 { echo "$as_me:$LINENO: checking for shmat" >&5
31797 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
31798 if test "${ac_cv_func_shmat+set}" = set; then
31799 echo $ECHO_N "(cached) $ECHO_C" >&6
31801 cat >conftest.$ac_ext <<_ACEOF
31804 cat confdefs.h >>conftest.$ac_ext
31805 cat >>conftest.$ac_ext <<_ACEOF
31806 /* end confdefs.h. */
31807 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
31808 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31809 #define shmat innocuous_shmat
31811 /* System header to define __stub macros and hopefully few prototypes,
31812 which can conflict with char shmat (); below.
31813 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31814 <limits.h> exists even on freestanding compilers. */
31817 # include <limits.h>
31819 # include <assert.h>
31824 /* Override any GCC internal prototype to avoid an error.
31825 Use char because int might match the return type of a GCC
31826 builtin and then its argument prototype would still apply. */
31831 /* The GNU C library defines this for functions which it implements
31832 to always fail with ENOSYS. Some functions are actually named
31833 something starting with __ and the normal name is an alias. */
31834 #if defined __stub_shmat || defined __stub___shmat
31846 rm -f conftest.$ac_objext conftest$ac_exeext
31847 if { (ac_try="$ac_link"
31848 case "(($ac_try" in
31849 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31850 *) ac_try_echo
=$ac_try;;
31852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31853 (eval "$ac_link") 2>conftest.er1
31855 grep -v '^ *+' conftest.er1
>conftest.err
31857 cat conftest.err
>&5
31858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31859 (exit $ac_status); } && {
31860 test -z "$ac_c_werror_flag" ||
31861 test ! -s conftest.err
31862 } && test -s conftest
$ac_exeext &&
31863 $as_test_x conftest
$ac_exeext; then
31864 ac_cv_func_shmat
=yes
31866 echo "$as_me: failed program was:" >&5
31867 sed 's/^/| /' conftest.
$ac_ext >&5
31869 ac_cv_func_shmat
=no
31872 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31873 conftest
$ac_exeext conftest.
$ac_ext
31875 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
31876 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
31878 if test $ac_cv_func_shmat = no
; then
31879 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
31880 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
31881 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
31882 echo $ECHO_N "(cached) $ECHO_C" >&6
31884 ac_check_lib_save_LIBS
=$LIBS
31886 cat >conftest.
$ac_ext <<_ACEOF
31889 cat confdefs.h
>>conftest.
$ac_ext
31890 cat >>conftest.
$ac_ext <<_ACEOF
31891 /* end confdefs.h. */
31893 /* Override any GCC internal prototype to avoid an error.
31894 Use char because int might match the return type of a GCC
31895 builtin and then its argument prototype would still apply. */
31908 rm -f conftest.
$ac_objext conftest
$ac_exeext
31909 if { (ac_try
="$ac_link"
31910 case "(($ac_try" in
31911 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31912 *) ac_try_echo=$ac_try;;
31914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31915 (eval "$ac_link") 2>conftest.er1
31917 grep -v '^ *+' conftest.er1 >conftest.err
31919 cat conftest.err >&5
31920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31921 (exit $ac_status); } && {
31922 test -z "$ac_c_werror_flag" ||
31923 test ! -s conftest.err
31924 } && test -s conftest$ac_exeext &&
31925 $as_test_x conftest$ac_exeext; then
31926 ac_cv_lib_ipc_shmat=yes
31928 echo "$as_me: failed program was:" >&5
31929 sed 's/^/| /' conftest.$ac_ext >&5
31931 ac_cv_lib_ipc_shmat=no
31934 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31935 conftest$ac_exeext conftest.$ac_ext
31936 LIBS=$ac_check_lib_save_LIBS
31938 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31939 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
31940 if test $ac_cv_lib_ipc_shmat = yes; then
31941 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
31947 # Check for libraries that X11R6 Xt/Xaw programs need.
31948 ac_save_LDFLAGS=$LDFLAGS
31949 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
31950 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31951 # check for ICE first), but we must link in the order -lSM -lICE or
31952 # we get undefined symbols. So assume we have SM if we have ICE.
31953 # These have to be linked with before -lX11, unlike the other
31954 # libraries we check for below, so use a different variable.
31955 # John Interrante, Karl Berry
31956 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31957 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
31958 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31959 echo $ECHO_N "(cached) $ECHO_C" >&6
31961 ac_check_lib_save_LIBS=$LIBS
31962 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
31963 cat >conftest.$ac_ext <<_ACEOF
31966 cat confdefs.h >>conftest.$ac_ext
31967 cat >>conftest.$ac_ext <<_ACEOF
31968 /* end confdefs.h. */
31970 /* Override any GCC internal prototype to avoid an error.
31971 Use char because int might match the return type of a GCC
31972 builtin and then its argument prototype would still apply. */
31976 char IceConnectionNumber ();
31980 return IceConnectionNumber ();
31985 rm -f conftest.$ac_objext conftest$ac_exeext
31986 if { (ac_try="$ac_link"
31987 case "(($ac_try" in
31988 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31989 *) ac_try_echo
=$ac_try;;
31991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31992 (eval "$ac_link") 2>conftest.er1
31994 grep -v '^ *+' conftest.er1
>conftest.err
31996 cat conftest.err
>&5
31997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31998 (exit $ac_status); } && {
31999 test -z "$ac_c_werror_flag" ||
32000 test ! -s conftest.err
32001 } && test -s conftest
$ac_exeext &&
32002 $as_test_x conftest
$ac_exeext; then
32003 ac_cv_lib_ICE_IceConnectionNumber
=yes
32005 echo "$as_me: failed program was:" >&5
32006 sed 's/^/| /' conftest.
$ac_ext >&5
32008 ac_cv_lib_ICE_IceConnectionNumber
=no
32011 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32012 conftest
$ac_exeext conftest.
$ac_ext
32013 LIBS
=$ac_check_lib_save_LIBS
32015 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
32016 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
32017 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
32018 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
32021 LDFLAGS
=$ac_save_LDFLAGS
32026 if test "$no_x" = "yes"; then
32027 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
32028 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
32029 { (exit 1); exit 1; }; }
32032 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
32033 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
32034 AFMINSTALL
=afminstall
32035 COMPILED_X_PROGRAM
=0
32039 if test "$wxUSE_X11" = 1; then
32040 if test "$wxUSE_NANOX" = "yes"; then
32041 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
32042 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
32043 if test "x$MICROWIN" = x
; then
32044 { echo "$as_me:$LINENO: result: not found" >&5
32045 echo "${ECHO_T}not found" >&6; }
32046 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
32047 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
32048 { (exit 1); exit 1; }; }
32050 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
32051 echo "${ECHO_T}$MICROWIN" >&6; }
32052 cat >>confdefs.h
<<\_ACEOF
32053 #define wxUSE_NANOX 1
32059 if test "$wxUSE_UNICODE" = "yes"; then
32062 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
32063 if test -n "$ac_tool_prefix"; then
32064 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32065 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
32066 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32067 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32068 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
32069 echo $ECHO_N "(cached) $ECHO_C" >&6
32071 case $PKG_CONFIG in
32073 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
32076 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32077 for as_dir
in $PATH
32080 test -z "$as_dir" && as_dir
=.
32081 for ac_exec_ext
in '' $ac_executable_extensions; do
32082 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32083 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
32084 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32094 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
32095 if test -n "$PKG_CONFIG"; then
32096 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
32097 echo "${ECHO_T}$PKG_CONFIG" >&6; }
32099 { echo "$as_me:$LINENO: result: no" >&5
32100 echo "${ECHO_T}no" >&6; }
32105 if test -z "$ac_cv_path_PKG_CONFIG"; then
32106 ac_pt_PKG_CONFIG
=$PKG_CONFIG
32107 # Extract the first word of "pkg-config", so it can be a program name with args.
32108 set dummy pkg
-config; ac_word
=$2
32109 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32110 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32111 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
32112 echo $ECHO_N "(cached) $ECHO_C" >&6
32114 case $ac_pt_PKG_CONFIG in
32116 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
32119 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32120 for as_dir
in $PATH
32123 test -z "$as_dir" && as_dir
=.
32124 for ac_exec_ext
in '' $ac_executable_extensions; do
32125 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32126 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
32127 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32137 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
32138 if test -n "$ac_pt_PKG_CONFIG"; then
32139 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
32140 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
32142 { echo "$as_me:$LINENO: result: no" >&5
32143 echo "${ECHO_T}no" >&6; }
32146 if test "x$ac_pt_PKG_CONFIG" = x
; then
32149 case $cross_compiling:$ac_tool_warned in
32151 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
32152 whose name does not start with the host triplet. If you think this
32153 configuration is useful to you, please write to autoconf@gnu.org." >&5
32154 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
32155 whose name does not start with the host triplet. If you think this
32156 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32157 ac_tool_warned
=yes ;;
32159 PKG_CONFIG
=$ac_pt_PKG_CONFIG
32162 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
32166 if test -n "$PKG_CONFIG"; then
32167 _pkg_min_version
=0.9.0
32168 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
32169 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
32170 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
32171 { echo "$as_me:$LINENO: result: yes" >&5
32172 echo "${ECHO_T}yes" >&6; }
32174 { echo "$as_me:$LINENO: result: no" >&5
32175 echo "${ECHO_T}no" >&6; }
32183 { echo "$as_me:$LINENO: checking for PANGOX" >&5
32184 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
32186 if test -n "$PKG_CONFIG"; then
32187 if test -n "$PANGOX_CFLAGS"; then
32188 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
32190 if test -n "$PKG_CONFIG" && \
32191 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32192 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32195 (exit $ac_status); }; then
32196 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
32204 if test -n "$PKG_CONFIG"; then
32205 if test -n "$PANGOX_LIBS"; then
32206 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
32208 if test -n "$PKG_CONFIG" && \
32209 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32210 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32213 (exit $ac_status); }; then
32214 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
32225 if test $pkg_failed = yes; then
32227 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32228 _pkg_short_errors_supported
=yes
32230 _pkg_short_errors_supported
=no
32232 if test $_pkg_short_errors_supported = yes; then
32233 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
32235 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
32237 # Put the nasty error message in config.log where it belongs
32238 echo "$PANGOX_PKG_ERRORS" >&5
32241 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32242 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32243 { (exit 1); exit 1; }; }
32246 elif test $pkg_failed = untried
; then
32248 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32249 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32250 { (exit 1); exit 1; }; }
32254 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
32255 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
32256 { echo "$as_me:$LINENO: result: yes" >&5
32257 echo "${ECHO_T}yes" >&6; }
32259 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
32260 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
32261 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
32266 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
32267 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
32269 if test -n "$PKG_CONFIG"; then
32270 if test -n "$PANGOFT2_CFLAGS"; then
32271 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
32273 if test -n "$PKG_CONFIG" && \
32274 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
32275 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
32277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32278 (exit $ac_status); }; then
32279 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
32287 if test -n "$PKG_CONFIG"; then
32288 if test -n "$PANGOFT2_LIBS"; then
32289 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
32291 if test -n "$PKG_CONFIG" && \
32292 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
32293 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
32295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32296 (exit $ac_status); }; then
32297 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
32308 if test $pkg_failed = yes; then
32310 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32311 _pkg_short_errors_supported
=yes
32313 _pkg_short_errors_supported
=no
32315 if test $_pkg_short_errors_supported = yes; then
32316 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
32318 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
32320 # Put the nasty error message in config.log where it belongs
32321 echo "$PANGOFT2_PKG_ERRORS" >&5
32324 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
32325 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
32326 wxUSE_PRINTING_ARCHITECTURE
="no"
32329 elif test $pkg_failed = untried
; then
32331 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
32332 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
32333 wxUSE_PRINTING_ARCHITECTURE
="no"
32337 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
32338 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
32339 { echo "$as_me:$LINENO: result: yes" >&5
32340 echo "${ECHO_T}yes" >&6; }
32342 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
32343 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
32344 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
32349 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
32350 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
32352 if test -n "$PKG_CONFIG"; then
32353 if test -n "$PANGOXFT_CFLAGS"; then
32354 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
32356 if test -n "$PKG_CONFIG" && \
32357 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
32358 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
32360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32361 (exit $ac_status); }; then
32362 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
32370 if test -n "$PKG_CONFIG"; then
32371 if test -n "$PANGOXFT_LIBS"; then
32372 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
32374 if test -n "$PKG_CONFIG" && \
32375 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
32376 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
32378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32379 (exit $ac_status); }; then
32380 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
32391 if test $pkg_failed = yes; then
32393 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32394 _pkg_short_errors_supported
=yes
32396 _pkg_short_errors_supported
=no
32398 if test $_pkg_short_errors_supported = yes; then
32399 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
32401 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
32403 # Put the nasty error message in config.log where it belongs
32404 echo "$PANGOXFT_PKG_ERRORS" >&5
32407 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
32408 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
32411 elif test $pkg_failed = untried
; then
32413 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
32414 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
32418 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
32419 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
32420 { echo "$as_me:$LINENO: result: yes" >&5
32421 echo "${ECHO_T}yes" >&6; }
32423 cat >>confdefs.h
<<\_ACEOF
32424 #define HAVE_PANGO_XFT 1
32427 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
32428 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
32429 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
32433 LIBS
="$LIBS $PANGOX_LIBS"
32435 for ac_func
in pango_font_family_is_monospace
32437 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32438 { echo "$as_me:$LINENO: checking for $ac_func" >&5
32439 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
32440 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
32441 echo $ECHO_N "(cached) $ECHO_C" >&6
32443 cat >conftest.
$ac_ext <<_ACEOF
32446 cat confdefs.h
>>conftest.
$ac_ext
32447 cat >>conftest.
$ac_ext <<_ACEOF
32448 /* end confdefs.h. */
32449 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32450 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32451 #define $ac_func innocuous_$ac_func
32453 /* System header to define __stub macros and hopefully few prototypes,
32454 which can conflict with char $ac_func (); below.
32455 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32456 <limits.h> exists even on freestanding compilers. */
32459 # include <limits.h>
32461 # include <assert.h>
32466 /* Override any GCC internal prototype to avoid an error.
32467 Use char because int might match the return type of a GCC
32468 builtin and then its argument prototype would still apply. */
32473 /* The GNU C library defines this for functions which it implements
32474 to always fail with ENOSYS. Some functions are actually named
32475 something starting with __ and the normal name is an alias. */
32476 #if defined __stub_$ac_func || defined __stub___$ac_func
32483 return $ac_func ();
32488 rm -f conftest.
$ac_objext conftest
$ac_exeext
32489 if { (ac_try
="$ac_link"
32490 case "(($ac_try" in
32491 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32492 *) ac_try_echo=$ac_try;;
32494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32495 (eval "$ac_link") 2>conftest.er1
32497 grep -v '^ *+' conftest.er1 >conftest.err
32499 cat conftest.err >&5
32500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32501 (exit $ac_status); } && {
32502 test -z "$ac_c_werror_flag" ||
32503 test ! -s conftest.err
32504 } && test -s conftest$ac_exeext &&
32505 $as_test_x conftest$ac_exeext; then
32506 eval "$as_ac_var=yes"
32508 echo "$as_me: failed program was:" >&5
32509 sed 's/^/| /' conftest.$ac_ext >&5
32511 eval "$as_ac_var=no"
32514 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32515 conftest$ac_exeext conftest.$ac_ext
32517 ac_res=`eval echo '${'$as_ac_var'}'`
32518 { echo "$as_me:$LINENO: result: $ac_res" >&5
32519 echo "${ECHO_T}$ac_res" >&6; }
32520 if test `eval echo '${'$as_ac_var'}'` = yes; then
32521 cat >>confdefs.h <<_ACEOF
32522 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32531 wxUSE_UNIVERSAL="yes"
32533 if test "$wxUSE_NANOX" = "yes"; then
32534 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
32535 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"
32536 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
32538 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
32545 if test "$wxUSE_MOTIF" = 1; then
32546 if test "$wxUSE_UNICODE" = "yes"; then
32547 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
32548 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
32549 { (exit 1); exit 1; }; }
32552 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
32553 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
32556 for ac_dir in $SEARCH_INCLUDE /usr/include;
32558 if test -f "$ac_dir/Xm/Xm.h"; then
32559 ac_find_includes=$ac_dir
32564 if test "$ac_find_includes" != "" ; then
32565 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32566 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32568 if test "x$ac_find_includes" = "x/usr/include"; then
32569 ac_path_to_include=""
32571 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
32573 if test $result = 0; then
32574 ac_path_to_include=""
32576 ac_path_to_include=" -I$ac_find_includes"
32580 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
32582 save_CFLAGS=$CFLAGS
32583 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32585 cat >conftest.$ac_ext <<_ACEOF
32588 cat confdefs.h >>conftest.$ac_ext
32589 cat >>conftest.$ac_ext <<_ACEOF
32590 /* end confdefs.h. */
32599 version = xmUseVersion;
32605 rm -f conftest.$ac_objext
32606 if { (ac_try="$ac_compile"
32607 case "(($ac_try" in
32608 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32609 *) ac_try_echo
=$ac_try;;
32611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32612 (eval "$ac_compile") 2>conftest.er1
32614 grep -v '^ *+' conftest.er1
>conftest.err
32616 cat conftest.err
>&5
32617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32618 (exit $ac_status); } && {
32619 test -z "$ac_c_werror_flag" ||
32620 test ! -s conftest.err
32621 } && test -s conftest.
$ac_objext; then
32623 { echo "$as_me:$LINENO: result: found in default search path" >&5
32624 echo "${ECHO_T}found in default search path" >&6; }
32625 COMPILED_X_PROGRAM
=1
32628 echo "$as_me: failed program was:" >&5
32629 sed 's/^/| /' conftest.
$ac_ext >&5
32632 { echo "$as_me:$LINENO: result: no" >&5
32633 echo "${ECHO_T}no" >&6; }
32634 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
32635 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
32636 { (exit 1); exit 1; }; }
32641 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32643 CFLAGS
=$save_CFLAGS
32647 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
32648 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
32651 for ac_dir
in $SEARCH_LIB;
32653 for ac_extension
in a so sl dylib dll.a
; do
32654 if test -f "$ac_dir/libXm.$ac_extension"; then
32655 ac_find_libraries
=$ac_dir
32662 if test "x$ac_find_libraries" != "x" ; then
32663 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32664 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32667 if test "$ac_find_libraries" = "default location"; then
32670 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
32672 if test $result = 0; then
32675 ac_path_to_link
=" -L$ac_find_libraries"
32679 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
32681 save_CFLAGS
=$CFLAGS
32682 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
32684 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
32686 cat >conftest.
$ac_ext <<_ACEOF
32689 cat confdefs.h
>>conftest.
$ac_ext
32690 cat >>conftest.
$ac_ext <<_ACEOF
32691 /* end confdefs.h. */
32700 version = xmUseVersion;
32706 rm -f conftest.
$ac_objext conftest
$ac_exeext
32707 if { (ac_try
="$ac_link"
32708 case "(($ac_try" in
32709 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32710 *) ac_try_echo=$ac_try;;
32712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32713 (eval "$ac_link") 2>conftest.er1
32715 grep -v '^ *+' conftest.er1 >conftest.err
32717 cat conftest.err >&5
32718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32719 (exit $ac_status); } && {
32720 test -z "$ac_c_werror_flag" ||
32721 test ! -s conftest.err
32722 } && test -s conftest$ac_exeext &&
32723 $as_test_x conftest$ac_exeext; then
32725 { echo "$as_me:$LINENO: result: found in default search path" >&5
32726 echo "${ECHO_T}found in default search path" >&6; }
32727 COMPILED_X_PROGRAM=1
32730 echo "$as_me: failed program was:" >&5
32731 sed 's/^/| /' conftest.$ac_ext >&5
32734 { echo "$as_me:$LINENO: result: no" >&5
32735 echo "${ECHO_T}no" >&6; }
32736 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
32737 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
32738 { (exit 1); exit 1; }; }
32743 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32744 conftest$ac_exeext conftest.$ac_ext
32746 CFLAGS=$save_CFLAGS
32750 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
32751 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
32755 for libp in "" " -lXp"; do
32756 if test "$libs_found" = "0"; then
32757 for libsm_ice in "" " -lSM -lICE"; do
32758 if test "$libs_found" = "0"; then
32760 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
32761 save_CFLAGS=$CFLAGS
32762 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32764 cat >conftest.$ac_ext <<_ACEOF
32767 cat confdefs.h >>conftest.$ac_ext
32768 cat >>conftest.$ac_ext <<_ACEOF
32769 /* end confdefs.h. */
32772 #include <Xm/List.h>
32778 XmString string = NULL;
32781 XmListAddItem(w, string, position);
32787 rm -f conftest.$ac_objext conftest$ac_exeext
32788 if { (ac_try="$ac_link"
32789 case "(($ac_try" in
32790 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32791 *) ac_try_echo
=$ac_try;;
32793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32794 (eval "$ac_link") 2>conftest.er1
32796 grep -v '^ *+' conftest.er1
>conftest.err
32798 cat conftest.err
>&5
32799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32800 (exit $ac_status); } && {
32801 test -z "$ac_c_werror_flag" ||
32802 test ! -s conftest.err
32803 } && test -s conftest
$ac_exeext &&
32804 $as_test_x conftest
$ac_exeext; then
32807 libsm_ice_link
="$libsm_ice"
32808 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
32809 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
32813 echo "$as_me: failed program was:" >&5
32814 sed 's/^/| /' conftest.
$ac_ext >&5
32820 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32821 conftest
$ac_exeext conftest.
$ac_ext
32824 CFLAGS
=$save_CFLAGS
32830 if test "$libs_found" = "0"; then
32831 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
32832 echo "${ECHO_T}can't find the right libraries" >&6; }
32833 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
32834 echo "$as_me: error: can't link a simple motif program" >&2;}
32835 { (exit 1); exit 1; }; }
32838 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
32839 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
32840 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
32841 echo $ECHO_N "(cached) $ECHO_C" >&6
32843 ac_check_lib_save_LIBS
=$LIBS
32845 cat >conftest.
$ac_ext <<_ACEOF
32848 cat confdefs.h
>>conftest.
$ac_ext
32849 cat >>conftest.
$ac_ext <<_ACEOF
32850 /* end confdefs.h. */
32852 /* Override any GCC internal prototype to avoid an error.
32853 Use char because int might match the return type of a GCC
32854 builtin and then its argument prototype would still apply. */
32858 char SgCreateList ();
32862 return SgCreateList ();
32867 rm -f conftest.
$ac_objext conftest
$ac_exeext
32868 if { (ac_try
="$ac_link"
32869 case "(($ac_try" in
32870 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32871 *) ac_try_echo=$ac_try;;
32873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32874 (eval "$ac_link") 2>conftest.er1
32876 grep -v '^ *+' conftest.er1 >conftest.err
32878 cat conftest.err >&5
32879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32880 (exit $ac_status); } && {
32881 test -z "$ac_c_werror_flag" ||
32882 test ! -s conftest.err
32883 } && test -s conftest$ac_exeext &&
32884 $as_test_x conftest$ac_exeext; then
32885 ac_cv_lib_Sgm_SgCreateList=yes
32887 echo "$as_me: failed program was:" >&5
32888 sed 's/^/| /' conftest.$ac_ext >&5
32890 ac_cv_lib_Sgm_SgCreateList=no
32893 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32894 conftest$ac_exeext conftest.$ac_ext
32895 LIBS=$ac_check_lib_save_LIBS
32897 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32898 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
32899 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
32900 libsgm_link=" -lSgm"
32904 save_CFLAGS=$CFLAGS
32905 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32907 { echo "$as_me:$LINENO: checking for Motif 2" >&5
32908 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
32909 if test "${wx_cv_lib_motif2+set}" = set; then
32910 echo $ECHO_N "(cached) $ECHO_C" >&6
32912 cat >conftest.$ac_ext <<_ACEOF
32915 cat confdefs.h >>conftest.$ac_ext
32916 cat >>conftest.$ac_ext <<_ACEOF
32917 /* end confdefs.h. */
32925 #if XmVersion < 2000
32933 rm -f conftest.$ac_objext
32934 if { (ac_try="$ac_compile"
32935 case "(($ac_try" in
32936 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32937 *) ac_try_echo
=$ac_try;;
32939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32940 (eval "$ac_compile") 2>conftest.er1
32942 grep -v '^ *+' conftest.er1
>conftest.err
32944 cat conftest.err
>&5
32945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32946 (exit $ac_status); } && {
32947 test -z "$ac_c_werror_flag" ||
32948 test ! -s conftest.err
32949 } && test -s conftest.
$ac_objext; then
32950 wx_cv_lib_motif2
="yes"
32952 echo "$as_me: failed program was:" >&5
32953 sed 's/^/| /' conftest.
$ac_ext >&5
32955 wx_cv_lib_motif2
="no"
32958 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32960 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32961 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
32962 if test "$wx_cv_lib_motif2" = "yes"; then
32963 cat >>confdefs.h
<<\_ACEOF
32964 #define __WXMOTIF20__ 1
32968 cat >>confdefs.h
<<\_ACEOF
32969 #define __WXMOTIF20__ 0
32974 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32975 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
32976 if test "${wx_cv_lib_lesstif+set}" = set; then
32977 echo $ECHO_N "(cached) $ECHO_C" >&6
32979 cat >conftest.
$ac_ext <<_ACEOF
32982 cat confdefs.h
>>conftest.
$ac_ext
32983 cat >>conftest.
$ac_ext <<_ACEOF
32984 /* end confdefs.h. */
32992 #if !defined(LesstifVersion) || LesstifVersion <= 0
33000 rm -f conftest.
$ac_objext
33001 if { (ac_try
="$ac_compile"
33002 case "(($ac_try" in
33003 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33004 *) ac_try_echo=$ac_try;;
33006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33007 (eval "$ac_compile") 2>conftest.er1
33009 grep -v '^ *+' conftest.er1 >conftest.err
33011 cat conftest.err >&5
33012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33013 (exit $ac_status); } && {
33014 test -z "$ac_c_werror_flag" ||
33015 test ! -s conftest.err
33016 } && test -s conftest.$ac_objext; then
33017 wx_cv_lib_lesstif="yes"
33019 echo "$as_me: failed program was:" >&5
33020 sed 's/^/| /' conftest.$ac_ext >&5
33022 wx_cv_lib_lesstif="no"
33025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33028 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
33029 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
33030 if test "$wx_cv_lib_lesstif" = "yes"; then
33031 cat >>confdefs.h <<\_ACEOF
33032 #define __WXLESSTIF__ 1
33036 cat >>confdefs.h <<\_ACEOF
33037 #define __WXLESSTIF__ 0
33042 CFLAGS=$save_CFLAGS
33044 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
33049 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
33050 if test "$wxUSE_LIBXPM" = "sys"; then
33051 { echo "$as_me:$LINENO: checking for Xpm library" >&5
33052 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
33055 for ac_dir in $SEARCH_LIB;
33057 for ac_extension in a so sl dylib dll.a; do
33058 if test -f "$ac_dir/libXpm.$ac_extension"; then
33059 ac_find_libraries=$ac_dir
33065 if test "$ac_find_libraries" != "" ; then
33067 if test "$ac_find_libraries" = "default location"; then
33070 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33072 if test $result = 0; then
33075 ac_path_to_link=" -L$ac_find_libraries"
33079 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33080 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33081 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33083 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
33084 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
33085 if test "${wx_cv_x11_xpm_h+set}" = set; then
33086 echo $ECHO_N "(cached) $ECHO_C" >&6
33089 save_CFLAGS=$CFLAGS
33090 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33092 cat >conftest.$ac_ext <<_ACEOF
33095 cat confdefs.h >>conftest.$ac_ext
33096 cat >>conftest.$ac_ext <<_ACEOF
33097 /* end confdefs.h. */
33099 #include <X11/xpm.h>
33106 version = XpmLibraryVersion();
33112 rm -f conftest.$ac_objext
33113 if { (ac_try="$ac_compile"
33114 case "(($ac_try" in
33115 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33116 *) ac_try_echo
=$ac_try;;
33118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33119 (eval "$ac_compile") 2>conftest.er1
33121 grep -v '^ *+' conftest.er1
>conftest.err
33123 cat conftest.err
>&5
33124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33125 (exit $ac_status); } && {
33126 test -z "$ac_c_werror_flag" ||
33127 test ! -s conftest.err
33128 } && test -s conftest.
$ac_objext; then
33129 wx_cv_x11_xpm_h
=yes
33131 echo "$as_me: failed program was:" >&5
33132 sed 's/^/| /' conftest.
$ac_ext >&5
33138 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33140 CFLAGS
=$save_CFLAGS
33144 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
33145 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
33147 if test $wx_cv_x11_xpm_h = "yes"; then
33148 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
33149 cat >>confdefs.h
<<\_ACEOF
33150 #define wxHAVE_LIB_XPM 1
33154 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
33155 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
33161 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
33162 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
33163 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
33164 echo $ECHO_N "(cached) $ECHO_C" >&6
33166 ac_check_lib_save_LIBS
=$LIBS
33167 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
33168 cat >conftest.
$ac_ext <<_ACEOF
33171 cat confdefs.h
>>conftest.
$ac_ext
33172 cat >>conftest.
$ac_ext <<_ACEOF
33173 /* end confdefs.h. */
33175 /* Override any GCC internal prototype to avoid an error.
33176 Use char because int might match the return type of a GCC
33177 builtin and then its argument prototype would still apply. */
33181 char XShapeQueryExtension ();
33185 return XShapeQueryExtension ();
33190 rm -f conftest.
$ac_objext conftest
$ac_exeext
33191 if { (ac_try
="$ac_link"
33192 case "(($ac_try" in
33193 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33194 *) ac_try_echo=$ac_try;;
33196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33197 (eval "$ac_link") 2>conftest.er1
33199 grep -v '^ *+' conftest.er1 >conftest.err
33201 cat conftest.err >&5
33202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33203 (exit $ac_status); } && {
33204 test -z "$ac_c_werror_flag" ||
33205 test ! -s conftest.err
33206 } && test -s conftest$ac_exeext &&
33207 $as_test_x conftest$ac_exeext; then
33208 ac_cv_lib_Xext_XShapeQueryExtension=yes
33210 echo "$as_me: failed program was:" >&5
33211 sed 's/^/| /' conftest.$ac_ext >&5
33213 ac_cv_lib_Xext_XShapeQueryExtension=no
33216 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33217 conftest$ac_exeext conftest.$ac_ext
33218 LIBS=$ac_check_lib_save_LIBS
33220 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
33221 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
33222 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
33224 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
33230 if test "$wxHAVE_XEXT_LIB" = 1; then
33231 save_CFLAGS="$CFLAGS"
33232 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33234 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
33235 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
33236 cat >conftest.$ac_ext <<_ACEOF
33239 cat confdefs.h >>conftest.$ac_ext
33240 cat >>conftest.$ac_ext <<_ACEOF
33241 /* end confdefs.h. */
33243 #include <X11/Xlib.h>
33244 #include <X11/extensions/shape.h>
33250 int dummy1, dummy2;
33251 XShapeQueryExtension((Display*)NULL,
33252 (int*)NULL, (int*)NULL);
33258 rm -f conftest.$ac_objext
33259 if { (ac_try="$ac_compile"
33260 case "(($ac_try" in
33261 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33262 *) ac_try_echo
=$ac_try;;
33264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33265 (eval "$ac_compile") 2>conftest.er1
33267 grep -v '^ *+' conftest.er1
>conftest.err
33269 cat conftest.err
>&5
33270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33271 (exit $ac_status); } && {
33272 test -z "$ac_c_werror_flag" ||
33273 test ! -s conftest.err
33274 } && test -s conftest.
$ac_objext; then
33276 cat >>confdefs.h
<<\_ACEOF
33277 #define HAVE_XSHAPE 1
33280 { echo "$as_me:$LINENO: result: found" >&5
33281 echo "${ECHO_T}found" >&6; }
33284 echo "$as_me: failed program was:" >&5
33285 sed 's/^/| /' conftest.
$ac_ext >&5
33288 { echo "$as_me:$LINENO: result: not found" >&5
33289 echo "${ECHO_T}not found" >&6; }
33293 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33294 CFLAGS
="$save_CFLAGS"
33299 if test "$wxUSE_MAC" = 1; then
33300 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
33301 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
33302 if test "$GCC" = yes; then
33303 { echo "$as_me:$LINENO: result: gcc" >&5
33304 echo "${ECHO_T}gcc" >&6; }
33305 CPPFLAGS_PASCAL
="-fpascal-strings"
33306 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
33307 { echo "$as_me:$LINENO: result: xlc" >&5
33308 echo "${ECHO_T}xlc" >&6; }
33309 CPPFLAGS_PASCAL
="-qmacpstr"
33311 { echo "$as_me:$LINENO: result: none" >&5
33312 echo "${ECHO_T}none" >&6; }
33315 if test "x$wxUSE_UNIX" = "xyes"; then
33316 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
33318 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
33323 WXBASEPORT
="_carbon"
33326 if test "$wxUSE_COCOA" = 1; then
33331 if test "$wxUSE_PM" = 1; then
33334 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
33335 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
33336 if test "${wx_cv_spbcdata+set}" = set; then
33337 echo $ECHO_N "(cached) $ECHO_C" >&6
33340 cat >conftest.
$ac_ext <<_ACEOF
33343 cat confdefs.h
>>conftest.
$ac_ext
33344 cat >>conftest.
$ac_ext <<_ACEOF
33345 /* end confdefs.h. */
33360 rm -f conftest.
$ac_objext
33361 if { (ac_try
="$ac_compile"
33362 case "(($ac_try" in
33363 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33364 *) ac_try_echo=$ac_try;;
33366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33367 (eval "$ac_compile") 2>conftest.er1
33369 grep -v '^ *+' conftest.er1 >conftest.err
33371 cat conftest.err >&5
33372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33373 (exit $ac_status); } && {
33374 test -z "$ac_c_werror_flag" ||
33375 test ! -s conftest.err
33376 } && test -s conftest.$ac_objext; then
33379 echo "$as_me: failed program was:" >&5
33380 sed 's/^/| /' conftest.$ac_ext >&5
33386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33390 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
33391 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
33393 if test $wx_cv_spbcdata = "yes"; then
33394 cat >>confdefs.h <<\_ACEOF
33395 #define HAVE_SPBCDATA 1
33401 if test "$TOOLKIT" = "PM" ; then
33404 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
33407 if test "$wxUSE_UNIVERSAL" = "yes"; then
33408 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
33412 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
33413 DISTDIR="wx\$(TOOLKIT)"
33419 if test "$USE_WIN32" = 1 ; then
33423 GUIDIST="BASE_DIST"
33428 if test "$wxUSE_GUI" = "yes"; then
33429 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
33431 for ac_header in X11/Xlib.h
33433 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33434 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33435 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33436 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33437 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33438 echo $ECHO_N "(cached) $ECHO_C" >&6
33440 ac_res=`eval echo '${'$as_ac_Header'}'`
33441 { echo "$as_me:$LINENO: result: $ac_res" >&5
33442 echo "${ECHO_T}$ac_res" >&6; }
33444 # Is the header compilable?
33445 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
33446 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
33447 cat >conftest.$ac_ext <<_ACEOF
33450 cat confdefs.h >>conftest.$ac_ext
33451 cat >>conftest.$ac_ext <<_ACEOF
33452 /* end confdefs.h. */
33453 $ac_includes_default
33454 #include <$ac_header>
33456 rm -f conftest.$ac_objext
33457 if { (ac_try="$ac_compile"
33458 case "(($ac_try" in
33459 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33460 *) ac_try_echo
=$ac_try;;
33462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33463 (eval "$ac_compile") 2>conftest.er1
33465 grep -v '^ *+' conftest.er1
>conftest.err
33467 cat conftest.err
>&5
33468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33469 (exit $ac_status); } && {
33470 test -z "$ac_c_werror_flag" ||
33471 test ! -s conftest.err
33472 } && test -s conftest.
$ac_objext; then
33473 ac_header_compiler
=yes
33475 echo "$as_me: failed program was:" >&5
33476 sed 's/^/| /' conftest.
$ac_ext >&5
33478 ac_header_compiler
=no
33481 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33482 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33483 echo "${ECHO_T}$ac_header_compiler" >&6; }
33485 # Is the header present?
33486 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
33487 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
33488 cat >conftest.
$ac_ext <<_ACEOF
33491 cat confdefs.h
>>conftest.
$ac_ext
33492 cat >>conftest.
$ac_ext <<_ACEOF
33493 /* end confdefs.h. */
33494 #include <$ac_header>
33496 if { (ac_try
="$ac_cpp conftest.$ac_ext"
33497 case "(($ac_try" in
33498 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33499 *) ac_try_echo=$ac_try;;
33501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33502 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
33504 grep -v '^ *+' conftest.er1 >conftest.err
33506 cat conftest.err >&5
33507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33508 (exit $ac_status); } >/dev/null && {
33509 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
33510 test ! -s conftest.err
33512 ac_header_preproc=yes
33514 echo "$as_me: failed program was:" >&5
33515 sed 's/^/| /' conftest.$ac_ext >&5
33517 ac_header_preproc=no
33520 rm -f conftest.err conftest.$ac_ext
33521 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33522 echo "${ECHO_T}$ac_header_preproc" >&6; }
33524 # So? What about this header?
33525 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33527 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
33528 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
33529 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
33530 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
33531 ac_header_preproc=yes
33534 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
33535 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
33536 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
33537 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
33538 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
33539 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
33540 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
33541 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
33542 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33543 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33544 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
33545 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
33547 ## ----------------------------------------- ##
33548 ## Report this to wx-dev@lists.wxwidgets.org ##
33549 ## ----------------------------------------- ##
33551 ) | sed "s/^/$as_me: WARNING: /" >&2
33554 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33555 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33556 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33557 echo $ECHO_N "(cached) $ECHO_C" >&6
33559 eval "$as_ac_Header=\$ac_header_preproc"
33561 ac_res=`eval echo '${'$as_ac_Header'}'`
33562 { echo "$as_me:$LINENO: result: $ac_res" >&5
33563 echo "${ECHO_T}$ac_res" >&6; }
33566 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33567 cat >>confdefs.h <<_ACEOF
33568 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33576 for ac_header in X11/XKBlib.h
33578 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33579 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33580 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33581 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33582 echo $ECHO_N "(cached) $ECHO_C" >&6
33584 cat >conftest.$ac_ext <<_ACEOF
33587 cat confdefs.h >>conftest.$ac_ext
33588 cat >>conftest.$ac_ext <<_ACEOF
33589 /* end confdefs.h. */
33591 #if HAVE_X11_XLIB_H
33592 #include <X11/Xlib.h>
33596 #include <$ac_header>
33598 rm -f conftest.$ac_objext
33599 if { (ac_try="$ac_compile"
33600 case "(($ac_try" in
33601 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33602 *) ac_try_echo
=$ac_try;;
33604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33605 (eval "$ac_compile") 2>conftest.er1
33607 grep -v '^ *+' conftest.er1
>conftest.err
33609 cat conftest.err
>&5
33610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33611 (exit $ac_status); } && {
33612 test -z "$ac_c_werror_flag" ||
33613 test ! -s conftest.err
33614 } && test -s conftest.
$ac_objext; then
33615 eval "$as_ac_Header=yes"
33617 echo "$as_me: failed program was:" >&5
33618 sed 's/^/| /' conftest.
$ac_ext >&5
33620 eval "$as_ac_Header=no"
33623 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33625 ac_res
=`eval echo '${'$as_ac_Header'}'`
33626 { echo "$as_me:$LINENO: result: $ac_res" >&5
33627 echo "${ECHO_T}$ac_res" >&6; }
33628 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33629 cat >>confdefs.h
<<_ACEOF
33630 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33645 if test "$TOOLKIT" != "MSW" ; then
33647 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
33649 if test "${ac_cv_header_sql_h+set}" = set; then
33650 { echo "$as_me:$LINENO: checking for sql.h" >&5
33651 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
33652 if test "${ac_cv_header_sql_h+set}" = set; then
33653 echo $ECHO_N "(cached) $ECHO_C" >&6
33655 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
33656 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
33658 # Is the header compilable?
33659 { echo "$as_me:$LINENO: checking sql.h usability" >&5
33660 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6; }
33661 cat >conftest.
$ac_ext <<_ACEOF
33664 cat confdefs.h
>>conftest.
$ac_ext
33665 cat >>conftest.
$ac_ext <<_ACEOF
33666 /* end confdefs.h. */
33667 $ac_includes_default
33670 rm -f conftest.
$ac_objext
33671 if { (ac_try
="$ac_compile"
33672 case "(($ac_try" in
33673 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33674 *) ac_try_echo=$ac_try;;
33676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33677 (eval "$ac_compile") 2>conftest.er1
33679 grep -v '^ *+' conftest.er1 >conftest.err
33681 cat conftest.err >&5
33682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33683 (exit $ac_status); } && {
33684 test -z "$ac_c_werror_flag" ||
33685 test ! -s conftest.err
33686 } && test -s conftest.$ac_objext; then
33687 ac_header_compiler=yes
33689 echo "$as_me: failed program was:" >&5
33690 sed 's/^/| /' conftest.$ac_ext >&5
33692 ac_header_compiler=no
33695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33696 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33697 echo "${ECHO_T}$ac_header_compiler" >&6; }
33699 # Is the header present?
33700 { echo "$as_me:$LINENO: checking sql.h presence" >&5
33701 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6; }
33702 cat >conftest.$ac_ext <<_ACEOF
33705 cat confdefs.h >>conftest.$ac_ext
33706 cat >>conftest.$ac_ext <<_ACEOF
33707 /* end confdefs.h. */
33710 if { (ac_try="$ac_cpp conftest.$ac_ext"
33711 case "(($ac_try" in
33712 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33713 *) ac_try_echo
=$ac_try;;
33715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33716 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
33718 grep -v '^ *+' conftest.er1
>conftest.err
33720 cat conftest.err
>&5
33721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33722 (exit $ac_status); } >/dev
/null
&& {
33723 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
33724 test ! -s conftest.err
33726 ac_header_preproc
=yes
33728 echo "$as_me: failed program was:" >&5
33729 sed 's/^/| /' conftest.
$ac_ext >&5
33731 ac_header_preproc
=no
33734 rm -f conftest.err conftest.
$ac_ext
33735 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33736 echo "${ECHO_T}$ac_header_preproc" >&6; }
33738 # So? What about this header?
33739 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33741 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
33742 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
33743 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
33744 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
33745 ac_header_preproc
=yes
33748 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
33749 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
33750 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
33751 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
33752 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
33753 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
33754 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
33755 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
33756 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
33757 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
33758 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
33759 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
33761 ## ----------------------------------------- ##
33762 ## Report this to wx-dev@lists.wxwidgets.org ##
33763 ## ----------------------------------------- ##
33765 ) | sed "s/^/$as_me: WARNING: /" >&2
33768 { echo "$as_me:$LINENO: checking for sql.h" >&5
33769 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
33770 if test "${ac_cv_header_sql_h+set}" = set; then
33771 echo $ECHO_N "(cached) $ECHO_C" >&6
33773 ac_cv_header_sql_h
=$ac_header_preproc
33775 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
33776 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
33779 if test $ac_cv_header_sql_h = yes; then
33784 if test "x$found_sql_h" = "x1" ; then
33785 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
33786 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6; }
33787 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
33788 echo $ECHO_N "(cached) $ECHO_C" >&6
33790 ac_check_lib_save_LIBS
=$LIBS
33791 LIBS
="-liodbc $LIBS"
33792 cat >conftest.
$ac_ext <<_ACEOF
33795 cat confdefs.h
>>conftest.
$ac_ext
33796 cat >>conftest.
$ac_ext <<_ACEOF
33797 /* end confdefs.h. */
33799 /* Override any GCC internal prototype to avoid an error.
33800 Use char because int might match the return type of a GCC
33801 builtin and then its argument prototype would still apply. */
33805 char SQLAllocEnv ();
33809 return SQLAllocEnv ();
33814 rm -f conftest.
$ac_objext conftest
$ac_exeext
33815 if { (ac_try
="$ac_link"
33816 case "(($ac_try" in
33817 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33818 *) ac_try_echo=$ac_try;;
33820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33821 (eval "$ac_link") 2>conftest.er1
33823 grep -v '^ *+' conftest.er1 >conftest.err
33825 cat conftest.err >&5
33826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33827 (exit $ac_status); } && {
33828 test -z "$ac_c_werror_flag" ||
33829 test ! -s conftest.err
33830 } && test -s conftest$ac_exeext &&
33831 $as_test_x conftest$ac_exeext; then
33832 ac_cv_lib_iodbc_SQLAllocEnv=yes
33834 echo "$as_me: failed program was:" >&5
33835 sed 's/^/| /' conftest.$ac_ext >&5
33837 ac_cv_lib_iodbc_SQLAllocEnv=no
33840 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33841 conftest$ac_exeext conftest.$ac_ext
33842 LIBS=$ac_check_lib_save_LIBS
33844 { echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
33845 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6; }
33846 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
33847 ODBC_LINK=" -liodbc"
33850 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
33851 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6; }
33852 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
33853 echo $ECHO_N "(cached) $ECHO_C" >&6
33855 ac_check_lib_save_LIBS=$LIBS
33856 LIBS="-lunixodbc $LIBS"
33857 cat >conftest.$ac_ext <<_ACEOF
33860 cat confdefs.h >>conftest.$ac_ext
33861 cat >>conftest.$ac_ext <<_ACEOF
33862 /* end confdefs.h. */
33864 /* Override any GCC internal prototype to avoid an error.
33865 Use char because int might match the return type of a GCC
33866 builtin and then its argument prototype would still apply. */
33870 char SQLAllocEnv ();
33874 return SQLAllocEnv ();
33879 rm -f conftest.$ac_objext conftest$ac_exeext
33880 if { (ac_try="$ac_link"
33881 case "(($ac_try" in
33882 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33883 *) ac_try_echo
=$ac_try;;
33885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33886 (eval "$ac_link") 2>conftest.er1
33888 grep -v '^ *+' conftest.er1
>conftest.err
33890 cat conftest.err
>&5
33891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33892 (exit $ac_status); } && {
33893 test -z "$ac_c_werror_flag" ||
33894 test ! -s conftest.err
33895 } && test -s conftest
$ac_exeext &&
33896 $as_test_x conftest
$ac_exeext; then
33897 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
33899 echo "$as_me: failed program was:" >&5
33900 sed 's/^/| /' conftest.
$ac_ext >&5
33902 ac_cv_lib_unixodbc_SQLAllocEnv
=no
33905 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33906 conftest
$ac_exeext conftest.
$ac_ext
33907 LIBS
=$ac_check_lib_save_LIBS
33909 { echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
33910 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6; }
33911 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
33912 ODBC_LINK
=" -lunixodbc"
33915 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
33916 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6; }
33917 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
33918 echo $ECHO_N "(cached) $ECHO_C" >&6
33920 ac_check_lib_save_LIBS
=$LIBS
33921 LIBS
="-lodbc $LIBS"
33922 cat >conftest.
$ac_ext <<_ACEOF
33925 cat confdefs.h
>>conftest.
$ac_ext
33926 cat >>conftest.
$ac_ext <<_ACEOF
33927 /* end confdefs.h. */
33929 /* Override any GCC internal prototype to avoid an error.
33930 Use char because int might match the return type of a GCC
33931 builtin and then its argument prototype would still apply. */
33935 char SQLAllocEnv ();
33939 return SQLAllocEnv ();
33944 rm -f conftest.
$ac_objext conftest
$ac_exeext
33945 if { (ac_try
="$ac_link"
33946 case "(($ac_try" in
33947 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33948 *) ac_try_echo=$ac_try;;
33950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33951 (eval "$ac_link") 2>conftest.er1
33953 grep -v '^ *+' conftest.er1 >conftest.err
33955 cat conftest.err >&5
33956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33957 (exit $ac_status); } && {
33958 test -z "$ac_c_werror_flag" ||
33959 test ! -s conftest.err
33960 } && test -s conftest$ac_exeext &&
33961 $as_test_x conftest$ac_exeext; then
33962 ac_cv_lib_odbc_SQLAllocEnv=yes
33964 echo "$as_me: failed program was:" >&5
33965 sed 's/^/| /' conftest.$ac_ext >&5
33967 ac_cv_lib_odbc_SQLAllocEnv=no
33970 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33971 conftest$ac_exeext conftest.$ac_ext
33972 LIBS=$ac_check_lib_save_LIBS
33974 { echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
33975 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6; }
33976 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
33977 ODBC_LINK=" -lodbc"
33987 if test "x$ODBC_LINK" = "x" ; then
33988 if test "$wxUSE_ODBC" = "sys" ; then
33989 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
33990 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
33991 { (exit 1); exit 1; }; }
33993 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
33994 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
34002 if test "$wxUSE_ODBC" = "builtin" ; then
34003 cat >>confdefs.h <<\_ACEOF
34004 #define wxUSE_BUILTIN_IODBC 1
34010 if test "$wxUSE_ODBC" != "no" ; then
34011 cat >>confdefs.h <<\_ACEOF
34012 #define wxUSE_ODBC 1
34015 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
34017 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
34021 if test "$wxUSE_DISPLAY" = "yes"; then
34022 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
34023 { echo "$as_me:$LINENO: checking for Xinerama" >&5
34024 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
34027 for ac_dir in $SEARCH_LIB;
34029 for ac_extension in a so sl dylib dll.a; do
34030 if test -f "$ac_dir/libXinerama.$ac_extension"; then
34031 ac_find_libraries=$ac_dir
34037 if test "$ac_find_libraries" != "" ; then
34039 if test "$ac_find_libraries" = "default location"; then
34042 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34044 if test $result = 0; then
34047 ac_path_to_link=" -L$ac_find_libraries"
34051 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34052 LDFLAGS="$LDFLAGS $ac_path_to_link"
34054 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
34055 { echo "$as_me:$LINENO: result: yes" >&5
34056 echo "${ECHO_T}yes" >&6; }
34058 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
34059 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
34062 for ac_dir in $SEARCH_LIB;
34064 for ac_extension in a so sl dylib dll.a; do
34065 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
34066 ac_find_libraries=$ac_dir
34072 if test "$ac_find_libraries" != "" ; then
34073 { echo "$as_me:$LINENO: result: yes" >&5
34074 echo "${ECHO_T}yes" >&6; }
34076 for ac_header in X11/extensions/xf86vmode.h
34078 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34079 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34080 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34081 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34082 echo $ECHO_N "(cached) $ECHO_C" >&6
34084 cat >conftest.$ac_ext <<_ACEOF
34087 cat confdefs.h >>conftest.$ac_ext
34088 cat >>conftest.$ac_ext <<_ACEOF
34089 /* end confdefs.h. */
34091 #if HAVE_X11_XLIB_H
34092 #include <X11/Xlib.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
34133 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
34140 { echo "$as_me:$LINENO: result: no" >&5
34141 echo "${ECHO_T}no" >&6; }
34145 { echo "$as_me:$LINENO: result: no" >&5
34146 echo "${ECHO_T}no" >&6; }
34147 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
34148 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
34151 elif test "$wxUSE_MSW" = 1; then
34153 for ac_header
in ddraw.h
34155 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34156 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34157 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34158 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34159 echo $ECHO_N "(cached) $ECHO_C" >&6
34161 cat >conftest.
$ac_ext <<_ACEOF
34164 cat confdefs.h
>>conftest.
$ac_ext
34165 cat >>conftest.
$ac_ext <<_ACEOF
34166 /* end confdefs.h. */
34167 #include <windows.h>
34169 #include <$ac_header>
34171 rm -f conftest.
$ac_objext
34172 if { (ac_try
="$ac_compile"
34173 case "(($ac_try" in
34174 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34175 *) ac_try_echo=$ac_try;;
34177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34178 (eval "$ac_compile") 2>conftest.er1
34180 grep -v '^ *+' conftest.er1 >conftest.err
34182 cat conftest.err >&5
34183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34184 (exit $ac_status); } && {
34185 test -z "$ac_c_werror_flag" ||
34186 test ! -s conftest.err
34187 } && test -s conftest.$ac_objext; then
34188 eval "$as_ac_Header=yes"
34190 echo "$as_me: failed program was:" >&5
34191 sed 's/^/| /' conftest.$ac_ext >&5
34193 eval "$as_ac_Header=no"
34196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34198 ac_res=`eval echo '${'$as_ac_Header'}'`
34199 { echo "$as_me:$LINENO: result: $ac_res" >&5
34200 echo "${ECHO_T}$ac_res" >&6; }
34201 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34202 cat >>confdefs.h <<_ACEOF
34203 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34213 if test "$wxUSE_DETECT_SM" = "yes"; then
34214 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
34215 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
34216 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
34219 for ac_dir in $SEARCH_LIB;
34221 for ac_extension in a so sl dylib dll.a; do
34222 if test -f "$ac_dir/libSM.$ac_extension"; then
34223 ac_find_libraries=$ac_dir
34229 if test "$ac_find_libraries" != "" ; then
34231 if test "$ac_find_libraries" = "default location"; then
34234 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34236 if test $result = 0; then
34239 ac_path_to_link=" -L$ac_find_libraries"
34243 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34244 LDFLAGS="$LDFLAGS $ac_path_to_link"
34246 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
34247 { echo "$as_me:$LINENO: result: yes" >&5
34248 echo "${ECHO_T}yes" >&6; }
34250 { echo "$as_me:$LINENO: result: no" >&5
34251 echo "${ECHO_T}no" >&6; }
34252 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
34253 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
34254 wxUSE_DETECT_SM="no"
34257 wxUSE_DETECT_SM="no"
34264 if test "$wxUSE_OPENGL" = "yes"; then
34265 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
34266 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
34267 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
34269 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
34270 OPENGL_LIBS="-framework OpenGL -framework AGL"
34271 elif test "$wxUSE_MSW" = 1; then
34272 OPENGL_LIBS="-lopengl32 -lglu32"
34274 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
34275 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
34278 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
34280 if test -f "$ac_dir/GL/gl.h"; then
34281 ac_find_includes=$ac_dir
34286 if test "$ac_find_includes" != "" ; then
34287 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
34288 echo "${ECHO_T}found in $ac_find_includes" >&6; }
34290 if test "x$ac_find_includes" = "x/usr/include"; then
34291 ac_path_to_include=""
34293 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
34295 if test $result = 0; then
34296 ac_path_to_include=""
34298 ac_path_to_include=" -I$ac_find_includes"
34302 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
34304 { echo "$as_me:$LINENO: result: not found" >&5
34305 echo "${ECHO_T}not found" >&6; }
34308 if test "${ac_cv_header_GL_gl_h+set}" = set; then
34309 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
34310 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
34311 if test "${ac_cv_header_GL_gl_h+set}" = set; then
34312 echo $ECHO_N "(cached) $ECHO_C" >&6
34314 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
34315 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
34317 # Is the header compilable?
34318 { echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
34319 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6; }
34320 cat >conftest.$ac_ext <<_ACEOF
34323 cat confdefs.h >>conftest.$ac_ext
34324 cat >>conftest.$ac_ext <<_ACEOF
34325 /* end confdefs.h. */
34326 $ac_includes_default
34329 rm -f conftest.$ac_objext
34330 if { (ac_try="$ac_compile"
34331 case "(($ac_try" in
34332 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34333 *) ac_try_echo
=$ac_try;;
34335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34336 (eval "$ac_compile") 2>conftest.er1
34338 grep -v '^ *+' conftest.er1
>conftest.err
34340 cat conftest.err
>&5
34341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34342 (exit $ac_status); } && {
34343 test -z "$ac_c_werror_flag" ||
34344 test ! -s conftest.err
34345 } && test -s conftest.
$ac_objext; then
34346 ac_header_compiler
=yes
34348 echo "$as_me: failed program was:" >&5
34349 sed 's/^/| /' conftest.
$ac_ext >&5
34351 ac_header_compiler
=no
34354 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34355 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34356 echo "${ECHO_T}$ac_header_compiler" >&6; }
34358 # Is the header present?
34359 { echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
34360 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6; }
34361 cat >conftest.
$ac_ext <<_ACEOF
34364 cat confdefs.h
>>conftest.
$ac_ext
34365 cat >>conftest.
$ac_ext <<_ACEOF
34366 /* end confdefs.h. */
34369 if { (ac_try
="$ac_cpp conftest.$ac_ext"
34370 case "(($ac_try" in
34371 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34372 *) ac_try_echo=$ac_try;;
34374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34375 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
34377 grep -v '^ *+' conftest.er1 >conftest.err
34379 cat conftest.err >&5
34380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34381 (exit $ac_status); } >/dev/null && {
34382 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
34383 test ! -s conftest.err
34385 ac_header_preproc=yes
34387 echo "$as_me: failed program was:" >&5
34388 sed 's/^/| /' conftest.$ac_ext >&5
34390 ac_header_preproc=no
34393 rm -f conftest.err conftest.$ac_ext
34394 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34395 echo "${ECHO_T}$ac_header_preproc" >&6; }
34397 # So? What about this header?
34398 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34400 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
34401 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
34402 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
34403 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
34404 ac_header_preproc=yes
34407 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
34408 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
34409 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
34410 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
34411 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
34412 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
34413 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
34414 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
34415 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
34416 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
34417 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
34418 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
34420 ## ----------------------------------------- ##
34421 ## Report this to wx-dev@lists.wxwidgets.org ##
34422 ## ----------------------------------------- ##
34424 ) | sed "s/^/$as_me: WARNING: /" >&2
34427 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
34428 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
34429 if test "${ac_cv_header_GL_gl_h+set}" = set; then
34430 echo $ECHO_N "(cached) $ECHO_C" >&6
34432 ac_cv_header_GL_gl_h=$ac_header_preproc
34434 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
34435 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
34438 if test $ac_cv_header_GL_gl_h = yes; then
34440 if test "${ac_cv_header_GL_glu_h+set}" = set; then
34441 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
34442 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
34443 if test "${ac_cv_header_GL_glu_h+set}" = set; then
34444 echo $ECHO_N "(cached) $ECHO_C" >&6
34446 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
34447 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
34449 # Is the header compilable?
34450 { echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
34451 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6; }
34452 cat >conftest.$ac_ext <<_ACEOF
34455 cat confdefs.h >>conftest.$ac_ext
34456 cat >>conftest.$ac_ext <<_ACEOF
34457 /* end confdefs.h. */
34458 $ac_includes_default
34459 #include <GL/glu.h>
34461 rm -f conftest.$ac_objext
34462 if { (ac_try="$ac_compile"
34463 case "(($ac_try" in
34464 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34465 *) ac_try_echo
=$ac_try;;
34467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34468 (eval "$ac_compile") 2>conftest.er1
34470 grep -v '^ *+' conftest.er1
>conftest.err
34472 cat conftest.err
>&5
34473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34474 (exit $ac_status); } && {
34475 test -z "$ac_c_werror_flag" ||
34476 test ! -s conftest.err
34477 } && test -s conftest.
$ac_objext; then
34478 ac_header_compiler
=yes
34480 echo "$as_me: failed program was:" >&5
34481 sed 's/^/| /' conftest.
$ac_ext >&5
34483 ac_header_compiler
=no
34486 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34487 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34488 echo "${ECHO_T}$ac_header_compiler" >&6; }
34490 # Is the header present?
34491 { echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
34492 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6; }
34493 cat >conftest.
$ac_ext <<_ACEOF
34496 cat confdefs.h
>>conftest.
$ac_ext
34497 cat >>conftest.
$ac_ext <<_ACEOF
34498 /* end confdefs.h. */
34499 #include <GL/glu.h>
34501 if { (ac_try
="$ac_cpp conftest.$ac_ext"
34502 case "(($ac_try" in
34503 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34504 *) ac_try_echo=$ac_try;;
34506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34507 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
34509 grep -v '^ *+' conftest.er1 >conftest.err
34511 cat conftest.err >&5
34512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34513 (exit $ac_status); } >/dev/null && {
34514 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
34515 test ! -s conftest.err
34517 ac_header_preproc=yes
34519 echo "$as_me: failed program was:" >&5
34520 sed 's/^/| /' conftest.$ac_ext >&5
34522 ac_header_preproc=no
34525 rm -f conftest.err conftest.$ac_ext
34526 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34527 echo "${ECHO_T}$ac_header_preproc" >&6; }
34529 # So? What about this header?
34530 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34532 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
34533 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
34534 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
34535 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
34536 ac_header_preproc=yes
34539 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
34540 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
34541 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
34542 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
34543 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
34544 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
34545 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
34546 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
34547 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
34548 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
34549 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
34550 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
34552 ## ----------------------------------------- ##
34553 ## Report this to wx-dev@lists.wxwidgets.org ##
34554 ## ----------------------------------------- ##
34556 ) | sed "s/^/$as_me: WARNING: /" >&2
34559 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
34560 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
34561 if test "${ac_cv_header_GL_glu_h+set}" = set; then
34562 echo $ECHO_N "(cached) $ECHO_C" >&6
34564 ac_cv_header_GL_glu_h=$ac_header_preproc
34566 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
34567 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
34570 if test $ac_cv_header_GL_glu_h = yes; then
34574 { echo "$as_me:$LINENO: checking for -lGL" >&5
34575 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
34578 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
34580 for ac_extension in a so sl dylib dll.a; do
34581 if test -f "$ac_dir/libGL.$ac_extension"; then
34582 ac_find_libraries=$ac_dir
34588 if test "$ac_find_libraries" != "" ; then
34589 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34590 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34593 if test "$ac_find_libraries" = "default location"; then
34596 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34598 if test $result = 0; then
34601 ac_path_to_link=" -L$ac_find_libraries"
34605 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34606 LDFLAGS_GL="$ac_path_to_link"
34609 { echo "$as_me:$LINENO: checking for -lGLU" >&5
34610 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
34613 for ac_dir in $SEARCH_LIB;
34615 for ac_extension in a so sl dylib dll.a; do
34616 if test -f "$ac_dir/libGLU.$ac_extension"; then
34617 ac_find_libraries=$ac_dir
34623 if test "$ac_find_libraries" != "" ; then
34625 if test "$ac_find_libraries" = "default location"; then
34628 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34630 if test $result = 0; then
34633 ac_path_to_link=" -L$ac_find_libraries"
34637 if test "$ac_path_to_link" != " -L/usr/lib" -a \
34638 "$ac_path_to_link" != "$LDFLAGS_GL"; then
34639 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
34643 OPENGL_LIBS="-lGL -lGLU"
34644 { echo "$as_me:$LINENO: result: yes" >&5
34645 echo "${ECHO_T}yes" >&6; }
34647 { echo "$as_me:$LINENO: result: no" >&5
34648 echo "${ECHO_T}no" >&6; }
34651 { echo "$as_me:$LINENO: result: no" >&5
34652 echo "${ECHO_T}no" >&6; }
34655 if test "$found_gl" != 1; then
34656 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
34657 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
34660 for ac_dir in $SEARCH_LIB;
34662 for ac_extension in a so sl dylib dll.a; do
34663 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
34664 ac_find_libraries=$ac_dir
34670 if test "$ac_find_libraries" != "" ; then
34672 if test "$ac_find_libraries" = "default location"; then
34675 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34677 if test $result = 0; then
34680 ac_path_to_link=" -L$ac_find_libraries"
34684 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
34685 OPENGL_LIBS="-lMesaGL -lMesaGLU"
34686 { echo "$as_me:$LINENO: result: yes" >&5
34687 echo "${ECHO_T}yes" >&6; }
34689 { echo "$as_me:$LINENO: result: no" >&5
34690 echo "${ECHO_T}no" >&6; }
34702 if test "x$OPENGL_LIBS" = "x"; then
34703 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
34704 echo "$as_me: error: OpenGL libraries not available" >&2;}
34705 { (exit 1); exit 1; }; }
34709 if test "$wxUSE_OPENGL" = "yes"; then
34711 cat >>confdefs.h <<\_ACEOF
34712 #define wxUSE_OPENGL 1
34715 cat >>confdefs.h <<\_ACEOF
34716 #define wxUSE_GLCANVAS 1
34719 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
34724 if test -n "$TOOLKIT" ; then
34725 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
34730 if test "$wxUSE_SHARED" = "yes"; then
34734 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
34735 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
34740 if test "$wxUSE_SHARED" = "yes"; then
34744 *-*-cygwin* | *-*-mingw* )
34745 wx_cv_version_script=no
34749 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
34750 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
34751 if test "${wx_cv_version_script+set}" = set; then
34752 echo $ECHO_N "(cached) $ECHO_C" >&6
34755 echo "VER_1 { *; };" >conftest.sym
34756 echo "int main() { return 0; }" >conftest.cpp
34759 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34760 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
34761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34762 (eval $ac_try) 2>&5
34764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34765 (exit $ac_status); }; } ; then
34766 if test -s conftest.stderr ; then
34767 wx_cv_version_script=no
34769 wx_cv_version_script=yes
34772 wx_cv_version_script=no
34775 if test $wx_cv_version_script = yes
34777 echo "struct B { virtual ~B() { } }; \
34778 struct D : public B { }; \
34779 void F() { D d; }" > conftest.cpp
34782 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34783 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
34784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34785 (eval $ac_try) 2>&5
34787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34788 (exit $ac_status); }; } &&
34790 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34791 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
34792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34793 (eval $ac_try) 2>&5
34795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34796 (exit $ac_status); }; }
34799 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34800 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
34801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34802 (eval $ac_try) 2>&5
34804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34805 (exit $ac_status); }; }
34807 wx_cv_version_script=yes
34809 wx_cv_version_script=no
34814 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
34815 rm -f conftest1.output conftest2.output conftest3.output
34818 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
34819 echo "${ECHO_T}$wx_cv_version_script" >&6; }
34821 if test $wx_cv_version_script = yes ; then
34822 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
34829 *-*-linux* | *-*-gnu* )
34830 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
34831 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
34835 if test "$GCC" = yes ; then
34836 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
34838 saveLdflags="$LDFLAGS"
34839 LDFLAGS="$saveLdflags -Wl,-rpath,/"
34840 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
34841 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
34842 cat >conftest.$ac_ext <<_ACEOF
34845 cat confdefs.h >>conftest.$ac_ext
34846 cat >>conftest.$ac_ext <<_ACEOF
34847 /* end confdefs.h. */
34857 rm -f conftest.$ac_objext conftest$ac_exeext
34858 if { (ac_try="$ac_link"
34859 case "(($ac_try" in
34860 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34861 *) ac_try_echo
=$ac_try;;
34863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34864 (eval "$ac_link") 2>conftest.er1
34866 grep -v '^ *+' conftest.er1
>conftest.err
34868 cat conftest.err
>&5
34869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34870 (exit $ac_status); } && {
34871 test -z "$ac_c_werror_flag" ||
34872 test ! -s conftest.err
34873 } && test -s conftest
$ac_exeext &&
34874 $as_test_x conftest
$ac_exeext; then
34876 { echo "$as_me:$LINENO: result: yes" >&5
34877 echo "${ECHO_T}yes" >&6; }
34878 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
34879 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
34882 echo "$as_me: failed program was:" >&5
34883 sed 's/^/| /' conftest.
$ac_ext >&5
34886 { echo "$as_me:$LINENO: result: no" >&5
34887 echo "${ECHO_T}no" >&6; }
34888 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
34889 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
34890 LDFLAGS
="$saveLdflags -Wl,-R,/"
34891 cat >conftest.
$ac_ext <<_ACEOF
34894 cat confdefs.h
>>conftest.
$ac_ext
34895 cat >>conftest.
$ac_ext <<_ACEOF
34896 /* end confdefs.h. */
34906 rm -f conftest.
$ac_objext conftest
$ac_exeext
34907 if { (ac_try
="$ac_link"
34908 case "(($ac_try" in
34909 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34910 *) ac_try_echo=$ac_try;;
34912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34913 (eval "$ac_link") 2>conftest.er1
34915 grep -v '^ *+' conftest.er1 >conftest.err
34917 cat conftest.err >&5
34918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34919 (exit $ac_status); } && {
34920 test -z "$ac_c_werror_flag" ||
34921 test ! -s conftest.err
34922 } && test -s conftest$ac_exeext &&
34923 $as_test_x conftest$ac_exeext; then
34925 { echo "$as_me:$LINENO: result: yes" >&5
34926 echo "${ECHO_T}yes" >&6; }
34927 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
34928 WXCONFIG_RPATH="-Wl,-R,\$libdir"
34931 echo "$as_me: failed program was:" >&5
34932 sed 's/^/| /' conftest.$ac_ext >&5
34935 { echo "$as_me:$LINENO: result: no" >&5
34936 echo "${ECHO_T}no" >&6; }
34940 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34941 conftest$ac_exeext conftest.$ac_ext
34945 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34946 conftest$ac_exeext conftest.$ac_ext
34947 LDFLAGS="$saveLdflags"
34949 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
34950 WXCONFIG_RPATH="-R\$libdir"
34955 install_name_tool=`which install_name_tool
`
34956 if test "$install_name_tool" -a -x "$install_name_tool"; then
34957 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
34958 cat <<EOF >change-install-names
34960 libnames=\`cd \
${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\
`
34961 inst_cmd="install_name_tool "
34962 for i in \${libnames} ; do
34963 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
34967 chmod +x change-install-names
34971 *-*-cygwin* | *-*-mingw32* )
34972 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
34976 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
34977 WXCONFIG_RPATH="-Wl,+b,\$libdir"
34982 if test $wxUSE_RPATH = "no"; then
34983 SAMPLES_RPATH_FLAG=''
34984 SAMPLES_RPATH_POSTLINK=''
34992 config_linkage_component="-static"
34999 lib_unicode_suffix=
35001 if test "$wxUSE_UNICODE" = "yes"; then
35002 lib_unicode_suffix=u
35003 WX_CHARTYPE="unicode"
35008 WX_DEBUGTYPE="release"
35010 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
35012 WX_DEBUGTYPE="debug"
35016 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
35017 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
35020 if test "$wxUSE_DEBUG_INFO" = "yes"; then
35024 WX_VERSION_TAG=`echo WX
${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_
${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
35026 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
35028 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
35030 if test "$cross_compiling" = "yes"; then
35031 HOST_SUFFIX="-$host_alias"
35032 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
35033 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
35036 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
35037 if test "${TOOLKIT_DIR}" = "os2"; then
35038 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
35040 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
35045 if test "$wxUSE_COCOA" = 1; then
35048 ac_cpp='$CPP $CPPFLAGS'
35049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35055 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
35056 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
35057 cat >conftest.$ac_ext <<_ACEOF
35060 cat confdefs.h >>conftest.$ac_ext
35061 cat >>conftest.$ac_ext <<_ACEOF
35062 /* end confdefs.h. */
35063 #include <AppKit/NSEvent.h>
35064 #include <CoreFoundation/CoreFoundation.h>
35074 rm -f conftest.$ac_objext
35075 if { (ac_try="$ac_compile"
35076 case "(($ac_try" in
35077 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35078 *) ac_try_echo
=$ac_try;;
35080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35081 (eval "$ac_compile") 2>conftest.er1
35083 grep -v '^ *+' conftest.er1
>conftest.err
35085 cat conftest.err
>&5
35086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35087 (exit $ac_status); } && {
35088 test -z "$ac_c_werror_flag" ||
35089 test ! -s conftest.err
35090 } && test -s conftest.
$ac_objext; then
35091 { echo "$as_me:$LINENO: result: no" >&5
35092 echo "${ECHO_T}no" >&6; }
35094 echo "$as_me: failed program was:" >&5
35095 sed 's/^/| /' conftest.
$ac_ext >&5
35097 { echo "$as_me:$LINENO: result: yes" >&5
35098 echo "${ECHO_T}yes" >&6; }
35099 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
35100 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
35101 cat >conftest.
$ac_ext <<_ACEOF
35104 cat confdefs.h
>>conftest.
$ac_ext
35105 cat >>conftest.
$ac_ext <<_ACEOF
35106 /* end confdefs.h. */
35107 #define __Point__ 1
35108 #include <AppKit/NSEvent.h>
35109 #include <CoreFoundation/CoreFoundation.h>
35119 rm -f conftest.
$ac_objext
35120 if { (ac_try
="$ac_compile"
35121 case "(($ac_try" in
35122 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35123 *) ac_try_echo=$ac_try;;
35125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35126 (eval "$ac_compile") 2>conftest.er1
35128 grep -v '^ *+' conftest.er1 >conftest.err
35130 cat conftest.err >&5
35131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35132 (exit $ac_status); } && {
35133 test -z "$ac_c_werror_flag" ||
35134 test ! -s conftest.err
35135 } && test -s conftest.$ac_objext; then
35136 { echo "$as_me:$LINENO: result: yes" >&5
35137 echo "${ECHO_T}yes" >&6; }
35138 cat >>confdefs.h <<\_ACEOF
35139 #define __Point__ 1
35144 echo "$as_me: failed program was:" >&5
35145 sed 's/^/| /' conftest.$ac_ext >&5
35147 { { echo "$as_me:$LINENO: error: no
35148 See \`config.log
' for more details." >&5
35149 echo "$as_me: error: no
35150 See \`config.log' for more details.
" >&2;}
35151 { (exit 1); exit 1; }; }
35155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35161 ac_cpp='$CPP $CPPFLAGS'
35162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35168 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
35169 WX_RESOURCES_MACOSX_ASCII="libwx_
${TOOLCHAIN_NAME}.
${wx_release_number}.r
"
35170 WX_RESOURCES_MACOSX_DATA="libwx_
${TOOLCHAIN_NAME}.
${wx_release_number}.rsrc
"
35172 LIBWXMACRES="\
$(wx_top_builddir)/lib
/${WX_RESOURCES_MACOSX_ASCII}"
35174 # Extract the first word of "Rez
", so it can be a program name with args.
35175 set dummy Rez; ac_word=$2
35176 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
35177 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
35178 if test "${ac_cv_prog_REZ+set}" = set; then
35179 echo $ECHO_N "(cached
) $ECHO_C" >&6
35181 if test -n "$REZ"; then
35182 ac_cv_prog_REZ="$REZ" # Let the user override the test.
35184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35185 for as_dir in $PATH
35188 test -z "$as_dir" && as_dir=.
35189 for ac_exec_ext in '' $ac_executable_extensions; do
35190 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
35191 ac_cv_prog_REZ="Rez
"
35192 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
35199 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer
/Tools
/Rez
"
35202 REZ=$ac_cv_prog_REZ
35203 if test -n "$REZ"; then
35204 { echo "$as_me:$LINENO: result
: $REZ" >&5
35205 echo "${ECHO_T}$REZ" >&6; }
35207 { echo "$as_me:$LINENO: result
: no
" >&5
35208 echo "${ECHO_T}no
" >&6; }
35212 # Extract the first word of "DeRez
", so it can be a program name with args.
35213 set dummy DeRez; ac_word=$2
35214 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
35215 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
35216 if test "${ac_cv_prog_DEREZ+set}" = set; then
35217 echo $ECHO_N "(cached
) $ECHO_C" >&6
35219 if test -n "$DEREZ"; then
35220 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
35222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35223 for as_dir in $PATH
35226 test -z "$as_dir" && as_dir=.
35227 for ac_exec_ext in '' $ac_executable_extensions; do
35228 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
35229 ac_cv_prog_DEREZ="DeRez
"
35230 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
35237 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer
/Tools
/DeRez
"
35240 DEREZ=$ac_cv_prog_DEREZ
35241 if test -n "$DEREZ"; then
35242 { echo "$as_me:$LINENO: result
: $DEREZ" >&5
35243 echo "${ECHO_T}$DEREZ" >&6; }
35245 { echo "$as_me:$LINENO: result
: no
" >&5
35246 echo "${ECHO_T}no
" >&6; }
35250 # Extract the first word of "SetFile
", so it can be a program name with args.
35251 set dummy SetFile; ac_word=$2
35252 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
35253 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
35254 if test "${ac_cv_prog_SETFILE+set}" = set; then
35255 echo $ECHO_N "(cached
) $ECHO_C" >&6
35257 if test -n "$SETFILE"; then
35258 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
35260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35261 for as_dir in $PATH
35264 test -z "$as_dir" && as_dir=.
35265 for ac_exec_ext in '' $ac_executable_extensions; do
35266 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
35267 ac_cv_prog_SETFILE="SetFile
"
35268 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
35275 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer
/Tools
/SetFile
"
35278 SETFILE=$ac_cv_prog_SETFILE
35279 if test -n "$SETFILE"; then
35280 { echo "$as_me:$LINENO: result
: $SETFILE" >&5
35281 echo "${ECHO_T}$SETFILE" >&6; }
35283 { echo "$as_me:$LINENO: result
: no
" >&5
35284 echo "${ECHO_T}no
" >&6; }
35289 MACSETFILE="\
$(SETFILE)"
35291 if test "$wxUSE_MAC" = 1; then
35292 POSTLINK_COMMAND="\
$(REZ) -d __DARWIN__
-t APPL Carbon.r
-o"
35294 WXCONFIG_RESFLAGS="-d __DARWIN__
-t APPL Carbon.r
-o"
35296 POSTLINK_COMMAND="echo -n | \
$(REZ) -d __DARWIN__
-t APPL
${LIBWXMACRES}"
35297 RESCOMP="echo -n \
| $REZ"
35298 WXCONFIG_RESFLAGS="-d __DARWIN__
-t APPL \
$libdir/$WX_RESOURCES_MACOSX_ASCII"
35304 if test "$wxUSE_PM" = 1; then
35306 WXCONFIG_RESFLAGS="-ep"
35308 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
35310 POSTLINK_COMMAND="@true
"
35317 { echo "$as_me:$LINENO: checking
for mode_t
" >&5
35318 echo $ECHO_N "checking
for mode_t...
$ECHO_C" >&6; }
35319 if test "${ac_cv_type_mode_t+set}" = set; then
35320 echo $ECHO_N "(cached
) $ECHO_C" >&6
35322 cat >conftest.$ac_ext <<_ACEOF
35325 cat confdefs.h >>conftest.$ac_ext
35326 cat >>conftest.$ac_ext <<_ACEOF
35327 /* end confdefs.h. */
35328 $ac_includes_default
35329 typedef mode_t ac__type_new_;
35333 if ((ac__type_new_ *) 0)
35335 if (sizeof (ac__type_new_))
35341 rm -f conftest.$ac_objext
35342 if { (ac_try="$ac_compile"
35343 case "(($ac_try" in
35344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35345 *) ac_try_echo=$ac_try;;
35347 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
35348 (eval "$ac_compile") 2>conftest.er1
35350 grep -v '^ *+' conftest.er1 >conftest.err
35352 cat conftest.err >&5
35353 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
35354 (exit $ac_status); } && {
35355 test -z "$ac_c_werror_flag" ||
35356 test ! -s conftest.err
35357 } && test -s conftest.$ac_objext; then
35358 ac_cv_type_mode_t=yes
35360 echo "$as_me: failed program was
:" >&5
35361 sed 's/^/| /' conftest.$ac_ext >&5
35363 ac_cv_type_mode_t=no
35366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35368 { echo "$as_me:$LINENO: result
: $ac_cv_type_mode_t" >&5
35369 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
35370 if test $ac_cv_type_mode_t = yes; then
35374 cat >>confdefs.h <<_ACEOF
35380 { echo "$as_me:$LINENO: checking
for off_t
" >&5
35381 echo $ECHO_N "checking
for off_t...
$ECHO_C" >&6; }
35382 if test "${ac_cv_type_off_t+set}" = set; then
35383 echo $ECHO_N "(cached
) $ECHO_C" >&6
35385 cat >conftest.$ac_ext <<_ACEOF
35388 cat confdefs.h >>conftest.$ac_ext
35389 cat >>conftest.$ac_ext <<_ACEOF
35390 /* end confdefs.h. */
35391 $ac_includes_default
35392 typedef off_t ac__type_new_;
35396 if ((ac__type_new_ *) 0)
35398 if (sizeof (ac__type_new_))
35404 rm -f conftest.$ac_objext
35405 if { (ac_try="$ac_compile"
35406 case "(($ac_try" in
35407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35408 *) ac_try_echo=$ac_try;;
35410 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
35411 (eval "$ac_compile") 2>conftest.er1
35413 grep -v '^ *+' conftest.er1 >conftest.err
35415 cat conftest.err >&5
35416 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
35417 (exit $ac_status); } && {
35418 test -z "$ac_c_werror_flag" ||
35419 test ! -s conftest.err
35420 } && test -s conftest.$ac_objext; then
35421 ac_cv_type_off_t=yes
35423 echo "$as_me: failed program was
:" >&5
35424 sed 's/^/| /' conftest.$ac_ext >&5
35426 ac_cv_type_off_t=no
35429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35431 { echo "$as_me:$LINENO: result
: $ac_cv_type_off_t" >&5
35432 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
35433 if test $ac_cv_type_off_t = yes; then
35437 cat >>confdefs.h <<_ACEOF
35438 #define off_t long int
35443 { echo "$as_me:$LINENO: checking
for pid_t
" >&5
35444 echo $ECHO_N "checking
for pid_t...
$ECHO_C" >&6; }
35445 if test "${ac_cv_type_pid_t+set}" = set; then
35446 echo $ECHO_N "(cached
) $ECHO_C" >&6
35448 cat >conftest.$ac_ext <<_ACEOF
35451 cat confdefs.h >>conftest.$ac_ext
35452 cat >>conftest.$ac_ext <<_ACEOF
35453 /* end confdefs.h. */
35454 $ac_includes_default
35455 typedef pid_t ac__type_new_;
35459 if ((ac__type_new_ *) 0)
35461 if (sizeof (ac__type_new_))
35467 rm -f conftest.$ac_objext
35468 if { (ac_try="$ac_compile"
35469 case "(($ac_try" in
35470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35471 *) ac_try_echo=$ac_try;;
35473 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
35474 (eval "$ac_compile") 2>conftest.er1
35476 grep -v '^ *+' conftest.er1 >conftest.err
35478 cat conftest.err >&5
35479 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
35480 (exit $ac_status); } && {
35481 test -z "$ac_c_werror_flag" ||
35482 test ! -s conftest.err
35483 } && test -s conftest.$ac_objext; then
35484 ac_cv_type_pid_t=yes
35486 echo "$as_me: failed program was
:" >&5
35487 sed 's/^/| /' conftest.$ac_ext >&5
35489 ac_cv_type_pid_t=no
35492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35494 { echo "$as_me:$LINENO: result
: $ac_cv_type_pid_t" >&5
35495 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
35496 if test $ac_cv_type_pid_t = yes; then
35500 cat >>confdefs.h <<_ACEOF
35506 { echo "$as_me:$LINENO: checking
for size_t
" >&5
35507 echo $ECHO_N "checking
for size_t...
$ECHO_C" >&6; }
35508 if test "${ac_cv_type_size_t+set}" = set; then
35509 echo $ECHO_N "(cached
) $ECHO_C" >&6
35511 cat >conftest.$ac_ext <<_ACEOF
35514 cat confdefs.h >>conftest.$ac_ext
35515 cat >>conftest.$ac_ext <<_ACEOF
35516 /* end confdefs.h. */
35517 $ac_includes_default
35518 typedef size_t ac__type_new_;
35522 if ((ac__type_new_ *) 0)
35524 if (sizeof (ac__type_new_))
35530 rm -f conftest.$ac_objext
35531 if { (ac_try="$ac_compile"
35532 case "(($ac_try" in
35533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35534 *) ac_try_echo=$ac_try;;
35536 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
35537 (eval "$ac_compile") 2>conftest.er1
35539 grep -v '^ *+' conftest.er1 >conftest.err
35541 cat conftest.err >&5
35542 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
35543 (exit $ac_status); } && {
35544 test -z "$ac_c_werror_flag" ||
35545 test ! -s conftest.err
35546 } && test -s conftest.$ac_objext; then
35547 ac_cv_type_size_t=yes
35549 echo "$as_me: failed program was
:" >&5
35550 sed 's/^/| /' conftest.$ac_ext >&5
35552 ac_cv_type_size_t=no
35555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35557 { echo "$as_me:$LINENO: result
: $ac_cv_type_size_t" >&5
35558 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
35559 if test $ac_cv_type_size_t = yes; then
35563 cat >>confdefs.h <<_ACEOF
35564 #define size_t unsigned int
35569 { echo "$as_me:$LINENO: checking
for uid_t
in sys
/types.h
" >&5
35570 echo $ECHO_N "checking
for uid_t
in sys
/types.h...
$ECHO_C" >&6; }
35571 if test "${ac_cv_type_uid_t+set}" = set; then
35572 echo $ECHO_N "(cached
) $ECHO_C" >&6
35574 cat >conftest.$ac_ext <<_ACEOF
35577 cat confdefs.h >>conftest.$ac_ext
35578 cat >>conftest.$ac_ext <<_ACEOF
35579 /* end confdefs.h. */
35580 #include <sys/types.h>
35583 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
35584 $EGREP "uid_t
" >/dev/null 2>&1; then
35585 ac_cv_type_uid_t=yes
35587 ac_cv_type_uid_t=no
35592 { echo "$as_me:$LINENO: result
: $ac_cv_type_uid_t" >&5
35593 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
35594 if test $ac_cv_type_uid_t = no; then
35596 cat >>confdefs.h <<\_ACEOF
35601 cat >>confdefs.h <<\_ACEOF
35608 { echo "$as_me:$LINENO: checking
for ssize_t
" >&5
35609 echo $ECHO_N "checking
for ssize_t...
$ECHO_C" >&6; }
35610 if test "${ac_cv_type_ssize_t+set}" = set; then
35611 echo $ECHO_N "(cached
) $ECHO_C" >&6
35613 cat >conftest.$ac_ext <<_ACEOF
35616 cat confdefs.h >>conftest.$ac_ext
35617 cat >>conftest.$ac_ext <<_ACEOF
35618 /* end confdefs.h. */
35619 $ac_includes_default
35620 typedef ssize_t ac__type_new_;
35624 if ((ac__type_new_ *) 0)
35626 if (sizeof (ac__type_new_))
35632 rm -f conftest.$ac_objext
35633 if { (ac_try="$ac_compile"
35634 case "(($ac_try" in
35635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35636 *) ac_try_echo=$ac_try;;
35638 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
35639 (eval "$ac_compile") 2>conftest.er1
35641 grep -v '^ *+' conftest.er1 >conftest.err
35643 cat conftest.err >&5
35644 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
35645 (exit $ac_status); } && {
35646 test -z "$ac_c_werror_flag" ||
35647 test ! -s conftest.err
35648 } && test -s conftest.$ac_objext; then
35649 ac_cv_type_ssize_t=yes
35651 echo "$as_me: failed program was
:" >&5
35652 sed 's/^/| /' conftest.$ac_ext >&5
35654 ac_cv_type_ssize_t=no
35657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35659 { echo "$as_me:$LINENO: result
: $ac_cv_type_ssize_t" >&5
35660 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
35661 if test $ac_cv_type_ssize_t = yes; then
35663 cat >>confdefs.h <<_ACEOF
35664 #define HAVE_SSIZE_T 1
35672 ac_cpp='$CXXCPP $CPPFLAGS'
35673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35676 { echo "$as_me:$LINENO: checking
if size_t is unsigned int
" >&5
35677 echo $ECHO_N "checking
if size_t is unsigned int...
$ECHO_C" >&6; }
35678 if test "${wx_cv_size_t_is_uint+set}" = set; then
35679 echo $ECHO_N "(cached
) $ECHO_C" >&6
35682 cat >conftest.$ac_ext <<_ACEOF
35685 cat confdefs.h >>conftest.$ac_ext
35686 cat >>conftest.$ac_ext <<_ACEOF
35687 /* end confdefs.h. */
35688 #include <stddef.h>
35695 struct Foo { void foo(size_t); void foo(unsigned int); };
35703 rm -f conftest.$ac_objext
35704 if { (ac_try="$ac_compile"
35705 case "(($ac_try" in
35706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35707 *) ac_try_echo=$ac_try;;
35709 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
35710 (eval "$ac_compile") 2>conftest.er1
35712 grep -v '^ *+' conftest.er1 >conftest.err
35714 cat conftest.err >&5
35715 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
35716 (exit $ac_status); } && {
35717 test -z "$ac_cxx_werror_flag" ||
35718 test ! -s conftest.err
35719 } && test -s conftest.$ac_objext; then
35720 wx_cv_size_t_is_uint=no
35722 echo "$as_me: failed program was
:" >&5
35723 sed 's/^/| /' conftest.$ac_ext >&5
35725 wx_cv_size_t_is_uint=yes
35729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35733 { echo "$as_me:$LINENO: result
: $wx_cv_size_t_is_uint" >&5
35734 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
35736 if test "$wx_cv_size_t_is_uint" = "yes"; then
35737 cat >>confdefs.h <<\_ACEOF
35738 #define wxSIZE_T_IS_UINT 1
35742 { echo "$as_me:$LINENO: checking
if size_t is unsigned long
" >&5
35743 echo $ECHO_N "checking
if size_t is unsigned long...
$ECHO_C" >&6; }
35744 if test "${wx_cv_size_t_is_ulong+set}" = set; then
35745 echo $ECHO_N "(cached
) $ECHO_C" >&6
35747 cat >conftest.$ac_ext <<_ACEOF
35750 cat confdefs.h >>conftest.$ac_ext
35751 cat >>conftest.$ac_ext <<_ACEOF
35752 /* end confdefs.h. */
35753 #include <stddef.h>
35760 struct Foo { void foo(size_t); void foo(unsigned long); };
35768 rm -f conftest.$ac_objext
35769 if { (ac_try="$ac_compile"
35770 case "(($ac_try" in
35771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35772 *) ac_try_echo=$ac_try;;
35774 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
35775 (eval "$ac_compile") 2>conftest.er1
35777 grep -v '^ *+' conftest.er1 >conftest.err
35779 cat conftest.err >&5
35780 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
35781 (exit $ac_status); } && {
35782 test -z "$ac_cxx_werror_flag" ||
35783 test ! -s conftest.err
35784 } && test -s conftest.$ac_objext; then
35785 wx_cv_size_t_is_ulong=no
35787 echo "$as_me: failed program was
:" >&5
35788 sed 's/^/| /' conftest.$ac_ext >&5
35790 wx_cv_size_t_is_ulong=yes
35794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35797 { echo "$as_me:$LINENO: result
: $wx_cv_size_t_is_ulong" >&5
35798 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
35800 if test "$wx_cv_size_t_is_ulong" = "yes"; then
35801 cat >>confdefs.h <<\_ACEOF
35802 #define wxSIZE_T_IS_ULONG 1
35809 ac_cpp='$CPP $CPPFLAGS'
35810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35815 { echo "$as_me:$LINENO: checking
for pw_gecos
in struct passwd
" >&5
35816 echo $ECHO_N "checking
for pw_gecos
in struct passwd...
$ECHO_C" >&6; }
35817 if test "${wx_cv_struct_pw_gecos+set}" = set; then
35818 echo $ECHO_N "(cached
) $ECHO_C" >&6
35821 cat >conftest.$ac_ext <<_ACEOF
35824 cat confdefs.h >>conftest.$ac_ext
35825 cat >>conftest.$ac_ext <<_ACEOF
35826 /* end confdefs.h. */
35840 rm -f conftest.$ac_objext
35841 if { (ac_try="$ac_compile"
35842 case "(($ac_try" in
35843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35844 *) ac_try_echo=$ac_try;;
35846 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
35847 (eval "$ac_compile") 2>conftest.er1
35849 grep -v '^ *+' conftest.er1 >conftest.err
35851 cat conftest.err >&5
35852 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
35853 (exit $ac_status); } && {
35854 test -z "$ac_c_werror_flag" ||
35855 test ! -s conftest.err
35856 } && test -s conftest.$ac_objext; then
35858 wx_cv_struct_pw_gecos=yes
35861 echo "$as_me: failed program was
:" >&5
35862 sed 's/^/| /' conftest.$ac_ext >&5
35865 wx_cv_struct_pw_gecos=no
35870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35874 { echo "$as_me:$LINENO: result
: $wx_cv_struct_pw_gecos" >&5
35875 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
35877 if test "$wx_cv_struct_pw_gecos" = "yes"; then
35878 cat >>confdefs.h <<\_ACEOF
35879 #define HAVE_PW_GECOS 1
35885 if test "$wxUSE_WCHAR_T" = "yes"; then
35886 cat >>confdefs.h <<\_ACEOF
35887 #define wxUSE_WCHAR_T 1
35894 for ac_func in wcslen
35896 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
35897 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
35898 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
35899 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
35900 echo $ECHO_N "(cached
) $ECHO_C" >&6
35902 cat >conftest.$ac_ext <<_ACEOF
35905 cat confdefs.h >>conftest.$ac_ext
35906 cat >>conftest.$ac_ext <<_ACEOF
35907 /* end confdefs.h. */
35908 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35909 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35910 #define $ac_func innocuous_$ac_func
35912 /* System header to define __stub macros and hopefully few prototypes,
35913 which can conflict with char $ac_func (); below.
35914 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35915 <limits.h> exists even on freestanding compilers. */
35918 # include <limits.h>
35920 # include <assert.h>
35925 /* Override any GCC internal prototype to avoid an error.
35926 Use char because int might match the return type of a GCC
35927 builtin and then its argument prototype would still apply. */
35932 /* The GNU C library defines this for functions which it implements
35933 to always fail with ENOSYS. Some functions are actually named
35934 something starting with __ and the normal name is an alias. */
35935 #if defined __stub_$ac_func || defined __stub___$ac_func
35942 return $ac_func ();
35947 rm -f conftest.$ac_objext conftest$ac_exeext
35948 if { (ac_try="$ac_link"
35949 case "(($ac_try" in
35950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35951 *) ac_try_echo=$ac_try;;
35953 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
35954 (eval "$ac_link") 2>conftest.er1
35956 grep -v '^ *+' conftest.er1 >conftest.err
35958 cat conftest.err >&5
35959 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
35960 (exit $ac_status); } && {
35961 test -z "$ac_c_werror_flag" ||
35962 test ! -s conftest.err
35963 } && test -s conftest$ac_exeext &&
35964 $as_test_x conftest$ac_exeext; then
35965 eval "$as_ac_var=yes"
35967 echo "$as_me: failed program was
:" >&5
35968 sed 's/^/| /' conftest.$ac_ext >&5
35970 eval "$as_ac_var=no
"
35973 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35974 conftest$ac_exeext conftest.$ac_ext
35976 ac_res=`eval echo '${'$as_ac_var'}'`
35977 { echo "$as_me:$LINENO: result
: $ac_res" >&5
35978 echo "${ECHO_T}$ac_res" >&6; }
35979 if test `eval echo '${'$as_ac_var'}'` = yes; then
35980 cat >>confdefs.h <<_ACEOF
35981 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
35988 if test "$WCSLEN_FOUND" = 0; then
35989 if test "$TOOLKIT" = "MSW
"; then
35990 { echo "$as_me:$LINENO: checking
for wcslen
in -lmsvcrt" >&5
35991 echo $ECHO_N "checking
for wcslen
in -lmsvcrt...
$ECHO_C" >&6; }
35992 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
35993 echo $ECHO_N "(cached
) $ECHO_C" >&6
35995 ac_check_lib_save_LIBS=$LIBS
35996 LIBS="-lmsvcrt $LIBS"
35997 cat >conftest.$ac_ext <<_ACEOF
36000 cat confdefs.h >>conftest.$ac_ext
36001 cat >>conftest.$ac_ext <<_ACEOF
36002 /* end confdefs.h. */
36004 /* Override any GCC internal prototype to avoid an error.
36005 Use char because int might match the return type of a GCC
36006 builtin and then its argument prototype would still apply. */
36019 rm -f conftest.$ac_objext conftest$ac_exeext
36020 if { (ac_try="$ac_link"
36021 case "(($ac_try" in
36022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36023 *) ac_try_echo=$ac_try;;
36025 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
36026 (eval "$ac_link") 2>conftest.er1
36028 grep -v '^ *+' conftest.er1 >conftest.err
36030 cat conftest.err >&5
36031 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
36032 (exit $ac_status); } && {
36033 test -z "$ac_c_werror_flag" ||
36034 test ! -s conftest.err
36035 } && test -s conftest$ac_exeext &&
36036 $as_test_x conftest$ac_exeext; then
36037 ac_cv_lib_msvcrt_wcslen=yes
36039 echo "$as_me: failed program was
:" >&5
36040 sed 's/^/| /' conftest.$ac_ext >&5
36042 ac_cv_lib_msvcrt_wcslen=no
36045 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36046 conftest$ac_exeext conftest.$ac_ext
36047 LIBS=$ac_check_lib_save_LIBS
36049 { echo "$as_me:$LINENO: result
: $ac_cv_lib_msvcrt_wcslen" >&5
36050 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
36051 if test $ac_cv_lib_msvcrt_wcslen = yes; then
36056 { echo "$as_me:$LINENO: checking
for wcslen
in -lw" >&5
36057 echo $ECHO_N "checking
for wcslen
in -lw...
$ECHO_C" >&6; }
36058 if test "${ac_cv_lib_w_wcslen+set}" = set; then
36059 echo $ECHO_N "(cached
) $ECHO_C" >&6
36061 ac_check_lib_save_LIBS=$LIBS
36063 cat >conftest.$ac_ext <<_ACEOF
36066 cat confdefs.h >>conftest.$ac_ext
36067 cat >>conftest.$ac_ext <<_ACEOF
36068 /* end confdefs.h. */
36070 /* Override any GCC internal prototype to avoid an error.
36071 Use char because int might match the return type of a GCC
36072 builtin and then its argument prototype would still apply. */
36085 rm -f conftest.$ac_objext conftest$ac_exeext
36086 if { (ac_try="$ac_link"
36087 case "(($ac_try" in
36088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36089 *) ac_try_echo=$ac_try;;
36091 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
36092 (eval "$ac_link") 2>conftest.er1
36094 grep -v '^ *+' conftest.er1 >conftest.err
36096 cat conftest.err >&5
36097 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
36098 (exit $ac_status); } && {
36099 test -z "$ac_c_werror_flag" ||
36100 test ! -s conftest.err
36101 } && test -s conftest$ac_exeext &&
36102 $as_test_x conftest$ac_exeext; then
36103 ac_cv_lib_w_wcslen=yes
36105 echo "$as_me: failed program was
:" >&5
36106 sed 's/^/| /' conftest.$ac_ext >&5
36108 ac_cv_lib_w_wcslen=no
36111 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36112 conftest$ac_exeext conftest.$ac_ext
36113 LIBS=$ac_check_lib_save_LIBS
36115 { echo "$as_me:$LINENO: result
: $ac_cv_lib_w_wcslen" >&5
36116 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
36117 if test $ac_cv_lib_w_wcslen = yes; then
36127 if test "$WCSLEN_FOUND" = 1; then
36128 cat >>confdefs.h <<\_ACEOF
36129 #define HAVE_WCSLEN 1
36134 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
36135 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
36138 { echo "$as_me:$LINENO: checking
for mbstate_t
" >&5
36139 echo $ECHO_N "checking
for mbstate_t...
$ECHO_C" >&6; }
36140 if test "${ac_cv_type_mbstate_t+set}" = set; then
36141 echo $ECHO_N "(cached
) $ECHO_C" >&6
36143 cat >conftest.$ac_ext <<_ACEOF
36146 cat confdefs.h >>conftest.$ac_ext
36147 cat >>conftest.$ac_ext <<_ACEOF
36148 /* end confdefs.h. */
36151 typedef mbstate_t ac__type_new_;
36155 if ((ac__type_new_ *) 0)
36157 if (sizeof (ac__type_new_))
36163 rm -f conftest.$ac_objext
36164 if { (ac_try="$ac_compile"
36165 case "(($ac_try" in
36166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36167 *) ac_try_echo=$ac_try;;
36169 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
36170 (eval "$ac_compile") 2>conftest.er1
36172 grep -v '^ *+' conftest.er1 >conftest.err
36174 cat conftest.err >&5
36175 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
36176 (exit $ac_status); } && {
36177 test -z "$ac_c_werror_flag" ||
36178 test ! -s conftest.err
36179 } && test -s conftest.$ac_objext; then
36180 ac_cv_type_mbstate_t=yes
36182 echo "$as_me: failed program was
:" >&5
36183 sed 's/^/| /' conftest.$ac_ext >&5
36185 ac_cv_type_mbstate_t=no
36188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36190 { echo "$as_me:$LINENO: result
: $ac_cv_type_mbstate_t" >&5
36191 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
36192 if test $ac_cv_type_mbstate_t = yes; then
36194 cat >>confdefs.h <<_ACEOF
36195 #define HAVE_MBSTATE_T 1
36199 for ac_func in wcsrtombs
36201 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
36202 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
36203 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
36204 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
36205 echo $ECHO_N "(cached
) $ECHO_C" >&6
36207 cat >conftest.$ac_ext <<_ACEOF
36210 cat confdefs.h >>conftest.$ac_ext
36211 cat >>conftest.$ac_ext <<_ACEOF
36212 /* end confdefs.h. */
36213 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36214 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36215 #define $ac_func innocuous_$ac_func
36217 /* System header to define __stub macros and hopefully few prototypes,
36218 which can conflict with char $ac_func (); below.
36219 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36220 <limits.h> exists even on freestanding compilers. */
36223 # include <limits.h>
36225 # include <assert.h>
36230 /* Override any GCC internal prototype to avoid an error.
36231 Use char because int might match the return type of a GCC
36232 builtin and then its argument prototype would still apply. */
36237 /* The GNU C library defines this for functions which it implements
36238 to always fail with ENOSYS. Some functions are actually named
36239 something starting with __ and the normal name is an alias. */
36240 #if defined __stub_$ac_func || defined __stub___$ac_func
36247 return $ac_func ();
36252 rm -f conftest.$ac_objext conftest$ac_exeext
36253 if { (ac_try="$ac_link"
36254 case "(($ac_try" in
36255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36256 *) ac_try_echo=$ac_try;;
36258 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
36259 (eval "$ac_link") 2>conftest.er1
36261 grep -v '^ *+' conftest.er1 >conftest.err
36263 cat conftest.err >&5
36264 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
36265 (exit $ac_status); } && {
36266 test -z "$ac_c_werror_flag" ||
36267 test ! -s conftest.err
36268 } && test -s conftest$ac_exeext &&
36269 $as_test_x conftest$ac_exeext; then
36270 eval "$as_ac_var=yes"
36272 echo "$as_me: failed program was
:" >&5
36273 sed 's/^/| /' conftest.$ac_ext >&5
36275 eval "$as_ac_var=no
"
36278 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36279 conftest$ac_exeext conftest.$ac_ext
36281 ac_res=`eval echo '${'$as_ac_var'}'`
36282 { echo "$as_me:$LINENO: result
: $ac_res" >&5
36283 echo "${ECHO_T}$ac_res" >&6; }
36284 if test `eval echo '${'$as_ac_var'}'` = yes; then
36285 cat >>confdefs.h <<_ACEOF
36286 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
36295 { echo "$as_me:$LINENO: WARNING
: Wide character support is unavailable
" >&5
36296 echo "$as_me: WARNING
: Wide character support is unavailable
" >&2;}
36301 for ac_func in snprintf vsnprintf
36303 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
36304 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
36305 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
36306 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
36307 echo $ECHO_N "(cached
) $ECHO_C" >&6
36309 cat >conftest.$ac_ext <<_ACEOF
36312 cat confdefs.h >>conftest.$ac_ext
36313 cat >>conftest.$ac_ext <<_ACEOF
36314 /* end confdefs.h. */
36315 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36316 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36317 #define $ac_func innocuous_$ac_func
36319 /* System header to define __stub macros and hopefully few prototypes,
36320 which can conflict with char $ac_func (); below.
36321 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36322 <limits.h> exists even on freestanding compilers. */
36325 # include <limits.h>
36327 # include <assert.h>
36332 /* Override any GCC internal prototype to avoid an error.
36333 Use char because int might match the return type of a GCC
36334 builtin and then its argument prototype would still apply. */
36339 /* The GNU C library defines this for functions which it implements
36340 to always fail with ENOSYS. Some functions are actually named
36341 something starting with __ and the normal name is an alias. */
36342 #if defined __stub_$ac_func || defined __stub___$ac_func
36349 return $ac_func ();
36354 rm -f conftest.$ac_objext conftest$ac_exeext
36355 if { (ac_try="$ac_link"
36356 case "(($ac_try" in
36357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36358 *) ac_try_echo=$ac_try;;
36360 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
36361 (eval "$ac_link") 2>conftest.er1
36363 grep -v '^ *+' conftest.er1 >conftest.err
36365 cat conftest.err >&5
36366 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
36367 (exit $ac_status); } && {
36368 test -z "$ac_c_werror_flag" ||
36369 test ! -s conftest.err
36370 } && test -s conftest$ac_exeext &&
36371 $as_test_x conftest$ac_exeext; then
36372 eval "$as_ac_var=yes"
36374 echo "$as_me: failed program was
:" >&5
36375 sed 's/^/| /' conftest.$ac_ext >&5
36377 eval "$as_ac_var=no
"
36380 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36381 conftest$ac_exeext conftest.$ac_ext
36383 ac_res=`eval echo '${'$as_ac_var'}'`
36384 { echo "$as_me:$LINENO: result
: $ac_res" >&5
36385 echo "${ECHO_T}$ac_res" >&6; }
36386 if test `eval echo '${'$as_ac_var'}'` = yes; then
36387 cat >>confdefs.h <<_ACEOF
36388 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
36395 if test "$ac_cv_func_vsnprintf" = "yes"; then
36396 { echo "$as_me:$LINENO: checking
for vsnprintf declaration
" >&5
36397 echo $ECHO_N "checking
for vsnprintf declaration...
$ECHO_C" >&6; }
36398 if test "${wx_cv_func_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 vsnprintf(buf, 10u, "%s
", ap);
36430 rm -f conftest.$ac_objext
36431 if { (ac_try="$ac_compile"
36432 case "(($ac_try" in
36433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36434 *) ac_try_echo=$ac_try;;
36436 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
36437 (eval "$ac_compile") 2>conftest.er1
36439 grep -v '^ *+' conftest.er1 >conftest.err
36441 cat conftest.err >&5
36442 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
36443 (exit $ac_status); } && {
36444 test -z "$ac_c_werror_flag" ||
36445 test ! -s conftest.err
36446 } && test -s conftest.$ac_objext; then
36447 wx_cv_func_vsnprintf_decl=yes
36449 echo "$as_me: failed program was
:" >&5
36450 sed 's/^/| /' conftest.$ac_ext >&5
36452 wx_cv_func_vsnprintf_decl=no
36456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36460 { echo "$as_me:$LINENO: result
: $wx_cv_func_vsnprintf_decl" >&5
36461 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
36463 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
36464 cat >>confdefs.h <<\_ACEOF
36465 #define HAVE_VSNPRINTF_DECL 1
36469 { echo "$as_me:$LINENO: checking
if vsnprintf declaration is broken
" >&5
36470 echo $ECHO_N "checking
if vsnprintf declaration is broken...
$ECHO_C" >&6; }
36471 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
36472 echo $ECHO_N "(cached
) $ECHO_C" >&6
36475 cat >conftest.$ac_ext <<_ACEOF
36478 cat confdefs.h >>conftest.$ac_ext
36479 cat >>conftest.$ac_ext <<_ACEOF
36480 /* end confdefs.h. */
36483 #include <stdarg.h>
36485 #if __MSL__ >= 0x6000
36487 using namespace std;
36497 const char *fmt = "%s
";
36498 vsnprintf(buf, 10u, fmt, ap);
36504 rm -f conftest.$ac_objext
36505 if { (ac_try="$ac_compile"
36506 case "(($ac_try" in
36507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36508 *) ac_try_echo=$ac_try;;
36510 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
36511 (eval "$ac_compile") 2>conftest.er1
36513 grep -v '^ *+' conftest.er1 >conftest.err
36515 cat conftest.err >&5
36516 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
36517 (exit $ac_status); } && {
36518 test -z "$ac_c_werror_flag" ||
36519 test ! -s conftest.err
36520 } && test -s conftest.$ac_objext; then
36521 wx_cv_func_broken_vsnprintf_decl=no
36523 echo "$as_me: failed program was
:" >&5
36524 sed 's/^/| /' conftest.$ac_ext >&5
36526 wx_cv_func_broken_vsnprintf_decl=yes
36530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36534 { echo "$as_me:$LINENO: result
: $wx_cv_func_broken_vsnprintf_decl" >&5
36535 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
36537 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
36538 cat >>confdefs.h <<\_ACEOF
36539 #define HAVE_BROKEN_VSNPRINTF_DECL 1
36546 if test "$ac_cv_func_snprintf" = "yes"; then
36547 { echo "$as_me:$LINENO: checking
for snprintf declaration
" >&5
36548 echo $ECHO_N "checking
for snprintf declaration...
$ECHO_C" >&6; }
36549 if test "${wx_cv_func_snprintf_decl+set}" = set; then
36550 echo $ECHO_N "(cached
) $ECHO_C" >&6
36553 cat >conftest.$ac_ext <<_ACEOF
36556 cat confdefs.h >>conftest.$ac_ext
36557 cat >>conftest.$ac_ext <<_ACEOF
36558 /* end confdefs.h. */
36561 #include <stdarg.h>
36563 #if __MSL__ >= 0x6000
36565 using namespace std;
36574 snprintf(buf, 10u, "%s
", "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_snprintf_decl=yes
36599 echo "$as_me: failed program was
:" >&5
36600 sed 's/^/| /' conftest.$ac_ext >&5
36602 wx_cv_func_snprintf_decl=no
36606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36610 { echo "$as_me:$LINENO: result
: $wx_cv_func_snprintf_decl" >&5
36611 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
36613 if test "$wx_cv_func_snprintf_decl" = "yes"; then
36614 cat >>confdefs.h <<\_ACEOF
36615 #define HAVE_SNPRINTF_DECL 1
36619 { echo "$as_me:$LINENO: checking
if snprintf declaration is broken
" >&5
36620 echo $ECHO_N "checking
if snprintf declaration is broken...
$ECHO_C" >&6; }
36621 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
36622 echo $ECHO_N "(cached
) $ECHO_C" >&6
36625 cat >conftest.$ac_ext <<_ACEOF
36628 cat confdefs.h >>conftest.$ac_ext
36629 cat >>conftest.$ac_ext <<_ACEOF
36630 /* end confdefs.h. */
36633 #include <stdarg.h>
36635 #if __MSL__ >= 0x6000
36637 using namespace std;
36646 const char *fmt = "%s
";
36647 snprintf(buf, 10u, fmt, "wx
");
36653 rm -f conftest.$ac_objext
36654 if { (ac_try="$ac_compile"
36655 case "(($ac_try" in
36656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36657 *) ac_try_echo=$ac_try;;
36659 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
36660 (eval "$ac_compile") 2>conftest.er1
36662 grep -v '^ *+' conftest.er1 >conftest.err
36664 cat conftest.err >&5
36665 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
36666 (exit $ac_status); } && {
36667 test -z "$ac_c_werror_flag" ||
36668 test ! -s conftest.err
36669 } && test -s conftest.$ac_objext; then
36670 wx_cv_func_broken_snprintf_decl=no
36672 echo "$as_me: failed program was
:" >&5
36673 sed 's/^/| /' conftest.$ac_ext >&5
36675 wx_cv_func_broken_snprintf_decl=yes
36679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36683 { echo "$as_me:$LINENO: result
: $wx_cv_func_broken_snprintf_decl" >&5
36684 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6; }
36686 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
36687 cat >>confdefs.h <<\_ACEOF
36688 #define HAVE_BROKEN_SNPRINTF_DECL 1
36694 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
36696 { echo "$as_me:$LINENO: checking
if snprintf supports positional arguments
" >&5
36697 echo $ECHO_N "checking
if snprintf supports positional arguments...
$ECHO_C" >&6; }
36698 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
36699 echo $ECHO_N "(cached
) $ECHO_C" >&6
36702 if test "$cross_compiling" = yes; then
36704 { echo "$as_me:$LINENO: WARNING
: Assuming Unix98
printf() is not available
,
36705 define HAVE_UNIX98_PRINTF as
1 in setup.h
if it is available.
" >&5
36706 echo "$as_me: WARNING
: Assuming Unix98
printf() is not available
,
36707 define HAVE_UNIX98_PRINTF as
1 in setup.h
if it is available.
" >&2;}
36708 wx_cv_func_snprintf_pos_params=no
36712 cat >conftest.$ac_ext <<_ACEOF
36715 cat confdefs.h >>conftest.$ac_ext
36716 cat >>conftest.$ac_ext <<_ACEOF
36717 /* end confdefs.h. */
36724 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
36725 if (strcmp ("2 3 1", buffer) == 0)
36731 rm -f conftest$ac_exeext
36732 if { (ac_try="$ac_link"
36733 case "(($ac_try" in
36734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36735 *) ac_try_echo=$ac_try;;
36737 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
36738 (eval "$ac_link") 2>&5
36740 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
36741 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
36742 { (case "(($ac_try" in
36743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36744 *) ac_try_echo=$ac_try;;
36746 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
36747 (eval "$ac_try") 2>&5
36749 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
36750 (exit $ac_status); }; }; then
36751 wx_cv_func_snprintf_pos_params=no
36753 echo "$as_me: program exited with status
$ac_status" >&5
36754 echo "$as_me: failed program was
:" >&5
36755 sed 's/^/| /' conftest.$ac_ext >&5
36757 ( exit $ac_status )
36758 wx_cv_func_snprintf_pos_params=yes
36760 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
36767 { echo "$as_me:$LINENO: result
: $wx_cv_func_snprintf_pos_params" >&5
36768 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
36770 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
36771 cat >>confdefs.h <<\_ACEOF
36772 #define HAVE_UNIX98_PRINTF 1
36779 if test "$wxUSE_UNICODE" = yes; then
36782 for ac_func in swprintf
36784 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
36785 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
36786 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
36787 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
36788 echo $ECHO_N "(cached
) $ECHO_C" >&6
36790 cat >conftest.$ac_ext <<_ACEOF
36793 cat confdefs.h >>conftest.$ac_ext
36794 cat >>conftest.$ac_ext <<_ACEOF
36795 /* end confdefs.h. */
36796 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36797 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36798 #define $ac_func innocuous_$ac_func
36800 /* System header to define __stub macros and hopefully few prototypes,
36801 which can conflict with char $ac_func (); below.
36802 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36803 <limits.h> exists even on freestanding compilers. */
36806 # include <limits.h>
36808 # include <assert.h>
36813 /* Override any GCC internal prototype to avoid an error.
36814 Use char because int might match the return type of a GCC
36815 builtin and then its argument prototype would still apply. */
36820 /* The GNU C library defines this for functions which it implements
36821 to always fail with ENOSYS. Some functions are actually named
36822 something starting with __ and the normal name is an alias. */
36823 #if defined __stub_$ac_func || defined __stub___$ac_func
36830 return $ac_func ();
36835 rm -f conftest.$ac_objext conftest$ac_exeext
36836 if { (ac_try="$ac_link"
36837 case "(($ac_try" in
36838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36839 *) ac_try_echo=$ac_try;;
36841 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
36842 (eval "$ac_link") 2>conftest.er1
36844 grep -v '^ *+' conftest.er1 >conftest.err
36846 cat conftest.err >&5
36847 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
36848 (exit $ac_status); } && {
36849 test -z "$ac_c_werror_flag" ||
36850 test ! -s conftest.err
36851 } && test -s conftest$ac_exeext &&
36852 $as_test_x conftest$ac_exeext; then
36853 eval "$as_ac_var=yes"
36855 echo "$as_me: failed program was
:" >&5
36856 sed 's/^/| /' conftest.$ac_ext >&5
36858 eval "$as_ac_var=no
"
36861 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36862 conftest$ac_exeext conftest.$ac_ext
36864 ac_res=`eval echo '${'$as_ac_var'}'`
36865 { echo "$as_me:$LINENO: result
: $ac_res" >&5
36866 echo "${ECHO_T}$ac_res" >&6; }
36867 if test `eval echo '${'$as_ac_var'}'` = yes; then
36868 cat >>confdefs.h <<_ACEOF
36869 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
36876 if test "$ac_cv_func_swprintf" = "yes"; then
36877 { echo "$as_me:$LINENO: checking
if swprintf declaration is broken
" >&5
36878 echo $ECHO_N "checking
if swprintf declaration is broken...
$ECHO_C" >&6; }
36879 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
36880 echo $ECHO_N "(cached
) $ECHO_C" >&6
36883 cat >conftest.$ac_ext <<_ACEOF
36886 cat confdefs.h >>conftest.$ac_ext
36887 cat >>conftest.$ac_ext <<_ACEOF
36888 /* end confdefs.h. */
36891 #include <stdarg.h>
36899 const wchar_t *fmt = L"test";
36900 swprintf(buf, 10u, fmt);
36906 rm -f conftest.$ac_objext
36907 if { (ac_try="$ac_compile"
36908 case "(($ac_try" in
36909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36910 *) ac_try_echo=$ac_try;;
36912 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
36913 (eval "$ac_compile") 2>conftest.er1
36915 grep -v '^ *+' conftest.er1 >conftest.err
36917 cat conftest.err >&5
36918 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
36919 (exit $ac_status); } && {
36920 test -z "$ac_c_werror_flag" ||
36921 test ! -s conftest.err
36922 } && test -s conftest.$ac_objext; then
36923 wx_cv_func_broken_swprintf_decl=no
36925 echo "$as_me: failed program was
:" >&5
36926 sed 's/^/| /' conftest.$ac_ext >&5
36928 wx_cv_func_broken_swprintf_decl=yes
36932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36936 { echo "$as_me:$LINENO: result
: $wx_cv_func_broken_swprintf_decl" >&5
36937 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6; }
36939 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
36940 cat >>confdefs.h <<\_ACEOF
36941 #define HAVE_BROKEN_SWPRINTF_DECL 1
36947 wchar_headers="#include <stdio.h>
36948 #include <wchar.h>"
36952 for ac_header
in widec.h
36954 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36955 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
36956 { echo "$as_me:$LINENO: checking for $ac_header" >&5
36957 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
36958 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
36959 echo $ECHO_N "(cached) $ECHO_C" >&6
36961 ac_res
=`eval echo '${'$as_ac_Header'}'`
36962 { echo "$as_me:$LINENO: result: $ac_res" >&5
36963 echo "${ECHO_T}$ac_res" >&6; }
36965 # Is the header compilable?
36966 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
36967 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
36968 cat >conftest.
$ac_ext <<_ACEOF
36971 cat confdefs.h
>>conftest.
$ac_ext
36972 cat >>conftest.
$ac_ext <<_ACEOF
36973 /* end confdefs.h. */
36974 $ac_includes_default
36975 #include <$ac_header>
36977 rm -f conftest.
$ac_objext
36978 if { (ac_try
="$ac_compile"
36979 case "(($ac_try" in
36980 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36981 *) ac_try_echo=$ac_try;;
36983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36984 (eval "$ac_compile") 2>conftest.er1
36986 grep -v '^ *+' conftest.er1 >conftest.err
36988 cat conftest.err >&5
36989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36990 (exit $ac_status); } && {
36991 test -z "$ac_c_werror_flag" ||
36992 test ! -s conftest.err
36993 } && test -s conftest.$ac_objext; then
36994 ac_header_compiler=yes
36996 echo "$as_me: failed program was:" >&5
36997 sed 's/^/| /' conftest.$ac_ext >&5
36999 ac_header_compiler=no
37002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37003 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37004 echo "${ECHO_T}$ac_header_compiler" >&6; }
37006 # Is the header present?
37007 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
37008 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
37009 cat >conftest.$ac_ext <<_ACEOF
37012 cat confdefs.h >>conftest.$ac_ext
37013 cat >>conftest.$ac_ext <<_ACEOF
37014 /* end confdefs.h. */
37015 #include <$ac_header>
37017 if { (ac_try="$ac_cpp conftest.$ac_ext"
37018 case "(($ac_try" in
37019 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37020 *) ac_try_echo
=$ac_try;;
37022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37023 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
37025 grep -v '^ *+' conftest.er1
>conftest.err
37027 cat conftest.err
>&5
37028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37029 (exit $ac_status); } >/dev
/null
&& {
37030 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
37031 test ! -s conftest.err
37033 ac_header_preproc
=yes
37035 echo "$as_me: failed program was:" >&5
37036 sed 's/^/| /' conftest.
$ac_ext >&5
37038 ac_header_preproc
=no
37041 rm -f conftest.err conftest.
$ac_ext
37042 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37043 echo "${ECHO_T}$ac_header_preproc" >&6; }
37045 # So? What about this header?
37046 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
37048 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
37049 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
37050 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
37051 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
37052 ac_header_preproc
=yes
37055 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
37056 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
37057 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
37058 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
37059 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
37060 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
37061 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
37062 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
37063 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37064 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37065 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
37066 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
37068 ## ----------------------------------------- ##
37069 ## Report this to wx-dev@lists.wxwidgets.org ##
37070 ## ----------------------------------------- ##
37072 ) | sed "s/^/$as_me: WARNING: /" >&2
37075 { echo "$as_me:$LINENO: checking for $ac_header" >&5
37076 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
37077 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
37078 echo $ECHO_N "(cached) $ECHO_C" >&6
37080 eval "$as_ac_Header=\$ac_header_preproc"
37082 ac_res
=`eval echo '${'$as_ac_Header'}'`
37083 { echo "$as_me:$LINENO: result: $ac_res" >&5
37084 echo "${ECHO_T}$ac_res" >&6; }
37087 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37088 cat >>confdefs.h
<<_ACEOF
37089 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37096 if test "$ac_cv_header_widec_h" = "yes"; then
37097 wchar_headers
="$wchar_headers
37098 #include <widec.h>"
37103 for wx_func
in wputc wputchar putws fputws wprintf vswprintf
37105 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37106 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37107 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37108 echo $ECHO_N "(cached) $ECHO_C" >&6
37111 cat >conftest.
$ac_ext <<_ACEOF
37115 cat confdefs.h
>>conftest.
$ac_ext
37116 cat >>conftest.
$ac_ext <<_ACEOF
37117 /* end confdefs.h. */
37120 $ac_includes_default
37136 rm -f conftest.
$ac_objext conftest
$ac_exeext
37137 if { (ac_try
="$ac_link"
37138 case "(($ac_try" in
37139 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37140 *) ac_try_echo=$ac_try;;
37142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37143 (eval "$ac_link") 2>conftest.er1
37145 grep -v '^ *+' conftest.er1 >conftest.err
37147 cat conftest.err >&5
37148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37149 (exit $ac_status); } && {
37150 test -z "$ac_c_werror_flag" ||
37151 test ! -s conftest.err
37152 } && test -s conftest$ac_exeext &&
37153 $as_test_x conftest$ac_exeext; then
37154 eval wx_cv_func_$wx_func=yes
37156 echo "$as_me: failed program was:" >&5
37157 sed 's/^/| /' conftest.$ac_ext >&5
37159 eval wx_cv_func_$wx_func=no
37162 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37163 conftest$ac_exeext conftest.$ac_ext
37166 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37167 { echo "$as_me:$LINENO: result: $ac_res" >&5
37168 echo "${ECHO_T}$ac_res" >&6; }
37170 if eval test \$wx_cv_func_$wx_func = yes
37172 cat >>confdefs.h <<_ACEOF
37173 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37184 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
37185 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
37186 cat >conftest.$ac_ext <<_ACEOF
37189 cat confdefs.h >>conftest.$ac_ext
37190 cat >>conftest.$ac_ext <<_ACEOF
37191 /* end confdefs.h. */
37201 rm -f conftest.$ac_objext
37202 if { (ac_try="$ac_compile"
37203 case "(($ac_try" in
37204 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37205 *) ac_try_echo
=$ac_try;;
37207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37208 (eval "$ac_compile") 2>conftest.er1
37210 grep -v '^ *+' conftest.er1
>conftest.err
37212 cat conftest.err
>&5
37213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37214 (exit $ac_status); } && {
37215 test -z "$ac_c_werror_flag" ||
37216 test ! -s conftest.err
37217 } && test -s conftest.
$ac_objext; then
37218 { echo "$as_me:$LINENO: result: yes" >&5
37219 echo "${ECHO_T}yes" >&6; }
37220 cat >>confdefs.h
<<\_ACEOF
37221 #define HAVE__VSNWPRINTF 1
37225 echo "$as_me: failed program was:" >&5
37226 sed 's/^/| /' conftest.
$ac_ext >&5
37228 { echo "$as_me:$LINENO: result: no" >&5
37229 echo "${ECHO_T}no" >&6; }
37232 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext;
37235 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
37237 for wx_func
in fnmatch
37239 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37240 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37241 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37242 echo $ECHO_N "(cached) $ECHO_C" >&6
37245 cat >conftest.
$ac_ext <<_ACEOF
37249 cat confdefs.h
>>conftest.
$ac_ext
37250 cat >>conftest.
$ac_ext <<_ACEOF
37251 /* end confdefs.h. */
37253 #include <fnmatch.h>
37254 $ac_includes_default
37270 rm -f conftest.
$ac_objext conftest
$ac_exeext
37271 if { (ac_try
="$ac_link"
37272 case "(($ac_try" in
37273 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37274 *) ac_try_echo=$ac_try;;
37276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37277 (eval "$ac_link") 2>conftest.er1
37279 grep -v '^ *+' conftest.er1 >conftest.err
37281 cat conftest.err >&5
37282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37283 (exit $ac_status); } && {
37284 test -z "$ac_c_werror_flag" ||
37285 test ! -s conftest.err
37286 } && test -s conftest$ac_exeext &&
37287 $as_test_x conftest$ac_exeext; then
37288 eval wx_cv_func_$wx_func=yes
37290 echo "$as_me: failed program was:" >&5
37291 sed 's/^/| /' conftest.$ac_ext >&5
37293 eval wx_cv_func_$wx_func=no
37296 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37297 conftest$ac_exeext conftest.$ac_ext
37300 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37301 { echo "$as_me:$LINENO: result: $ac_res" >&5
37302 echo "${ECHO_T}$ac_res" >&6; }
37304 if eval test \$wx_cv_func_$wx_func = yes
37306 cat >>confdefs.h <<_ACEOF
37307 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37319 if test "$wxUSE_FILE" = "yes"; then
37321 for wx_func in fsync
37323 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37324 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37325 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37326 echo $ECHO_N "(cached) $ECHO_C" >&6
37329 cat >conftest.$ac_ext <<_ACEOF
37333 cat confdefs.h >>conftest.$ac_ext
37334 cat >>conftest.$ac_ext <<_ACEOF
37335 /* end confdefs.h. */
37338 $ac_includes_default
37354 rm -f conftest.$ac_objext conftest$ac_exeext
37355 if { (ac_try="$ac_link"
37356 case "(($ac_try" in
37357 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37358 *) ac_try_echo
=$ac_try;;
37360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37361 (eval "$ac_link") 2>conftest.er1
37363 grep -v '^ *+' conftest.er1
>conftest.err
37365 cat conftest.err
>&5
37366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37367 (exit $ac_status); } && {
37368 test -z "$ac_c_werror_flag" ||
37369 test ! -s conftest.err
37370 } && test -s conftest
$ac_exeext &&
37371 $as_test_x conftest
$ac_exeext; then
37372 eval wx_cv_func_
$wx_func=yes
37374 echo "$as_me: failed program was:" >&5
37375 sed 's/^/| /' conftest.
$ac_ext >&5
37377 eval wx_cv_func_
$wx_func=no
37380 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37381 conftest
$ac_exeext conftest.
$ac_ext
37384 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37385 { echo "$as_me:$LINENO: result: $ac_res" >&5
37386 echo "${ECHO_T}$ac_res" >&6; }
37388 if eval test \
$wx_cv_func_$wx_func = yes
37390 cat >>confdefs.h
<<_ACEOF
37391 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37404 for wx_func
in round
37406 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37407 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37408 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37409 echo $ECHO_N "(cached) $ECHO_C" >&6
37412 cat >conftest.
$ac_ext <<_ACEOF
37416 cat confdefs.h
>>conftest.
$ac_ext
37417 cat >>conftest.
$ac_ext <<_ACEOF
37418 /* end confdefs.h. */
37421 $ac_includes_default
37437 rm -f conftest.
$ac_objext conftest
$ac_exeext
37438 if { (ac_try
="$ac_link"
37439 case "(($ac_try" in
37440 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37441 *) ac_try_echo=$ac_try;;
37443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37444 (eval "$ac_link") 2>conftest.er1
37446 grep -v '^ *+' conftest.er1 >conftest.err
37448 cat conftest.err >&5
37449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37450 (exit $ac_status); } && {
37451 test -z "$ac_c_werror_flag" ||
37452 test ! -s conftest.err
37453 } && test -s conftest$ac_exeext &&
37454 $as_test_x conftest$ac_exeext; then
37455 eval wx_cv_func_$wx_func=yes
37457 echo "$as_me: failed program was:" >&5
37458 sed 's/^/| /' conftest.$ac_ext >&5
37460 eval wx_cv_func_$wx_func=no
37463 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37464 conftest$ac_exeext conftest.$ac_ext
37467 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37468 { echo "$as_me:$LINENO: result: $ac_res" >&5
37469 echo "${ECHO_T}$ac_res" >&6; }
37471 if eval test \$wx_cv_func_$wx_func = yes
37473 cat >>confdefs.h <<_ACEOF
37474 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37485 if test "$TOOLKIT" != "MSW"; then
37491 # Check whether --with-libiconv-prefix was given.
37492 if test "${with_libiconv_prefix+set}" = set; then
37493 withval=$with_libiconv_prefix;
37494 for dir in `echo "$withval" | tr : ' '`; do
37495 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
37496 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
37502 { echo "$as_me:$LINENO: checking for iconv" >&5
37503 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
37504 if test "${am_cv_func_iconv+set}" = set; then
37505 echo $ECHO_N "(cached) $ECHO_C" >&6
37508 am_cv_func_iconv="no, consider installing GNU libiconv"
37510 cat >conftest.$ac_ext <<_ACEOF
37513 cat confdefs.h >>conftest.$ac_ext
37514 cat >>conftest.$ac_ext <<_ACEOF
37515 /* end confdefs.h. */
37516 #include <stdlib.h>
37521 iconv_t cd = iconv_open("","");
37522 iconv(cd,NULL,NULL,NULL,NULL);
37528 rm -f conftest.$ac_objext conftest$ac_exeext
37529 if { (ac_try="$ac_link"
37530 case "(($ac_try" in
37531 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37532 *) ac_try_echo
=$ac_try;;
37534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37535 (eval "$ac_link") 2>conftest.er1
37537 grep -v '^ *+' conftest.er1
>conftest.err
37539 cat conftest.err
>&5
37540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37541 (exit $ac_status); } && {
37542 test -z "$ac_c_werror_flag" ||
37543 test ! -s conftest.err
37544 } && test -s conftest
$ac_exeext &&
37545 $as_test_x conftest
$ac_exeext; then
37546 am_cv_func_iconv
=yes
37548 echo "$as_me: failed program was:" >&5
37549 sed 's/^/| /' conftest.
$ac_ext >&5
37554 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37555 conftest
$ac_exeext conftest.
$ac_ext
37556 if test "$am_cv_func_iconv" != yes; then
37557 am_save_LIBS
="$LIBS"
37558 LIBS
="$LIBS -liconv"
37559 cat >conftest.
$ac_ext <<_ACEOF
37562 cat confdefs.h
>>conftest.
$ac_ext
37563 cat >>conftest.
$ac_ext <<_ACEOF
37564 /* end confdefs.h. */
37565 #include <stdlib.h>
37570 iconv_t cd = iconv_open("","");
37571 iconv(cd,NULL,NULL,NULL,NULL);
37577 rm -f conftest.
$ac_objext conftest
$ac_exeext
37578 if { (ac_try
="$ac_link"
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_link") 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_exeext &&
37594 $as_test_x conftest$ac_exeext; then
37595 am_cv_lib_iconv=yes
37596 am_cv_func_iconv=yes
37598 echo "$as_me: failed program was:" >&5
37599 sed 's/^/| /' conftest.$ac_ext >&5
37604 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37605 conftest$ac_exeext conftest.$ac_ext
37606 LIBS="$am_save_LIBS"
37610 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
37611 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
37612 if test "$am_cv_func_iconv" = yes; then
37614 cat >>confdefs.h <<\_ACEOF
37615 #define HAVE_ICONV 1
37618 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
37619 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
37620 if test "${wx_cv_func_iconv_const+set}" = set; then
37621 echo $ECHO_N "(cached) $ECHO_C" >&6
37623 cat >conftest.$ac_ext <<_ACEOF
37626 cat confdefs.h >>conftest.$ac_ext
37627 cat >>conftest.$ac_ext <<_ACEOF
37628 /* end confdefs.h. */
37630 #include <stdlib.h>
37636 #if defined(__STDC__) || defined(__cplusplus)
37637 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
37650 rm -f conftest.$ac_objext
37651 if { (ac_try="$ac_compile"
37652 case "(($ac_try" in
37653 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37654 *) ac_try_echo
=$ac_try;;
37656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37657 (eval "$ac_compile") 2>conftest.er1
37659 grep -v '^ *+' conftest.er1
>conftest.err
37661 cat conftest.err
>&5
37662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37663 (exit $ac_status); } && {
37664 test -z "$ac_c_werror_flag" ||
37665 test ! -s conftest.err
37666 } && test -s conftest.
$ac_objext; then
37667 wx_cv_func_iconv_const
="no"
37669 echo "$as_me: failed program was:" >&5
37670 sed 's/^/| /' conftest.
$ac_ext >&5
37672 wx_cv_func_iconv_const
="yes"
37676 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37679 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
37680 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
37683 if test "x$wx_cv_func_iconv_const" = "xyes"; then
37684 iconv_const
="const"
37688 cat >>confdefs.h
<<_ACEOF
37689 #define ICONV_CONST $iconv_const
37694 if test "$am_cv_lib_iconv" = yes; then
37699 LIBS
="$LIBICONV $LIBS"
37701 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37703 for ac_func
in sigaction
37705 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37706 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37707 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37708 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37709 echo $ECHO_N "(cached) $ECHO_C" >&6
37711 cat >conftest.
$ac_ext <<_ACEOF
37714 cat confdefs.h
>>conftest.
$ac_ext
37715 cat >>conftest.
$ac_ext <<_ACEOF
37716 /* end confdefs.h. */
37717 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37718 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37719 #define $ac_func innocuous_$ac_func
37721 /* System header to define __stub macros and hopefully few prototypes,
37722 which can conflict with char $ac_func (); below.
37723 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37724 <limits.h> exists even on freestanding compilers. */
37727 # include <limits.h>
37729 # include <assert.h>
37734 /* Override any GCC internal prototype to avoid an error.
37735 Use char because int might match the return type of a GCC
37736 builtin and then its argument prototype would still apply. */
37741 /* The GNU C library defines this for functions which it implements
37742 to always fail with ENOSYS. Some functions are actually named
37743 something starting with __ and the normal name is an alias. */
37744 #if defined __stub_$ac_func || defined __stub___$ac_func
37751 return $ac_func ();
37756 rm -f conftest.
$ac_objext conftest
$ac_exeext
37757 if { (ac_try
="$ac_link"
37758 case "(($ac_try" in
37759 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37760 *) ac_try_echo=$ac_try;;
37762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37763 (eval "$ac_link") 2>conftest.er1
37765 grep -v '^ *+' conftest.er1 >conftest.err
37767 cat conftest.err >&5
37768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37769 (exit $ac_status); } && {
37770 test -z "$ac_c_werror_flag" ||
37771 test ! -s conftest.err
37772 } && test -s conftest$ac_exeext &&
37773 $as_test_x conftest$ac_exeext; then
37774 eval "$as_ac_var=yes"
37776 echo "$as_me: failed program was:" >&5
37777 sed 's/^/| /' conftest.$ac_ext >&5
37779 eval "$as_ac_var=no"
37782 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37783 conftest$ac_exeext conftest.$ac_ext
37785 ac_res=`eval echo '${'$as_ac_var'}'`
37786 { echo "$as_me:$LINENO: result: $ac_res" >&5
37787 echo "${ECHO_T}$ac_res" >&6; }
37788 if test `eval echo '${'$as_ac_var'}'` = yes; then
37789 cat >>confdefs.h <<_ACEOF
37790 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37797 if test "$ac_cv_func_sigaction" = "no"; then
37798 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
37799 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
37800 wxUSE_ON_FATAL_EXCEPTION=no
37803 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
37804 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
37805 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
37806 if test "${wx_cv_type_sa_handler+set}" = set; then
37807 echo $ECHO_N "(cached) $ECHO_C" >&6
37811 ac_cpp='$CXXCPP $CPPFLAGS'
37812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37816 cat >conftest.$ac_ext <<_ACEOF
37819 cat confdefs.h >>conftest.$ac_ext
37820 cat >>conftest.$ac_ext <<_ACEOF
37821 /* end confdefs.h. */
37822 #include <signal.h>
37827 extern void testSigHandler(int);
37829 struct sigaction sa;
37830 sa.sa_handler = testSigHandler;
37836 rm -f conftest.$ac_objext
37837 if { (ac_try="$ac_compile"
37838 case "(($ac_try" in
37839 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37840 *) ac_try_echo
=$ac_try;;
37842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37843 (eval "$ac_compile") 2>conftest.er1
37845 grep -v '^ *+' conftest.er1
>conftest.err
37847 cat conftest.err
>&5
37848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37849 (exit $ac_status); } && {
37850 test -z "$ac_cxx_werror_flag" ||
37851 test ! -s conftest.err
37852 } && test -s conftest.
$ac_objext; then
37854 wx_cv_type_sa_handler
=int
37857 echo "$as_me: failed program was:" >&5
37858 sed 's/^/| /' conftest.
$ac_ext >&5
37861 wx_cv_type_sa_handler
=void
37865 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37867 ac_cpp
='$CPP $CPPFLAGS'
37868 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37869 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37870 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37874 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
37875 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
37877 cat >>confdefs.h
<<_ACEOF
37878 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
37884 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37885 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
37886 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
37887 if test "${wx_cv_func_backtrace+set}" = set; then
37888 echo $ECHO_N "(cached) $ECHO_C" >&6
37892 ac_cpp
='$CXXCPP $CPPFLAGS'
37893 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37894 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37895 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37897 cat >conftest.
$ac_ext <<_ACEOF
37900 cat confdefs.h
>>conftest.
$ac_ext
37901 cat >>conftest.
$ac_ext <<_ACEOF
37902 /* end confdefs.h. */
37903 #include <execinfo.h>
37911 backtrace(trace, 1);
37912 messages = backtrace_symbols(trace, 1);
37918 rm -f conftest.
$ac_objext
37919 if { (ac_try
="$ac_compile"
37920 case "(($ac_try" in
37921 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37922 *) ac_try_echo=$ac_try;;
37924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37925 (eval "$ac_compile") 2>conftest.er1
37927 grep -v '^ *+' conftest.er1 >conftest.err
37929 cat conftest.err >&5
37930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37931 (exit $ac_status); } && {
37932 test -z "$ac_cxx_werror_flag" ||
37933 test ! -s conftest.err
37934 } && test -s conftest.$ac_objext; then
37935 wx_cv_func_backtrace=yes
37937 echo "$as_me: failed program was:" >&5
37938 sed 's/^/| /' conftest.$ac_ext >&5
37940 wx_cv_func_backtrace=no
37944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37946 ac_cpp='$CPP $CPPFLAGS'
37947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37954 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
37955 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
37958 if test "$wx_cv_func_backtrace" = "no"; then
37959 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
37960 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
37961 wxUSE_STACKWALKER=no
37963 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
37964 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
37965 if test "${wx_cv_func_cxa_demangle+set}" = set; then
37966 echo $ECHO_N "(cached) $ECHO_C" >&6
37970 ac_cpp='$CXXCPP $CPPFLAGS'
37971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37975 cat >conftest.$ac_ext <<_ACEOF
37978 cat confdefs.h >>conftest.$ac_ext
37979 cat >>conftest.$ac_ext <<_ACEOF
37980 /* end confdefs.h. */
37981 #include <cxxabi.h>
37987 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
37993 rm -f conftest.$ac_objext conftest$ac_exeext
37994 if { (ac_try="$ac_link"
37995 case "(($ac_try" in
37996 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37997 *) ac_try_echo
=$ac_try;;
37999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38000 (eval "$ac_link") 2>conftest.er1
38002 grep -v '^ *+' conftest.er1
>conftest.err
38004 cat conftest.err
>&5
38005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38006 (exit $ac_status); } && {
38007 test -z "$ac_cxx_werror_flag" ||
38008 test ! -s conftest.err
38009 } && test -s conftest
$ac_exeext &&
38010 $as_test_x conftest
$ac_exeext; then
38011 wx_cv_func_cxa_demangle
=yes
38013 echo "$as_me: failed program was:" >&5
38014 sed 's/^/| /' conftest.
$ac_ext >&5
38016 wx_cv_func_cxa_demangle
=no
38020 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38021 conftest
$ac_exeext conftest.
$ac_ext
38023 ac_cpp
='$CPP $CPPFLAGS'
38024 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38025 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38026 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38031 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
38032 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
38034 if test "$wx_cv_func_cxa_demangle" = "yes"; then
38035 cat >>confdefs.h
<<\_ACEOF
38036 #define HAVE_CXA_DEMANGLE 1
38043 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
38044 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
38045 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
38046 wxUSE_STACKWALKER
=no
38052 for ac_func
in mkstemp mktemp
38054 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38055 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38056 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38057 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38058 echo $ECHO_N "(cached) $ECHO_C" >&6
38060 cat >conftest.
$ac_ext <<_ACEOF
38063 cat confdefs.h
>>conftest.
$ac_ext
38064 cat >>conftest.
$ac_ext <<_ACEOF
38065 /* end confdefs.h. */
38066 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38067 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38068 #define $ac_func innocuous_$ac_func
38070 /* System header to define __stub macros and hopefully few prototypes,
38071 which can conflict with char $ac_func (); below.
38072 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38073 <limits.h> exists even on freestanding compilers. */
38076 # include <limits.h>
38078 # include <assert.h>
38083 /* Override any GCC internal prototype to avoid an error.
38084 Use char because int might match the return type of a GCC
38085 builtin and then its argument prototype would still apply. */
38090 /* The GNU C library defines this for functions which it implements
38091 to always fail with ENOSYS. Some functions are actually named
38092 something starting with __ and the normal name is an alias. */
38093 #if defined __stub_$ac_func || defined __stub___$ac_func
38100 return $ac_func ();
38105 rm -f conftest.
$ac_objext conftest
$ac_exeext
38106 if { (ac_try
="$ac_link"
38107 case "(($ac_try" in
38108 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38109 *) ac_try_echo=$ac_try;;
38111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38112 (eval "$ac_link") 2>conftest.er1
38114 grep -v '^ *+' conftest.er1 >conftest.err
38116 cat conftest.err >&5
38117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38118 (exit $ac_status); } && {
38119 test -z "$ac_c_werror_flag" ||
38120 test ! -s conftest.err
38121 } && test -s conftest$ac_exeext &&
38122 $as_test_x conftest$ac_exeext; then
38123 eval "$as_ac_var=yes"
38125 echo "$as_me: failed program was:" >&5
38126 sed 's/^/| /' conftest.$ac_ext >&5
38128 eval "$as_ac_var=no"
38131 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38132 conftest$ac_exeext conftest.$ac_ext
38134 ac_res=`eval echo '${'$as_ac_var'}'`
38135 { echo "$as_me:$LINENO: result: $ac_res" >&5
38136 echo "${ECHO_T}$ac_res" >&6; }
38137 if test `eval echo '${'$as_ac_var'}'` = yes; then
38138 cat >>confdefs.h <<_ACEOF
38139 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38146 { echo "$as_me:$LINENO: checking for statfs" >&5
38147 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
38148 if test "${wx_cv_func_statfs+set}" = set; then
38149 echo $ECHO_N "(cached) $ECHO_C" >&6
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>
38180 rm -f conftest.$ac_objext
38181 if { (ac_try="$ac_compile"
38182 case "(($ac_try" in
38183 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38184 *) ac_try_echo
=$ac_try;;
38186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38187 (eval "$ac_compile") 2>conftest.er1
38189 grep -v '^ *+' conftest.er1
>conftest.err
38191 cat conftest.err
>&5
38192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38193 (exit $ac_status); } && {
38194 test -z "$ac_c_werror_flag" ||
38195 test ! -s conftest.err
38196 } && test -s conftest.
$ac_objext; then
38197 wx_cv_func_statfs
=yes
38199 echo "$as_me: failed program was:" >&5
38200 sed 's/^/| /' conftest.
$ac_ext >&5
38202 wx_cv_func_statfs
=no
38206 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38209 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
38210 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
38212 if test "$wx_cv_func_statfs" = "yes"; then
38213 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
38214 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
38215 if test "${wx_cv_func_statfs_decl+set}" = set; then
38216 echo $ECHO_N "(cached) $ECHO_C" >&6
38219 ac_cpp
='$CXXCPP $CPPFLAGS'
38220 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38221 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38222 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38224 cat >conftest.
$ac_ext <<_ACEOF
38227 cat confdefs.h
>>conftest.
$ac_ext
38228 cat >>conftest.
$ac_ext <<_ACEOF
38229 /* end confdefs.h. */
38231 #if defined(__BSD__)
38232 #include <sys/param.h>
38233 #include <sys/mount.h>
38235 #include <sys/vfs.h>
38249 rm -f conftest.
$ac_objext
38250 if { (ac_try
="$ac_compile"
38251 case "(($ac_try" in
38252 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38253 *) ac_try_echo=$ac_try;;
38255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38256 (eval "$ac_compile") 2>conftest.er1
38258 grep -v '^ *+' conftest.er1 >conftest.err
38260 cat conftest.err >&5
38261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38262 (exit $ac_status); } && {
38263 test -z "$ac_cxx_werror_flag" ||
38264 test ! -s conftest.err
38265 } && test -s conftest.$ac_objext; then
38266 wx_cv_func_statfs_decl=yes
38268 echo "$as_me: failed program was:" >&5
38269 sed 's/^/| /' conftest.$ac_ext >&5
38271 wx_cv_func_statfs_decl=no
38275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38277 ac_cpp='$CPP $CPPFLAGS'
38278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38284 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
38285 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
38287 if test "$wx_cv_func_statfs_decl" = "yes"; then
38288 cat >>confdefs.h <<\_ACEOF
38289 #define HAVE_STATFS_DECL 1
38294 wx_cv_type_statvfs_t="struct statfs"
38295 cat >>confdefs.h <<\_ACEOF
38296 #define HAVE_STATFS 1
38300 { echo "$as_me:$LINENO: checking for statvfs" >&5
38301 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
38302 if test "${wx_cv_func_statvfs+set}" = set; then
38303 echo $ECHO_N "(cached) $ECHO_C" >&6
38305 cat >conftest.$ac_ext <<_ACEOF
38308 cat confdefs.h >>conftest.$ac_ext
38309 cat >>conftest.$ac_ext <<_ACEOF
38310 /* end confdefs.h. */
38312 #include <stddef.h>
38313 #include <sys/statvfs.h>
38319 statvfs("/", NULL);
38325 rm -f conftest.$ac_objext
38326 if { (ac_try="$ac_compile"
38327 case "(($ac_try" in
38328 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38329 *) ac_try_echo
=$ac_try;;
38331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38332 (eval "$ac_compile") 2>conftest.er1
38334 grep -v '^ *+' conftest.er1
>conftest.err
38336 cat conftest.err
>&5
38337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38338 (exit $ac_status); } && {
38339 test -z "$ac_c_werror_flag" ||
38340 test ! -s conftest.err
38341 } && test -s conftest.
$ac_objext; then
38342 wx_cv_func_statvfs
=yes
38344 echo "$as_me: failed program was:" >&5
38345 sed 's/^/| /' conftest.
$ac_ext >&5
38347 wx_cv_func_statvfs
=no
38351 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38354 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
38355 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
38357 if test "$wx_cv_func_statvfs" = "yes"; then
38358 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
38359 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
38360 if test "${wx_cv_type_statvfs_t+set}" = set; then
38361 echo $ECHO_N "(cached) $ECHO_C" >&6
38364 ac_cpp
='$CXXCPP $CPPFLAGS'
38365 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38366 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38367 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38369 cat >conftest.
$ac_ext <<_ACEOF
38372 cat confdefs.h
>>conftest.
$ac_ext
38373 cat >>conftest.
$ac_ext <<_ACEOF
38374 /* end confdefs.h. */
38376 #include <sys/statvfs.h>
38393 rm -f conftest.
$ac_objext
38394 if { (ac_try
="$ac_compile"
38395 case "(($ac_try" in
38396 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38397 *) ac_try_echo=$ac_try;;
38399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38400 (eval "$ac_compile") 2>conftest.er1
38402 grep -v '^ *+' conftest.er1 >conftest.err
38404 cat conftest.err >&5
38405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38406 (exit $ac_status); } && {
38407 test -z "$ac_cxx_werror_flag" ||
38408 test ! -s conftest.err
38409 } && test -s conftest.$ac_objext; then
38410 wx_cv_type_statvfs_t=statvfs_t
38412 echo "$as_me: failed program was:" >&5
38413 sed 's/^/| /' conftest.$ac_ext >&5
38416 cat >conftest.$ac_ext <<_ACEOF
38419 cat confdefs.h >>conftest.$ac_ext
38420 cat >>conftest.$ac_ext <<_ACEOF
38421 /* end confdefs.h. */
38423 #include <sys/statvfs.h>
38440 rm -f conftest.$ac_objext
38441 if { (ac_try="$ac_compile"
38442 case "(($ac_try" in
38443 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38444 *) ac_try_echo
=$ac_try;;
38446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38447 (eval "$ac_compile") 2>conftest.er1
38449 grep -v '^ *+' conftest.er1
>conftest.err
38451 cat conftest.err
>&5
38452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38453 (exit $ac_status); } && {
38454 test -z "$ac_cxx_werror_flag" ||
38455 test ! -s conftest.err
38456 } && test -s conftest.
$ac_objext; then
38457 wx_cv_type_statvfs_t
="struct statvfs"
38459 echo "$as_me: failed program was:" >&5
38460 sed 's/^/| /' conftest.
$ac_ext >&5
38462 wx_cv_type_statvfs_t
="unknown"
38466 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38471 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38473 ac_cpp
='$CPP $CPPFLAGS'
38474 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38475 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38476 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38480 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
38481 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
38483 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38484 cat >>confdefs.h
<<\_ACEOF
38485 #define HAVE_STATVFS 1
38490 wx_cv_type_statvfs_t
="unknown"
38494 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38495 cat >>confdefs.h
<<_ACEOF
38496 #define WX_STATFS_T $wx_cv_type_statvfs_t
38500 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
38501 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
38504 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
38507 for ac_func
in fcntl flock
38509 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38510 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38511 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38512 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38513 echo $ECHO_N "(cached) $ECHO_C" >&6
38515 cat >conftest.
$ac_ext <<_ACEOF
38518 cat confdefs.h
>>conftest.
$ac_ext
38519 cat >>conftest.
$ac_ext <<_ACEOF
38520 /* end confdefs.h. */
38521 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38522 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38523 #define $ac_func innocuous_$ac_func
38525 /* System header to define __stub macros and hopefully few prototypes,
38526 which can conflict with char $ac_func (); below.
38527 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38528 <limits.h> exists even on freestanding compilers. */
38531 # include <limits.h>
38533 # include <assert.h>
38538 /* Override any GCC internal prototype to avoid an error.
38539 Use char because int might match the return type of a GCC
38540 builtin and then its argument prototype would still apply. */
38545 /* The GNU C library defines this for functions which it implements
38546 to always fail with ENOSYS. Some functions are actually named
38547 something starting with __ and the normal name is an alias. */
38548 #if defined __stub_$ac_func || defined __stub___$ac_func
38555 return $ac_func ();
38560 rm -f conftest.
$ac_objext conftest
$ac_exeext
38561 if { (ac_try
="$ac_link"
38562 case "(($ac_try" in
38563 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38564 *) ac_try_echo=$ac_try;;
38566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38567 (eval "$ac_link") 2>conftest.er1
38569 grep -v '^ *+' conftest.er1 >conftest.err
38571 cat conftest.err >&5
38572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38573 (exit $ac_status); } && {
38574 test -z "$ac_c_werror_flag" ||
38575 test ! -s conftest.err
38576 } && test -s conftest$ac_exeext &&
38577 $as_test_x conftest$ac_exeext; then
38578 eval "$as_ac_var=yes"
38580 echo "$as_me: failed program was:" >&5
38581 sed 's/^/| /' conftest.$ac_ext >&5
38583 eval "$as_ac_var=no"
38586 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38587 conftest$ac_exeext conftest.$ac_ext
38589 ac_res=`eval echo '${'$as_ac_var'}'`
38590 { echo "$as_me:$LINENO: result: $ac_res" >&5
38591 echo "${ECHO_T}$ac_res" >&6; }
38592 if test `eval echo '${'$as_ac_var'}'` = yes; then
38593 cat >>confdefs.h <<_ACEOF
38594 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38601 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
38602 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
38603 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
38604 wxUSE_SNGLINST_CHECKER=no
38609 for ac_func in timegm
38611 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38612 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38613 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38614 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38615 echo $ECHO_N "(cached) $ECHO_C" >&6
38617 cat >conftest.$ac_ext <<_ACEOF
38620 cat confdefs.h >>conftest.$ac_ext
38621 cat >>conftest.$ac_ext <<_ACEOF
38622 /* end confdefs.h. */
38623 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38624 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38625 #define $ac_func innocuous_$ac_func
38627 /* System header to define __stub macros and hopefully few prototypes,
38628 which can conflict with char $ac_func (); below.
38629 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38630 <limits.h> exists even on freestanding compilers. */
38633 # include <limits.h>
38635 # include <assert.h>
38640 /* Override any GCC internal prototype to avoid an error.
38641 Use char because int might match the return type of a GCC
38642 builtin and then its argument prototype would still apply. */
38647 /* The GNU C library defines this for functions which it implements
38648 to always fail with ENOSYS. Some functions are actually named
38649 something starting with __ and the normal name is an alias. */
38650 #if defined __stub_$ac_func || defined __stub___$ac_func
38657 return $ac_func ();
38662 rm -f conftest.$ac_objext conftest$ac_exeext
38663 if { (ac_try="$ac_link"
38664 case "(($ac_try" in
38665 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38666 *) ac_try_echo
=$ac_try;;
38668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38669 (eval "$ac_link") 2>conftest.er1
38671 grep -v '^ *+' conftest.er1
>conftest.err
38673 cat conftest.err
>&5
38674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38675 (exit $ac_status); } && {
38676 test -z "$ac_c_werror_flag" ||
38677 test ! -s conftest.err
38678 } && test -s conftest
$ac_exeext &&
38679 $as_test_x conftest
$ac_exeext; then
38680 eval "$as_ac_var=yes"
38682 echo "$as_me: failed program was:" >&5
38683 sed 's/^/| /' conftest.
$ac_ext >&5
38685 eval "$as_ac_var=no"
38688 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38689 conftest
$ac_exeext conftest.
$ac_ext
38691 ac_res
=`eval echo '${'$as_ac_var'}'`
38692 { echo "$as_me:$LINENO: result: $ac_res" >&5
38693 echo "${ECHO_T}$ac_res" >&6; }
38694 if test `eval echo '${'$as_ac_var'}'` = yes; then
38695 cat >>confdefs.h
<<_ACEOF
38696 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38705 for ac_func
in putenv setenv
38707 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38708 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38709 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38710 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38711 echo $ECHO_N "(cached) $ECHO_C" >&6
38713 cat >conftest.
$ac_ext <<_ACEOF
38716 cat confdefs.h
>>conftest.
$ac_ext
38717 cat >>conftest.
$ac_ext <<_ACEOF
38718 /* end confdefs.h. */
38719 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38720 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38721 #define $ac_func innocuous_$ac_func
38723 /* System header to define __stub macros and hopefully few prototypes,
38724 which can conflict with char $ac_func (); below.
38725 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38726 <limits.h> exists even on freestanding compilers. */
38729 # include <limits.h>
38731 # include <assert.h>
38736 /* Override any GCC internal prototype to avoid an error.
38737 Use char because int might match the return type of a GCC
38738 builtin and then its argument prototype would still apply. */
38743 /* The GNU C library defines this for functions which it implements
38744 to always fail with ENOSYS. Some functions are actually named
38745 something starting with __ and the normal name is an alias. */
38746 #if defined __stub_$ac_func || defined __stub___$ac_func
38753 return $ac_func ();
38758 rm -f conftest.
$ac_objext conftest
$ac_exeext
38759 if { (ac_try
="$ac_link"
38760 case "(($ac_try" in
38761 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38762 *) ac_try_echo=$ac_try;;
38764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38765 (eval "$ac_link") 2>conftest.er1
38767 grep -v '^ *+' conftest.er1 >conftest.err
38769 cat conftest.err >&5
38770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38771 (exit $ac_status); } && {
38772 test -z "$ac_c_werror_flag" ||
38773 test ! -s conftest.err
38774 } && test -s conftest$ac_exeext &&
38775 $as_test_x conftest$ac_exeext; then
38776 eval "$as_ac_var=yes"
38778 echo "$as_me: failed program was:" >&5
38779 sed 's/^/| /' conftest.$ac_ext >&5
38781 eval "$as_ac_var=no"
38784 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38785 conftest$ac_exeext conftest.$ac_ext
38787 ac_res=`eval echo '${'$as_ac_var'}'`
38788 { echo "$as_me:$LINENO: result: $ac_res" >&5
38789 echo "${ECHO_T}$ac_res" >&6; }
38790 if test `eval echo '${'$as_ac_var'}'` = yes; then
38791 cat >>confdefs.h <<_ACEOF
38792 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38799 HAVE_SOME_SLEEP_FUNC=0
38800 if test "$USE_BEOS" = 1; then
38801 cat >>confdefs.h <<\_ACEOF
38802 #define HAVE_SLEEP 1
38805 HAVE_SOME_SLEEP_FUNC=1
38808 if test "$USE_DARWIN" = 1; then
38809 cat >>confdefs.h <<\_ACEOF
38810 #define HAVE_USLEEP 1
38813 HAVE_SOME_SLEEP_FUNC=1
38816 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
38819 for ac_func in nanosleep
38821 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38822 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38823 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38824 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38825 echo $ECHO_N "(cached) $ECHO_C" >&6
38827 cat >conftest.$ac_ext <<_ACEOF
38830 cat confdefs.h >>conftest.$ac_ext
38831 cat >>conftest.$ac_ext <<_ACEOF
38832 /* end confdefs.h. */
38833 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38834 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38835 #define $ac_func innocuous_$ac_func
38837 /* System header to define __stub macros and hopefully few prototypes,
38838 which can conflict with char $ac_func (); below.
38839 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38840 <limits.h> exists even on freestanding compilers. */
38843 # include <limits.h>
38845 # include <assert.h>
38850 /* Override any GCC internal prototype to avoid an error.
38851 Use char because int might match the return type of a GCC
38852 builtin and then its argument prototype would still apply. */
38857 /* The GNU C library defines this for functions which it implements
38858 to always fail with ENOSYS. Some functions are actually named
38859 something starting with __ and the normal name is an alias. */
38860 #if defined __stub_$ac_func || defined __stub___$ac_func
38867 return $ac_func ();
38872 rm -f conftest.$ac_objext conftest$ac_exeext
38873 if { (ac_try="$ac_link"
38874 case "(($ac_try" in
38875 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38876 *) ac_try_echo
=$ac_try;;
38878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38879 (eval "$ac_link") 2>conftest.er1
38881 grep -v '^ *+' conftest.er1
>conftest.err
38883 cat conftest.err
>&5
38884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38885 (exit $ac_status); } && {
38886 test -z "$ac_c_werror_flag" ||
38887 test ! -s conftest.err
38888 } && test -s conftest
$ac_exeext &&
38889 $as_test_x conftest
$ac_exeext; then
38890 eval "$as_ac_var=yes"
38892 echo "$as_me: failed program was:" >&5
38893 sed 's/^/| /' conftest.
$ac_ext >&5
38895 eval "$as_ac_var=no"
38898 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38899 conftest
$ac_exeext conftest.
$ac_ext
38901 ac_res
=`eval echo '${'$as_ac_var'}'`
38902 { echo "$as_me:$LINENO: result: $ac_res" >&5
38903 echo "${ECHO_T}$ac_res" >&6; }
38904 if test `eval echo '${'$as_ac_var'}'` = yes; then
38905 cat >>confdefs.h
<<_ACEOF
38906 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38908 cat >>confdefs.h
<<\_ACEOF
38909 #define HAVE_NANOSLEEP 1
38914 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
38915 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
38916 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
38917 echo $ECHO_N "(cached) $ECHO_C" >&6
38919 ac_check_lib_save_LIBS
=$LIBS
38920 LIBS
="-lposix4 $LIBS"
38921 cat >conftest.
$ac_ext <<_ACEOF
38924 cat confdefs.h
>>conftest.
$ac_ext
38925 cat >>conftest.
$ac_ext <<_ACEOF
38926 /* end confdefs.h. */
38928 /* Override any GCC internal prototype to avoid an error.
38929 Use char because int might match the return type of a GCC
38930 builtin and then its argument prototype would still apply. */
38938 return nanosleep ();
38943 rm -f conftest.
$ac_objext conftest
$ac_exeext
38944 if { (ac_try
="$ac_link"
38945 case "(($ac_try" in
38946 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38947 *) ac_try_echo=$ac_try;;
38949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38950 (eval "$ac_link") 2>conftest.er1
38952 grep -v '^ *+' conftest.er1 >conftest.err
38954 cat conftest.err >&5
38955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38956 (exit $ac_status); } && {
38957 test -z "$ac_c_werror_flag" ||
38958 test ! -s conftest.err
38959 } && test -s conftest$ac_exeext &&
38960 $as_test_x conftest$ac_exeext; then
38961 ac_cv_lib_posix4_nanosleep=yes
38963 echo "$as_me: failed program was:" >&5
38964 sed 's/^/| /' conftest.$ac_ext >&5
38966 ac_cv_lib_posix4_nanosleep=no
38969 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38970 conftest$ac_exeext conftest.$ac_ext
38971 LIBS=$ac_check_lib_save_LIBS
38973 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
38974 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
38975 if test $ac_cv_lib_posix4_nanosleep = yes; then
38977 cat >>confdefs.h <<\_ACEOF
38978 #define HAVE_NANOSLEEP 1
38981 POSIX4_LINK=" -lposix4"
38986 for wx_func in usleep
38988 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38989 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38990 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38991 echo $ECHO_N "(cached) $ECHO_C" >&6
38994 cat >conftest.$ac_ext <<_ACEOF
38998 cat confdefs.h >>conftest.$ac_ext
38999 cat >>conftest.$ac_ext <<_ACEOF
39000 /* end confdefs.h. */
39003 $ac_includes_default
39019 rm -f conftest.$ac_objext conftest$ac_exeext
39020 if { (ac_try="$ac_link"
39021 case "(($ac_try" in
39022 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39023 *) ac_try_echo
=$ac_try;;
39025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39026 (eval "$ac_link") 2>conftest.er1
39028 grep -v '^ *+' conftest.er1
>conftest.err
39030 cat conftest.err
>&5
39031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39032 (exit $ac_status); } && {
39033 test -z "$ac_c_werror_flag" ||
39034 test ! -s conftest.err
39035 } && test -s conftest
$ac_exeext &&
39036 $as_test_x conftest
$ac_exeext; then
39037 eval wx_cv_func_
$wx_func=yes
39039 echo "$as_me: failed program was:" >&5
39040 sed 's/^/| /' conftest.
$ac_ext >&5
39042 eval wx_cv_func_
$wx_func=no
39045 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39046 conftest
$ac_exeext conftest.
$ac_ext
39049 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
39050 { echo "$as_me:$LINENO: result: $ac_res" >&5
39051 echo "${ECHO_T}$ac_res" >&6; }
39053 if eval test \
$wx_cv_func_$wx_func = yes
39055 cat >>confdefs.h
<<_ACEOF
39056 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
39062 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
39063 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
39080 for wx_func
in uname
39082 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39083 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39084 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39085 echo $ECHO_N "(cached) $ECHO_C" >&6
39088 cat >conftest.
$ac_ext <<_ACEOF
39092 cat confdefs.h
>>conftest.
$ac_ext
39093 cat >>conftest.
$ac_ext <<_ACEOF
39094 /* end confdefs.h. */
39096 #include <sys/utsname.h>
39097 $ac_includes_default
39113 rm -f conftest.
$ac_objext conftest
$ac_exeext
39114 if { (ac_try
="$ac_link"
39115 case "(($ac_try" in
39116 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39117 *) ac_try_echo=$ac_try;;
39119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39120 (eval "$ac_link") 2>conftest.er1
39122 grep -v '^ *+' conftest.er1 >conftest.err
39124 cat conftest.err >&5
39125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39126 (exit $ac_status); } && {
39127 test -z "$ac_c_werror_flag" ||
39128 test ! -s conftest.err
39129 } && test -s conftest$ac_exeext &&
39130 $as_test_x conftest$ac_exeext; then
39131 eval wx_cv_func_$wx_func=yes
39133 echo "$as_me: failed program was:" >&5
39134 sed 's/^/| /' conftest.$ac_ext >&5
39136 eval wx_cv_func_$wx_func=no
39139 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39140 conftest$ac_exeext conftest.$ac_ext
39143 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39144 { echo "$as_me:$LINENO: result: $ac_res" >&5
39145 echo "${ECHO_T}$ac_res" >&6; }
39147 if eval test \$wx_cv_func_$wx_func = yes
39149 cat >>confdefs.h <<_ACEOF
39150 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
39160 if test "$wx_cv_func_uname" != yes; then
39162 for wx_func in gethostname
39164 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39165 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39166 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39167 echo $ECHO_N "(cached) $ECHO_C" >&6
39170 cat >conftest.$ac_ext <<_ACEOF
39174 cat confdefs.h >>conftest.$ac_ext
39175 cat >>conftest.$ac_ext <<_ACEOF
39176 /* end confdefs.h. */
39179 $ac_includes_default
39195 rm -f conftest.$ac_objext conftest$ac_exeext
39196 if { (ac_try="$ac_link"
39197 case "(($ac_try" in
39198 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39199 *) ac_try_echo
=$ac_try;;
39201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39202 (eval "$ac_link") 2>conftest.er1
39204 grep -v '^ *+' conftest.er1
>conftest.err
39206 cat conftest.err
>&5
39207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39208 (exit $ac_status); } && {
39209 test -z "$ac_c_werror_flag" ||
39210 test ! -s conftest.err
39211 } && test -s conftest
$ac_exeext &&
39212 $as_test_x conftest
$ac_exeext; then
39213 eval wx_cv_func_
$wx_func=yes
39215 echo "$as_me: failed program was:" >&5
39216 sed 's/^/| /' conftest.
$ac_ext >&5
39218 eval wx_cv_func_
$wx_func=no
39221 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39222 conftest
$ac_exeext conftest.
$ac_ext
39225 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
39226 { echo "$as_me:$LINENO: result: $ac_res" >&5
39227 echo "${ECHO_T}$ac_res" >&6; }
39229 if eval test \
$wx_cv_func_$wx_func = yes
39231 cat >>confdefs.h
<<_ACEOF
39232 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
39245 for wx_func
in strtok_r
39247 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39248 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39249 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39250 echo $ECHO_N "(cached) $ECHO_C" >&6
39253 cat >conftest.
$ac_ext <<_ACEOF
39257 cat confdefs.h
>>conftest.
$ac_ext
39258 cat >>conftest.
$ac_ext <<_ACEOF
39259 /* end confdefs.h. */
39262 $ac_includes_default
39278 rm -f conftest.
$ac_objext conftest
$ac_exeext
39279 if { (ac_try
="$ac_link"
39280 case "(($ac_try" in
39281 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39282 *) ac_try_echo=$ac_try;;
39284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39285 (eval "$ac_link") 2>conftest.er1
39287 grep -v '^ *+' conftest.er1 >conftest.err
39289 cat conftest.err >&5
39290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39291 (exit $ac_status); } && {
39292 test -z "$ac_c_werror_flag" ||
39293 test ! -s conftest.err
39294 } && test -s conftest$ac_exeext &&
39295 $as_test_x conftest$ac_exeext; then
39296 eval wx_cv_func_$wx_func=yes
39298 echo "$as_me: failed program was:" >&5
39299 sed 's/^/| /' conftest.$ac_ext >&5
39301 eval wx_cv_func_$wx_func=no
39304 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39305 conftest$ac_exeext conftest.$ac_ext
39308 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39309 { echo "$as_me:$LINENO: result: $ac_res" >&5
39310 echo "${ECHO_T}$ac_res" >&6; }
39312 if eval test \$wx_cv_func_$wx_func = yes
39314 cat >>confdefs.h <<_ACEOF
39315 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
39328 for ac_func in inet_addr
39330 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39331 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39332 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39333 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39334 echo $ECHO_N "(cached) $ECHO_C" >&6
39336 cat >conftest.$ac_ext <<_ACEOF
39339 cat confdefs.h >>conftest.$ac_ext
39340 cat >>conftest.$ac_ext <<_ACEOF
39341 /* end confdefs.h. */
39342 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39343 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39344 #define $ac_func innocuous_$ac_func
39346 /* System header to define __stub macros and hopefully few prototypes,
39347 which can conflict with char $ac_func (); below.
39348 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39349 <limits.h> exists even on freestanding compilers. */
39352 # include <limits.h>
39354 # include <assert.h>
39359 /* Override any GCC internal prototype to avoid an error.
39360 Use char because int might match the return type of a GCC
39361 builtin and then its argument prototype would still apply. */
39366 /* The GNU C library defines this for functions which it implements
39367 to always fail with ENOSYS. Some functions are actually named
39368 something starting with __ and the normal name is an alias. */
39369 #if defined __stub_$ac_func || defined __stub___$ac_func
39376 return $ac_func ();
39381 rm -f conftest.$ac_objext conftest$ac_exeext
39382 if { (ac_try="$ac_link"
39383 case "(($ac_try" in
39384 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39385 *) ac_try_echo
=$ac_try;;
39387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39388 (eval "$ac_link") 2>conftest.er1
39390 grep -v '^ *+' conftest.er1
>conftest.err
39392 cat conftest.err
>&5
39393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39394 (exit $ac_status); } && {
39395 test -z "$ac_c_werror_flag" ||
39396 test ! -s conftest.err
39397 } && test -s conftest
$ac_exeext &&
39398 $as_test_x conftest
$ac_exeext; then
39399 eval "$as_ac_var=yes"
39401 echo "$as_me: failed program was:" >&5
39402 sed 's/^/| /' conftest.
$ac_ext >&5
39404 eval "$as_ac_var=no"
39407 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39408 conftest
$ac_exeext conftest.
$ac_ext
39410 ac_res
=`eval echo '${'$as_ac_var'}'`
39411 { echo "$as_me:$LINENO: result: $ac_res" >&5
39412 echo "${ECHO_T}$ac_res" >&6; }
39413 if test `eval echo '${'$as_ac_var'}'` = yes; then
39414 cat >>confdefs.h
<<_ACEOF
39415 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39417 cat >>confdefs.h
<<\_ACEOF
39418 #define HAVE_INET_ADDR 1
39423 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
39424 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
39425 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
39426 echo $ECHO_N "(cached) $ECHO_C" >&6
39428 ac_check_lib_save_LIBS
=$LIBS
39430 cat >conftest.
$ac_ext <<_ACEOF
39433 cat confdefs.h
>>conftest.
$ac_ext
39434 cat >>conftest.
$ac_ext <<_ACEOF
39435 /* end confdefs.h. */
39437 /* Override any GCC internal prototype to avoid an error.
39438 Use char because int might match the return type of a GCC
39439 builtin and then its argument prototype would still apply. */
39447 return inet_addr ();
39452 rm -f conftest.
$ac_objext conftest
$ac_exeext
39453 if { (ac_try
="$ac_link"
39454 case "(($ac_try" in
39455 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39456 *) ac_try_echo=$ac_try;;
39458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39459 (eval "$ac_link") 2>conftest.er1
39461 grep -v '^ *+' conftest.er1 >conftest.err
39463 cat conftest.err >&5
39464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39465 (exit $ac_status); } && {
39466 test -z "$ac_c_werror_flag" ||
39467 test ! -s conftest.err
39468 } && test -s conftest$ac_exeext &&
39469 $as_test_x conftest$ac_exeext; then
39470 ac_cv_lib_nsl_inet_addr=yes
39472 echo "$as_me: failed program was:" >&5
39473 sed 's/^/| /' conftest.$ac_ext >&5
39475 ac_cv_lib_nsl_inet_addr=no
39478 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39479 conftest$ac_exeext conftest.$ac_ext
39480 LIBS=$ac_check_lib_save_LIBS
39482 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
39483 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
39484 if test $ac_cv_lib_nsl_inet_addr = yes; then
39488 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
39489 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
39490 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
39491 echo $ECHO_N "(cached) $ECHO_C" >&6
39493 ac_check_lib_save_LIBS=$LIBS
39494 LIBS="-lresolv $LIBS"
39495 cat >conftest.$ac_ext <<_ACEOF
39498 cat confdefs.h >>conftest.$ac_ext
39499 cat >>conftest.$ac_ext <<_ACEOF
39500 /* end confdefs.h. */
39502 /* Override any GCC internal prototype to avoid an error.
39503 Use char because int might match the return type of a GCC
39504 builtin and then its argument prototype would still apply. */
39512 return inet_addr ();
39517 rm -f conftest.$ac_objext conftest$ac_exeext
39518 if { (ac_try="$ac_link"
39519 case "(($ac_try" in
39520 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39521 *) ac_try_echo
=$ac_try;;
39523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39524 (eval "$ac_link") 2>conftest.er1
39526 grep -v '^ *+' conftest.er1
>conftest.err
39528 cat conftest.err
>&5
39529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39530 (exit $ac_status); } && {
39531 test -z "$ac_c_werror_flag" ||
39532 test ! -s conftest.err
39533 } && test -s conftest
$ac_exeext &&
39534 $as_test_x conftest
$ac_exeext; then
39535 ac_cv_lib_resolv_inet_addr
=yes
39537 echo "$as_me: failed program was:" >&5
39538 sed 's/^/| /' conftest.
$ac_ext >&5
39540 ac_cv_lib_resolv_inet_addr
=no
39543 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39544 conftest
$ac_exeext conftest.
$ac_ext
39545 LIBS
=$ac_check_lib_save_LIBS
39547 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
39548 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
39549 if test $ac_cv_lib_resolv_inet_addr = yes; then
39553 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
39554 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
39555 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
39556 echo $ECHO_N "(cached) $ECHO_C" >&6
39558 ac_check_lib_save_LIBS
=$LIBS
39559 LIBS
="-lsocket $LIBS"
39560 cat >conftest.
$ac_ext <<_ACEOF
39563 cat confdefs.h
>>conftest.
$ac_ext
39564 cat >>conftest.
$ac_ext <<_ACEOF
39565 /* end confdefs.h. */
39567 /* Override any GCC internal prototype to avoid an error.
39568 Use char because int might match the return type of a GCC
39569 builtin and then its argument prototype would still apply. */
39577 return inet_addr ();
39582 rm -f conftest.
$ac_objext conftest
$ac_exeext
39583 if { (ac_try
="$ac_link"
39584 case "(($ac_try" in
39585 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39586 *) ac_try_echo=$ac_try;;
39588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39589 (eval "$ac_link") 2>conftest.er1
39591 grep -v '^ *+' conftest.er1 >conftest.err
39593 cat conftest.err >&5
39594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39595 (exit $ac_status); } && {
39596 test -z "$ac_c_werror_flag" ||
39597 test ! -s conftest.err
39598 } && test -s conftest$ac_exeext &&
39599 $as_test_x conftest$ac_exeext; then
39600 ac_cv_lib_socket_inet_addr=yes
39602 echo "$as_me: failed program was:" >&5
39603 sed 's/^/| /' conftest.$ac_ext >&5
39605 ac_cv_lib_socket_inet_addr=no
39608 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39609 conftest$ac_exeext conftest.$ac_ext
39610 LIBS=$ac_check_lib_save_LIBS
39612 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
39613 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
39614 if test $ac_cv_lib_socket_inet_addr = yes; then
39634 for ac_func in inet_aton
39636 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39637 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39638 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39639 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39640 echo $ECHO_N "(cached) $ECHO_C" >&6
39642 cat >conftest.$ac_ext <<_ACEOF
39645 cat confdefs.h >>conftest.$ac_ext
39646 cat >>conftest.$ac_ext <<_ACEOF
39647 /* end confdefs.h. */
39648 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39649 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39650 #define $ac_func innocuous_$ac_func
39652 /* System header to define __stub macros and hopefully few prototypes,
39653 which can conflict with char $ac_func (); below.
39654 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39655 <limits.h> exists even on freestanding compilers. */
39658 # include <limits.h>
39660 # include <assert.h>
39665 /* Override any GCC internal prototype to avoid an error.
39666 Use char because int might match the return type of a GCC
39667 builtin and then its argument prototype would still apply. */
39672 /* The GNU C library defines this for functions which it implements
39673 to always fail with ENOSYS. Some functions are actually named
39674 something starting with __ and the normal name is an alias. */
39675 #if defined __stub_$ac_func || defined __stub___$ac_func
39682 return $ac_func ();
39687 rm -f conftest.$ac_objext conftest$ac_exeext
39688 if { (ac_try="$ac_link"
39689 case "(($ac_try" in
39690 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39691 *) ac_try_echo
=$ac_try;;
39693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39694 (eval "$ac_link") 2>conftest.er1
39696 grep -v '^ *+' conftest.er1
>conftest.err
39698 cat conftest.err
>&5
39699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39700 (exit $ac_status); } && {
39701 test -z "$ac_c_werror_flag" ||
39702 test ! -s conftest.err
39703 } && test -s conftest
$ac_exeext &&
39704 $as_test_x conftest
$ac_exeext; then
39705 eval "$as_ac_var=yes"
39707 echo "$as_me: failed program was:" >&5
39708 sed 's/^/| /' conftest.
$ac_ext >&5
39710 eval "$as_ac_var=no"
39713 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39714 conftest
$ac_exeext conftest.
$ac_ext
39716 ac_res
=`eval echo '${'$as_ac_var'}'`
39717 { echo "$as_me:$LINENO: result: $ac_res" >&5
39718 echo "${ECHO_T}$ac_res" >&6; }
39719 if test `eval echo '${'$as_ac_var'}'` = yes; then
39720 cat >>confdefs.h
<<_ACEOF
39721 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39723 cat >>confdefs.h
<<\_ACEOF
39724 #define HAVE_INET_ATON 1
39729 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
39730 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
39731 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
39732 if { as_var
=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
39733 echo $ECHO_N "(cached) $ECHO_C" >&6
39735 ac_check_lib_save_LIBS
=$LIBS
39736 LIBS
="-l$INET_LINK $LIBS"
39737 cat >conftest.
$ac_ext <<_ACEOF
39740 cat confdefs.h
>>conftest.
$ac_ext
39741 cat >>conftest.
$ac_ext <<_ACEOF
39742 /* end confdefs.h. */
39744 /* Override any GCC internal prototype to avoid an error.
39745 Use char because int might match the return type of a GCC
39746 builtin and then its argument prototype would still apply. */
39754 return inet_aton ();
39759 rm -f conftest.
$ac_objext conftest
$ac_exeext
39760 if { (ac_try
="$ac_link"
39761 case "(($ac_try" in
39762 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39763 *) ac_try_echo=$ac_try;;
39765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39766 (eval "$ac_link") 2>conftest.er1
39768 grep -v '^ *+' conftest.er1 >conftest.err
39770 cat conftest.err >&5
39771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39772 (exit $ac_status); } && {
39773 test -z "$ac_c_werror_flag" ||
39774 test ! -s conftest.err
39775 } && test -s conftest$ac_exeext &&
39776 $as_test_x conftest$ac_exeext; then
39777 eval "$as_ac_Lib=yes"
39779 echo "$as_me: failed program was:" >&5
39780 sed 's/^/| /' conftest.$ac_ext >&5
39782 eval "$as_ac_Lib=no"
39785 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39786 conftest$ac_exeext conftest.$ac_ext
39787 LIBS=$ac_check_lib_save_LIBS
39789 ac_res=`eval echo '${'$as_ac_Lib'}'`
39790 { echo "$as_me:$LINENO: result: $ac_res" >&5
39791 echo "${ECHO_T}$ac_res" >&6; }
39792 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
39793 cat >>confdefs.h <<\_ACEOF
39794 #define HAVE_INET_ATON 1
39804 if test "x$INET_LINK" != "x"; then
39805 cat >>confdefs.h <<\_ACEOF
39806 #define HAVE_INET_ADDR 1
39809 INET_LINK=" -l$INET_LINK"
39813 for wx_func in fdopen
39815 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39816 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39817 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39818 echo $ECHO_N "(cached) $ECHO_C" >&6
39821 cat >conftest.$ac_ext <<_ACEOF
39825 cat confdefs.h >>conftest.$ac_ext
39826 cat >>conftest.$ac_ext <<_ACEOF
39827 /* end confdefs.h. */
39830 $ac_includes_default
39846 rm -f conftest.$ac_objext conftest$ac_exeext
39847 if { (ac_try="$ac_link"
39848 case "(($ac_try" in
39849 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39850 *) ac_try_echo
=$ac_try;;
39852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39853 (eval "$ac_link") 2>conftest.er1
39855 grep -v '^ *+' conftest.er1
>conftest.err
39857 cat conftest.err
>&5
39858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39859 (exit $ac_status); } && {
39860 test -z "$ac_c_werror_flag" ||
39861 test ! -s conftest.err
39862 } && test -s conftest
$ac_exeext &&
39863 $as_test_x conftest
$ac_exeext; then
39864 eval wx_cv_func_
$wx_func=yes
39866 echo "$as_me: failed program was:" >&5
39867 sed 's/^/| /' conftest.
$ac_ext >&5
39869 eval wx_cv_func_
$wx_func=no
39872 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39873 conftest
$ac_exeext conftest.
$ac_ext
39876 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
39877 { echo "$as_me:$LINENO: result: $ac_res" >&5
39878 echo "${ECHO_T}$ac_res" >&6; }
39880 if eval test \
$wx_cv_func_$wx_func = yes
39882 cat >>confdefs.h
<<_ACEOF
39883 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
39900 { echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
39901 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6; }
39902 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
39903 echo $ECHO_N "(cached) $ECHO_C" >&6
39905 ac_check_lib_save_LIBS
=$LIBS
39907 cat >conftest.
$ac_ext <<_ACEOF
39910 cat confdefs.h
>>conftest.
$ac_ext
39911 cat >>conftest.
$ac_ext <<_ACEOF
39912 /* end confdefs.h. */
39914 /* Override any GCC internal prototype to avoid an error.
39915 Use char because int might match the return type of a GCC
39916 builtin and then its argument prototype would still apply. */
39924 return esd_close ();
39929 rm -f conftest.
$ac_objext conftest
$ac_exeext
39930 if { (ac_try
="$ac_link"
39931 case "(($ac_try" in
39932 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39933 *) ac_try_echo=$ac_try;;
39935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39936 (eval "$ac_link") 2>conftest.er1
39938 grep -v '^ *+' conftest.er1 >conftest.err
39940 cat conftest.err >&5
39941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39942 (exit $ac_status); } && {
39943 test -z "$ac_c_werror_flag" ||
39944 test ! -s conftest.err
39945 } && test -s conftest$ac_exeext &&
39946 $as_test_x conftest$ac_exeext; then
39947 ac_cv_lib_esd_esd_close=yes
39949 echo "$as_me: failed program was:" >&5
39950 sed 's/^/| /' conftest.$ac_ext >&5
39952 ac_cv_lib_esd_esd_close=no
39955 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39956 conftest$ac_exeext conftest.$ac_ext
39957 LIBS=$ac_check_lib_save_LIBS
39959 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
39960 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6; }
39961 if test $ac_cv_lib_esd_esd_close = yes; then
39964 for ac_header in esd.h
39966 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39967 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39968 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39969 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39970 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39971 echo $ECHO_N "(cached) $ECHO_C" >&6
39973 ac_res=`eval echo '${'$as_ac_Header'}'`
39974 { echo "$as_me:$LINENO: result: $ac_res" >&5
39975 echo "${ECHO_T}$ac_res" >&6; }
39977 # Is the header compilable?
39978 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
39979 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
39980 cat >conftest.$ac_ext <<_ACEOF
39983 cat confdefs.h >>conftest.$ac_ext
39984 cat >>conftest.$ac_ext <<_ACEOF
39985 /* end confdefs.h. */
39986 $ac_includes_default
39987 #include <$ac_header>
39989 rm -f conftest.$ac_objext
39990 if { (ac_try="$ac_compile"
39991 case "(($ac_try" in
39992 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39993 *) ac_try_echo
=$ac_try;;
39995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39996 (eval "$ac_compile") 2>conftest.er1
39998 grep -v '^ *+' conftest.er1
>conftest.err
40000 cat conftest.err
>&5
40001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40002 (exit $ac_status); } && {
40003 test -z "$ac_c_werror_flag" ||
40004 test ! -s conftest.err
40005 } && test -s conftest.
$ac_objext; then
40006 ac_header_compiler
=yes
40008 echo "$as_me: failed program was:" >&5
40009 sed 's/^/| /' conftest.
$ac_ext >&5
40011 ac_header_compiler
=no
40014 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40015 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
40016 echo "${ECHO_T}$ac_header_compiler" >&6; }
40018 # Is the header present?
40019 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
40020 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
40021 cat >conftest.
$ac_ext <<_ACEOF
40024 cat confdefs.h
>>conftest.
$ac_ext
40025 cat >>conftest.
$ac_ext <<_ACEOF
40026 /* end confdefs.h. */
40027 #include <$ac_header>
40029 if { (ac_try
="$ac_cpp conftest.$ac_ext"
40030 case "(($ac_try" in
40031 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40032 *) ac_try_echo=$ac_try;;
40034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40035 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
40037 grep -v '^ *+' conftest.er1 >conftest.err
40039 cat conftest.err >&5
40040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40041 (exit $ac_status); } >/dev/null && {
40042 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
40043 test ! -s conftest.err
40045 ac_header_preproc=yes
40047 echo "$as_me: failed program was:" >&5
40048 sed 's/^/| /' conftest.$ac_ext >&5
40050 ac_header_preproc=no
40053 rm -f conftest.err conftest.$ac_ext
40054 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
40055 echo "${ECHO_T}$ac_header_preproc" >&6; }
40057 # So? What about this header?
40058 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
40060 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
40061 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
40062 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
40063 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
40064 ac_header_preproc=yes
40067 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
40068 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
40069 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
40070 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
40071 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
40072 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
40073 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
40074 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
40075 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
40076 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
40077 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
40078 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
40080 ## ----------------------------------------- ##
40081 ## Report this to wx-dev@lists.wxwidgets.org ##
40082 ## ----------------------------------------- ##
40084 ) | sed "s/^/$as_me: WARNING: /" >&2
40087 { echo "$as_me:$LINENO: checking for $ac_header" >&5
40088 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
40089 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
40090 echo $ECHO_N "(cached) $ECHO_C" >&6
40092 eval "$as_ac_Header=\$ac_header_preproc"
40094 ac_res=`eval echo '${'$as_ac_Header'}'`
40095 { echo "$as_me:$LINENO: result: $ac_res" >&5
40096 echo "${ECHO_T}$ac_res" >&6; }
40099 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40100 cat >>confdefs.h <<_ACEOF
40101 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40104 EXTRALIBS_ESD="-lesd"
40115 { echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
40116 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6; }
40117 cat >conftest.$ac_ext <<_ACEOF
40120 cat confdefs.h >>conftest.$ac_ext
40121 cat >>conftest.$ac_ext <<_ACEOF
40122 /* end confdefs.h. */
40124 #include <linux/cdrom.h>
40127 #include <sys/cdio.h>
40133 struct cdrom_tocentry entry, old_entry;
40138 rm -f conftest.$ac_objext
40139 if { (ac_try="$ac_compile"
40140 case "(($ac_try" in
40141 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40142 *) ac_try_echo
=$ac_try;;
40144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40145 (eval "$ac_compile") 2>conftest.er1
40147 grep -v '^ *+' conftest.er1
>conftest.err
40149 cat conftest.err
>&5
40150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40151 (exit $ac_status); } && {
40152 test -z "$ac_c_werror_flag" ||
40153 test ! -s conftest.err
40154 } && test -s conftest.
$ac_objext; then
40155 { echo "$as_me:$LINENO: result: yes" >&5
40156 echo "${ECHO_T}yes" >&6; }
40157 cat >>confdefs.h
<<\_ACEOF
40158 #define HAVE_KNOWN_CDROM_INTERFACE 1
40162 echo "$as_me: failed program was:" >&5
40163 sed 's/^/| /' conftest.
$ac_ext >&5
40165 { echo "$as_me:$LINENO: result: no" >&5
40166 echo "${ECHO_T}no" >&6; }
40169 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40172 cat >confcache
<<\_ACEOF
40173 # This file is a shell script that caches the results of configure
40174 # tests run on this system so they can be shared between configure
40175 # scripts and configure runs, see configure's option --config-cache.
40176 # It is not useful on other systems. If it contains results you don't
40177 # want to keep, you may remove or edit it.
40179 # config.status only pays attention to the cache file if you give it
40180 # the --recheck option to rerun configure.
40182 # `ac_cv_env_foo' variables (set or unset) will be overridden when
40183 # loading this file, other *unset* `ac_cv_foo' will be assigned the
40184 # following values.
40188 # The following way of writing the cache mishandles newlines in values,
40189 # but we know of no workaround that is simple, portable, and efficient.
40190 # So, we kill variables containing newlines.
40191 # Ultrix sh set writes to stderr and can't be redirected directly,
40192 # and sets the high bit in the cache file unless we assign to the vars.
40194 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
40195 eval ac_val
=\$
$ac_var
40199 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
40200 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
40203 _
| IFS
| as_nl
) ;; #(
40204 *) $as_unset $ac_var ;;
40210 case $as_nl`(ac_space=' '; set) 2>&1` in #(
40211 *${as_nl}ac_space
=\
*)
40212 # `set' does not quote correctly, so add quotes (double-quote
40213 # substitution turns \\\\ into \\, and sed turns \\ into \).
40216 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
40219 # `set' quotes correctly as required by POSIX, so do not add quotes.
40220 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
40229 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
40231 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
40233 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
40234 if test -w "$cache_file"; then
40235 test "x$cache_file" != "x/dev/null" &&
40236 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
40237 echo "$as_me: updating cache $cache_file" >&6;}
40238 cat confcache
>$cache_file
40240 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
40241 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
40247 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40253 if test "$wxUSE_THREADS" = "yes" ; then
40254 if test "$USE_BEOS" = 1; then
40255 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
40256 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
40261 if test "$wxUSE_THREADS" = "yes" ; then
40264 THREAD_OPTS
="-pthread"
40266 *-*-solaris2* | *-*-sunos4* )
40267 if test "x$GCC" = "xyes"; then
40268 THREAD_OPTS
="-pthreads $THREAD_OPTS"
40270 THREAD_OPTS
="-mt $THREAD_OPTS"
40274 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
40276 *-*-darwin* | *-*-cygwin* )
40280 THREAD_OPTS
="pthreads"
40283 if test "x$GCC" = "xyes"; then
40284 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
40292 if test "x$GCC" = "xyes"; then
40298 if test "x$GCC" != "xyes"; then
40299 THREAD_OPTS
="-Ethread"
40304 THREAD_OPTS
="$THREAD_OPTS pthread none"
40307 for flag
in $THREAD_OPTS; do
40310 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
40311 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
40315 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
40316 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
40317 THREADS_CFLAGS
="$flag"
40321 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
40322 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
40323 THREADS_LINK
="-l$flag"
40328 save_CFLAGS
="$CFLAGS"
40329 LIBS
="$THREADS_LINK $LIBS"
40330 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
40332 cat >conftest.
$ac_ext <<_ACEOF
40335 cat confdefs.h
>>conftest.
$ac_ext
40336 cat >>conftest.
$ac_ext <<_ACEOF
40337 /* end confdefs.h. */
40338 #include <pthread.h>
40342 pthread_create(0,0,0,0);
40347 rm -f conftest.
$ac_objext conftest
$ac_exeext
40348 if { (ac_try
="$ac_link"
40349 case "(($ac_try" in
40350 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40351 *) ac_try_echo=$ac_try;;
40353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40354 (eval "$ac_link") 2>conftest.er1
40356 grep -v '^ *+' conftest.er1 >conftest.err
40358 cat conftest.err >&5
40359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40360 (exit $ac_status); } && {
40361 test -z "$ac_c_werror_flag" ||
40362 test ! -s conftest.err
40363 } && test -s conftest$ac_exeext &&
40364 $as_test_x conftest$ac_exeext; then
40367 echo "$as_me: failed program was:" >&5
40368 sed 's/^/| /' conftest.$ac_ext >&5
40373 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40374 conftest$ac_exeext conftest.$ac_ext
40377 CFLAGS="$save_CFLAGS"
40379 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
40380 echo "${ECHO_T}$THREADS_OK" >&6; }
40381 if test "x$THREADS_OK" = "xyes"; then
40389 if test "x$THREADS_OK" != "xyes"; then
40391 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
40392 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
40394 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
40395 LIBS="$THREADS_LINK $LIBS"
40397 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
40398 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
40402 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
40403 flag="-D_THREAD_SAFE"
40406 flag="-D_THREAD_SAFE"
40409 flag="-D_REENTRANT"
40410 if test "x$GCC" != "xyes"; then
40411 flag="$flag -D_RWSTD_MULTI_THREAD"
40414 *solaris* | alpha*-osf*)
40415 flag="-D_REENTRANT"
40418 { echo "$as_me:$LINENO: result: ${flag}" >&5
40419 echo "${ECHO_T}${flag}" >&6; }
40420 if test "x$flag" != xno; then
40421 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
40424 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
40428 if test "$wxUSE_THREADS" = "yes" ; then
40430 for ac_func in thr_setconcurrency
40432 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40433 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40434 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40435 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40436 echo $ECHO_N "(cached) $ECHO_C" >&6
40438 cat >conftest.$ac_ext <<_ACEOF
40441 cat confdefs.h >>conftest.$ac_ext
40442 cat >>conftest.$ac_ext <<_ACEOF
40443 /* end confdefs.h. */
40444 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40445 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40446 #define $ac_func innocuous_$ac_func
40448 /* System header to define __stub macros and hopefully few prototypes,
40449 which can conflict with char $ac_func (); below.
40450 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40451 <limits.h> exists even on freestanding compilers. */
40454 # include <limits.h>
40456 # include <assert.h>
40461 /* Override any GCC internal prototype to avoid an error.
40462 Use char because int might match the return type of a GCC
40463 builtin and then its argument prototype would still apply. */
40468 /* The GNU C library defines this for functions which it implements
40469 to always fail with ENOSYS. Some functions are actually named
40470 something starting with __ and the normal name is an alias. */
40471 #if defined __stub_$ac_func || defined __stub___$ac_func
40478 return $ac_func ();
40483 rm -f conftest.$ac_objext conftest$ac_exeext
40484 if { (ac_try="$ac_link"
40485 case "(($ac_try" in
40486 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40487 *) ac_try_echo
=$ac_try;;
40489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40490 (eval "$ac_link") 2>conftest.er1
40492 grep -v '^ *+' conftest.er1
>conftest.err
40494 cat conftest.err
>&5
40495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40496 (exit $ac_status); } && {
40497 test -z "$ac_c_werror_flag" ||
40498 test ! -s conftest.err
40499 } && test -s conftest
$ac_exeext &&
40500 $as_test_x conftest
$ac_exeext; then
40501 eval "$as_ac_var=yes"
40503 echo "$as_me: failed program was:" >&5
40504 sed 's/^/| /' conftest.
$ac_ext >&5
40506 eval "$as_ac_var=no"
40509 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40510 conftest
$ac_exeext conftest.
$ac_ext
40512 ac_res
=`eval echo '${'$as_ac_var'}'`
40513 { echo "$as_me:$LINENO: result: $ac_res" >&5
40514 echo "${ECHO_T}$ac_res" >&6; }
40515 if test `eval echo '${'$as_ac_var'}'` = yes; then
40516 cat >>confdefs.h
<<_ACEOF
40517 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40524 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
40525 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
40526 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
40527 echo $ECHO_N "(cached) $ECHO_C" >&6
40530 cat >conftest.
$ac_ext <<_ACEOF
40533 cat confdefs.h
>>conftest.
$ac_ext
40534 cat >>conftest.
$ac_ext <<_ACEOF
40535 /* end confdefs.h. */
40536 #include <pthread.h>
40537 void ThreadCleanupFunc(void *p);
40544 pthread_cleanup_push(ThreadCleanupFunc, p);
40545 pthread_cleanup_pop(0);
40551 rm -f conftest.
$ac_objext
40552 if { (ac_try
="$ac_compile"
40553 case "(($ac_try" in
40554 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40555 *) ac_try_echo=$ac_try;;
40557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40558 (eval "$ac_compile") 2>conftest.er1
40560 grep -v '^ *+' conftest.er1 >conftest.err
40562 cat conftest.err >&5
40563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40564 (exit $ac_status); } && {
40565 test -z "$ac_c_werror_flag" ||
40566 test ! -s conftest.err
40567 } && test -s conftest.$ac_objext; then
40569 wx_cv_func_pthread_cleanup=yes
40572 echo "$as_me: failed program was:" >&5
40573 sed 's/^/| /' conftest.$ac_ext >&5
40576 wx_cv_func_pthread_cleanup=no
40581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40584 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
40585 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
40586 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
40587 cat >>confdefs.h <<\_ACEOF
40588 #define wxHAVE_PTHREAD_CLEANUP 1
40594 for ac_header in sched.h
40596 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40597 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
40598 { echo "$as_me:$LINENO: checking for $ac_header" >&5
40599 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
40600 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
40601 echo $ECHO_N "(cached) $ECHO_C" >&6
40603 ac_res=`eval echo '${'$as_ac_Header'}'`
40604 { echo "$as_me:$LINENO: result: $ac_res" >&5
40605 echo "${ECHO_T}$ac_res" >&6; }
40607 # Is the header compilable?
40608 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
40609 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
40610 cat >conftest.$ac_ext <<_ACEOF
40613 cat confdefs.h >>conftest.$ac_ext
40614 cat >>conftest.$ac_ext <<_ACEOF
40615 /* end confdefs.h. */
40616 $ac_includes_default
40617 #include <$ac_header>
40619 rm -f conftest.$ac_objext
40620 if { (ac_try="$ac_compile"
40621 case "(($ac_try" in
40622 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40623 *) ac_try_echo
=$ac_try;;
40625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40626 (eval "$ac_compile") 2>conftest.er1
40628 grep -v '^ *+' conftest.er1
>conftest.err
40630 cat conftest.err
>&5
40631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40632 (exit $ac_status); } && {
40633 test -z "$ac_c_werror_flag" ||
40634 test ! -s conftest.err
40635 } && test -s conftest.
$ac_objext; then
40636 ac_header_compiler
=yes
40638 echo "$as_me: failed program was:" >&5
40639 sed 's/^/| /' conftest.
$ac_ext >&5
40641 ac_header_compiler
=no
40644 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40645 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
40646 echo "${ECHO_T}$ac_header_compiler" >&6; }
40648 # Is the header present?
40649 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
40650 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
40651 cat >conftest.
$ac_ext <<_ACEOF
40654 cat confdefs.h
>>conftest.
$ac_ext
40655 cat >>conftest.
$ac_ext <<_ACEOF
40656 /* end confdefs.h. */
40657 #include <$ac_header>
40659 if { (ac_try
="$ac_cpp conftest.$ac_ext"
40660 case "(($ac_try" in
40661 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40662 *) ac_try_echo=$ac_try;;
40664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40665 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
40667 grep -v '^ *+' conftest.er1 >conftest.err
40669 cat conftest.err >&5
40670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40671 (exit $ac_status); } >/dev/null && {
40672 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
40673 test ! -s conftest.err
40675 ac_header_preproc=yes
40677 echo "$as_me: failed program was:" >&5
40678 sed 's/^/| /' conftest.$ac_ext >&5
40680 ac_header_preproc=no
40683 rm -f conftest.err conftest.$ac_ext
40684 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
40685 echo "${ECHO_T}$ac_header_preproc" >&6; }
40687 # So? What about this header?
40688 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
40690 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
40691 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
40692 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
40693 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
40694 ac_header_preproc=yes
40697 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
40698 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
40699 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
40700 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
40701 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
40702 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
40703 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
40704 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
40705 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
40706 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
40707 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
40708 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
40710 ## ----------------------------------------- ##
40711 ## Report this to wx-dev@lists.wxwidgets.org ##
40712 ## ----------------------------------------- ##
40714 ) | sed "s/^/$as_me: WARNING: /" >&2
40717 { echo "$as_me:$LINENO: checking for $ac_header" >&5
40718 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
40719 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
40720 echo $ECHO_N "(cached) $ECHO_C" >&6
40722 eval "$as_ac_Header=\$ac_header_preproc"
40724 ac_res=`eval echo '${'$as_ac_Header'}'`
40725 { echo "$as_me:$LINENO: result: $ac_res" >&5
40726 echo "${ECHO_T}$ac_res" >&6; }
40729 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40730 cat >>confdefs.h <<_ACEOF
40731 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40738 if test "$ac_cv_header_sched_h" = "yes"; then
40739 { echo "$as_me:$LINENO: checking for sched_yield" >&5
40740 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
40741 if test "${ac_cv_func_sched_yield+set}" = set; then
40742 echo $ECHO_N "(cached) $ECHO_C" >&6
40744 cat >conftest.$ac_ext <<_ACEOF
40747 cat confdefs.h >>conftest.$ac_ext
40748 cat >>conftest.$ac_ext <<_ACEOF
40749 /* end confdefs.h. */
40750 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
40751 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40752 #define sched_yield innocuous_sched_yield
40754 /* System header to define __stub macros and hopefully few prototypes,
40755 which can conflict with char sched_yield (); below.
40756 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40757 <limits.h> exists even on freestanding compilers. */
40760 # include <limits.h>
40762 # include <assert.h>
40767 /* Override any GCC internal prototype to avoid an error.
40768 Use char because int might match the return type of a GCC
40769 builtin and then its argument prototype would still apply. */
40773 char sched_yield ();
40774 /* The GNU C library defines this for functions which it implements
40775 to always fail with ENOSYS. Some functions are actually named
40776 something starting with __ and the normal name is an alias. */
40777 #if defined __stub_sched_yield || defined __stub___sched_yield
40784 return sched_yield ();
40789 rm -f conftest.$ac_objext conftest$ac_exeext
40790 if { (ac_try="$ac_link"
40791 case "(($ac_try" in
40792 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40793 *) ac_try_echo
=$ac_try;;
40795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40796 (eval "$ac_link") 2>conftest.er1
40798 grep -v '^ *+' conftest.er1
>conftest.err
40800 cat conftest.err
>&5
40801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40802 (exit $ac_status); } && {
40803 test -z "$ac_c_werror_flag" ||
40804 test ! -s conftest.err
40805 } && test -s conftest
$ac_exeext &&
40806 $as_test_x conftest
$ac_exeext; then
40807 ac_cv_func_sched_yield
=yes
40809 echo "$as_me: failed program was:" >&5
40810 sed 's/^/| /' conftest.
$ac_ext >&5
40812 ac_cv_func_sched_yield
=no
40815 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40816 conftest
$ac_exeext conftest.
$ac_ext
40818 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
40819 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
40820 if test $ac_cv_func_sched_yield = yes; then
40821 cat >>confdefs.h
<<\_ACEOF
40822 #define HAVE_SCHED_YIELD 1
40827 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
40828 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
40829 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
40830 echo $ECHO_N "(cached) $ECHO_C" >&6
40832 ac_check_lib_save_LIBS
=$LIBS
40833 LIBS
="-lposix4 $LIBS"
40834 cat >conftest.
$ac_ext <<_ACEOF
40837 cat confdefs.h
>>conftest.
$ac_ext
40838 cat >>conftest.
$ac_ext <<_ACEOF
40839 /* end confdefs.h. */
40841 /* Override any GCC internal prototype to avoid an error.
40842 Use char because int might match the return type of a GCC
40843 builtin and then its argument prototype would still apply. */
40847 char sched_yield ();
40851 return sched_yield ();
40856 rm -f conftest.
$ac_objext conftest
$ac_exeext
40857 if { (ac_try
="$ac_link"
40858 case "(($ac_try" in
40859 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40860 *) ac_try_echo=$ac_try;;
40862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40863 (eval "$ac_link") 2>conftest.er1
40865 grep -v '^ *+' conftest.er1 >conftest.err
40867 cat conftest.err >&5
40868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40869 (exit $ac_status); } && {
40870 test -z "$ac_c_werror_flag" ||
40871 test ! -s conftest.err
40872 } && test -s conftest$ac_exeext &&
40873 $as_test_x conftest$ac_exeext; then
40874 ac_cv_lib_posix4_sched_yield=yes
40876 echo "$as_me: failed program was:" >&5
40877 sed 's/^/| /' conftest.$ac_ext >&5
40879 ac_cv_lib_posix4_sched_yield=no
40882 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40883 conftest$ac_exeext conftest.$ac_ext
40884 LIBS=$ac_check_lib_save_LIBS
40886 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
40887 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
40888 if test $ac_cv_lib_posix4_sched_yield = yes; then
40889 cat >>confdefs.h <<\_ACEOF
40890 #define HAVE_SCHED_YIELD 1
40892 POSIX4_LINK=" -lposix4"
40894 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
40895 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
40906 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
40907 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
40908 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
40909 echo $ECHO_N "(cached) $ECHO_C" >&6
40911 cat >conftest.$ac_ext <<_ACEOF
40914 cat confdefs.h >>conftest.$ac_ext
40915 cat >>conftest.$ac_ext <<_ACEOF
40916 /* end confdefs.h. */
40917 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
40918 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40919 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
40921 /* System header to define __stub macros and hopefully few prototypes,
40922 which can conflict with char pthread_attr_getschedpolicy (); below.
40923 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40924 <limits.h> exists even on freestanding compilers. */
40927 # include <limits.h>
40929 # include <assert.h>
40932 #undef pthread_attr_getschedpolicy
40934 /* Override any GCC internal prototype to avoid an error.
40935 Use char because int might match the return type of a GCC
40936 builtin and then its argument prototype would still apply. */
40940 char pthread_attr_getschedpolicy ();
40941 /* The GNU C library defines this for functions which it implements
40942 to always fail with ENOSYS. Some functions are actually named
40943 something starting with __ and the normal name is an alias. */
40944 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
40951 return pthread_attr_getschedpolicy ();
40956 rm -f conftest.$ac_objext conftest$ac_exeext
40957 if { (ac_try="$ac_link"
40958 case "(($ac_try" in
40959 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40960 *) ac_try_echo
=$ac_try;;
40962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40963 (eval "$ac_link") 2>conftest.er1
40965 grep -v '^ *+' conftest.er1
>conftest.err
40967 cat conftest.err
>&5
40968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40969 (exit $ac_status); } && {
40970 test -z "$ac_c_werror_flag" ||
40971 test ! -s conftest.err
40972 } && test -s conftest
$ac_exeext &&
40973 $as_test_x conftest
$ac_exeext; then
40974 ac_cv_func_pthread_attr_getschedpolicy
=yes
40976 echo "$as_me: failed program was:" >&5
40977 sed 's/^/| /' conftest.
$ac_ext >&5
40979 ac_cv_func_pthread_attr_getschedpolicy
=no
40982 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40983 conftest
$ac_exeext conftest.
$ac_ext
40985 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
40986 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
40987 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
40988 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
40989 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
40990 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
40991 echo $ECHO_N "(cached) $ECHO_C" >&6
40993 cat >conftest.
$ac_ext <<_ACEOF
40996 cat confdefs.h
>>conftest.
$ac_ext
40997 cat >>conftest.
$ac_ext <<_ACEOF
40998 /* end confdefs.h. */
40999 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
41000 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41001 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
41003 /* System header to define __stub macros and hopefully few prototypes,
41004 which can conflict with char pthread_attr_setschedparam (); below.
41005 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41006 <limits.h> exists even on freestanding compilers. */
41009 # include <limits.h>
41011 # include <assert.h>
41014 #undef pthread_attr_setschedparam
41016 /* Override any GCC internal prototype to avoid an error.
41017 Use char because int might match the return type of a GCC
41018 builtin and then its argument prototype would still apply. */
41022 char pthread_attr_setschedparam ();
41023 /* The GNU C library defines this for functions which it implements
41024 to always fail with ENOSYS. Some functions are actually named
41025 something starting with __ and the normal name is an alias. */
41026 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
41033 return pthread_attr_setschedparam ();
41038 rm -f conftest.
$ac_objext conftest
$ac_exeext
41039 if { (ac_try
="$ac_link"
41040 case "(($ac_try" in
41041 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41042 *) ac_try_echo=$ac_try;;
41044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41045 (eval "$ac_link") 2>conftest.er1
41047 grep -v '^ *+' conftest.er1 >conftest.err
41049 cat conftest.err >&5
41050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41051 (exit $ac_status); } && {
41052 test -z "$ac_c_werror_flag" ||
41053 test ! -s conftest.err
41054 } && test -s conftest$ac_exeext &&
41055 $as_test_x conftest$ac_exeext; then
41056 ac_cv_func_pthread_attr_setschedparam=yes
41058 echo "$as_me: failed program was:" >&5
41059 sed 's/^/| /' conftest.$ac_ext >&5
41061 ac_cv_func_pthread_attr_setschedparam=no
41064 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41065 conftest$ac_exeext conftest.$ac_ext
41067 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
41068 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
41069 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
41070 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
41071 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
41072 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
41073 echo $ECHO_N "(cached) $ECHO_C" >&6
41075 cat >conftest.$ac_ext <<_ACEOF
41078 cat confdefs.h >>conftest.$ac_ext
41079 cat >>conftest.$ac_ext <<_ACEOF
41080 /* end confdefs.h. */
41081 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
41082 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41083 #define sched_get_priority_max innocuous_sched_get_priority_max
41085 /* System header to define __stub macros and hopefully few prototypes,
41086 which can conflict with char sched_get_priority_max (); below.
41087 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41088 <limits.h> exists even on freestanding compilers. */
41091 # include <limits.h>
41093 # include <assert.h>
41096 #undef sched_get_priority_max
41098 /* Override any GCC internal prototype to avoid an error.
41099 Use char because int might match the return type of a GCC
41100 builtin and then its argument prototype would still apply. */
41104 char sched_get_priority_max ();
41105 /* The GNU C library defines this for functions which it implements
41106 to always fail with ENOSYS. Some functions are actually named
41107 something starting with __ and the normal name is an alias. */
41108 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
41115 return sched_get_priority_max ();
41120 rm -f conftest.$ac_objext conftest$ac_exeext
41121 if { (ac_try="$ac_link"
41122 case "(($ac_try" in
41123 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41124 *) ac_try_echo
=$ac_try;;
41126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41127 (eval "$ac_link") 2>conftest.er1
41129 grep -v '^ *+' conftest.er1
>conftest.err
41131 cat conftest.err
>&5
41132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41133 (exit $ac_status); } && {
41134 test -z "$ac_c_werror_flag" ||
41135 test ! -s conftest.err
41136 } && test -s conftest
$ac_exeext &&
41137 $as_test_x conftest
$ac_exeext; then
41138 ac_cv_func_sched_get_priority_max
=yes
41140 echo "$as_me: failed program was:" >&5
41141 sed 's/^/| /' conftest.
$ac_ext >&5
41143 ac_cv_func_sched_get_priority_max
=no
41146 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41147 conftest
$ac_exeext conftest.
$ac_ext
41149 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
41150 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
41151 if test $ac_cv_func_sched_get_priority_max = yes; then
41154 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
41155 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
41156 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
41157 echo $ECHO_N "(cached) $ECHO_C" >&6
41159 ac_check_lib_save_LIBS
=$LIBS
41160 LIBS
="-lposix4 $LIBS"
41161 cat >conftest.
$ac_ext <<_ACEOF
41164 cat confdefs.h
>>conftest.
$ac_ext
41165 cat >>conftest.
$ac_ext <<_ACEOF
41166 /* end confdefs.h. */
41168 /* Override any GCC internal prototype to avoid an error.
41169 Use char because int might match the return type of a GCC
41170 builtin and then its argument prototype would still apply. */
41174 char sched_get_priority_max ();
41178 return sched_get_priority_max ();
41183 rm -f conftest.
$ac_objext conftest
$ac_exeext
41184 if { (ac_try
="$ac_link"
41185 case "(($ac_try" in
41186 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41187 *) ac_try_echo=$ac_try;;
41189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41190 (eval "$ac_link") 2>conftest.er1
41192 grep -v '^ *+' conftest.er1 >conftest.err
41194 cat conftest.err >&5
41195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41196 (exit $ac_status); } && {
41197 test -z "$ac_c_werror_flag" ||
41198 test ! -s conftest.err
41199 } && test -s conftest$ac_exeext &&
41200 $as_test_x conftest$ac_exeext; then
41201 ac_cv_lib_posix4_sched_get_priority_max=yes
41203 echo "$as_me: failed program was:" >&5
41204 sed 's/^/| /' conftest.$ac_ext >&5
41206 ac_cv_lib_posix4_sched_get_priority_max=no
41209 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41210 conftest$ac_exeext conftest.$ac_ext
41211 LIBS=$ac_check_lib_save_LIBS
41213 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
41214 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
41215 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
41218 POSIX4_LINK=" -lposix4"
41232 if test "$HAVE_PRIOR_FUNCS" = 1; then
41233 cat >>confdefs.h <<\_ACEOF
41234 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
41238 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
41239 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
41242 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
41243 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
41244 if test "${ac_cv_func_pthread_cancel+set}" = set; then
41245 echo $ECHO_N "(cached) $ECHO_C" >&6
41247 cat >conftest.$ac_ext <<_ACEOF
41250 cat confdefs.h >>conftest.$ac_ext
41251 cat >>conftest.$ac_ext <<_ACEOF
41252 /* end confdefs.h. */
41253 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
41254 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41255 #define pthread_cancel innocuous_pthread_cancel
41257 /* System header to define __stub macros and hopefully few prototypes,
41258 which can conflict with char pthread_cancel (); below.
41259 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41260 <limits.h> exists even on freestanding compilers. */
41263 # include <limits.h>
41265 # include <assert.h>
41268 #undef pthread_cancel
41270 /* Override any GCC internal prototype to avoid an error.
41271 Use char because int might match the return type of a GCC
41272 builtin and then its argument prototype would still apply. */
41276 char pthread_cancel ();
41277 /* The GNU C library defines this for functions which it implements
41278 to always fail with ENOSYS. Some functions are actually named
41279 something starting with __ and the normal name is an alias. */
41280 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
41287 return pthread_cancel ();
41292 rm -f conftest.$ac_objext conftest$ac_exeext
41293 if { (ac_try="$ac_link"
41294 case "(($ac_try" in
41295 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41296 *) ac_try_echo
=$ac_try;;
41298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41299 (eval "$ac_link") 2>conftest.er1
41301 grep -v '^ *+' conftest.er1
>conftest.err
41303 cat conftest.err
>&5
41304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41305 (exit $ac_status); } && {
41306 test -z "$ac_c_werror_flag" ||
41307 test ! -s conftest.err
41308 } && test -s conftest
$ac_exeext &&
41309 $as_test_x conftest
$ac_exeext; then
41310 ac_cv_func_pthread_cancel
=yes
41312 echo "$as_me: failed program was:" >&5
41313 sed 's/^/| /' conftest.
$ac_ext >&5
41315 ac_cv_func_pthread_cancel
=no
41318 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41319 conftest
$ac_exeext conftest.
$ac_ext
41321 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
41322 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
41323 if test $ac_cv_func_pthread_cancel = yes; then
41324 cat >>confdefs.h
<<\_ACEOF
41325 #define HAVE_PTHREAD_CANCEL 1
41329 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
41330 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
41334 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
41335 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
41336 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
41337 echo $ECHO_N "(cached) $ECHO_C" >&6
41339 cat >conftest.
$ac_ext <<_ACEOF
41342 cat confdefs.h
>>conftest.
$ac_ext
41343 cat >>conftest.
$ac_ext <<_ACEOF
41344 /* end confdefs.h. */
41345 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
41346 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41347 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
41349 /* System header to define __stub macros and hopefully few prototypes,
41350 which can conflict with char pthread_attr_setstacksize (); below.
41351 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41352 <limits.h> exists even on freestanding compilers. */
41355 # include <limits.h>
41357 # include <assert.h>
41360 #undef pthread_attr_setstacksize
41362 /* Override any GCC internal prototype to avoid an error.
41363 Use char because int might match the return type of a GCC
41364 builtin and then its argument prototype would still apply. */
41368 char pthread_attr_setstacksize ();
41369 /* The GNU C library defines this for functions which it implements
41370 to always fail with ENOSYS. Some functions are actually named
41371 something starting with __ and the normal name is an alias. */
41372 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
41379 return pthread_attr_setstacksize ();
41384 rm -f conftest.
$ac_objext conftest
$ac_exeext
41385 if { (ac_try
="$ac_link"
41386 case "(($ac_try" in
41387 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41388 *) ac_try_echo=$ac_try;;
41390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41391 (eval "$ac_link") 2>conftest.er1
41393 grep -v '^ *+' conftest.er1 >conftest.err
41395 cat conftest.err >&5
41396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41397 (exit $ac_status); } && {
41398 test -z "$ac_c_werror_flag" ||
41399 test ! -s conftest.err
41400 } && test -s conftest$ac_exeext &&
41401 $as_test_x conftest$ac_exeext; then
41402 ac_cv_func_pthread_attr_setstacksize=yes
41404 echo "$as_me: failed program was:" >&5
41405 sed 's/^/| /' conftest.$ac_ext >&5
41407 ac_cv_func_pthread_attr_setstacksize=no
41410 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41411 conftest$ac_exeext conftest.$ac_ext
41413 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
41414 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
41415 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
41416 cat >>confdefs.h <<\_ACEOF
41417 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
41424 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
41425 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
41426 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
41427 echo $ECHO_N "(cached) $ECHO_C" >&6
41430 cat >conftest.$ac_ext <<_ACEOF
41433 cat confdefs.h >>conftest.$ac_ext
41434 cat >>conftest.$ac_ext <<_ACEOF
41435 /* end confdefs.h. */
41436 #include <pthread.h>
41441 pthread_mutexattr_t attr;
41442 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41448 rm -f conftest.$ac_objext
41449 if { (ac_try="$ac_compile"
41450 case "(($ac_try" in
41451 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41452 *) ac_try_echo
=$ac_try;;
41454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41455 (eval "$ac_compile") 2>conftest.er1
41457 grep -v '^ *+' conftest.er1
>conftest.err
41459 cat conftest.err
>&5
41460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41461 (exit $ac_status); } && {
41462 test -z "$ac_c_werror_flag" ||
41463 test ! -s conftest.err
41464 } && test -s conftest.
$ac_objext; then
41465 wx_cv_type_pthread_mutexattr_t
=yes
41467 echo "$as_me: failed program was:" >&5
41468 sed 's/^/| /' conftest.
$ac_ext >&5
41470 wx_cv_type_pthread_mutexattr_t
=no
41474 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41477 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
41478 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
41480 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
41481 cat >>confdefs.h
<<\_ACEOF
41482 #define HAVE_PTHREAD_MUTEXATTR_T 1
41486 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
41487 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
41488 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
41489 echo $ECHO_N "(cached) $ECHO_C" >&6
41492 cat >conftest.
$ac_ext <<_ACEOF
41495 cat confdefs.h
>>conftest.
$ac_ext
41496 cat >>conftest.
$ac_ext <<_ACEOF
41497 /* end confdefs.h. */
41498 #include <pthread.h>
41503 pthread_mutexattr_t attr;
41504 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41510 rm -f conftest.
$ac_objext
41511 if { (ac_try
="$ac_compile"
41512 case "(($ac_try" in
41513 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41514 *) ac_try_echo=$ac_try;;
41516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41517 (eval "$ac_compile") 2>conftest.er1
41519 grep -v '^ *+' conftest.er1 >conftest.err
41521 cat conftest.err >&5
41522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41523 (exit $ac_status); } && {
41524 test -z "$ac_c_werror_flag" ||
41525 test ! -s conftest.err
41526 } && test -s conftest.$ac_objext; then
41527 wx_cv_func_pthread_mutexattr_settype_decl=yes
41529 echo "$as_me: failed program was:" >&5
41530 sed 's/^/| /' conftest.$ac_ext >&5
41532 wx_cv_func_pthread_mutexattr_settype_decl=no
41536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41539 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
41540 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
41541 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
41542 cat >>confdefs.h <<\_ACEOF
41543 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
41548 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
41549 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
41550 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
41551 echo $ECHO_N "(cached) $ECHO_C" >&6
41554 cat >conftest.$ac_ext <<_ACEOF
41557 cat confdefs.h >>conftest.$ac_ext
41558 cat >>conftest.$ac_ext <<_ACEOF
41559 /* end confdefs.h. */
41560 #include <pthread.h>
41565 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
41571 rm -f conftest.$ac_objext
41572 if { (ac_try="$ac_compile"
41573 case "(($ac_try" in
41574 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41575 *) ac_try_echo
=$ac_try;;
41577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41578 (eval "$ac_compile") 2>conftest.er1
41580 grep -v '^ *+' conftest.er1
>conftest.err
41582 cat conftest.err
>&5
41583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41584 (exit $ac_status); } && {
41585 test -z "$ac_c_werror_flag" ||
41586 test ! -s conftest.err
41587 } && test -s conftest.
$ac_objext; then
41589 wx_cv_type_pthread_rec_mutex_init
=yes
41592 echo "$as_me: failed program was:" >&5
41593 sed 's/^/| /' conftest.
$ac_ext >&5
41596 wx_cv_type_pthread_rec_mutex_init
=no
41601 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41604 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
41605 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
41606 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
41607 cat >>confdefs.h
<<\_ACEOF
41608 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
41612 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
41613 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
41619 if test "$wxUSE_THREADS" = "yes" ; then
41622 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
41623 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
41624 if test "${wx_cv_cflags_mthread+set}" = set; then
41625 echo $ECHO_N "(cached) $ECHO_C" >&6
41628 CFLAGS_OLD
="$CFLAGS"
41629 CFLAGS
="-mthreads $CFLAGS"
41630 cat >conftest.
$ac_ext <<_ACEOF
41633 cat confdefs.h
>>conftest.
$ac_ext
41634 cat >>conftest.
$ac_ext <<_ACEOF
41635 /* end confdefs.h. */
41645 rm -f conftest.
$ac_objext
41646 if { (ac_try
="$ac_compile"
41647 case "(($ac_try" in
41648 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41649 *) ac_try_echo=$ac_try;;
41651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41652 (eval "$ac_compile") 2>conftest.er1
41654 grep -v '^ *+' conftest.er1 >conftest.err
41656 cat conftest.err >&5
41657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41658 (exit $ac_status); } && {
41659 test -z "$ac_c_werror_flag" ||
41660 test ! -s conftest.err
41661 } && test -s conftest.$ac_objext; then
41662 wx_cv_cflags_mthread=yes
41664 echo "$as_me: failed program was:" >&5
41665 sed 's/^/| /' conftest.$ac_ext >&5
41667 wx_cv_cflags_mthread=no
41671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41675 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
41676 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
41678 if test "$wx_cv_cflags_mthread" = "yes"; then
41679 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
41680 LDFLAGS="$LDFLAGS -mthreads"
41682 CFLAGS="$CFLAGS_OLD"
41686 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
41687 LDFLAGS="$LDFLAGS -Zmt"
41693 { echo "$as_me:$LINENO: checking for localtime_r" >&5
41694 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
41695 if test "${ac_cv_func_localtime_r+set}" = set; then
41696 echo $ECHO_N "(cached) $ECHO_C" >&6
41698 cat >conftest.$ac_ext <<_ACEOF
41701 cat confdefs.h >>conftest.$ac_ext
41702 cat >>conftest.$ac_ext <<_ACEOF
41703 /* end confdefs.h. */
41704 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
41705 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41706 #define localtime_r innocuous_localtime_r
41708 /* System header to define __stub macros and hopefully few prototypes,
41709 which can conflict with char localtime_r (); below.
41710 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41711 <limits.h> exists even on freestanding compilers. */
41714 # include <limits.h>
41716 # include <assert.h>
41721 /* Override any GCC internal prototype to avoid an error.
41722 Use char because int might match the return type of a GCC
41723 builtin and then its argument prototype would still apply. */
41727 char localtime_r ();
41728 /* The GNU C library defines this for functions which it implements
41729 to always fail with ENOSYS. Some functions are actually named
41730 something starting with __ and the normal name is an alias. */
41731 #if defined __stub_localtime_r || defined __stub___localtime_r
41738 return localtime_r ();
41743 rm -f conftest.$ac_objext conftest$ac_exeext
41744 if { (ac_try="$ac_link"
41745 case "(($ac_try" in
41746 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41747 *) ac_try_echo
=$ac_try;;
41749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41750 (eval "$ac_link") 2>conftest.er1
41752 grep -v '^ *+' conftest.er1
>conftest.err
41754 cat conftest.err
>&5
41755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41756 (exit $ac_status); } && {
41757 test -z "$ac_c_werror_flag" ||
41758 test ! -s conftest.err
41759 } && test -s conftest
$ac_exeext &&
41760 $as_test_x conftest
$ac_exeext; then
41761 ac_cv_func_localtime_r
=yes
41763 echo "$as_me: failed program was:" >&5
41764 sed 's/^/| /' conftest.
$ac_ext >&5
41766 ac_cv_func_localtime_r
=no
41769 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41770 conftest
$ac_exeext conftest.
$ac_ext
41772 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
41773 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
41774 if test $ac_cv_func_localtime_r = yes; then
41775 cat >>confdefs.h
<<\_ACEOF
41776 #define HAVE_LOCALTIME_R 1
41781 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
41782 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
41783 if test "${ac_cv_func_gmtime_r+set}" = set; then
41784 echo $ECHO_N "(cached) $ECHO_C" >&6
41786 cat >conftest.
$ac_ext <<_ACEOF
41789 cat confdefs.h
>>conftest.
$ac_ext
41790 cat >>conftest.
$ac_ext <<_ACEOF
41791 /* end confdefs.h. */
41792 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
41793 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41794 #define gmtime_r innocuous_gmtime_r
41796 /* System header to define __stub macros and hopefully few prototypes,
41797 which can conflict with char gmtime_r (); below.
41798 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41799 <limits.h> exists even on freestanding compilers. */
41802 # include <limits.h>
41804 # include <assert.h>
41809 /* Override any GCC internal prototype to avoid an error.
41810 Use char because int might match the return type of a GCC
41811 builtin and then its argument prototype would still apply. */
41816 /* The GNU C library defines this for functions which it implements
41817 to always fail with ENOSYS. Some functions are actually named
41818 something starting with __ and the normal name is an alias. */
41819 #if defined __stub_gmtime_r || defined __stub___gmtime_r
41826 return gmtime_r ();
41831 rm -f conftest.
$ac_objext conftest
$ac_exeext
41832 if { (ac_try
="$ac_link"
41833 case "(($ac_try" in
41834 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41835 *) ac_try_echo=$ac_try;;
41837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41838 (eval "$ac_link") 2>conftest.er1
41840 grep -v '^ *+' conftest.er1 >conftest.err
41842 cat conftest.err >&5
41843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41844 (exit $ac_status); } && {
41845 test -z "$ac_c_werror_flag" ||
41846 test ! -s conftest.err
41847 } && test -s conftest$ac_exeext &&
41848 $as_test_x conftest$ac_exeext; then
41849 ac_cv_func_gmtime_r=yes
41851 echo "$as_me: failed program was:" >&5
41852 sed 's/^/| /' conftest.$ac_ext >&5
41854 ac_cv_func_gmtime_r=no
41857 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41858 conftest$ac_exeext conftest.$ac_ext
41860 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
41861 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
41862 if test $ac_cv_func_gmtime_r = yes; then
41863 cat >>confdefs.h <<\_ACEOF
41864 #define HAVE_GMTIME_R 1
41869 { echo "$as_me:$LINENO: checking for readdir_r" >&5
41870 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6; }
41871 if test "${ac_cv_func_readdir_r+set}" = set; then
41872 echo $ECHO_N "(cached) $ECHO_C" >&6
41874 cat >conftest.$ac_ext <<_ACEOF
41877 cat confdefs.h >>conftest.$ac_ext
41878 cat >>conftest.$ac_ext <<_ACEOF
41879 /* end confdefs.h. */
41880 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
41881 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41882 #define readdir_r innocuous_readdir_r
41884 /* System header to define __stub macros and hopefully few prototypes,
41885 which can conflict with char readdir_r (); below.
41886 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41887 <limits.h> exists even on freestanding compilers. */
41890 # include <limits.h>
41892 # include <assert.h>
41897 /* Override any GCC internal prototype to avoid an error.
41898 Use char because int might match the return type of a GCC
41899 builtin and then its argument prototype would still apply. */
41904 /* The GNU C library defines this for functions which it implements
41905 to always fail with ENOSYS. Some functions are actually named
41906 something starting with __ and the normal name is an alias. */
41907 #if defined __stub_readdir_r || defined __stub___readdir_r
41914 return readdir_r ();
41919 rm -f conftest.$ac_objext conftest$ac_exeext
41920 if { (ac_try="$ac_link"
41921 case "(($ac_try" in
41922 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41923 *) ac_try_echo
=$ac_try;;
41925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41926 (eval "$ac_link") 2>conftest.er1
41928 grep -v '^ *+' conftest.er1
>conftest.err
41930 cat conftest.err
>&5
41931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41932 (exit $ac_status); } && {
41933 test -z "$ac_c_werror_flag" ||
41934 test ! -s conftest.err
41935 } && test -s conftest
$ac_exeext &&
41936 $as_test_x conftest
$ac_exeext; then
41937 ac_cv_func_readdir_r
=yes
41939 echo "$as_me: failed program was:" >&5
41940 sed 's/^/| /' conftest.
$ac_ext >&5
41942 ac_cv_func_readdir_r
=no
41945 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41946 conftest
$ac_exeext conftest.
$ac_ext
41948 { echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
41949 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6; }
41950 if test $ac_cv_func_readdir_r = yes; then
41951 cat >>confdefs.h
<<\_ACEOF
41952 #define HAVE_READDIR_R 1
41961 ac_cpp
='$CPP $CPPFLAGS'
41962 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41963 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41964 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41966 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
41967 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
41969 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
41970 echo $ECHO_N "(cached) $ECHO_C" >&6
41974 ################################################################
41976 ac_cv_func_which_gethostbyname_r
=unknown
41979 # ONE ARGUMENT (sanity check)
41982 # This should fail, as there is no variant of gethostbyname_r() that takes
41983 # a single argument. If it actually compiles, then we can assume that
41984 # netdb.h is not declaring the function, and the compiler is thereby
41985 # assuming an implicit prototype. In which case, we're out of luck.
41987 cat >conftest.
$ac_ext <<_ACEOF
41990 cat confdefs.h
>>conftest.
$ac_ext
41991 cat >>conftest.
$ac_ext <<_ACEOF
41992 /* end confdefs.h. */
41998 char *name = "www.gnu.org";
41999 (void)gethostbyname_r(name) /* ; */
42005 rm -f conftest.
$ac_objext
42006 if { (ac_try
="$ac_compile"
42007 case "(($ac_try" in
42008 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42009 *) ac_try_echo=$ac_try;;
42011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42012 (eval "$ac_compile") 2>conftest.er1
42014 grep -v '^ *+' conftest.er1 >conftest.err
42016 cat conftest.err >&5
42017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42018 (exit $ac_status); } && {
42019 test -z "$ac_c_werror_flag" ||
42020 test ! -s conftest.err
42021 } && test -s conftest.$ac_objext; then
42022 ac_cv_func_which_gethostbyname_r=no
42024 echo "$as_me: failed program was:" >&5
42025 sed 's/^/| /' conftest.$ac_ext >&5
42030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42037 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42039 cat >conftest.$ac_ext <<_ACEOF
42042 cat confdefs.h >>conftest.$ac_ext
42043 cat >>conftest.$ac_ext <<_ACEOF
42044 /* end confdefs.h. */
42050 char *name = "www.gnu.org";
42051 struct hostent ret, *retp;
42055 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
42061 rm -f conftest.$ac_objext
42062 if { (ac_try="$ac_compile"
42063 case "(($ac_try" in
42064 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42065 *) ac_try_echo
=$ac_try;;
42067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42068 (eval "$ac_compile") 2>conftest.er1
42070 grep -v '^ *+' conftest.er1
>conftest.err
42072 cat conftest.err
>&5
42073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42074 (exit $ac_status); } && {
42075 test -z "$ac_c_werror_flag" ||
42076 test ! -s conftest.err
42077 } && test -s conftest.
$ac_objext; then
42078 ac_cv_func_which_gethostbyname_r
=six
42080 echo "$as_me: failed program was:" >&5
42081 sed 's/^/| /' conftest.
$ac_ext >&5
42086 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42095 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42097 cat >conftest.
$ac_ext <<_ACEOF
42100 cat confdefs.h
>>conftest.
$ac_ext
42101 cat >>conftest.
$ac_ext <<_ACEOF
42102 /* end confdefs.h. */
42108 char *name = "www.gnu.org";
42109 struct hostent ret;
42113 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
42119 rm -f conftest.
$ac_objext
42120 if { (ac_try
="$ac_compile"
42121 case "(($ac_try" in
42122 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42123 *) ac_try_echo=$ac_try;;
42125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42126 (eval "$ac_compile") 2>conftest.er1
42128 grep -v '^ *+' conftest.er1 >conftest.err
42130 cat conftest.err >&5
42131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42132 (exit $ac_status); } && {
42133 test -z "$ac_c_werror_flag" ||
42134 test ! -s conftest.err
42135 } && test -s conftest.$ac_objext; then
42136 ac_cv_func_which_gethostbyname_r=five
42138 echo "$as_me: failed program was:" >&5
42139 sed 's/^/| /' conftest.$ac_ext >&5
42144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42150 # (e.g. AIX, HP-UX, Tru64)
42153 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42155 cat >conftest.$ac_ext <<_ACEOF
42158 cat confdefs.h >>conftest.$ac_ext
42159 cat >>conftest.$ac_ext <<_ACEOF
42160 /* end confdefs.h. */
42166 char *name = "www.gnu.org";
42167 struct hostent ret;
42168 struct hostent_data data;
42169 (void)gethostbyname_r(name, &ret, &data) /* ; */
42175 rm -f conftest.$ac_objext
42176 if { (ac_try="$ac_compile"
42177 case "(($ac_try" in
42178 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42179 *) ac_try_echo
=$ac_try;;
42181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42182 (eval "$ac_compile") 2>conftest.er1
42184 grep -v '^ *+' conftest.er1
>conftest.err
42186 cat conftest.err
>&5
42187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42188 (exit $ac_status); } && {
42189 test -z "$ac_c_werror_flag" ||
42190 test ! -s conftest.err
42191 } && test -s conftest.
$ac_objext; then
42192 ac_cv_func_which_gethostbyname_r
=three
42194 echo "$as_me: failed program was:" >&5
42195 sed 's/^/| /' conftest.
$ac_ext >&5
42200 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42204 ################################################################
42209 case "$ac_cv_func_which_gethostbyname_r" in
42211 { echo "$as_me:$LINENO: result: three" >&5
42212 echo "${ECHO_T}three" >&6; }
42213 cat >>confdefs.h
<<\_ACEOF
42214 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
42220 { echo "$as_me:$LINENO: result: five" >&5
42221 echo "${ECHO_T}five" >&6; }
42222 cat >>confdefs.h
<<\_ACEOF
42223 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
42229 { echo "$as_me:$LINENO: result: six" >&5
42230 echo "${ECHO_T}six" >&6; }
42231 cat >>confdefs.h
<<\_ACEOF
42232 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
42238 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
42239 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
42243 { echo "$as_me:$LINENO: result: can't tell" >&5
42244 echo "${ECHO_T}can't tell" >&6; }
42248 { { echo "$as_me:$LINENO: error: internal error" >&5
42249 echo "$as_me: error: internal error" >&2;}
42250 { (exit 1); exit 1; }; }
42255 ac_cpp
='$CPP $CPPFLAGS'
42256 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42257 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42258 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42262 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
42263 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
42264 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
42265 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
42266 if test "${ac_cv_func_gethostbyname+set}" = set; then
42267 echo $ECHO_N "(cached) $ECHO_C" >&6
42269 cat >conftest.
$ac_ext <<_ACEOF
42272 cat confdefs.h
>>conftest.
$ac_ext
42273 cat >>conftest.
$ac_ext <<_ACEOF
42274 /* end confdefs.h. */
42275 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
42276 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42277 #define gethostbyname innocuous_gethostbyname
42279 /* System header to define __stub macros and hopefully few prototypes,
42280 which can conflict with char gethostbyname (); below.
42281 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42282 <limits.h> exists even on freestanding compilers. */
42285 # include <limits.h>
42287 # include <assert.h>
42290 #undef gethostbyname
42292 /* Override any GCC internal prototype to avoid an error.
42293 Use char because int might match the return type of a GCC
42294 builtin and then its argument prototype would still apply. */
42298 char gethostbyname ();
42299 /* The GNU C library defines this for functions which it implements
42300 to always fail with ENOSYS. Some functions are actually named
42301 something starting with __ and the normal name is an alias. */
42302 #if defined __stub_gethostbyname || defined __stub___gethostbyname
42309 return gethostbyname ();
42314 rm -f conftest.
$ac_objext conftest
$ac_exeext
42315 if { (ac_try
="$ac_link"
42316 case "(($ac_try" in
42317 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42318 *) ac_try_echo=$ac_try;;
42320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42321 (eval "$ac_link") 2>conftest.er1
42323 grep -v '^ *+' conftest.er1 >conftest.err
42325 cat conftest.err >&5
42326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42327 (exit $ac_status); } && {
42328 test -z "$ac_c_werror_flag" ||
42329 test ! -s conftest.err
42330 } && test -s conftest$ac_exeext &&
42331 $as_test_x conftest$ac_exeext; then
42332 ac_cv_func_gethostbyname=yes
42334 echo "$as_me: failed program was:" >&5
42335 sed 's/^/| /' conftest.$ac_ext >&5
42337 ac_cv_func_gethostbyname=no
42340 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42341 conftest$ac_exeext conftest.$ac_ext
42343 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
42344 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
42345 if test $ac_cv_func_gethostbyname = yes; then
42346 cat >>confdefs.h <<\_ACEOF
42347 #define HAVE_GETHOSTBYNAME 1
42354 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
42355 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
42356 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
42357 echo $ECHO_N "(cached) $ECHO_C" >&6
42361 ac_cpp='$CXXCPP $CPPFLAGS'
42362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42367 cat >conftest.$ac_ext <<_ACEOF
42370 cat confdefs.h >>conftest.$ac_ext
42371 cat >>conftest.$ac_ext <<_ACEOF
42372 /* end confdefs.h. */
42380 struct servent *se, *res;
42383 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
42389 rm -f conftest.$ac_objext
42390 if { (ac_try="$ac_compile"
42391 case "(($ac_try" in
42392 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42393 *) ac_try_echo
=$ac_try;;
42395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42396 (eval "$ac_compile") 2>conftest.er1
42398 grep -v '^ *+' conftest.er1
>conftest.err
42400 cat conftest.err
>&5
42401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42402 (exit $ac_status); } && {
42403 test -z "$ac_cxx_werror_flag" ||
42404 test ! -s conftest.err
42405 } && test -s conftest.
$ac_objext; then
42406 ac_cv_func_which_getservbyname_r
=six
42408 echo "$as_me: failed program was:" >&5
42409 sed 's/^/| /' conftest.
$ac_ext >&5
42412 cat >conftest.
$ac_ext <<_ACEOF
42415 cat confdefs.h
>>conftest.
$ac_ext
42416 cat >>conftest.
$ac_ext <<_ACEOF
42417 /* end confdefs.h. */
42425 struct servent *se;
42428 (void) getservbyname_r(name, proto, se, buffer, buflen)
42434 rm -f conftest.
$ac_objext
42435 if { (ac_try
="$ac_compile"
42436 case "(($ac_try" in
42437 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42438 *) ac_try_echo=$ac_try;;
42440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42441 (eval "$ac_compile") 2>conftest.er1
42443 grep -v '^ *+' conftest.er1 >conftest.err
42445 cat conftest.err >&5
42446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42447 (exit $ac_status); } && {
42448 test -z "$ac_cxx_werror_flag" ||
42449 test ! -s conftest.err
42450 } && test -s conftest.$ac_objext; then
42451 ac_cv_func_which_getservbyname_r=five
42453 echo "$as_me: failed program was:" >&5
42454 sed 's/^/| /' conftest.$ac_ext >&5
42457 cat >conftest.$ac_ext <<_ACEOF
42460 cat confdefs.h >>conftest.$ac_ext
42461 cat >>conftest.$ac_ext <<_ACEOF
42462 /* end confdefs.h. */
42470 struct servent *se;
42471 struct servent_data data;
42472 (void) getservbyname_r(name, proto, se, &data);
42478 rm -f conftest.$ac_objext
42479 if { (ac_try="$ac_compile"
42480 case "(($ac_try" in
42481 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42482 *) ac_try_echo
=$ac_try;;
42484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42485 (eval "$ac_compile") 2>conftest.er1
42487 grep -v '^ *+' conftest.er1
>conftest.err
42489 cat conftest.err
>&5
42490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42491 (exit $ac_status); } && {
42492 test -z "$ac_cxx_werror_flag" ||
42493 test ! -s conftest.err
42494 } && test -s conftest.
$ac_objext; then
42495 ac_cv_func_which_getservbyname_r
=four
42497 echo "$as_me: failed program was:" >&5
42498 sed 's/^/| /' conftest.
$ac_ext >&5
42500 ac_cv_func_which_getservbyname_r
=no
42504 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42509 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42514 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42516 ac_cpp
='$CPP $CPPFLAGS'
42517 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42518 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42519 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42524 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
42525 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
42527 if test $ac_cv_func_which_getservbyname_r = six
; then
42528 cat >>confdefs.h
<<\_ACEOF
42529 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
42532 elif test $ac_cv_func_which_getservbyname_r = five
; then
42533 cat >>confdefs.h
<<\_ACEOF
42534 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
42537 elif test $ac_cv_func_which_getservbyname_r = four
; then
42538 cat >>confdefs.h
<<\_ACEOF
42539 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
42545 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
42546 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
42548 for ac_func
in getservbyname
42550 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42551 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42552 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42553 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42554 echo $ECHO_N "(cached) $ECHO_C" >&6
42556 cat >conftest.
$ac_ext <<_ACEOF
42559 cat confdefs.h
>>conftest.
$ac_ext
42560 cat >>conftest.
$ac_ext <<_ACEOF
42561 /* end confdefs.h. */
42562 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42563 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42564 #define $ac_func innocuous_$ac_func
42566 /* System header to define __stub macros and hopefully few prototypes,
42567 which can conflict with char $ac_func (); below.
42568 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42569 <limits.h> exists even on freestanding compilers. */
42572 # include <limits.h>
42574 # include <assert.h>
42579 /* Override any GCC internal prototype to avoid an error.
42580 Use char because int might match the return type of a GCC
42581 builtin and then its argument prototype would still apply. */
42586 /* The GNU C library defines this for functions which it implements
42587 to always fail with ENOSYS. Some functions are actually named
42588 something starting with __ and the normal name is an alias. */
42589 #if defined __stub_$ac_func || defined __stub___$ac_func
42596 return $ac_func ();
42601 rm -f conftest.
$ac_objext conftest
$ac_exeext
42602 if { (ac_try
="$ac_link"
42603 case "(($ac_try" in
42604 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42605 *) ac_try_echo=$ac_try;;
42607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42608 (eval "$ac_link") 2>conftest.er1
42610 grep -v '^ *+' conftest.er1 >conftest.err
42612 cat conftest.err >&5
42613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42614 (exit $ac_status); } && {
42615 test -z "$ac_c_werror_flag" ||
42616 test ! -s conftest.err
42617 } && test -s conftest$ac_exeext &&
42618 $as_test_x conftest$ac_exeext; then
42619 eval "$as_ac_var=yes"
42621 echo "$as_me: failed program was:" >&5
42622 sed 's/^/| /' conftest.$ac_ext >&5
42624 eval "$as_ac_var=no"
42627 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42628 conftest$ac_exeext conftest.$ac_ext
42630 ac_res=`eval echo '${'$as_ac_var'}'`
42631 { echo "$as_me:$LINENO: result: $ac_res" >&5
42632 echo "${ECHO_T}$ac_res" >&6; }
42633 if test `eval echo '${'$as_ac_var'}'` = yes; then
42634 cat >>confdefs.h <<_ACEOF
42635 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42637 cat >>confdefs.h <<\_ACEOF
42638 #define HAVE_GETSERVBYNAME 1
42646 if test "$wxUSE_THREADS" = "yes"; then
42647 cat >>confdefs.h <<\_ACEOF
42648 #define wxUSE_THREADS 1
42652 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
42654 if test "$wx_cv_func_strtok_r" = "yes"; then
42655 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
42656 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
42657 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
42658 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
42659 { echo "$as_me:$LINENO: result: yes" >&5
42660 echo "${ECHO_T}yes" >&6; }
42662 { echo "$as_me:$LINENO: result: no" >&5
42663 echo "${ECHO_T}no" >&6; }
42668 if test "$WXGTK20" = 1 ; then
42669 cat >>confdefs.h <<_ACEOF
42670 #define __WXGTK20__ $WXGTK20
42676 if test "$WXGTK12" = 1 ; then
42677 cat >>confdefs.h <<_ACEOF
42678 #define __WXGTK12__ $WXGTK12
42683 if test "$WXGTK127" = 1 ; then
42684 cat >>confdefs.h <<_ACEOF
42685 #define __WXGTK127__ $WXGTK127
42690 if test "$WXGPE" = 1 ; then
42691 cat >>confdefs.h <<_ACEOF
42692 #define __WXGPE__ $WXGPE
42698 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
42703 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
42704 wxUSE_DEBUG_INFO=yes
42705 if test "$GCC" = yes; then
42706 DEBUG_CFLAGS="-ggdb"
42710 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
42711 cat >>confdefs.h <<\_ACEOF
42715 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
42717 if test "$wxUSE_GTK" = 1 ; then
42718 if test "x$wxGTK_VERSION" = "x1" ; then
42719 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
42724 if test "$wxUSE_MEM_TRACING" = "yes" ; then
42725 cat >>confdefs.h <<\_ACEOF
42726 #define wxUSE_MEMORY_TRACING 1
42729 cat >>confdefs.h <<\_ACEOF
42730 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
42733 cat >>confdefs.h <<\_ACEOF
42734 #define wxUSE_DEBUG_NEW_ALWAYS 1
42737 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
42740 if test "$wxUSE_DMALLOC" = "yes" ; then
42741 DMALLOC_LIBS="-ldmallocthcxx"
42745 if test "$wxUSE_PROFILE" = "yes" ; then
42746 PROFILE_FLAGS=" -pg"
42749 if test "$GCC" = "yes" ; then
42750 if test "$wxUSE_NO_RTTI" = "yes" ; then
42751 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
42753 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
42754 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
42756 if test "$wxUSE_PERMISSIVE" = "yes" ; then
42757 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
42762 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
42765 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
42771 if test "$wxUSE_OPTIMISE" = "no" ; then
42772 if test "$GCC" = yes ; then
42773 OPTIMISE_CFLAGS="-O0"
42776 if test "$GCC" = yes ; then
42778 *-pc-os2_emx | *-pc-os2-emx )
42779 OPTIMISE_CFLAGS="-O2"
42782 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
42786 OPTIMISE_CFLAGS="-O"
42791 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
42792 cat >>confdefs.h <<\_ACEOF
42793 #define WXWIN_COMPATIBILITY_2_6 1
42797 WXWIN_COMPATIBILITY_2_8="yes"
42800 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
42801 cat >>confdefs.h <<\_ACEOF
42802 #define WXWIN_COMPATIBILITY_2_8 1
42808 if test "$wxUSE_GUI" = "yes"; then
42809 cat >>confdefs.h <<\_ACEOF
42810 #define wxUSE_GUI 1
42817 if test "$wxUSE_UNIX" = "yes"; then
42818 cat >>confdefs.h <<\_ACEOF
42819 #define wxUSE_UNIX 1
42825 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
42829 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42830 if test "$USE_DARWIN" = 1; then
42832 elif test "$USE_DOS" = 1; then
42836 for ac_func in dlopen
42838 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42839 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42840 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42841 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42842 echo $ECHO_N "(cached) $ECHO_C" >&6
42844 cat >conftest.$ac_ext <<_ACEOF
42847 cat confdefs.h >>conftest.$ac_ext
42848 cat >>conftest.$ac_ext <<_ACEOF
42849 /* end confdefs.h. */
42850 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42851 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42852 #define $ac_func innocuous_$ac_func
42854 /* System header to define __stub macros and hopefully few prototypes,
42855 which can conflict with char $ac_func (); below.
42856 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42857 <limits.h> exists even on freestanding compilers. */
42860 # include <limits.h>
42862 # include <assert.h>
42867 /* Override any GCC internal prototype to avoid an error.
42868 Use char because int might match the return type of a GCC
42869 builtin and then its argument prototype would still apply. */
42874 /* The GNU C library defines this for functions which it implements
42875 to always fail with ENOSYS. Some functions are actually named
42876 something starting with __ and the normal name is an alias. */
42877 #if defined __stub_$ac_func || defined __stub___$ac_func
42884 return $ac_func ();
42889 rm -f conftest.$ac_objext conftest$ac_exeext
42890 if { (ac_try="$ac_link"
42891 case "(($ac_try" in
42892 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42893 *) ac_try_echo
=$ac_try;;
42895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42896 (eval "$ac_link") 2>conftest.er1
42898 grep -v '^ *+' conftest.er1
>conftest.err
42900 cat conftest.err
>&5
42901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42902 (exit $ac_status); } && {
42903 test -z "$ac_c_werror_flag" ||
42904 test ! -s conftest.err
42905 } && test -s conftest
$ac_exeext &&
42906 $as_test_x conftest
$ac_exeext; then
42907 eval "$as_ac_var=yes"
42909 echo "$as_me: failed program was:" >&5
42910 sed 's/^/| /' conftest.
$ac_ext >&5
42912 eval "$as_ac_var=no"
42915 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42916 conftest
$ac_exeext conftest.
$ac_ext
42918 ac_res
=`eval echo '${'$as_ac_var'}'`
42919 { echo "$as_me:$LINENO: result: $ac_res" >&5
42920 echo "${ECHO_T}$ac_res" >&6; }
42921 if test `eval echo '${'$as_ac_var'}'` = yes; then
42922 cat >>confdefs.h
<<_ACEOF
42923 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42926 cat >>confdefs.h
<<\_ACEOF
42927 #define HAVE_DLOPEN 1
42934 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
42935 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
42936 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
42937 echo $ECHO_N "(cached) $ECHO_C" >&6
42939 ac_check_lib_save_LIBS
=$LIBS
42941 cat >conftest.
$ac_ext <<_ACEOF
42944 cat confdefs.h
>>conftest.
$ac_ext
42945 cat >>conftest.
$ac_ext <<_ACEOF
42946 /* end confdefs.h. */
42948 /* Override any GCC internal prototype to avoid an error.
42949 Use char because int might match the return type of a GCC
42950 builtin and then its argument prototype would still apply. */
42963 rm -f conftest.
$ac_objext conftest
$ac_exeext
42964 if { (ac_try
="$ac_link"
42965 case "(($ac_try" in
42966 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42967 *) ac_try_echo=$ac_try;;
42969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42970 (eval "$ac_link") 2>conftest.er1
42972 grep -v '^ *+' conftest.er1 >conftest.err
42974 cat conftest.err >&5
42975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42976 (exit $ac_status); } && {
42977 test -z "$ac_c_werror_flag" ||
42978 test ! -s conftest.err
42979 } && test -s conftest$ac_exeext &&
42980 $as_test_x conftest$ac_exeext; then
42981 ac_cv_lib_dl_dlopen=yes
42983 echo "$as_me: failed program was:" >&5
42984 sed 's/^/| /' conftest.$ac_ext >&5
42986 ac_cv_lib_dl_dlopen=no
42989 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42990 conftest$ac_exeext conftest.$ac_ext
42991 LIBS=$ac_check_lib_save_LIBS
42993 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
42994 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
42995 if test $ac_cv_lib_dl_dlopen = yes; then
42997 cat >>confdefs.h <<\_ACEOF
42998 #define HAVE_DLOPEN 1
43002 DL_LINK=" -ldl$DL_LINK"
43007 for ac_func in shl_load
43009 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43010 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43011 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43012 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43013 echo $ECHO_N "(cached) $ECHO_C" >&6
43015 cat >conftest.$ac_ext <<_ACEOF
43018 cat confdefs.h >>conftest.$ac_ext
43019 cat >>conftest.$ac_ext <<_ACEOF
43020 /* end confdefs.h. */
43021 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43022 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43023 #define $ac_func innocuous_$ac_func
43025 /* System header to define __stub macros and hopefully few prototypes,
43026 which can conflict with char $ac_func (); below.
43027 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43028 <limits.h> exists even on freestanding compilers. */
43031 # include <limits.h>
43033 # include <assert.h>
43038 /* Override any GCC internal prototype to avoid an error.
43039 Use char because int might match the return type of a GCC
43040 builtin and then its argument prototype would still apply. */
43045 /* The GNU C library defines this for functions which it implements
43046 to always fail with ENOSYS. Some functions are actually named
43047 something starting with __ and the normal name is an alias. */
43048 #if defined __stub_$ac_func || defined __stub___$ac_func
43055 return $ac_func ();
43060 rm -f conftest.$ac_objext conftest$ac_exeext
43061 if { (ac_try="$ac_link"
43062 case "(($ac_try" in
43063 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43064 *) ac_try_echo
=$ac_try;;
43066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43067 (eval "$ac_link") 2>conftest.er1
43069 grep -v '^ *+' conftest.er1
>conftest.err
43071 cat conftest.err
>&5
43072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43073 (exit $ac_status); } && {
43074 test -z "$ac_c_werror_flag" ||
43075 test ! -s conftest.err
43076 } && test -s conftest
$ac_exeext &&
43077 $as_test_x conftest
$ac_exeext; then
43078 eval "$as_ac_var=yes"
43080 echo "$as_me: failed program was:" >&5
43081 sed 's/^/| /' conftest.
$ac_ext >&5
43083 eval "$as_ac_var=no"
43086 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43087 conftest
$ac_exeext conftest.
$ac_ext
43089 ac_res
=`eval echo '${'$as_ac_var'}'`
43090 { echo "$as_me:$LINENO: result: $ac_res" >&5
43091 echo "${ECHO_T}$ac_res" >&6; }
43092 if test `eval echo '${'$as_ac_var'}'` = yes; then
43093 cat >>confdefs.h
<<_ACEOF
43094 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43097 cat >>confdefs.h
<<\_ACEOF
43098 #define HAVE_SHL_LOAD 1
43105 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
43106 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
43107 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
43108 echo $ECHO_N "(cached) $ECHO_C" >&6
43110 ac_check_lib_save_LIBS
=$LIBS
43111 LIBS
="-lshl_load $LIBS"
43112 cat >conftest.
$ac_ext <<_ACEOF
43115 cat confdefs.h
>>conftest.
$ac_ext
43116 cat >>conftest.
$ac_ext <<_ACEOF
43117 /* end confdefs.h. */
43119 /* Override any GCC internal prototype to avoid an error.
43120 Use char because int might match the return type of a GCC
43121 builtin and then its argument prototype would still apply. */
43134 rm -f conftest.
$ac_objext conftest
$ac_exeext
43135 if { (ac_try
="$ac_link"
43136 case "(($ac_try" in
43137 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43138 *) ac_try_echo=$ac_try;;
43140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43141 (eval "$ac_link") 2>conftest.er1
43143 grep -v '^ *+' conftest.er1 >conftest.err
43145 cat conftest.err >&5
43146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43147 (exit $ac_status); } && {
43148 test -z "$ac_c_werror_flag" ||
43149 test ! -s conftest.err
43150 } && test -s conftest$ac_exeext &&
43151 $as_test_x conftest$ac_exeext; then
43152 ac_cv_lib_shl_load_dld=yes
43154 echo "$as_me: failed program was:" >&5
43155 sed 's/^/| /' conftest.$ac_ext >&5
43157 ac_cv_lib_shl_load_dld=no
43160 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43161 conftest$ac_exeext conftest.$ac_ext
43162 LIBS=$ac_check_lib_save_LIBS
43164 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
43165 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
43166 if test $ac_cv_lib_shl_load_dld = yes; then
43169 DL_LINK=" -ldld$DL_LINK"
43185 if test "$HAVE_DL_FUNCS" = 1; then
43187 for ac_func in dlerror
43189 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43190 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43191 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43192 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43193 echo $ECHO_N "(cached) $ECHO_C" >&6
43195 cat >conftest.$ac_ext <<_ACEOF
43198 cat confdefs.h >>conftest.$ac_ext
43199 cat >>conftest.$ac_ext <<_ACEOF
43200 /* end confdefs.h. */
43201 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43202 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43203 #define $ac_func innocuous_$ac_func
43205 /* System header to define __stub macros and hopefully few prototypes,
43206 which can conflict with char $ac_func (); below.
43207 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43208 <limits.h> exists even on freestanding compilers. */
43211 # include <limits.h>
43213 # include <assert.h>
43218 /* Override any GCC internal prototype to avoid an error.
43219 Use char because int might match the return type of a GCC
43220 builtin and then its argument prototype would still apply. */
43225 /* The GNU C library defines this for functions which it implements
43226 to always fail with ENOSYS. Some functions are actually named
43227 something starting with __ and the normal name is an alias. */
43228 #if defined __stub_$ac_func || defined __stub___$ac_func
43235 return $ac_func ();
43240 rm -f conftest.$ac_objext conftest$ac_exeext
43241 if { (ac_try="$ac_link"
43242 case "(($ac_try" in
43243 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43244 *) ac_try_echo
=$ac_try;;
43246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43247 (eval "$ac_link") 2>conftest.er1
43249 grep -v '^ *+' conftest.er1
>conftest.err
43251 cat conftest.err
>&5
43252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43253 (exit $ac_status); } && {
43254 test -z "$ac_c_werror_flag" ||
43255 test ! -s conftest.err
43256 } && test -s conftest
$ac_exeext &&
43257 $as_test_x conftest
$ac_exeext; then
43258 eval "$as_ac_var=yes"
43260 echo "$as_me: failed program was:" >&5
43261 sed 's/^/| /' conftest.
$ac_ext >&5
43263 eval "$as_ac_var=no"
43266 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43267 conftest
$ac_exeext conftest.
$ac_ext
43269 ac_res
=`eval echo '${'$as_ac_var'}'`
43270 { echo "$as_me:$LINENO: result: $ac_res" >&5
43271 echo "${ECHO_T}$ac_res" >&6; }
43272 if test `eval echo '${'$as_ac_var'}'` = yes; then
43273 cat >>confdefs.h
<<_ACEOF
43274 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43276 cat >>confdefs.h
<<\_ACEOF
43277 #define HAVE_DLERROR 1
43282 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
43283 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
43284 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
43285 echo $ECHO_N "(cached) $ECHO_C" >&6
43287 ac_check_lib_save_LIBS
=$LIBS
43289 cat >conftest.
$ac_ext <<_ACEOF
43292 cat confdefs.h
>>conftest.
$ac_ext
43293 cat >>conftest.
$ac_ext <<_ACEOF
43294 /* end confdefs.h. */
43296 /* Override any GCC internal prototype to avoid an error.
43297 Use char because int might match the return type of a GCC
43298 builtin and then its argument prototype would still apply. */
43311 rm -f conftest.
$ac_objext conftest
$ac_exeext
43312 if { (ac_try
="$ac_link"
43313 case "(($ac_try" in
43314 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43315 *) ac_try_echo=$ac_try;;
43317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43318 (eval "$ac_link") 2>conftest.er1
43320 grep -v '^ *+' conftest.er1 >conftest.err
43322 cat conftest.err >&5
43323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43324 (exit $ac_status); } && {
43325 test -z "$ac_c_werror_flag" ||
43326 test ! -s conftest.err
43327 } && test -s conftest$ac_exeext &&
43328 $as_test_x conftest$ac_exeext; then
43329 ac_cv_lib_dl_dlerror=yes
43331 echo "$as_me: failed program was:" >&5
43332 sed 's/^/| /' conftest.$ac_ext >&5
43334 ac_cv_lib_dl_dlerror=no
43337 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43338 conftest$ac_exeext conftest.$ac_ext
43339 LIBS=$ac_check_lib_save_LIBS
43341 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
43342 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
43343 if test $ac_cv_lib_dl_dlerror = yes; then
43344 cat >>confdefs.h <<\_ACEOF
43345 #define HAVE_DLERROR 1
43358 if test "$HAVE_DL_FUNCS" = 0; then
43359 if test "$HAVE_SHL_FUNCS" = 0; then
43360 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
43361 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
43362 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
43363 wxUSE_DYNAMIC_LOADER=no
43364 wxUSE_DYNLIB_CLASS=no
43366 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
43367 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
43374 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
43375 cat >>confdefs.h <<\_ACEOF
43376 #define wxUSE_DYNAMIC_LOADER 1
43380 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43381 cat >>confdefs.h <<\_ACEOF
43382 #define wxUSE_DYNLIB_CLASS 1
43389 if test "$wxUSE_PLUGINS" = "yes" ; then
43390 if test "$wxUSE_SHARED" = "no" ; then
43391 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
43392 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
43395 if test "$wxUSE_MONOLITHIC" = "yes" ; then
43396 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
43397 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
43400 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
43401 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
43402 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
43405 if test "$wxUSE_PLUGINS" = "yes" ; then
43406 cat >>confdefs.h <<\_ACEOF
43407 #define wxUSE_PLUGINS 1
43414 if test "$wxUSE_STL" = "yes"; then
43415 cat >>confdefs.h <<\_ACEOF
43416 #define wxUSE_STL 1
43421 if test "$wxUSE_APPLE_IEEE" = "yes"; then
43422 cat >>confdefs.h <<\_ACEOF
43423 #define wxUSE_APPLE_IEEE 1
43428 if test "$wxUSE_TIMER" = "yes"; then
43429 cat >>confdefs.h <<\_ACEOF
43430 #define wxUSE_TIMER 1
43435 if test "$USE_UNIX" = "1" ; then
43436 if test "$wxUSE_MGL" != 1; then
43437 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
43438 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
43439 if test "${ac_cv_header_sys_soundcard+set}" = set; then
43440 echo $ECHO_N "(cached) $ECHO_C" >&6
43443 cat >conftest.$ac_ext <<_ACEOF
43446 cat confdefs.h >>conftest.$ac_ext
43447 cat >>conftest.$ac_ext <<_ACEOF
43448 /* end confdefs.h. */
43450 #include <sys/ioctl.h>
43451 #include <sys/soundcard.h>
43457 ioctl(0, SNDCTL_DSP_SPEED, 0);
43463 rm -f conftest.$ac_objext conftest$ac_exeext
43464 if { (ac_try="$ac_link"
43465 case "(($ac_try" in
43466 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43467 *) ac_try_echo
=$ac_try;;
43469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43470 (eval "$ac_link") 2>conftest.er1
43472 grep -v '^ *+' conftest.er1
>conftest.err
43474 cat conftest.err
>&5
43475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43476 (exit $ac_status); } && {
43477 test -z "$ac_c_werror_flag" ||
43478 test ! -s conftest.err
43479 } && test -s conftest
$ac_exeext &&
43480 $as_test_x conftest
$ac_exeext; then
43481 ac_cv_header_sys_soundcard
=yes
43483 echo "$as_me: failed program was:" >&5
43484 sed 's/^/| /' conftest.
$ac_ext >&5
43488 LIBS
="$saveLibs -lossaudio"
43489 cat >conftest.
$ac_ext <<_ACEOF
43492 cat confdefs.h
>>conftest.
$ac_ext
43493 cat >>conftest.
$ac_ext <<_ACEOF
43494 /* end confdefs.h. */
43496 #include <sys/ioctl.h>
43497 #include <sys/soundcard.h>
43503 ioctl(0, SNDCTL_DSP_SPEED, 0);
43509 rm -f conftest.
$ac_objext conftest
$ac_exeext
43510 if { (ac_try
="$ac_link"
43511 case "(($ac_try" in
43512 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43513 *) ac_try_echo=$ac_try;;
43515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43516 (eval "$ac_link") 2>conftest.er1
43518 grep -v '^ *+' conftest.er1 >conftest.err
43520 cat conftest.err >&5
43521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43522 (exit $ac_status); } && {
43523 test -z "$ac_c_werror_flag" ||
43524 test ! -s conftest.err
43525 } && test -s conftest$ac_exeext &&
43526 $as_test_x conftest$ac_exeext; then
43527 ac_cv_header_sys_soundcard=yes
43529 echo "$as_me: failed program was:" >&5
43530 sed 's/^/| /' conftest.$ac_ext >&5
43534 ac_cv_header_sys_soundcard=no
43539 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43540 conftest$ac_exeext conftest.$ac_ext
43545 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43546 conftest$ac_exeext conftest.$ac_ext
43549 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
43550 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
43553 if test "$ac_cv_header_sys_soundcard" = "yes"; then
43554 cat >>confdefs.h <<\_ACEOF
43555 #define HAVE_SYS_SOUNDCARD_H 1
43559 DISABLED_CONTRIB="$DISABLED_CONTRIB mmedia"
43564 if test "$wxUSE_SOUND" = "yes"; then
43565 if test "$USE_UNIX" = "1" ; then
43566 if test "$wxUSE_LIBSDL" != "no"; then
43568 # Check whether --with-sdl-prefix was given.
43569 if test "${with_sdl_prefix+set}" = set; then
43570 withval=$with_sdl_prefix; sdl_prefix="$withval"
43576 # Check whether --with-sdl-exec-prefix was given.
43577 if test "${with_sdl_exec_prefix+set}" = set; then
43578 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
43583 # Check whether --enable-sdltest was given.
43584 if test "${enable_sdltest+set}" = set; then
43585 enableval=$enable_sdltest;
43591 if test x$sdl_exec_prefix != x ; then
43592 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
43593 if test x${SDL_CONFIG+set} != xset ; then
43594 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
43597 if test x$sdl_prefix != x ; then
43598 sdl_args="$sdl_args --prefix=$sdl_prefix"
43599 if test x${SDL_CONFIG+set} != xset ; then
43600 SDL_CONFIG=$sdl_prefix/bin/sdl-config
43604 if test "x$prefix" != xNONE; then
43605 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
43607 # Extract the first word of "sdl-config", so it can be a program name with args.
43608 set dummy sdl-config; ac_word=$2
43609 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43610 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43611 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
43612 echo $ECHO_N "(cached) $ECHO_C" >&6
43614 case $SDL_CONFIG in
43616 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
43619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43620 for as_dir in $PATH
43623 test -z "$as_dir" && as_dir=.
43624 for ac_exec_ext in '' $ac_executable_extensions; do
43625 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43626 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43627 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43634 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
43638 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
43639 if test -n "$SDL_CONFIG"; then
43640 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
43641 echo "${ECHO_T}$SDL_CONFIG" >&6; }
43643 { echo "$as_me:$LINENO: result: no" >&5
43644 echo "${ECHO_T}no" >&6; }
43648 min_sdl_version=1.2.0
43649 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
43650 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
43652 if test "$SDL_CONFIG" = "no" ; then
43655 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
43656 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
43658 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
43659 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
43660 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
43661 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
43662 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
43663 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
43664 if test "x$enable_sdltest" = "xyes" ; then
43665 ac_save_CFLAGS="$CFLAGS"
43666 ac_save_CXXFLAGS="$CXXFLAGS"
43667 ac_save_LIBS="$LIBS"
43668 CFLAGS="$CFLAGS $SDL_CFLAGS"
43669 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43670 LIBS="$LIBS $SDL_LIBS"
43672 if test "$cross_compiling" = yes; then
43673 echo $ac_n "cross compiling; assumed OK... $ac_c"
43675 cat >conftest.$ac_ext <<_ACEOF
43678 cat confdefs.h >>conftest.$ac_ext
43679 cat >>conftest.$ac_ext <<_ACEOF
43680 /* end confdefs.h. */
43683 #include <stdlib.h>
43684 #include <string.h>
43688 my_strdup (char *str)
43694 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
43695 strcpy (new_str, str);
43703 int main (int argc, char *argv[])
43705 int major, minor, micro;
43708 /* This hangs on some systems (?)
43709 system ("touch conf.sdltest");
43711 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
43713 /* HP/UX 9 (%@#!) writes to sscanf strings */
43714 tmp_version = my_strdup("$min_sdl_version");
43715 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
43716 printf("%s, bad version string\n", "$min_sdl_version");
43720 if (($sdl_major_version > major) ||
43721 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
43722 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
43728 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
43729 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
43730 printf("*** best to upgrade to the required version.\n");
43731 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
43732 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
43733 printf("*** config.cache before re-running configure\n");
43740 rm -f conftest$ac_exeext
43741 if { (ac_try="$ac_link"
43742 case "(($ac_try" in
43743 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43744 *) ac_try_echo
=$ac_try;;
43746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43747 (eval "$ac_link") 2>&5
43749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43750 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
43751 { (case "(($ac_try" in
43752 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43753 *) ac_try_echo=$ac_try;;
43755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43756 (eval "$ac_try") 2>&5
43758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43759 (exit $ac_status); }; }; then
43762 echo "$as_me: program exited with status $ac_status" >&5
43763 echo "$as_me: failed program was:" >&5
43764 sed 's/^/| /' conftest.$ac_ext >&5
43766 ( exit $ac_status )
43769 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43773 CFLAGS="$ac_save_CFLAGS"
43774 CXXFLAGS="$ac_save_CXXFLAGS"
43775 LIBS="$ac_save_LIBS"
43778 if test "x$no_sdl" = x ; then
43779 { echo "$as_me:$LINENO: result: yes" >&5
43780 echo "${ECHO_T}yes" >&6; }
43782 EXTRALIBS_SDL="$SDL_LIBS"
43783 CFLAGS="$SDL_CFLAGS $CFLAGS"
43784 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
43785 cat >>confdefs.h <<\_ACEOF
43786 #define wxUSE_LIBSDL 1
43791 { echo "$as_me:$LINENO: result: no" >&5
43792 echo "${ECHO_T}no" >&6; }
43793 if test "$SDL_CONFIG" = "no" ; then
43794 echo "*** The sdl-config script installed by SDL could not be found"
43795 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
43796 echo "*** your path, or set the SDL_CONFIG environment variable to the"
43797 echo "*** full path to sdl-config."
43799 if test -f conf.sdltest ; then
43802 echo "*** Could not run SDL test program, checking why..."
43803 CFLAGS="$CFLAGS $SDL_CFLAGS"
43804 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43805 LIBS="$LIBS $SDL_LIBS"
43806 cat >conftest.$ac_ext <<_ACEOF
43809 cat confdefs.h >>conftest.$ac_ext
43810 cat >>conftest.$ac_ext <<_ACEOF
43811 /* end confdefs.h. */
43816 int main(int argc, char *argv[])
43819 #define main K_and_R_C_main
43829 rm -f conftest.$ac_objext conftest$ac_exeext
43830 if { (ac_try="$ac_link"
43831 case "(($ac_try" in
43832 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43833 *) ac_try_echo
=$ac_try;;
43835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43836 (eval "$ac_link") 2>conftest.er1
43838 grep -v '^ *+' conftest.er1
>conftest.err
43840 cat conftest.err
>&5
43841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43842 (exit $ac_status); } && {
43843 test -z "$ac_c_werror_flag" ||
43844 test ! -s conftest.err
43845 } && test -s conftest
$ac_exeext &&
43846 $as_test_x conftest
$ac_exeext; then
43847 echo "*** The test program compiled, but did not run. This usually means"
43848 echo "*** that the run-time linker is not finding SDL or finding the wrong"
43849 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
43850 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
43851 echo "*** to the installed location Also, make sure you have run ldconfig if that"
43852 echo "*** is required on your system"
43854 echo "*** If you have an old version installed, it is best to remove it, although"
43855 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
43857 echo "$as_me: failed program was:" >&5
43858 sed 's/^/| /' conftest.
$ac_ext >&5
43860 echo "*** The test program failed to compile or link. See the file config.log for the"
43861 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
43862 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
43863 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
43866 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43867 conftest
$ac_exeext conftest.
$ac_ext
43868 CFLAGS
="$ac_save_CFLAGS"
43869 CXXFLAGS
="$ac_save_CXXFLAGS"
43870 LIBS
="$ac_save_LIBS"
43881 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
43886 if test "$wxUSE_MGL" = 1; then
43887 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
43888 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
43894 if test "$wxUSE_SOUND" = "yes"; then
43895 cat >>confdefs.h
<<\_ACEOF
43896 #define wxUSE_SOUND 1
43899 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
43902 if test "$WXGTK20" = 1; then
43905 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
43906 if test -n "$ac_tool_prefix"; then
43907 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
43908 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
43909 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43910 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43911 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
43912 echo $ECHO_N "(cached) $ECHO_C" >&6
43914 case $PKG_CONFIG in
43916 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
43919 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43920 for as_dir
in $PATH
43923 test -z "$as_dir" && as_dir
=.
43924 for ac_exec_ext
in '' $ac_executable_extensions; do
43925 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43926 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
43927 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43937 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
43938 if test -n "$PKG_CONFIG"; then
43939 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
43940 echo "${ECHO_T}$PKG_CONFIG" >&6; }
43942 { echo "$as_me:$LINENO: result: no" >&5
43943 echo "${ECHO_T}no" >&6; }
43948 if test -z "$ac_cv_path_PKG_CONFIG"; then
43949 ac_pt_PKG_CONFIG
=$PKG_CONFIG
43950 # Extract the first word of "pkg-config", so it can be a program name with args.
43951 set dummy pkg
-config; ac_word
=$2
43952 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43953 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43954 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
43955 echo $ECHO_N "(cached) $ECHO_C" >&6
43957 case $ac_pt_PKG_CONFIG in
43959 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
43962 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43963 for as_dir
in $PATH
43966 test -z "$as_dir" && as_dir
=.
43967 for ac_exec_ext
in '' $ac_executable_extensions; do
43968 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43969 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
43970 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43980 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
43981 if test -n "$ac_pt_PKG_CONFIG"; then
43982 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
43983 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
43985 { echo "$as_me:$LINENO: result: no" >&5
43986 echo "${ECHO_T}no" >&6; }
43989 if test "x$ac_pt_PKG_CONFIG" = x
; then
43992 case $cross_compiling:$ac_tool_warned in
43994 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
43995 whose name does not start with the host triplet. If you think this
43996 configuration is useful to you, please write to autoconf@gnu.org." >&5
43997 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
43998 whose name does not start with the host triplet. If you think this
43999 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
44000 ac_tool_warned
=yes ;;
44002 PKG_CONFIG
=$ac_pt_PKG_CONFIG
44005 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
44009 if test -n "$PKG_CONFIG"; then
44010 _pkg_min_version
=0.9.0
44011 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
44012 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
44013 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
44014 { echo "$as_me:$LINENO: result: yes" >&5
44015 echo "${ECHO_T}yes" >&6; }
44017 { echo "$as_me:$LINENO: result: no" >&5
44018 echo "${ECHO_T}no" >&6; }
44024 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44025 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
44029 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
44030 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
44032 if test -n "$PKG_CONFIG"; then
44033 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
44034 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
44036 if test -n "$PKG_CONFIG" && \
44037 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44038 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44041 (exit $ac_status); }; then
44042 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44050 if test -n "$PKG_CONFIG"; then
44051 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
44052 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
44054 if test -n "$PKG_CONFIG" && \
44055 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44056 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44059 (exit $ac_status); }; then
44060 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44071 if test $pkg_failed = yes; then
44073 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44074 _pkg_short_errors_supported
=yes
44076 _pkg_short_errors_supported
=no
44078 if test $_pkg_short_errors_supported = yes; then
44079 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44081 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44083 # Put the nasty error message in config.log where it belongs
44084 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
44087 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44088 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44089 wxUSE_LIBGNOMEPRINT
="no"
44092 elif test $pkg_failed = untried
; then
44094 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44095 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44096 wxUSE_LIBGNOMEPRINT
="no"
44100 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
44101 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
44102 { echo "$as_me:$LINENO: result: yes" >&5
44103 echo "${ECHO_T}yes" >&6; }
44105 CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
44106 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
44107 cat >>confdefs.h
<<\_ACEOF
44108 #define wxUSE_LIBGNOMEPRINT 1
44116 if test "$wxUSE_MIMETYPE" = "yes" ; then
44117 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
44121 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
44122 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
44124 if test -n "$PKG_CONFIG"; then
44125 if test -n "$GNOMEVFS_CFLAGS"; then
44126 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
44128 if test -n "$PKG_CONFIG" && \
44129 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44130 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44133 (exit $ac_status); }; then
44134 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44142 if test -n "$PKG_CONFIG"; then
44143 if test -n "$GNOMEVFS_LIBS"; then
44144 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
44146 if test -n "$PKG_CONFIG" && \
44147 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44148 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44151 (exit $ac_status); }; then
44152 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44163 if test $pkg_failed = yes; then
44165 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44166 _pkg_short_errors_supported
=yes
44168 _pkg_short_errors_supported
=no
44170 if test $_pkg_short_errors_supported = yes; then
44171 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44173 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44175 # Put the nasty error message in config.log where it belongs
44176 echo "$GNOMEVFS_PKG_ERRORS" >&5
44179 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44180 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44181 wxUSE_LIBGNOMEVFS
="no"
44184 elif test $pkg_failed = untried
; then
44186 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44187 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44188 wxUSE_LIBGNOMEVFS
="no"
44192 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
44193 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
44194 { echo "$as_me:$LINENO: result: yes" >&5
44195 echo "${ECHO_T}yes" >&6; }
44197 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
44198 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
44199 cat >>confdefs.h
<<\_ACEOF
44200 #define wxUSE_LIBGNOMEVFS 1
44208 if test "$wxUSE_LIBHILDON" = "yes" ; then
44211 { echo "$as_me:$LINENO: checking for HILDON" >&5
44212 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
44214 if test -n "$PKG_CONFIG"; then
44215 if test -n "$HILDON_CFLAGS"; then
44216 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
44218 if test -n "$PKG_CONFIG" && \
44219 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44220 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44223 (exit $ac_status); }; then
44224 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
44232 if test -n "$PKG_CONFIG"; then
44233 if test -n "$HILDON_LIBS"; then
44234 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
44236 if test -n "$PKG_CONFIG" && \
44237 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44238 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44241 (exit $ac_status); }; then
44242 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
44253 if test $pkg_failed = yes; then
44255 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44256 _pkg_short_errors_supported
=yes
44258 _pkg_short_errors_supported
=no
44260 if test $_pkg_short_errors_supported = yes; then
44261 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44263 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44265 # Put the nasty error message in config.log where it belongs
44266 echo "$HILDON_PKG_ERRORS" >&5
44269 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44270 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44271 wxUSE_LIBHILDON
="no"
44274 elif test $pkg_failed = untried
; then
44276 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44277 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44278 wxUSE_LIBHILDON
="no"
44282 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
44283 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
44284 { echo "$as_me:$LINENO: result: yes" >&5
44285 echo "${ECHO_T}yes" >&6; }
44287 EXTRALIBS_HILDON
="$HILDON_LIBS"
44288 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
44289 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
44290 cat >>confdefs.h
<<\_ACEOF
44291 #define wxUSE_LIBHILDON 1
44299 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
44300 cat >>confdefs.h
<<\_ACEOF
44301 #define wxUSE_CMDLINE_PARSER 1
44306 if test "$wxUSE_STOPWATCH" = "yes"; then
44307 cat >>confdefs.h
<<\_ACEOF
44308 #define wxUSE_STOPWATCH 1
44313 if test "$wxUSE_DATETIME" = "yes"; then
44314 cat >>confdefs.h
<<\_ACEOF
44315 #define wxUSE_DATETIME 1
44320 if test "$wxUSE_FILE" = "yes"; then
44321 cat >>confdefs.h
<<\_ACEOF
44322 #define wxUSE_FILE 1
44327 if test "$wxUSE_FFILE" = "yes"; then
44328 cat >>confdefs.h
<<\_ACEOF
44329 #define wxUSE_FFILE 1
44334 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
44335 if test "$wxUSE_STREAMS" != yes; then
44336 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
44337 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
44338 wxUSE_ARCHIVE_STREAMS
=no
44340 cat >>confdefs.h
<<\_ACEOF
44341 #define wxUSE_ARCHIVE_STREAMS 1
44347 if test "$wxUSE_ZIPSTREAM" = "yes"; then
44348 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44349 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
44350 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
44351 elif test "$wxUSE_ZLIB" = "no"; then
44352 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
44353 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
44355 cat >>confdefs.h
<<\_ACEOF
44356 #define wxUSE_ZIPSTREAM 1
44362 if test "$wxUSE_TARSTREAM" = "yes"; then
44363 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44364 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
44365 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
44367 cat >>confdefs.h
<<\_ACEOF
44368 #define wxUSE_TARSTREAM 1
44374 if test "$wxUSE_FILESYSTEM" = "yes"; then
44375 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
44376 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
44377 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
44378 wxUSE_FILESYSTEM
=no
44380 cat >>confdefs.h
<<\_ACEOF
44381 #define wxUSE_FILESYSTEM 1
44387 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
44388 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
44389 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
44390 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
44392 cat >>confdefs.h
<<\_ACEOF
44393 #define wxUSE_FS_ARCHIVE 1
44399 if test "$wxUSE_FS_ZIP" = "yes"; then
44400 if test "$wxUSE_FS_ARCHIVE" != yes; then
44401 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
44402 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
44404 cat >>confdefs.h
<<\_ACEOF
44405 #define wxUSE_FS_ZIP 1
44411 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44412 if test "$USE_UNIX" != 1; then
44413 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
44414 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
44415 wxUSE_ON_FATAL_EXCEPTION
=no
44417 cat >>confdefs.h
<<\_ACEOF
44418 #define wxUSE_ON_FATAL_EXCEPTION 1
44424 if test "$wxUSE_STACKWALKER" = "yes"; then
44425 cat >>confdefs.h
<<\_ACEOF
44426 #define wxUSE_STACKWALKER 1
44431 if test "$wxUSE_DEBUGREPORT" = "yes"; then
44432 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
44433 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
44434 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
44435 wxUSE_DEBUGREPORT
=no
44437 cat >>confdefs.h
<<\_ACEOF
44438 #define wxUSE_DEBUGREPORT 1
44441 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44442 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
44447 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
44448 cat >>confdefs.h
<<\_ACEOF
44449 #define wxUSE_SNGLINST_CHECKER 1
44454 if test "$wxUSE_BUSYINFO" = "yes"; then
44455 cat >>confdefs.h
<<\_ACEOF
44456 #define wxUSE_BUSYINFO 1
44461 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
44462 cat >>confdefs.h
<<\_ACEOF
44463 #define wxUSE_STD_IOSTREAM 1
44468 if test "$wxUSE_STD_STRING" = "yes"; then
44469 cat >>confdefs.h
<<\_ACEOF
44470 #define wxUSE_STD_STRING 1
44475 if test "$wxUSE_STDPATHS" = "yes"; then
44476 cat >>confdefs.h
<<\_ACEOF
44477 #define wxUSE_STDPATHS 1
44482 if test "$wxUSE_TEXTBUFFER" = "yes"; then
44483 cat >>confdefs.h
<<\_ACEOF
44484 #define wxUSE_TEXTBUFFER 1
44489 if test "$wxUSE_TEXTFILE" = "yes"; then
44490 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
44491 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
44492 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
44494 cat >>confdefs.h
<<\_ACEOF
44495 #define wxUSE_TEXTFILE 1
44501 if test "$wxUSE_CONFIG" = "yes" ; then
44502 if test "$wxUSE_TEXTFILE" != "yes"; then
44503 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
44504 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
44506 cat >>confdefs.h
<<\_ACEOF
44507 #define wxUSE_CONFIG 1
44510 cat >>confdefs.h
<<\_ACEOF
44511 #define wxUSE_CONFIG_NATIVE 1
44514 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
44518 if test "$wxUSE_INTL" = "yes" ; then
44519 if test "$wxUSE_FILE" != "yes"; then
44520 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
44521 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
44523 cat >>confdefs.h
<<\_ACEOF
44524 #define wxUSE_INTL 1
44527 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
44528 GUIDIST
="$GUIDIST INTL_DIST"
44532 if test "$wxUSE_LOG" = "yes"; then
44533 cat >>confdefs.h
<<\_ACEOF
44534 #define wxUSE_LOG 1
44538 if test "$wxUSE_LOGGUI" = "yes"; then
44539 cat >>confdefs.h
<<\_ACEOF
44540 #define wxUSE_LOGGUI 1
44545 if test "$wxUSE_LOGWINDOW" = "yes"; then
44546 cat >>confdefs.h
<<\_ACEOF
44547 #define wxUSE_LOGWINDOW 1
44552 if test "$wxUSE_LOGDIALOG" = "yes"; then
44553 cat >>confdefs.h
<<\_ACEOF
44554 #define wxUSE_LOG_DIALOG 1
44559 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
44562 if test "$wxUSE_LONGLONG" = "yes"; then
44563 cat >>confdefs.h
<<\_ACEOF
44564 #define wxUSE_LONGLONG 1
44569 if test "$wxUSE_GEOMETRY" = "yes"; then
44570 cat >>confdefs.h
<<\_ACEOF
44571 #define wxUSE_GEOMETRY 1
44576 if test "$wxUSE_STREAMS" = "yes" ; then
44577 cat >>confdefs.h
<<\_ACEOF
44578 #define wxUSE_STREAMS 1
44583 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
44584 cat >>confdefs.h
<<\_ACEOF
44585 #define wxUSE_PRINTF_POS_PARAMS 1
44592 if test "$wxUSE_DATETIME" = "yes"; then
44594 for ac_func
in strptime
44596 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44597 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44598 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44599 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44600 echo $ECHO_N "(cached) $ECHO_C" >&6
44602 cat >conftest.
$ac_ext <<_ACEOF
44605 cat confdefs.h
>>conftest.
$ac_ext
44606 cat >>conftest.
$ac_ext <<_ACEOF
44607 /* end confdefs.h. */
44608 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44609 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44610 #define $ac_func innocuous_$ac_func
44612 /* System header to define __stub macros and hopefully few prototypes,
44613 which can conflict with char $ac_func (); below.
44614 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44615 <limits.h> exists even on freestanding compilers. */
44618 # include <limits.h>
44620 # include <assert.h>
44625 /* Override any GCC internal prototype to avoid an error.
44626 Use char because int might match the return type of a GCC
44627 builtin and then its argument prototype would still apply. */
44632 /* The GNU C library defines this for functions which it implements
44633 to always fail with ENOSYS. Some functions are actually named
44634 something starting with __ and the normal name is an alias. */
44635 #if defined __stub_$ac_func || defined __stub___$ac_func
44642 return $ac_func ();
44647 rm -f conftest.
$ac_objext conftest
$ac_exeext
44648 if { (ac_try
="$ac_link"
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_link") 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_c_werror_flag" ||
44662 test ! -s conftest.err
44663 } && test -s conftest$ac_exeext &&
44664 $as_test_x conftest$ac_exeext; then
44665 eval "$as_ac_var=yes"
44667 echo "$as_me: failed program was:" >&5
44668 sed 's/^/| /' conftest.$ac_ext >&5
44670 eval "$as_ac_var=no"
44673 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44674 conftest$ac_exeext conftest.$ac_ext
44676 ac_res=`eval echo '${'$as_ac_var'}'`
44677 { echo "$as_me:$LINENO: result: $ac_res" >&5
44678 echo "${ECHO_T}$ac_res" >&6; }
44679 if test `eval echo '${'$as_ac_var'}'` = yes; then
44680 cat >>confdefs.h <<_ACEOF
44681 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44687 if test "$ac_cv_func_strptime" = "yes"; then
44688 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
44689 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
44690 if test "${wx_cv_func_strptime_decl+set}" = set; then
44691 echo $ECHO_N "(cached) $ECHO_C" >&6
44695 ac_cpp='$CXXCPP $CPPFLAGS'
44696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44700 cat >conftest.$ac_ext <<_ACEOF
44703 cat confdefs.h >>conftest.$ac_ext
44704 cat >>conftest.$ac_ext <<_ACEOF
44705 /* end confdefs.h. */
44714 strptime("foo", "bar", &t);
44720 rm -f conftest.$ac_objext
44721 if { (ac_try="$ac_compile"
44722 case "(($ac_try" in
44723 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44724 *) ac_try_echo
=$ac_try;;
44726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44727 (eval "$ac_compile") 2>conftest.er1
44729 grep -v '^ *+' conftest.er1
>conftest.err
44731 cat conftest.err
>&5
44732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44733 (exit $ac_status); } && {
44734 test -z "$ac_cxx_werror_flag" ||
44735 test ! -s conftest.err
44736 } && test -s conftest.
$ac_objext; then
44737 wx_cv_func_strptime_decl
=yes
44739 echo "$as_me: failed program was:" >&5
44740 sed 's/^/| /' conftest.
$ac_ext >&5
44742 wx_cv_func_strptime_decl
=no
44746 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44748 ac_cpp
='$CPP $CPPFLAGS'
44749 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44750 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44751 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44756 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
44757 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
44759 if test "$wx_cv_func_strptime_decl" = "yes"; then
44760 cat >>confdefs.h
<<\_ACEOF
44761 #define HAVE_STRPTIME_DECL 1
44766 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
44767 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
44768 if test "${wx_cv_var_timezone+set}" = set; then
44769 echo $ECHO_N "(cached) $ECHO_C" >&6
44773 ac_cpp
='$CXXCPP $CPPFLAGS'
44774 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44775 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44776 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
44778 cat >conftest.
$ac_ext <<_ACEOF
44781 cat confdefs.h
>>conftest.
$ac_ext
44782 cat >>conftest.
$ac_ext <<_ACEOF
44783 /* end confdefs.h. */
44798 rm -f conftest.
$ac_objext
44799 if { (ac_try
="$ac_compile"
44800 case "(($ac_try" in
44801 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44802 *) ac_try_echo=$ac_try;;
44804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44805 (eval "$ac_compile") 2>conftest.er1
44807 grep -v '^ *+' conftest.er1 >conftest.err
44809 cat conftest.err >&5
44810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44811 (exit $ac_status); } && {
44812 test -z "$ac_cxx_werror_flag" ||
44813 test ! -s conftest.err
44814 } && test -s conftest.$ac_objext; then
44816 wx_cv_var_timezone=timezone
44819 echo "$as_me: failed program was:" >&5
44820 sed 's/^/| /' conftest.$ac_ext >&5
44823 cat >conftest.$ac_ext <<_ACEOF
44826 cat confdefs.h >>conftest.$ac_ext
44827 cat >>conftest.$ac_ext <<_ACEOF
44828 /* end confdefs.h. */
44843 rm -f conftest.$ac_objext
44844 if { (ac_try="$ac_compile"
44845 case "(($ac_try" in
44846 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44847 *) ac_try_echo
=$ac_try;;
44849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44850 (eval "$ac_compile") 2>conftest.er1
44852 grep -v '^ *+' conftest.er1
>conftest.err
44854 cat conftest.err
>&5
44855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44856 (exit $ac_status); } && {
44857 test -z "$ac_cxx_werror_flag" ||
44858 test ! -s conftest.err
44859 } && test -s conftest.
$ac_objext; then
44861 wx_cv_var_timezone
=_timezone
44864 echo "$as_me: failed program was:" >&5
44865 sed 's/^/| /' conftest.
$ac_ext >&5
44868 cat >conftest.
$ac_ext <<_ACEOF
44871 cat confdefs.h
>>conftest.
$ac_ext
44872 cat >>conftest.
$ac_ext <<_ACEOF
44873 /* end confdefs.h. */
44888 rm -f conftest.
$ac_objext
44889 if { (ac_try
="$ac_compile"
44890 case "(($ac_try" in
44891 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44892 *) ac_try_echo=$ac_try;;
44894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44895 (eval "$ac_compile") 2>conftest.er1
44897 grep -v '^ *+' conftest.er1 >conftest.err
44899 cat conftest.err >&5
44900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44901 (exit $ac_status); } && {
44902 test -z "$ac_cxx_werror_flag" ||
44903 test ! -s conftest.err
44904 } && test -s conftest.$ac_objext; then
44906 wx_cv_var_timezone=__timezone
44909 echo "$as_me: failed program was:" >&5
44910 sed 's/^/| /' conftest.$ac_ext >&5
44913 if test "$USE_DOS" = 0 ; then
44914 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
44915 echo "$as_me: WARNING: no timezone variable" >&2;}
44921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44933 ac_cpp='$CPP $CPPFLAGS'
44934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44941 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
44942 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
44944 if test "x$wx_cv_var_timezone" != x ; then
44945 cat >>confdefs.h <<_ACEOF
44946 #define WX_TIMEZONE $wx_cv_var_timezone
44952 for ac_func in localtime
44954 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44955 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44956 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44957 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44958 echo $ECHO_N "(cached) $ECHO_C" >&6
44960 cat >conftest.$ac_ext <<_ACEOF
44963 cat confdefs.h >>conftest.$ac_ext
44964 cat >>conftest.$ac_ext <<_ACEOF
44965 /* end confdefs.h. */
44966 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44967 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44968 #define $ac_func innocuous_$ac_func
44970 /* System header to define __stub macros and hopefully few prototypes,
44971 which can conflict with char $ac_func (); below.
44972 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44973 <limits.h> exists even on freestanding compilers. */
44976 # include <limits.h>
44978 # include <assert.h>
44983 /* Override any GCC internal prototype to avoid an error.
44984 Use char because int might match the return type of a GCC
44985 builtin and then its argument prototype would still apply. */
44990 /* The GNU C library defines this for functions which it implements
44991 to always fail with ENOSYS. Some functions are actually named
44992 something starting with __ and the normal name is an alias. */
44993 #if defined __stub_$ac_func || defined __stub___$ac_func
45000 return $ac_func ();
45005 rm -f conftest.$ac_objext conftest$ac_exeext
45006 if { (ac_try="$ac_link"
45007 case "(($ac_try" in
45008 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45009 *) ac_try_echo
=$ac_try;;
45011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45012 (eval "$ac_link") 2>conftest.er1
45014 grep -v '^ *+' conftest.er1
>conftest.err
45016 cat conftest.err
>&5
45017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45018 (exit $ac_status); } && {
45019 test -z "$ac_c_werror_flag" ||
45020 test ! -s conftest.err
45021 } && test -s conftest
$ac_exeext &&
45022 $as_test_x conftest
$ac_exeext; then
45023 eval "$as_ac_var=yes"
45025 echo "$as_me: failed program was:" >&5
45026 sed 's/^/| /' conftest.
$ac_ext >&5
45028 eval "$as_ac_var=no"
45031 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
45032 conftest
$ac_exeext conftest.
$ac_ext
45034 ac_res
=`eval echo '${'$as_ac_var'}'`
45035 { echo "$as_me:$LINENO: result: $ac_res" >&5
45036 echo "${ECHO_T}$ac_res" >&6; }
45037 if test `eval echo '${'$as_ac_var'}'` = yes; then
45038 cat >>confdefs.h
<<_ACEOF
45039 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45046 if test "$ac_cv_func_localtime" = "yes"; then
45047 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
45048 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
45049 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
45050 echo $ECHO_N "(cached) $ECHO_C" >&6
45053 cat >conftest.
$ac_ext <<_ACEOF
45056 cat confdefs.h
>>conftest.
$ac_ext
45057 cat >>conftest.
$ac_ext <<_ACEOF
45058 /* end confdefs.h. */
45073 rm -f conftest.
$ac_objext
45074 if { (ac_try
="$ac_compile"
45075 case "(($ac_try" in
45076 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45077 *) ac_try_echo=$ac_try;;
45079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45080 (eval "$ac_compile") 2>conftest.er1
45082 grep -v '^ *+' conftest.er1 >conftest.err
45084 cat conftest.err >&5
45085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45086 (exit $ac_status); } && {
45087 test -z "$ac_c_werror_flag" ||
45088 test ! -s conftest.err
45089 } && test -s conftest.$ac_objext; then
45091 wx_cv_struct_tm_has_gmtoff=yes
45094 echo "$as_me: failed program was:" >&5
45095 sed 's/^/| /' conftest.$ac_ext >&5
45097 wx_cv_struct_tm_has_gmtoff=no
45101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45104 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
45105 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
45108 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
45109 cat >>confdefs.h <<\_ACEOF
45110 #define WX_GMTOFF_IN_TM 1
45117 for ac_func in gettimeofday ftime
45119 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45120 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45121 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45122 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45123 echo $ECHO_N "(cached) $ECHO_C" >&6
45125 cat >conftest.$ac_ext <<_ACEOF
45128 cat confdefs.h >>conftest.$ac_ext
45129 cat >>conftest.$ac_ext <<_ACEOF
45130 /* end confdefs.h. */
45131 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45132 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45133 #define $ac_func innocuous_$ac_func
45135 /* System header to define __stub macros and hopefully few prototypes,
45136 which can conflict with char $ac_func (); below.
45137 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45138 <limits.h> exists even on freestanding compilers. */
45141 # include <limits.h>
45143 # include <assert.h>
45148 /* Override any GCC internal prototype to avoid an error.
45149 Use char because int might match the return type of a GCC
45150 builtin and then its argument prototype would still apply. */
45155 /* The GNU C library defines this for functions which it implements
45156 to always fail with ENOSYS. Some functions are actually named
45157 something starting with __ and the normal name is an alias. */
45158 #if defined __stub_$ac_func || defined __stub___$ac_func
45165 return $ac_func ();
45170 rm -f conftest.$ac_objext conftest$ac_exeext
45171 if { (ac_try="$ac_link"
45172 case "(($ac_try" in
45173 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45174 *) ac_try_echo
=$ac_try;;
45176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45177 (eval "$ac_link") 2>conftest.er1
45179 grep -v '^ *+' conftest.er1
>conftest.err
45181 cat conftest.err
>&5
45182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45183 (exit $ac_status); } && {
45184 test -z "$ac_c_werror_flag" ||
45185 test ! -s conftest.err
45186 } && test -s conftest
$ac_exeext &&
45187 $as_test_x conftest
$ac_exeext; then
45188 eval "$as_ac_var=yes"
45190 echo "$as_me: failed program was:" >&5
45191 sed 's/^/| /' conftest.
$ac_ext >&5
45193 eval "$as_ac_var=no"
45196 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
45197 conftest
$ac_exeext conftest.
$ac_ext
45199 ac_res
=`eval echo '${'$as_ac_var'}'`
45200 { echo "$as_me:$LINENO: result: $ac_res" >&5
45201 echo "${ECHO_T}$ac_res" >&6; }
45202 if test `eval echo '${'$as_ac_var'}'` = yes; then
45203 cat >>confdefs.h
<<_ACEOF
45204 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45211 if test "$ac_cv_func_gettimeofday" = "yes"; then
45212 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
45213 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
45214 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
45215 echo $ECHO_N "(cached) $ECHO_C" >&6
45218 cat >conftest.
$ac_ext <<_ACEOF
45221 cat confdefs.h
>>conftest.
$ac_ext
45222 cat >>conftest.
$ac_ext <<_ACEOF
45223 /* end confdefs.h. */
45225 #include <sys/time.h>
45226 #include <unistd.h>
45233 gettimeofday(&tv, NULL);
45239 rm -f conftest.
$ac_objext
45240 if { (ac_try
="$ac_compile"
45241 case "(($ac_try" in
45242 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45243 *) ac_try_echo=$ac_try;;
45245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45246 (eval "$ac_compile") 2>conftest.er1
45248 grep -v '^ *+' conftest.er1 >conftest.err
45250 cat conftest.err >&5
45251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45252 (exit $ac_status); } && {
45253 test -z "$ac_c_werror_flag" ||
45254 test ! -s conftest.err
45255 } && test -s conftest.$ac_objext; then
45256 wx_cv_func_gettimeofday_has_2_args=yes
45258 echo "$as_me: failed program was:" >&5
45259 sed 's/^/| /' conftest.$ac_ext >&5
45261 cat >conftest.$ac_ext <<_ACEOF
45264 cat confdefs.h >>conftest.$ac_ext
45265 cat >>conftest.$ac_ext <<_ACEOF
45266 /* end confdefs.h. */
45268 #include <sys/time.h>
45269 #include <unistd.h>
45282 rm -f conftest.$ac_objext
45283 if { (ac_try="$ac_compile"
45284 case "(($ac_try" in
45285 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45286 *) ac_try_echo
=$ac_try;;
45288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45289 (eval "$ac_compile") 2>conftest.er1
45291 grep -v '^ *+' conftest.er1
>conftest.err
45293 cat conftest.err
>&5
45294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45295 (exit $ac_status); } && {
45296 test -z "$ac_c_werror_flag" ||
45297 test ! -s conftest.err
45298 } && test -s conftest.
$ac_objext; then
45299 wx_cv_func_gettimeofday_has_2_args
=no
45301 echo "$as_me: failed program was:" >&5
45302 sed 's/^/| /' conftest.
$ac_ext >&5
45305 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
45306 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
45307 wx_cv_func_gettimeofday_has_2_args
=unknown
45312 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45316 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45319 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
45320 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
45322 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
45323 cat >>confdefs.h
<<\_ACEOF
45324 #define WX_GETTIMEOFDAY_NO_TZ 1
45330 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
45334 if test "$wxUSE_SOCKETS" = "yes"; then
45335 if test "$wxUSE_MGL" = "1"; then
45336 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
45337 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
45342 if test "$wxUSE_SOCKETS" = "yes"; then
45343 if test "$TOOLKIT" != "MSW"; then
45344 { echo "$as_me:$LINENO: checking for socket" >&5
45345 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
45346 if test "${ac_cv_func_socket+set}" = set; then
45347 echo $ECHO_N "(cached) $ECHO_C" >&6
45349 cat >conftest.
$ac_ext <<_ACEOF
45352 cat confdefs.h
>>conftest.
$ac_ext
45353 cat >>conftest.
$ac_ext <<_ACEOF
45354 /* end confdefs.h. */
45355 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
45356 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45357 #define socket innocuous_socket
45359 /* System header to define __stub macros and hopefully few prototypes,
45360 which can conflict with char socket (); below.
45361 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45362 <limits.h> exists even on freestanding compilers. */
45365 # include <limits.h>
45367 # include <assert.h>
45372 /* Override any GCC internal prototype to avoid an error.
45373 Use char because int might match the return type of a GCC
45374 builtin and then its argument prototype would still apply. */
45379 /* The GNU C library defines this for functions which it implements
45380 to always fail with ENOSYS. Some functions are actually named
45381 something starting with __ and the normal name is an alias. */
45382 #if defined __stub_socket || defined __stub___socket
45394 rm -f conftest.
$ac_objext conftest
$ac_exeext
45395 if { (ac_try
="$ac_link"
45396 case "(($ac_try" in
45397 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45398 *) ac_try_echo=$ac_try;;
45400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45401 (eval "$ac_link") 2>conftest.er1
45403 grep -v '^ *+' conftest.er1 >conftest.err
45405 cat conftest.err >&5
45406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45407 (exit $ac_status); } && {
45408 test -z "$ac_c_werror_flag" ||
45409 test ! -s conftest.err
45410 } && test -s conftest$ac_exeext &&
45411 $as_test_x conftest$ac_exeext; then
45412 ac_cv_func_socket=yes
45414 echo "$as_me: failed program was:" >&5
45415 sed 's/^/| /' conftest.$ac_ext >&5
45417 ac_cv_func_socket=no
45420 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45421 conftest$ac_exeext conftest.$ac_ext
45423 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
45424 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
45425 if test $ac_cv_func_socket = yes; then
45429 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
45430 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
45431 if test "${ac_cv_lib_socket_socket+set}" = set; then
45432 echo $ECHO_N "(cached) $ECHO_C" >&6
45434 ac_check_lib_save_LIBS=$LIBS
45435 LIBS="-lsocket $LIBS"
45436 cat >conftest.$ac_ext <<_ACEOF
45439 cat confdefs.h >>conftest.$ac_ext
45440 cat >>conftest.$ac_ext <<_ACEOF
45441 /* end confdefs.h. */
45443 /* Override any GCC internal prototype to avoid an error.
45444 Use char because int might match the return type of a GCC
45445 builtin and then its argument prototype would still apply. */
45458 rm -f conftest.$ac_objext conftest$ac_exeext
45459 if { (ac_try="$ac_link"
45460 case "(($ac_try" in
45461 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45462 *) ac_try_echo
=$ac_try;;
45464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45465 (eval "$ac_link") 2>conftest.er1
45467 grep -v '^ *+' conftest.er1
>conftest.err
45469 cat conftest.err
>&5
45470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45471 (exit $ac_status); } && {
45472 test -z "$ac_c_werror_flag" ||
45473 test ! -s conftest.err
45474 } && test -s conftest
$ac_exeext &&
45475 $as_test_x conftest
$ac_exeext; then
45476 ac_cv_lib_socket_socket
=yes
45478 echo "$as_me: failed program was:" >&5
45479 sed 's/^/| /' conftest.
$ac_ext >&5
45481 ac_cv_lib_socket_socket
=no
45484 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
45485 conftest
$ac_exeext conftest.
$ac_ext
45486 LIBS
=$ac_check_lib_save_LIBS
45488 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
45489 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
45490 if test $ac_cv_lib_socket_socket = yes; then
45491 if test "$INET_LINK" != " -lsocket"; then
45492 INET_LINK
="$INET_LINK -lsocket"
45496 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
45497 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
45510 if test "$wxUSE_SOCKETS" = "yes" ; then
45511 if test "$TOOLKIT" != "MSW"; then
45512 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
45513 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
45514 if test "${wx_cv_type_getsockname3+set}" = set; then
45515 echo $ECHO_N "(cached) $ECHO_C" >&6
45519 ac_cpp
='$CXXCPP $CPPFLAGS'
45520 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45521 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45522 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
45524 cat >conftest.
$ac_ext <<_ACEOF
45527 cat confdefs.h
>>conftest.
$ac_ext
45528 cat >>conftest.
$ac_ext <<_ACEOF
45529 /* end confdefs.h. */
45531 #include <sys/types.h>
45532 #include <sys/socket.h>
45539 getsockname(0, 0, &len);
45545 rm -f conftest.
$ac_objext
45546 if { (ac_try
="$ac_compile"
45547 case "(($ac_try" in
45548 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45549 *) ac_try_echo=$ac_try;;
45551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45552 (eval "$ac_compile") 2>conftest.er1
45554 grep -v '^ *+' conftest.er1 >conftest.err
45556 cat conftest.err >&5
45557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45558 (exit $ac_status); } && {
45559 test -z "$ac_cxx_werror_flag" ||
45560 test ! -s conftest.err
45561 } && test -s conftest.$ac_objext; then
45562 wx_cv_type_getsockname3=socklen_t
45564 echo "$as_me: failed program was:" >&5
45565 sed 's/^/| /' conftest.$ac_ext >&5
45568 CFLAGS_OLD="$CFLAGS"
45569 if test "$GCC" = yes ; then
45570 CFLAGS="-Werror $CFLAGS"
45573 cat >conftest.$ac_ext <<_ACEOF
45576 cat confdefs.h >>conftest.$ac_ext
45577 cat >>conftest.$ac_ext <<_ACEOF
45578 /* end confdefs.h. */
45580 #include <sys/types.h>
45581 #include <sys/socket.h>
45588 getsockname(0, 0, &len);
45594 rm -f conftest.$ac_objext
45595 if { (ac_try="$ac_compile"
45596 case "(($ac_try" in
45597 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45598 *) ac_try_echo
=$ac_try;;
45600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45601 (eval "$ac_compile") 2>conftest.er1
45603 grep -v '^ *+' conftest.er1
>conftest.err
45605 cat conftest.err
>&5
45606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45607 (exit $ac_status); } && {
45608 test -z "$ac_cxx_werror_flag" ||
45609 test ! -s conftest.err
45610 } && test -s conftest.
$ac_objext; then
45611 wx_cv_type_getsockname3
=size_t
45613 echo "$as_me: failed program was:" >&5
45614 sed 's/^/| /' conftest.
$ac_ext >&5
45616 cat >conftest.
$ac_ext <<_ACEOF
45619 cat confdefs.h
>>conftest.
$ac_ext
45620 cat >>conftest.
$ac_ext <<_ACEOF
45621 /* end confdefs.h. */
45623 #include <sys/types.h>
45624 #include <sys/socket.h>
45631 getsockname(0, 0, &len);
45637 rm -f conftest.
$ac_objext
45638 if { (ac_try
="$ac_compile"
45639 case "(($ac_try" in
45640 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45641 *) ac_try_echo=$ac_try;;
45643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45644 (eval "$ac_compile") 2>conftest.er1
45646 grep -v '^ *+' conftest.er1 >conftest.err
45648 cat conftest.err >&5
45649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45650 (exit $ac_status); } && {
45651 test -z "$ac_cxx_werror_flag" ||
45652 test ! -s conftest.err
45653 } && test -s conftest.$ac_objext; then
45654 wx_cv_type_getsockname3=int
45656 echo "$as_me: failed program was:" >&5
45657 sed 's/^/| /' conftest.$ac_ext >&5
45659 wx_cv_type_getsockname3=unknown
45663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45669 CFLAGS="$CFLAGS_OLD"
45674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45676 ac_cpp='$CPP $CPPFLAGS'
45677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45683 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
45684 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
45686 if test "$wx_cv_type_getsockname3" = "unknown"; then
45688 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45689 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45691 cat >>confdefs.h <<_ACEOF
45692 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
45696 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
45697 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
45698 if test "${wx_cv_type_getsockopt5+set}" = set; then
45699 echo $ECHO_N "(cached) $ECHO_C" >&6
45702 cat >conftest.$ac_ext <<_ACEOF
45705 cat confdefs.h >>conftest.$ac_ext
45706 cat >>conftest.$ac_ext <<_ACEOF
45707 /* end confdefs.h. */
45709 #include <sys/types.h>
45710 #include <sys/socket.h>
45717 getsockopt(0, 0, 0, 0, &len);
45723 rm -f conftest.$ac_objext
45724 if { (ac_try="$ac_compile"
45725 case "(($ac_try" in
45726 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45727 *) ac_try_echo
=$ac_try;;
45729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45730 (eval "$ac_compile") 2>conftest.er1
45732 grep -v '^ *+' conftest.er1
>conftest.err
45734 cat conftest.err
>&5
45735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45736 (exit $ac_status); } && {
45737 test -z "$ac_c_werror_flag" ||
45738 test ! -s conftest.err
45739 } && test -s conftest.
$ac_objext; then
45740 wx_cv_type_getsockopt5
=socklen_t
45742 echo "$as_me: failed program was:" >&5
45743 sed 's/^/| /' conftest.
$ac_ext >&5
45747 ac_cpp
='$CXXCPP $CPPFLAGS'
45748 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45749 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45750 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
45752 cat >conftest.
$ac_ext <<_ACEOF
45755 cat confdefs.h
>>conftest.
$ac_ext
45756 cat >>conftest.
$ac_ext <<_ACEOF
45757 /* end confdefs.h. */
45759 #include <sys/types.h>
45760 #include <sys/socket.h>
45767 getsockopt(0, 0, 0, 0, &len);
45773 rm -f conftest.
$ac_objext
45774 if { (ac_try
="$ac_compile"
45775 case "(($ac_try" in
45776 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45777 *) ac_try_echo=$ac_try;;
45779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45780 (eval "$ac_compile") 2>conftest.er1
45782 grep -v '^ *+' conftest.er1 >conftest.err
45784 cat conftest.err >&5
45785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45786 (exit $ac_status); } && {
45787 test -z "$ac_cxx_werror_flag" ||
45788 test ! -s conftest.err
45789 } && test -s conftest.$ac_objext; then
45790 wx_cv_type_getsockopt5=size_t
45792 echo "$as_me: failed program was:" >&5
45793 sed 's/^/| /' conftest.$ac_ext >&5
45795 cat >conftest.$ac_ext <<_ACEOF
45798 cat confdefs.h >>conftest.$ac_ext
45799 cat >>conftest.$ac_ext <<_ACEOF
45800 /* end confdefs.h. */
45802 #include <sys/types.h>
45803 #include <sys/socket.h>
45810 getsockopt(0, 0, 0, 0, &len);
45816 rm -f conftest.$ac_objext
45817 if { (ac_try="$ac_compile"
45818 case "(($ac_try" in
45819 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45820 *) ac_try_echo
=$ac_try;;
45822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45823 (eval "$ac_compile") 2>conftest.er1
45825 grep -v '^ *+' conftest.er1
>conftest.err
45827 cat conftest.err
>&5
45828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45829 (exit $ac_status); } && {
45830 test -z "$ac_cxx_werror_flag" ||
45831 test ! -s conftest.err
45832 } && test -s conftest.
$ac_objext; then
45833 wx_cv_type_getsockopt5
=int
45835 echo "$as_me: failed program was:" >&5
45836 sed 's/^/| /' conftest.
$ac_ext >&5
45838 wx_cv_type_getsockopt5
=unknown
45842 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45846 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45848 ac_cpp
='$CPP $CPPFLAGS'
45849 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45850 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45851 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
45857 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45860 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
45861 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
45863 if test "$wx_cv_type_getsockopt5" = "unknown"; then
45865 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45866 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45868 cat >>confdefs.h
<<_ACEOF
45869 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
45876 if test "$wxUSE_SOCKETS" = "yes" ; then
45877 cat >>confdefs.h
<<\_ACEOF
45878 #define wxUSE_SOCKETS 1
45881 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
45884 if test "$wxUSE_PROTOCOL" = "yes"; then
45885 if test "$wxUSE_SOCKETS" != "yes"; then
45886 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
45887 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
45892 if test "$wxUSE_PROTOCOL" = "yes"; then
45893 cat >>confdefs.h
<<\_ACEOF
45894 #define wxUSE_PROTOCOL 1
45898 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
45899 cat >>confdefs.h
<<\_ACEOF
45900 #define wxUSE_PROTOCOL_HTTP 1
45904 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
45905 cat >>confdefs.h
<<\_ACEOF
45906 #define wxUSE_PROTOCOL_FTP 1
45910 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
45911 cat >>confdefs.h
<<\_ACEOF
45912 #define wxUSE_PROTOCOL_FILE 1
45917 if test "$wxUSE_FS_INET" = "yes"; then
45918 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
45919 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
45924 if test "$wxUSE_URL" = "yes"; then
45925 if test "$wxUSE_PROTOCOL" != "yes"; then
45926 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
45927 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
45930 if test "$wxUSE_URL" = "yes"; then
45931 cat >>confdefs.h
<<\_ACEOF
45932 #define wxUSE_URL 1
45938 if test "$wxUSE_VARIANT" = "yes"; then
45939 cat >>confdefs.h
<<\_ACEOF
45940 #define wxUSE_VARIANT 1
45945 if test "$wxUSE_FS_INET" = "yes"; then
45946 cat >>confdefs.h
<<\_ACEOF
45947 #define wxUSE_FS_INET 1
45953 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
45956 if test "$TOOLKIT" = "MSW"; then
45959 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
45960 if test "$USE_DARWIN" = 1; then
45961 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
45962 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
45964 ac_cpp
='$CXXCPP $CPPFLAGS'
45965 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45966 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45967 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
45969 cat >conftest.
$ac_ext <<_ACEOF
45972 cat confdefs.h
>>conftest.
$ac_ext
45973 cat >>conftest.
$ac_ext <<_ACEOF
45974 /* end confdefs.h. */
45975 #include <IOKit/hid/IOHIDLib.h>
45979 IOHIDQueueInterface *qi = NULL;
45980 IOHIDCallbackFunction cb = NULL;
45981 qi->setEventCallout(NULL, cb, NULL, NULL);
45986 rm -f conftest.
$ac_objext
45987 if { (ac_try
="$ac_compile"
45988 case "(($ac_try" in
45989 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45990 *) ac_try_echo=$ac_try;;
45992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45993 (eval "$ac_compile") 2>conftest.er1
45995 grep -v '^ *+' conftest.er1 >conftest.err
45997 cat conftest.err >&5
45998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45999 (exit $ac_status); } && {
46000 test -z "$ac_cxx_werror_flag" ||
46001 test ! -s conftest.err
46002 } && test -s conftest.$ac_objext; then
46006 echo "$as_me: failed program was:" >&5
46007 sed 's/^/| /' conftest.$ac_ext >&5
46012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46014 ac_cpp='$CPP $CPPFLAGS'
46015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46019 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
46020 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
46024 if test "$wxUSE_MGL" != "1"; then
46025 { echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
46026 echo $ECHO_N "checking for linux/joystick.h... $ECHO_C" >&6; }
46027 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
46028 echo $ECHO_N "(cached) $ECHO_C" >&6
46030 cat >conftest.$ac_ext <<_ACEOF
46033 cat confdefs.h >>conftest.$ac_ext
46034 cat >>conftest.$ac_ext <<_ACEOF
46035 /* end confdefs.h. */
46038 #include <linux/joystick.h>
46040 rm -f conftest.$ac_objext
46041 if { (ac_try="$ac_compile"
46042 case "(($ac_try" in
46043 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46044 *) ac_try_echo
=$ac_try;;
46046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46047 (eval "$ac_compile") 2>conftest.er1
46049 grep -v '^ *+' conftest.er1
>conftest.err
46051 cat conftest.err
>&5
46052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46053 (exit $ac_status); } && {
46054 test -z "$ac_c_werror_flag" ||
46055 test ! -s conftest.err
46056 } && test -s conftest.
$ac_objext; then
46057 ac_cv_header_linux_joystick_h
=yes
46059 echo "$as_me: failed program was:" >&5
46060 sed 's/^/| /' conftest.
$ac_ext >&5
46062 ac_cv_header_linux_joystick_h
=no
46065 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46067 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
46068 echo "${ECHO_T}$ac_cv_header_linux_joystick_h" >&6; }
46069 if test $ac_cv_header_linux_joystick_h = yes; then
46077 if test "$wxUSE_JOYSTICK" = "yes"; then
46078 cat >>confdefs.h
<<\_ACEOF
46079 #define wxUSE_JOYSTICK 1
46082 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
46084 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
46085 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
46091 if test "$wxUSE_FONTMAP" = "yes" ; then
46092 cat >>confdefs.h
<<\_ACEOF
46093 #define wxUSE_FONTMAP 1
46098 if test "$wxUSE_UNICODE" = "yes" ; then
46099 cat >>confdefs.h
<<\_ACEOF
46100 #define wxUSE_UNICODE 1
46104 if test "$USE_WIN32" != 1; then
46105 wxUSE_UNICODE_MSLU
=no
46108 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
46109 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
46110 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
46111 if test "${ac_cv_lib_unicows_main+set}" = set; then
46112 echo $ECHO_N "(cached) $ECHO_C" >&6
46114 ac_check_lib_save_LIBS
=$LIBS
46115 LIBS
="-lunicows $LIBS"
46116 cat >conftest.
$ac_ext <<_ACEOF
46119 cat confdefs.h
>>conftest.
$ac_ext
46120 cat >>conftest.
$ac_ext <<_ACEOF
46121 /* end confdefs.h. */
46132 rm -f conftest.
$ac_objext conftest
$ac_exeext
46133 if { (ac_try
="$ac_link"
46134 case "(($ac_try" in
46135 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46136 *) ac_try_echo=$ac_try;;
46138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46139 (eval "$ac_link") 2>conftest.er1
46141 grep -v '^ *+' conftest.er1 >conftest.err
46143 cat conftest.err >&5
46144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46145 (exit $ac_status); } && {
46146 test -z "$ac_c_werror_flag" ||
46147 test ! -s conftest.err
46148 } && test -s conftest$ac_exeext &&
46149 $as_test_x conftest$ac_exeext; then
46150 ac_cv_lib_unicows_main=yes
46152 echo "$as_me: failed program was:" >&5
46153 sed 's/^/| /' conftest.$ac_ext >&5
46155 ac_cv_lib_unicows_main=no
46158 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46159 conftest$ac_exeext conftest.$ac_ext
46160 LIBS=$ac_check_lib_save_LIBS
46162 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
46163 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
46164 if test $ac_cv_lib_unicows_main = yes; then
46166 cat >>confdefs.h <<\_ACEOF
46167 #define wxUSE_UNICODE_MSLU 1
46173 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46174 Applications will only run on Windows NT/2000/XP!" >&5
46175 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46176 Applications will only run on Windows NT/2000/XP!" >&2;}
46177 wxUSE_UNICODE_MSLU=no
46184 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
46185 cat >>confdefs.h <<\_ACEOF
46186 #define wxUSE_EXPERIMENTAL_PRINTF 1
46192 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
46193 cat >>confdefs.h <<\_ACEOF
46194 #define wxUSE_POSTSCRIPT 1
46199 cat >>confdefs.h <<\_ACEOF
46200 #define wxUSE_AFM_FOR_POSTSCRIPT 1
46204 cat >>confdefs.h <<\_ACEOF
46205 #define wxUSE_NORMALIZED_PS_FONTS 1
46210 if test "$wxUSE_CONSTRAINTS" = "yes"; then
46211 cat >>confdefs.h <<\_ACEOF
46212 #define wxUSE_CONSTRAINTS 1
46215 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
46218 if test "$wxUSE_MDI" = "yes"; then
46219 cat >>confdefs.h <<\_ACEOF
46220 #define wxUSE_MDI 1
46224 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
46225 cat >>confdefs.h <<\_ACEOF
46226 #define wxUSE_MDI_ARCHITECTURE 1
46229 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
46233 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
46234 cat >>confdefs.h <<\_ACEOF
46235 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
46238 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
46239 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
46240 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
46244 if test "$wxUSE_HELP" = "yes"; then
46245 cat >>confdefs.h <<\_ACEOF
46246 #define wxUSE_HELP 1
46249 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
46251 if test "$wxUSE_MSW" = 1; then
46252 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
46253 cat >>confdefs.h <<\_ACEOF
46254 #define wxUSE_MS_HTML_HELP 1
46260 if test "$wxUSE_WXHTML_HELP" = "yes"; then
46261 if test "$wxUSE_HTML" = "yes"; then
46262 cat >>confdefs.h <<\_ACEOF
46263 #define wxUSE_WXHTML_HELP 1
46267 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
46268 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
46269 wxUSE_WXHTML_HELP=no
46274 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
46275 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46276 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
46277 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
46279 cat >>confdefs.h <<\_ACEOF
46280 #define wxUSE_PRINTING_ARCHITECTURE 1
46284 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
46287 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
46288 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
46289 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
46290 { (exit 1); exit 1; }; }
46294 if test "$wxUSE_METAFILE" = "yes"; then
46295 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
46296 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
46297 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
46303 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
46304 -o "$wxUSE_CLIPBOARD" = "yes" \
46305 -o "$wxUSE_OLE" = "yes" \
46306 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
46308 for ac_header in ole2.h
46310 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46311 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46312 { echo "$as_me:$LINENO: checking for $ac_header" >&5
46313 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
46314 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46315 echo $ECHO_N "(cached) $ECHO_C" >&6
46317 ac_res=`eval echo '${'$as_ac_Header'}'`
46318 { echo "$as_me:$LINENO: result: $ac_res" >&5
46319 echo "${ECHO_T}$ac_res" >&6; }
46321 # Is the header compilable?
46322 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
46323 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
46324 cat >conftest.$ac_ext <<_ACEOF
46327 cat confdefs.h >>conftest.$ac_ext
46328 cat >>conftest.$ac_ext <<_ACEOF
46329 /* end confdefs.h. */
46330 $ac_includes_default
46331 #include <$ac_header>
46333 rm -f conftest.$ac_objext
46334 if { (ac_try="$ac_compile"
46335 case "(($ac_try" in
46336 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46337 *) ac_try_echo
=$ac_try;;
46339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46340 (eval "$ac_compile") 2>conftest.er1
46342 grep -v '^ *+' conftest.er1
>conftest.err
46344 cat conftest.err
>&5
46345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46346 (exit $ac_status); } && {
46347 test -z "$ac_c_werror_flag" ||
46348 test ! -s conftest.err
46349 } && test -s conftest.
$ac_objext; then
46350 ac_header_compiler
=yes
46352 echo "$as_me: failed program was:" >&5
46353 sed 's/^/| /' conftest.
$ac_ext >&5
46355 ac_header_compiler
=no
46358 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46359 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
46360 echo "${ECHO_T}$ac_header_compiler" >&6; }
46362 # Is the header present?
46363 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
46364 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
46365 cat >conftest.
$ac_ext <<_ACEOF
46368 cat confdefs.h
>>conftest.
$ac_ext
46369 cat >>conftest.
$ac_ext <<_ACEOF
46370 /* end confdefs.h. */
46371 #include <$ac_header>
46373 if { (ac_try
="$ac_cpp conftest.$ac_ext"
46374 case "(($ac_try" in
46375 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46376 *) ac_try_echo=$ac_try;;
46378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46379 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
46381 grep -v '^ *+' conftest.er1 >conftest.err
46383 cat conftest.err >&5
46384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46385 (exit $ac_status); } >/dev/null && {
46386 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
46387 test ! -s conftest.err
46389 ac_header_preproc=yes
46391 echo "$as_me: failed program was:" >&5
46392 sed 's/^/| /' conftest.$ac_ext >&5
46394 ac_header_preproc=no
46397 rm -f conftest.err conftest.$ac_ext
46398 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
46399 echo "${ECHO_T}$ac_header_preproc" >&6; }
46401 # So? What about this header?
46402 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
46404 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
46405 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
46406 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
46407 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
46408 ac_header_preproc=yes
46411 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
46412 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
46413 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
46414 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
46415 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
46416 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
46417 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
46418 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
46419 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
46420 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
46421 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
46422 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
46424 ## ----------------------------------------- ##
46425 ## Report this to wx-dev@lists.wxwidgets.org ##
46426 ## ----------------------------------------- ##
46428 ) | sed "s/^/$as_me: WARNING: /" >&2
46431 { echo "$as_me:$LINENO: checking for $ac_header" >&5
46432 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
46433 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46434 echo $ECHO_N "(cached) $ECHO_C" >&6
46436 eval "$as_ac_Header=\$ac_header_preproc"
46438 ac_res=`eval echo '${'$as_ac_Header'}'`
46439 { echo "$as_me:$LINENO: result: $ac_res" >&5
46440 echo "${ECHO_T}$ac_res" >&6; }
46443 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46444 cat >>confdefs.h <<_ACEOF
46445 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46453 if test "$ac_cv_header_ole2_h" = "yes" ; then
46454 if test "$GCC" = yes ; then
46455 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
46456 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
46457 cat >conftest.$ac_ext <<_ACEOF
46460 cat confdefs.h >>conftest.$ac_ext
46461 cat >>conftest.$ac_ext <<_ACEOF
46462 /* end confdefs.h. */
46463 #include <windows.h>
46473 rm -f conftest.$ac_objext
46474 if { (ac_try="$ac_compile"
46475 case "(($ac_try" in
46476 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46477 *) ac_try_echo
=$ac_try;;
46479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46480 (eval "$ac_compile") 2>conftest.er1
46482 grep -v '^ *+' conftest.er1
>conftest.err
46484 cat conftest.err
>&5
46485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46486 (exit $ac_status); } && {
46487 test -z "$ac_c_werror_flag" ||
46488 test ! -s conftest.err
46489 } && test -s conftest.
$ac_objext; then
46490 { echo "$as_me:$LINENO: result: no" >&5
46491 echo "${ECHO_T}no" >&6; }
46493 echo "$as_me: failed program was:" >&5
46494 sed 's/^/| /' conftest.
$ac_ext >&5
46496 { echo "$as_me:$LINENO: result: yes" >&5
46497 echo "${ECHO_T}yes" >&6; }
46498 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
46501 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46502 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
46503 if test "$wxUSE_OLE" = "yes" ; then
46504 cat >>confdefs.h
<<\_ACEOF
46505 #define wxUSE_OLE 1
46508 cat >>confdefs.h
<<\_ACEOF
46509 #define wxUSE_OLE_AUTOMATION 1
46512 cat >>confdefs.h
<<\_ACEOF
46513 #define wxUSE_ACTIVEX 1
46516 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
46520 if test "$wxUSE_DATAOBJ" = "yes" ; then
46521 cat >>confdefs.h
<<\_ACEOF
46522 #define wxUSE_DATAOBJ 1
46527 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
46528 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
46531 wxUSE_DRAG_AND_DROP
=no
46536 if test "$wxUSE_METAFILE" = "yes"; then
46537 cat >>confdefs.h
<<\_ACEOF
46538 #define wxUSE_METAFILE 1
46542 cat >>confdefs.h
<<\_ACEOF
46543 #define wxUSE_ENH_METAFILE 1
46549 if test "$wxUSE_IPC" = "yes"; then
46550 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
46551 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
46552 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
46556 if test "$wxUSE_IPC" = "yes"; then
46557 cat >>confdefs.h
<<\_ACEOF
46558 #define wxUSE_IPC 1
46561 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
46565 if test "$wxUSE_DATAOBJ" = "yes"; then
46566 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
46567 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
46568 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
46571 cat >>confdefs.h
<<\_ACEOF
46572 #define wxUSE_DATAOBJ 1
46577 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
46578 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
46580 wxUSE_DRAG_AND_DROP
=no
46583 if test "$wxUSE_CLIPBOARD" = "yes"; then
46584 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
46585 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
46586 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
46590 if test "$wxUSE_CLIPBOARD" = "yes"; then
46591 cat >>confdefs.h
<<\_ACEOF
46592 #define wxUSE_CLIPBOARD 1
46598 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
46599 if test "$wxUSE_GTK" = 1; then
46600 if test "$WXGTK12" != 1; then
46601 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
46602 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
46603 wxUSE_DRAG_AND_DROP
=no
46607 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
46608 "$wxUSE_DFB" = 1; then
46609 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
46610 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
46611 wxUSE_DRAG_AND_DROP
=no
46614 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
46615 cat >>confdefs.h
<<\_ACEOF
46616 #define wxUSE_DRAG_AND_DROP 1
46623 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
46624 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
46627 if test "$wxUSE_SPLINES" = "yes" ; then
46628 cat >>confdefs.h
<<\_ACEOF
46629 #define wxUSE_SPLINES 1
46634 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
46635 cat >>confdefs.h
<<\_ACEOF
46636 #define wxUSE_MOUSEWHEEL 1
46643 if test "$wxUSE_CONTROLS" = "yes"; then
46647 if test "$wxUSE_ACCEL" = "yes"; then
46648 cat >>confdefs.h
<<\_ACEOF
46649 #define wxUSE_ACCEL 1
46655 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
46656 cat >>confdefs.h
<<\_ACEOF
46657 #define wxUSE_ANIMATIONCTRL 1
46661 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
46664 if test "$wxUSE_BUTTON" = "yes"; then
46665 cat >>confdefs.h
<<\_ACEOF
46666 #define wxUSE_BUTTON 1
46672 if test "$wxUSE_BMPBUTTON" = "yes"; then
46673 cat >>confdefs.h
<<\_ACEOF
46674 #define wxUSE_BMPBUTTON 1
46680 if test "$wxUSE_CALCTRL" = "yes"; then
46681 cat >>confdefs.h
<<\_ACEOF
46682 #define wxUSE_CALENDARCTRL 1
46686 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
46689 if test "$wxUSE_CARET" = "yes"; then
46690 cat >>confdefs.h
<<\_ACEOF
46691 #define wxUSE_CARET 1
46695 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
46698 if test "$wxUSE_COLLPANE" = "yes"; then
46699 cat >>confdefs.h
<<\_ACEOF
46700 #define wxUSE_COLLPANE 1
46704 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
46707 if test "$wxUSE_COMBOBOX" = "yes"; then
46708 cat >>confdefs.h
<<\_ACEOF
46709 #define wxUSE_COMBOBOX 1
46715 if test "$wxUSE_COMBOCTRL" = "yes"; then
46716 cat >>confdefs.h
<<\_ACEOF
46717 #define wxUSE_COMBOCTRL 1
46723 if test "$wxUSE_CHOICE" = "yes"; then
46724 cat >>confdefs.h
<<\_ACEOF
46725 #define wxUSE_CHOICE 1
46731 if test "$wxUSE_CHOICEBOOK" = "yes"; then
46732 cat >>confdefs.h
<<\_ACEOF
46733 #define wxUSE_CHOICEBOOK 1
46739 if test "$wxUSE_CHECKBOX" = "yes"; then
46740 cat >>confdefs.h
<<\_ACEOF
46741 #define wxUSE_CHECKBOX 1
46747 if test "$wxUSE_CHECKLST" = "yes"; then
46748 cat >>confdefs.h
<<\_ACEOF
46749 #define wxUSE_CHECKLISTBOX 1
46753 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
46756 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
46757 cat >>confdefs.h
<<\_ACEOF
46758 #define wxUSE_COLOURPICKERCTRL 1
46764 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
46765 cat >>confdefs.h
<<\_ACEOF
46766 #define wxUSE_DATEPICKCTRL 1
46772 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
46773 cat >>confdefs.h
<<\_ACEOF
46774 #define wxUSE_DIRPICKERCTRL 1
46780 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
46781 cat >>confdefs.h
<<\_ACEOF
46782 #define wxUSE_FILEPICKERCTRL 1
46788 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
46789 cat >>confdefs.h
<<\_ACEOF
46790 #define wxUSE_FONTPICKERCTRL 1
46796 if test "$wxUSE_DISPLAY" = "yes"; then
46797 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
46798 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
46799 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
46802 cat >>confdefs.h
<<\_ACEOF
46803 #define wxUSE_DISPLAY 1
46806 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display multimon"
46810 if test "$wxUSE_DETECT_SM" = "yes"; then
46811 cat >>confdefs.h
<<\_ACEOF
46812 #define wxUSE_DETECT_SM 1
46817 if test "$wxUSE_GAUGE" = "yes"; then
46818 cat >>confdefs.h
<<\_ACEOF
46819 #define wxUSE_GAUGE 1
46825 if test "$wxUSE_GRID" = "yes"; then
46826 cat >>confdefs.h
<<\_ACEOF
46827 #define wxUSE_GRID 1
46831 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
46834 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
46835 cat >>confdefs.h
<<\_ACEOF
46836 #define wxUSE_HYPERLINKCTRL 1
46842 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
46843 cat >>confdefs.h
<<\_ACEOF
46844 #define wxUSE_BITMAPCOMBOBOX 1
46850 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
46851 cat >>confdefs.h
<<\_ACEOF
46852 #define wxUSE_DATAVIEWCTRL 1
46856 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
46859 if test "$wxUSE_IMAGLIST" = "yes"; then
46860 cat >>confdefs.h
<<\_ACEOF
46861 #define wxUSE_IMAGLIST 1
46866 if test "$wxUSE_LISTBOOK" = "yes"; then
46867 cat >>confdefs.h
<<\_ACEOF
46868 #define wxUSE_LISTBOOK 1
46874 if test "$wxUSE_LISTBOX" = "yes"; then
46875 cat >>confdefs.h
<<\_ACEOF
46876 #define wxUSE_LISTBOX 1
46880 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listbox"
46883 if test "$wxUSE_LISTCTRL" = "yes"; then
46884 if test "$wxUSE_IMAGLIST" = "yes"; then
46885 cat >>confdefs.h
<<\_ACEOF
46886 #define wxUSE_LISTCTRL 1
46890 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
46892 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
46893 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
46897 if test "$wxUSE_NOTEBOOK" = "yes"; then
46898 cat >>confdefs.h
<<\_ACEOF
46899 #define wxUSE_NOTEBOOK 1
46903 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
46906 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
46907 cat >>confdefs.h
<<\_ACEOF
46908 #define wxUSE_ODCOMBOBOX 1
46912 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
46916 if test "$wxUSE_RADIOBOX" = "yes"; then
46917 cat >>confdefs.h
<<\_ACEOF
46918 #define wxUSE_RADIOBOX 1
46924 if test "$wxUSE_RADIOBTN" = "yes"; then
46925 cat >>confdefs.h
<<\_ACEOF
46926 #define wxUSE_RADIOBTN 1
46932 if test "$wxUSE_SASH" = "yes"; then
46933 cat >>confdefs.h
<<\_ACEOF
46934 #define wxUSE_SASH 1
46937 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
46940 if test "$wxUSE_SCROLLBAR" = "yes"; then
46941 cat >>confdefs.h
<<\_ACEOF
46942 #define wxUSE_SCROLLBAR 1
46946 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
46949 if test "$wxUSE_SEARCHCTRL" = "yes"; then
46950 cat >>confdefs.h
<<\_ACEOF
46951 #define wxUSE_SEARCHCTRL 1
46957 if test "$wxUSE_SLIDER" = "yes"; then
46958 cat >>confdefs.h
<<\_ACEOF
46959 #define wxUSE_SLIDER 1
46965 if test "$wxUSE_SPINBTN" = "yes"; then
46966 cat >>confdefs.h
<<\_ACEOF
46967 #define wxUSE_SPINBTN 1
46973 if test "$wxUSE_SPINCTRL" = "yes"; then
46974 cat >>confdefs.h
<<\_ACEOF
46975 #define wxUSE_SPINCTRL 1
46981 if test "$wxUSE_SPLITTER" = "yes"; then
46982 cat >>confdefs.h
<<\_ACEOF
46983 #define wxUSE_SPLITTER 1
46986 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
46989 if test "$wxUSE_STATBMP" = "yes"; then
46990 cat >>confdefs.h
<<\_ACEOF
46991 #define wxUSE_STATBMP 1
46997 if test "$wxUSE_STATBOX" = "yes"; then
46998 cat >>confdefs.h
<<\_ACEOF
46999 #define wxUSE_STATBOX 1
47005 if test "$wxUSE_STATTEXT" = "yes"; then
47006 cat >>confdefs.h
<<\_ACEOF
47007 #define wxUSE_STATTEXT 1
47013 if test "$wxUSE_STATLINE" = "yes"; then
47014 cat >>confdefs.h
<<\_ACEOF
47015 #define wxUSE_STATLINE 1
47021 if test "$wxUSE_STATUSBAR" = "yes"; then
47022 cat >>confdefs.h
<<\_ACEOF
47023 #define wxUSE_NATIVE_STATUSBAR 1
47026 cat >>confdefs.h
<<\_ACEOF
47027 #define wxUSE_STATUSBAR 1
47032 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
47035 if test "$wxUSE_TAB_DIALOG" = "yes"; then
47036 cat >>confdefs.h
<<\_ACEOF
47037 #define wxUSE_TAB_DIALOG 1
47042 if test "$wxUSE_TEXTCTRL" = "yes"; then
47043 cat >>confdefs.h
<<\_ACEOF
47044 #define wxUSE_TEXTCTRL 1
47048 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
47051 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47052 if test "$wxUSE_COCOA" = 1 ; then
47053 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
47054 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
47058 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47059 cat >>confdefs.h
<<\_ACEOF
47060 #define wxUSE_TOGGLEBTN 1
47067 if test "$wxUSE_TOOLBAR" = "yes"; then
47068 cat >>confdefs.h
<<\_ACEOF
47069 #define wxUSE_TOOLBAR 1
47074 if test "$wxUSE_UNIVERSAL" = "yes"; then
47075 wxUSE_TOOLBAR_NATIVE
="no"
47077 wxUSE_TOOLBAR_NATIVE
="yes"
47078 cat >>confdefs.h
<<\_ACEOF
47079 #define wxUSE_TOOLBAR_NATIVE 1
47084 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
47087 if test "$wxUSE_TOOLTIPS" = "yes"; then
47088 if test "$wxUSE_MOTIF" = 1; then
47089 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
47090 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
47092 if test "$wxUSE_UNIVERSAL" = "yes"; then
47093 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
47094 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
47096 cat >>confdefs.h
<<\_ACEOF
47097 #define wxUSE_TOOLTIPS 1
47104 if test "$wxUSE_TREEBOOK" = "yes"; then
47105 cat >>confdefs.h
<<\_ACEOF
47106 #define wxUSE_TREEBOOK 1
47112 if test "$wxUSE_TOOLBOOK" = "yes"; then
47113 cat >>confdefs.h
<<\_ACEOF
47114 #define wxUSE_TOOLBOOK 1
47120 if test "$wxUSE_TREECTRL" = "yes"; then
47121 if test "$wxUSE_IMAGLIST" = "yes"; then
47122 cat >>confdefs.h
<<\_ACEOF
47123 #define wxUSE_TREECTRL 1
47127 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
47129 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
47130 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
47134 if test "$wxUSE_POPUPWIN" = "yes"; then
47135 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
47136 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
47137 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
47139 if test "$wxUSE_PM" = 1; then
47140 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
47141 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
47143 cat >>confdefs.h
<<\_ACEOF
47144 #define wxUSE_POPUPWIN 1
47147 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
47154 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
47155 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
47156 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
47157 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
47159 cat >>confdefs.h
<<\_ACEOF
47160 #define wxUSE_DIALUP_MANAGER 1
47163 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
47167 if test "$wxUSE_TIPWINDOW" = "yes"; then
47168 if test "$wxUSE_PM" = 1; then
47169 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
47170 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
47172 cat >>confdefs.h
<<\_ACEOF
47173 #define wxUSE_TIPWINDOW 1
47179 if test "$USES_CONTROLS" = 1; then
47180 cat >>confdefs.h
<<\_ACEOF
47181 #define wxUSE_CONTROLS 1
47187 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
47188 cat >>confdefs.h
<<\_ACEOF
47189 #define wxUSE_ACCESSIBILITY 1
47192 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
47195 if test "$wxUSE_DC_CACHEING" = "yes"; then
47196 cat >>confdefs.h
<<\_ACEOF
47197 #define wxUSE_DC_CACHEING 1
47202 if test "$wxUSE_DRAGIMAGE" = "yes"; then
47203 cat >>confdefs.h
<<\_ACEOF
47204 #define wxUSE_DRAGIMAGE 1
47207 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
47210 if test "$wxUSE_EXCEPTIONS" = "yes"; then
47211 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
47212 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
47213 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
47215 cat >>confdefs.h
<<\_ACEOF
47216 #define wxUSE_EXCEPTIONS 1
47219 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
47224 if test "$wxUSE_HTML" = "yes"; then
47225 cat >>confdefs.h
<<\_ACEOF
47226 #define wxUSE_HTML 1
47230 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
47231 if test "$wxUSE_MAC" = 1; then
47232 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
47235 if test "$wxUSE_WEBKIT" = "yes"; then
47236 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
47237 old_CPPFLAGS
="$CPPFLAGS"
47238 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
47239 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
47240 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
47241 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
47242 echo $ECHO_N "(cached) $ECHO_C" >&6
47244 cat >conftest.
$ac_ext <<_ACEOF
47247 cat confdefs.h
>>conftest.
$ac_ext
47248 cat >>conftest.
$ac_ext <<_ACEOF
47249 /* end confdefs.h. */
47251 #include <Carbon/Carbon.h>
47252 #include <WebKit/WebKit.h>
47255 #include <WebKit/HIWebView.h>
47257 rm -f conftest.
$ac_objext
47258 if { (ac_try
="$ac_compile"
47259 case "(($ac_try" in
47260 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47261 *) ac_try_echo=$ac_try;;
47263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47264 (eval "$ac_compile") 2>conftest.er1
47266 grep -v '^ *+' conftest.er1 >conftest.err
47268 cat conftest.err >&5
47269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47270 (exit $ac_status); } && {
47271 test -z "$ac_c_werror_flag" ||
47272 test ! -s conftest.err
47273 } && test -s conftest.$ac_objext; then
47274 ac_cv_header_WebKit_HIWebView_h=yes
47276 echo "$as_me: failed program was:" >&5
47277 sed 's/^/| /' conftest.$ac_ext >&5
47279 ac_cv_header_WebKit_HIWebView_h=no
47282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47284 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
47285 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
47286 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
47288 cat >>confdefs.h <<\_ACEOF
47289 #define wxUSE_WEBKIT 1
47292 WEBKIT_LINK="-framework WebKit"
47296 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
47297 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
47303 CPPFLAGS="$old_CPPFLAGS"
47304 elif test "$wxUSE_COCOA" = 1; then
47305 cat >>confdefs.h <<\_ACEOF
47306 #define wxUSE_WEBKIT 1
47315 if test "$wxUSE_XRC" = "yes"; then
47316 if test "$wxUSE_XML" != "yes"; then
47317 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
47318 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
47321 cat >>confdefs.h <<\_ACEOF
47322 #define wxUSE_XRC 1
47326 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
47331 if test "$wxUSE_AUI" = "yes"; then
47332 cat >>confdefs.h <<\_ACEOF
47333 #define wxUSE_AUI 1
47337 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
47340 if test "$wxUSE_MENUS" = "yes"; then
47341 cat >>confdefs.h <<\_ACEOF
47342 #define wxUSE_MENUS 1
47345 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
47348 if test "$wxUSE_METAFILE" = "yes"; then
47349 cat >>confdefs.h <<\_ACEOF
47350 #define wxUSE_METAFILE 1
47355 if test "$wxUSE_MIMETYPE" = "yes"; then
47356 cat >>confdefs.h <<\_ACEOF
47357 #define wxUSE_MIMETYPE 1
47362 if test "$wxUSE_MINIFRAME" = "yes"; then
47363 cat >>confdefs.h <<\_ACEOF
47364 #define wxUSE_MINIFRAME 1
47367 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
47370 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
47371 cat >>confdefs.h <<\_ACEOF
47372 #define wxUSE_SYSTEM_OPTIONS 1
47375 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
47376 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
47377 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
47382 if test "$wxUSE_VALIDATORS" = "yes"; then
47383 cat >>confdefs.h <<\_ACEOF
47384 #define wxUSE_VALIDATORS 1
47387 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
47390 if test "$wxUSE_PALETTE" = "yes" ; then
47391 if test "$wxUSE_DFB" = 1; then
47392 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
47393 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
47396 cat >>confdefs.h <<\_ACEOF
47397 #define wxUSE_PALETTE 1
47403 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
47404 LIBS=" -lunicows $LIBS"
47408 if test "$wxUSE_RICHTEXT" = "yes"; then
47409 cat >>confdefs.h <<\_ACEOF
47410 #define wxUSE_RICHTEXT 1
47414 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
47418 if test "$wxUSE_IMAGE" = "yes" ; then
47419 cat >>confdefs.h <<\_ACEOF
47420 #define wxUSE_IMAGE 1
47424 if test "$wxUSE_GIF" = "yes" ; then
47425 cat >>confdefs.h <<\_ACEOF
47426 #define wxUSE_GIF 1
47431 if test "$wxUSE_PCX" = "yes" ; then
47432 cat >>confdefs.h <<\_ACEOF
47433 #define wxUSE_PCX 1
47438 if test "$wxUSE_TGA" = "yes" ; then
47439 cat >>confdefs.h <<\_ACEOF
47440 #define wxUSE_TGA 1
47445 if test "$wxUSE_IFF" = "yes" ; then
47446 cat >>confdefs.h <<\_ACEOF
47447 #define wxUSE_IFF 1
47452 if test "$wxUSE_PNM" = "yes" ; then
47453 cat >>confdefs.h <<\_ACEOF
47454 #define wxUSE_PNM 1
47459 if test "$wxUSE_XPM" = "yes" ; then
47460 cat >>confdefs.h <<\_ACEOF
47461 #define wxUSE_XPM 1
47466 if test "$wxUSE_ICO_CUR" = "yes" ; then
47467 cat >>confdefs.h <<\_ACEOF
47468 #define wxUSE_ICO_CUR 1
47475 if test "$wxUSE_ABOUTDLG" = "yes"; then
47476 cat >>confdefs.h <<\_ACEOF
47477 #define wxUSE_ABOUTDLG 1
47482 if test "$wxUSE_CHOICEDLG" = "yes"; then
47483 cat >>confdefs.h <<\_ACEOF
47484 #define wxUSE_CHOICEDLG 1
47489 if test "$wxUSE_COLOURDLG" = "yes"; then
47490 cat >>confdefs.h <<\_ACEOF
47491 #define wxUSE_COLOURDLG 1
47496 if test "$wxUSE_FILEDLG" = "yes"; then
47497 cat >>confdefs.h <<\_ACEOF
47498 #define wxUSE_FILEDLG 1
47503 if test "$wxUSE_FINDREPLDLG" = "yes"; then
47504 cat >>confdefs.h <<\_ACEOF
47505 #define wxUSE_FINDREPLDLG 1
47510 if test "$wxUSE_FONTDLG" = "yes"; then
47511 cat >>confdefs.h <<\_ACEOF
47512 #define wxUSE_FONTDLG 1
47517 if test "$wxUSE_DIRDLG" = "yes"; then
47518 if test "$wxUSE_TREECTRL" != "yes"; then
47519 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
47520 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
47522 cat >>confdefs.h <<\_ACEOF
47523 #define wxUSE_DIRDLG 1
47529 if test "$wxUSE_MSGDLG" = "yes"; then
47530 cat >>confdefs.h <<\_ACEOF
47531 #define wxUSE_MSGDLG 1
47536 if test "$wxUSE_NUMBERDLG" = "yes"; then
47537 cat >>confdefs.h <<\_ACEOF
47538 #define wxUSE_NUMBERDLG 1
47543 if test "$wxUSE_PROGRESSDLG" = "yes"; then
47544 if test "$wxUSE_CONSTRAINTS" != "yes"; then
47545 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
47546 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
47548 cat >>confdefs.h <<\_ACEOF
47549 #define wxUSE_PROGRESSDLG 1
47555 if test "$wxUSE_SPLASH" = "yes"; then
47556 cat >>confdefs.h <<\_ACEOF
47557 #define wxUSE_SPLASH 1
47560 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
47563 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
47564 if test "$wxUSE_CONSTRAINTS" != "yes"; then
47565 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
47566 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
47568 cat >>confdefs.h <<\_ACEOF
47569 #define wxUSE_STARTUP_TIPS 1
47575 if test "$wxUSE_TEXTDLG" = "yes"; then
47576 cat >>confdefs.h <<\_ACEOF
47577 #define wxUSE_TEXTDLG 1
47582 if test "$wxUSE_WIZARDDLG" = "yes"; then
47583 cat >>confdefs.h <<\_ACEOF
47584 #define wxUSE_WIZARDDLG 1
47587 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
47591 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
47592 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
47593 cat >>confdefs.h <<\_ACEOF
47594 #define wxUSE_GRAPHICS_CONTEXT 1
47597 elif test "$wxUSE_GTK" != 1; then
47598 cat >>confdefs.h <<\_ACEOF
47599 #define wxUSE_GRAPHICS_CONTEXT 1
47605 { echo "$as_me:$LINENO: checking for CAIRO" >&5
47606 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
47608 if test -n "$PKG_CONFIG"; then
47609 if test -n "$CAIRO_CFLAGS"; then
47610 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
47612 if test -n "$PKG_CONFIG" && \
47613 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
47614 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
47616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47617 (exit $ac_status); }; then
47618 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev
/null
`
47626 if test -n "$PKG_CONFIG"; then
47627 if test -n "$CAIRO_LIBS"; then
47628 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
47630 if test -n "$PKG_CONFIG" && \
47631 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
47632 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
47634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47635 (exit $ac_status); }; then
47636 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev
/null
`
47647 if test $pkg_failed = yes; then
47649 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47650 _pkg_short_errors_supported=yes
47652 _pkg_short_errors_supported=no
47654 if test $_pkg_short_errors_supported = yes; then
47655 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
47657 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
47659 # Put the nasty error message in config.log where it belongs
47660 echo "$CAIRO_PKG_ERRORS" >&5
47662 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
47663 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
47665 elif test $pkg_failed = untried; then
47666 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
47667 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
47670 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
47671 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
47672 { echo "$as_me:$LINENO: result: yes" >&5
47673 echo "${ECHO_T}yes" >&6; }
47674 cat >>confdefs.h <<\_ACEOF
47675 #define wxUSE_GRAPHICS_CONTEXT 1
47685 if test "$wxUSE_MEDIACTRL" = "yes"; then
47688 if test "$wxUSE_GTK" = 1; then
47689 wxUSE_GSTREAMER="no"
47691 GST_VERSION_MAJOR=0
47692 GST_VERSION_MINOR=10
47693 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
47695 if test "$wxUSE_GSTREAMER8" = "no"; then
47698 { echo "$as_me:$LINENO: checking for GST" >&5
47699 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
47701 if test -n "$PKG_CONFIG"; then
47702 if test -n "$GST_CFLAGS"; then
47703 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
47705 if test -n "$PKG_CONFIG" && \
47706 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
47707 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
47709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47710 (exit $ac_status); }; then
47711 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
47719 if test -n "$PKG_CONFIG"; then
47720 if test -n "$GST_LIBS"; then
47721 pkg_cv_GST_LIBS="$GST_LIBS"
47723 if test -n "$PKG_CONFIG" && \
47724 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
47725 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
47727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47728 (exit $ac_status); }; then
47729 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
47740 if test $pkg_failed = yes; then
47742 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47743 _pkg_short_errors_supported=yes
47745 _pkg_short_errors_supported=no
47747 if test $_pkg_short_errors_supported = yes; then
47748 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
47750 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
47752 # Put the nasty error message in config.log where it belongs
47753 echo "$GST_PKG_ERRORS" >&5
47756 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
47757 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
47758 GST_VERSION_MINOR=8
47761 elif test $pkg_failed = untried; then
47763 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
47764 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
47765 GST_VERSION_MINOR=8
47769 GST_CFLAGS=$pkg_cv_GST_CFLAGS
47770 GST_LIBS=$pkg_cv_GST_LIBS
47771 { echo "$as_me:$LINENO: result: yes" >&5
47772 echo "${ECHO_T}yes" >&6; }
47774 wxUSE_GSTREAMER="yes"
47775 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
47779 GST_VERSION_MINOR=8
47782 if test $GST_VERSION_MINOR = "8"; then
47783 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
47786 { echo "$as_me:$LINENO: checking for GST" >&5
47787 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
47789 if test -n "$PKG_CONFIG"; then
47790 if test -n "$GST_CFLAGS"; then
47791 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
47793 if test -n "$PKG_CONFIG" && \
47794 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47795 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47798 (exit $ac_status); }; then
47799 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
47807 if test -n "$PKG_CONFIG"; then
47808 if test -n "$GST_LIBS"; then
47809 pkg_cv_GST_LIBS="$GST_LIBS"
47811 if test -n "$PKG_CONFIG" && \
47812 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47813 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47816 (exit $ac_status); }; then
47817 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
47828 if test $pkg_failed = yes; then
47830 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47831 _pkg_short_errors_supported=yes
47833 _pkg_short_errors_supported=no
47835 if test $_pkg_short_errors_supported = yes; then
47836 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47838 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47840 # Put the nasty error message in config.log where it belongs
47841 echo "$GST_PKG_ERRORS" >&5
47844 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47845 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47847 elif test $pkg_failed = untried; then
47849 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47850 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47853 GST_CFLAGS=$pkg_cv_GST_CFLAGS
47854 GST_LIBS=$pkg_cv_GST_LIBS
47855 { echo "$as_me:$LINENO: result: yes" >&5
47856 echo "${ECHO_T}yes" >&6; }
47857 wxUSE_GSTREAMER="yes"
47862 if test "$wxUSE_GSTREAMER" = "yes"; then
47865 if "$GCC" = yes; then
47866 GST_CFLAGS=`echo $GST_CFLAGS | sed 's/-mt//'`
47867 GST_LIBS=`echo $GST_LIBS | sed 's/-mt//'`
47871 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
47872 LIBS="$GST_LIBS $LIBS"
47874 cat >>confdefs.h <<\_ACEOF
47875 #define wxUSE_GSTREAMER 1
47883 if test $USE_MEDIA = 1; then
47884 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
47885 cat >>confdefs.h <<\_ACEOF
47886 #define wxUSE_MEDIACTRL 1
47893 if test "$cross_compiling" = "yes"; then
47896 OSINFO=`uname
-s -r -m`
47897 OSINFO="\"$OSINFO\""
47900 cat >>confdefs.h <<_ACEOF
47901 #define WXWIN_OS_DESCRIPTION $OSINFO
47906 if test "x$prefix" != "xNONE"; then
47909 wxPREFIX=$ac_default_prefix
47912 cat >>confdefs.h <<_ACEOF
47913 #define wxINSTALL_PREFIX "$wxPREFIX"
47919 CORE_BASE_LIBS="net base"
47920 CORE_GUI_LIBS="adv core"
47922 if test "$wxUSE_XML" = "yes" ; then
47923 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
47925 if test "$wxUSE_ODBC" != "no" ; then
47926 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
47927 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
47929 if test "$wxUSE_HTML" = "yes" ; then
47930 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
47932 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47933 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
47935 if test "$wxUSE_XRC" = "yes" ; then
47936 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
47938 if test "$wxUSE_AUI" = "yes" ; then
47939 CORE_GUI_LIBS="aui $CORE_GUI_LIBS"
47942 if test "$wxUSE_GUI" != "yes"; then
47951 if test "$wxUSE_MAC" = 1 ; then
47952 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
47953 if test "$USE_DARWIN" = 1; then
47954 LDFLAGS="$LDFLAGS -framework QuickTime"
47956 LDFLAGS="$LDFLAGS -lQuickTimeLib"
47959 if test "$USE_DARWIN" = 1; then
47960 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
47962 LDFLAGS="$LDFLAGS -lCarbonLib"
47965 if test "$wxUSE_COCOA" = 1 ; then
47966 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
47967 if test "$wxUSE_MEDIACTRL" = "yes"; then
47968 LDFLAGS="$LDFLAGS -framework QuickTime"
47971 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
47972 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
47975 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
47977 if test "$wxUSE_GUI" = "yes"; then
47980 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
47981 dynamic erase event exec font image minimal mobile \
47982 mobile/wxedit mobile/styles propsize render \
47983 rotate shaped vscroll widgets"
47985 if test "$wxUSE_MONOLITHIC" != "yes"; then
47986 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
47988 if test "$TOOLKIT" = "MSW"; then
47989 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
47990 if test "$wxUSE_UNIVERSAL" != "yes"; then
47991 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
47994 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
47995 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
47998 SAMPLES_SUBDIRS="console"
48002 if test "x$INTELCC" = "xyes" ; then
48003 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
48004 elif test "$GCC" = yes ; then
48005 CWARNINGS="-Wall -Wundef"
48008 if test "x$INTELCXX" = "xyes" ; then
48009 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
48010 elif test "$GXX" = yes ; then
48011 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
48015 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
48016 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
48019 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
48020 -I\\${wx_top_builddir}/lib
/wx
/include
/${TOOLCHAIN_FULLNAME} \
48021 -I\\${top_srcdir}/include
$TOOLKIT_INCLUDE \
48024 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
48025 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
48026 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
48028 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
48031 if test "x$MWCC" = "xyes"; then
48033 CC="$CC -cwd source -I-"
48034 CXX="$CXX -cwd source -I-"
48039 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
48040 EXTRALIBS_XML="$EXPAT_LINK"
48041 EXTRALIBS_HTML="$MSPACK_LINK"
48042 EXTRALIBS_ODBC="$ODBC_LINK"
48043 if test "$wxUSE_GUI" = "yes"; then
48044 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
48046 if test "$wxUSE_OPENGL" = "yes"; then
48047 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
48050 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
48052 WXCONFIG_LIBS="$LIBS"
48054 if test "$wxUSE_REGEX" = "builtin" ; then
48055 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
48057 if test "$wxUSE_EXPAT" = "builtin" ; then
48058 wxconfig_3rdparty="expat $wxconfig_3rdparty"
48060 if test "$wxUSE_ODBC" = "builtin" ; then
48061 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
48063 if test "$wxUSE_LIBTIFF" = "builtin" ; then
48064 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
48066 if test "$wxUSE_LIBJPEG" = "builtin" ; then
48067 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
48069 if test "$wxUSE_LIBPNG" = "builtin" ; then
48070 wxconfig_3rdparty="png $wxconfig_3rdparty"
48072 if test "$wxUSE_ZLIB" = "builtin" ; then
48073 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
48076 for i in $wxconfig_3rdparty ; do
48077 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
48081 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
48084 case "$wxUNIV_THEMES" in
48086 cat >>confdefs.h <<\_ACEOF
48087 #define wxUSE_ALL_THEMES 1
48093 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a
-z A
-Z`; do
48094 cat >>confdefs.h <<_ACEOF
48095 #define wxUSE_THEME_$t 1
48112 if test $wxUSE_MONOLITHIC = "yes" ; then
48118 if test $wxUSE_PLUGINS = "yes" ; then
48124 if test $wxUSE_ODBC != "no" ; then
48130 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
48136 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
48166 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
48177 TOOLKIT_DESC="GTK+"
48178 if test "$WXGTK20" = 1; then
48179 TOOLKIT_DESC="$TOOLKIT_DESC 2"
48180 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
48181 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
48183 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
48184 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
48186 if test "$wxUSE_LIBHILDON" = "yes"; then
48187 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
48190 if test "$TOOLKIT_EXTRA" != ""; then
48191 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
48197 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
48201 TOOLKIT_DESC="base only"
48205 if test "$wxUSE_WINE" = "yes"; then
48206 BAKEFILE_FORCE_PLATFORM=win32
48209 if test "$wxUSE_MAC" = 1 ; then
48210 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
48211 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
48212 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
48214 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
48216 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
48217 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
48218 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
48219 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
48222 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
48223 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
48226 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
48228 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
48229 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
48230 if test "${wx_cv_gcc_pch_bug+set}" = set; then
48231 echo $ECHO_N "(cached) $ECHO_C" >&6
48234 echo '#include <stdio.h>
48235 const wchar_t test_var[] = L"awidetest";' > conftest.h
48237 echo '#include "conftest.h"
48240 printf("%ls", test_var);
48244 wx_cv_gcc_pch_bug="pch not supported"
48246 if $CXX conftest.h >/dev/null 2>&1
48250 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
48252 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
48253 grep awidetest >/dev/null
48255 wx_cv_gcc_pch_bug=no
48257 wx_cv_gcc_pch_bug=yes
48262 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
48265 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
48266 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
48268 if test "$wx_cv_gcc_pch_bug" = yes; then
48276 if test "x$BAKEFILE_HOST" = "x"; then
48277 if test "x${host}" = "x" ; then
48278 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
48279 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
48280 { (exit 1); exit 1; }; }
48283 BAKEFILE_HOST="${host}"
48286 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
48288 if test -n "$ac_tool_prefix"; then
48289 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
48290 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
48291 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48292 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48293 if test "${ac_cv_prog_RANLIB+set}" = set; then
48294 echo $ECHO_N "(cached) $ECHO_C" >&6
48296 if test -n "$RANLIB"; then
48297 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
48299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48300 for as_dir in $PATH
48303 test -z "$as_dir" && as_dir=.
48304 for ac_exec_ext in '' $ac_executable_extensions; do
48305 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48306 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
48307 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48316 RANLIB=$ac_cv_prog_RANLIB
48317 if test -n "$RANLIB"; then
48318 { echo "$as_me:$LINENO: result: $RANLIB" >&5
48319 echo "${ECHO_T}$RANLIB" >&6; }
48321 { echo "$as_me:$LINENO: result: no" >&5
48322 echo "${ECHO_T}no" >&6; }
48327 if test -z "$ac_cv_prog_RANLIB"; then
48328 ac_ct_RANLIB=$RANLIB
48329 # Extract the first word of "ranlib", so it can be a program name with args.
48330 set dummy ranlib; ac_word=$2
48331 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48332 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48333 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
48334 echo $ECHO_N "(cached) $ECHO_C" >&6
48336 if test -n "$ac_ct_RANLIB"; then
48337 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
48339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48340 for as_dir in $PATH
48343 test -z "$as_dir" && as_dir=.
48344 for ac_exec_ext in '' $ac_executable_extensions; do
48345 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48346 ac_cv_prog_ac_ct_RANLIB="ranlib"
48347 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48356 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
48357 if test -n "$ac_ct_RANLIB"; then
48358 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
48359 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
48361 { echo "$as_me:$LINENO: result: no" >&5
48362 echo "${ECHO_T}no" >&6; }
48365 if test "x$ac_ct_RANLIB" = x; then
48368 case $cross_compiling:$ac_tool_warned in
48370 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48371 whose name does not start with the host triplet. If you think this
48372 configuration is useful to you, please write to autoconf@gnu.org." >&5
48373 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48374 whose name does not start with the host triplet. If you think this
48375 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48376 ac_tool_warned=yes ;;
48378 RANLIB=$ac_ct_RANLIB
48381 RANLIB="$ac_cv_prog_RANLIB"
48384 # Find a good install program. We prefer a C program (faster),
48385 # so one script is as good as another. But avoid the broken or
48386 # incompatible versions:
48387 # SysV /etc/install, /usr/sbin/install
48388 # SunOS /usr/etc/install
48389 # IRIX /sbin/install
48391 # AmigaOS /C/install, which installs bootblocks on floppy discs
48392 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
48393 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
48394 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
48395 # OS/2's system install, which has a completely different semantic
48396 # ./install, which can be erroneously created by make from ./install.sh.
48397 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
48398 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
48399 if test -z "$INSTALL"; then
48400 if test "${ac_cv_path_install+set}" = set; then
48401 echo $ECHO_N "(cached) $ECHO_C" >&6
48403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48404 for as_dir in $PATH
48407 test -z "$as_dir" && as_dir=.
48408 # Account for people who put trailing slashes in PATH elements.
48410 ./ | .// | /cC/* | \
48411 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
48412 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
48415 # OSF1 and SCO ODT 3.0 have their own names for install.
48416 # Don't use installbsd from OSF since it installs stuff as root
48418 for ac_prog in ginstall scoinst install; do
48419 for ac_exec_ext in '' $ac_executable_extensions; do
48420 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
48421 if test $ac_prog = install &&
48422 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
48423 # AIX install. It has an incompatible calling convention.
48425 elif test $ac_prog = install &&
48426 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
48427 # program-specific install script used by HP pwplus--don't use.
48430 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
48443 if test "${ac_cv_path_install+set}" = set; then
48444 INSTALL=$ac_cv_path_install
48446 # As a last resort, use the slow shell script. Don't cache a
48447 # value for INSTALL within a source directory, because that will
48448 # break other packages using the cache if that directory is
48449 # removed, or if the value is a relative name.
48450 INSTALL=$ac_install_sh
48453 { echo "$as_me:$LINENO: result: $INSTALL" >&5
48454 echo "${ECHO_T}$INSTALL" >&6; }
48456 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
48457 # It thinks the first close brace ends the variable substitution.
48458 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
48460 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
48462 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
48464 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
48465 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
48467 if test "$LN_S" = "ln -s"; then
48468 { echo "$as_me:$LINENO: result: yes" >&5
48469 echo "${ECHO_T}yes" >&6; }
48471 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
48472 echo "${ECHO_T}no, using $LN_S" >&6; }
48476 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
48477 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
48478 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
48479 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
48480 echo $ECHO_N "(cached) $ECHO_C" >&6
48482 cat >conftest.make <<\_ACEOF
48485 @echo '@@@%%%=$(MAKE)=@@@%%%'
48487 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
48488 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
48489 *@@@%%%=?*=@@@%%%*)
48490 eval ac_cv_prog_make_${ac_make}_set=yes;;
48492 eval ac_cv_prog_make_${ac_make}_set=no;;
48494 rm -f conftest.make
48496 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
48497 { echo "$as_me:$LINENO: result: yes" >&5
48498 echo "${ECHO_T}yes" >&6; }
48501 { echo "$as_me:$LINENO: result: no" >&5
48502 echo "${ECHO_T}no" >&6; }
48503 SET_MAKE="MAKE=${MAKE-make}"
48508 if test "x$SUNCXX" = "xyes"; then
48510 AROPTIONS="-xar -o"
48512 elif test "x$SGICC" = "xyes"; then
48517 if test -n "$ac_tool_prefix"; then
48518 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
48519 set dummy ${ac_tool_prefix}ar; ac_word=$2
48520 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48521 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48522 if test "${ac_cv_prog_AR+set}" = set; then
48523 echo $ECHO_N "(cached) $ECHO_C" >&6
48525 if test -n "$AR"; then
48526 ac_cv_prog_AR="$AR" # Let the user override the test.
48528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48529 for as_dir in $PATH
48532 test -z "$as_dir" && as_dir=.
48533 for ac_exec_ext in '' $ac_executable_extensions; do
48534 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48535 ac_cv_prog_AR="${ac_tool_prefix}ar"
48536 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48546 if test -n "$AR"; then
48547 { echo "$as_me:$LINENO: result: $AR" >&5
48548 echo "${ECHO_T}$AR" >&6; }
48550 { echo "$as_me:$LINENO: result: no" >&5
48551 echo "${ECHO_T}no" >&6; }
48556 if test -z "$ac_cv_prog_AR"; then
48558 # Extract the first word of "ar", so it can be a program name with args.
48559 set dummy ar; ac_word=$2
48560 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48561 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48562 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
48563 echo $ECHO_N "(cached) $ECHO_C" >&6
48565 if test -n "$ac_ct_AR"; then
48566 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
48568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48569 for as_dir in $PATH
48572 test -z "$as_dir" && as_dir=.
48573 for ac_exec_ext in '' $ac_executable_extensions; do
48574 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48575 ac_cv_prog_ac_ct_AR="ar"
48576 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48585 ac_ct_AR=$ac_cv_prog_ac_ct_AR
48586 if test -n "$ac_ct_AR"; then
48587 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
48588 echo "${ECHO_T}$ac_ct_AR" >&6; }
48590 { echo "$as_me:$LINENO: result: no" >&5
48591 echo "${ECHO_T}no" >&6; }
48594 if test "x$ac_ct_AR" = x; then
48597 case $cross_compiling:$ac_tool_warned in
48599 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48600 whose name does not start with the host triplet. If you think this
48601 configuration is useful to you, please write to autoconf@gnu.org." >&5
48602 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48603 whose name does not start with the host triplet. If you think this
48604 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48605 ac_tool_warned=yes ;;
48610 AR="$ac_cv_prog_AR"
48617 if test -n "$ac_tool_prefix"; then
48618 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
48619 set dummy ${ac_tool_prefix}strip; ac_word=$2
48620 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48621 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48622 if test "${ac_cv_prog_STRIP+set}" = set; then
48623 echo $ECHO_N "(cached) $ECHO_C" >&6
48625 if test -n "$STRIP"; then
48626 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
48628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48629 for as_dir in $PATH
48632 test -z "$as_dir" && as_dir=.
48633 for ac_exec_ext in '' $ac_executable_extensions; do
48634 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48635 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
48636 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48645 STRIP=$ac_cv_prog_STRIP
48646 if test -n "$STRIP"; then
48647 { echo "$as_me:$LINENO: result: $STRIP" >&5
48648 echo "${ECHO_T}$STRIP" >&6; }
48650 { echo "$as_me:$LINENO: result: no" >&5
48651 echo "${ECHO_T}no" >&6; }
48656 if test -z "$ac_cv_prog_STRIP"; then
48658 # Extract the first word of "strip", so it can be a program name with args.
48659 set dummy strip; ac_word=$2
48660 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48661 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48662 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
48663 echo $ECHO_N "(cached) $ECHO_C" >&6
48665 if test -n "$ac_ct_STRIP"; then
48666 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
48668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48669 for as_dir in $PATH
48672 test -z "$as_dir" && as_dir=.
48673 for ac_exec_ext in '' $ac_executable_extensions; do
48674 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48675 ac_cv_prog_ac_ct_STRIP="strip"
48676 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48685 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
48686 if test -n "$ac_ct_STRIP"; then
48687 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
48688 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
48690 { echo "$as_me:$LINENO: result: no" >&5
48691 echo "${ECHO_T}no" >&6; }
48694 if test "x$ac_ct_STRIP" = x; then
48697 case $cross_compiling:$ac_tool_warned in
48699 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48700 whose name does not start with the host triplet. If you think this
48701 configuration is useful to you, please write to autoconf@gnu.org." >&5
48702 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48703 whose name does not start with the host triplet. If you think this
48704 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48705 ac_tool_warned=yes ;;
48710 STRIP="$ac_cv_prog_STRIP"
48713 if test -n "$ac_tool_prefix"; then
48714 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
48715 set dummy ${ac_tool_prefix}nm; ac_word=$2
48716 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48717 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48718 if test "${ac_cv_prog_NM+set}" = set; then
48719 echo $ECHO_N "(cached) $ECHO_C" >&6
48721 if test -n "$NM"; then
48722 ac_cv_prog_NM="$NM" # Let the user override the test.
48724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48725 for as_dir in $PATH
48728 test -z "$as_dir" && as_dir=.
48729 for ac_exec_ext in '' $ac_executable_extensions; do
48730 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48731 ac_cv_prog_NM="${ac_tool_prefix}nm"
48732 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48742 if test -n "$NM"; then
48743 { echo "$as_me:$LINENO: result: $NM" >&5
48744 echo "${ECHO_T}$NM" >&6; }
48746 { echo "$as_me:$LINENO: result: no" >&5
48747 echo "${ECHO_T}no" >&6; }
48752 if test -z "$ac_cv_prog_NM"; then
48754 # Extract the first word of "nm", so it can be a program name with args.
48755 set dummy nm; ac_word=$2
48756 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48757 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48758 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
48759 echo $ECHO_N "(cached) $ECHO_C" >&6
48761 if test -n "$ac_ct_NM"; then
48762 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
48764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48765 for as_dir in $PATH
48768 test -z "$as_dir" && as_dir=.
48769 for ac_exec_ext in '' $ac_executable_extensions; do
48770 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48771 ac_cv_prog_ac_ct_NM="nm"
48772 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48781 ac_ct_NM=$ac_cv_prog_ac_ct_NM
48782 if test -n "$ac_ct_NM"; then
48783 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
48784 echo "${ECHO_T}$ac_ct_NM" >&6; }
48786 { echo "$as_me:$LINENO: result: no" >&5
48787 echo "${ECHO_T}no" >&6; }
48790 if test "x$ac_ct_NM" = x; then
48793 case $cross_compiling:$ac_tool_warned in
48795 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48796 whose name does not start with the host triplet. If you think this
48797 configuration is useful to you, please write to autoconf@gnu.org." >&5
48798 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48799 whose name does not start with the host triplet. If you think this
48800 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48801 ac_tool_warned=yes ;;
48806 NM="$ac_cv_prog_NM"
48810 case ${BAKEFILE_HOST} in
48812 INSTALL_DIR="mkdir -p"
48815 INSTALL_DIR='$(INSTALL) -d'
48821 case ${BAKEFILE_HOST} in
48822 *-*-cygwin* | *-*-mingw32* )
48823 LDFLAGS_GUI="-mwindows"
48829 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
48830 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
48831 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
48832 echo $ECHO_N "(cached) $ECHO_C" >&6
48835 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
48836 egrep -s GNU > /dev/null); then
48837 bakefile_cv_prog_makeisgnu="yes"
48839 bakefile_cv_prog_makeisgnu="no"
48843 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
48844 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
48846 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
48863 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
48864 case "${BAKEFILE_HOST}" in
48871 *-pc-os2_emx | *-pc-os2-emx )
48881 powerpc-apple-macos* )
48890 case "$BAKEFILE_FORCE_PLATFORM" in
48925 # Check whether --enable-omf was given.
48926 if test "${enable_omf+set}" = set; then
48927 enableval=$enable_omf; bk_os2_use_omf="$enableval"
48931 case "${BAKEFILE_HOST}" in
48933 if test "x$GCC" = "xyes"; then
48934 CFLAGS="$CFLAGS -fno-common"
48935 CXXFLAGS="$CXXFLAGS -fno-common"
48937 if test "x$XLCC" = "xyes"; then
48938 CFLAGS="$CFLAGS -qnocommon"
48939 CXXFLAGS="$CXXFLAGS -qnocommon"
48943 *-pc-os2_emx | *-pc-os2-emx )
48944 if test "x$bk_os2_use_omf" = "xyes" ; then
48947 LDFLAGS="-Zomf $LDFLAGS"
48948 CFLAGS="-Zomf $CFLAGS"
48949 CXXFLAGS="-Zomf $CXXFLAGS"
48957 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
48963 SO_SUFFIX_MODULE="so"
48968 DLLPREFIX_MODULE=""
48972 case "${BAKEFILE_HOST}" in
48975 SO_SUFFIX_MODULE="sl"
48979 SO_SUFFIX_MODULE="a"
48983 SO_SUFFIX_MODULE="dll"
48984 DLLIMP_SUFFIX="dll.a"
48991 SO_SUFFIX_MODULE="dll"
48992 DLLIMP_SUFFIX="dll.a"
49002 *-pc-os2_emx | *-pc-os2-emx )
49004 SO_SUFFIX_MODULE="dll"
49005 DLLIMP_SUFFIX=$OS2_LIBEXT
49009 LIBEXT=".$OS2_LIBEXT"
49014 SO_SUFFIX_MODULE="bundle"
49018 if test "x$DLLIMP_SUFFIX" = "x" ; then
49019 DLLIMP_SUFFIX="$SO_SUFFIX"
49034 if test "x$GCC" = "xyes"; then
49038 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
49039 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
49042 case "${BAKEFILE_HOST}" in
49044 if test "x$GCC" != "xyes"; then
49045 LDFLAGS="$LDFLAGS -L/usr/lib"
49047 SHARED_LD_CC="${CC} -b -o"
49048 SHARED_LD_CXX="${CXX} -b -o"
49054 if test "x$GCC" != "xyes"; then
49055 { echo "$as_me:$LINENO: checking for Intel compiler" >&5
49056 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6; }
49057 if test "${bakefile_cv_prog_icc+set}" = set; then
49058 echo $ECHO_N "(cached) $ECHO_C" >&6
49061 cat >conftest.$ac_ext <<_ACEOF
49064 cat confdefs.h >>conftest.$ac_ext
49065 cat >>conftest.$ac_ext <<_ACEOF
49066 /* end confdefs.h. */
49072 #ifndef __INTEL_COMPILER
49080 rm -f conftest.$ac_objext
49081 if { (ac_try="$ac_compile"
49082 case "(($ac_try" in
49083 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
49084 *) ac_try_echo
=$ac_try;;
49086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49087 (eval "$ac_compile") 2>conftest.er1
49089 grep -v '^ *+' conftest.er1
>conftest.err
49091 cat conftest.err
>&5
49092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49093 (exit $ac_status); } && {
49094 test -z "$ac_c_werror_flag" ||
49095 test ! -s conftest.err
49096 } && test -s conftest.
$ac_objext; then
49097 bakefile_cv_prog_icc
=yes
49099 echo "$as_me: failed program was:" >&5
49100 sed 's/^/| /' conftest.
$ac_ext >&5
49102 bakefile_cv_prog_icc
=no
49106 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
49109 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
49110 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6; }
49111 if test "$bakefile_cv_prog_icc" = "yes"; then
49118 if test "x$GCC" != xyes
; then
49119 SHARED_LD_CC
="${CC} -G -o"
49120 SHARED_LD_CXX
="${CXX} -G -o"
49128 cat <<EOF >shared-ld-sh
49130 #-----------------------------------------------------------------------------
49131 #-- Name: distrib/mac/shared-ld-sh
49132 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
49133 #-- Author: Gilles Depeyrot
49134 #-- Copyright: (c) 2002 Gilles Depeyrot
49135 #-- Licence: any use permitted
49136 #-----------------------------------------------------------------------------
49141 linking_flag="-dynamiclib"
49142 ldargs="-r -keep_private_externs -nostdlib"
49144 while test ${D}# -gt 0; do
49151 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
49152 # collect these options and values
49153 args="${D}{args} ${D}1 ${D}2"
49158 # collect these load args
49159 ldargs="${D}{ldargs} ${D}1"
49162 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
49163 # collect these options
49164 args="${D}{args} ${D}1"
49167 -dynamiclib|-bundle)
49168 linking_flag="${D}1"
49172 echo "shared-ld: unhandled option '${D}1'"
49176 *.o | *.a | *.dylib)
49177 # collect object files
49178 objects="${D}{objects} ${D}1"
49182 echo "shared-ld: unhandled argument '${D}1'"
49193 # Link one module containing all the others
49195 if test ${D}{verbose} = 1; then
49196 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
49198 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
49202 # Link the shared library from the single module created, but only if the
49203 # previous command didn't fail:
49205 if test ${D}{status} = 0; then
49206 if test ${D}{verbose} = 1; then
49207 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
49209 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
49214 # Remove intermediate module
49216 rm -f master.${D}${D}.o
49221 chmod +x shared
-ld-sh
49223 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
49224 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
49227 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
49228 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
49229 if test "${bakefile_cv_gcc31+set}" = set; then
49230 echo $ECHO_N "(cached) $ECHO_C" >&6
49233 cat >conftest.
$ac_ext <<_ACEOF
49236 cat confdefs.h
>>conftest.
$ac_ext
49237 cat >>conftest.
$ac_ext <<_ACEOF
49238 /* end confdefs.h. */
49244 #if (__GNUC__ < 3) || \
49245 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
49253 rm -f conftest.
$ac_objext
49254 if { (ac_try
="$ac_compile"
49255 case "(($ac_try" in
49256 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
49257 *) ac_try_echo=$ac_try;;
49259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49260 (eval "$ac_compile") 2>conftest.er1
49262 grep -v '^ *+' conftest.er1 >conftest.err
49264 cat conftest.err >&5
49265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49266 (exit $ac_status); } && {
49267 test -z "$ac_c_werror_flag" ||
49268 test ! -s conftest.err
49269 } && test -s conftest.$ac_objext; then
49271 bakefile_cv_gcc31=yes
49274 echo "$as_me: failed program was:" >&5
49275 sed 's/^/| /' conftest.$ac_ext >&5
49278 bakefile_cv_gcc31=no
49283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49286 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
49287 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
49288 if test "$bakefile_cv_gcc31" = "no"; then
49289 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
49290 SHARED_LD_CXX="$SHARED_LD_CC"
49292 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
49293 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
49296 if test "x$GCC" == "xyes"; then
49297 PIC_FLAG="-dynamic -fPIC"
49299 if test "x$XLCC" = "xyes"; then
49300 PIC_FLAG="-dynamic -DPIC"
49305 if test "x$GCC" = "xyes"; then
49308 case "${BAKEFILE_HOST}" in
49310 LD_EXPFULL="-Wl,-bexpfull"
49314 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
49315 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
49317 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
49318 set dummy makeC++SharedLib; ac_word=$2
49319 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49320 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49321 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
49322 echo $ECHO_N "(cached) $ECHO_C" >&6
49324 if test -n "$AIX_CXX_LD"; then
49325 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
49327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49328 for as_dir in $PATH
49331 test -z "$as_dir" && as_dir=.
49332 for ac_exec_ext in '' $ac_executable_extensions; do
49333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49334 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
49335 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49342 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
49345 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
49346 if test -n "$AIX_CXX_LD"; then
49347 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
49348 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
49350 { echo "$as_me:$LINENO: result: no" >&5
49351 echo "${ECHO_T}no" >&6; }
49355 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
49356 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
49361 SHARED_LD_CC="${LD} -nostart -o"
49362 SHARED_LD_CXX="${LD} -nostart -o"
49366 if test "x$GCC" != "xyes"; then
49371 *-*-cygwin* | *-*-mingw32* )
49373 SHARED_LD_CC="\$(CC) -shared -o"
49374 SHARED_LD_CXX="\$(CXX) -shared -o"
49378 *-pc-os2_emx | *-pc-os2-emx )
49379 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49380 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49384 cat <<EOF >dllar.sh
49387 # dllar - a tool to build both a .dll and an .a file
49388 # from a set of object (.o) files for EMX/OS2.
49390 # Written by Andrew Zabolotny, bit@freya.etu.ru
49391 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
49393 # This script will accept a set of files on the command line.
49394 # All the public symbols from the .o files will be exported into
49395 # a .DEF file, then linker will be run (through gcc) against them to
49396 # build a shared library consisting of all given .o files. All libraries
49397 # (.a) will be first decompressed into component .o files then act as
49398 # described above. You can optionally give a description (-d "description")
49399 # which will be put into .DLL. To see the list of accepted options (as well
49400 # as command-line format) simply run this program without options. The .DLL
49401 # is built to be imported by name (there is no guarantee that new versions
49402 # of the library you build will have same ordinals for same symbols).
49404 # dllar is free software; you can redistribute it and/or modify
49405 # it under the terms of the GNU General Public License as published by
49406 # the Free Software Foundation; either version 2, or (at your option)
49407 # any later version.
49409 # dllar is distributed in the hope that it will be useful,
49410 # but WITHOUT ANY WARRANTY; without even the implied warranty of
49411 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
49412 # GNU General Public License for more details.
49414 # You should have received a copy of the GNU General Public License
49415 # along with dllar; see the file COPYING. If not, write to the Free
49416 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
49419 # To successfuly run this program you will need:
49420 # - Current drive should have LFN support (HPFS, ext2, network, etc)
49421 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
49423 # (used to build the .dll)
49425 # (used to create .def file from .o files)
49427 # (used to create .a file from .def file)
49428 # - GNU text utilites (cat, sort, uniq)
49429 # used to process emxexp output
49430 # - GNU file utilities (mv, rm)
49432 # - lxlite (optional, see flag below)
49433 # (used for general .dll cleanup)
49440 # basnam, variant of basename, which does _not_ remove the path, _iff_
49441 # second argument (suffix to remove) is given
49445 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
49448 echo ${D}1 | sed 's/'${D}2'${D}//'
49451 echo "error in basnam ${D}*"
49457 # Cleanup temporary files and output
49460 for i in ${D}inputFiles ; do
49463 rm -rf \`basnam
${D}i
!\
`
49470 # Kill result in case of failure as there is just to many stupid make/nmake
49471 # things out there which doesn't do this.
49472 if [ ${D}# -eq 0 ]; then
49473 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
49477 # Print usage and exit script with rc=1.
49479 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
49480 echo ' [-name-mangler-script script.sh]'
49481 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
49482 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
49483 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
49484 echo ' [*.o] [*.a]'
49485 echo '*> "output_file" should have no extension.'
49486 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
49487 echo ' The import library name is derived from this and is set to "name".a,'
49488 echo ' unless overridden by -import'
49489 echo '*> "importlib_name" should have no extension.'
49490 echo ' If it has the .o, or .a extension, it is automatically removed.'
49491 echo ' This name is used as the import library name and may be longer and'
49492 echo ' more descriptive than the DLL name which has to follow the old '
49493 echo ' 8.3 convention of FAT.'
49494 echo '*> "script.sh may be given to override the output_file name by a'
49495 echo ' different name. It is mainly useful if the regular make process'
49496 echo ' of some package does not take into account OS/2 restriction of'
49497 echo ' DLL name lengths. It takes the importlib name as input and is'
49498 echo ' supposed to procude a shorter name as output. The script should'
49499 echo ' expect to get importlib_name without extension and should produce'
49500 echo ' a (max.) 8 letter name without extension.'
49501 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
49502 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
49503 echo ' These flags will be put at the start of GCC command line.'
49504 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
49505 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
49506 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
49507 echo ' If the last character of a symbol is "*", all symbols beginning'
49508 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
49509 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
49510 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
49511 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
49512 echo ' C runtime DLLs.'
49513 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
49514 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
49515 echo ' unchanged to GCC at the end of command line.'
49516 echo '*> If you create a DLL from a library and you do not specify -o,'
49517 echo ' the basename for DLL and import library will be set to library name,'
49518 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
49519 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
49520 echo ' library will be renamed into gcc_s.a.'
49523 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
49524 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
49529 # Execute a command.
49530 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
49531 # @Uses Whatever CleanUp() uses.
49537 if [ ${D}rcCmd -ne 0 ]; then
49538 echo "command failed, exit code="${D}rcCmd
49553 CFLAGS="-s -Zcrtdll"
49555 EXPORT_BY_ORDINALS=0
49560 case ${D}curDirS in
49564 curDirS=${D}{curDirS}"/"
49567 # Parse commandline
49570 while [ ${D}1 ]; do
49573 EXPORT_BY_ORDINALS=1;
49583 -name-mangler-script)
49604 exclude_symbols=${D}{exclude_symbols}${D}1" "
49608 library_flags=${D}{library_flags}${D}1" "
49627 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
49630 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam
${D}1 .dll\
`"
49631 if [ ${D}omfLinking -eq 1 ]; then
49632 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
49634 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
49639 if [ ${D}libsToLink -ne 0 ]; then
49640 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
49642 for file in ${D}1 ; do
49643 if [ -f ${D}file ]; then
49644 inputFiles="${D}{inputFiles} ${D}file"
49648 if [ ${D}found -eq 0 ]; then
49649 echo "ERROR: No file(s) found: "${D}1
49656 done # iterate cmdline words
49659 if [ -z "${D}inputFiles" ]; then
49660 echo "dllar: no input files"
49664 # Now extract all .o files from .a files
49666 for file in ${D}inputFiles ; do
49677 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
49682 dirname=\`basnam
${D}file ${D}suffix\
`"_%"
49684 if [ ${D}? -ne 0 ]; then
49685 echo "Failed to create subdirectory ./${D}dirname"
49689 # Append '!' to indicate archive
49690 newInputFiles="${D}newInputFiles ${D}{dirname}!"
49691 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
49694 for subfile in ${D}dirname/*.o* ; do
49695 if [ -f ${D}subfile ]; then
49697 if [ -s ${D}subfile ]; then
49698 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
49699 newInputFiles="${D}newInputFiles ${D}subfile"
49703 if [ ${D}found -eq 0 ]; then
49704 echo "WARNING: there are no files in archive \\'${D}file\\'"
49708 newInputFiles="${D}{newInputFiles} ${D}file"
49712 inputFiles="${D}newInputFiles"
49714 # Output filename(s).
49716 if [ -z ${D}outFile ]; then
49718 set outFile ${D}inputFiles; outFile=${D}2
49721 # If it is an archive, remove the '!' and the '_%' suffixes
49722 case ${D}outFile in
49724 outFile=\`basnam
${D}outFile _
%!\
`
49729 case ${D}outFile in
49731 outFile=\`basnam
${D}outFile .dll\
`
49734 outFile=\`basnam
${D}outFile .DLL\
`
49737 outFile=\`basnam
${D}outFile .o\
`
49740 outFile=\`basnam
${D}outFile .obj\
`
49743 outFile=\`basnam
${D}outFile .a\
`
49746 outFile=\`basnam
${D}outFile .lib\
`
49751 case ${D}outimpFile in
49753 outimpFile=\`basnam
${D}outimpFile .a\
`
49756 outimpFile=\`basnam
${D}outimpFile .lib\
`
49761 if [ -z ${D}outimpFile ]; then
49762 outimpFile=${D}outFile
49764 defFile="${D}{outFile}.def"
49765 arcFile="${D}{outimpFile}.a"
49766 arcFile2="${D}{outimpFile}.lib"
49768 #create ${D}dllFile as something matching 8.3 restrictions,
49769 if [ -z ${D}renameScript ] ; then
49770 dllFile="${D}outFile"
49772 dllFile=\`${D}renameScript
${D}outimpFile\
`
49775 if [ ${D}do_backup -ne 0 ] ; then
49776 if [ -f ${D}arcFile ] ; then
49777 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
49779 if [ -f ${D}arcFile2 ] ; then
49780 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
49784 # Extract public symbols from all the object files.
49785 tmpdefFile=${D}{defFile}_%
49786 rm -f ${D}tmpdefFile
49787 for file in ${D}inputFiles ; do
49792 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
49797 # Create the def file.
49799 echo "LIBRARY \`basnam
${D}dllFile\
` ${D}library_flags" >> ${D}defFile
49800 dllFile="${D}{dllFile}.dll"
49801 if [ ! -z ${D}description ]; then
49802 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
49804 echo "EXPORTS" >> ${D}defFile
49806 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
49807 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
49809 # Checks if the export is ok or not.
49810 for word in ${D}exclude_symbols; do
49811 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
49812 mv ${D}{tmpdefFile}% ${D}tmpdefFile
49816 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49817 sed "=" < ${D}tmpdefFile | \\
49821 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
49823 ' > ${D}{tmpdefFile}%
49824 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
49826 rm -f ${D}{tmpdefFile}%
49828 cat ${D}tmpdefFile >> ${D}defFile
49829 rm -f ${D}tmpdefFile
49831 # Do linking, create implib, and apply lxlite.
49833 for file in ${D}inputFiles ; do
49838 gccCmdl="${D}gccCmdl ${D}file"
49842 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
49843 touch "${D}{outFile}.dll"
49845 doCommand "emximp -o ${D}arcFile ${D}defFile"
49846 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
49848 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49851 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
49853 doCommand "emxomf -s -l ${D}arcFile"
49863 powerpc-apple-macos* | \
49864 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
49874 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
49875 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
49876 { (exit 1); exit 1; }; }
49879 if test "x$PIC_FLAG" != "x" ; then
49880 PIC_FLAG="$PIC_FLAG -DPIC"
49883 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
49884 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
49886 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
49887 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
49906 case "${BAKEFILE_HOST}" in
49907 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
49908 SONAME_FLAG="-Wl,-soname,"
49942 # Check whether --enable-dependency-tracking was given.
49943 if test "${enable_dependency_tracking+set}" = set; then
49944 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
49948 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
49949 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
49952 if test "x$bk_use_trackdeps" = "xno" ; then
49954 { echo "$as_me:$LINENO: result: disabled" >&5
49955 echo "${ECHO_T}disabled" >&6; }
49959 if test "x$GCC" = "xyes"; then
49961 case "${BAKEFILE_HOST}" in
49963 DEPSFLAG="-no-cpp-precomp -MMD"
49969 { echo "$as_me:$LINENO: result: gcc" >&5
49970 echo "${ECHO_T}gcc" >&6; }
49971 elif test "x$MWCC" = "xyes"; then
49974 { echo "$as_me:$LINENO: result: mwcc" >&5
49975 echo "${ECHO_T}mwcc" >&6; }
49976 elif test "x$SUNCC" = "xyes"; then
49979 { echo "$as_me:$LINENO: result: Sun cc" >&5
49980 echo "${ECHO_T}Sun cc" >&6; }
49981 elif test "x$SGICC" = "xyes"; then
49984 { echo "$as_me:$LINENO: result: SGI cc" >&5
49985 echo "${ECHO_T}SGI cc" >&6; }
49986 elif test "x$HPCC" = "xyes"; then
49989 { echo "$as_me:$LINENO: result: HP cc" >&5
49990 echo "${ECHO_T}HP cc" >&6; }
49991 elif test "x$COMPAQCC" = "xyes"; then
49994 { echo "$as_me:$LINENO: result: Compaq cc" >&5
49995 echo "${ECHO_T}Compaq cc" >&6; }
49998 { echo "$as_me:$LINENO: result: none" >&5
49999 echo "${ECHO_T}none" >&6; }
50002 if test $DEPS_TRACKING = 1 ; then
50008 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
50009 # script. It is used to track C/C++ files dependencies in portable way.
50011 # Permission is given to use this file in any way.
50013 DEPSMODE=${DEPSMODE}
50015 DEPSFLAG="${DEPSFLAG}"
50017 mkdir -p ${D}DEPSDIR
50019 if test ${D}DEPSMODE = gcc ; then
50020 ${D}* ${D}{DEPSFLAG}
50022 if test ${D}{status} != 0 ; then
50025 # move created file to the location we want it in:
50026 while test ${D}# -gt 0; do
50040 depfile=\`basename ${D}srcfile
| sed -e 's/\\..*${D}/.d/g'\
`
50041 depobjname=\`echo ${D}depfile
|sed -e 's/\\.d/.o/g'\
`
50042 if test -f ${D}depfile ; then
50043 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
50046 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
50047 depfile=\`basename ${D}objfile
| sed -e 's/\\..*${D}/.d/g'\
`
50048 if test ! -f ${D}depfile ; then
50049 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
50050 depfile="${D}objfile.d"
50052 if test -f ${D}depfile ; then
50053 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
50058 elif test ${D}DEPSMODE = mwcc ; then
50059 ${D}* || exit ${D}?
50060 # Run mwcc again with -MM and redirect into the dep file we want
50061 # NOTE: We can't use shift here because we need ${D}* to be valid
50063 for arg in ${D}* ; do
50064 if test "${D}prevarg" = "-o"; then
50077 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
50079 elif test ${D}DEPSMODE = unixcc; then
50080 ${D}* || exit ${D}?
50081 # Run compiler again with deps flag and redirect into the dep file.
50082 # It doesn't work if the '-o FILE' option is used, but without it the
50083 # dependency file will contain the wrong name for the object. So it is
50084 # removed from the command line, and the dep file is fixed with sed.
50086 while test ${D}# -gt 0; do
50093 eval arg${D}#=\\${D}1
50094 cmd="${D}cmd \\${D}arg${D}#"
50099 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
50108 BK_DEPS="`pwd`/bk-deps"
50116 case ${BAKEFILE_HOST} in
50117 *-*-cygwin* | *-*-mingw32* )
50118 if test -n "$ac_tool_prefix"; then
50119 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
50120 set dummy ${ac_tool_prefix}windres; ac_word=$2
50121 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50122 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50123 if test "${ac_cv_prog_WINDRES+set}" = set; then
50124 echo $ECHO_N "(cached) $ECHO_C" >&6
50126 if test -n "$WINDRES"; then
50127 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
50129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50130 for as_dir in $PATH
50133 test -z "$as_dir" && as_dir=.
50134 for ac_exec_ext in '' $ac_executable_extensions; do
50135 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50136 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
50137 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50146 WINDRES=$ac_cv_prog_WINDRES
50147 if test -n "$WINDRES"; then
50148 { echo "$as_me:$LINENO: result: $WINDRES" >&5
50149 echo "${ECHO_T}$WINDRES" >&6; }
50151 { echo "$as_me:$LINENO: result: no" >&5
50152 echo "${ECHO_T}no" >&6; }
50157 if test -z "$ac_cv_prog_WINDRES"; then
50158 ac_ct_WINDRES=$WINDRES
50159 # Extract the first word of "windres", so it can be a program name with args.
50160 set dummy windres; ac_word=$2
50161 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50162 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50163 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
50164 echo $ECHO_N "(cached) $ECHO_C" >&6
50166 if test -n "$ac_ct_WINDRES"; then
50167 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
50169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50170 for as_dir in $PATH
50173 test -z "$as_dir" && as_dir=.
50174 for ac_exec_ext in '' $ac_executable_extensions; do
50175 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50176 ac_cv_prog_ac_ct_WINDRES="windres"
50177 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50186 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
50187 if test -n "$ac_ct_WINDRES"; then
50188 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
50189 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
50191 { echo "$as_me:$LINENO: result: no" >&5
50192 echo "${ECHO_T}no" >&6; }
50195 if test "x$ac_ct_WINDRES" = x; then
50198 case $cross_compiling:$ac_tool_warned in
50200 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50201 whose name does not start with the host triplet. If you think this
50202 configuration is useful to you, please write to autoconf@gnu.org." >&5
50203 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50204 whose name does not start with the host triplet. If you think this
50205 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50206 ac_tool_warned=yes ;;
50208 WINDRES=$ac_ct_WINDRES
50211 WINDRES="$ac_cv_prog_WINDRES"
50216 *-*-darwin* | powerpc-apple-macos* )
50217 # Extract the first word of "Rez", so it can be a program name with args.
50218 set dummy Rez; ac_word=$2
50219 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50220 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50221 if test "${ac_cv_prog_REZ+set}" = set; then
50222 echo $ECHO_N "(cached) $ECHO_C" >&6
50224 if test -n "$REZ"; then
50225 ac_cv_prog_REZ="$REZ" # Let the user override the test.
50227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50228 for as_dir in $PATH
50231 test -z "$as_dir" && as_dir=.
50232 for ac_exec_ext in '' $ac_executable_extensions; do
50233 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50234 ac_cv_prog_REZ="Rez"
50235 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50242 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
50245 REZ=$ac_cv_prog_REZ
50246 if test -n "$REZ"; then
50247 { echo "$as_me:$LINENO: result: $REZ" >&5
50248 echo "${ECHO_T}$REZ" >&6; }
50250 { echo "$as_me:$LINENO: result: no" >&5
50251 echo "${ECHO_T}no" >&6; }
50255 # Extract the first word of "SetFile", so it can be a program name with args.
50256 set dummy SetFile; ac_word=$2
50257 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50258 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50259 if test "${ac_cv_prog_SETFILE+set}" = set; then
50260 echo $ECHO_N "(cached) $ECHO_C" >&6
50262 if test -n "$SETFILE"; then
50263 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
50265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50266 for as_dir in $PATH
50269 test -z "$as_dir" && as_dir=.
50270 for ac_exec_ext in '' $ac_executable_extensions; do
50271 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50272 ac_cv_prog_SETFILE="SetFile"
50273 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50280 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
50283 SETFILE=$ac_cv_prog_SETFILE
50284 if test -n "$SETFILE"; then
50285 { echo "$as_me:$LINENO: result: $SETFILE" >&5
50286 echo "${ECHO_T}$SETFILE" >&6; }
50288 { echo "$as_me:$LINENO: result: no" >&5
50289 echo "${ECHO_T}no" >&6; }
50301 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
50304 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
50308 # Check whether --enable-precomp-headers was given.
50309 if test "${enable_precomp_headers+set}" = set; then
50310 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
50319 case ${BAKEFILE_HOST} in
50325 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
50326 if test "x$GCC" = "xyes"; then
50327 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
50328 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
50329 cat >conftest.$ac_ext <<_ACEOF
50332 cat confdefs.h >>conftest.$ac_ext
50333 cat >>conftest.$ac_ext <<_ACEOF
50334 /* end confdefs.h. */
50340 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
50341 There is no PCH support
50344 There is no PCH support
50346 #if (__GNUC__ == 3) && \
50347 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
50348 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
50349 ( defined(__INTEL_COMPILER) )
50350 There is no PCH support
50357 rm -f conftest.$ac_objext
50358 if { (ac_try="$ac_compile"
50359 case "(($ac_try" in
50360 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
50361 *) ac_try_echo
=$ac_try;;
50363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50364 (eval "$ac_compile") 2>conftest.er1
50366 grep -v '^ *+' conftest.er1
>conftest.err
50368 cat conftest.err
>&5
50369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50370 (exit $ac_status); } && {
50371 test -z "$ac_c_werror_flag" ||
50372 test ! -s conftest.err
50373 } && test -s conftest.
$ac_objext; then
50375 { echo "$as_me:$LINENO: result: yes" >&5
50376 echo "${ECHO_T}yes" >&6; }
50380 echo "$as_me: failed program was:" >&5
50381 sed 's/^/| /' conftest.
$ac_ext >&5
50384 cat >conftest.
$ac_ext <<_ACEOF
50387 cat confdefs.h
>>conftest.
$ac_ext
50388 cat >>conftest.
$ac_ext <<_ACEOF
50389 /* end confdefs.h. */
50395 #if !defined(__INTEL_COMPILER) || \
50396 (__INTEL_COMPILER < 800)
50397 There is no PCH support
50404 rm -f conftest.
$ac_objext
50405 if { (ac_try
="$ac_compile"
50406 case "(($ac_try" in
50407 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
50408 *) ac_try_echo=$ac_try;;
50410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50411 (eval "$ac_compile") 2>conftest.er1
50413 grep -v '^ *+' conftest.er1 >conftest.err
50415 cat conftest.err >&5
50416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50417 (exit $ac_status); } && {
50418 test -z "$ac_c_werror_flag" ||
50419 test ! -s conftest.err
50420 } && test -s conftest.$ac_objext; then
50422 { echo "$as_me:$LINENO: result: yes" >&5
50423 echo "${ECHO_T}yes" >&6; }
50427 echo "$as_me: failed program was:" >&5
50428 sed 's/^/| /' conftest.$ac_ext >&5
50431 { echo "$as_me:$LINENO: result: no" >&5
50432 echo "${ECHO_T}no" >&6; }
50436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50441 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
50445 cat <<EOF >bk-make-pch
50448 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
50449 # script. It is used to generated precompiled headers.
50451 # Permission is given to use this file in any way.
50461 while test ${D}{#} -gt 0; do
50465 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\
`
50466 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
50467 headerfile="${D}{incdir}/${D}{header}"
50470 -use-pch|-use_pch )
50475 if test ${D}add_to_cmdline = 1 ; then
50476 compiler="${D}{compiler} ${D}{1}"
50481 if test "x${D}{headerfile}" = "x" ; then
50482 echo "error: can't find header ${D}{header} in include paths" >&2
50484 if test -f ${D}{outfile} ; then
50485 rm -f ${D}{outfile}
50487 mkdir -p \`dirname ${D}{outfile
}\
`
50489 depsfile=".deps/\`echo ${D}{outfile
} | tr '/.' '__'\
`.d"
50491 if test "x${GCC_PCH}" = "x1" ; then
50492 # can do this because gcc is >= 3.4:
50493 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
50494 elif test "x${ICC_PCH}" = "x1" ; then
50495 filename=pch_gen-${D}${D}
50496 file=${D}{filename}.c
50497 dfile=${D}{filename}.d
50498 cat > ${D}file <<EOT
50499 #include "${D}header"
50501 # using -MF icc complains about differing command lines in creation/use
50502 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
50503 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
50504 rm -f ${D}file ${D}dfile ${D}{filename}.o
50510 chmod +x bk-make-pch
50511 BK_MAKE_PCH="`pwd`/bk-make-pch"
50520 COND_BUILD_DEBUG="#"
50521 if test "x$BUILD" = "xdebug" ; then
50522 COND_BUILD_DEBUG=""
50525 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
50526 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
50527 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
50530 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
50531 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
50532 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
50535 COND_BUILD_DEBUG_UNICODE_0="#"
50536 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
50537 COND_BUILD_DEBUG_UNICODE_0=""
50540 COND_BUILD_DEBUG_UNICODE_1="#"
50541 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
50542 COND_BUILD_DEBUG_UNICODE_1=""
50545 COND_BUILD_RELEASE="#"
50546 if test "x$BUILD" = "xrelease" ; then
50547 COND_BUILD_RELEASE=""
50550 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
50551 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
50552 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
50555 COND_BUILD_RELEASE_UNICODE_0="#"
50556 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
50557 COND_BUILD_RELEASE_UNICODE_0=""
50560 COND_BUILD_RELEASE_UNICODE_1="#"
50561 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
50562 COND_BUILD_RELEASE_UNICODE_1=""
50565 COND_DEBUG_FLAG_1="#"
50566 if test "x$DEBUG_FLAG" = "x1" ; then
50567 COND_DEBUG_FLAG_1=""
50570 COND_DEBUG_INFO_0="#"
50571 if test "x$DEBUG_INFO" = "x0" ; then
50572 COND_DEBUG_INFO_0=""
50575 COND_DEBUG_INFO_1="#"
50576 if test "x$DEBUG_INFO" = "x1" ; then
50577 COND_DEBUG_INFO_1=""
50580 COND_DEPS_TRACKING_0="#"
50581 if test "x$DEPS_TRACKING" = "x0" ; then
50582 COND_DEPS_TRACKING_0=""
50585 COND_DEPS_TRACKING_1="#"
50586 if test "x$DEPS_TRACKING" = "x1" ; then
50587 COND_DEPS_TRACKING_1=""
50591 if test "x$GCC_PCH" = "x1" ; then
50596 if test "x$ICC_PCH" = "x1" ; then
50600 COND_MONOLITHIC_0="#"
50601 if test "x$MONOLITHIC" = "x0" ; then
50602 COND_MONOLITHIC_0=""
50605 COND_MONOLITHIC_0_SHARED_0="#"
50606 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
50607 COND_MONOLITHIC_0_SHARED_0=""
50610 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
50611 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
50612 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
50615 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
50616 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
50617 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
50620 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
50621 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
50622 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
50625 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
50626 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50627 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
50630 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
50631 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
50632 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
50635 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
50636 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
50637 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
50640 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
50641 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
50642 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
50645 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
50646 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
50647 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
50650 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
50651 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
50652 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
50655 COND_MONOLITHIC_0_SHARED_1="#"
50656 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
50657 COND_MONOLITHIC_0_SHARED_1=""
50660 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
50661 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
50662 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
50665 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
50666 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
50667 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
50670 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
50671 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
50672 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
50675 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
50676 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50677 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
50680 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
50681 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
50682 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
50685 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
50686 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
50687 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
50690 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
50691 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
50692 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
50695 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
50696 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
50697 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
50700 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
50701 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
50702 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
50705 COND_MONOLITHIC_0_USE_MEDIA_1="#"
50706 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
50707 COND_MONOLITHIC_0_USE_MEDIA_1=""
50710 COND_MONOLITHIC_0_USE_ODBC_1="#"
50711 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
50712 COND_MONOLITHIC_0_USE_ODBC_1=""
50715 COND_MONOLITHIC_1="#"
50716 if test "x$MONOLITHIC" = "x1" ; then
50717 COND_MONOLITHIC_1=""
50720 COND_MONOLITHIC_1_SHARED_0="#"
50721 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
50722 COND_MONOLITHIC_1_SHARED_0=""
50725 COND_MONOLITHIC_1_SHARED_1="#"
50726 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
50727 COND_MONOLITHIC_1_SHARED_1=""
50730 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
50731 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
50732 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
50735 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
50736 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
50737 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
50740 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
50741 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50742 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
50745 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
50746 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50747 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
50750 COND_PLATFORM_MACOSX_1="#"
50751 if test "x$PLATFORM_MACOSX" = "x1" ; then
50752 COND_PLATFORM_MACOSX_1=""
50755 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
50756 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
50757 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
50760 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
50761 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
50762 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
50765 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
50766 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
50767 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
50770 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
50771 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
50772 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
50775 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
50776 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
50777 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
50780 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
50781 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
50782 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
50785 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
50786 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
50787 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
50790 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
50791 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
50792 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
50795 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
50796 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50797 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
50800 COND_PLATFORM_MACOS_1="#"
50801 if test "x$PLATFORM_MACOS" = "x1" ; then
50802 COND_PLATFORM_MACOS_1=""
50805 COND_PLATFORM_MAC_1="#"
50806 if test "x$PLATFORM_MAC" = "x1" ; then
50807 COND_PLATFORM_MAC_1=""
50810 COND_PLATFORM_MSDOS_0="#"
50811 if test "x$PLATFORM_MSDOS" = "x0" ; then
50812 COND_PLATFORM_MSDOS_0=""
50815 COND_PLATFORM_MSDOS_1="#"
50816 if test "x$PLATFORM_MSDOS" = "x1" ; then
50817 COND_PLATFORM_MSDOS_1=""
50820 COND_PLATFORM_OS2_1="#"
50821 if test "x$PLATFORM_OS2" = "x1" ; then
50822 COND_PLATFORM_OS2_1=""
50825 COND_PLATFORM_UNIX_0="#"
50826 if test "x$PLATFORM_UNIX" = "x0" ; then
50827 COND_PLATFORM_UNIX_0=""
50830 COND_PLATFORM_UNIX_1="#"
50831 if test "x$PLATFORM_UNIX" = "x1" ; then
50832 COND_PLATFORM_UNIX_1=""
50835 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
50836 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
50837 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
50840 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
50841 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50842 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
50845 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
50846 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
50847 COND_PLATFORM_UNIX_1_USE_GUI_1=""
50850 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
50851 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
50852 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
50855 COND_PLATFORM_WIN32_0="#"
50856 if test "x$PLATFORM_WIN32" = "x0" ; then
50857 COND_PLATFORM_WIN32_0=""
50860 COND_PLATFORM_WIN32_1="#"
50861 if test "x$PLATFORM_WIN32" = "x1" ; then
50862 COND_PLATFORM_WIN32_1=""
50866 if test "x$SHARED" = "x0" ; then
50870 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
50871 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
50872 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
50875 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
50876 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50877 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
50880 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
50881 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
50882 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
50885 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
50886 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50887 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
50890 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
50891 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50892 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
50895 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
50896 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50897 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
50900 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
50901 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50902 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
50905 COND_SHARED_0_USE_XRC_1="#"
50906 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
50907 COND_SHARED_0_USE_XRC_1=""
50910 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
50911 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
50912 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
50915 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
50916 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
50917 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
50920 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
50921 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
50922 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
50925 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
50926 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
50927 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
50931 if test "x$SHARED" = "x1" ; then
50935 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
50936 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50937 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
50940 COND_SHARED_1_USE_XRC_1="#"
50941 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
50942 COND_SHARED_1_USE_XRC_1=""
50946 if test "x$TOOLKIT" = "x" ; then
50950 COND_TOOLKIT_COCOA="#"
50951 if test "x$TOOLKIT" = "xCOCOA" ; then
50952 COND_TOOLKIT_COCOA=""
50955 COND_TOOLKIT_COCOA_USE_GUI_1="#"
50956 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
50957 COND_TOOLKIT_COCOA_USE_GUI_1=""
50960 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
50961 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50962 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
50965 COND_TOOLKIT_DFB="#"
50966 if test "x$TOOLKIT" = "xDFB" ; then
50967 COND_TOOLKIT_DFB=""
50970 COND_TOOLKIT_DFB_USE_GUI_1="#"
50971 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
50972 COND_TOOLKIT_DFB_USE_GUI_1=""
50975 COND_TOOLKIT_GTK="#"
50976 if test "x$TOOLKIT" = "xGTK" ; then
50977 COND_TOOLKIT_GTK=""
50980 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
50981 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
50982 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
50985 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
50986 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
50987 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
50990 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
50991 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
50992 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
50995 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
50996 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50997 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
51000 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
51001 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
51002 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
51005 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
51006 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51007 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
51010 COND_TOOLKIT_GTK_USE_GUI_1="#"
51011 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
51012 COND_TOOLKIT_GTK_USE_GUI_1=""
51015 COND_TOOLKIT_MAC="#"
51016 if test "x$TOOLKIT" = "xMAC" ; then
51017 COND_TOOLKIT_MAC=""
51020 COND_TOOLKIT_MAC_USE_GUI_1="#"
51021 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
51022 COND_TOOLKIT_MAC_USE_GUI_1=""
51025 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
51026 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51027 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
51030 COND_TOOLKIT_MGL="#"
51031 if test "x$TOOLKIT" = "xMGL" ; then
51032 COND_TOOLKIT_MGL=""
51035 COND_TOOLKIT_MGL_USE_GUI_1="#"
51036 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51037 COND_TOOLKIT_MGL_USE_GUI_1=""
51040 COND_TOOLKIT_MOTIF="#"
51041 if test "x$TOOLKIT" = "xMOTIF" ; then
51042 COND_TOOLKIT_MOTIF=""
51045 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
51046 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
51047 COND_TOOLKIT_MOTIF_USE_GUI_1=""
51050 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
51051 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51052 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
51055 COND_TOOLKIT_MSW="#"
51056 if test "x$TOOLKIT" = "xMSW" ; then
51057 COND_TOOLKIT_MSW=""
51060 COND_TOOLKIT_MSW_USE_GUI_1="#"
51061 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
51062 COND_TOOLKIT_MSW_USE_GUI_1=""
51065 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
51066 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51067 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
51070 COND_TOOLKIT_MSW_WXUNIV_0="#"
51071 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
51072 COND_TOOLKIT_MSW_WXUNIV_0=""
51075 COND_TOOLKIT_PM="#"
51076 if test "x$TOOLKIT" = "xPM" ; then
51080 COND_TOOLKIT_PM_USE_GUI_1="#"
51081 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
51082 COND_TOOLKIT_PM_USE_GUI_1=""
51085 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
51086 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51087 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
51090 COND_TOOLKIT_WINCE="#"
51091 if test "x$TOOLKIT" = "xWINCE" ; then
51092 COND_TOOLKIT_WINCE=""
51095 COND_TOOLKIT_WINCE_USE_GUI_1="#"
51096 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
51097 COND_TOOLKIT_WINCE_USE_GUI_1=""
51100 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
51101 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51102 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
51105 COND_TOOLKIT_WINCE_WXUNIV_0="#"
51106 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
51107 COND_TOOLKIT_WINCE_WXUNIV_0=""
51110 COND_TOOLKIT_X11="#"
51111 if test "x$TOOLKIT" = "xX11" ; then
51112 COND_TOOLKIT_X11=""
51115 COND_TOOLKIT_X11_USE_GUI_1="#"
51116 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
51117 COND_TOOLKIT_X11_USE_GUI_1=""
51121 if test "x$UNICODE" = "x1" ; then
51125 COND_USE_EXCEPTIONS_0="#"
51126 if test "x$USE_EXCEPTIONS" = "x0" ; then
51127 COND_USE_EXCEPTIONS_0=""
51130 COND_USE_EXCEPTIONS_1="#"
51131 if test "x$USE_EXCEPTIONS" = "x1" ; then
51132 COND_USE_EXCEPTIONS_1=""
51136 if test "x$USE_GUI" = "x0" ; then
51141 if test "x$USE_GUI" = "x1" ; then
51145 COND_USE_GUI_1_WXUNIV_0="#"
51146 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51147 COND_USE_GUI_1_WXUNIV_0=""
51150 COND_USE_GUI_1_WXUNIV_1="#"
51151 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
51152 COND_USE_GUI_1_WXUNIV_1=""
51155 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
51156 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51157 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
51160 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
51161 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51162 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
51165 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
51166 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51167 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
51170 COND_USE_ODBC_1="#"
51171 if test "x$USE_ODBC" = "x1" ; then
51175 COND_USE_OPENGL_1="#"
51176 if test "x$USE_OPENGL" = "x1" ; then
51177 COND_USE_OPENGL_1=""
51181 if test "x$USE_PCH" = "x1" ; then
51185 COND_USE_PLUGINS_0="#"
51186 if test "x$USE_PLUGINS" = "x0" ; then
51187 COND_USE_PLUGINS_0=""
51190 COND_USE_RTTI_0="#"
51191 if test "x$USE_RTTI" = "x0" ; then
51195 COND_USE_RTTI_1="#"
51196 if test "x$USE_RTTI" = "x1" ; then
51200 COND_USE_SOSYMLINKS_1="#"
51201 if test "x$USE_SOSYMLINKS" = "x1" ; then
51202 COND_USE_SOSYMLINKS_1=""
51205 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
51206 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51207 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
51210 COND_USE_SOVERLINUX_1="#"
51211 if test "x$USE_SOVERLINUX" = "x1" ; then
51212 COND_USE_SOVERLINUX_1=""
51215 COND_USE_SOVERSION_0="#"
51216 if test "x$USE_SOVERSION" = "x0" ; then
51217 COND_USE_SOVERSION_0=""
51220 COND_USE_SOVERSOLARIS_1="#"
51221 if test "x$USE_SOVERSOLARIS" = "x1" ; then
51222 COND_USE_SOVERSOLARIS_1=""
51225 COND_USE_THREADS_0="#"
51226 if test "x$USE_THREADS" = "x0" ; then
51227 COND_USE_THREADS_0=""
51230 COND_USE_THREADS_1="#"
51231 if test "x$USE_THREADS" = "x1" ; then
51232 COND_USE_THREADS_1=""
51236 if test "x$USE_XRC" = "x1" ; then
51240 COND_WINDOWS_IMPLIB_1="#"
51241 if test "x$WINDOWS_IMPLIB" = "x1" ; then
51242 COND_WINDOWS_IMPLIB_1=""
51245 COND_WITH_PLUGIN_SDL_1="#"
51246 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
51247 COND_WITH_PLUGIN_SDL_1=""
51251 if test "x$WXUNIV" = "x0" ; then
51256 if test "x$WXUNIV" = "x1" ; then
51260 COND_WXUSE_EXPAT_BUILTIN="#"
51261 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
51262 COND_WXUSE_EXPAT_BUILTIN=""
51265 COND_WXUSE_LIBJPEG_BUILTIN="#"
51266 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51267 COND_WXUSE_LIBJPEG_BUILTIN=""
51270 COND_WXUSE_LIBPNG_BUILTIN="#"
51271 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51272 COND_WXUSE_LIBPNG_BUILTIN=""
51275 COND_WXUSE_LIBTIFF_BUILTIN="#"
51276 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51277 COND_WXUSE_LIBTIFF_BUILTIN=""
51280 COND_WXUSE_ODBC_BUILTIN="#"
51281 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
51282 COND_WXUSE_ODBC_BUILTIN=""
51285 COND_WXUSE_REGEX_BUILTIN="#"
51286 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
51287 COND_WXUSE_REGEX_BUILTIN=""
51290 COND_WXUSE_ZLIB_BUILTIN="#"
51291 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
51292 COND_WXUSE_ZLIB_BUILTIN=""
51297 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
51298 { { 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
51299 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;}
51300 { (exit 1); exit 1; }; }
51303 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
51304 { { 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
51305 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;}
51306 { (exit 1); exit 1; }; }
51310 if test $GCC_PCH = 1
51312 if test "$wx_cv_gcc_pch_bug" = yes; then
51313 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
51314 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
51315 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
51316 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
51317 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
51318 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
51321 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
51325 if test "$wxUSE_MAC" = 1 ; then
51326 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
51327 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
51333 if test "$wxUSE_SHARED" = "yes"; then
51335 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
51336 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
51339 *-pc-os2_emx | *-pc-os2-emx )
51340 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
51341 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
51342 cp -p ${srcdir}/src/os2/dllnames.sh .
51343 cp -p ${srcdir}/src/os2/dllar.sh .
51348 EXE_LINKER="$CXX -o"
51351 if test "$wxUSE_OMF" = "yes"; then
51353 *-pc-os2_emx | *-pc-os2-emx )
51354 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
51355 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
51356 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
51361 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
51363 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
51425 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
51426 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
51427 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
51428 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
51429 echo $ECHO_N "(cached) $ECHO_C" >&6
51431 cat >conftest.make <<\_ACEOF
51434 @echo '@@@%%%=$(MAKE)=@@@%%%'
51436 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
51437 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
51438 *@@@%%%=?*=@@@%%%*)
51439 eval ac_cv_prog_make_${ac_make}_set=yes;;
51441 eval ac_cv_prog_make_${ac_make}_set=no;;
51443 rm -f conftest.make
51445 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
51446 { echo "$as_me:$LINENO: result: yes" >&5
51447 echo "${ECHO_T}yes" >&6; }
51450 { echo "$as_me:$LINENO: result: no" >&5
51451 echo "${ECHO_T}no" >&6; }
51452 SET_MAKE="MAKE=${MAKE-make}"
51457 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
51460 if test "$USE_WIN32" = 1; then
51461 ac_config_commands="$ac_config_commands
51467 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
51470 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
51473 if test "$wx_cv_version_script" = "yes"; then
51474 ac_config_files="$ac_config_files version-script"
51477 ac_config_files="$ac_config_files Makefile"
51480 ac_config_commands="$ac_config_commands wx-config"
51484 if test "$wxWITH_SUBDIRS" != "no"; then
51485 if test "$wxUSE_GUI" = "yes"; then
51486 SUBDIRS="samples demos utils contrib"
51487 else SUBDIRS="samples utils"
51492 # Check whether --with-cppunit-prefix was given.
51493 if test "${with_cppunit_prefix+set}" = set; then
51494 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
51496 cppunit_config_prefix=""
51500 # Check whether --with-cppunit-exec-prefix was given.
51501 if test "${with_cppunit_exec_prefix+set}" = set; then
51502 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
51504 cppunit_config_exec_prefix=""
51508 if test x$cppunit_config_exec_prefix != x ; then
51509 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
51510 if test x${CPPUNIT_CONFIG+set} != xset ; then
51511 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
51514 if test x$cppunit_config_prefix != x ; then
51515 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
51516 if test x${CPPUNIT_CONFIG+set} != xset ; then
51517 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
51521 # Extract the first word of "cppunit-config", so it can be a program name with args.
51522 set dummy cppunit-config; ac_word=$2
51523 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51524 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51525 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
51526 echo $ECHO_N "(cached) $ECHO_C" >&6
51528 case $CPPUNIT_CONFIG in
51530 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
51533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51534 for as_dir in $PATH
51537 test -z "$as_dir" && as_dir=.
51538 for ac_exec_ext in '' $ac_executable_extensions; do
51539 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51540 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
51541 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51548 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
51552 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
51553 if test -n "$CPPUNIT_CONFIG"; then
51554 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
51555 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
51557 { echo "$as_me:$LINENO: result: no" >&5
51558 echo "${ECHO_T}no" >&6; }
51562 cppunit_version_min=1.8.0
51564 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
51565 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
51567 if test "$CPPUNIT_CONFIG" = "no" ; then
51568 { echo "$as_me:$LINENO: result: no" >&5
51569 echo "${ECHO_T}no" >&6; }
51572 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
51573 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
51574 cppunit_version=`$CPPUNIT_CONFIG --version`
51576 cppunit_major_version=`echo $cppunit_version | \
51577 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51578 cppunit_minor_version=`echo $cppunit_version | \
51579 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51580 cppunit_micro_version=`echo $cppunit_version | \
51581 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51583 cppunit_major_min=`echo $cppunit_version_min | \
51584 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51585 cppunit_minor_min=`echo $cppunit_version_min | \
51586 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51587 cppunit_micro_min=`echo $cppunit_version_min | \
51588 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51590 cppunit_version_proper=`expr \
51591 $cppunit_major_version \
> $cppunit_major_min \
| \
51592 $cppunit_major_version \
= $cppunit_major_min \
& \
51593 $cppunit_minor_version \
> $cppunit_minor_min \
| \
51594 $cppunit_major_version \
= $cppunit_major_min \
& \
51595 $cppunit_minor_version \
= $cppunit_minor_min \
& \
51596 $cppunit_micro_version \
>= $cppunit_micro_min `
51598 if test "$cppunit_version_proper" = "1" ; then
51599 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
51600 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
51602 { echo "$as_me:$LINENO: result: no" >&5
51603 echo "${ECHO_T}no" >&6; }
51608 if test "x$no_cppunit" = x ; then
51609 SUBDIRS="$SUBDIRS tests"
51620 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
51621 DISABLED_CONTRIB="$DISABLED_CONTRIB net"
51624 for subdir in `echo $SUBDIRS`; do
51625 if test -d ${srcdir}/${subdir} ; then
51626 if test "$wxUSE_GUI" = "yes"; then
51627 if test ${subdir} = "samples"; then
51628 makefiles="samples/Makefile.in $makefiles"
51629 for sample in `echo $SAMPLES_SUBDIRS`; do
51630 if test -d $srcdir/samples/$sample; then
51631 makefiles="samples/$sample/Makefile.in $makefiles"
51635 disabled_var=DISABLED_`echo $subdir | tr [a
-z] [A
-Z]`;
51636 eval "disabled=\$$disabled_var"
51637 disabled=/`echo X
$disabled | sed 's@ @/|/@g'`/
51638 makefiles=`(cd $srcdir ; find $subdir -name Makefile.
in) | $EGREP -v "$disabled"`
51640 else if test ${subdir} = "samples"; then
51641 makefiles="samples/Makefile.in samples/console/Makefile.in"
51642 elif test ${subdir} = "utils"; then
51644 for util in HelpGen tex2rtf ; do
51645 if test -d $srcdir/utils/$util ; then
51646 makefiles="utils/$util/Makefile.in \
51647 utils/$util/src/Makefile.in \
51651 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.
in)`
51655 for mkin in $makefiles ; do
51656 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
51657 ac_config_files="$ac_config_files $mk"
51663 cat >confcache <<\_ACEOF
51664 # This file is a shell script that caches the results of configure
51665 # tests run on this system so they can be shared between configure
51666 # scripts and configure runs, see configure's option --config-cache.
51667 # It is not useful on other systems. If it contains results you don't
51668 # want to keep, you may remove or edit it.
51670 # config.status only pays attention to the cache file if you give it
51671 # the --recheck option to rerun configure.
51673 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
51674 # loading this file, other *unset* `ac_cv_foo' will be assigned the
51675 # following values.
51679 # The following way of writing the cache mishandles newlines in values,
51680 # but we know of no workaround that is simple, portable, and efficient.
51681 # So, we kill variables containing newlines.
51682 # Ultrix sh set writes to stderr and can't be redirected directly,
51683 # and sets the high bit in the cache file unless we assign to the vars.
51685 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
51686 eval ac_val
=\$
$ac_var
51690 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
51691 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
51694 _
| IFS
| as_nl
) ;; #(
51695 *) $as_unset $ac_var ;;
51701 case $as_nl`(ac_space=' '; set) 2>&1` in #(
51702 *${as_nl}ac_space
=\
*)
51703 # `set' does not quote correctly, so add quotes (double-quote
51704 # substitution turns \\\\ into \\, and sed turns \\ into \).
51707 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
51710 # `set' quotes correctly as required by POSIX, so do not add quotes.
51711 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
51720 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
51722 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
51724 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
51725 if test -w "$cache_file"; then
51726 test "x$cache_file" != "x/dev/null" &&
51727 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
51728 echo "$as_me: updating cache $cache_file" >&6;}
51729 cat confcache
>$cache_file
51731 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
51732 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
51737 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
51738 # Let make expand exec_prefix.
51739 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
51741 DEFS
=-DHAVE_CONFIG_H
51745 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
51746 # 1. Remove the extension, and $U if already installed.
51747 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
51748 ac_i
=`echo "$ac_i" | sed "$ac_script"`
51749 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
51750 # will be set to the directory where LIBOBJS objects are built.
51751 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
51752 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
51754 LIBOBJS
=$ac_libobjs
51756 LTLIBOBJS
=$ac_ltlibobjs
51760 : ${CONFIG_STATUS=./config.status}
51761 ac_clean_files_save
=$ac_clean_files
51762 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
51763 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
51764 echo "$as_me: creating $CONFIG_STATUS" >&6;}
51765 cat >$CONFIG_STATUS <<_ACEOF
51767 # Generated by $as_me.
51768 # Run this file to recreate the current configuration.
51769 # Compiler output produced by configure, useful for debugging
51770 # configure, is in config.log if it exists.
51773 ac_cs_recheck=false
51775 SHELL=\${CONFIG_SHELL-$SHELL}
51778 cat >>$CONFIG_STATUS <<\_ACEOF
51779 ## --------------------- ##
51780 ## M4sh Initialization. ##
51781 ## --------------------- ##
51783 # Be more Bourne compatible
51784 DUALCASE
=1; export DUALCASE
# for MKS sh
51785 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
51788 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
51789 # is contrary to our usage. Disable this feature.
51790 alias -g '${1+"$@"}'='"$@"'
51791 setopt NO_GLOB_SUBST
51793 case `(set -o) 2>/dev/null` in
51794 *posix
*) set -o posix
;;
51803 # Avoid depending upon Character Ranges.
51804 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
51805 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
51806 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
51807 as_cr_digits
='0123456789'
51808 as_cr_alnum
=$as_cr_Letters$as_cr_digits
51810 # The user is always right.
51811 if test "${PATH_SEPARATOR+set}" != set; then
51812 echo "#! /bin/sh" >conf$$.sh
51813 echo "exit 0" >>conf$$.sh
51815 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
51823 # Support unset when possible.
51824 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
51832 # We need space, tab and new line, in precisely that order. Quoting is
51833 # there to prevent editors from complaining about space-tab.
51834 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
51835 # splitting by setting IFS to empty value.)
51840 # Find who we are. Look in the path if we contain no directory separator.
51842 *[\\/]* ) as_myself
=$0 ;;
51843 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
51844 for as_dir
in $PATH
51847 test -z "$as_dir" && as_dir
=.
51848 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
51854 # We did not find ourselves, most probably we were run as `sh COMMAND'
51855 # in which case we are not to be found in the path.
51856 if test "x$as_myself" = x
; then
51859 if test ! -f "$as_myself"; then
51860 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
51861 { (exit 1); exit 1; }
51864 # Work around bugs in pre-3.0 UWIN ksh.
51865 for as_var
in ENV MAIL MAILPATH
51866 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
51874 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
51875 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
51876 LC_TELEPHONE LC_TIME
51878 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
51879 eval $as_var=C
; export $as_var
51881 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
51885 # Required to use basename.
51886 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
51887 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
51893 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
51894 as_basename
=basename
51900 # Name of the executable.
51901 as_me
=`$as_basename -- "$0" ||
51902 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
51903 X"$0" : 'X\(//\)$' \| \
51904 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
51906 sed '/^.*\/\([^/][^/]*\)\/*$/{
51925 as_lineno_1
=$LINENO
51926 as_lineno_2
=$LINENO
51927 test "x$as_lineno_1" != "x$as_lineno_2" &&
51928 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
51930 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
51931 # uniformly replaced by the line number. The first 'sed' inserts a
51932 # line-number line after each line using $LINENO; the second 'sed'
51933 # does the real work. The second script uses 'N' to pair each
51934 # line-number line with the line containing $LINENO, and appends
51935 # trailing '-' during substitution so that $LINENO is not a special
51936 # case at line end.
51937 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
51938 # scripts with optimization help from Paolo Bonzini. Blame Lee
51939 # E. McMahon (1931-1989) for sed's syntax. :-)
51951 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
51954 ' >$as_me.lineno
&&
51955 chmod +x
"$as_me.lineno" ||
51956 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
51957 { (exit 1); exit 1; }; }
51959 # Don't try to exec as it changes $[0], causing all sort of problems
51960 # (the dirname of $[0] is not the place where we might find the
51961 # original and so on. Autoconf is especially sensitive to this).
51962 .
"./$as_me.lineno"
51963 # Exit status is that of the last command.
51968 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
51974 ECHO_C
= ECHO_N
= ECHO_T
=
51975 case `echo -n x` in
51977 case `echo 'x\c'` in
51978 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
51985 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
51986 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
51992 rm -f conf$$ conf$$.exe conf$$.
file
51993 if test -d conf$$.dir
; then
51994 rm -f conf$$.dir
/conf$$.
file
52000 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
52002 # ... but there are two gotchas:
52003 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
52004 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
52005 # In both cases, we have to default to `cp -p'.
52006 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
52008 elif ln conf$$.
file conf$$
2>/dev
/null
; then
52013 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
52014 rmdir conf$$.dir
2>/dev
/null
52016 if mkdir -p .
2>/dev
/null
; then
52019 test -d .
/-p && rmdir .
/-p
52023 if test -x / >/dev
/null
2>&1; then
52024 as_test_x
='test -x'
52026 if ls -dL / >/dev
/null
2>&1; then
52033 if test -d "$1"; then
52039 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
52040 ???[sx]*):;;*)false;;esac;fi
52044 as_executable_p
=$as_test_x
52046 # Sed expression to map a string onto a valid CPP name.
52047 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
52049 # Sed expression to map a string onto a valid variable name.
52050 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
52055 # Save the log message, to keep $[0] and so on meaningful, and to
52056 # report actual input values of CONFIG_FILES etc. instead of their
52057 # values after options handling.
52059 This file was extended by wxWidgets $as_me 2.9.0, which was
52060 generated by GNU Autoconf 2.61. Invocation command line was
52062 CONFIG_FILES = $CONFIG_FILES
52063 CONFIG_HEADERS = $CONFIG_HEADERS
52064 CONFIG_LINKS = $CONFIG_LINKS
52065 CONFIG_COMMANDS = $CONFIG_COMMANDS
52068 on `(hostname || uname -n) 2>/dev/null | sed 1q`
52073 cat >>$CONFIG_STATUS <<_ACEOF
52074 # Files that config.status was made for.
52075 config_files="$ac_config_files"
52076 config_headers="$ac_config_headers"
52077 config_commands="$ac_config_commands"
52081 cat >>$CONFIG_STATUS <<\_ACEOF
52083 \`$as_me' instantiates files from templates according to the
52084 current configuration.
52086 Usage: $0 [OPTIONS] [FILE]...
52088 -h, --help print this help, then exit
52089 -V, --version print version number and configuration settings, then exit
52090 -q, --quiet do not print progress messages
52091 -d, --debug don't remove temporary files
52092 --recheck update $as_me by reconfiguring in the same conditions
52093 --file=FILE[:TEMPLATE]
52094 instantiate the configuration file FILE
52095 --header=FILE[:TEMPLATE]
52096 instantiate the configuration header FILE
52098 Configuration files:
52101 Configuration headers:
52104 Configuration commands:
52107 Report bugs to <bug-autoconf@gnu.org>."
52110 cat >>$CONFIG_STATUS <<_ACEOF
52112 wxWidgets config.status 2.9.0
52113 configured by $0, generated by GNU Autoconf 2.61,
52114 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
52116 Copyright (C) 2006 Free Software Foundation, Inc.
52117 This config.status script is free software; the Free Software Foundation
52118 gives unlimited permission to copy, distribute and modify it."
52125 cat >>$CONFIG_STATUS <<\_ACEOF
52126 # If no file are specified by the user, then we need to provide default
52127 # value. By we need to know if files were specified by the user.
52133 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
52134 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
52145 # Handling of the options.
52146 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
52148 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
52149 echo "$ac_cs_version"; exit ;;
52150 --debug | --debu | --deb | --de | --d | -d )
52152 --file | --fil | --fi | --f )
52154 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
52155 ac_need_defaults
=false
;;
52156 --header | --heade | --head | --hea )
52158 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
52159 ac_need_defaults
=false
;;
52161 # Conflict between --help and --header
52162 { echo "$as_me: error: ambiguous option: $1
52163 Try \`$0 --help' for more information." >&2
52164 { (exit 1); exit 1; }; };;
52165 --help | --hel | -h )
52166 echo "$ac_cs_usage"; exit ;;
52167 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
52168 | -silent | --silent | --silen | --sile | --sil | --si | --s)
52171 # This is an error.
52172 -*) { echo "$as_me: error: unrecognized option: $1
52173 Try \`$0 --help' for more information." >&2
52174 { (exit 1); exit 1; }; } ;;
52176 *) ac_config_targets
="$ac_config_targets $1"
52177 ac_need_defaults
=false
;;
52183 ac_configure_extra_args
=
52185 if $ac_cs_silent; then
52187 ac_configure_extra_args
="$ac_configure_extra_args --silent"
52191 cat >>$CONFIG_STATUS <<_ACEOF
52192 if \$ac_cs_recheck; then
52193 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
52194 CONFIG_SHELL=$SHELL
52195 export CONFIG_SHELL
52196 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
52200 cat >>$CONFIG_STATUS <<\_ACEOF
52204 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
52205 ## Running $as_me. ##
52211 cat >>$CONFIG_STATUS <<_ACEOF
52217 infile="$srcdir/include/wx/msw/genrcdefs.h"
52218 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
52221 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
52222 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
52223 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
52229 cat >>$CONFIG_STATUS <<\_ACEOF
52231 # Handling of arguments.
52232 for ac_config_target
in $ac_config_targets
52234 case $ac_config_target in
52235 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
52236 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
52237 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
52238 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
52239 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
52240 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
52241 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
52242 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
52244 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
52245 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
52246 { (exit 1); exit 1; }; };;
52251 # If the user did not use the arguments to specify the items to instantiate,
52252 # then the envvar interface is used. Set only those that are not.
52253 # We use the long form for the default assignment because of an extremely
52254 # bizarre bug on SunOS 4.1.3.
52255 if $ac_need_defaults; then
52256 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
52257 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
52258 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
52261 # Have a temporary directory for convenience. Make it in the build tree
52262 # simply because there is no reason against having it here, and in addition,
52263 # creating and moving files from /tmp can sometimes cause problems.
52264 # Hook for its removal unless debugging.
52265 # Note that there is a small window in which the directory will not be cleaned:
52266 # after its creation but before its name has been assigned to `$tmp'.
52270 trap 'exit_status=$?
52271 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
52273 trap '{ (exit 1); exit 1; }' 1 2 13 15
52275 # Create a (secure) tmp directory for tmp files.
52278 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
52279 test -n "$tmp" && test -d "$tmp"
52282 tmp
=.
/conf$$
-$RANDOM
52283 (umask 077 && mkdir "$tmp")
52286 echo "$me: cannot create a temporary directory in ." >&2
52287 { (exit 1); exit 1; }
52291 # Set up the sed scripts for CONFIG_FILES section.
52294 # No need to generate the scripts if there are no CONFIG_FILES.
52295 # This happens for instance when ./config.status config.h
52296 if test -n "$CONFIG_FILES"; then
52303 for ac_last_try
in false false false false false
:; do
52304 cat >conf$
$subs.
sed <<_ACEOF
52305 SHELL!$SHELL$ac_delim
52306 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
52307 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
52308 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
52309 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
52310 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
52311 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
52312 exec_prefix!$exec_prefix$ac_delim
52313 prefix!$prefix$ac_delim
52314 program_transform_name!$program_transform_name$ac_delim
52315 bindir!$bindir$ac_delim
52316 sbindir!$sbindir$ac_delim
52317 libexecdir!$libexecdir$ac_delim
52318 datarootdir!$datarootdir$ac_delim
52319 datadir!$datadir$ac_delim
52320 sysconfdir!$sysconfdir$ac_delim
52321 sharedstatedir!$sharedstatedir$ac_delim
52322 localstatedir!$localstatedir$ac_delim
52323 includedir!$includedir$ac_delim
52324 oldincludedir!$oldincludedir$ac_delim
52325 docdir!$docdir$ac_delim
52326 infodir!$infodir$ac_delim
52327 htmldir!$htmldir$ac_delim
52328 dvidir!$dvidir$ac_delim
52329 pdfdir!$pdfdir$ac_delim
52330 psdir!$psdir$ac_delim
52331 libdir!$libdir$ac_delim
52332 localedir!$localedir$ac_delim
52333 mandir!$mandir$ac_delim
52334 DEFS!$DEFS$ac_delim
52335 ECHO_C!$ECHO_C$ac_delim
52336 ECHO_N!$ECHO_N$ac_delim
52337 ECHO_T!$ECHO_T$ac_delim
52338 LIBS!$LIBS$ac_delim
52339 build_alias!$build_alias$ac_delim
52340 host_alias!$host_alias$ac_delim
52341 target_alias!$target_alias$ac_delim
52342 build!$build$ac_delim
52343 build_cpu!$build_cpu$ac_delim
52344 build_vendor!$build_vendor$ac_delim
52345 build_os!$build_os$ac_delim
52346 host!$host$ac_delim
52347 host_cpu!$host_cpu$ac_delim
52348 host_vendor!$host_vendor$ac_delim
52349 host_os!$host_os$ac_delim
52350 target!$target$ac_delim
52351 target_cpu!$target_cpu$ac_delim
52352 target_vendor!$target_vendor$ac_delim
52353 target_os!$target_os$ac_delim
52354 wx_top_builddir!$wx_top_builddir$ac_delim
52356 CFLAGS!$CFLAGS$ac_delim
52357 LDFLAGS!$LDFLAGS$ac_delim
52358 CPPFLAGS!$CPPFLAGS$ac_delim
52359 ac_ct_CC!$ac_ct_CC$ac_delim
52360 EXEEXT!$EXEEXT$ac_delim
52361 OBJEXT!$OBJEXT$ac_delim
52363 GREP!$GREP$ac_delim
52364 EGREP!$EGREP$ac_delim
52366 CXXFLAGS!$CXXFLAGS$ac_delim
52367 ac_ct_CXX!$ac_ct_CXX$ac_delim
52368 RANLIB!$RANLIB$ac_delim
52370 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
52371 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
52372 INSTALL_DATA!$INSTALL_DATA$ac_delim
52373 STRIP!$STRIP$ac_delim
52374 WINDRES!$WINDRES$ac_delim
52375 DLLTOOL!$DLLTOOL$ac_delim
52376 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
52377 LN_S!$LN_S$ac_delim
52378 CXXCPP!$CXXCPP$ac_delim
52379 subdirs!$subdirs$ac_delim
52380 PKG_CONFIG!$PKG_CONFIG$ac_delim
52381 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
52382 GTK_LIBS!$GTK_LIBS$ac_delim
52383 GTK_CONFIG!$GTK_CONFIG$ac_delim
52384 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
52385 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
52386 XMKMF!$XMKMF$ac_delim
52387 X_CFLAGS!$X_CFLAGS$ac_delim
52388 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
52389 X_LIBS!$X_LIBS$ac_delim
52390 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
52391 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
52392 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
52393 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
52394 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
52395 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
52396 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
52398 DEREZ!$DEREZ$ac_delim
52399 SETFILE!$SETFILE$ac_delim
52400 LIBICONV!$LIBICONV$ac_delim
52401 EXTRALIBS_ESD!$EXTRALIBS_ESD$ac_delim
52404 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52406 elif $ac_last_try; then
52407 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52408 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52409 { (exit 1); exit 1; }; }
52411 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52415 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52416 if test -n "$ac_eof"; then
52417 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52418 ac_eof
=`expr $ac_eof + 1`
52421 cat >>$CONFIG_STATUS <<_ACEOF
52422 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
52423 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52426 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52427 s/^/s,@/; s/!/@,|#_!!_#|/
52430 s/'"$ac_delim"'$/,g/; t
52432 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52433 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52434 rm -f conf$
$subs.
sed
52435 cat >>$CONFIG_STATUS <<_ACEOF
52441 for ac_last_try
in false false false false false
:; do
52442 cat >conf$
$subs.
sed <<_ACEOF
52443 SDL_CONFIG!$SDL_CONFIG$ac_delim
52444 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
52445 SDL_LIBS!$SDL_LIBS$ac_delim
52446 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
52447 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
52448 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
52449 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
52450 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
52451 HILDON_LIBS!$HILDON_LIBS$ac_delim
52452 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
52453 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
52454 GST_CFLAGS!$GST_CFLAGS$ac_delim
52455 GST_LIBS!$GST_LIBS$ac_delim
52456 CORE_BASE_LIBS!$CORE_BASE_LIBS$ac_delim
52457 CORE_GUI_LIBS!$CORE_GUI_LIBS$ac_delim
52458 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
52459 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
52460 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
52461 wxUSE_ODBC!$wxUSE_ODBC$ac_delim
52462 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
52463 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
52464 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
52465 VENDOR!$VENDOR$ac_delim
52466 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
52467 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
52468 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
52469 WXUNIV!$WXUNIV$ac_delim
52470 MONOLITHIC!$MONOLITHIC$ac_delim
52471 USE_PLUGINS!$USE_PLUGINS$ac_delim
52472 EXTRALIBS!$EXTRALIBS$ac_delim
52473 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
52474 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
52475 EXTRALIBS_ODBC!$EXTRALIBS_ODBC$ac_delim
52476 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
52477 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
52478 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
52479 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
52480 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
52481 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
52482 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
52483 UNICODE!$UNICODE$ac_delim
52484 BUILD!$BUILD$ac_delim
52485 DEBUG_INFO!$DEBUG_INFO$ac_delim
52486 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
52487 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
52488 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
52489 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
52490 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
52491 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
52492 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
52493 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
52494 SET_MAKE!$SET_MAKE$ac_delim
52495 MAKE_SET!$MAKE_SET$ac_delim
52496 AROPTIONS!$AROPTIONS$ac_delim
52498 INSTALL_DIR!$INSTALL_DIR$ac_delim
52499 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
52500 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
52501 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
52502 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
52503 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
52504 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
52505 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
52506 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
52507 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
52508 SO_SUFFIX!$SO_SUFFIX$ac_delim
52509 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
52510 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
52511 LIBPREFIX!$LIBPREFIX$ac_delim
52512 LIBEXT!$LIBEXT$ac_delim
52513 DLLPREFIX!$DLLPREFIX$ac_delim
52514 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
52515 dlldir!$dlldir$ac_delim
52516 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
52517 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
52518 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
52519 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
52520 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
52521 PIC_FLAG!$PIC_FLAG$ac_delim
52522 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
52523 USE_SOVERSION!$USE_SOVERSION$ac_delim
52524 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
52525 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
52526 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
52527 USE_MACVERSION!$USE_MACVERSION$ac_delim
52528 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
52529 SONAME_FLAG!$SONAME_FLAG$ac_delim
52530 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
52531 BK_DEPS!$BK_DEPS$ac_delim
52532 GCC_PCH!$GCC_PCH$ac_delim
52533 ICC_PCH!$ICC_PCH$ac_delim
52534 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
52535 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
52536 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
52537 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
52538 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
52539 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
52542 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52544 elif $ac_last_try; then
52545 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52546 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52547 { (exit 1); exit 1; }; }
52549 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52553 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52554 if test -n "$ac_eof"; then
52555 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52556 ac_eof
=`expr $ac_eof + 1`
52559 cat >>$CONFIG_STATUS <<_ACEOF
52560 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
52561 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52564 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52565 s/^/s,@/; s/!/@,|#_!!_#|/
52568 s/'"$ac_delim"'$/,g/; t
52570 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52571 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52572 rm -f conf$
$subs.
sed
52573 cat >>$CONFIG_STATUS <<_ACEOF
52579 for ac_last_try
in false false false false false
:; do
52580 cat >conf$
$subs.
sed <<_ACEOF
52581 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
52582 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
52583 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
52584 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
52585 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
52586 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
52587 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
52588 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
52589 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
52590 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
52591 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
52592 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
52593 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
52594 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
52595 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
52596 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
52597 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52598 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1$ac_delim
52599 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
52600 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1$ac_delim
52601 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
52602 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
52603 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
52604 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
52605 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
52606 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
52607 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
52608 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1$ac_delim
52609 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
52610 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1$ac_delim
52611 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
52612 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
52613 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
52614 COND_MONOLITHIC_0_USE_ODBC_1!$COND_MONOLITHIC_0_USE_ODBC_1$ac_delim
52615 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
52616 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
52617 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
52618 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
52619 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
52620 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
52621 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
52622 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
52623 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
52624 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
52625 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
52626 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
52627 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
52628 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
52629 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
52630 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
52631 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
52632 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
52633 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
52634 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
52635 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
52636 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
52637 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
52638 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
52639 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
52640 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
52641 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
52642 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
52643 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
52644 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
52645 COND_SHARED_0!$COND_SHARED_0$ac_delim
52646 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
52647 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
52648 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
52649 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
52650 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
52651 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
52652 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
52653 COND_SHARED_0_USE_XRC_1!$COND_SHARED_0_USE_XRC_1$ac_delim
52654 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
52655 COND_SHARED_0_WXUSE_ODBC_BUILTIN!$COND_SHARED_0_WXUSE_ODBC_BUILTIN$ac_delim
52656 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
52657 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
52658 COND_SHARED_1!$COND_SHARED_1$ac_delim
52659 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
52660 COND_SHARED_1_USE_XRC_1!$COND_SHARED_1_USE_XRC_1$ac_delim
52661 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
52662 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
52663 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
52664 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
52665 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
52666 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
52667 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
52668 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
52669 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
52670 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
52671 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
52672 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
52673 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
52674 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
52675 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
52676 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
52677 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
52680 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52682 elif $ac_last_try; then
52683 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52684 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52685 { (exit 1); exit 1; }; }
52687 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52691 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52692 if test -n "$ac_eof"; then
52693 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52694 ac_eof
=`expr $ac_eof + 1`
52697 cat >>$CONFIG_STATUS <<_ACEOF
52698 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
52699 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52702 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52703 s/^/s,@/; s/!/@,|#_!!_#|/
52706 s/'"$ac_delim"'$/,g/; t
52708 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52709 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52710 rm -f conf$
$subs.
sed
52711 cat >>$CONFIG_STATUS <<_ACEOF
52717 for ac_last_try
in false false false false false
:; do
52718 cat >conf$
$subs.
sed <<_ACEOF
52719 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
52720 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
52721 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
52722 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
52723 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
52724 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
52725 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
52726 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
52727 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
52728 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
52729 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
52730 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
52731 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
52732 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
52733 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
52734 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
52735 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
52736 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
52737 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
52738 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
52739 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
52740 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
52741 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
52742 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
52743 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
52744 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
52745 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
52746 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
52747 COND_USE_ODBC_1!$COND_USE_ODBC_1$ac_delim
52748 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
52749 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
52750 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
52751 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
52752 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
52753 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
52754 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
52755 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
52756 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
52757 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
52758 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
52759 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
52760 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
52761 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
52762 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
52763 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
52764 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
52765 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
52766 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
52767 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
52768 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
52769 COND_WXUSE_ODBC_BUILTIN!$COND_WXUSE_ODBC_BUILTIN$ac_delim
52770 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
52771 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
52772 SHARED!$SHARED$ac_delim
52773 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
52774 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
52775 USE_GUI!$USE_GUI$ac_delim
52776 AFMINSTALL!$AFMINSTALL$ac_delim
52777 WIN32INSTALL!$WIN32INSTALL$ac_delim
52778 TOOLKIT!$TOOLKIT$ac_delim
52779 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
52780 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
52781 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
52782 cross_compiling!$cross_compiling$ac_delim
52783 WIDGET_SET!$WIDGET_SET$ac_delim
52784 WX_RELEASE!$WX_RELEASE$ac_delim
52785 WX_VERSION!$WX_VERSION$ac_delim
52786 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
52787 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
52788 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
52789 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
52790 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
52791 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
52792 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
52793 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
52794 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
52795 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
52796 EXE_LINKER!$EXE_LINKER$ac_delim
52797 GUIDIST!$GUIDIST$ac_delim
52798 DISTDIR!$DISTDIR$ac_delim
52799 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
52800 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
52801 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
52802 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
52803 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
52804 RESCOMP!$RESCOMP$ac_delim
52805 RESFLAGS!$RESFLAGS$ac_delim
52806 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
52807 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
52808 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
52809 LIBWXMACRES!$LIBWXMACRES$ac_delim
52810 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
52811 MACSETFILE!$MACSETFILE$ac_delim
52813 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
52814 LIBOBJS!$LIBOBJS$ac_delim
52815 LTLIBOBJS!$LTLIBOBJS$ac_delim
52818 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52820 elif $ac_last_try; then
52821 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52822 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52823 { (exit 1); exit 1; }; }
52825 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52829 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52830 if test -n "$ac_eof"; then
52831 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52832 ac_eof
=`expr $ac_eof + 1`
52835 cat >>$CONFIG_STATUS <<_ACEOF
52836 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
52837 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52840 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52841 s/^/s,@/; s/!/@,|#_!!_#|/
52844 s/'"$ac_delim"'$/,g/; t
52846 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52847 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52848 rm -f conf$
$subs.
sed
52849 cat >>$CONFIG_STATUS <<_ACEOF
52854 # VPATH may cause trouble with some makes, so we remove $(srcdir),
52855 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
52856 # trailing colons and then remove the whole line if VPATH becomes empty
52857 # (actually we leave an empty line to preserve line numbers).
52858 if test "x$srcdir" = x.
; then
52859 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
52860 s/:*\$(srcdir):*/:/
52861 s/:*\${srcdir}:*/:/
52863 s/^\([^=]*=[ ]*\):*/\1/
52869 cat >>$CONFIG_STATUS <<\_ACEOF
52870 fi # test -n "$CONFIG_FILES"
52873 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
52876 :[FHLC
]) ac_mode
=$ac_tag; continue;;
52878 case $ac_mode$ac_tag in
52880 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
52881 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
52882 { (exit 1); exit 1; }; };;
52883 :[FH
]-) ac_tag
=-:-;;
52884 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
52901 -) ac_f
="$tmp/stdin";;
52902 *) # Look for the file first in the build tree, then in the source tree
52903 # (if the path is not absolute). The absolute path cannot be DOS-style,
52904 # because $ac_f cannot contain `:'.
52908 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
52910 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
52911 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
52912 { (exit 1); exit 1; }; };;
52914 ac_file_inputs
="$ac_file_inputs $ac_f"
52917 # Let's still pretend it is `configure' which instantiates (i.e., don't
52918 # use $as_me), people would be surprised to read:
52919 # /* config.h. Generated by config.status. */
52920 configure_input
="Generated from "`IFS=:
52921 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
52922 if test x
"$ac_file" != x
-; then
52923 configure_input
="$ac_file. $configure_input"
52924 { echo "$as_me:$LINENO: creating $ac_file" >&5
52925 echo "$as_me: creating $ac_file" >&6;}
52929 *:-:* | *:-) cat >"$tmp/stdin";;
52934 ac_dir
=`$as_dirname -- "$ac_file" ||
52935 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52936 X"$ac_file" : 'X\(//\)[^/]' \| \
52937 X"$ac_file" : 'X\(//\)$' \| \
52938 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
52940 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52944 /^X\(\/\/\)[^/].*/{
52959 -*) as_dir
=.
/$as_dir;;
52961 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52965 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52966 *) as_qdir
=$as_dir;;
52968 as_dirs
="'$as_qdir' $as_dirs"
52969 as_dir
=`$as_dirname -- "$as_dir" ||
52970 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52971 X"$as_dir" : 'X\(//\)[^/]' \| \
52972 X"$as_dir" : 'X\(//\)$' \| \
52973 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52975 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52979 /^X\(\/\/\)[^/].*/{
52992 test -d "$as_dir" && break
52994 test -z "$as_dirs" || eval "mkdir $as_dirs"
52995 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52996 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52997 { (exit 1); exit 1; }; }; }
53001 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
53003 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
53004 # A ".." for each directory in $ac_dir_suffix.
53005 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
53006 case $ac_top_builddir_sub in
53007 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
53008 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
53011 ac_abs_top_builddir
=$ac_pwd
53012 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
53013 # for backward compatibility:
53014 ac_top_builddir
=$ac_top_build_prefix
53017 .
) # We are building in place.
53019 ac_top_srcdir
=$ac_top_builddir_sub
53020 ac_abs_top_srcdir
=$ac_pwd ;;
53021 [\\/]* | ?
:[\\/]* ) # Absolute name.
53022 ac_srcdir
=$srcdir$ac_dir_suffix;
53023 ac_top_srcdir
=$srcdir
53024 ac_abs_top_srcdir
=$srcdir ;;
53025 *) # Relative name.
53026 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
53027 ac_top_srcdir
=$ac_top_build_prefix$srcdir
53028 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
53030 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
53040 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
53041 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
53045 cat >>$CONFIG_STATUS <<\_ACEOF
53046 # If the template does not know about datarootdir, expand it.
53047 # FIXME: This hack should be removed a few years after 2.60.
53048 ac_datarootdir_hack
=; ac_datarootdir_seen
=
53050 case `sed -n '/datarootdir/ {
53059 ' $ac_file_inputs` in
53060 *datarootdir
*) ac_datarootdir_seen
=yes;;
53061 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
53062 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
53063 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
53065 cat >>$CONFIG_STATUS <<_ACEOF
53066 ac_datarootdir_hack='
53067 s&@datadir@&$datadir&g
53068 s&@docdir@&$docdir&g
53069 s&@infodir@&$infodir&g
53070 s&@localedir@&$localedir&g
53071 s&@mandir@&$mandir&g
53072 s&\\\${datarootdir}&$datarootdir&g' ;;
53076 # Neutralize VPATH when `$srcdir' = `.'.
53077 # Shell code in configure.ac might set extrasub.
53078 # FIXME: do we really want to maintain this feature?
53079 cat >>$CONFIG_STATUS <<_ACEOF
53083 cat >>$CONFIG_STATUS <<\_ACEOF
53085 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
53086 s
&@configure_input@
&$configure_input&;t t
53087 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
53088 s
&@srcdir@
&$ac_srcdir&;t t
53089 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
53090 s
&@top_srcdir@
&$ac_top_srcdir&;t t
53091 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
53092 s
&@builddir@
&$ac_builddir&;t t
53093 s
&@abs_builddir@
&$ac_abs_builddir&;t t
53094 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
53095 s
&@INSTALL@
&$ac_INSTALL&;t t
53096 $ac_datarootdir_hack
53097 " $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
53099 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
53100 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
53101 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
53102 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
53103 which seems to be undefined. Please make sure it is defined." >&5
53104 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
53105 which seems to be undefined. Please make sure it is defined." >&2;}
53109 -) cat "$tmp/out"; rm -f "$tmp/out";;
53110 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
53119 # Transform confdefs.h into a sed script `conftest.defines', that
53120 # substitutes the proper values into config.h.in to produce config.h.
53121 rm -f conftest.defines conftest.
tail
53122 # First, append a space to every undef/define line, to ease matching.
53123 echo 's/$/ /' >conftest.defines
53124 # Then, protect against being on the right side of a sed subst, or in
53125 # an unquoted here document, in config.status. If some macros were
53126 # called several times there might be several #defines for the same
53127 # symbol, which is useless. But do not sort them, since the last
53128 # AC_DEFINE must be honored.
53129 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
53130 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
53131 # NAME is the cpp macro being defined, VALUE is the value it is being given.
53132 # PARAMS is the parameter list in the macro definition--in most cases, it's
53133 # just an empty string.
53134 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
53135 ac_dB
='\\)[ (].*,\\1define\\2'
53143 s/^[ ]*#[ ]*define[ ][ ]*//
53148 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
53149 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
53150 ' >>conftest.defines
53152 # Remove the space that was appended to ease matching.
53153 # Then replace #undef with comments. This is necessary, for
53154 # example, in the case of _POSIX_SOURCE, which is predefined and required
53155 # on some systems where configure will not decide to define it.
53156 # (The regexp can be short, since the line contains either #define or #undef.)
53158 s,^[ #]*u.*,/* & */,' >>conftest.defines
53160 # Break up conftest.defines:
53161 ac_max_sed_lines
=50
53163 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
53164 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
53165 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
53167 ac_in
='$ac_file_inputs'
53168 ac_out
='"$tmp/out1"'
53169 ac_nxt
='"$tmp/out2"'
53173 # Write a here document:
53174 cat >>$CONFIG_STATUS <<_ACEOF
53175 # First, check the format of the line:
53176 cat >"\$tmp/defines.sed" <<\\CEOF
53177 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
53178 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
53182 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
53184 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
53185 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
53186 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
53187 grep . conftest.
tail >/dev
/null
|| break
53188 rm -f conftest.defines
53189 mv conftest.
tail conftest.defines
53191 rm -f conftest.defines conftest.
tail
53193 echo "ac_result=$ac_in" >>$CONFIG_STATUS
53194 cat >>$CONFIG_STATUS <<\_ACEOF
53195 if test x
"$ac_file" != x
-; then
53196 echo "/* $configure_input */" >"$tmp/config.h"
53197 cat "$ac_result" >>"$tmp/config.h"
53198 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
53199 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
53200 echo "$as_me: $ac_file is unchanged" >&6;}
53203 mv "$tmp/config.h" $ac_file
53206 echo "/* $configure_input */"
53212 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
53213 echo "$as_me: executing $ac_file commands" >&6;}
53218 case $ac_file$ac_mode in
53220 mkdir -p $outdir &&
53221 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
53223 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
53224 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
53225 "wx-config":C
) rm -f wx
-config
53226 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
53233 { (exit 0); exit 0; }
53235 chmod +x
$CONFIG_STATUS
53236 ac_clean_files
=$ac_clean_files_save
53239 # configure is writing to config.log, and then calls config.status.
53240 # config.status does its own redirection, appending to config.log.
53241 # Unfortunately, on DOS this fails, as config.log is still kept open
53242 # by configure, so config.status won't be able to write to it; its
53243 # output is simply discarded. So we exec the FD to /dev/null,
53244 # effectively closing config.log, so it can be properly (re)opened and
53245 # appended to by config.status. When coming back to configure, we
53246 # need to make the FD available again.
53247 if test "$no_create" != yes; then
53249 ac_config_status_args
=
53250 test "$silent" = yes &&
53251 ac_config_status_args
="$ac_config_status_args --quiet"
53253 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
53255 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
53256 # would make configure fail if this is the last instruction.
53257 $ac_cs_success || { (exit 1); exit 1; }
53261 # CONFIG_SUBDIRS section.
53263 if test "$no_recursion" != yes; then
53265 # Remove --cache-file and --srcdir arguments so they do not pile up.
53266 ac_sub_configure_args
=
53268 eval "set x $ac_configure_args"
53272 if test -n "$ac_prev"; then
53277 -cache-file | --cache-file | --cache-fil | --cache-fi \
53278 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
53279 ac_prev
=cache_file
;;
53280 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
53281 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
53284 --config-cache | -C)
53286 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
53288 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
53290 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
53292 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
53296 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
53298 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
53302 # Always prepend --prefix to ensure using the same prefix
53303 # in subdir configurations.
53304 ac_arg
="--prefix=$prefix"
53306 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
53308 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
53311 if test "$silent" = yes; then
53312 ac_sub_configure_args
="--silent $ac_sub_configure_args"
53316 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
53318 # Do not complain, so a configure script can configure whichever
53319 # parts of a large source tree are present.
53320 test -d "$srcdir/$ac_dir" || continue
53322 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
53323 echo "$as_me:$LINENO: $ac_msg" >&5
53327 -*) as_dir
=.
/$as_dir;;
53329 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
53333 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
53334 *) as_qdir
=$as_dir;;
53336 as_dirs
="'$as_qdir' $as_dirs"
53337 as_dir
=`$as_dirname -- "$as_dir" ||
53338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53339 X"$as_dir" : 'X\(//\)[^/]' \| \
53340 X"$as_dir" : 'X\(//\)$' \| \
53341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
53343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53347 /^X\(\/\/\)[^/].*/{
53360 test -d "$as_dir" && break
53362 test -z "$as_dirs" || eval "mkdir $as_dirs"
53363 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
53364 echo "$as_me: error: cannot create directory $as_dir" >&2;}
53365 { (exit 1); exit 1; }; }; }
53369 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
53371 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
53372 # A ".." for each directory in $ac_dir_suffix.
53373 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
53374 case $ac_top_builddir_sub in
53375 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
53376 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
53379 ac_abs_top_builddir
=$ac_pwd
53380 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
53381 # for backward compatibility:
53382 ac_top_builddir
=$ac_top_build_prefix
53385 .
) # We are building in place.
53387 ac_top_srcdir
=$ac_top_builddir_sub
53388 ac_abs_top_srcdir
=$ac_pwd ;;
53389 [\\/]* | ?
:[\\/]* ) # Absolute name.
53390 ac_srcdir
=$srcdir$ac_dir_suffix;
53391 ac_top_srcdir
=$srcdir
53392 ac_abs_top_srcdir
=$srcdir ;;
53393 *) # Relative name.
53394 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
53395 ac_top_srcdir
=$ac_top_build_prefix$srcdir
53396 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
53398 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
53403 # Check for guested configure; otherwise get Cygnus style configure.
53404 if test -f "$ac_srcdir/configure.gnu"; then
53405 ac_sub_configure
=$ac_srcdir/configure.gnu
53406 elif test -f "$ac_srcdir/configure"; then
53407 ac_sub_configure
=$ac_srcdir/configure
53408 elif test -f "$ac_srcdir/configure.in"; then
53409 # This should be Cygnus configure.
53410 ac_sub_configure
=$ac_aux_dir/configure
53412 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
53413 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
53417 # The recursion is here.
53418 if test -n "$ac_sub_configure"; then
53419 # Make the cache file name correct relative to the subdirectory.
53420 case $cache_file in
53421 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
53422 *) # Relative name.
53423 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
53426 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
53427 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
53428 # The eval makes quoting arguments work.
53429 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
53430 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
53431 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
53432 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
53433 { (exit 1); exit 1; }; }
53442 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
53444 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
53445 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
53447 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
53448 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
53449 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
53451 echo " What level of wxWidgets compatibility should be enabled?"
53452 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
53453 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
53455 echo " Which libraries should wxWidgets use?"
53456 echo " jpeg ${wxUSE_LIBJPEG-none}"
53457 echo " png ${wxUSE_LIBPNG-none}"
53458 echo " regex ${wxUSE_REGEX}"
53459 echo " tiff ${wxUSE_LIBTIFF-none}"
53460 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
53461 echo " xpm ${wxUSE_LIBXPM-none}"
53463 echo " zlib ${wxUSE_ZLIB}"
53464 echo " odbc ${wxUSE_ODBC}"
53465 echo " expat ${wxUSE_EXPAT}"
53466 echo " libmspack ${wxUSE_LIBMSPACK}"
53467 echo " sdl ${wxUSE_LIBSDL}"