2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.0.
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
16 # Be more Bourne compatible
17 DUALCASE
=1; export DUALCASE
# for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
26 case `(set -o) 2>/dev/null` in
27 *posix
*) set -o posix
;;
36 # Avoid depending upon Character Ranges.
37 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits
='0123456789'
41 as_cr_alnum
=$as_cr_Letters$as_cr_digits
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
48 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
56 # Support unset when possible.
57 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
73 # Find who we are. Look in the path if we contain no directory separator.
75 *[\\/]* ) as_myself
=$0 ;;
76 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
80 test -z "$as_dir" && as_dir
=.
81 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x
; then
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var
in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
111 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C
; export $as_var
114 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
118 # Required to use basename.
119 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
126 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
133 # Name of the executable.
134 as_me
=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
157 if test "x$CONFIG_SHELL" = x
; then
158 if (eval ":") 2>/dev
/null
; then
164 if test $as_have_required = yes && (eval ":
174 as_func_ret_success () {
177 as_func_ret_failure () {
182 if as_func_success; then
186 echo as_func_success failed.
189 if as_func_failure; then
191 echo as_func_failure succeeded.
194 if as_func_ret_success; then
198 echo as_func_ret_success failed.
201 if as_func_ret_failure; then
203 echo as_func_ret_failure succeeded.
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
210 echo positional parameters were not saved.
213 test \$exitcode = 0) || { (exit 1); exit 1; }
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev
/null
; then
224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
225 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
228 test -z "$as_dir" && as_dir
=.
231 for as_base
in sh bash ksh sh5
; do
232 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
239 for as_shell
in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
251 case `(set -o) 2>/dev/null` in
252 *posix
*) set -o posix
;;
261 CONFIG_SHELL
=$as_shell
263 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
272 case `(set -o) 2>/dev/null` in
273 *posix
*) set -o posix
;;
289 as_func_ret_success
() {
292 as_func_ret_failure
() {
297 if as_func_success
; then
301 echo as_func_success failed.
304 if as_func_failure
; then
306 echo as_func_failure succeeded.
309 if as_func_ret_success
; then
313 echo as_func_ret_success failed.
316 if as_func_ret_failure
; then
318 echo as_func_ret_failure succeeded.
321 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
325 echo positional parameters were not saved.
328 test $exitcode = 0) || { (exit 1); exit 1; }
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
345 if test "x$CONFIG_SHELL" != x
; then
346 for as_var
in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
354 if test $as_have_required = no
; then
355 echo This
script requires a shell
more modern than all the
356 echo shells that I found on your system. Please
install a
357 echo modern shell
, or manually run the
script under such a
358 echo shell
if you
do have one.
359 { (exit 1); exit 1; }
369 (eval "as_func_return () {
378 as_func_ret_success () {
381 as_func_ret_failure () {
386 if as_func_success; then
390 echo as_func_success failed.
393 if as_func_failure; then
395 echo as_func_failure succeeded.
398 if as_func_ret_success; then
402 echo as_func_ret_success failed.
405 if as_func_ret_failure; then
407 echo as_func_ret_failure succeeded.
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
414 echo positional parameters were not saved.
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system
,
420 echo including any error possibly output before this
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
456 chmod +x
"$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
464 # Exit status is that of the last command.
469 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
475 ECHO_C
= ECHO_N
= ECHO_T
=
479 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
486 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
493 rm -f conf$$ conf$$.exe conf$$.
file
494 if test -d conf$$.dir
; then
495 rm -f conf$$.dir
/conf$$.
file
501 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
509 elif ln conf$$.
file conf$$
2>/dev
/null
; then
514 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
515 rmdir conf$$.dir
2>/dev
/null
517 if mkdir -p .
2>/dev
/null
; then
520 test -d .
/-p && rmdir .
/-p
524 if test -x / >/dev
/null
2>&1; then
527 if ls -dL / >/dev
/null
2>&1; then
534 if test -d "$1"; then
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
545 as_executable_p
=$as_test_x
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555 exec 7<&0 </dev
/null
6>&1
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
565 ac_default_prefix
=/usr
/local
567 ac_config_libobj_dir
=.
573 SHELL
=${CONFIG_SHELL-/bin/sh}
575 # Identity of this package.
576 PACKAGE_NAME
='wxWidgets'
577 PACKAGE_TARNAME
='wxwidgets'
578 PACKAGE_VERSION
='2.9.0'
579 PACKAGE_STRING
='wxWidgets 2.9.0'
580 PACKAGE_BUGREPORT
='wx-dev@lists.wxwidgets.org'
582 ac_unique_file
="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default
="\
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
596 # ifdef HAVE_STDLIB_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
628 program_transform_name
717 LIBGNOMEPRINTUI_CFLAGS
762 SAMPLES_RPATH_POSTLINK
808 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
809 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
810 COND_BUILD_DEBUG_UNICODE_0
811 COND_BUILD_DEBUG_UNICODE_1
813 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
814 COND_BUILD_RELEASE_UNICODE_0
815 COND_BUILD_RELEASE_UNICODE_1
824 COND_MONOLITHIC_0_SHARED_0
825 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
826 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
827 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
828 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
829 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
830 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
831 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
832 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
833 COND_MONOLITHIC_0_SHARED_0_USE_STC_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_STC_1
845 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
846 COND_MONOLITHIC_0_USE_AUI_1
847 COND_MONOLITHIC_0_USE_GUI_1
848 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
849 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1
850 COND_MONOLITHIC_0_USE_HTML_1
851 COND_MONOLITHIC_0_USE_MEDIA_1
852 COND_MONOLITHIC_0_USE_ODBC_1
853 COND_MONOLITHIC_0_USE_QA_1
854 COND_MONOLITHIC_0_USE_RICHTEXT_1
855 COND_MONOLITHIC_0_USE_STC_1
856 COND_MONOLITHIC_0_USE_XRC_1
858 COND_MONOLITHIC_1_SHARED_0
859 COND_MONOLITHIC_1_SHARED_1
860 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
861 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
862 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
863 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
864 COND_PLATFORM_MACOSX_1
865 COND_PLATFORM_MACOSX_1_TOOLKIT_
866 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
867 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
868 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
869 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
870 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
871 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
872 COND_PLATFORM_MACOSX_1_USE_GUI_1
873 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
874 COND_PLATFORM_MACOS_1
876 COND_PLATFORM_MSDOS_0
877 COND_PLATFORM_MSDOS_1
881 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
882 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
883 COND_PLATFORM_UNIX_1_USE_GUI_1
884 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
885 COND_PLATFORM_WIN32_0
886 COND_PLATFORM_WIN32_1
888 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
889 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
890 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
891 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
892 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
893 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
894 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
895 COND_SHARED_0_USE_STC_1
896 COND_SHARED_0_USE_XRC_1
897 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
898 COND_SHARED_0_WXUSE_ODBC_BUILTIN
899 COND_SHARED_0_WXUSE_REGEX_BUILTIN
900 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
902 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
903 COND_SHARED_1_USE_XRC_1
906 COND_TOOLKIT_COCOA_USE_GUI_1
907 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
909 COND_TOOLKIT_DFB_USE_GUI_1
911 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
912 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
913 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
914 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
915 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
916 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
917 COND_TOOLKIT_GTK_USE_GUI_1
919 COND_TOOLKIT_MAC_USE_GUI_1
920 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
922 COND_TOOLKIT_MGL_USE_GUI_1
924 COND_TOOLKIT_MOTIF_USE_GUI_1
925 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
927 COND_TOOLKIT_MSW_USE_GUI_1
928 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
929 COND_TOOLKIT_MSW_WXUNIV_0
931 COND_TOOLKIT_PM_USE_GUI_1
932 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
934 COND_TOOLKIT_WINCE_USE_GUI_1
935 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
936 COND_TOOLKIT_WINCE_WXUNIV_0
938 COND_TOOLKIT_X11_USE_GUI_1
940 COND_USE_EXCEPTIONS_0
941 COND_USE_EXCEPTIONS_1
944 COND_USE_GUI_1_USE_OPENGL_1
945 COND_USE_GUI_1_WXUNIV_0
946 COND_USE_GUI_1_WXUNIV_1
947 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
948 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
949 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
956 COND_USE_SOSYMLINKS_1
957 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
958 COND_USE_SOVERLINUX_1
960 COND_USE_SOVERSOLARIS_1
965 COND_WINDOWS_IMPLIB_1
966 COND_WITH_PLUGIN_SDL_1
969 COND_WXUSE_EXPAT_BUILTIN
970 COND_WXUSE_LIBJPEG_BUILTIN
971 COND_WXUSE_LIBPNG_BUILTIN
972 COND_WXUSE_LIBTIFF_BUILTIN
973 COND_WXUSE_ODBC_BUILTIN
974 COND_WXUSE_REGEX_BUILTIN
975 COND_WXUSE_ZLIB_BUILTIN
977 WX_LIBRARY_BASENAME_NOGUI
978 WX_LIBRARY_BASENAME_GUI
1011 WX_RESOURCES_MACOSX_ASCII
1012 WX_RESOURCES_MACOSX_DATA
1021 ac_precious_vars
='build_alias
1043 LIBGNOMEPRINTUI_CFLAGS
1044 LIBGNOMEPRINTUI_LIBS
1053 ac_subdirs_all
='src/expat'
1055 # Initialize some variables set by options.
1057 ac_init_version
=false
1058 # The variables have the same names as the options, with
1059 # dashes changed to underlines.
1060 cache_file
=/dev
/null
1067 program_transform_name
=s
,x
,x
,
1075 # Installation directory options.
1076 # These are left unexpanded so users can "make install exec_prefix=/foo"
1077 # and all the variables that are supposed to be based on exec_prefix
1078 # by default will actually change.
1079 # Use braces instead of parens because sh, perl, etc. also accept them.
1080 # (The list follows the same order as the GNU Coding Standards.)
1081 bindir
='${exec_prefix}/bin'
1082 sbindir
='${exec_prefix}/sbin'
1083 libexecdir
='${exec_prefix}/libexec'
1084 datarootdir
='${prefix}/share'
1085 datadir
='${datarootdir}'
1086 sysconfdir
='${prefix}/etc'
1087 sharedstatedir
='${prefix}/com'
1088 localstatedir
='${prefix}/var'
1089 includedir
='${prefix}/include'
1090 oldincludedir
='/usr/include'
1091 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1092 infodir
='${datarootdir}/info'
1097 libdir
='${exec_prefix}/lib'
1098 localedir
='${datarootdir}/locale'
1099 mandir
='${datarootdir}/man'
1105 # If the previous option needs an argument, assign it.
1106 if test -n "$ac_prev"; then
1107 eval $ac_prev=\
$ac_option
1113 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1117 # Accept the important Cygnus configure options, so we can diagnose typos.
1119 case $ac_dashdash$ac_option in
1123 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1125 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1126 bindir
=$ac_optarg ;;
1128 -build | --build | --buil | --bui | --bu)
1129 ac_prev
=build_alias
;;
1130 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1131 build_alias
=$ac_optarg ;;
1133 -cache-file | --cache-file | --cache-fil | --cache-fi \
1134 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1135 ac_prev
=cache_file
;;
1136 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1137 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1138 cache_file
=$ac_optarg ;;
1140 --config-cache | -C)
1141 cache_file
=config.cache
;;
1143 -datadir | --datadir | --datadi | --datad)
1145 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1146 datadir
=$ac_optarg ;;
1148 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1149 | --dataroo | --dataro | --datar)
1150 ac_prev
=datarootdir
;;
1151 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1152 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1153 datarootdir
=$ac_optarg ;;
1155 -disable-* | --disable-*)
1156 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1157 # Reject names that are not valid shell variable names.
1158 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1159 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1160 { (exit 1); exit 1; }; }
1161 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1162 eval enable_
$ac_feature=no
;;
1164 -docdir | --docdir | --docdi | --doc | --do)
1166 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1167 docdir
=$ac_optarg ;;
1169 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1171 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1172 dvidir
=$ac_optarg ;;
1174 -enable-* | --enable-*)
1175 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1176 # Reject names that are not valid shell variable names.
1177 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1178 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1179 { (exit 1); exit 1; }; }
1180 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1181 eval enable_
$ac_feature=\
$ac_optarg ;;
1183 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1184 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1185 | --exec | --exe | --ex)
1186 ac_prev
=exec_prefix
;;
1187 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1188 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1189 | --exec=* | --exe=* | --ex=*)
1190 exec_prefix
=$ac_optarg ;;
1192 -gas | --gas | --ga | --g)
1193 # Obsolete; use --with-gas.
1196 -help | --help | --hel | --he | -h)
1197 ac_init_help
=long
;;
1198 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1199 ac_init_help
=recursive
;;
1200 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1201 ac_init_help
=short
;;
1203 -host | --host | --hos | --ho)
1204 ac_prev
=host_alias
;;
1205 -host=* | --host=* | --hos=* | --ho=*)
1206 host_alias
=$ac_optarg ;;
1208 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1210 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1212 htmldir
=$ac_optarg ;;
1214 -includedir | --includedir | --includedi | --included | --include \
1215 | --includ | --inclu | --incl | --inc)
1216 ac_prev
=includedir
;;
1217 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1218 | --includ=* | --inclu=* | --incl=* | --inc=*)
1219 includedir
=$ac_optarg ;;
1221 -infodir | --infodir | --infodi | --infod | --info | --inf)
1223 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1224 infodir
=$ac_optarg ;;
1226 -libdir | --libdir | --libdi | --libd)
1228 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1229 libdir
=$ac_optarg ;;
1231 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1232 | --libexe | --libex | --libe)
1233 ac_prev
=libexecdir
;;
1234 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1235 | --libexe=* | --libex=* | --libe=*)
1236 libexecdir
=$ac_optarg ;;
1238 -localedir | --localedir | --localedi | --localed | --locale)
1239 ac_prev
=localedir
;;
1240 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1241 localedir
=$ac_optarg ;;
1243 -localstatedir | --localstatedir | --localstatedi | --localstated \
1244 | --localstate | --localstat | --localsta | --localst | --locals)
1245 ac_prev
=localstatedir
;;
1246 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1247 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1248 localstatedir
=$ac_optarg ;;
1250 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1252 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1253 mandir
=$ac_optarg ;;
1255 -nfp | --nfp | --nf)
1256 # Obsolete; use --without-fp.
1259 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1260 | --no-cr | --no-c | -n)
1263 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1264 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1267 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1268 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1269 | --oldin | --oldi | --old | --ol | --o)
1270 ac_prev
=oldincludedir
;;
1271 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1272 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1273 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1274 oldincludedir
=$ac_optarg ;;
1276 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1278 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1279 prefix
=$ac_optarg ;;
1281 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1282 | --program-pre | --program-pr | --program-p)
1283 ac_prev
=program_prefix
;;
1284 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1285 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1286 program_prefix
=$ac_optarg ;;
1288 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1289 | --program-suf | --program-su | --program-s)
1290 ac_prev
=program_suffix
;;
1291 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1292 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1293 program_suffix
=$ac_optarg ;;
1295 -program-transform-name | --program-transform-name \
1296 | --program-transform-nam | --program-transform-na \
1297 | --program-transform-n | --program-transform- \
1298 | --program-transform | --program-transfor \
1299 | --program-transfo | --program-transf \
1300 | --program-trans | --program-tran \
1301 | --progr-tra | --program-tr | --program-t)
1302 ac_prev
=program_transform_name
;;
1303 -program-transform-name=* | --program-transform-name=* \
1304 | --program-transform-nam=* | --program-transform-na=* \
1305 | --program-transform-n=* | --program-transform-=* \
1306 | --program-transform=* | --program-transfor=* \
1307 | --program-transfo=* | --program-transf=* \
1308 | --program-trans=* | --program-tran=* \
1309 | --progr-tra=* | --program-tr=* | --program-t=*)
1310 program_transform_name
=$ac_optarg ;;
1312 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1314 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1315 pdfdir
=$ac_optarg ;;
1317 -psdir | --psdir | --psdi | --psd | --ps)
1319 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1322 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1323 | -silent | --silent | --silen | --sile | --sil)
1326 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1328 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1330 sbindir
=$ac_optarg ;;
1332 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1333 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1334 | --sharedst | --shareds | --shared | --share | --shar \
1336 ac_prev
=sharedstatedir
;;
1337 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1338 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1339 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1341 sharedstatedir
=$ac_optarg ;;
1343 -site | --site | --sit)
1345 -site=* | --site=* | --sit=*)
1348 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1350 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1351 srcdir
=$ac_optarg ;;
1353 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1354 | --syscon | --sysco | --sysc | --sys | --sy)
1355 ac_prev
=sysconfdir
;;
1356 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1357 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1358 sysconfdir
=$ac_optarg ;;
1360 -target | --target | --targe | --targ | --tar | --ta | --t)
1361 ac_prev
=target_alias
;;
1362 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1363 target_alias
=$ac_optarg ;;
1365 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1368 -version | --version | --versio | --versi | --vers | -V)
1369 ac_init_version
=: ;;
1372 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1373 # Reject names that are not valid shell variable names.
1374 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1375 { echo "$as_me: error: invalid package name: $ac_package" >&2
1376 { (exit 1); exit 1; }; }
1377 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1378 eval with_
$ac_package=\
$ac_optarg ;;
1380 -without-* | --without-*)
1381 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1382 # Reject names that are not valid shell variable names.
1383 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1384 { echo "$as_me: error: invalid package name: $ac_package" >&2
1385 { (exit 1); exit 1; }; }
1386 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1387 eval with_
$ac_package=no
;;
1390 # Obsolete; use --with-x.
1393 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1394 | --x-incl | --x-inc | --x-in | --x-i)
1395 ac_prev
=x_includes
;;
1396 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1397 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1398 x_includes
=$ac_optarg ;;
1400 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1401 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1402 ac_prev
=x_libraries
;;
1403 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1404 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1405 x_libraries
=$ac_optarg ;;
1407 -*) { echo "$as_me: error: unrecognized option: $ac_option
1408 Try \`$0 --help' for more information." >&2
1409 { (exit 1); exit 1; }; }
1413 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1414 # Reject names that are not valid shell variable names.
1415 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1416 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1417 { (exit 1); exit 1; }; }
1418 eval $ac_envvar=\
$ac_optarg
1419 export $ac_envvar ;;
1422 # FIXME: should be removed in autoconf 3.0.
1423 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1424 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1425 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1426 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1432 if test -n "$ac_prev"; then
1433 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1434 { echo "$as_me: error: missing argument to $ac_option" >&2
1435 { (exit 1); exit 1; }; }
1438 # Be sure to have absolute directory names.
1439 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1440 datadir sysconfdir sharedstatedir localstatedir includedir \
1441 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1442 libdir localedir mandir
1444 eval ac_val
=\$
$ac_var
1446 [\\/$
]* | ?
:[\\/]* ) continue;;
1447 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1449 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1450 { (exit 1); exit 1; }; }
1453 # There might be people who depend on the old broken behavior: `$host'
1454 # used to hold the argument of --host etc.
1455 # FIXME: To remove some day.
1458 target
=$target_alias
1460 # FIXME: To remove some day.
1461 if test "x$host_alias" != x
; then
1462 if test "x$build_alias" = x
; then
1463 cross_compiling
=maybe
1464 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1465 If a cross compiler is detected then cross compile mode will be used." >&2
1466 elif test "x$build_alias" != "x$host_alias"; then
1472 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1474 test "$silent" = yes && exec 6>/dev
/null
1477 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1478 ac_ls_di
=`ls -di .` &&
1479 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1480 { echo "$as_me: error: Working directory cannot be determined" >&2
1481 { (exit 1); exit 1; }; }
1482 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1483 { echo "$as_me: error: pwd does not report name of working directory" >&2
1484 { (exit 1); exit 1; }; }
1487 # Find the source files, if location was not specified.
1488 if test -z "$srcdir"; then
1489 ac_srcdir_defaulted
=yes
1490 # Try the directory containing this script, then the parent directory.
1491 ac_confdir
=`$as_dirname -- "$0" ||
1492 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1493 X"$0" : 'X\(//\)[^/]' \| \
1494 X"$0" : 'X\(//\)$' \| \
1495 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1497 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1515 if test ! -r "$srcdir/$ac_unique_file"; then
1519 ac_srcdir_defaulted
=no
1521 if test ! -r "$srcdir/$ac_unique_file"; then
1522 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1523 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1524 { (exit 1); exit 1; }; }
1526 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1528 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1529 { (exit 1); exit 1; }; }
1531 # When building in place, set srcdir=.
1532 if test "$ac_abs_confdir" = "$ac_pwd"; then
1535 # Remove unnecessary trailing slashes from srcdir.
1536 # Double slashes in file names in object file debugging info
1537 # mess up M-x gdb in Emacs.
1539 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1541 for ac_var
in $ac_precious_vars; do
1542 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1543 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1544 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1545 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1549 # Report the --help message.
1551 if test "$ac_init_help" = "long"; then
1552 # Omit some internal or obsolete options to make the list less imposing.
1553 # This message is too long to be a string in the A/UX 3.1 sh.
1555 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1557 Usage: $0 [OPTION]... [VAR=VALUE]...
1559 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1560 VAR=VALUE. See below for descriptions of some of the useful variables.
1562 Defaults for the options are specified in brackets.
1565 -h, --help display this help and exit
1566 --help=short display options specific to this package
1567 --help=recursive display the short help of all the included packages
1568 -V, --version display version information and exit
1569 -q, --quiet, --silent do not print \`checking...' messages
1570 --cache-file=FILE cache test results in FILE [disabled]
1571 -C, --config-cache alias for \`--cache-file=config.cache'
1572 -n, --no-create do not create output files
1573 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1575 Installation directories:
1576 --prefix=PREFIX install architecture-independent files in PREFIX
1577 [$ac_default_prefix]
1578 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1581 By default, \`make install' will install all the files in
1582 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1583 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1584 for instance \`--prefix=\$HOME'.
1586 For better control, use the options below.
1588 Fine tuning of the installation directories:
1589 --bindir=DIR user executables [EPREFIX/bin]
1590 --sbindir=DIR system admin executables [EPREFIX/sbin]
1591 --libexecdir=DIR program executables [EPREFIX/libexec]
1592 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1593 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1594 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1595 --libdir=DIR object code libraries [EPREFIX/lib]
1596 --includedir=DIR C header files [PREFIX/include]
1597 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1598 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1599 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1600 --infodir=DIR info documentation [DATAROOTDIR/info]
1601 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1602 --mandir=DIR man documentation [DATAROOTDIR/man]
1603 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1604 --htmldir=DIR html documentation [DOCDIR]
1605 --dvidir=DIR dvi documentation [DOCDIR]
1606 --pdfdir=DIR pdf documentation [DOCDIR]
1607 --psdir=DIR ps documentation [DOCDIR]
1613 --x-includes=DIR X include files are
in DIR
1614 --x-libraries=DIR X library files are
in DIR
1617 --build=BUILD configure
for building on BUILD
[guessed
]
1618 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1619 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1623 if test -n "$ac_init_help"; then
1624 case $ac_init_help in
1625 short
| recursive
) echo "Configuration of wxWidgets 2.9.0:";;
1630 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1631 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1632 --enable-gui use GUI classes
1633 --enable-monolithic build wxWidgets as single library
1634 --enable-plugins build parts of wxWidgets as loadable components
1635 --enable-universal use wxWidgets GUI controls instead of native ones
1636 --enable-nanox use NanoX
1637 --disable-gtk2 use GTK
+ 1.2 instead of
2.0
1638 --enable-gpe use GNOME PDA Environment features
if possible
1639 --enable-shared create shared library code
1640 --enable-optimise create optimised code
1641 --enable-debug same as debug_flag and debug_info
1642 --enable-stl use STL
for containers
1643 --enable-extended_rtti use extended RTTI
(XTI
)
1644 --enable-omf use OMF object format
1645 --enable-debug_flag set __WXDEBUG__ flag
(recommended
for developers
!)
1646 --enable-debug_info create code with debugging information
1647 --enable-debug_gdb create code with extra GDB debugging information
1648 --enable-debug_cntxt use wxDebugContext
1649 --enable-mem_tracing create code with memory tracing
1650 --enable-profile create code with profiling information
1651 --enable-no_rtti create code without RTTI information
1652 --enable-no_exceptions create code without C
++ exceptions handling
1653 --enable-permissive compile code disregarding strict ANSI
1654 --enable-no_deps create code without dependency information
1655 --disable-vararg_macros don
't use vararg macros, even if they are supported
1656 --enable-universal_binary[=SDK] create Mac PowerPC and Intel Universal binary (not yet working)
1657 --enable-compat26 enable wxWidgets 2.6 compatibility
1658 --disable-compat28 disable wxWidgets 2.8 compatibility
1659 --disable-rpath disable use of rpath for uninstalled builds
1660 --enable-intl use internationalization system
1661 --enable-config use wxConfig (and derived) classes
1662 --enable-protocols use wxProtocol and derived classes
1663 --enable-ftp use wxFTP (requires wxProtocol
1664 --enable-http use wxHTTP (requires wxProtocol
1665 --enable-fileproto use wxFileProto class (requires wxProtocol
1666 --enable-sockets use socket/network classes
1667 --enable-ole use OLE classes (Win32 only)
1668 --enable-dataobj use data object classes
1669 --enable-ipc use interprocess communication (wxSocket etc.)
1670 --enable-apple_ieee use the Apple IEEE codec
1671 --enable-arcstream use wxArchive streams
1672 --enable-backtrace use wxStackWalker class for getting backtraces
1673 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1674 --enable-cmdline use wxCmdLineParser class
1675 --enable-datetime use wxDateTime class
1676 --enable-debugreport use wxDebugReport class
1677 --enable-dialupman use dialup network classes
1678 --enable-dynlib use wxLibrary class for DLL loading
1679 --enable-dynamicloader use (new) wxDynamicLibrary class
1680 --enable-exceptions build exception-safe library
1681 --enable-ffile use wxFFile class
1682 --enable-file use wxFile class
1683 --enable-filesystem use virtual file systems classes
1684 --enable-fontmap use font encodings conversion classes
1685 --enable-fs_archive use virtual archive filesystems
1686 --enable-fs_inet use virtual HTTP/FTP filesystems
1687 --enable-fs_zip now replaced by fs_archive
1688 --enable-geometry use geometry class
1689 --enable-log use logging system
1690 --enable-longlong use wxLongLong class
1691 --enable-mimetype use wxMimeTypesManager
1692 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1693 --enable-utf8 use UTF-8 representation for strings (Unix only)
1694 --enable-snglinst use wxSingleInstanceChecker class
1695 --enable-std_iostreams use standard C++ stream classes
1696 --enable-std_string use standard C++ string classes
1697 --enable-stdpaths use wxStandardPaths class
1698 --enable-stopwatch use wxStopWatch class
1699 --enable-streams use wxStream etc classes
1700 --enable-sysoptions use wxSystemOptions
1701 --enable-tarstream use wxTar streams
1702 --enable-textbuf use wxTextBuffer class
1703 --enable-textfile use wxTextFile class
1704 --enable-timer use wxTimer class
1705 --enable-unicode compile wxString with Unicode support
1706 --enable-sound use wxSound class
1707 --enable-mediactrl use wxMediaCtrl class
1708 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1709 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1710 --enable-zipstream use wxZip streams
1711 --enable-url use wxURL class
1712 --enable-variant use wxVariant class
1713 --enable-protocol use wxProtocol class
1714 --enable-protocol-http HTTP support in wxProtocol
1715 --enable-protocol-ftp FTP support in wxProtocol
1716 --enable-protocol-file FILE support in wxProtocol
1717 --enable-threads use threads
1718 --enable-docview use document view architecture
1719 --enable-help use help subsystem
1720 --enable-mshtmlhelp use MS HTML Help (win32)
1721 --enable-html use wxHTML sub-library
1722 --enable-htmlhelp use wxHTML-based help
1723 --enable-xrc use XRC resources sub-library
1724 --enable-aui use AUI docking library
1725 --enable-stc use wxStyledTextCtrl library
1726 --enable-constraints use layout-constraints system
1727 --enable-printarch use printing architecture
1728 --enable-mdi use multiple document interface architecture
1729 --enable-mdidoc use docview architecture with MDI
1730 --enable-loggui use standard GUI logger
1731 --enable-logwin use wxLogWindow
1732 --enable-logdialog use wxLogDialog
1733 --enable-webkit use wxWebKitCtrl (Mac)
1734 --enable-richtext use wxRichTextCtrl
1735 --enable-graphics_ctx use graphics context 2D drawing API
1736 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1737 --enable-clipboard use wxClipboard class
1738 --enable-dnd use Drag'n
'Drop classes
1739 --enable-metafile use win32 metafiles
1740 --enable-controls use all usual controls
1741 --enable-accel use accelerators
1742 --enable-animatectrl use wxAnimationCtrl class
1743 --enable-button use wxButton class
1744 --enable-bmpbutton use wxBitmapButton class
1745 --enable-bmpcombobox use wxBitmapComboBox class
1746 --enable-calendar use wxCalendarCtrl class
1747 --enable-caret use wxCaret class
1748 --enable-checkbox use wxCheckBox class
1749 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1750 --enable-choice use wxChoice class
1751 --enable-choicebook use wxChoicebook class
1752 --enable-collpane use wxCollapsiblePane class
1753 --enable-colourpicker use wxColourPickerCtrl class
1754 --enable-combobox use wxComboBox class
1755 --enable-comboctrl use wxComboCtrl class
1756 --enable-datepick use wxDatePickerCtrl class
1757 --enable-dirpicker use wxDirPickerCtrl class
1758 --enable-display use wxDisplay class
1759 --enable-detect_sm use code to detect X11 session manager
1760 --enable-filepicker use wxFilePickerCtrl class
1761 --enable-fontpicker use wxFontPickerCtrl class
1762 --enable-gauge use wxGauge class
1763 --enable-grid use wxGrid class
1764 --enable-dataviewctrl use wxDataViewCtrl class
1765 --enable-hyperlink use wxHyperlinkCtrl class
1766 --enable-imaglist use wxImageList class
1767 --enable-listbook use wxListbook class
1768 --enable-listbox use wxListBox class
1769 --enable-listctrl use wxListCtrl class
1770 --enable-notebook use wxNotebook class
1771 --enable-odcombobox use wxOwnerDrawnComboBox class
1772 --enable-radiobox use wxRadioBox class
1773 --enable-radiobtn use wxRadioButton class
1774 --enable-sash use wxSashWindow class
1775 --enable-scrollbar use wxScrollBar class and scrollable windows
1776 --enable-searchctrl use wxSearchCtrl class
1777 --enable-slider use wxSlider class
1778 --enable-spinbtn use wxSpinButton class
1779 --enable-spinctrl use wxSpinCtrl class
1780 --enable-splitter use wxSplitterWindow class
1781 --enable-statbmp use wxStaticBitmap class
1782 --enable-statbox use wxStaticBox class
1783 --enable-statline use wxStaticLine class
1784 --enable-stattext use wxStaticText class
1785 --enable-statusbar use wxStatusBar class
1786 --enable-tabdialog use wxTabControl class
1787 --enable-textctrl use wxTextCtrl class
1788 --enable-togglebtn use wxToggleButton class
1789 --enable-toolbar use wxToolBar class
1790 --enable-tbarnative use native wxToolBar class
1791 --enable-treebook use wxTreebook class
1792 --enable-toolbook use wxToolbook class
1793 --enable-treectrl use wxTreeCtrl class
1794 --enable-tipwindow use wxTipWindow class
1795 --enable-popupwin use wxPopUpWindow class
1796 --enable-commondlg use all common dialogs
1797 --enable-aboutdlg use wxAboutBox
1798 --enable-choicedlg use wxChoiceDialog
1799 --enable-coldlg use wxColourDialog
1800 --enable-filedlg use wxFileDialog
1801 --enable-finddlg use wxFindReplaceDialog
1802 --enable-fontdlg use wxFontDialog
1803 --enable-dirdlg use wxDirDialog
1804 --enable-msgdlg use wxMessageDialog
1805 --enable-numberdlg use wxNumberEntryDialog
1806 --enable-splash use wxSplashScreen
1807 --enable-textdlg use wxTextDialog
1808 --enable-tipdlg use startup tips
1809 --enable-progressdlg use wxProgressDialog
1810 --enable-wizarddlg use wxWizard
1811 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1812 --enable-miniframe use wxMiniFrame class
1813 --enable-tooltips use wxToolTip class
1814 --enable-splines use spline drawing code
1815 --enable-mousewheel use mousewheel
1816 --enable-validators use wxValidator and derived classes
1817 --enable-busyinfo use wxBusyInfo
1818 --enable-joystick use wxJoystick
1819 --enable-metafiles use wxMetaFile (Win32 only)
1820 --enable-dragimage use wxDragImage
1821 --enable-accessibility enable accessibility support
1822 --enable-dccache cache temporary wxDC objects (Win32 only)
1823 --enable-palette use wxPalette class
1824 --enable-image use wxImage class
1825 --enable-gif use gif images (GIF file format)
1826 --enable-pcx use pcx images (PCX file format)
1827 --enable-tga use tga images (TGA file format)
1828 --enable-iff use iff images (IFF file format)
1829 --enable-pnm use pnm images (PNM file format)
1830 --enable-xpm use xpm images (XPM file format)
1831 --enable-icocur use Windows ICO and CUR formats
1832 --enable-official_build official build of wxWidgets (win32 DLL only)
1833 --enable-vendor=VENDOR vendor name (win32 DLL only)
1834 --disable-largefile omit support for large files
1835 --disable-gtktest do not try to compile and run a test GTK+ program
1836 --disable-gtktest Do not try to compile and run a test GTK program
1837 --disable-sdltest Do not try to compile and run a test SDL program
1838 --enable-omf use OMF object format (OS/2)
1839 --disable-dependency-tracking
1840 don't use dependency tracking even
if the compiler
1842 --disable-precomp-headers
1843 don
't use precompiled headers even if compiler can
1846 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1847 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1848 --without-subdirs don't generate makefiles
for samples
/demos
/...
1849 --with-gtk[=VERSION
] use GTK
+, VERSION can be
2 (default
), 1 or
"any"
1850 --with-motif use Motif
/Lesstif
1851 --with-mac use Mac OS X
1852 --with-cocoa use Cocoa
1853 --with-wine use Wine
1854 --with-msw use MS
-Windows
1855 --with-pm use OS
/2 Presentation Manager
1856 --with-mgl use SciTech MGL
1857 --with-directfb use DirectFB
1858 --with-microwin use MicroWindows
1860 --with-libpng use libpng
(PNG image format
)
1861 --with-libjpeg use libjpeg
(JPEG
file format
)
1862 --with-libtiff use libtiff
(TIFF
file format
)
1863 --with-libxpm use libxpm
(XPM
file format
)
1864 --with-libmspack use libmspack
(CHM
help files loading
)
1865 --with-sdl use SDL
for audio on Unix
1866 --with-gnomeprint use GNOME print
for printing under GNOME
1867 --with-gnomevfs use GNOME VFS
for associating MIME types
1868 --with-hildon use Hildon framework
for Nokia
770
1869 --with-opengl use OpenGL
(or Mesa
)
1870 --with-themes=all
|list use only the specified comma
-separated list of wxUniversal themes
1871 --with-dmalloc use dmalloc library
(http
://dmalloc.com
/)
1872 --with-regex enable support
for wxRegEx class
1873 --with-zlib use zlib
for LZW compression
1874 --with-odbc use the IODBC and wxODBC classes
1875 --with-expat enable XML support using expat parser
1876 --with-flavour=NAME specify a name to identify this build
1877 --with-gtk-prefix=PFX Prefix where GTK is installed
(optional
)
1878 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed
(optional
)
1879 --with-x use the X Window System
1880 --with-libiconv-prefix=DIR search
for libiconv
in DIR
/include and DIR
/lib
1881 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1882 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1883 --with-cppunit-prefix=PFX Prefix where CppUnit is installed
(optional
)
1884 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed
(optional
)
1886 Some influential environment variables
:
1887 CC C compiler
command
1888 CFLAGS C compiler flags
1889 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1890 nonstandard directory
<lib dir
>
1891 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1892 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1893 you have headers
in a nonstandard directory
<include dir
>
1895 CXX C
++ compiler
command
1896 CXXFLAGS C
++ compiler flags
1897 PKG_CONFIG path to pkg
-config utility
1899 C compiler flags
for DIRECTFB
, overriding pkg
-config
1901 linker flags
for DIRECTFB
, overriding pkg
-config
1902 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1904 C compiler flags
for PANGOX
, overriding pkg
-config
1905 PANGOX_LIBS linker flags
for PANGOX
, overriding pkg
-config
1907 C compiler flags
for PANGOFT2
, overriding pkg
-config
1909 linker flags
for PANGOFT2
, overriding pkg
-config
1911 C compiler flags
for PANGOXFT
, overriding pkg
-config
1913 linker flags
for PANGOXFT
, overriding pkg
-config
1914 LIBGNOMEPRINTUI_CFLAGS
1915 C compiler flags
for LIBGNOMEPRINTUI
, overriding pkg
-config
1916 LIBGNOMEPRINTUI_LIBS
1917 linker flags
for LIBGNOMEPRINTUI
, overriding pkg
-config
1919 C compiler flags
for GNOMEVFS
, overriding pkg
-config
1921 linker flags
for GNOMEVFS
, overriding pkg
-config
1923 C compiler flags
for HILDON
, overriding pkg
-config
1924 HILDON_LIBS linker flags
for HILDON
, overriding pkg
-config
1926 C compiler flags
for CAIRO
, overriding pkg
-config
1927 CAIRO_LIBS linker flags
for CAIRO
, overriding pkg
-config
1928 GST_CFLAGS C compiler flags
for GST
, overriding pkg
-config
1929 GST_LIBS linker flags
for GST
, overriding pkg
-config
1931 Use these variables to override the choices made by
`configure' or to help
1932 it to find libraries and programs with nonstandard names/locations.
1934 Report bugs to <wx-dev@lists.wxwidgets.org>.
1939 if test "$ac_init_help" = "recursive"; then
1940 # If there are subdirs, report their specific --help.
1941 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1942 test -d "$ac_dir" || continue
1946 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1948 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1949 # A ".." for each directory in $ac_dir_suffix.
1950 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1951 case $ac_top_builddir_sub in
1952 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1953 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1956 ac_abs_top_builddir=$ac_pwd
1957 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1958 # for backward compatibility:
1959 ac_top_builddir=$ac_top_build_prefix
1962 .) # We are building in place.
1964 ac_top_srcdir=$ac_top_builddir_sub
1965 ac_abs_top_srcdir=$ac_pwd ;;
1966 [\\/]* | ?:[\\/]* ) # Absolute name.
1967 ac_srcdir=$srcdir$ac_dir_suffix;
1968 ac_top_srcdir=$srcdir
1969 ac_abs_top_srcdir=$srcdir ;;
1971 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1972 ac_top_srcdir=$ac_top_build_prefix$srcdir
1973 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1975 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1977 cd "$ac_dir" || { ac_status=$?; continue; }
1978 # Check for guested configure.
1979 if test -f "$ac_srcdir/configure.gnu"; then
1981 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1982 elif test -f "$ac_srcdir/configure"; then
1984 $SHELL "$ac_srcdir/configure" --help=recursive
1986 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1988 cd "$ac_pwd" || { ac_status=$?; break; }
1992 test -n "$ac_init_help" && exit $ac_status
1993 if $ac_init_version; then
1995 wxWidgets configure 2.9.0
1996 generated by GNU Autoconf 2.61
1998 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1999 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2000 This configure script is free software; the Free Software Foundation
2001 gives unlimited permission to copy, distribute and modify it.
2005 cat >config.log <<_ACEOF
2006 This file contains any messages produced by compilers while
2007 running configure, to aid debugging if configure makes a mistake.
2009 It was created by wxWidgets $as_me 2.9.0, which was
2010 generated by GNU Autoconf 2.61. Invocation command line was
2022 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
2023 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
2024 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
2025 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
2026 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
2028 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
2029 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
2031 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
2032 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
2033 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
2034 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null
|| echo unknown
`
2035 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
2036 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
2037 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
2041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2045 test -z "$as_dir" && as_dir=.
2046 echo "PATH: $as_dir"
2062 # Keep a trace of the command line.
2063 # Strip out --no-create and --no-recursion so they do not pile up.
2064 # Strip out --silent because we don't want to record it for future runs.
2065 # Also quote any args containing shell meta-characters.
2066 # Make two passes to allow for proper duplicate-argument suppression.
2070 ac_must_keep_next=false
2076 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2077 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2078 | -silent | --silent | --silen | --sile | --sil)
2081 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2084 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2086 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2087 if test $ac_must_keep_next = true; then
2088 ac_must_keep_next=false # Got value, back to normal.
2091 *=* | --config-cache | -C | -disable-* | --disable-* \
2092 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2093 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2094 | -with-* | --with-* | -without-* | --without-* | --x)
2095 case "$ac_configure_args0 " in
2096 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2099 -* ) ac_must_keep_next=true ;;
2102 ac_configure_args="$ac_configure_args '$ac_arg'"
2107 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2108 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2110 # When interrupted or exit'd, cleanup temporary files, and complete
2111 # config.log. We remove comments because anyway the quotes in there
2112 # would cause problems or look ugly.
2113 # WARNING: Use '\'' to represent an apostrophe within the trap.
2114 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2115 trap 'exit_status=$?
2116 # Save into config.log some information that might help in debugging.
2121 ## ---------------- ##
2122 ## Cache variables. ##
2123 ## ---------------- ##
2126 # The following way of writing the cache mishandles newlines in values,
2128 for ac_var in `(set) 2>&1 | sed -n '\''s
/^\
([a
-zA-Z_][a
-zA-Z0-9_]*\
)=.
*/\
1/p
'\''`; do
2129 eval ac_val=\$$ac_var
2133 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2134 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2137 _ | IFS | as_nl) ;; #(
2138 *) $as_unset $ac_var ;;
2143 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2144 *${as_nl}ac_space=\ *)
2146 "s/'\''/'\''\\\\'\'''\''/g;
2147 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2150 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2158 ## ----------------- ##
2159 ## Output variables. ##
2160 ## ----------------- ##
2163 for ac_var in $ac_subst_vars
2165 eval ac_val=\$$ac_var
2167 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2169 echo "$ac_var='\''$ac_val'\''"
2173 if test -n "$ac_subst_files"; then
2175 ## ------------------- ##
2176 ## File substitutions. ##
2177 ## ------------------- ##
2180 for ac_var in $ac_subst_files
2182 eval ac_val=\$$ac_var
2184 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2186 echo "$ac_var='\''$ac_val'\''"
2191 if test -s confdefs.h; then
2201 test "$ac_signal" != 0 &&
2202 echo "$as_me: caught signal $ac_signal"
2203 echo "$as_me: exit $exit_status"
2205 rm -f core *.core core.conftest.* &&
2206 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2209 for ac_signal in 1 2 13 15; do
2210 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2214 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2215 rm -f -r conftest* confdefs.h
2217 # Predefined preprocessor variables.
2219 cat >>confdefs.h <<_ACEOF
2220 #define PACKAGE_NAME "$PACKAGE_NAME"
2224 cat >>confdefs.h <<_ACEOF
2225 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2229 cat >>confdefs.h <<_ACEOF
2230 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2234 cat >>confdefs.h <<_ACEOF
2235 #define PACKAGE_STRING "$PACKAGE_STRING"
2239 cat >>confdefs.h <<_ACEOF
2240 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2244 # Let the site file select an alternate cache file if it wants to.
2245 # Prefer explicitly selected file to automatically selected ones.
2246 if test -n "$CONFIG_SITE"; then
2247 set x "$CONFIG_SITE"
2248 elif test "x$prefix" != xNONE; then
2249 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2251 set x "$ac_default_prefix/share/config.site" \
2252 "$ac_default_prefix/etc/config.site"
2257 if test -r "$ac_site_file"; then
2258 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2259 echo "$as_me: loading site script $ac_site_file" >&6;}
2260 sed 's/^/| /' "$ac_site_file" >&5
2265 if test -r "$cache_file"; then
2266 # Some versions of bash will fail to source /dev/null (special
2267 # files actually), so we avoid doing that.
2268 if test -f "$cache_file"; then
2269 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2270 echo "$as_me: loading cache $cache_file" >&6;}
2272 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2273 *) . "./$cache_file";;
2277 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2278 echo "$as_me: creating cache $cache_file" >&6;}
2282 # Check that the precious variables saved in the cache have kept the same
2284 ac_cache_corrupted=false
2285 for ac_var in $ac_precious_vars; do
2286 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2287 eval ac_new_set=\$ac_env_${ac_var}_set
2288 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2289 eval ac_new_val=\$ac_env_${ac_var}_value
2290 case $ac_old_set,$ac_new_set in
2292 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2293 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2294 ac_cache_corrupted=: ;;
2296 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
2297 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2298 ac_cache_corrupted=: ;;
2301 if test "x$ac_old_val" != "x$ac_new_val"; then
2302 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2303 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2304 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
2305 echo "$as_me: former value
: $ac_old_val" >&2;}
2306 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
2307 echo "$as_me: current value
: $ac_new_val" >&2;}
2308 ac_cache_corrupted=:
2311 # Pass precious variables to config.status.
2312 if test "$ac_new_set" = set; then
2314 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2315 *) ac_arg=$ac_var=$ac_new_val ;;
2317 case " $ac_configure_args " in
2318 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2319 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2323 if $ac_cache_corrupted; then
2324 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
2325 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
2326 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
2327 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
2328 { (exit 1); exit 1; }; }
2356 ac_cpp='$CPP $CPPFLAGS'
2357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2366 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2367 if test -f "$ac_dir/install-sh"; then
2369 ac_install_sh="$ac_aux_dir/install-sh -c"
2371 elif test -f "$ac_dir/install.sh"; then
2373 ac_install_sh="$ac_aux_dir/install.sh -c"
2375 elif test -f "$ac_dir/shtool"; then
2377 ac_install_sh="$ac_aux_dir/shtool install -c"
2381 if test -z "$ac_aux_dir"; then
2382 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2383 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2384 { (exit 1); exit 1; }; }
2387 # These three variables are undocumented and unsupported,
2388 # and are intended to be withdrawn in a future Autoconf release.
2389 # They can cause serious problems if a builder's source tree is in a directory
2390 # whose full name contains unusual characters.
2391 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2392 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2393 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2396 # Make sure we can run config.sub.
2397 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2398 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2399 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2400 { (exit 1); exit 1; }; }
2402 { echo "$as_me:$LINENO: checking build system type" >&5
2403 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2404 if test "${ac_cv_build+set}" = set; then
2405 echo $ECHO_N "(cached) $ECHO_C" >&6
2407 ac_build_alias=$build_alias
2408 test "x$ac_build_alias" = x &&
2409 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2410 test "x$ac_build_alias" = x &&
2411 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2412 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2413 { (exit 1); exit 1; }; }
2414 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2415 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2416 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2417 { (exit 1); exit 1; }; }
2420 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2421 echo "${ECHO_T}$ac_cv_build" >&6; }
2422 case $ac_cv_build in
2424 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2425 echo "$as_me: error: invalid value of canonical build" >&2;}
2426 { (exit 1); exit 1; }; };;
2429 ac_save_IFS=$IFS; IFS='-'
2435 # Remember, the first character of IFS is used to create $*,
2436 # except with old shells:
2439 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2442 { echo "$as_me:$LINENO: checking host system type" >&5
2443 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2444 if test "${ac_cv_host+set}" = set; then
2445 echo $ECHO_N "(cached) $ECHO_C" >&6
2447 if test "x$host_alias" = x; then
2448 ac_cv_host=$ac_cv_build
2450 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2451 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2452 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2453 { (exit 1); exit 1; }; }
2457 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2458 echo "${ECHO_T}$ac_cv_host" >&6; }
2461 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2462 echo "$as_me: error: invalid value of canonical host" >&2;}
2463 { (exit 1); exit 1; }; };;
2466 ac_save_IFS=$IFS; IFS='-'
2472 # Remember, the first character of IFS is used to create $*,
2473 # except with old shells:
2476 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2479 { echo "$as_me:$LINENO: checking target system type" >&5
2480 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2481 if test "${ac_cv_target+set}" = set; then
2482 echo $ECHO_N "(cached) $ECHO_C" >&6
2484 if test "x$target_alias" = x; then
2485 ac_cv_target=$ac_cv_host
2487 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2488 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2489 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2490 { (exit 1); exit 1; }; }
2494 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2495 echo "${ECHO_T}$ac_cv_target" >&6; }
2496 case $ac_cv_target in
2498 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2499 echo "$as_me: error: invalid value of canonical target" >&2;}
2500 { (exit 1); exit 1; }; };;
2502 target=$ac_cv_target
2503 ac_save_IFS=$IFS; IFS='-'
2509 # Remember, the first character of IFS is used to create $*,
2510 # except with old shells:
2513 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2516 # The aliases save the names the user supplied, while $host etc.
2517 # will get canonicalized.
2518 test -n "$target_alias" &&
2519 test "$program_prefix$program_suffix$program_transform_name" = \
2521 program_prefix=${target_alias}-
2525 wx_major_version_number=2
2526 wx_minor_version_number=9
2528 wx_subrelease_number=0
2530 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2531 WX_VERSION=$WX_RELEASE.$wx_release_number
2532 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2534 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2537 wx_top_builddir="`pwd`"
2550 USE_BSD= USE_DARWIN= USE_FREEBSD=
2556 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2562 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2564 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2566 DEFAULT_wxUSE_COCOA=0
2570 DEFAULT_wxUSE_MICROWIN=0
2571 DEFAULT_wxUSE_MOTIF=0
2577 DEFAULT_DEFAULT_wxUSE_COCOA=0
2578 DEFAULT_DEFAULT_wxUSE_GTK=0
2579 DEFAULT_DEFAULT_wxUSE_MAC=0
2580 DEFAULT_DEFAULT_wxUSE_MGL=0
2581 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2582 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2583 DEFAULT_DEFAULT_wxUSE_MSW=0
2584 DEFAULT_DEFAULT_wxUSE_PM=0
2585 DEFAULT_DEFAULT_wxUSE_X11=0
2586 DEFAULT_DEFAULT_wxUSE_DFB=0
2591 SAMPLES_RPATH_POSTLINK=
2593 DEFAULT_STD_FLAG=yes
2598 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2599 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2601 cat >>confdefs.h <<\_ACEOF
2606 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2610 cat >>confdefs.h <<\_ACEOF
2615 if test "x$TMP" = "xalpha"; then
2617 cat >>confdefs.h <<\_ACEOF
2622 DEFAULT_DEFAULT_wxUSE_GTK=1
2624 *-*-gnu* | *-*-k*bsd*-gnu )
2627 if test "x$TMP" = "xalpha"; then
2629 cat >>confdefs.h <<\_ACEOF
2634 DEFAULT_DEFAULT_wxUSE_GTK=1
2636 *-*-irix5* | *-*-irix6* )
2639 cat >>confdefs.h <<\_ACEOF
2643 cat >>confdefs.h <<\_ACEOF
2647 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2653 cat >>confdefs.h <<\_ACEOF
2657 cat >>confdefs.h <<\_ACEOF
2658 #define __SOLARIS__ 1
2661 cat >>confdefs.h <<\_ACEOF
2665 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2666 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2672 cat >>confdefs.h <<\_ACEOF
2676 cat >>confdefs.h <<\_ACEOF
2680 cat >>confdefs.h <<\_ACEOF
2684 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2689 cat >>confdefs.h <<\_ACEOF
2690 #define __FREEBSD__ 1
2693 cat >>confdefs.h <<\_ACEOF
2697 DEFAULT_DEFAULT_wxUSE_GTK=1
2699 *-*-openbsd*|*-*-mirbsd*)
2702 cat >>confdefs.h <<\_ACEOF
2703 #define __OPENBSD__ 1
2706 cat >>confdefs.h <<\_ACEOF
2710 DEFAULT_DEFAULT_wxUSE_GTK=1
2715 cat >>confdefs.h <<\_ACEOF
2716 #define __NETBSD__ 1
2719 cat >>confdefs.h <<\_ACEOF
2723 DEFAULT_DEFAULT_wxUSE_GTK=1
2724 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2726 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2731 cat >>confdefs.h <<\_ACEOF
2735 cat >>confdefs.h <<\_ACEOF
2739 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2740 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2745 cat >>confdefs.h <<\_ACEOF
2749 cat >>confdefs.h <<\_ACEOF
2753 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2758 cat >>confdefs.h <<\_ACEOF
2762 cat >>confdefs.h <<\_ACEOF
2766 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2773 cat >>confdefs.h <<\_ACEOF
2777 cat >>confdefs.h <<\_ACEOF
2781 cat >>confdefs.h <<\_ACEOF
2785 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2792 cat >>confdefs.h <<\_ACEOF
2793 #define __UNIXWARE__ 1
2798 *-*-cygwin* | *-*-mingw32* )
2801 DEFAULT_DEFAULT_wxUSE_MSW=1
2807 cat >>confdefs.h <<\_ACEOF
2812 DEFAULT_DEFAULT_wxUSE_MGL=1
2815 *-pc-os2_emx | *-pc-os2-emx )
2816 cat >>confdefs.h <<\_ACEOF
2821 cat >>confdefs.h <<\_ACEOF
2826 DEFAULT_DEFAULT_wxUSE_PM=1
2828 LDFLAGS="$LDFLAGS -Zcrtdll"
2829 ac_executable_extensions=".exe"
2830 export ac_executable_extensions
2834 for ac_dir in $PATH; do
2836 if test -z "$ac_TEMP_PATH"; then
2837 ac_TEMP_PATH="$ac_dir"
2839 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2842 export PATH="$ac_TEMP_PATH"
2851 cat >>confdefs.h <<\_ACEOF
2855 cat >>confdefs.h <<\_ACEOF
2856 #define __DARWIN__ 1
2859 cat >>confdefs.h <<\_ACEOF
2860 #define TARGET_CARBON 1
2863 DEFAULT_DEFAULT_wxUSE_MAC=1
2866 powerpc-apple-macos* )
2868 ac_cv_c_bigendian=yes
2870 DEFAULT_DEFAULT_wxUSE_MAC=1
2876 cat >>confdefs.h <<\_ACEOF
2883 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2884 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2885 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2886 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2888 DEFAULT_DEFAULT_wxUSE_X11=1
2889 DEFAULT_wxUSE_SHARED=no
2895 wx_arg_cache_file="configarg.cache"
2896 echo "loading argument cache $wx_arg_cache_file"
2897 rm -f ${wx_arg_cache_file}.tmp
2898 touch ${wx_arg_cache_file}.tmp
2899 touch ${wx_arg_cache_file}
2903 if test $DEBUG_CONFIGURE = 1; then
2904 DEFAULT_wxUSE_UNIVERSAL=no
2905 DEFAULT_wxUSE_STL=no
2906 DEFAULT_wxUSE_EXTENDED_RTTI=no
2908 DEFAULT_wxUSE_NANOX=no
2910 DEFAULT_wxUSE_THREADS=yes
2912 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2913 DEFAULT_wxUSE_OPTIMISE=no
2914 DEFAULT_wxUSE_PROFILE=no
2915 DEFAULT_wxUSE_NO_DEPS=no
2916 DEFAULT_wxUSE_VARARG_MACROS=no
2917 DEFAULT_wxUSE_NO_RTTI=no
2918 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2919 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2920 DEFAULT_wxUSE_RPATH=yes
2921 DEFAULT_wxUSE_PERMISSIVE=no
2922 DEFAULT_wxUSE_DEBUG_FLAG=yes
2923 DEFAULT_wxUSE_DEBUG_INFO=yes
2924 DEFAULT_wxUSE_DEBUG_GDB=yes
2925 DEFAULT_wxUSE_MEM_TRACING=no
2926 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2927 DEFAULT_wxUSE_DMALLOC=no
2928 DEFAULT_wxUSE_APPLE_IEEE=no
2930 DEFAULT_wxUSE_EXCEPTIONS=no
2931 DEFAULT_wxUSE_LOG=yes
2932 DEFAULT_wxUSE_LOGWINDOW=no
2933 DEFAULT_wxUSE_LOGGUI=no
2934 DEFAULT_wxUSE_LOGDIALOG=no
2936 DEFAULT_wxUSE_GUI=yes
2937 DEFAULT_wxUSE_CONTROLS=no
2939 DEFAULT_wxUSE_REGEX=no
2940 DEFAULT_wxUSE_XML=no
2941 DEFAULT_wxUSE_EXPAT=no
2942 DEFAULT_wxUSE_ZLIB=no
2943 DEFAULT_wxUSE_LIBPNG=no
2944 DEFAULT_wxUSE_LIBJPEG=no
2945 DEFAULT_wxUSE_LIBTIFF=no
2946 DEFAULT_wxUSE_LIBXPM=no
2947 DEFAULT_wxUSE_LIBMSPACK=no
2948 DEFAULT_wxUSE_LIBSDL=no
2949 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2950 DEFAULT_wxUSE_LIBGNOMEVFS=no
2951 DEFAULT_wxUSE_LIBHILDON=no
2952 DEFAULT_wxUSE_ODBC=no
2953 DEFAULT_wxUSE_OPENGL=no
2955 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2956 DEFAULT_wxUSE_STACKWALKER=no
2957 DEFAULT_wxUSE_DEBUGREPORT=no
2958 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2959 DEFAULT_wxUSE_STD_IOSTREAM=no
2960 DEFAULT_wxUSE_STD_STRING=no
2961 DEFAULT_wxUSE_CMDLINE_PARSER=no
2962 DEFAULT_wxUSE_DATETIME=no
2963 DEFAULT_wxUSE_TIMER=no
2964 DEFAULT_wxUSE_STOPWATCH=no
2965 DEFAULT_wxUSE_FILE=no
2966 DEFAULT_wxUSE_FFILE=no
2967 DEFAULT_wxUSE_STDPATHS=no
2968 DEFAULT_wxUSE_TEXTBUFFER=no
2969 DEFAULT_wxUSE_TEXTFILE=no
2970 DEFAULT_wxUSE_SOUND=no
2971 DEFAULT_wxUSE_MEDIACTRL=no
2972 DEFAULT_wxUSE_GSTREAMER8=no
2973 DEFAULT_wxUSE_PRINTF_POS_PARAMS=no
2974 DEFAULT_wxUSE_INTL=no
2975 DEFAULT_wxUSE_CONFIG=no
2976 DEFAULT_wxUSE_FONTMAP=no
2977 DEFAULT_wxUSE_STREAMS=no
2978 DEFAULT_wxUSE_SOCKETS=no
2979 DEFAULT_wxUSE_OLE=no
2980 DEFAULT_wxUSE_DATAOBJ=no
2981 DEFAULT_wxUSE_DIALUP_MANAGER=no
2982 DEFAULT_wxUSE_JOYSTICK=no
2983 DEFAULT_wxUSE_DYNLIB_CLASS=no
2984 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2985 DEFAULT_wxUSE_LONGLONG=no
2986 DEFAULT_wxUSE_GEOMETRY=no
2988 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2989 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2990 DEFAULT_wxUSE_POSTSCRIPT=no
2992 DEFAULT_wxUSE_CLIPBOARD=no
2993 DEFAULT_wxUSE_TOOLTIPS=no
2994 DEFAULT_wxUSE_DRAG_AND_DROP=no
2995 DEFAULT_wxUSE_DRAGIMAGE=no
2996 DEFAULT_wxUSE_SPLINES=no
2997 DEFAULT_wxUSE_MOUSEWHEEL=no
2999 DEFAULT_wxUSE_MDI=no
3000 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
3001 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
3002 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
3004 DEFAULT_wxUSE_CONSTRAINTS=no
3005 DEFAULT_wxUSE_IPC=no
3006 DEFAULT_wxUSE_HELP=no
3007 DEFAULT_wxUSE_MS_HTML_HELP=no
3008 DEFAULT_wxUSE_WXHTML_HELP=no
3009 DEFAULT_wxUSE_TREELAYOUT=no
3010 DEFAULT_wxUSE_METAFILE=no
3011 DEFAULT_wxUSE_MIMETYPE=no
3012 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
3013 DEFAULT_wxUSE_PROTOCOL=no
3014 DEFAULT_wxUSE_PROTOCOL_HTTP=no
3015 DEFAULT_wxUSE_PROTOCOL_FTP=no
3016 DEFAULT_wxUSE_PROTOCOL_FILE=no
3017 DEFAULT_wxUSE_URL=no
3018 DEFAULT_wxUSE_VARIANT=no
3020 DEFAULT_wxUSE_ABOUTDLG=no
3021 DEFAULT_wxUSE_COMMONDLGS=no
3022 DEFAULT_wxUSE_CHOICEDLG=no
3023 DEFAULT_wxUSE_COLOURDLG=no
3024 DEFAULT_wxUSE_DIRDLG=no
3025 DEFAULT_wxUSE_FILEDLG=no
3026 DEFAULT_wxUSE_FINDREPLDLG=no
3027 DEFAULT_wxUSE_FONTDLG=no
3028 DEFAULT_wxUSE_MSGDLG=no
3029 DEFAULT_wxUSE_NUMBERDLG=no
3030 DEFAULT_wxUSE_TEXTDLG=no
3031 DEFAULT_wxUSE_SPLASH=no
3032 DEFAULT_wxUSE_STARTUP_TIPS=no
3033 DEFAULT_wxUSE_PROGRESSDLG=no
3034 DEFAULT_wxUSE_WIZARDDLG=no
3036 DEFAULT_wxUSE_MENUS=no
3037 DEFAULT_wxUSE_MINIFRAME=no
3038 DEFAULT_wxUSE_HTML=no
3039 DEFAULT_wxUSE_RICHTEXT=no
3040 DEFAULT_wxUSE_XRC=no
3041 DEFAULT_wxUSE_AUI=no
3042 DEFAULT_wxUSE_STC=no
3043 DEFAULT_wxUSE_WEBKIT=no
3044 DEFAULT_wxUSE_FILESYSTEM=no
3045 DEFAULT_wxUSE_FS_INET=no
3046 DEFAULT_wxUSE_FS_ZIP=no
3047 DEFAULT_wxUSE_FS_ARCHIVE=no
3048 DEFAULT_wxUSE_BUSYINFO=no
3049 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
3050 DEFAULT_wxUSE_ZIPSTREAM=no
3051 DEFAULT_wxUSE_TARSTREAM=no
3052 DEFAULT_wxUSE_VALIDATORS=no
3054 DEFAULT_wxUSE_ACCEL=no
3055 DEFAULT_wxUSE_ANIMATIONCTRL=no
3056 DEFAULT_wxUSE_BUTTON=no
3057 DEFAULT_wxUSE_BMPBUTTON=no
3058 DEFAULT_wxUSE_BITMAPCOMBOBOX=no
3059 DEFAULT_wxUSE_CALCTRL=no
3060 DEFAULT_wxUSE_CARET=no
3061 DEFAULT_wxUSE_CHECKBOX=no
3062 DEFAULT_wxUSE_CHECKLST=no
3063 DEFAULT_wxUSE_CHOICE=no
3064 DEFAULT_wxUSE_CHOICEBOOK=no
3065 DEFAULT_wxUSE_COLLPANE=no
3066 DEFAULT_wxUSE_COLOURPICKERCTRL=no
3067 DEFAULT_wxUSE_COMBOBOX=no
3068 DEFAULT_wxUSE_COMBOCTRL=no
3069 DEFAULT_wxUSE_DATEPICKCTRL=no
3070 DEFAULT_wxUSE_DISPLAY=no
3071 DEFAULT_wxUSE_DETECT_SM=no
3072 DEFAULT_wxUSE_DIRPICKERCTRL=no
3073 DEFAULT_wxUSE_FILEPICKERCTRL=no
3074 DEFAULT_wxUSE_FONTPICKERCTRL=no
3075 DEFAULT_wxUSE_GAUGE=no
3076 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
3077 DEFAULT_wxUSE_GRID=no
3078 DEFAULT_wxUSE_HYPERLINKCTRL=no
3079 DEFAULT_wxUSE_DATAVIEWCTRL=no
3080 DEFAULT_wxUSE_IMAGLIST=no
3081 DEFAULT_wxUSE_LISTBOOK=no
3082 DEFAULT_wxUSE_LISTBOX=no
3083 DEFAULT_wxUSE_LISTCTRL=no
3084 DEFAULT_wxUSE_NOTEBOOK=no
3085 DEFAULT_wxUSE_ODCOMBOBOX=no
3086 DEFAULT_wxUSE_RADIOBOX=no
3087 DEFAULT_wxUSE_RADIOBTN=no
3088 DEFAULT_wxUSE_SASH=no
3089 DEFAULT_wxUSE_SCROLLBAR=no
3090 DEFAULT_wxUSE_SEARCHCTRL=no
3091 DEFAULT_wxUSE_SLIDER=no
3092 DEFAULT_wxUSE_SPINBTN=no
3093 DEFAULT_wxUSE_SPINCTRL=no
3094 DEFAULT_wxUSE_SPLITTER=no
3095 DEFAULT_wxUSE_STATBMP=no
3096 DEFAULT_wxUSE_STATBOX=no
3097 DEFAULT_wxUSE_STATLINE=no
3098 DEFAULT_wxUSE_STATTEXT=no
3099 DEFAULT_wxUSE_STATUSBAR=yes
3100 DEFAULT_wxUSE_TAB_DIALOG=no
3101 DEFAULT_wxUSE_TEXTCTRL=no
3102 DEFAULT_wxUSE_TOGGLEBTN=no
3103 DEFAULT_wxUSE_TOOLBAR=no
3104 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
3105 DEFAULT_wxUSE_TREEBOOK=no
3106 DEFAULT_wxUSE_TOOLBOOK=no
3107 DEFAULT_wxUSE_TREECTRL=no
3108 DEFAULT_wxUSE_POPUPWIN=no
3109 DEFAULT_wxUSE_TIPWINDOW=no
3111 DEFAULT_wxUSE_UNICODE=no
3112 DEFAULT_wxUSE_UNICODE_MSLU=no
3113 DEFAULT_wxUSE_UNICODE_UTF8=no
3114 DEFAULT_wxUSE_WCSRTOMBS=no
3116 DEFAULT_wxUSE_PALETTE=no
3117 DEFAULT_wxUSE_IMAGE=no
3118 DEFAULT_wxUSE_GIF=no
3119 DEFAULT_wxUSE_PCX=no
3120 DEFAULT_wxUSE_TGA=no
3121 DEFAULT_wxUSE_PNM=no
3122 DEFAULT_wxUSE_IFF=no
3123 DEFAULT_wxUSE_XPM=no
3124 DEFAULT_wxUSE_ICO_CUR=no
3125 DEFAULT_wxUSE_ACCESSIBILITY=no
3127 DEFAULT_wxUSE_MONOLITHIC=no
3128 DEFAULT_wxUSE_PLUGINS=no
3129 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3131 DEFAULT_wxUSE_UNIVERSAL=no
3132 DEFAULT_wxUSE_STL=no
3133 DEFAULT_wxUSE_EXTENDED_RTTI=no
3135 DEFAULT_wxUSE_NANOX=no
3137 DEFAULT_wxUSE_THREADS=yes
3139 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
3140 DEFAULT_wxUSE_OPTIMISE=yes
3141 DEFAULT_wxUSE_PROFILE=no
3142 DEFAULT_wxUSE_NO_DEPS=no
3143 DEFAULT_wxUSE_VARARG_MACROS=yes
3144 DEFAULT_wxUSE_NO_RTTI=no
3145 DEFAULT_wxUSE_NO_EXCEPTIONS=no
3146 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
3147 DEFAULT_wxUSE_RPATH=yes
3148 DEFAULT_wxUSE_PERMISSIVE=no
3149 DEFAULT_wxUSE_DEBUG_FLAG=no
3150 DEFAULT_wxUSE_DEBUG_INFO=no
3151 DEFAULT_wxUSE_DEBUG_GDB=no
3152 DEFAULT_wxUSE_MEM_TRACING=no
3153 DEFAULT_wxUSE_DEBUG_CONTEXT=no
3154 DEFAULT_wxUSE_DMALLOC=no
3155 DEFAULT_wxUSE_APPLE_IEEE=yes
3157 DEFAULT_wxUSE_EXCEPTIONS=yes
3158 DEFAULT_wxUSE_LOG=yes
3159 DEFAULT_wxUSE_LOGWINDOW=yes
3160 DEFAULT_wxUSE_LOGGUI=yes
3161 DEFAULT_wxUSE_LOGDIALOG=yes
3163 DEFAULT_wxUSE_GUI=yes
3165 DEFAULT_wxUSE_REGEX=yes
3166 DEFAULT_wxUSE_XML=yes
3167 DEFAULT_wxUSE_EXPAT=yes
3168 DEFAULT_wxUSE_ZLIB=yes
3169 DEFAULT_wxUSE_LIBPNG=yes
3170 DEFAULT_wxUSE_LIBJPEG=yes
3171 DEFAULT_wxUSE_LIBTIFF=yes
3172 DEFAULT_wxUSE_LIBXPM=yes
3173 DEFAULT_wxUSE_LIBMSPACK=yes
3174 DEFAULT_wxUSE_LIBSDL=no
3175 DEFAULT_wxUSE_LIBGNOMEPRINT=yes
3176 DEFAULT_wxUSE_LIBGNOMEVFS=no
3177 DEFAULT_wxUSE_LIBHILDON=no
3178 DEFAULT_wxUSE_ODBC=no
3179 DEFAULT_wxUSE_OPENGL=no
3181 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
3182 DEFAULT_wxUSE_STACKWALKER=yes
3183 DEFAULT_wxUSE_DEBUGREPORT=yes
3184 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
3185 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
3186 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
3187 DEFAULT_wxUSE_CMDLINE_PARSER=yes
3188 DEFAULT_wxUSE_DATETIME=yes
3189 DEFAULT_wxUSE_TIMER=yes
3190 DEFAULT_wxUSE_STOPWATCH=yes
3191 DEFAULT_wxUSE_FILE=yes
3192 DEFAULT_wxUSE_FFILE=yes
3193 DEFAULT_wxUSE_STDPATHS=yes
3194 DEFAULT_wxUSE_TEXTBUFFER=yes
3195 DEFAULT_wxUSE_TEXTFILE=yes
3196 DEFAULT_wxUSE_SOUND=yes
3197 DEFAULT_wxUSE_MEDIACTRL=no
3198 DEFAULT_wxUSE_GSTREAMER8=no
3199 DEFAULT_wxUSE_PRINTF_POS_PARAMS=yes
3200 DEFAULT_wxUSE_INTL=yes
3201 DEFAULT_wxUSE_CONFIG=yes
3202 DEFAULT_wxUSE_FONTMAP=yes
3203 DEFAULT_wxUSE_STREAMS=yes
3204 DEFAULT_wxUSE_SOCKETS=yes
3205 DEFAULT_wxUSE_OLE=yes
3206 DEFAULT_wxUSE_DATAOBJ=yes
3207 DEFAULT_wxUSE_DIALUP_MANAGER=yes
3208 DEFAULT_wxUSE_JOYSTICK=yes
3209 DEFAULT_wxUSE_DYNLIB_CLASS=yes
3210 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
3211 DEFAULT_wxUSE_LONGLONG=yes
3212 DEFAULT_wxUSE_GEOMETRY=yes
3214 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
3215 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
3216 DEFAULT_wxUSE_POSTSCRIPT=yes
3218 DEFAULT_wxUSE_CLIPBOARD=yes
3219 DEFAULT_wxUSE_TOOLTIPS=yes
3220 DEFAULT_wxUSE_DRAG_AND_DROP=yes
3221 DEFAULT_wxUSE_DRAGIMAGE=yes
3222 DEFAULT_wxUSE_SPLINES=yes
3223 DEFAULT_wxUSE_MOUSEWHEEL=yes
3225 DEFAULT_wxUSE_MDI=yes
3226 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
3227 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
3228 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
3230 DEFAULT_wxUSE_CONSTRAINTS=yes
3231 DEFAULT_wxUSE_IPC=yes
3232 DEFAULT_wxUSE_HELP=yes
3233 DEFAULT_wxUSE_MS_HTML_HELP=yes
3234 DEFAULT_wxUSE_WXHTML_HELP=yes
3235 DEFAULT_wxUSE_TREELAYOUT=yes
3236 DEFAULT_wxUSE_METAFILE=yes
3237 DEFAULT_wxUSE_MIMETYPE=yes
3238 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
3239 DEFAULT_wxUSE_PROTOCOL=yes
3240 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
3241 DEFAULT_wxUSE_PROTOCOL_FTP=yes
3242 DEFAULT_wxUSE_PROTOCOL_FILE=yes
3243 DEFAULT_wxUSE_URL=yes
3244 DEFAULT_wxUSE_VARIANT=yes
3246 DEFAULT_wxUSE_ABOUTDLG=yes
3247 DEFAULT_wxUSE_COMMONDLGS=yes
3248 DEFAULT_wxUSE_CHOICEDLG=yes
3249 DEFAULT_wxUSE_COLOURDLG=yes
3250 DEFAULT_wxUSE_DIRDLG=yes
3251 DEFAULT_wxUSE_FILEDLG=yes
3252 DEFAULT_wxUSE_FINDREPLDLG=yes
3253 DEFAULT_wxUSE_FONTDLG=yes
3254 DEFAULT_wxUSE_MSGDLG=yes
3255 DEFAULT_wxUSE_NUMBERDLG=yes
3256 DEFAULT_wxUSE_TEXTDLG=yes
3257 DEFAULT_wxUSE_SPLASH=yes
3258 DEFAULT_wxUSE_STARTUP_TIPS=yes
3259 DEFAULT_wxUSE_PROGRESSDLG=yes
3260 DEFAULT_wxUSE_WIZARDDLG=yes
3262 DEFAULT_wxUSE_MENUS=yes
3263 DEFAULT_wxUSE_MINIFRAME=yes
3264 DEFAULT_wxUSE_HTML=yes
3265 DEFAULT_wxUSE_RICHTEXT=yes
3266 DEFAULT_wxUSE_XRC=yes
3267 DEFAULT_wxUSE_AUI=yes
3268 DEFAULT_wxUSE_STC=yes
3269 DEFAULT_wxUSE_WEBKIT=yes
3270 DEFAULT_wxUSE_FILESYSTEM=yes
3271 DEFAULT_wxUSE_FS_INET=yes
3272 DEFAULT_wxUSE_FS_ZIP=yes
3273 DEFAULT_wxUSE_FS_ARCHIVE=yes
3274 DEFAULT_wxUSE_BUSYINFO=yes
3275 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
3276 DEFAULT_wxUSE_ZIPSTREAM=yes
3277 DEFAULT_wxUSE_TARSTREAM=yes
3278 DEFAULT_wxUSE_VALIDATORS=yes
3280 DEFAULT_wxUSE_ACCEL=yes
3281 DEFAULT_wxUSE_ANIMATIONCTRL=yes
3282 DEFAULT_wxUSE_BUTTON=yes
3283 DEFAULT_wxUSE_BMPBUTTON=yes
3284 DEFAULT_wxUSE_BITMAPCOMBOBOX=yes
3285 DEFAULT_wxUSE_CALCTRL=yes
3286 DEFAULT_wxUSE_CARET=yes
3287 DEFAULT_wxUSE_CHECKBOX=yes
3288 DEFAULT_wxUSE_CHECKLST=yes
3289 DEFAULT_wxUSE_CHOICE=yes
3290 DEFAULT_wxUSE_CHOICEBOOK=yes
3291 DEFAULT_wxUSE_COLLPANE=yes
3292 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
3293 DEFAULT_wxUSE_COMBOBOX=yes
3294 DEFAULT_wxUSE_COMBOCTRL=yes
3295 DEFAULT_wxUSE_DATEPICKCTRL=yes
3296 DEFAULT_wxUSE_DISPLAY=yes
3297 DEFAULT_wxUSE_DETECT_SM=yes
3298 DEFAULT_wxUSE_DIRPICKERCTRL=yes
3299 DEFAULT_wxUSE_FILEPICKERCTRL=yes
3300 DEFAULT_wxUSE_FONTPICKERCTRL=yes
3301 DEFAULT_wxUSE_GAUGE=yes
3302 DEFAULT_wxUSE_GRID=yes
3303 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
3304 DEFAULT_wxUSE_HYPERLINKCTRL=yes
3305 DEFAULT_wxUSE_DATAVIEWCTRL=no
3306 DEFAULT_wxUSE_IMAGLIST=yes
3307 DEFAULT_wxUSE_LISTBOOK=yes
3308 DEFAULT_wxUSE_LISTBOX=yes
3309 DEFAULT_wxUSE_LISTCTRL=yes
3310 DEFAULT_wxUSE_NOTEBOOK=yes
3311 DEFAULT_wxUSE_ODCOMBOBOX=yes
3312 DEFAULT_wxUSE_RADIOBOX=yes
3313 DEFAULT_wxUSE_RADIOBTN=yes
3314 DEFAULT_wxUSE_SASH=yes
3315 DEFAULT_wxUSE_SCROLLBAR=yes
3316 DEFAULT_wxUSE_SEARCHCTRL=yes
3317 DEFAULT_wxUSE_SLIDER=yes
3318 DEFAULT_wxUSE_SPINBTN=yes
3319 DEFAULT_wxUSE_SPINCTRL=yes
3320 DEFAULT_wxUSE_SPLITTER=yes
3321 DEFAULT_wxUSE_STATBMP=yes
3322 DEFAULT_wxUSE_STATBOX=yes
3323 DEFAULT_wxUSE_STATLINE=yes
3324 DEFAULT_wxUSE_STATTEXT=yes
3325 DEFAULT_wxUSE_STATUSBAR=yes
3326 DEFAULT_wxUSE_TAB_DIALOG=no
3327 DEFAULT_wxUSE_TEXTCTRL=yes
3328 DEFAULT_wxUSE_TOGGLEBTN=yes
3329 DEFAULT_wxUSE_TOOLBAR=yes
3330 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
3331 DEFAULT_wxUSE_TREEBOOK=yes
3332 DEFAULT_wxUSE_TOOLBOOK=yes
3333 DEFAULT_wxUSE_TREECTRL=yes
3334 DEFAULT_wxUSE_POPUPWIN=yes
3335 DEFAULT_wxUSE_TIPWINDOW=yes
3337 DEFAULT_wxUSE_UNICODE=no
3338 DEFAULT_wxUSE_UNICODE_MSLU=yes
3339 DEFAULT_wxUSE_UNICODE_UTF8=no
3340 DEFAULT_wxUSE_WCSRTOMBS=no
3342 DEFAULT_wxUSE_PALETTE=yes
3343 DEFAULT_wxUSE_IMAGE=yes
3344 DEFAULT_wxUSE_GIF=yes
3345 DEFAULT_wxUSE_PCX=yes
3346 DEFAULT_wxUSE_TGA=yes
3347 DEFAULT_wxUSE_IFF=no DEFAULT_wxUSE_PNM=yes
3348 DEFAULT_wxUSE_XPM=yes
3349 DEFAULT_wxUSE_ICO_CUR=yes
3350 DEFAULT_wxUSE_ACCESSIBILITY=no
3352 DEFAULT_wxUSE_MONOLITHIC=no
3353 DEFAULT_wxUSE_PLUGINS=no
3354 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3356 DEFAULT_wxUSE_GTK2=yes
3362 for toolkit in `echo $ALL_TOOLKITS`; do
3363 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
3364 if test "x$LINE" != "x" ; then
3365 has_toolkit_in_cache=1
3366 eval "DEFAULT_$LINE"
3367 eval "CACHE_$toolkit=1"
3369 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
3370 if test "x$LINE" != "x" ; then
3371 eval "DEFAULT_$LINE"
3379 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3380 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3382 # Check whether --enable-gui was given.
3383 if test "${enable_gui+set}" = set; then
3384 enableval=$enable_gui;
3385 if test "$enableval" = yes; then
3386 ac_cv_use_gui='wxUSE_GUI=yes'
3388 ac_cv_use_gui='wxUSE_GUI=no'
3393 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
3394 if test "x$LINE" != x ; then
3395 eval "DEFAULT_$LINE"
3400 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
3405 eval "$ac_cv_use_gui"
3406 if test "$no_cache" != 1; then
3407 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
3410 if test "$wxUSE_GUI" = yes; then
3411 { echo "$as_me:$LINENO: result: yes" >&5
3412 echo "${ECHO_T}yes" >&6; }
3414 { echo "$as_me:$LINENO: result: no" >&5
3415 echo "${ECHO_T}no" >&6; }
3420 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3421 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3423 # Check whether --enable-monolithic was given.
3424 if test "${enable_monolithic+set}" = set; then
3425 enableval=$enable_monolithic;
3426 if test "$enableval" = yes; then
3427 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3429 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3434 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
3435 if test "x$LINE" != x ; then
3436 eval "DEFAULT_$LINE"
3441 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
3446 eval "$ac_cv_use_monolithic"
3447 if test "$no_cache" != 1; then
3448 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
3451 if test "$wxUSE_MONOLITHIC" = yes; then
3452 { echo "$as_me:$LINENO: result: yes" >&5
3453 echo "${ECHO_T}yes" >&6; }
3455 { echo "$as_me:$LINENO: result: no" >&5
3456 echo "${ECHO_T}no" >&6; }
3461 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3462 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3464 # Check whether --enable-plugins was given.
3465 if test "${enable_plugins+set}" = set; then
3466 enableval=$enable_plugins;
3467 if test "$enableval" = yes; then
3468 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
3470 ac_cv_use_plugins='wxUSE_PLUGINS=no'
3475 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
3476 if test "x$LINE" != x ; then
3477 eval "DEFAULT_$LINE"
3482 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
3487 eval "$ac_cv_use_plugins"
3488 if test "$no_cache" != 1; then
3489 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
3492 if test "$wxUSE_PLUGINS" = yes; then
3493 { echo "$as_me:$LINENO: result: yes" >&5
3494 echo "${ECHO_T}yes" >&6; }
3496 { echo "$as_me:$LINENO: result: no" >&5
3497 echo "${ECHO_T}no" >&6; }
3502 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3503 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3506 # Check whether --with-subdirs was given.
3507 if test "${with_subdirs+set}" = set; then
3508 withval=$with_subdirs;
3509 if test "$withval" = yes; then
3510 ac_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3512 ac_cv_use_subdirs='wxWITH_SUBDIRS=no'
3517 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
3518 if test "x$LINE" != x ; then
3519 eval "DEFAULT_$LINE"
3524 ac_cv_use_subdirs='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
3529 eval "$ac_cv_use_subdirs"
3530 if test "$no_cache" != 1; then
3531 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
3534 if test "$wxWITH_SUBDIRS" = yes; then
3535 { echo "$as_me:$LINENO: result: yes" >&5
3536 echo "${ECHO_T}yes" >&6; }
3538 { echo "$as_me:$LINENO: result: no" >&5
3539 echo "${ECHO_T}no" >&6; }
3543 if test "$wxUSE_GUI" = "yes"; then
3547 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3548 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3550 # Check whether --enable-universal was given.
3551 if test "${enable_universal+set}" = set; then
3552 enableval=$enable_universal;
3553 if test "$enableval" = yes; then
3554 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
3556 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
3561 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
3562 if test "x$LINE" != x ; then
3563 eval "DEFAULT_$LINE"
3568 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
3573 eval "$ac_cv_use_universal"
3574 if test "$no_cache" != 1; then
3575 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
3578 if test "$wxUSE_UNIVERSAL" = yes; then
3579 { echo "$as_me:$LINENO: result: yes" >&5
3580 echo "${ECHO_T}yes" >&6; }
3582 { echo "$as_me:$LINENO: result: no" >&5
3583 echo "${ECHO_T}no" >&6; }
3587 # Check whether --with-gtk was given.
3588 if test "${with_gtk+set}" = set; then
3589 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3593 # Check whether --with-motif was given.
3594 if test "${with_motif+set}" = set; then
3595 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3599 # Check whether --with-mac was given.
3600 if test "${with_mac+set}" = set; then
3601 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3605 # Check whether --with-cocoa was given.
3606 if test "${with_cocoa+set}" = set; then
3607 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3611 # Check whether --with-wine was given.
3612 if test "${with_wine+set}" = set; then
3613 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3617 # Check whether --with-msw was given.
3618 if test "${with_msw+set}" = set; then
3619 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3623 # Check whether --with-pm was given.
3624 if test "${with_pm+set}" = set; then
3625 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3629 # Check whether --with-mgl was given.
3630 if test "${with_mgl+set}" = set; then
3631 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3635 # Check whether --with-directfb was given.
3636 if test "${with_directfb+set}" = set; then
3637 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3641 # Check whether --with-microwin was given.
3642 if test "${with_microwin+set}" = set; then
3643 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3647 # Check whether --with-x11 was given.
3648 if test "${with_x11+set}" = set; then
3649 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3654 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3655 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3657 # Check whether --enable-nanox was given.
3658 if test "${enable_nanox+set}" = set; then
3659 enableval=$enable_nanox;
3660 if test "$enableval" = yes; then
3661 ac_cv_use_nanox='wxUSE_NANOX=yes'
3663 ac_cv_use_nanox='wxUSE_NANOX=no'
3668 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
3669 if test "x$LINE" != x ; then
3670 eval "DEFAULT_$LINE"
3675 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
3680 eval "$ac_cv_use_nanox"
3681 if test "$no_cache" != 1; then
3682 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
3685 if test "$wxUSE_NANOX" = yes; then
3686 { echo "$as_me:$LINENO: result: yes" >&5
3687 echo "${ECHO_T}yes" >&6; }
3689 { echo "$as_me:$LINENO: result: no" >&5
3690 echo "${ECHO_T}no" >&6; }
3694 # Check whether --enable-gtk2 was given.
3695 if test "${enable_gtk2+set}" = set; then
3696 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3701 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3702 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3704 # Check whether --enable-gpe was given.
3705 if test "${enable_gpe+set}" = set; then
3706 enableval=$enable_gpe;
3707 if test "$enableval" = yes; then
3708 ac_cv_use_gpe='wxUSE_GPE=yes'
3710 ac_cv_use_gpe='wxUSE_GPE=no'
3715 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
3716 if test "x$LINE" != x ; then
3717 eval "DEFAULT_$LINE"
3722 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
3727 eval "$ac_cv_use_gpe"
3728 if test "$no_cache" != 1; then
3729 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
3732 if test "$wxUSE_GPE" = yes; then
3733 { echo "$as_me:$LINENO: result: yes" >&5
3734 echo "${ECHO_T}yes" >&6; }
3736 { echo "$as_me:$LINENO: result: no" >&5
3737 echo "${ECHO_T}no" >&6; }
3742 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3743 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3746 # Check whether --with-libpng was given.
3747 if test "${with_libpng+set}" = set; then
3748 withval=$with_libpng;
3749 if test "$withval" = yes; then
3750 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
3751 elif test "$withval" = no; then
3752 ac_cv_use_libpng='wxUSE_LIBPNG=no'
3753 elif test "$withval" = sys; then
3754 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
3755 elif test "$withval" = builtin; then
3756 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
3758 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3759 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3760 { (exit 1); exit 1; }; }
3765 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
3766 if test "x$LINE" != x ; then
3767 eval "DEFAULT_$LINE"
3772 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3777 eval "$ac_cv_use_libpng"
3778 if test "$no_cache" != 1; then
3779 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3782 if test "$wxUSE_LIBPNG" = yes; then
3783 { echo "$as_me:$LINENO: result: yes" >&5
3784 echo "${ECHO_T}yes" >&6; }
3785 elif test "$wxUSE_LIBPNG" = no; then
3786 { echo "$as_me:$LINENO: result: no" >&5
3787 echo "${ECHO_T}no" >&6; }
3788 elif test "$wxUSE_LIBPNG" = sys; then
3789 { echo "$as_me:$LINENO: result: system version" >&5
3790 echo "${ECHO_T}system version" >&6; }
3791 elif test "$wxUSE_LIBPNG" = builtin; then
3792 { echo "$as_me:$LINENO: result: builtin version" >&5
3793 echo "${ECHO_T}builtin version" >&6; }
3795 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3796 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3797 { (exit 1); exit 1; }; }
3801 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3802 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3805 # Check whether --with-libjpeg was given.
3806 if test "${with_libjpeg+set}" = set; then
3807 withval=$with_libjpeg;
3808 if test "$withval" = yes; then
3809 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3810 elif test "$withval" = no; then
3811 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3812 elif test "$withval" = sys; then
3813 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3814 elif test "$withval" = builtin; then
3815 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3817 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3818 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3819 { (exit 1); exit 1; }; }
3824 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3825 if test "x$LINE" != x ; then
3826 eval "DEFAULT_$LINE"
3831 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3836 eval "$ac_cv_use_libjpeg"
3837 if test "$no_cache" != 1; then
3838 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3841 if test "$wxUSE_LIBJPEG" = yes; then
3842 { echo "$as_me:$LINENO: result: yes" >&5
3843 echo "${ECHO_T}yes" >&6; }
3844 elif test "$wxUSE_LIBJPEG" = no; then
3845 { echo "$as_me:$LINENO: result: no" >&5
3846 echo "${ECHO_T}no" >&6; }
3847 elif test "$wxUSE_LIBJPEG" = sys; then
3848 { echo "$as_me:$LINENO: result: system version" >&5
3849 echo "${ECHO_T}system version" >&6; }
3850 elif test "$wxUSE_LIBJPEG" = builtin; then
3851 { echo "$as_me:$LINENO: result: builtin version" >&5
3852 echo "${ECHO_T}builtin version" >&6; }
3854 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3855 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3856 { (exit 1); exit 1; }; }
3860 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3861 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3864 # Check whether --with-libtiff was given.
3865 if test "${with_libtiff+set}" = set; then
3866 withval=$with_libtiff;
3867 if test "$withval" = yes; then
3868 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3869 elif test "$withval" = no; then
3870 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
3871 elif test "$withval" = sys; then
3872 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3873 elif test "$withval" = builtin; then
3874 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3876 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3877 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3878 { (exit 1); exit 1; }; }
3883 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3884 if test "x$LINE" != x ; then
3885 eval "DEFAULT_$LINE"
3890 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3895 eval "$ac_cv_use_libtiff"
3896 if test "$no_cache" != 1; then
3897 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3900 if test "$wxUSE_LIBTIFF" = yes; then
3901 { echo "$as_me:$LINENO: result: yes" >&5
3902 echo "${ECHO_T}yes" >&6; }
3903 elif test "$wxUSE_LIBTIFF" = no; then
3904 { echo "$as_me:$LINENO: result: no" >&5
3905 echo "${ECHO_T}no" >&6; }
3906 elif test "$wxUSE_LIBTIFF" = sys; then
3907 { echo "$as_me:$LINENO: result: system version" >&5
3908 echo "${ECHO_T}system version" >&6; }
3909 elif test "$wxUSE_LIBTIFF" = builtin; then
3910 { echo "$as_me:$LINENO: result: builtin version" >&5
3911 echo "${ECHO_T}builtin version" >&6; }
3913 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3914 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3915 { (exit 1); exit 1; }; }
3919 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3920 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3923 # Check whether --with-libxpm was given.
3924 if test "${with_libxpm+set}" = set; then
3925 withval=$with_libxpm;
3926 if test "$withval" = yes; then
3927 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
3928 elif test "$withval" = no; then
3929 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
3930 elif test "$withval" = sys; then
3931 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
3932 elif test "$withval" = builtin; then
3933 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3935 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3936 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3937 { (exit 1); exit 1; }; }
3942 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3943 if test "x$LINE" != x ; then
3944 eval "DEFAULT_$LINE"
3949 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3954 eval "$ac_cv_use_libxpm"
3955 if test "$no_cache" != 1; then
3956 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3959 if test "$wxUSE_LIBXPM" = yes; then
3960 { echo "$as_me:$LINENO: result: yes" >&5
3961 echo "${ECHO_T}yes" >&6; }
3962 elif test "$wxUSE_LIBXPM" = no; then
3963 { echo "$as_me:$LINENO: result: no" >&5
3964 echo "${ECHO_T}no" >&6; }
3965 elif test "$wxUSE_LIBXPM" = sys; then
3966 { echo "$as_me:$LINENO: result: system version" >&5
3967 echo "${ECHO_T}system version" >&6; }
3968 elif test "$wxUSE_LIBXPM" = builtin; then
3969 { echo "$as_me:$LINENO: result: builtin version" >&5
3970 echo "${ECHO_T}builtin version" >&6; }
3972 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3973 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3974 { (exit 1); exit 1; }; }
3979 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3980 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3983 # Check whether --with-libmspack was given.
3984 if test "${with_libmspack+set}" = set; then
3985 withval=$with_libmspack;
3986 if test "$withval" = yes; then
3987 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3989 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3994 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3995 if test "x$LINE" != x ; then
3996 eval "DEFAULT_$LINE"
4001 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
4006 eval "$ac_cv_use_libmspack"
4007 if test "$no_cache" != 1; then
4008 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
4011 if test "$wxUSE_LIBMSPACK" = yes; then
4012 { echo "$as_me:$LINENO: result: yes" >&5
4013 echo "${ECHO_T}yes" >&6; }
4015 { echo "$as_me:$LINENO: result: no" >&5
4016 echo "${ECHO_T}no" >&6; }
4021 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4022 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4025 # Check whether --with-sdl was given.
4026 if test "${with_sdl+set}" = set; then
4028 if test "$withval" = yes; then
4029 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
4031 ac_cv_use_sdl='wxUSE_LIBSDL=no'
4036 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
4037 if test "x$LINE" != x ; then
4038 eval "DEFAULT_$LINE"
4043 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
4048 eval "$ac_cv_use_sdl"
4049 if test "$no_cache" != 1; then
4050 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
4053 if test "$wxUSE_LIBSDL" = yes; then
4054 { echo "$as_me:$LINENO: result: yes" >&5
4055 echo "${ECHO_T}yes" >&6; }
4057 { echo "$as_me:$LINENO: result: no" >&5
4058 echo "${ECHO_T}no" >&6; }
4063 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
4064 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
4067 # Check whether --with-gnomeprint was given.
4068 if test "${with_gnomeprint+set}" = set; then
4069 withval=$with_gnomeprint;
4070 if test "$withval" = yes; then
4071 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
4073 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
4078 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
4079 if test "x$LINE" != x ; then
4080 eval "DEFAULT_$LINE"
4085 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
4090 eval "$ac_cv_use_gnomeprint"
4091 if test "$no_cache" != 1; then
4092 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
4095 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
4096 { echo "$as_me:$LINENO: result: yes" >&5
4097 echo "${ECHO_T}yes" >&6; }
4099 { echo "$as_me:$LINENO: result: no" >&5
4100 echo "${ECHO_T}no" >&6; }
4105 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
4106 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
4109 # Check whether --with-gnomevfs was given.
4110 if test "${with_gnomevfs+set}" = set; then
4111 withval=$with_gnomevfs;
4112 if test "$withval" = yes; then
4113 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4115 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4120 LINE=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
4121 if test "x$LINE" != x ; then
4122 eval "DEFAULT_$LINE"
4127 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
4132 eval "$ac_cv_use_gnomevfs"
4133 if test "$no_cache" != 1; then
4134 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
4137 if test "$wxUSE_LIBGNOMEVFS" = yes; then
4138 { echo "$as_me:$LINENO: result: yes" >&5
4139 echo "${ECHO_T}yes" >&6; }
4141 { echo "$as_me:$LINENO: result: no" >&5
4142 echo "${ECHO_T}no" >&6; }
4147 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4148 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4151 # Check whether --with-hildon was given.
4152 if test "${with_hildon+set}" = set; then
4153 withval=$with_hildon;
4154 if test "$withval" = yes; then
4155 ac_cv_use_hildon='wxUSE_LIBHILDON=yes'
4157 ac_cv_use_hildon='wxUSE_LIBHILDON=no'
4162 LINE=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
4163 if test "x$LINE" != x ; then
4164 eval "DEFAULT_$LINE"
4169 ac_cv_use_hildon='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
4174 eval "$ac_cv_use_hildon"
4175 if test "$no_cache" != 1; then
4176 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
4179 if test "$wxUSE_LIBHILDON" = yes; then
4180 { echo "$as_me:$LINENO: result: yes" >&5
4181 echo "${ECHO_T}yes" >&6; }
4183 { echo "$as_me:$LINENO: result: no" >&5
4184 echo "${ECHO_T}no" >&6; }
4189 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4190 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4193 # Check whether --with-opengl was given.
4194 if test "${with_opengl+set}" = set; then
4195 withval=$with_opengl;
4196 if test "$withval" = yes; then
4197 ac_cv_use_opengl='wxUSE_OPENGL=yes'
4199 ac_cv_use_opengl='wxUSE_OPENGL=no'
4204 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
4205 if test "x$LINE" != x ; then
4206 eval "DEFAULT_$LINE"
4211 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
4216 eval "$ac_cv_use_opengl"
4217 if test "$no_cache" != 1; then
4218 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
4221 if test "$wxUSE_OPENGL" = yes; then
4222 { echo "$as_me:$LINENO: result: yes" >&5
4223 echo "${ECHO_T}yes" >&6; }
4225 { echo "$as_me:$LINENO: result: no" >&5
4226 echo "${ECHO_T}no" >&6; }
4230 if test "$wxUSE_UNIVERSAL" = "yes"; then
4232 # Check whether --with-themes was given.
4233 if test "${with_themes+set}" = set; then
4234 withval=$with_themes; wxUNIV_THEMES="$withval"
4243 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4244 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4247 # Check whether --with-dmalloc was given.
4248 if test "${with_dmalloc+set}" = set; then
4249 withval=$with_dmalloc;
4250 if test "$withval" = yes; then
4251 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4253 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
4258 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
4259 if test "x$LINE" != x ; then
4260 eval "DEFAULT_$LINE"
4265 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
4270 eval "$ac_cv_use_dmalloc"
4271 if test "$no_cache" != 1; then
4272 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
4275 if test "$wxUSE_DMALLOC" = yes; then
4276 { echo "$as_me:$LINENO: result: yes" >&5
4277 echo "${ECHO_T}yes" >&6; }
4279 { echo "$as_me:$LINENO: result: no" >&5
4280 echo "${ECHO_T}no" >&6; }
4284 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4285 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4288 # Check whether --with-regex was given.
4289 if test "${with_regex+set}" = set; then
4290 withval=$with_regex;
4291 if test "$withval" = yes; then
4292 ac_cv_use_regex='wxUSE_REGEX=yes'
4293 elif test "$withval" = no; then
4294 ac_cv_use_regex='wxUSE_REGEX=no'
4295 elif test "$withval" = sys; then
4296 ac_cv_use_regex='wxUSE_REGEX=sys'
4297 elif test "$withval" = builtin; then
4298 ac_cv_use_regex='wxUSE_REGEX=builtin'
4300 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4301 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4302 { (exit 1); exit 1; }; }
4307 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
4308 if test "x$LINE" != x ; then
4309 eval "DEFAULT_$LINE"
4314 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
4319 eval "$ac_cv_use_regex"
4320 if test "$no_cache" != 1; then
4321 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
4324 if test "$wxUSE_REGEX" = yes; then
4325 { echo "$as_me:$LINENO: result: yes" >&5
4326 echo "${ECHO_T}yes" >&6; }
4327 elif test "$wxUSE_REGEX" = no; then
4328 { echo "$as_me:$LINENO: result: no" >&5
4329 echo "${ECHO_T}no" >&6; }
4330 elif test "$wxUSE_REGEX" = sys; then
4331 { echo "$as_me:$LINENO: result: system version" >&5
4332 echo "${ECHO_T}system version" >&6; }
4333 elif test "$wxUSE_REGEX" = builtin; then
4334 { echo "$as_me:$LINENO: result: builtin version" >&5
4335 echo "${ECHO_T}builtin version" >&6; }
4337 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4338 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4339 { (exit 1); exit 1; }; }
4343 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4344 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4347 # Check whether --with-zlib was given.
4348 if test "${with_zlib+set}" = set; then
4350 if test "$withval" = yes; then
4351 ac_cv_use_zlib='wxUSE_ZLIB=yes'
4352 elif test "$withval" = no; then
4353 ac_cv_use_zlib='wxUSE_ZLIB=no'
4354 elif test "$withval" = sys; then
4355 ac_cv_use_zlib='wxUSE_ZLIB=sys'
4356 elif test "$withval" = builtin; then
4357 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
4359 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4360 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4361 { (exit 1); exit 1; }; }
4366 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
4367 if test "x$LINE" != x ; then
4368 eval "DEFAULT_$LINE"
4373 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
4378 eval "$ac_cv_use_zlib"
4379 if test "$no_cache" != 1; then
4380 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
4383 if test "$wxUSE_ZLIB" = yes; then
4384 { echo "$as_me:$LINENO: result: yes" >&5
4385 echo "${ECHO_T}yes" >&6; }
4386 elif test "$wxUSE_ZLIB" = no; then
4387 { echo "$as_me:$LINENO: result: no" >&5
4388 echo "${ECHO_T}no" >&6; }
4389 elif test "$wxUSE_ZLIB" = sys; then
4390 { echo "$as_me:$LINENO: result: system version" >&5
4391 echo "${ECHO_T}system version" >&6; }
4392 elif test "$wxUSE_ZLIB" = builtin; then
4393 { echo "$as_me:$LINENO: result: builtin version" >&5
4394 echo "${ECHO_T}builtin version" >&6; }
4396 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4397 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4398 { (exit 1); exit 1; }; }
4402 { echo "$as_me:$LINENO: checking for --with-odbc" >&5
4403 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6; }
4406 # Check whether --with-odbc was given.
4407 if test "${with_odbc+set}" = set; then
4409 if test "$withval" = yes; then
4410 ac_cv_use_odbc='wxUSE_ODBC=yes'
4411 elif test "$withval" = no; then
4412 ac_cv_use_odbc='wxUSE_ODBC=no'
4413 elif test "$withval" = sys; then
4414 ac_cv_use_odbc='wxUSE_ODBC=sys'
4415 elif test "$withval" = builtin; then
4416 ac_cv_use_odbc='wxUSE_ODBC=builtin'
4418 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4419 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4420 { (exit 1); exit 1; }; }
4425 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
4426 if test "x$LINE" != x ; then
4427 eval "DEFAULT_$LINE"
4432 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
4437 eval "$ac_cv_use_odbc"
4438 if test "$no_cache" != 1; then
4439 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
4442 if test "$wxUSE_ODBC" = yes; then
4443 { echo "$as_me:$LINENO: result: yes" >&5
4444 echo "${ECHO_T}yes" >&6; }
4445 elif test "$wxUSE_ODBC" = no; then
4446 { echo "$as_me:$LINENO: result: no" >&5
4447 echo "${ECHO_T}no" >&6; }
4448 elif test "$wxUSE_ODBC" = sys; then
4449 { echo "$as_me:$LINENO: result: system version" >&5
4450 echo "${ECHO_T}system version" >&6; }
4451 elif test "$wxUSE_ODBC" = builtin; then
4452 { echo "$as_me:$LINENO: result: builtin version" >&5
4453 echo "${ECHO_T}builtin version" >&6; }
4455 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4456 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4457 { (exit 1); exit 1; }; }
4461 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4462 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4465 # Check whether --with-expat was given.
4466 if test "${with_expat+set}" = set; then
4467 withval=$with_expat;
4468 if test "$withval" = yes; then
4469 ac_cv_use_expat='wxUSE_EXPAT=yes'
4470 elif test "$withval" = no; then
4471 ac_cv_use_expat='wxUSE_EXPAT=no'
4472 elif test "$withval" = sys; then
4473 ac_cv_use_expat='wxUSE_EXPAT=sys'
4474 elif test "$withval" = builtin; then
4475 ac_cv_use_expat='wxUSE_EXPAT=builtin'
4477 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4478 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4479 { (exit 1); exit 1; }; }
4484 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
4485 if test "x$LINE" != x ; then
4486 eval "DEFAULT_$LINE"
4491 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
4496 eval "$ac_cv_use_expat"
4497 if test "$no_cache" != 1; then
4498 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
4501 if test "$wxUSE_EXPAT" = yes; then
4502 { echo "$as_me:$LINENO: result: yes" >&5
4503 echo "${ECHO_T}yes" >&6; }
4504 elif test "$wxUSE_EXPAT" = no; then
4505 { echo "$as_me:$LINENO: result: no" >&5
4506 echo "${ECHO_T}no" >&6; }
4507 elif test "$wxUSE_EXPAT" = sys; then
4508 { echo "$as_me:$LINENO: result: system version" >&5
4509 echo "${ECHO_T}system version" >&6; }
4510 elif test "$wxUSE_EXPAT" = builtin; then
4511 { echo "$as_me:$LINENO: result: builtin version" >&5
4512 echo "${ECHO_T}builtin version" >&6; }
4514 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4515 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4516 { (exit 1); exit 1; }; }
4523 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4524 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4526 # Check whether --enable-shared was given.
4527 if test "${enable_shared+set}" = set; then
4528 enableval=$enable_shared;
4529 if test "$enableval" = yes; then
4530 ac_cv_use_shared='wxUSE_SHARED=yes'
4532 ac_cv_use_shared='wxUSE_SHARED=no'
4537 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
4538 if test "x$LINE" != x ; then
4539 eval "DEFAULT_$LINE"
4544 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
4549 eval "$ac_cv_use_shared"
4550 if test "$no_cache" != 1; then
4551 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
4554 if test "$wxUSE_SHARED" = yes; then
4555 { echo "$as_me:$LINENO: result: yes" >&5
4556 echo "${ECHO_T}yes" >&6; }
4558 { echo "$as_me:$LINENO: result: no" >&5
4559 echo "${ECHO_T}no" >&6; }
4564 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4565 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4567 # Check whether --enable-optimise was given.
4568 if test "${enable_optimise+set}" = set; then
4569 enableval=$enable_optimise;
4570 if test "$enableval" = yes; then
4571 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
4573 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
4578 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
4579 if test "x$LINE" != x ; then
4580 eval "DEFAULT_$LINE"
4585 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
4590 eval "$ac_cv_use_optimise"
4591 if test "$no_cache" != 1; then
4592 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
4595 if test "$wxUSE_OPTIMISE" = yes; then
4596 { echo "$as_me:$LINENO: result: yes" >&5
4597 echo "${ECHO_T}yes" >&6; }
4599 { echo "$as_me:$LINENO: result: no" >&5
4600 echo "${ECHO_T}no" >&6; }
4605 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4606 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4608 # Check whether --enable-debug was given.
4609 if test "${enable_debug+set}" = set; then
4610 enableval=$enable_debug;
4611 if test "$enableval" = yes; then
4612 ac_cv_use_debug='wxUSE_DEBUG=yes'
4614 ac_cv_use_debug='wxUSE_DEBUG=no'
4619 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
4620 if test "x$LINE" != x ; then
4621 eval "DEFAULT_$LINE"
4626 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
4631 eval "$ac_cv_use_debug"
4632 if test "$no_cache" != 1; then
4633 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
4636 if test "$wxUSE_DEBUG" = yes; then
4637 { echo "$as_me:$LINENO: result: yes" >&5
4638 echo "${ECHO_T}yes" >&6; }
4640 { echo "$as_me:$LINENO: result: no" >&5
4641 echo "${ECHO_T}no" >&6; }
4646 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4647 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4649 # Check whether --enable-stl was given.
4650 if test "${enable_stl+set}" = set; then
4651 enableval=$enable_stl;
4652 if test "$enableval" = yes; then
4653 ac_cv_use_stl='wxUSE_STL=yes'
4655 ac_cv_use_stl='wxUSE_STL=no'
4660 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
4661 if test "x$LINE" != x ; then
4662 eval "DEFAULT_$LINE"
4667 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
4672 eval "$ac_cv_use_stl"
4673 if test "$no_cache" != 1; then
4674 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
4677 if test "$wxUSE_STL" = yes; then
4678 { echo "$as_me:$LINENO: result: yes" >&5
4679 echo "${ECHO_T}yes" >&6; }
4681 { echo "$as_me:$LINENO: result: no" >&5
4682 echo "${ECHO_T}no" >&6; }
4687 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4688 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4690 # Check whether --enable-extended_rtti was given.
4691 if test "${enable_extended_rtti+set}" = set; then
4692 enableval=$enable_extended_rtti;
4693 if test "$enableval" = yes; then
4694 ac_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4696 ac_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4701 LINE=`grep "wxUSE_EXTENDED_RTTI" ${wx_arg_cache_file}`
4702 if test "x$LINE" != x ; then
4703 eval "DEFAULT_$LINE"
4708 ac_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI='$DEFAULT_wxUSE_EXTENDED_RTTI
4713 eval "$ac_cv_use_extended_rtti"
4714 if test "$no_cache" != 1; then
4715 echo $ac_cv_use_extended_rtti >> ${wx_arg_cache_file}.tmp
4718 if test "$wxUSE_EXTENDED_RTTI" = yes; then
4719 { echo "$as_me:$LINENO: result: yes" >&5
4720 echo "${ECHO_T}yes" >&6; }
4722 { echo "$as_me:$LINENO: result: no" >&5
4723 echo "${ECHO_T}no" >&6; }
4726 if test "$USE_OS2" = "1"; then
4727 DEFAULT_wxUSE_OMF=no
4730 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4731 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4733 # Check whether --enable-omf was given.
4734 if test "${enable_omf+set}" = set; then
4735 enableval=$enable_omf;
4736 if test "$enableval" = yes; then
4737 ac_cv_use_omf='wxUSE_OMF=yes'
4739 ac_cv_use_omf='wxUSE_OMF=no'
4744 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
4745 if test "x$LINE" != x ; then
4746 eval "DEFAULT_$LINE"
4751 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
4756 eval "$ac_cv_use_omf"
4757 if test "$no_cache" != 1; then
4758 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
4761 if test "$wxUSE_OMF" = yes; then
4762 { echo "$as_me:$LINENO: result: yes" >&5
4763 echo "${ECHO_T}yes" >&6; }
4765 { echo "$as_me:$LINENO: result: no" >&5
4766 echo "${ECHO_T}no" >&6; }
4771 if test "$wxUSE_DEBUG" = "yes"; then
4772 DEFAULT_wxUSE_DEBUG_FLAG=yes
4773 DEFAULT_wxUSE_DEBUG_INFO=yes
4775 elif test "$wxUSE_DEBUG" = "no"; then
4776 DEFAULT_wxUSE_DEBUG_FLAG=no
4777 DEFAULT_wxUSE_DEBUG_INFO=no
4783 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4784 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4786 # Check whether --enable-debug_flag was given.
4787 if test "${enable_debug_flag+set}" = set; then
4788 enableval=$enable_debug_flag;
4789 if test "$enableval" = yes; then
4790 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4792 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4797 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
4798 if test "x$LINE" != x ; then
4799 eval "DEFAULT_$LINE"
4804 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
4809 eval "$ac_cv_use_debug_flag"
4810 if test "$no_cache" != 1; then
4811 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4814 if test "$wxUSE_DEBUG_FLAG" = yes; then
4815 { echo "$as_me:$LINENO: result: yes" >&5
4816 echo "${ECHO_T}yes" >&6; }
4818 { echo "$as_me:$LINENO: result: no" >&5
4819 echo "${ECHO_T}no" >&6; }
4824 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4825 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4827 # Check whether --enable-debug_info was given.
4828 if test "${enable_debug_info+set}" = set; then
4829 enableval=$enable_debug_info;
4830 if test "$enableval" = yes; then
4831 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4833 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4838 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
4839 if test "x$LINE" != x ; then
4840 eval "DEFAULT_$LINE"
4845 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4850 eval "$ac_cv_use_debug_info"
4851 if test "$no_cache" != 1; then
4852 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4855 if test "$wxUSE_DEBUG_INFO" = yes; then
4856 { echo "$as_me:$LINENO: result: yes" >&5
4857 echo "${ECHO_T}yes" >&6; }
4859 { echo "$as_me:$LINENO: result: no" >&5
4860 echo "${ECHO_T}no" >&6; }
4865 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4866 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4868 # Check whether --enable-debug_gdb was given.
4869 if test "${enable_debug_gdb+set}" = set; then
4870 enableval=$enable_debug_gdb;
4871 if test "$enableval" = yes; then
4872 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4874 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4879 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
4880 if test "x$LINE" != x ; then
4881 eval "DEFAULT_$LINE"
4886 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4891 eval "$ac_cv_use_debug_gdb"
4892 if test "$no_cache" != 1; then
4893 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4896 if test "$wxUSE_DEBUG_GDB" = yes; then
4897 { echo "$as_me:$LINENO: result: yes" >&5
4898 echo "${ECHO_T}yes" >&6; }
4900 { echo "$as_me:$LINENO: result: no" >&5
4901 echo "${ECHO_T}no" >&6; }
4906 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4907 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4909 # Check whether --enable-debug_cntxt was given.
4910 if test "${enable_debug_cntxt+set}" = set; then
4911 enableval=$enable_debug_cntxt;
4912 if test "$enableval" = yes; then
4913 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4915 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4920 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
4921 if test "x$LINE" != x ; then
4922 eval "DEFAULT_$LINE"
4927 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4932 eval "$ac_cv_use_debug_cntxt"
4933 if test "$no_cache" != 1; then
4934 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4937 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4938 { echo "$as_me:$LINENO: result: yes" >&5
4939 echo "${ECHO_T}yes" >&6; }
4941 { echo "$as_me:$LINENO: result: no" >&5
4942 echo "${ECHO_T}no" >&6; }
4947 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4948 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4950 # Check whether --enable-mem_tracing was given.
4951 if test "${enable_mem_tracing+set}" = set; then
4952 enableval=$enable_mem_tracing;
4953 if test "$enableval" = yes; then
4954 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4956 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4961 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4962 if test "x$LINE" != x ; then
4963 eval "DEFAULT_$LINE"
4968 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4973 eval "$ac_cv_use_mem_tracing"
4974 if test "$no_cache" != 1; then
4975 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4978 if test "$wxUSE_MEM_TRACING" = yes; then
4979 { echo "$as_me:$LINENO: result: yes" >&5
4980 echo "${ECHO_T}yes" >&6; }
4982 { echo "$as_me:$LINENO: result: no" >&5
4983 echo "${ECHO_T}no" >&6; }
4988 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4989 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
4991 # Check whether --enable-profile was given.
4992 if test "${enable_profile+set}" = set; then
4993 enableval=$enable_profile;
4994 if test "$enableval" = yes; then
4995 ac_cv_use_profile='wxUSE_PROFILE=yes'
4997 ac_cv_use_profile='wxUSE_PROFILE=no'
5002 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
5003 if test "x$LINE" != x ; then
5004 eval "DEFAULT_$LINE"
5009 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
5014 eval "$ac_cv_use_profile"
5015 if test "$no_cache" != 1; then
5016 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
5019 if test "$wxUSE_PROFILE" = yes; then
5020 { echo "$as_me:$LINENO: result: yes" >&5
5021 echo "${ECHO_T}yes" >&6; }
5023 { echo "$as_me:$LINENO: result: no" >&5
5024 echo "${ECHO_T}no" >&6; }
5029 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5030 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5032 # Check whether --enable-no_rtti was given.
5033 if test "${enable_no_rtti+set}" = set; then
5034 enableval=$enable_no_rtti;
5035 if test "$enableval" = yes; then
5036 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5038 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5043 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
5044 if test "x$LINE" != x ; then
5045 eval "DEFAULT_$LINE"
5050 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
5055 eval "$ac_cv_use_no_rtti"
5056 if test "$no_cache" != 1; then
5057 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
5060 if test "$wxUSE_NO_RTTI" = yes; then
5061 { echo "$as_me:$LINENO: result: yes" >&5
5062 echo "${ECHO_T}yes" >&6; }
5064 { echo "$as_me:$LINENO: result: no" >&5
5065 echo "${ECHO_T}no" >&6; }
5070 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5071 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5073 # Check whether --enable-no_exceptions was given.
5074 if test "${enable_no_exceptions+set}" = set; then
5075 enableval=$enable_no_exceptions;
5076 if test "$enableval" = yes; then
5077 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5079 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5084 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
5085 if test "x$LINE" != x ; then
5086 eval "DEFAULT_$LINE"
5091 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
5096 eval "$ac_cv_use_no_exceptions"
5097 if test "$no_cache" != 1; then
5098 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
5101 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
5102 { echo "$as_me:$LINENO: result: yes" >&5
5103 echo "${ECHO_T}yes" >&6; }
5105 { echo "$as_me:$LINENO: result: no" >&5
5106 echo "${ECHO_T}no" >&6; }
5111 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5112 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5114 # Check whether --enable-permissive was given.
5115 if test "${enable_permissive+set}" = set; then
5116 enableval=$enable_permissive;
5117 if test "$enableval" = yes; then
5118 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5120 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
5125 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
5126 if test "x$LINE" != x ; then
5127 eval "DEFAULT_$LINE"
5132 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
5137 eval "$ac_cv_use_permissive"
5138 if test "$no_cache" != 1; then
5139 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
5142 if test "$wxUSE_PERMISSIVE" = yes; then
5143 { echo "$as_me:$LINENO: result: yes" >&5
5144 echo "${ECHO_T}yes" >&6; }
5146 { echo "$as_me:$LINENO: result: no" >&5
5147 echo "${ECHO_T}no" >&6; }
5152 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5153 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5155 # Check whether --enable-no_deps was given.
5156 if test "${enable_no_deps+set}" = set; then
5157 enableval=$enable_no_deps;
5158 if test "$enableval" = yes; then
5159 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5161 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
5166 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
5167 if test "x$LINE" != x ; then
5168 eval "DEFAULT_$LINE"
5173 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
5178 eval "$ac_cv_use_no_deps"
5179 if test "$no_cache" != 1; then
5180 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
5183 if test "$wxUSE_NO_DEPS" = yes; then
5184 { echo "$as_me:$LINENO: result: yes" >&5
5185 echo "${ECHO_T}yes" >&6; }
5187 { echo "$as_me:$LINENO: result: no" >&5
5188 echo "${ECHO_T}no" >&6; }
5193 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5194 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5196 # Check whether --enable-vararg_macros was given.
5197 if test "${enable_vararg_macros+set}" = set; then
5198 enableval=$enable_vararg_macros;
5199 if test "$enableval" = yes; then
5200 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5202 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5207 LINE=`grep "wxUSE_VARARG_MACROS" ${wx_arg_cache_file}`
5208 if test "x$LINE" != x ; then
5209 eval "DEFAULT_$LINE"
5214 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS='$DEFAULT_wxUSE_VARARG_MACROS
5219 eval "$ac_cv_use_vararg_macros"
5220 if test "$no_cache" != 1; then
5221 echo $ac_cv_use_vararg_macros >> ${wx_arg_cache_file}.tmp
5224 if test "$wxUSE_VARARG_MACROS" = yes; then
5225 { echo "$as_me:$LINENO: result: yes" >&5
5226 echo "${ECHO_T}yes" >&6; }
5228 { echo "$as_me:$LINENO: result: no" >&5
5229 echo "${ECHO_T}no" >&6; }
5234 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5235 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5237 # Check whether --enable-universal_binary was given.
5238 if test "${enable_universal_binary+set}" = set; then
5239 enableval=$enable_universal_binary;
5240 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5244 LINE=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
5245 if test "x$LINE" != x ; then
5246 eval "DEFAULT_$LINE"
5247 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5250 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY=no"
5256 eval "$wx_cv_use_universal_binary"
5257 if test "$no_cache" != 1; then
5258 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
5261 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5262 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5267 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5268 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5270 # Check whether --enable-compat26 was given.
5271 if test "${enable_compat26+set}" = set; then
5272 enableval=$enable_compat26;
5273 if test "$enableval" = yes; then
5274 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5276 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5281 LINE=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
5282 if test "x$LINE" != x ; then
5283 eval "DEFAULT_$LINE"
5288 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
5293 eval "$ac_cv_use_compat26"
5294 if test "$no_cache" != 1; then
5295 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
5298 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
5299 { echo "$as_me:$LINENO: result: yes" >&5
5300 echo "${ECHO_T}yes" >&6; }
5302 { echo "$as_me:$LINENO: result: no" >&5
5303 echo "${ECHO_T}no" >&6; }
5307 enablestring=disable
5308 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5309 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5311 # Check whether --enable-compat28 was given.
5312 if test "${enable_compat28+set}" = set; then
5313 enableval=$enable_compat28;
5314 if test "$enableval" = yes; then
5315 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5317 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5322 LINE=`grep "WXWIN_COMPATIBILITY_2_8" ${wx_arg_cache_file}`
5323 if test "x$LINE" != x ; then
5324 eval "DEFAULT_$LINE"
5329 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8='$DEFAULT_WXWIN_COMPATIBILITY_2_8
5334 eval "$ac_cv_use_compat28"
5335 if test "$no_cache" != 1; then
5336 echo $ac_cv_use_compat28 >> ${wx_arg_cache_file}.tmp
5339 if test "$WXWIN_COMPATIBILITY_2_8" = yes; then
5340 { echo "$as_me:$LINENO: result: yes" >&5
5341 echo "${ECHO_T}yes" >&6; }
5343 { echo "$as_me:$LINENO: result: no" >&5
5344 echo "${ECHO_T}no" >&6; }
5350 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5351 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5353 # Check whether --enable-rpath was given.
5354 if test "${enable_rpath+set}" = set; then
5355 enableval=$enable_rpath;
5356 if test "$enableval" = yes; then
5357 ac_cv_use_rpath='wxUSE_RPATH=yes'
5359 ac_cv_use_rpath='wxUSE_RPATH=no'
5364 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
5365 if test "x$LINE" != x ; then
5366 eval "DEFAULT_$LINE"
5371 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
5376 eval "$ac_cv_use_rpath"
5377 if test "$no_cache" != 1; then
5378 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
5381 if test "$wxUSE_RPATH" = yes; then
5382 { echo "$as_me:$LINENO: result: yes" >&5
5383 echo "${ECHO_T}yes" >&6; }
5385 { echo "$as_me:$LINENO: result: no" >&5
5386 echo "${ECHO_T}no" >&6; }
5394 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5395 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5397 # Check whether --enable-intl was given.
5398 if test "${enable_intl+set}" = set; then
5399 enableval=$enable_intl;
5400 if test "$enableval" = yes; then
5401 ac_cv_use_intl='wxUSE_INTL=yes'
5403 ac_cv_use_intl='wxUSE_INTL=no'
5408 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
5409 if test "x$LINE" != x ; then
5410 eval "DEFAULT_$LINE"
5415 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
5420 eval "$ac_cv_use_intl"
5421 if test "$no_cache" != 1; then
5422 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
5425 if test "$wxUSE_INTL" = yes; then
5426 { echo "$as_me:$LINENO: result: yes" >&5
5427 echo "${ECHO_T}yes" >&6; }
5429 { echo "$as_me:$LINENO: result: no" >&5
5430 echo "${ECHO_T}no" >&6; }
5435 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5436 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5438 # Check whether --enable-config was given.
5439 if test "${enable_config+set}" = set; then
5440 enableval=$enable_config;
5441 if test "$enableval" = yes; then
5442 ac_cv_use_config='wxUSE_CONFIG=yes'
5444 ac_cv_use_config='wxUSE_CONFIG=no'
5449 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
5450 if test "x$LINE" != x ; then
5451 eval "DEFAULT_$LINE"
5456 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
5461 eval "$ac_cv_use_config"
5462 if test "$no_cache" != 1; then
5463 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
5466 if test "$wxUSE_CONFIG" = yes; then
5467 { echo "$as_me:$LINENO: result: yes" >&5
5468 echo "${ECHO_T}yes" >&6; }
5470 { echo "$as_me:$LINENO: result: no" >&5
5471 echo "${ECHO_T}no" >&6; }
5477 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5478 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5480 # Check whether --enable-protocols was given.
5481 if test "${enable_protocols+set}" = set; then
5482 enableval=$enable_protocols;
5483 if test "$enableval" = yes; then
5484 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
5486 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
5491 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5492 if test "x$LINE" != x ; then
5493 eval "DEFAULT_$LINE"
5498 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5503 eval "$ac_cv_use_protocols"
5504 if test "$no_cache" != 1; then
5505 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
5508 if test "$wxUSE_PROTOCOL" = yes; then
5509 { echo "$as_me:$LINENO: result: yes" >&5
5510 echo "${ECHO_T}yes" >&6; }
5512 { echo "$as_me:$LINENO: result: no" >&5
5513 echo "${ECHO_T}no" >&6; }
5518 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5519 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5521 # Check whether --enable-ftp was given.
5522 if test "${enable_ftp+set}" = set; then
5523 enableval=$enable_ftp;
5524 if test "$enableval" = yes; then
5525 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5527 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5532 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5533 if test "x$LINE" != x ; then
5534 eval "DEFAULT_$LINE"
5539 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5544 eval "$ac_cv_use_ftp"
5545 if test "$no_cache" != 1; then
5546 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
5549 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5550 { echo "$as_me:$LINENO: result: yes" >&5
5551 echo "${ECHO_T}yes" >&6; }
5553 { echo "$as_me:$LINENO: result: no" >&5
5554 echo "${ECHO_T}no" >&6; }
5559 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5560 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5562 # Check whether --enable-http was given.
5563 if test "${enable_http+set}" = set; then
5564 enableval=$enable_http;
5565 if test "$enableval" = yes; then
5566 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5568 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5573 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5574 if test "x$LINE" != x ; then
5575 eval "DEFAULT_$LINE"
5580 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5585 eval "$ac_cv_use_http"
5586 if test "$no_cache" != 1; then
5587 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
5590 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5591 { echo "$as_me:$LINENO: result: yes" >&5
5592 echo "${ECHO_T}yes" >&6; }
5594 { echo "$as_me:$LINENO: result: no" >&5
5595 echo "${ECHO_T}no" >&6; }
5600 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5601 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5603 # Check whether --enable-fileproto was given.
5604 if test "${enable_fileproto+set}" = set; then
5605 enableval=$enable_fileproto;
5606 if test "$enableval" = yes; then
5607 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5609 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5614 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5615 if test "x$LINE" != x ; then
5616 eval "DEFAULT_$LINE"
5621 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5626 eval "$ac_cv_use_fileproto"
5627 if test "$no_cache" != 1; then
5628 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
5631 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5632 { echo "$as_me:$LINENO: result: yes" >&5
5633 echo "${ECHO_T}yes" >&6; }
5635 { echo "$as_me:$LINENO: result: no" >&5
5636 echo "${ECHO_T}no" >&6; }
5641 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5642 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5644 # Check whether --enable-sockets was given.
5645 if test "${enable_sockets+set}" = set; then
5646 enableval=$enable_sockets;
5647 if test "$enableval" = yes; then
5648 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
5650 ac_cv_use_sockets='wxUSE_SOCKETS=no'
5655 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
5656 if test "x$LINE" != x ; then
5657 eval "DEFAULT_$LINE"
5662 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
5667 eval "$ac_cv_use_sockets"
5668 if test "$no_cache" != 1; then
5669 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
5672 if test "$wxUSE_SOCKETS" = yes; then
5673 { echo "$as_me:$LINENO: result: yes" >&5
5674 echo "${ECHO_T}yes" >&6; }
5676 { echo "$as_me:$LINENO: result: no" >&5
5677 echo "${ECHO_T}no" >&6; }
5682 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
5683 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
5685 # Check whether --enable-ole was given.
5686 if test "${enable_ole+set}" = set; then
5687 enableval=$enable_ole;
5688 if test "$enableval" = yes; then
5689 ac_cv_use_ole='wxUSE_OLE=yes'
5691 ac_cv_use_ole='wxUSE_OLE=no'
5696 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
5697 if test "x$LINE" != x ; then
5698 eval "DEFAULT_$LINE"
5703 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
5708 eval "$ac_cv_use_ole"
5709 if test "$no_cache" != 1; then
5710 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
5713 if test "$wxUSE_OLE" = yes; then
5714 { echo "$as_me:$LINENO: result: yes" >&5
5715 echo "${ECHO_T}yes" >&6; }
5717 { echo "$as_me:$LINENO: result: no" >&5
5718 echo "${ECHO_T}no" >&6; }
5723 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
5724 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
5726 # Check whether --enable-dataobj was given.
5727 if test "${enable_dataobj+set}" = set; then
5728 enableval=$enable_dataobj;
5729 if test "$enableval" = yes; then
5730 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
5732 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
5737 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
5738 if test "x$LINE" != x ; then
5739 eval "DEFAULT_$LINE"
5744 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
5749 eval "$ac_cv_use_dataobj"
5750 if test "$no_cache" != 1; then
5751 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
5754 if test "$wxUSE_DATAOBJ" = yes; then
5755 { echo "$as_me:$LINENO: result: yes" >&5
5756 echo "${ECHO_T}yes" >&6; }
5758 { echo "$as_me:$LINENO: result: no" >&5
5759 echo "${ECHO_T}no" >&6; }
5765 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
5766 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
5768 # Check whether --enable-ipc was given.
5769 if test "${enable_ipc+set}" = set; then
5770 enableval=$enable_ipc;
5771 if test "$enableval" = yes; then
5772 ac_cv_use_ipc='wxUSE_IPC=yes'
5774 ac_cv_use_ipc='wxUSE_IPC=no'
5779 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
5780 if test "x$LINE" != x ; then
5781 eval "DEFAULT_$LINE"
5786 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
5791 eval "$ac_cv_use_ipc"
5792 if test "$no_cache" != 1; then
5793 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
5796 if test "$wxUSE_IPC" = yes; then
5797 { echo "$as_me:$LINENO: result: yes" >&5
5798 echo "${ECHO_T}yes" >&6; }
5800 { echo "$as_me:$LINENO: result: no" >&5
5801 echo "${ECHO_T}no" >&6; }
5807 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
5808 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
5810 # Check whether --enable-apple_ieee was given.
5811 if test "${enable_apple_ieee+set}" = set; then
5812 enableval=$enable_apple_ieee;
5813 if test "$enableval" = yes; then
5814 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
5816 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
5821 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
5822 if test "x$LINE" != x ; then
5823 eval "DEFAULT_$LINE"
5828 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
5833 eval "$ac_cv_use_apple_ieee"
5834 if test "$no_cache" != 1; then
5835 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
5838 if test "$wxUSE_APPLE_IEEE" = yes; then
5839 { echo "$as_me:$LINENO: result: yes" >&5
5840 echo "${ECHO_T}yes" >&6; }
5842 { echo "$as_me:$LINENO: result: no" >&5
5843 echo "${ECHO_T}no" >&6; }
5848 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5849 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
5851 # Check whether --enable-arcstream was given.
5852 if test "${enable_arcstream+set}" = set; then
5853 enableval=$enable_arcstream;
5854 if test "$enableval" = yes; then
5855 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
5857 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
5862 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
5863 if test "x$LINE" != x ; then
5864 eval "DEFAULT_$LINE"
5869 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5874 eval "$ac_cv_use_arcstream"
5875 if test "$no_cache" != 1; then
5876 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5879 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5880 { echo "$as_me:$LINENO: result: yes" >&5
5881 echo "${ECHO_T}yes" >&6; }
5883 { echo "$as_me:$LINENO: result: no" >&5
5884 echo "${ECHO_T}no" >&6; }
5889 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5890 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
5892 # Check whether --enable-backtrace was given.
5893 if test "${enable_backtrace+set}" = set; then
5894 enableval=$enable_backtrace;
5895 if test "$enableval" = yes; then
5896 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
5898 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
5903 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
5904 if test "x$LINE" != x ; then
5905 eval "DEFAULT_$LINE"
5910 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5915 eval "$ac_cv_use_backtrace"
5916 if test "$no_cache" != 1; then
5917 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5920 if test "$wxUSE_STACKWALKER" = yes; then
5921 { echo "$as_me:$LINENO: result: yes" >&5
5922 echo "${ECHO_T}yes" >&6; }
5924 { echo "$as_me:$LINENO: result: no" >&5
5925 echo "${ECHO_T}no" >&6; }
5930 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5931 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
5933 # Check whether --enable-catch_segvs was given.
5934 if test "${enable_catch_segvs+set}" = set; then
5935 enableval=$enable_catch_segvs;
5936 if test "$enableval" = yes; then
5937 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5939 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5944 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5945 if test "x$LINE" != x ; then
5946 eval "DEFAULT_$LINE"
5951 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5956 eval "$ac_cv_use_catch_segvs"
5957 if test "$no_cache" != 1; then
5958 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5961 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5962 { echo "$as_me:$LINENO: result: yes" >&5
5963 echo "${ECHO_T}yes" >&6; }
5965 { echo "$as_me:$LINENO: result: no" >&5
5966 echo "${ECHO_T}no" >&6; }
5971 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5972 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
5974 # Check whether --enable-cmdline was given.
5975 if test "${enable_cmdline+set}" = set; then
5976 enableval=$enable_cmdline;
5977 if test "$enableval" = yes; then
5978 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
5980 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
5985 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5986 if test "x$LINE" != x ; then
5987 eval "DEFAULT_$LINE"
5992 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5997 eval "$ac_cv_use_cmdline"
5998 if test "$no_cache" != 1; then
5999 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
6002 if test "$wxUSE_CMDLINE_PARSER" = yes; then
6003 { echo "$as_me:$LINENO: result: yes" >&5
6004 echo "${ECHO_T}yes" >&6; }
6006 { echo "$as_me:$LINENO: result: no" >&5
6007 echo "${ECHO_T}no" >&6; }
6012 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6013 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6015 # Check whether --enable-datetime was given.
6016 if test "${enable_datetime+set}" = set; then
6017 enableval=$enable_datetime;
6018 if test "$enableval" = yes; then
6019 ac_cv_use_datetime='wxUSE_DATETIME=yes'
6021 ac_cv_use_datetime='wxUSE_DATETIME=no'
6026 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
6027 if test "x$LINE" != x ; then
6028 eval "DEFAULT_$LINE"
6033 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
6038 eval "$ac_cv_use_datetime"
6039 if test "$no_cache" != 1; then
6040 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
6043 if test "$wxUSE_DATETIME" = yes; then
6044 { echo "$as_me:$LINENO: result: yes" >&5
6045 echo "${ECHO_T}yes" >&6; }
6047 { echo "$as_me:$LINENO: result: no" >&5
6048 echo "${ECHO_T}no" >&6; }
6053 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6054 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6056 # Check whether --enable-debugreport was given.
6057 if test "${enable_debugreport+set}" = set; then
6058 enableval=$enable_debugreport;
6059 if test "$enableval" = yes; then
6060 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6062 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6067 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
6068 if test "x$LINE" != x ; then
6069 eval "DEFAULT_$LINE"
6074 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
6079 eval "$ac_cv_use_debugreport"
6080 if test "$no_cache" != 1; then
6081 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
6084 if test "$wxUSE_DEBUGREPORT" = yes; then
6085 { echo "$as_me:$LINENO: result: yes" >&5
6086 echo "${ECHO_T}yes" >&6; }
6088 { echo "$as_me:$LINENO: result: no" >&5
6089 echo "${ECHO_T}no" >&6; }
6094 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6095 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6097 # Check whether --enable-dialupman was given.
6098 if test "${enable_dialupman+set}" = set; then
6099 enableval=$enable_dialupman;
6100 if test "$enableval" = yes; then
6101 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6103 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6108 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
6109 if test "x$LINE" != x ; then
6110 eval "DEFAULT_$LINE"
6115 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
6120 eval "$ac_cv_use_dialupman"
6121 if test "$no_cache" != 1; then
6122 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
6125 if test "$wxUSE_DIALUP_MANAGER" = yes; then
6126 { echo "$as_me:$LINENO: result: yes" >&5
6127 echo "${ECHO_T}yes" >&6; }
6129 { echo "$as_me:$LINENO: result: no" >&5
6130 echo "${ECHO_T}no" >&6; }
6135 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6136 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6138 # Check whether --enable-dynlib was given.
6139 if test "${enable_dynlib+set}" = set; then
6140 enableval=$enable_dynlib;
6141 if test "$enableval" = yes; then
6142 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6144 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6149 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
6150 if test "x$LINE" != x ; then
6151 eval "DEFAULT_$LINE"
6156 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
6161 eval "$ac_cv_use_dynlib"
6162 if test "$no_cache" != 1; then
6163 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
6166 if test "$wxUSE_DYNLIB_CLASS" = yes; then
6167 { echo "$as_me:$LINENO: result: yes" >&5
6168 echo "${ECHO_T}yes" >&6; }
6170 { echo "$as_me:$LINENO: result: no" >&5
6171 echo "${ECHO_T}no" >&6; }
6176 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6177 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6179 # Check whether --enable-dynamicloader was given.
6180 if test "${enable_dynamicloader+set}" = set; then
6181 enableval=$enable_dynamicloader;
6182 if test "$enableval" = yes; then
6183 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6185 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6190 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
6191 if test "x$LINE" != x ; then
6192 eval "DEFAULT_$LINE"
6197 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
6202 eval "$ac_cv_use_dynamicloader"
6203 if test "$no_cache" != 1; then
6204 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
6207 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
6208 { echo "$as_me:$LINENO: result: yes" >&5
6209 echo "${ECHO_T}yes" >&6; }
6211 { echo "$as_me:$LINENO: result: no" >&5
6212 echo "${ECHO_T}no" >&6; }
6217 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6218 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6220 # Check whether --enable-exceptions was given.
6221 if test "${enable_exceptions+set}" = set; then
6222 enableval=$enable_exceptions;
6223 if test "$enableval" = yes; then
6224 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6226 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6231 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
6232 if test "x$LINE" != x ; then
6233 eval "DEFAULT_$LINE"
6238 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
6243 eval "$ac_cv_use_exceptions"
6244 if test "$no_cache" != 1; then
6245 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
6248 if test "$wxUSE_EXCEPTIONS" = yes; then
6249 { echo "$as_me:$LINENO: result: yes" >&5
6250 echo "${ECHO_T}yes" >&6; }
6252 { echo "$as_me:$LINENO: result: no" >&5
6253 echo "${ECHO_T}no" >&6; }
6258 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6259 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6261 # Check whether --enable-ffile was given.
6262 if test "${enable_ffile+set}" = set; then
6263 enableval=$enable_ffile;
6264 if test "$enableval" = yes; then
6265 ac_cv_use_ffile='wxUSE_FFILE=yes'
6267 ac_cv_use_ffile='wxUSE_FFILE=no'
6272 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
6273 if test "x$LINE" != x ; then
6274 eval "DEFAULT_$LINE"
6279 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
6284 eval "$ac_cv_use_ffile"
6285 if test "$no_cache" != 1; then
6286 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
6289 if test "$wxUSE_FFILE" = yes; then
6290 { echo "$as_me:$LINENO: result: yes" >&5
6291 echo "${ECHO_T}yes" >&6; }
6293 { echo "$as_me:$LINENO: result: no" >&5
6294 echo "${ECHO_T}no" >&6; }
6299 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6300 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6302 # Check whether --enable-file was given.
6303 if test "${enable_file+set}" = set; then
6304 enableval=$enable_file;
6305 if test "$enableval" = yes; then
6306 ac_cv_use_file='wxUSE_FILE=yes'
6308 ac_cv_use_file='wxUSE_FILE=no'
6313 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
6314 if test "x$LINE" != x ; then
6315 eval "DEFAULT_$LINE"
6320 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
6325 eval "$ac_cv_use_file"
6326 if test "$no_cache" != 1; then
6327 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
6330 if test "$wxUSE_FILE" = yes; then
6331 { echo "$as_me:$LINENO: result: yes" >&5
6332 echo "${ECHO_T}yes" >&6; }
6334 { echo "$as_me:$LINENO: result: no" >&5
6335 echo "${ECHO_T}no" >&6; }
6340 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6341 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6343 # Check whether --enable-filesystem was given.
6344 if test "${enable_filesystem+set}" = set; then
6345 enableval=$enable_filesystem;
6346 if test "$enableval" = yes; then
6347 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6349 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6354 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
6355 if test "x$LINE" != x ; then
6356 eval "DEFAULT_$LINE"
6361 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
6366 eval "$ac_cv_use_filesystem"
6367 if test "$no_cache" != 1; then
6368 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
6371 if test "$wxUSE_FILESYSTEM" = yes; then
6372 { echo "$as_me:$LINENO: result: yes" >&5
6373 echo "${ECHO_T}yes" >&6; }
6375 { echo "$as_me:$LINENO: result: no" >&5
6376 echo "${ECHO_T}no" >&6; }
6381 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
6382 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
6384 # Check whether --enable-fontmap was given.
6385 if test "${enable_fontmap+set}" = set; then
6386 enableval=$enable_fontmap;
6387 if test "$enableval" = yes; then
6388 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
6390 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
6395 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
6396 if test "x$LINE" != x ; then
6397 eval "DEFAULT_$LINE"
6402 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
6407 eval "$ac_cv_use_fontmap"
6408 if test "$no_cache" != 1; then
6409 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
6412 if test "$wxUSE_FONTMAP" = yes; then
6413 { echo "$as_me:$LINENO: result: yes" >&5
6414 echo "${ECHO_T}yes" >&6; }
6416 { echo "$as_me:$LINENO: result: no" >&5
6417 echo "${ECHO_T}no" >&6; }
6422 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
6423 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
6425 # Check whether --enable-fs_archive was given.
6426 if test "${enable_fs_archive+set}" = set; then
6427 enableval=$enable_fs_archive;
6428 if test "$enableval" = yes; then
6429 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
6431 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
6436 LINE=`grep "wxUSE_FS_ARCHIVE" ${wx_arg_cache_file}`
6437 if test "x$LINE" != x ; then
6438 eval "DEFAULT_$LINE"
6443 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE='$DEFAULT_wxUSE_FS_ARCHIVE
6448 eval "$ac_cv_use_fs_archive"
6449 if test "$no_cache" != 1; then
6450 echo $ac_cv_use_fs_archive >> ${wx_arg_cache_file}.tmp
6453 if test "$wxUSE_FS_ARCHIVE" = yes; then
6454 { echo "$as_me:$LINENO: result: yes" >&5
6455 echo "${ECHO_T}yes" >&6; }
6457 { echo "$as_me:$LINENO: result: no" >&5
6458 echo "${ECHO_T}no" >&6; }
6463 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
6464 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
6466 # Check whether --enable-fs_inet was given.
6467 if test "${enable_fs_inet+set}" = set; then
6468 enableval=$enable_fs_inet;
6469 if test "$enableval" = yes; then
6470 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
6472 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
6477 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
6478 if test "x$LINE" != x ; then
6479 eval "DEFAULT_$LINE"
6484 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
6489 eval "$ac_cv_use_fs_inet"
6490 if test "$no_cache" != 1; then
6491 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
6494 if test "$wxUSE_FS_INET" = yes; then
6495 { echo "$as_me:$LINENO: result: yes" >&5
6496 echo "${ECHO_T}yes" >&6; }
6498 { echo "$as_me:$LINENO: result: no" >&5
6499 echo "${ECHO_T}no" >&6; }
6504 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
6505 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
6507 # Check whether --enable-fs_zip was given.
6508 if test "${enable_fs_zip+set}" = set; then
6509 enableval=$enable_fs_zip;
6510 if test "$enableval" = yes; then
6511 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
6513 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
6518 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
6519 if test "x$LINE" != x ; then
6520 eval "DEFAULT_$LINE"
6525 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
6530 eval "$ac_cv_use_fs_zip"
6531 if test "$no_cache" != 1; then
6532 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
6535 if test "$wxUSE_FS_ZIP" = yes; then
6536 { echo "$as_me:$LINENO: result: yes" >&5
6537 echo "${ECHO_T}yes" >&6; }
6539 { echo "$as_me:$LINENO: result: no" >&5
6540 echo "${ECHO_T}no" >&6; }
6545 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
6546 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
6548 # Check whether --enable-geometry was given.
6549 if test "${enable_geometry+set}" = set; then
6550 enableval=$enable_geometry;
6551 if test "$enableval" = yes; then
6552 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
6554 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
6559 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
6560 if test "x$LINE" != x ; then
6561 eval "DEFAULT_$LINE"
6566 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
6571 eval "$ac_cv_use_geometry"
6572 if test "$no_cache" != 1; then
6573 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
6576 if test "$wxUSE_GEOMETRY" = yes; then
6577 { echo "$as_me:$LINENO: result: yes" >&5
6578 echo "${ECHO_T}yes" >&6; }
6580 { echo "$as_me:$LINENO: result: no" >&5
6581 echo "${ECHO_T}no" >&6; }
6586 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
6587 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
6589 # Check whether --enable-log was given.
6590 if test "${enable_log+set}" = set; then
6591 enableval=$enable_log;
6592 if test "$enableval" = yes; then
6593 ac_cv_use_log='wxUSE_LOG=yes'
6595 ac_cv_use_log='wxUSE_LOG=no'
6600 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
6601 if test "x$LINE" != x ; then
6602 eval "DEFAULT_$LINE"
6607 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
6612 eval "$ac_cv_use_log"
6613 if test "$no_cache" != 1; then
6614 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
6617 if test "$wxUSE_LOG" = yes; then
6618 { echo "$as_me:$LINENO: result: yes" >&5
6619 echo "${ECHO_T}yes" >&6; }
6621 { echo "$as_me:$LINENO: result: no" >&5
6622 echo "${ECHO_T}no" >&6; }
6627 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
6628 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
6630 # Check whether --enable-longlong was given.
6631 if test "${enable_longlong+set}" = set; then
6632 enableval=$enable_longlong;
6633 if test "$enableval" = yes; then
6634 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
6636 ac_cv_use_longlong='wxUSE_LONGLONG=no'
6641 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
6642 if test "x$LINE" != x ; then
6643 eval "DEFAULT_$LINE"
6648 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
6653 eval "$ac_cv_use_longlong"
6654 if test "$no_cache" != 1; then
6655 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
6658 if test "$wxUSE_LONGLONG" = yes; then
6659 { echo "$as_me:$LINENO: result: yes" >&5
6660 echo "${ECHO_T}yes" >&6; }
6662 { echo "$as_me:$LINENO: result: no" >&5
6663 echo "${ECHO_T}no" >&6; }
6668 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
6669 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
6671 # Check whether --enable-mimetype was given.
6672 if test "${enable_mimetype+set}" = set; then
6673 enableval=$enable_mimetype;
6674 if test "$enableval" = yes; then
6675 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
6677 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
6682 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
6683 if test "x$LINE" != x ; then
6684 eval "DEFAULT_$LINE"
6689 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
6694 eval "$ac_cv_use_mimetype"
6695 if test "$no_cache" != 1; then
6696 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
6699 if test "$wxUSE_MIMETYPE" = yes; then
6700 { echo "$as_me:$LINENO: result: yes" >&5
6701 echo "${ECHO_T}yes" >&6; }
6703 { echo "$as_me:$LINENO: result: no" >&5
6704 echo "${ECHO_T}no" >&6; }
6709 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
6710 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
6712 # Check whether --enable-mslu was given.
6713 if test "${enable_mslu+set}" = set; then
6714 enableval=$enable_mslu;
6715 if test "$enableval" = yes; then
6716 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
6718 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
6723 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
6724 if test "x$LINE" != x ; then
6725 eval "DEFAULT_$LINE"
6730 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
6735 eval "$ac_cv_use_mslu"
6736 if test "$no_cache" != 1; then
6737 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
6740 if test "$wxUSE_UNICODE_MSLU" = yes; then
6741 { echo "$as_me:$LINENO: result: yes" >&5
6742 echo "${ECHO_T}yes" >&6; }
6744 { echo "$as_me:$LINENO: result: no" >&5
6745 echo "${ECHO_T}no" >&6; }
6750 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
6751 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
6753 # Check whether --enable-utf8 was given.
6754 if test "${enable_utf8+set}" = set; then
6755 enableval=$enable_utf8;
6756 if test "$enableval" = yes; then
6757 ac_cv_use_utf8='wxUSE_UNICODE_UTF8=yes'
6759 ac_cv_use_utf8='wxUSE_UNICODE_UTF8=no'
6764 LINE=`grep "wxUSE_UNICODE_UTF8" ${wx_arg_cache_file}`
6765 if test "x$LINE" != x ; then
6766 eval "DEFAULT_$LINE"
6771 ac_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
6776 eval "$ac_cv_use_utf8"
6777 if test "$no_cache" != 1; then
6778 echo $ac_cv_use_utf8 >> ${wx_arg_cache_file}.tmp
6781 if test "$wxUSE_UNICODE_UTF8" = yes; then
6782 { echo "$as_me:$LINENO: result: yes" >&5
6783 echo "${ECHO_T}yes" >&6; }
6785 { echo "$as_me:$LINENO: result: no" >&5
6786 echo "${ECHO_T}no" >&6; }
6791 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
6792 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
6794 # Check whether --enable-snglinst was given.
6795 if test "${enable_snglinst+set}" = set; then
6796 enableval=$enable_snglinst;
6797 if test "$enableval" = yes; then
6798 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
6800 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
6805 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
6806 if test "x$LINE" != x ; then
6807 eval "DEFAULT_$LINE"
6812 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
6817 eval "$ac_cv_use_snglinst"
6818 if test "$no_cache" != 1; then
6819 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
6822 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
6823 { echo "$as_me:$LINENO: result: yes" >&5
6824 echo "${ECHO_T}yes" >&6; }
6826 { echo "$as_me:$LINENO: result: no" >&5
6827 echo "${ECHO_T}no" >&6; }
6832 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
6833 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
6835 # Check whether --enable-std_iostreams was given.
6836 if test "${enable_std_iostreams+set}" = set; then
6837 enableval=$enable_std_iostreams;
6838 if test "$enableval" = yes; then
6839 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
6841 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
6846 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
6847 if test "x$LINE" != x ; then
6848 eval "DEFAULT_$LINE"
6853 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
6858 eval "$ac_cv_use_std_iostreams"
6859 if test "$no_cache" != 1; then
6860 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
6863 if test "$wxUSE_STD_IOSTREAM" = yes; then
6864 { echo "$as_me:$LINENO: result: yes" >&5
6865 echo "${ECHO_T}yes" >&6; }
6867 { echo "$as_me:$LINENO: result: no" >&5
6868 echo "${ECHO_T}no" >&6; }
6873 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
6874 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
6876 # Check whether --enable-std_string was given.
6877 if test "${enable_std_string+set}" = set; then
6878 enableval=$enable_std_string;
6879 if test "$enableval" = yes; then
6880 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
6882 ac_cv_use_std_string='wxUSE_STD_STRING=no'
6887 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
6888 if test "x$LINE" != x ; then
6889 eval "DEFAULT_$LINE"
6894 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
6899 eval "$ac_cv_use_std_string"
6900 if test "$no_cache" != 1; then
6901 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
6904 if test "$wxUSE_STD_STRING" = yes; then
6905 { echo "$as_me:$LINENO: result: yes" >&5
6906 echo "${ECHO_T}yes" >&6; }
6908 { echo "$as_me:$LINENO: result: no" >&5
6909 echo "${ECHO_T}no" >&6; }
6914 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
6915 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
6917 # Check whether --enable-stdpaths was given.
6918 if test "${enable_stdpaths+set}" = set; then
6919 enableval=$enable_stdpaths;
6920 if test "$enableval" = yes; then
6921 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
6923 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
6928 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
6929 if test "x$LINE" != x ; then
6930 eval "DEFAULT_$LINE"
6935 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
6940 eval "$ac_cv_use_stdpaths"
6941 if test "$no_cache" != 1; then
6942 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
6945 if test "$wxUSE_STDPATHS" = yes; then
6946 { echo "$as_me:$LINENO: result: yes" >&5
6947 echo "${ECHO_T}yes" >&6; }
6949 { echo "$as_me:$LINENO: result: no" >&5
6950 echo "${ECHO_T}no" >&6; }
6955 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6956 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
6958 # Check whether --enable-stopwatch was given.
6959 if test "${enable_stopwatch+set}" = set; then
6960 enableval=$enable_stopwatch;
6961 if test "$enableval" = yes; then
6962 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
6964 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
6969 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
6970 if test "x$LINE" != x ; then
6971 eval "DEFAULT_$LINE"
6976 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
6981 eval "$ac_cv_use_stopwatch"
6982 if test "$no_cache" != 1; then
6983 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
6986 if test "$wxUSE_STOPWATCH" = yes; then
6987 { echo "$as_me:$LINENO: result: yes" >&5
6988 echo "${ECHO_T}yes" >&6; }
6990 { echo "$as_me:$LINENO: result: no" >&5
6991 echo "${ECHO_T}no" >&6; }
6996 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
6997 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
6999 # Check whether --enable-streams was given.
7000 if test "${enable_streams+set}" = set; then
7001 enableval=$enable_streams;
7002 if test "$enableval" = yes; then
7003 ac_cv_use_streams='wxUSE_STREAMS=yes'
7005 ac_cv_use_streams='wxUSE_STREAMS=no'
7010 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
7011 if test "x$LINE" != x ; then
7012 eval "DEFAULT_$LINE"
7017 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
7022 eval "$ac_cv_use_streams"
7023 if test "$no_cache" != 1; then
7024 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
7027 if test "$wxUSE_STREAMS" = yes; then
7028 { echo "$as_me:$LINENO: result: yes" >&5
7029 echo "${ECHO_T}yes" >&6; }
7031 { echo "$as_me:$LINENO: result: no" >&5
7032 echo "${ECHO_T}no" >&6; }
7037 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7038 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7040 # Check whether --enable-system_options was given.
7041 if test "${enable_system_options+set}" = set; then
7042 enableval=$enable_system_options;
7043 if test "$enableval" = yes; then
7044 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
7046 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
7051 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
7052 if test "x$LINE" != x ; then
7053 eval "DEFAULT_$LINE"
7058 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
7063 eval "$ac_cv_use_system_options"
7064 if test "$no_cache" != 1; then
7065 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
7068 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
7069 { echo "$as_me:$LINENO: result: yes" >&5
7070 echo "${ECHO_T}yes" >&6; }
7072 { echo "$as_me:$LINENO: result: no" >&5
7073 echo "${ECHO_T}no" >&6; }
7078 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7079 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7081 # Check whether --enable-tarstream was given.
7082 if test "${enable_tarstream+set}" = set; then
7083 enableval=$enable_tarstream;
7084 if test "$enableval" = yes; then
7085 ac_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7087 ac_cv_use_tarstream='wxUSE_TARSTREAM=no'
7092 LINE=`grep "wxUSE_TARSTREAM" ${wx_arg_cache_file}`
7093 if test "x$LINE" != x ; then
7094 eval "DEFAULT_$LINE"
7099 ac_cv_use_tarstream='wxUSE_TARSTREAM='$DEFAULT_wxUSE_TARSTREAM
7104 eval "$ac_cv_use_tarstream"
7105 if test "$no_cache" != 1; then
7106 echo $ac_cv_use_tarstream >> ${wx_arg_cache_file}.tmp
7109 if test "$wxUSE_TARSTREAM" = yes; then
7110 { echo "$as_me:$LINENO: result: yes" >&5
7111 echo "${ECHO_T}yes" >&6; }
7113 { echo "$as_me:$LINENO: result: no" >&5
7114 echo "${ECHO_T}no" >&6; }
7119 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7120 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7122 # Check whether --enable-textbuf was given.
7123 if test "${enable_textbuf+set}" = set; then
7124 enableval=$enable_textbuf;
7125 if test "$enableval" = yes; then
7126 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7128 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7133 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
7134 if test "x$LINE" != x ; then
7135 eval "DEFAULT_$LINE"
7140 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
7145 eval "$ac_cv_use_textbuf"
7146 if test "$no_cache" != 1; then
7147 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
7150 if test "$wxUSE_TEXTBUFFER" = yes; then
7151 { echo "$as_me:$LINENO: result: yes" >&5
7152 echo "${ECHO_T}yes" >&6; }
7154 { echo "$as_me:$LINENO: result: no" >&5
7155 echo "${ECHO_T}no" >&6; }
7160 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7161 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7163 # Check whether --enable-textfile was given.
7164 if test "${enable_textfile+set}" = set; then
7165 enableval=$enable_textfile;
7166 if test "$enableval" = yes; then
7167 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
7169 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
7174 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
7175 if test "x$LINE" != x ; then
7176 eval "DEFAULT_$LINE"
7181 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
7186 eval "$ac_cv_use_textfile"
7187 if test "$no_cache" != 1; then
7188 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
7191 if test "$wxUSE_TEXTFILE" = yes; then
7192 { echo "$as_me:$LINENO: result: yes" >&5
7193 echo "${ECHO_T}yes" >&6; }
7195 { echo "$as_me:$LINENO: result: no" >&5
7196 echo "${ECHO_T}no" >&6; }
7201 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7202 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7204 # Check whether --enable-timer was given.
7205 if test "${enable_timer+set}" = set; then
7206 enableval=$enable_timer;
7207 if test "$enableval" = yes; then
7208 ac_cv_use_timer='wxUSE_TIMER=yes'
7210 ac_cv_use_timer='wxUSE_TIMER=no'
7215 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
7216 if test "x$LINE" != x ; then
7217 eval "DEFAULT_$LINE"
7222 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
7227 eval "$ac_cv_use_timer"
7228 if test "$no_cache" != 1; then
7229 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
7232 if test "$wxUSE_TIMER" = yes; then
7233 { echo "$as_me:$LINENO: result: yes" >&5
7234 echo "${ECHO_T}yes" >&6; }
7236 { echo "$as_me:$LINENO: result: no" >&5
7237 echo "${ECHO_T}no" >&6; }
7242 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
7243 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
7245 # Check whether --enable-unicode was given.
7246 if test "${enable_unicode+set}" = set; then
7247 enableval=$enable_unicode;
7248 if test "$enableval" = yes; then
7249 ac_cv_use_unicode='wxUSE_UNICODE=yes'
7251 ac_cv_use_unicode='wxUSE_UNICODE=no'
7256 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
7257 if test "x$LINE" != x ; then
7258 eval "DEFAULT_$LINE"
7263 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
7268 eval "$ac_cv_use_unicode"
7269 if test "$no_cache" != 1; then
7270 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
7273 if test "$wxUSE_UNICODE" = yes; then
7274 { echo "$as_me:$LINENO: result: yes" >&5
7275 echo "${ECHO_T}yes" >&6; }
7277 { echo "$as_me:$LINENO: result: no" >&5
7278 echo "${ECHO_T}no" >&6; }
7283 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7284 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7286 # Check whether --enable-sound was given.
7287 if test "${enable_sound+set}" = set; then
7288 enableval=$enable_sound;
7289 if test "$enableval" = yes; then
7290 ac_cv_use_sound='wxUSE_SOUND=yes'
7292 ac_cv_use_sound='wxUSE_SOUND=no'
7297 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
7298 if test "x$LINE" != x ; then
7299 eval "DEFAULT_$LINE"
7304 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
7309 eval "$ac_cv_use_sound"
7310 if test "$no_cache" != 1; then
7311 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
7314 if test "$wxUSE_SOUND" = yes; then
7315 { echo "$as_me:$LINENO: result: yes" >&5
7316 echo "${ECHO_T}yes" >&6; }
7318 { echo "$as_me:$LINENO: result: no" >&5
7319 echo "${ECHO_T}no" >&6; }
7324 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
7325 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
7327 # Check whether --enable-mediactrl was given.
7328 if test "${enable_mediactrl+set}" = set; then
7329 enableval=$enable_mediactrl;
7330 if test "$enableval" = yes; then
7331 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
7333 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
7338 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
7339 if test "x$LINE" != x ; then
7340 eval "DEFAULT_$LINE"
7345 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
7350 eval "$ac_cv_use_mediactrl"
7351 if test "$no_cache" != 1; then
7352 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
7355 if test "$wxUSE_MEDIACTRL" = yes; then
7356 { echo "$as_me:$LINENO: result: yes" >&5
7357 echo "${ECHO_T}yes" >&6; }
7359 { echo "$as_me:$LINENO: result: no" >&5
7360 echo "${ECHO_T}no" >&6; }
7365 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
7366 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
7368 # Check whether --enable-gstreamer8 was given.
7369 if test "${enable_gstreamer8+set}" = set; then
7370 enableval=$enable_gstreamer8;
7371 if test "$enableval" = yes; then
7372 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
7374 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
7379 LINE=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
7380 if test "x$LINE" != x ; then
7381 eval "DEFAULT_$LINE"
7386 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
7391 eval "$ac_cv_use_gstreamer8"
7392 if test "$no_cache" != 1; then
7393 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
7396 if test "$wxUSE_GSTREAMER8" = yes; then
7397 { echo "$as_me:$LINENO: result: yes" >&5
7398 echo "${ECHO_T}yes" >&6; }
7400 { echo "$as_me:$LINENO: result: no" >&5
7401 echo "${ECHO_T}no" >&6; }
7406 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7407 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7409 # Check whether --enable-printfposparam was given.
7410 if test "${enable_printfposparam+set}" = set; then
7411 enableval=$enable_printfposparam;
7412 if test "$enableval" = yes; then
7413 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7415 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7420 LINE=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
7421 if test "x$LINE" != x ; then
7422 eval "DEFAULT_$LINE"
7427 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
7432 eval "$ac_cv_use_printfposparam"
7433 if test "$no_cache" != 1; then
7434 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
7437 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
7438 { echo "$as_me:$LINENO: result: yes" >&5
7439 echo "${ECHO_T}yes" >&6; }
7441 { echo "$as_me:$LINENO: result: no" >&5
7442 echo "${ECHO_T}no" >&6; }
7447 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7448 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7450 # Check whether --enable-zipstream was given.
7451 if test "${enable_zipstream+set}" = set; then
7452 enableval=$enable_zipstream;
7453 if test "$enableval" = yes; then
7454 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7456 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7461 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
7462 if test "x$LINE" != x ; then
7463 eval "DEFAULT_$LINE"
7468 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
7473 eval "$ac_cv_use_zipstream"
7474 if test "$no_cache" != 1; then
7475 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
7478 if test "$wxUSE_ZIPSTREAM" = yes; then
7479 { echo "$as_me:$LINENO: result: yes" >&5
7480 echo "${ECHO_T}yes" >&6; }
7482 { echo "$as_me:$LINENO: result: no" >&5
7483 echo "${ECHO_T}no" >&6; }
7489 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7490 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7492 # Check whether --enable-url was given.
7493 if test "${enable_url+set}" = set; then
7494 enableval=$enable_url;
7495 if test "$enableval" = yes; then
7496 ac_cv_use_url='wxUSE_URL=yes'
7498 ac_cv_use_url='wxUSE_URL=no'
7503 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
7504 if test "x$LINE" != x ; then
7505 eval "DEFAULT_$LINE"
7510 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
7515 eval "$ac_cv_use_url"
7516 if test "$no_cache" != 1; then
7517 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
7520 if test "$wxUSE_URL" = yes; then
7521 { echo "$as_me:$LINENO: result: yes" >&5
7522 echo "${ECHO_T}yes" >&6; }
7524 { echo "$as_me:$LINENO: result: no" >&5
7525 echo "${ECHO_T}no" >&6; }
7530 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7531 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7533 # Check whether --enable-variant was given.
7534 if test "${enable_variant+set}" = set; then
7535 enableval=$enable_variant;
7536 if test "$enableval" = yes; then
7537 ac_cv_use_variant='wxUSE_VARIANT=yes'
7539 ac_cv_use_variant='wxUSE_VARIANT=no'
7544 LINE=`grep "wxUSE_VARIANT" ${wx_arg_cache_file}`
7545 if test "x$LINE" != x ; then
7546 eval "DEFAULT_$LINE"
7551 ac_cv_use_variant='wxUSE_VARIANT='$DEFAULT_wxUSE_VARIANT
7556 eval "$ac_cv_use_variant"
7557 if test "$no_cache" != 1; then
7558 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
7561 if test "$wxUSE_VARIANT" = yes; then
7562 { echo "$as_me:$LINENO: result: yes" >&5
7563 echo "${ECHO_T}yes" >&6; }
7565 { echo "$as_me:$LINENO: result: no" >&5
7566 echo "${ECHO_T}no" >&6; }
7571 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7572 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7574 # Check whether --enable-protocol was given.
7575 if test "${enable_protocol+set}" = set; then
7576 enableval=$enable_protocol;
7577 if test "$enableval" = yes; then
7578 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
7580 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
7585 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
7586 if test "x$LINE" != x ; then
7587 eval "DEFAULT_$LINE"
7592 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
7597 eval "$ac_cv_use_protocol"
7598 if test "$no_cache" != 1; then
7599 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
7602 if test "$wxUSE_PROTOCOL" = yes; then
7603 { echo "$as_me:$LINENO: result: yes" >&5
7604 echo "${ECHO_T}yes" >&6; }
7606 { echo "$as_me:$LINENO: result: no" >&5
7607 echo "${ECHO_T}no" >&6; }
7612 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
7613 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
7615 # Check whether --enable-protocol_http was given.
7616 if test "${enable_protocol_http+set}" = set; then
7617 enableval=$enable_protocol_http;
7618 if test "$enableval" = yes; then
7619 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
7621 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
7626 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
7627 if test "x$LINE" != x ; then
7628 eval "DEFAULT_$LINE"
7633 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
7638 eval "$ac_cv_use_protocol_http"
7639 if test "$no_cache" != 1; then
7640 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
7643 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
7644 { echo "$as_me:$LINENO: result: yes" >&5
7645 echo "${ECHO_T}yes" >&6; }
7647 { echo "$as_me:$LINENO: result: no" >&5
7648 echo "${ECHO_T}no" >&6; }
7653 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
7654 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
7656 # Check whether --enable-protocol_ftp was given.
7657 if test "${enable_protocol_ftp+set}" = set; then
7658 enableval=$enable_protocol_ftp;
7659 if test "$enableval" = yes; then
7660 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
7662 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
7667 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
7668 if test "x$LINE" != x ; then
7669 eval "DEFAULT_$LINE"
7674 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
7679 eval "$ac_cv_use_protocol_ftp"
7680 if test "$no_cache" != 1; then
7681 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
7684 if test "$wxUSE_PROTOCOL_FTP" = yes; then
7685 { echo "$as_me:$LINENO: result: yes" >&5
7686 echo "${ECHO_T}yes" >&6; }
7688 { echo "$as_me:$LINENO: result: no" >&5
7689 echo "${ECHO_T}no" >&6; }
7694 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
7695 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
7697 # Check whether --enable-protocol_file was given.
7698 if test "${enable_protocol_file+set}" = set; then
7699 enableval=$enable_protocol_file;
7700 if test "$enableval" = yes; then
7701 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
7703 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
7708 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
7709 if test "x$LINE" != x ; then
7710 eval "DEFAULT_$LINE"
7715 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
7720 eval "$ac_cv_use_protocol_file"
7721 if test "$no_cache" != 1; then
7722 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
7725 if test "$wxUSE_PROTOCOL_FILE" = yes; then
7726 { echo "$as_me:$LINENO: result: yes" >&5
7727 echo "${ECHO_T}yes" >&6; }
7729 { echo "$as_me:$LINENO: result: no" >&5
7730 echo "${ECHO_T}no" >&6; }
7738 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
7739 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
7741 # Check whether --enable-threads was given.
7742 if test "${enable_threads+set}" = set; then
7743 enableval=$enable_threads;
7744 if test "$enableval" = yes; then
7745 ac_cv_use_threads='wxUSE_THREADS=yes'
7747 ac_cv_use_threads='wxUSE_THREADS=no'
7752 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
7753 if test "x$LINE" != x ; then
7754 eval "DEFAULT_$LINE"
7759 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
7764 eval "$ac_cv_use_threads"
7765 if test "$no_cache" != 1; then
7766 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
7769 if test "$wxUSE_THREADS" = yes; then
7770 { echo "$as_me:$LINENO: result: yes" >&5
7771 echo "${ECHO_T}yes" >&6; }
7773 { echo "$as_me:$LINENO: result: no" >&5
7774 echo "${ECHO_T}no" >&6; }
7778 if test "$wxUSE_GUI" = "yes"; then
7783 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
7784 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
7786 # Check whether --enable-docview was given.
7787 if test "${enable_docview+set}" = set; then
7788 enableval=$enable_docview;
7789 if test "$enableval" = yes; then
7790 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
7792 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
7797 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
7798 if test "x$LINE" != x ; then
7799 eval "DEFAULT_$LINE"
7804 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
7809 eval "$ac_cv_use_docview"
7810 if test "$no_cache" != 1; then
7811 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
7814 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
7815 { echo "$as_me:$LINENO: result: yes" >&5
7816 echo "${ECHO_T}yes" >&6; }
7818 { echo "$as_me:$LINENO: result: no" >&5
7819 echo "${ECHO_T}no" >&6; }
7824 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
7825 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
7827 # Check whether --enable-help was given.
7828 if test "${enable_help+set}" = set; then
7829 enableval=$enable_help;
7830 if test "$enableval" = yes; then
7831 ac_cv_use_help='wxUSE_HELP=yes'
7833 ac_cv_use_help='wxUSE_HELP=no'
7838 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
7839 if test "x$LINE" != x ; then
7840 eval "DEFAULT_$LINE"
7845 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
7850 eval "$ac_cv_use_help"
7851 if test "$no_cache" != 1; then
7852 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
7855 if test "$wxUSE_HELP" = yes; then
7856 { echo "$as_me:$LINENO: result: yes" >&5
7857 echo "${ECHO_T}yes" >&6; }
7859 { echo "$as_me:$LINENO: result: no" >&5
7860 echo "${ECHO_T}no" >&6; }
7865 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
7866 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
7868 # Check whether --enable-mshtmlhelp was given.
7869 if test "${enable_mshtmlhelp+set}" = set; then
7870 enableval=$enable_mshtmlhelp;
7871 if test "$enableval" = yes; then
7872 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
7874 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
7879 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
7880 if test "x$LINE" != x ; then
7881 eval "DEFAULT_$LINE"
7886 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
7891 eval "$ac_cv_use_mshtmlhelp"
7892 if test "$no_cache" != 1; then
7893 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
7896 if test "$wxUSE_MS_HTML_HELP" = yes; then
7897 { echo "$as_me:$LINENO: result: yes" >&5
7898 echo "${ECHO_T}yes" >&6; }
7900 { echo "$as_me:$LINENO: result: no" >&5
7901 echo "${ECHO_T}no" >&6; }
7906 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7907 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
7909 # Check whether --enable-html was given.
7910 if test "${enable_html+set}" = set; then
7911 enableval=$enable_html;
7912 if test "$enableval" = yes; then
7913 ac_cv_use_html='wxUSE_HTML=yes'
7915 ac_cv_use_html='wxUSE_HTML=no'
7920 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
7921 if test "x$LINE" != x ; then
7922 eval "DEFAULT_$LINE"
7927 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
7932 eval "$ac_cv_use_html"
7933 if test "$no_cache" != 1; then
7934 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7937 if test "$wxUSE_HTML" = yes; then
7938 { echo "$as_me:$LINENO: result: yes" >&5
7939 echo "${ECHO_T}yes" >&6; }
7941 { echo "$as_me:$LINENO: result: no" >&5
7942 echo "${ECHO_T}no" >&6; }
7947 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
7948 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
7950 # Check whether --enable-htmlhelp was given.
7951 if test "${enable_htmlhelp+set}" = set; then
7952 enableval=$enable_htmlhelp;
7953 if test "$enableval" = yes; then
7954 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
7956 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
7961 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
7962 if test "x$LINE" != x ; then
7963 eval "DEFAULT_$LINE"
7968 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
7973 eval "$ac_cv_use_htmlhelp"
7974 if test "$no_cache" != 1; then
7975 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
7978 if test "$wxUSE_WXHTML_HELP" = yes; then
7979 { echo "$as_me:$LINENO: result: yes" >&5
7980 echo "${ECHO_T}yes" >&6; }
7982 { echo "$as_me:$LINENO: result: no" >&5
7983 echo "${ECHO_T}no" >&6; }
7988 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
7989 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
7991 # Check whether --enable-xrc was given.
7992 if test "${enable_xrc+set}" = set; then
7993 enableval=$enable_xrc;
7994 if test "$enableval" = yes; then
7995 ac_cv_use_xrc='wxUSE_XRC=yes'
7997 ac_cv_use_xrc='wxUSE_XRC=no'
8002 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
8003 if test "x$LINE" != x ; then
8004 eval "DEFAULT_$LINE"
8009 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
8014 eval "$ac_cv_use_xrc"
8015 if test "$no_cache" != 1; then
8016 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
8019 if test "$wxUSE_XRC" = yes; then
8020 { echo "$as_me:$LINENO: result: yes" >&5
8021 echo "${ECHO_T}yes" >&6; }
8023 { echo "$as_me:$LINENO: result: no" >&5
8024 echo "${ECHO_T}no" >&6; }
8029 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8030 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8032 # Check whether --enable-aui was given.
8033 if test "${enable_aui+set}" = set; then
8034 enableval=$enable_aui;
8035 if test "$enableval" = yes; then
8036 ac_cv_use_aui='wxUSE_AUI=yes'
8038 ac_cv_use_aui='wxUSE_AUI=no'
8043 LINE=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
8044 if test "x$LINE" != x ; then
8045 eval "DEFAULT_$LINE"
8050 ac_cv_use_aui='wxUSE_AUI='$DEFAULT_wxUSE_AUI
8055 eval "$ac_cv_use_aui"
8056 if test "$no_cache" != 1; then
8057 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
8060 if test "$wxUSE_AUI" = yes; then
8061 { echo "$as_me:$LINENO: result: yes" >&5
8062 echo "${ECHO_T}yes" >&6; }
8064 { echo "$as_me:$LINENO: result: no" >&5
8065 echo "${ECHO_T}no" >&6; }
8070 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8071 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8073 # Check whether --enable-stc was given.
8074 if test "${enable_stc+set}" = set; then
8075 enableval=$enable_stc;
8076 if test "$enableval" = yes; then
8077 ac_cv_use_stc='wxUSE_STC=yes'
8079 ac_cv_use_stc='wxUSE_STC=no'
8084 LINE=`grep "wxUSE_STC" ${wx_arg_cache_file}`
8085 if test "x$LINE" != x ; then
8086 eval "DEFAULT_$LINE"
8091 ac_cv_use_stc='wxUSE_STC='$DEFAULT_wxUSE_STC
8096 eval "$ac_cv_use_stc"
8097 if test "$no_cache" != 1; then
8098 echo $ac_cv_use_stc >> ${wx_arg_cache_file}.tmp
8101 if test "$wxUSE_STC" = yes; then
8102 { echo "$as_me:$LINENO: result: yes" >&5
8103 echo "${ECHO_T}yes" >&6; }
8105 { echo "$as_me:$LINENO: result: no" >&5
8106 echo "${ECHO_T}no" >&6; }
8111 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8112 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8114 # Check whether --enable-constraints was given.
8115 if test "${enable_constraints+set}" = set; then
8116 enableval=$enable_constraints;
8117 if test "$enableval" = yes; then
8118 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8120 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8125 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
8126 if test "x$LINE" != x ; then
8127 eval "DEFAULT_$LINE"
8132 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
8137 eval "$ac_cv_use_constraints"
8138 if test "$no_cache" != 1; then
8139 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
8142 if test "$wxUSE_CONSTRAINTS" = yes; then
8143 { echo "$as_me:$LINENO: result: yes" >&5
8144 echo "${ECHO_T}yes" >&6; }
8146 { echo "$as_me:$LINENO: result: no" >&5
8147 echo "${ECHO_T}no" >&6; }
8152 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
8153 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
8155 # Check whether --enable-printarch was given.
8156 if test "${enable_printarch+set}" = set; then
8157 enableval=$enable_printarch;
8158 if test "$enableval" = yes; then
8159 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
8161 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
8166 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
8167 if test "x$LINE" != x ; then
8168 eval "DEFAULT_$LINE"
8173 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
8178 eval "$ac_cv_use_printarch"
8179 if test "$no_cache" != 1; then
8180 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
8183 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
8184 { echo "$as_me:$LINENO: result: yes" >&5
8185 echo "${ECHO_T}yes" >&6; }
8187 { echo "$as_me:$LINENO: result: no" >&5
8188 echo "${ECHO_T}no" >&6; }
8193 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8194 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8196 # Check whether --enable-mdi was given.
8197 if test "${enable_mdi+set}" = set; then
8198 enableval=$enable_mdi;
8199 if test "$enableval" = yes; then
8200 ac_cv_use_mdi='wxUSE_MDI=yes'
8202 ac_cv_use_mdi='wxUSE_MDI=no'
8207 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
8208 if test "x$LINE" != x ; then
8209 eval "DEFAULT_$LINE"
8214 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
8219 eval "$ac_cv_use_mdi"
8220 if test "$no_cache" != 1; then
8221 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
8224 if test "$wxUSE_MDI" = yes; then
8225 { echo "$as_me:$LINENO: result: yes" >&5
8226 echo "${ECHO_T}yes" >&6; }
8228 { echo "$as_me:$LINENO: result: no" >&5
8229 echo "${ECHO_T}no" >&6; }
8234 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8235 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8237 # Check whether --enable-mdidoc was given.
8238 if test "${enable_mdidoc+set}" = set; then
8239 enableval=$enable_mdidoc;
8240 if test "$enableval" = yes; then
8241 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8243 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8248 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
8249 if test "x$LINE" != x ; then
8250 eval "DEFAULT_$LINE"
8255 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
8260 eval "$ac_cv_use_mdidoc"
8261 if test "$no_cache" != 1; then
8262 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
8265 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
8266 { echo "$as_me:$LINENO: result: yes" >&5
8267 echo "${ECHO_T}yes" >&6; }
8269 { echo "$as_me:$LINENO: result: no" >&5
8270 echo "${ECHO_T}no" >&6; }
8275 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8276 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8278 # Check whether --enable-loggui was given.
8279 if test "${enable_loggui+set}" = set; then
8280 enableval=$enable_loggui;
8281 if test "$enableval" = yes; then
8282 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
8284 ac_cv_use_loggui='wxUSE_LOGGUI=no'
8289 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
8290 if test "x$LINE" != x ; then
8291 eval "DEFAULT_$LINE"
8296 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
8301 eval "$ac_cv_use_loggui"
8302 if test "$no_cache" != 1; then
8303 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
8306 if test "$wxUSE_LOGGUI" = yes; then
8307 { echo "$as_me:$LINENO: result: yes" >&5
8308 echo "${ECHO_T}yes" >&6; }
8310 { echo "$as_me:$LINENO: result: no" >&5
8311 echo "${ECHO_T}no" >&6; }
8316 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8317 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8319 # Check whether --enable-logwin was given.
8320 if test "${enable_logwin+set}" = set; then
8321 enableval=$enable_logwin;
8322 if test "$enableval" = yes; then
8323 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8325 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
8330 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
8331 if test "x$LINE" != x ; then
8332 eval "DEFAULT_$LINE"
8337 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
8342 eval "$ac_cv_use_logwin"
8343 if test "$no_cache" != 1; then
8344 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
8347 if test "$wxUSE_LOGWINDOW" = yes; then
8348 { echo "$as_me:$LINENO: result: yes" >&5
8349 echo "${ECHO_T}yes" >&6; }
8351 { echo "$as_me:$LINENO: result: no" >&5
8352 echo "${ECHO_T}no" >&6; }
8357 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8358 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8360 # Check whether --enable-logdialog was given.
8361 if test "${enable_logdialog+set}" = set; then
8362 enableval=$enable_logdialog;
8363 if test "$enableval" = yes; then
8364 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8366 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8371 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
8372 if test "x$LINE" != x ; then
8373 eval "DEFAULT_$LINE"
8378 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
8383 eval "$ac_cv_use_logdialog"
8384 if test "$no_cache" != 1; then
8385 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
8388 if test "$wxUSE_LOGDIALOG" = yes; then
8389 { echo "$as_me:$LINENO: result: yes" >&5
8390 echo "${ECHO_T}yes" >&6; }
8392 { echo "$as_me:$LINENO: result: no" >&5
8393 echo "${ECHO_T}no" >&6; }
8398 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
8399 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
8401 # Check whether --enable-webkit was given.
8402 if test "${enable_webkit+set}" = set; then
8403 enableval=$enable_webkit;
8404 if test "$enableval" = yes; then
8405 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
8407 ac_cv_use_webkit='wxUSE_WEBKIT=no'
8412 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
8413 if test "x$LINE" != x ; then
8414 eval "DEFAULT_$LINE"
8419 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
8424 eval "$ac_cv_use_webkit"
8425 if test "$no_cache" != 1; then
8426 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
8429 if test "$wxUSE_WEBKIT" = yes; then
8430 { echo "$as_me:$LINENO: result: yes" >&5
8431 echo "${ECHO_T}yes" >&6; }
8433 { echo "$as_me:$LINENO: result: no" >&5
8434 echo "${ECHO_T}no" >&6; }
8439 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
8440 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
8442 # Check whether --enable-richtext was given.
8443 if test "${enable_richtext+set}" = set; then
8444 enableval=$enable_richtext;
8445 if test "$enableval" = yes; then
8446 ac_cv_use_richtext='wxUSE_RICHTEXT=yes'
8448 ac_cv_use_richtext='wxUSE_RICHTEXT=no'
8453 LINE=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
8454 if test "x$LINE" != x ; then
8455 eval "DEFAULT_$LINE"
8460 ac_cv_use_richtext='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
8465 eval "$ac_cv_use_richtext"
8466 if test "$no_cache" != 1; then
8467 echo $ac_cv_use_richtext >> ${wx_arg_cache_file}.tmp
8470 if test "$wxUSE_RICHTEXT" = yes; then
8471 { echo "$as_me:$LINENO: result: yes" >&5
8472 echo "${ECHO_T}yes" >&6; }
8474 { echo "$as_me:$LINENO: result: no" >&5
8475 echo "${ECHO_T}no" >&6; }
8480 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
8481 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
8483 # Check whether --enable-graphics_ctx was given.
8484 if test "${enable_graphics_ctx+set}" = set; then
8485 enableval=$enable_graphics_ctx;
8486 if test "$enableval" = yes; then
8487 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
8489 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
8494 LINE=`grep "wxUSE_GRAPHICS_CONTEXT" ${wx_arg_cache_file}`
8495 if test "x$LINE" != x ; then
8496 eval "DEFAULT_$LINE"
8501 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT='$DEFAULT_wxUSE_GRAPHICS_CONTEXT
8506 eval "$ac_cv_use_graphics_ctx"
8507 if test "$no_cache" != 1; then
8508 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
8511 if test "$wxUSE_GRAPHICS_CONTEXT" = yes; then
8512 { echo "$as_me:$LINENO: result: yes" >&5
8513 echo "${ECHO_T}yes" >&6; }
8515 { echo "$as_me:$LINENO: result: no" >&5
8516 echo "${ECHO_T}no" >&6; }
8522 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
8523 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
8525 # Check whether --enable-postscript was given.
8526 if test "${enable_postscript+set}" = set; then
8527 enableval=$enable_postscript;
8528 if test "$enableval" = yes; then
8529 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
8531 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
8536 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
8537 if test "x$LINE" != x ; then
8538 eval "DEFAULT_$LINE"
8543 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
8548 eval "$ac_cv_use_postscript"
8549 if test "$no_cache" != 1; then
8550 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
8553 if test "$wxUSE_POSTSCRIPT" = yes; then
8554 { echo "$as_me:$LINENO: result: yes" >&5
8555 echo "${ECHO_T}yes" >&6; }
8557 { echo "$as_me:$LINENO: result: no" >&5
8558 echo "${ECHO_T}no" >&6; }
8566 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
8567 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
8569 # Check whether --enable-clipboard was given.
8570 if test "${enable_clipboard+set}" = set; then
8571 enableval=$enable_clipboard;
8572 if test "$enableval" = yes; then
8573 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
8575 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
8580 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
8581 if test "x$LINE" != x ; then
8582 eval "DEFAULT_$LINE"
8587 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
8592 eval "$ac_cv_use_clipboard"
8593 if test "$no_cache" != 1; then
8594 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
8597 if test "$wxUSE_CLIPBOARD" = yes; then
8598 { echo "$as_me:$LINENO: result: yes" >&5
8599 echo "${ECHO_T}yes" >&6; }
8601 { echo "$as_me:$LINENO: result: no" >&5
8602 echo "${ECHO_T}no" >&6; }
8607 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
8608 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
8610 # Check whether --enable-dnd was given.
8611 if test "${enable_dnd+set}" = set; then
8612 enableval=$enable_dnd;
8613 if test "$enableval" = yes; then
8614 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
8616 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
8621 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
8622 if test "x$LINE" != x ; then
8623 eval "DEFAULT_$LINE"
8628 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
8633 eval "$ac_cv_use_dnd"
8634 if test "$no_cache" != 1; then
8635 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
8638 if test "$wxUSE_DRAG_AND_DROP" = yes; then
8639 { echo "$as_me:$LINENO: result: yes" >&5
8640 echo "${ECHO_T}yes" >&6; }
8642 { echo "$as_me:$LINENO: result: no" >&5
8643 echo "${ECHO_T}no" >&6; }
8648 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
8649 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
8651 # Check whether --enable-metafile was given.
8652 if test "${enable_metafile+set}" = set; then
8653 enableval=$enable_metafile;
8654 if test "$enableval" = yes; then
8655 ac_cv_use_metafile='wxUSE_METAFILE=yes'
8657 ac_cv_use_metafile='wxUSE_METAFILE=no'
8662 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8663 if test "x$LINE" != x ; then
8664 eval "DEFAULT_$LINE"
8669 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8674 eval "$ac_cv_use_metafile"
8675 if test "$no_cache" != 1; then
8676 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8679 if test "$wxUSE_METAFILE" = yes; then
8680 { echo "$as_me:$LINENO: result: yes" >&5
8681 echo "${ECHO_T}yes" >&6; }
8683 { echo "$as_me:$LINENO: result: no" >&5
8684 echo "${ECHO_T}no" >&6; }
8692 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
8693 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
8695 # Check whether --enable-controls was given.
8696 if test "${enable_controls+set}" = set; then
8697 enableval=$enable_controls;
8698 if test "$enableval" = yes; then
8699 ac_cv_use_controls='wxUSE_CONTROLS=yes'
8701 ac_cv_use_controls='wxUSE_CONTROLS=no'
8706 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
8707 if test "x$LINE" != x ; then
8708 eval "DEFAULT_$LINE"
8713 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
8718 eval "$ac_cv_use_controls"
8719 if test "$no_cache" != 1; then
8720 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
8723 if test "$wxUSE_CONTROLS" = yes; then
8724 { echo "$as_me:$LINENO: result: yes" >&5
8725 echo "${ECHO_T}yes" >&6; }
8727 { echo "$as_me:$LINENO: result: no" >&5
8728 echo "${ECHO_T}no" >&6; }
8732 if test "$wxUSE_CONTROLS" = "yes"; then
8733 DEFAULT_wxUSE_ACCEL=yes
8734 DEFAULT_wxUSE_ANIMATIONCTRL=yes
8735 DEFAULT_wxUSE_BMPBUTTON=yes
8736 DEFAULT_wxUSE_BUTTON=yes
8737 DEFAULT_wxUSE_CALCTRL=yes
8738 DEFAULT_wxUSE_CARET=yes
8739 DEFAULT_wxUSE_COMBOBOX=yes
8740 DEFAULT_wxUSE_CHECKBOX=yes
8741 DEFAULT_wxUSE_CHECKLISTBOX=yes
8742 DEFAULT_wxUSE_CHOICE=yes
8743 DEFAULT_wxUSE_CHOICEBOOK=yes
8744 DEFAULT_wxUSE_COLLPANE=yes
8745 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
8746 DEFAULT_wxUSE_COMBOBOX=yes
8747 DEFAULT_wxUSE_DATEPICKCTRL=yes
8748 DEFAULT_wxUSE_DISPLAY=yes
8749 DEFAULT_wxUSE_DETECT_SM=yes
8750 DEFAULT_wxUSE_DIRPICKERCTRL=yes
8751 DEFAULT_wxUSE_FILEPICKERCTRL=yes
8752 DEFAULT_wxUSE_FONTPICKERCTRL=yes
8753 DEFAULT_wxUSE_GAUGE=yes
8754 DEFAULT_wxUSE_GRID=yes
8755 DEFAULT_wxUSE_HYPERLINKCTRL=yes
8756 DEFAULT_wxUSE_DATAVIEWCTRL=no
8757 DEFAULT_wxUSE_IMAGLIST=yes
8758 DEFAULT_wxUSE_LISTBOOK=yes
8759 DEFAULT_wxUSE_LISTBOX=yes
8760 DEFAULT_wxUSE_LISTCTRL=yes
8761 DEFAULT_wxUSE_NOTEBOOK=yes
8762 DEFAULT_wxUSE_RADIOBOX=yes
8763 DEFAULT_wxUSE_RADIOBTN=yes
8764 DEFAULT_wxUSE_SASH=yes
8765 DEFAULT_wxUSE_SCROLLBAR=yes
8766 DEFAULT_wxUSE_SEARCHCTRL=yes
8767 DEFAULT_wxUSE_SLIDER=yes
8768 DEFAULT_wxUSE_SPINBTN=yes
8769 DEFAULT_wxUSE_SPINCTRL=yes
8770 DEFAULT_wxUSE_SPLITTER=yes
8771 DEFAULT_wxUSE_STATBMP=yes
8772 DEFAULT_wxUSE_STATBOX=yes
8773 DEFAULT_wxUSE_STATLINE=yes
8774 DEFAULT_wxUSE_STATUSBAR=yes
8775 DEFAULT_wxUSE_TAB_DIALOG=yes
8776 DEFAULT_wxUSE_TOGGLEBTN=yes
8777 DEFAULT_wxUSE_TOOLBAR=yes
8778 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
8779 DEFAULT_wxUSE_TOOLTIPS=yes
8780 DEFAULT_wxUSE_TREEBOOK=yes
8781 DEFAULT_wxUSE_TOOLBOOK=yes
8782 DEFAULT_wxUSE_TREECTRL=yes
8783 DEFAULT_wxUSE_POPUPWIN=yes
8784 DEFAULT_wxUSE_TIPWINDOW=yes
8785 elif test "$wxUSE_CONTROLS" = "no"; then
8786 DEFAULT_wxUSE_ACCEL=no
8787 DEFAULT_wxUSE_ANIMATIONCTRL=no
8788 DEFAULT_wxUSE_BMPBUTTON=no
8789 DEFAULT_wxUSE_BUTTON=no
8790 DEFAULT_wxUSE_CALCTRL=no
8791 DEFAULT_wxUSE_CARET=no
8792 DEFAULT_wxUSE_COLLPANE=no
8793 DEFAULT_wxUSE_COMBOBOX=no
8794 DEFAULT_wxUSE_CHECKBOX=no
8795 DEFAULT_wxUSE_CHECKLISTBOX=no
8796 DEFAULT_wxUSE_CHOICE=no
8797 DEFAULT_wxUSE_CHOICEBOOK=no
8798 DEFAULT_wxUSE_COLOURPICKERCTRL=no
8799 DEFAULT_wxUSE_COMBOBOX=no
8800 DEFAULT_wxUSE_DATEPICKCTRL=no
8801 DEFAULT_wxUSE_DISPLAY=no
8802 DEFAULT_wxUSE_DETECT_SM=no
8803 DEFAULT_wxUSE_DIRPICKERCTRL=no
8804 DEFAULT_wxUSE_FILEPICKERCTRL=no
8805 DEFAULT_wxUSE_FONTPICKERCTRL=no
8806 DEFAULT_wxUSE_GAUGE=no
8807 DEFAULT_wxUSE_GRID=no
8808 DEFAULT_wxUSE_HYPERLINKCTRL=no
8809 DEFAULT_wxUSE_DATAVIEWCTRL=no
8810 DEFAULT_wxUSE_IMAGLIST=no
8811 DEFAULT_wxUSE_LISTBOOK=no
8812 DEFAULT_wxUSE_LISTBOX=no
8813 DEFAULT_wxUSE_LISTCTRL=no
8814 DEFAULT_wxUSE_NOTEBOOK=no
8815 DEFAULT_wxUSE_RADIOBOX=no
8816 DEFAULT_wxUSE_RADIOBTN=no
8817 DEFAULT_wxUSE_SASH=no
8818 DEFAULT_wxUSE_SCROLLBAR=no
8819 DEFAULT_wxUSE_SEARCHCTRL=no
8820 DEFAULT_wxUSE_SLIDER=no
8821 DEFAULT_wxUSE_SPINBTN=no
8822 DEFAULT_wxUSE_SPINCTRL=no
8823 DEFAULT_wxUSE_SPLITTER=no
8824 DEFAULT_wxUSE_STATBMP=no
8825 DEFAULT_wxUSE_STATBOX=no
8826 DEFAULT_wxUSE_STATLINE=no
8827 DEFAULT_wxUSE_STATUSBAR=no
8828 DEFAULT_wxUSE_TAB_DIALOG=no
8829 DEFAULT_wxUSE_TOGGLEBTN=no
8830 DEFAULT_wxUSE_TOOLBAR=no
8831 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
8832 DEFAULT_wxUSE_TOOLTIPS=no
8833 DEFAULT_wxUSE_TREEBOOK=no
8834 DEFAULT_wxUSE_TOOLBOOK=no
8835 DEFAULT_wxUSE_TREECTRL=no
8836 DEFAULT_wxUSE_POPUPWIN=no
8837 DEFAULT_wxUSE_TIPWINDOW=no
8842 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
8843 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
8845 # Check whether --enable-accel was given.
8846 if test "${enable_accel+set}" = set; then
8847 enableval=$enable_accel;
8848 if test "$enableval" = yes; then
8849 ac_cv_use_accel='wxUSE_ACCEL=yes'
8851 ac_cv_use_accel='wxUSE_ACCEL=no'
8856 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
8857 if test "x$LINE" != x ; then
8858 eval "DEFAULT_$LINE"
8863 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
8868 eval "$ac_cv_use_accel"
8869 if test "$no_cache" != 1; then
8870 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
8873 if test "$wxUSE_ACCEL" = yes; then
8874 { echo "$as_me:$LINENO: result: yes" >&5
8875 echo "${ECHO_T}yes" >&6; }
8877 { echo "$as_me:$LINENO: result: no" >&5
8878 echo "${ECHO_T}no" >&6; }
8883 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
8884 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
8886 # Check whether --enable-animatectrl was given.
8887 if test "${enable_animatectrl+set}" = set; then
8888 enableval=$enable_animatectrl;
8889 if test "$enableval" = yes; then
8890 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
8892 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
8897 LINE=`grep "wxUSE_ANIMATIONCTRL" ${wx_arg_cache_file}`
8898 if test "x$LINE" != x ; then
8899 eval "DEFAULT_$LINE"
8904 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL='$DEFAULT_wxUSE_ANIMATIONCTRL
8909 eval "$ac_cv_use_animatectrl"
8910 if test "$no_cache" != 1; then
8911 echo $ac_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
8914 if test "$wxUSE_ANIMATIONCTRL" = yes; then
8915 { echo "$as_me:$LINENO: result: yes" >&5
8916 echo "${ECHO_T}yes" >&6; }
8918 { echo "$as_me:$LINENO: result: no" >&5
8919 echo "${ECHO_T}no" >&6; }
8924 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
8925 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
8927 # Check whether --enable-button was given.
8928 if test "${enable_button+set}" = set; then
8929 enableval=$enable_button;
8930 if test "$enableval" = yes; then
8931 ac_cv_use_button='wxUSE_BUTTON=yes'
8933 ac_cv_use_button='wxUSE_BUTTON=no'
8938 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
8939 if test "x$LINE" != x ; then
8940 eval "DEFAULT_$LINE"
8945 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
8950 eval "$ac_cv_use_button"
8951 if test "$no_cache" != 1; then
8952 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
8955 if test "$wxUSE_BUTTON" = yes; then
8956 { echo "$as_me:$LINENO: result: yes" >&5
8957 echo "${ECHO_T}yes" >&6; }
8959 { echo "$as_me:$LINENO: result: no" >&5
8960 echo "${ECHO_T}no" >&6; }
8965 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
8966 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
8968 # Check whether --enable-bmpbutton was given.
8969 if test "${enable_bmpbutton+set}" = set; then
8970 enableval=$enable_bmpbutton;
8971 if test "$enableval" = yes; then
8972 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
8974 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
8979 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
8980 if test "x$LINE" != x ; then
8981 eval "DEFAULT_$LINE"
8986 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
8991 eval "$ac_cv_use_bmpbutton"
8992 if test "$no_cache" != 1; then
8993 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
8996 if test "$wxUSE_BMPBUTTON" = yes; then
8997 { echo "$as_me:$LINENO: result: yes" >&5
8998 echo "${ECHO_T}yes" >&6; }
9000 { echo "$as_me:$LINENO: result: no" >&5
9001 echo "${ECHO_T}no" >&6; }
9006 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9007 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9009 # Check whether --enable-bmpcombobox was given.
9010 if test "${enable_bmpcombobox+set}" = set; then
9011 enableval=$enable_bmpcombobox;
9012 if test "$enableval" = yes; then
9013 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9015 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9020 LINE=`grep "wxUSE_BITMAPCOMBOBOX" ${wx_arg_cache_file}`
9021 if test "x$LINE" != x ; then
9022 eval "DEFAULT_$LINE"
9027 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX='$DEFAULT_wxUSE_BITMAPCOMBOBOX
9032 eval "$ac_cv_use_bmpcombobox"
9033 if test "$no_cache" != 1; then
9034 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
9037 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
9038 { echo "$as_me:$LINENO: result: yes" >&5
9039 echo "${ECHO_T}yes" >&6; }
9041 { echo "$as_me:$LINENO: result: no" >&5
9042 echo "${ECHO_T}no" >&6; }
9047 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9048 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9050 # Check whether --enable-calendar was given.
9051 if test "${enable_calendar+set}" = set; then
9052 enableval=$enable_calendar;
9053 if test "$enableval" = yes; then
9054 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
9056 ac_cv_use_calendar='wxUSE_CALCTRL=no'
9061 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
9062 if test "x$LINE" != x ; then
9063 eval "DEFAULT_$LINE"
9068 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
9073 eval "$ac_cv_use_calendar"
9074 if test "$no_cache" != 1; then
9075 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
9078 if test "$wxUSE_CALCTRL" = yes; then
9079 { echo "$as_me:$LINENO: result: yes" >&5
9080 echo "${ECHO_T}yes" >&6; }
9082 { echo "$as_me:$LINENO: result: no" >&5
9083 echo "${ECHO_T}no" >&6; }
9088 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9089 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9091 # Check whether --enable-caret was given.
9092 if test "${enable_caret+set}" = set; then
9093 enableval=$enable_caret;
9094 if test "$enableval" = yes; then
9095 ac_cv_use_caret='wxUSE_CARET=yes'
9097 ac_cv_use_caret='wxUSE_CARET=no'
9102 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
9103 if test "x$LINE" != x ; then
9104 eval "DEFAULT_$LINE"
9109 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
9114 eval "$ac_cv_use_caret"
9115 if test "$no_cache" != 1; then
9116 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
9119 if test "$wxUSE_CARET" = yes; then
9120 { echo "$as_me:$LINENO: result: yes" >&5
9121 echo "${ECHO_T}yes" >&6; }
9123 { echo "$as_me:$LINENO: result: no" >&5
9124 echo "${ECHO_T}no" >&6; }
9129 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9130 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9132 # Check whether --enable-checkbox was given.
9133 if test "${enable_checkbox+set}" = set; then
9134 enableval=$enable_checkbox;
9135 if test "$enableval" = yes; then
9136 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9138 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
9143 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
9144 if test "x$LINE" != x ; then
9145 eval "DEFAULT_$LINE"
9150 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
9155 eval "$ac_cv_use_checkbox"
9156 if test "$no_cache" != 1; then
9157 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
9160 if test "$wxUSE_CHECKBOX" = yes; then
9161 { echo "$as_me:$LINENO: result: yes" >&5
9162 echo "${ECHO_T}yes" >&6; }
9164 { echo "$as_me:$LINENO: result: no" >&5
9165 echo "${ECHO_T}no" >&6; }
9170 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9171 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9173 # Check whether --enable-checklst was given.
9174 if test "${enable_checklst+set}" = set; then
9175 enableval=$enable_checklst;
9176 if test "$enableval" = yes; then
9177 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
9179 ac_cv_use_checklst='wxUSE_CHECKLST=no'
9184 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
9185 if test "x$LINE" != x ; then
9186 eval "DEFAULT_$LINE"
9191 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
9196 eval "$ac_cv_use_checklst"
9197 if test "$no_cache" != 1; then
9198 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
9201 if test "$wxUSE_CHECKLST" = yes; then
9202 { echo "$as_me:$LINENO: result: yes" >&5
9203 echo "${ECHO_T}yes" >&6; }
9205 { echo "$as_me:$LINENO: result: no" >&5
9206 echo "${ECHO_T}no" >&6; }
9211 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9212 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9214 # Check whether --enable-choice was given.
9215 if test "${enable_choice+set}" = set; then
9216 enableval=$enable_choice;
9217 if test "$enableval" = yes; then
9218 ac_cv_use_choice='wxUSE_CHOICE=yes'
9220 ac_cv_use_choice='wxUSE_CHOICE=no'
9225 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
9226 if test "x$LINE" != x ; then
9227 eval "DEFAULT_$LINE"
9232 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
9237 eval "$ac_cv_use_choice"
9238 if test "$no_cache" != 1; then
9239 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
9242 if test "$wxUSE_CHOICE" = yes; then
9243 { echo "$as_me:$LINENO: result: yes" >&5
9244 echo "${ECHO_T}yes" >&6; }
9246 { echo "$as_me:$LINENO: result: no" >&5
9247 echo "${ECHO_T}no" >&6; }
9252 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
9253 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
9255 # Check whether --enable-choicebook was given.
9256 if test "${enable_choicebook+set}" = set; then
9257 enableval=$enable_choicebook;
9258 if test "$enableval" = yes; then
9259 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
9261 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
9266 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
9267 if test "x$LINE" != x ; then
9268 eval "DEFAULT_$LINE"
9273 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
9278 eval "$ac_cv_use_choicebook"
9279 if test "$no_cache" != 1; then
9280 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
9283 if test "$wxUSE_CHOICEBOOK" = yes; then
9284 { echo "$as_me:$LINENO: result: yes" >&5
9285 echo "${ECHO_T}yes" >&6; }
9287 { echo "$as_me:$LINENO: result: no" >&5
9288 echo "${ECHO_T}no" >&6; }
9293 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
9294 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
9296 # Check whether --enable-collpane was given.
9297 if test "${enable_collpane+set}" = set; then
9298 enableval=$enable_collpane;
9299 if test "$enableval" = yes; then
9300 ac_cv_use_collpane='wxUSE_COLLPANE=yes'
9302 ac_cv_use_collpane='wxUSE_COLLPANE=no'
9307 LINE=`grep "wxUSE_COLLPANE" ${wx_arg_cache_file}`
9308 if test "x$LINE" != x ; then
9309 eval "DEFAULT_$LINE"
9314 ac_cv_use_collpane='wxUSE_COLLPANE='$DEFAULT_wxUSE_COLLPANE
9319 eval "$ac_cv_use_collpane"
9320 if test "$no_cache" != 1; then
9321 echo $ac_cv_use_collpane >> ${wx_arg_cache_file}.tmp
9324 if test "$wxUSE_COLLPANE" = yes; then
9325 { echo "$as_me:$LINENO: result: yes" >&5
9326 echo "${ECHO_T}yes" >&6; }
9328 { echo "$as_me:$LINENO: result: no" >&5
9329 echo "${ECHO_T}no" >&6; }
9334 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
9335 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
9337 # Check whether --enable-colourpicker was given.
9338 if test "${enable_colourpicker+set}" = set; then
9339 enableval=$enable_colourpicker;
9340 if test "$enableval" = yes; then
9341 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
9343 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
9348 LINE=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
9349 if test "x$LINE" != x ; then
9350 eval "DEFAULT_$LINE"
9355 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
9360 eval "$ac_cv_use_colourpicker"
9361 if test "$no_cache" != 1; then
9362 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
9365 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
9366 { echo "$as_me:$LINENO: result: yes" >&5
9367 echo "${ECHO_T}yes" >&6; }
9369 { echo "$as_me:$LINENO: result: no" >&5
9370 echo "${ECHO_T}no" >&6; }
9375 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
9376 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
9378 # Check whether --enable-combobox was given.
9379 if test "${enable_combobox+set}" = set; then
9380 enableval=$enable_combobox;
9381 if test "$enableval" = yes; then
9382 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
9384 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
9389 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
9390 if test "x$LINE" != x ; then
9391 eval "DEFAULT_$LINE"
9396 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
9401 eval "$ac_cv_use_combobox"
9402 if test "$no_cache" != 1; then
9403 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
9406 if test "$wxUSE_COMBOBOX" = yes; then
9407 { echo "$as_me:$LINENO: result: yes" >&5
9408 echo "${ECHO_T}yes" >&6; }
9410 { echo "$as_me:$LINENO: result: no" >&5
9411 echo "${ECHO_T}no" >&6; }
9416 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
9417 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
9419 # Check whether --enable-comboctrl was given.
9420 if test "${enable_comboctrl+set}" = set; then
9421 enableval=$enable_comboctrl;
9422 if test "$enableval" = yes; then
9423 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
9425 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
9430 LINE=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
9431 if test "x$LINE" != x ; then
9432 eval "DEFAULT_$LINE"
9437 ac_cv_use_comboctrl='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
9442 eval "$ac_cv_use_comboctrl"
9443 if test "$no_cache" != 1; then
9444 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
9447 if test "$wxUSE_COMBOCTRL" = yes; then
9448 { echo "$as_me:$LINENO: result: yes" >&5
9449 echo "${ECHO_T}yes" >&6; }
9451 { echo "$as_me:$LINENO: result: no" >&5
9452 echo "${ECHO_T}no" >&6; }
9457 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
9458 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
9460 # Check whether --enable-datepick was given.
9461 if test "${enable_datepick+set}" = set; then
9462 enableval=$enable_datepick;
9463 if test "$enableval" = yes; then
9464 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
9466 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
9471 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
9472 if test "x$LINE" != x ; then
9473 eval "DEFAULT_$LINE"
9478 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
9483 eval "$ac_cv_use_datepick"
9484 if test "$no_cache" != 1; then
9485 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
9488 if test "$wxUSE_DATEPICKCTRL" = yes; then
9489 { echo "$as_me:$LINENO: result: yes" >&5
9490 echo "${ECHO_T}yes" >&6; }
9492 { echo "$as_me:$LINENO: result: no" >&5
9493 echo "${ECHO_T}no" >&6; }
9498 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
9499 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
9501 # Check whether --enable-dirpicker was given.
9502 if test "${enable_dirpicker+set}" = set; then
9503 enableval=$enable_dirpicker;
9504 if test "$enableval" = yes; then
9505 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
9507 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
9512 LINE=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
9513 if test "x$LINE" != x ; then
9514 eval "DEFAULT_$LINE"
9519 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
9524 eval "$ac_cv_use_dirpicker"
9525 if test "$no_cache" != 1; then
9526 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
9529 if test "$wxUSE_DIRPICKERCTRL" = yes; then
9530 { echo "$as_me:$LINENO: result: yes" >&5
9531 echo "${ECHO_T}yes" >&6; }
9533 { echo "$as_me:$LINENO: result: no" >&5
9534 echo "${ECHO_T}no" >&6; }
9539 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
9540 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
9542 # Check whether --enable-display was given.
9543 if test "${enable_display+set}" = set; then
9544 enableval=$enable_display;
9545 if test "$enableval" = yes; then
9546 ac_cv_use_display='wxUSE_DISPLAY=yes'
9548 ac_cv_use_display='wxUSE_DISPLAY=no'
9553 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
9554 if test "x$LINE" != x ; then
9555 eval "DEFAULT_$LINE"
9560 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
9565 eval "$ac_cv_use_display"
9566 if test "$no_cache" != 1; then
9567 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
9570 if test "$wxUSE_DISPLAY" = yes; then
9571 { echo "$as_me:$LINENO: result: yes" >&5
9572 echo "${ECHO_T}yes" >&6; }
9574 { echo "$as_me:$LINENO: result: no" >&5
9575 echo "${ECHO_T}no" >&6; }
9580 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
9581 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
9583 # Check whether --enable-detect_sm was given.
9584 if test "${enable_detect_sm+set}" = set; then
9585 enableval=$enable_detect_sm;
9586 if test "$enableval" = yes; then
9587 ac_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
9589 ac_cv_use_detect_sm='wxUSE_DETECT_SM=no'
9594 LINE=`grep "wxUSE_DETECT_SM" ${wx_arg_cache_file}`
9595 if test "x$LINE" != x ; then
9596 eval "DEFAULT_$LINE"
9601 ac_cv_use_detect_sm='wxUSE_DETECT_SM='$DEFAULT_wxUSE_DETECT_SM
9606 eval "$ac_cv_use_detect_sm"
9607 if test "$no_cache" != 1; then
9608 echo $ac_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
9611 if test "$wxUSE_DETECT_SM" = yes; then
9612 { echo "$as_me:$LINENO: result: yes" >&5
9613 echo "${ECHO_T}yes" >&6; }
9615 { echo "$as_me:$LINENO: result: no" >&5
9616 echo "${ECHO_T}no" >&6; }
9621 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
9622 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
9624 # Check whether --enable-filepicker was given.
9625 if test "${enable_filepicker+set}" = set; then
9626 enableval=$enable_filepicker;
9627 if test "$enableval" = yes; then
9628 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
9630 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
9635 LINE=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
9636 if test "x$LINE" != x ; then
9637 eval "DEFAULT_$LINE"
9642 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
9647 eval "$ac_cv_use_filepicker"
9648 if test "$no_cache" != 1; then
9649 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
9652 if test "$wxUSE_FILEPICKERCTRL" = yes; then
9653 { echo "$as_me:$LINENO: result: yes" >&5
9654 echo "${ECHO_T}yes" >&6; }
9656 { echo "$as_me:$LINENO: result: no" >&5
9657 echo "${ECHO_T}no" >&6; }
9662 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
9663 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
9665 # Check whether --enable-fontpicker was given.
9666 if test "${enable_fontpicker+set}" = set; then
9667 enableval=$enable_fontpicker;
9668 if test "$enableval" = yes; then
9669 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
9671 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
9676 LINE=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
9677 if test "x$LINE" != x ; then
9678 eval "DEFAULT_$LINE"
9683 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
9688 eval "$ac_cv_use_fontpicker"
9689 if test "$no_cache" != 1; then
9690 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
9693 if test "$wxUSE_FONTPICKERCTRL" = yes; then
9694 { echo "$as_me:$LINENO: result: yes" >&5
9695 echo "${ECHO_T}yes" >&6; }
9697 { echo "$as_me:$LINENO: result: no" >&5
9698 echo "${ECHO_T}no" >&6; }
9703 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
9704 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
9706 # Check whether --enable-gauge was given.
9707 if test "${enable_gauge+set}" = set; then
9708 enableval=$enable_gauge;
9709 if test "$enableval" = yes; then
9710 ac_cv_use_gauge='wxUSE_GAUGE=yes'
9712 ac_cv_use_gauge='wxUSE_GAUGE=no'
9717 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
9718 if test "x$LINE" != x ; then
9719 eval "DEFAULT_$LINE"
9724 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
9729 eval "$ac_cv_use_gauge"
9730 if test "$no_cache" != 1; then
9731 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
9734 if test "$wxUSE_GAUGE" = yes; then
9735 { echo "$as_me:$LINENO: result: yes" >&5
9736 echo "${ECHO_T}yes" >&6; }
9738 { echo "$as_me:$LINENO: result: no" >&5
9739 echo "${ECHO_T}no" >&6; }
9744 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
9745 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
9747 # Check whether --enable-grid was given.
9748 if test "${enable_grid+set}" = set; then
9749 enableval=$enable_grid;
9750 if test "$enableval" = yes; then
9751 ac_cv_use_grid='wxUSE_GRID=yes'
9753 ac_cv_use_grid='wxUSE_GRID=no'
9758 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
9759 if test "x$LINE" != x ; then
9760 eval "DEFAULT_$LINE"
9765 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
9770 eval "$ac_cv_use_grid"
9771 if test "$no_cache" != 1; then
9772 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
9775 if test "$wxUSE_GRID" = yes; then
9776 { echo "$as_me:$LINENO: result: yes" >&5
9777 echo "${ECHO_T}yes" >&6; }
9779 { echo "$as_me:$LINENO: result: no" >&5
9780 echo "${ECHO_T}no" >&6; }
9785 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
9786 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
9788 # Check whether --enable-dataviewctrl was given.
9789 if test "${enable_dataviewctrl+set}" = set; then
9790 enableval=$enable_dataviewctrl;
9791 if test "$enableval" = yes; then
9792 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
9794 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
9799 LINE=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
9800 if test "x$LINE" != x ; then
9801 eval "DEFAULT_$LINE"
9806 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
9811 eval "$ac_cv_use_dataviewctrl"
9812 if test "$no_cache" != 1; then
9813 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
9816 if test "$wxUSE_DATAVIEWCTRL" = yes; then
9817 { echo "$as_me:$LINENO: result: yes" >&5
9818 echo "${ECHO_T}yes" >&6; }
9820 { echo "$as_me:$LINENO: result: no" >&5
9821 echo "${ECHO_T}no" >&6; }
9826 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
9827 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
9829 # Check whether --enable-hyperlink was given.
9830 if test "${enable_hyperlink+set}" = set; then
9831 enableval=$enable_hyperlink;
9832 if test "$enableval" = yes; then
9833 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
9835 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
9840 LINE=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
9841 if test "x$LINE" != x ; then
9842 eval "DEFAULT_$LINE"
9847 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
9852 eval "$ac_cv_use_hyperlink"
9853 if test "$no_cache" != 1; then
9854 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
9857 if test "$wxUSE_HYPERLINKCTRL" = yes; then
9858 { echo "$as_me:$LINENO: result: yes" >&5
9859 echo "${ECHO_T}yes" >&6; }
9861 { echo "$as_me:$LINENO: result: no" >&5
9862 echo "${ECHO_T}no" >&6; }
9867 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
9868 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
9870 # Check whether --enable-imaglist was given.
9871 if test "${enable_imaglist+set}" = set; then
9872 enableval=$enable_imaglist;
9873 if test "$enableval" = yes; then
9874 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
9876 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
9881 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
9882 if test "x$LINE" != x ; then
9883 eval "DEFAULT_$LINE"
9888 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
9893 eval "$ac_cv_use_imaglist"
9894 if test "$no_cache" != 1; then
9895 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
9898 if test "$wxUSE_IMAGLIST" = yes; then
9899 { echo "$as_me:$LINENO: result: yes" >&5
9900 echo "${ECHO_T}yes" >&6; }
9902 { echo "$as_me:$LINENO: result: no" >&5
9903 echo "${ECHO_T}no" >&6; }
9908 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
9909 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
9911 # Check whether --enable-listbook was given.
9912 if test "${enable_listbook+set}" = set; then
9913 enableval=$enable_listbook;
9914 if test "$enableval" = yes; then
9915 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
9917 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
9922 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
9923 if test "x$LINE" != x ; then
9924 eval "DEFAULT_$LINE"
9929 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
9934 eval "$ac_cv_use_listbook"
9935 if test "$no_cache" != 1; then
9936 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
9939 if test "$wxUSE_LISTBOOK" = yes; then
9940 { echo "$as_me:$LINENO: result: yes" >&5
9941 echo "${ECHO_T}yes" >&6; }
9943 { echo "$as_me:$LINENO: result: no" >&5
9944 echo "${ECHO_T}no" >&6; }
9949 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
9950 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
9952 # Check whether --enable-listbox was given.
9953 if test "${enable_listbox+set}" = set; then
9954 enableval=$enable_listbox;
9955 if test "$enableval" = yes; then
9956 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
9958 ac_cv_use_listbox='wxUSE_LISTBOX=no'
9963 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
9964 if test "x$LINE" != x ; then
9965 eval "DEFAULT_$LINE"
9970 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
9975 eval "$ac_cv_use_listbox"
9976 if test "$no_cache" != 1; then
9977 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
9980 if test "$wxUSE_LISTBOX" = yes; then
9981 { echo "$as_me:$LINENO: result: yes" >&5
9982 echo "${ECHO_T}yes" >&6; }
9984 { echo "$as_me:$LINENO: result: no" >&5
9985 echo "${ECHO_T}no" >&6; }
9990 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
9991 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
9993 # Check whether --enable-listctrl was given.
9994 if test "${enable_listctrl+set}" = set; then
9995 enableval=$enable_listctrl;
9996 if test "$enableval" = yes; then
9997 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
9999 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
10004 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
10005 if test "x$LINE" != x ; then
10006 eval "DEFAULT_$LINE"
10011 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
10016 eval "$ac_cv_use_listctrl"
10017 if test "$no_cache" != 1; then
10018 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
10021 if test "$wxUSE_LISTCTRL" = yes; then
10022 { echo "$as_me:$LINENO: result: yes" >&5
10023 echo "${ECHO_T}yes" >&6; }
10025 { echo "$as_me:$LINENO: result: no" >&5
10026 echo "${ECHO_T}no" >&6; }
10031 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
10032 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
10034 # Check whether --enable-notebook was given.
10035 if test "${enable_notebook+set}" = set; then
10036 enableval=$enable_notebook;
10037 if test "$enableval" = yes; then
10038 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
10040 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
10045 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
10046 if test "x$LINE" != x ; then
10047 eval "DEFAULT_$LINE"
10052 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
10057 eval "$ac_cv_use_notebook"
10058 if test "$no_cache" != 1; then
10059 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
10062 if test "$wxUSE_NOTEBOOK" = yes; then
10063 { echo "$as_me:$LINENO: result: yes" >&5
10064 echo "${ECHO_T}yes" >&6; }
10066 { echo "$as_me:$LINENO: result: no" >&5
10067 echo "${ECHO_T}no" >&6; }
10072 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
10073 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
10075 # Check whether --enable-odcombobox was given.
10076 if test "${enable_odcombobox+set}" = set; then
10077 enableval=$enable_odcombobox;
10078 if test "$enableval" = yes; then
10079 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
10081 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
10086 LINE=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
10087 if test "x$LINE" != x ; then
10088 eval "DEFAULT_$LINE"
10093 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
10098 eval "$ac_cv_use_odcombobox"
10099 if test "$no_cache" != 1; then
10100 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
10103 if test "$wxUSE_ODCOMBOBOX" = yes; then
10104 { echo "$as_me:$LINENO: result: yes" >&5
10105 echo "${ECHO_T}yes" >&6; }
10107 { echo "$as_me:$LINENO: result: no" >&5
10108 echo "${ECHO_T}no" >&6; }
10113 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
10114 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
10116 # Check whether --enable-radiobox was given.
10117 if test "${enable_radiobox+set}" = set; then
10118 enableval=$enable_radiobox;
10119 if test "$enableval" = yes; then
10120 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
10122 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
10127 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
10128 if test "x$LINE" != x ; then
10129 eval "DEFAULT_$LINE"
10134 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
10139 eval "$ac_cv_use_radiobox"
10140 if test "$no_cache" != 1; then
10141 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
10144 if test "$wxUSE_RADIOBOX" = yes; then
10145 { echo "$as_me:$LINENO: result: yes" >&5
10146 echo "${ECHO_T}yes" >&6; }
10148 { echo "$as_me:$LINENO: result: no" >&5
10149 echo "${ECHO_T}no" >&6; }
10154 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
10155 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
10157 # Check whether --enable-radiobtn was given.
10158 if test "${enable_radiobtn+set}" = set; then
10159 enableval=$enable_radiobtn;
10160 if test "$enableval" = yes; then
10161 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
10163 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
10168 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
10169 if test "x$LINE" != x ; then
10170 eval "DEFAULT_$LINE"
10175 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
10180 eval "$ac_cv_use_radiobtn"
10181 if test "$no_cache" != 1; then
10182 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
10185 if test "$wxUSE_RADIOBTN" = yes; then
10186 { echo "$as_me:$LINENO: result: yes" >&5
10187 echo "${ECHO_T}yes" >&6; }
10189 { echo "$as_me:$LINENO: result: no" >&5
10190 echo "${ECHO_T}no" >&6; }
10195 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
10196 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
10198 # Check whether --enable-sash was given.
10199 if test "${enable_sash+set}" = set; then
10200 enableval=$enable_sash;
10201 if test "$enableval" = yes; then
10202 ac_cv_use_sash='wxUSE_SASH=yes'
10204 ac_cv_use_sash='wxUSE_SASH=no'
10209 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
10210 if test "x$LINE" != x ; then
10211 eval "DEFAULT_$LINE"
10216 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
10221 eval "$ac_cv_use_sash"
10222 if test "$no_cache" != 1; then
10223 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
10226 if test "$wxUSE_SASH" = yes; then
10227 { echo "$as_me:$LINENO: result: yes" >&5
10228 echo "${ECHO_T}yes" >&6; }
10230 { echo "$as_me:$LINENO: result: no" >&5
10231 echo "${ECHO_T}no" >&6; }
10236 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
10237 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
10239 # Check whether --enable-scrollbar was given.
10240 if test "${enable_scrollbar+set}" = set; then
10241 enableval=$enable_scrollbar;
10242 if test "$enableval" = yes; then
10243 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
10245 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
10250 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
10251 if test "x$LINE" != x ; then
10252 eval "DEFAULT_$LINE"
10257 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
10262 eval "$ac_cv_use_scrollbar"
10263 if test "$no_cache" != 1; then
10264 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
10267 if test "$wxUSE_SCROLLBAR" = yes; then
10268 { echo "$as_me:$LINENO: result: yes" >&5
10269 echo "${ECHO_T}yes" >&6; }
10271 { echo "$as_me:$LINENO: result: no" >&5
10272 echo "${ECHO_T}no" >&6; }
10277 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
10278 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
10280 # Check whether --enable-searchctrl was given.
10281 if test "${enable_searchctrl+set}" = set; then
10282 enableval=$enable_searchctrl;
10283 if test "$enableval" = yes; then
10284 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
10286 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
10291 LINE=`grep "wxUSE_SEARCHCTRL" ${wx_arg_cache_file}`
10292 if test "x$LINE" != x ; then
10293 eval "DEFAULT_$LINE"
10298 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL='$DEFAULT_wxUSE_SEARCHCTRL
10303 eval "$ac_cv_use_searchctrl"
10304 if test "$no_cache" != 1; then
10305 echo $ac_cv_use_searchctrl >> ${wx_arg_cache_file}.tmp
10308 if test "$wxUSE_SEARCHCTRL" = yes; then
10309 { echo "$as_me:$LINENO: result: yes" >&5
10310 echo "${ECHO_T}yes" >&6; }
10312 { echo "$as_me:$LINENO: result: no" >&5
10313 echo "${ECHO_T}no" >&6; }
10318 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
10319 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
10321 # Check whether --enable-slider was given.
10322 if test "${enable_slider+set}" = set; then
10323 enableval=$enable_slider;
10324 if test "$enableval" = yes; then
10325 ac_cv_use_slider='wxUSE_SLIDER=yes'
10327 ac_cv_use_slider='wxUSE_SLIDER=no'
10332 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
10333 if test "x$LINE" != x ; then
10334 eval "DEFAULT_$LINE"
10339 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
10344 eval "$ac_cv_use_slider"
10345 if test "$no_cache" != 1; then
10346 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
10349 if test "$wxUSE_SLIDER" = yes; then
10350 { echo "$as_me:$LINENO: result: yes" >&5
10351 echo "${ECHO_T}yes" >&6; }
10353 { echo "$as_me:$LINENO: result: no" >&5
10354 echo "${ECHO_T}no" >&6; }
10359 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
10360 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
10362 # Check whether --enable-spinbtn was given.
10363 if test "${enable_spinbtn+set}" = set; then
10364 enableval=$enable_spinbtn;
10365 if test "$enableval" = yes; then
10366 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
10368 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
10373 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
10374 if test "x$LINE" != x ; then
10375 eval "DEFAULT_$LINE"
10380 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
10385 eval "$ac_cv_use_spinbtn"
10386 if test "$no_cache" != 1; then
10387 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
10390 if test "$wxUSE_SPINBTN" = yes; then
10391 { echo "$as_me:$LINENO: result: yes" >&5
10392 echo "${ECHO_T}yes" >&6; }
10394 { echo "$as_me:$LINENO: result: no" >&5
10395 echo "${ECHO_T}no" >&6; }
10400 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
10401 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
10403 # Check whether --enable-spinctrl was given.
10404 if test "${enable_spinctrl+set}" = set; then
10405 enableval=$enable_spinctrl;
10406 if test "$enableval" = yes; then
10407 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
10409 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
10414 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
10415 if test "x$LINE" != x ; then
10416 eval "DEFAULT_$LINE"
10421 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
10426 eval "$ac_cv_use_spinctrl"
10427 if test "$no_cache" != 1; then
10428 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
10431 if test "$wxUSE_SPINCTRL" = yes; then
10432 { echo "$as_me:$LINENO: result: yes" >&5
10433 echo "${ECHO_T}yes" >&6; }
10435 { echo "$as_me:$LINENO: result: no" >&5
10436 echo "${ECHO_T}no" >&6; }
10441 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
10442 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
10444 # Check whether --enable-splitter was given.
10445 if test "${enable_splitter+set}" = set; then
10446 enableval=$enable_splitter;
10447 if test "$enableval" = yes; then
10448 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
10450 ac_cv_use_splitter='wxUSE_SPLITTER=no'
10455 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
10456 if test "x$LINE" != x ; then
10457 eval "DEFAULT_$LINE"
10462 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
10467 eval "$ac_cv_use_splitter"
10468 if test "$no_cache" != 1; then
10469 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
10472 if test "$wxUSE_SPLITTER" = yes; then
10473 { echo "$as_me:$LINENO: result: yes" >&5
10474 echo "${ECHO_T}yes" >&6; }
10476 { echo "$as_me:$LINENO: result: no" >&5
10477 echo "${ECHO_T}no" >&6; }
10482 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
10483 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
10485 # Check whether --enable-statbmp was given.
10486 if test "${enable_statbmp+set}" = set; then
10487 enableval=$enable_statbmp;
10488 if test "$enableval" = yes; then
10489 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
10491 ac_cv_use_statbmp='wxUSE_STATBMP=no'
10496 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
10497 if test "x$LINE" != x ; then
10498 eval "DEFAULT_$LINE"
10503 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
10508 eval "$ac_cv_use_statbmp"
10509 if test "$no_cache" != 1; then
10510 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
10513 if test "$wxUSE_STATBMP" = yes; then
10514 { echo "$as_me:$LINENO: result: yes" >&5
10515 echo "${ECHO_T}yes" >&6; }
10517 { echo "$as_me:$LINENO: result: no" >&5
10518 echo "${ECHO_T}no" >&6; }
10523 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
10524 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
10526 # Check whether --enable-statbox was given.
10527 if test "${enable_statbox+set}" = set; then
10528 enableval=$enable_statbox;
10529 if test "$enableval" = yes; then
10530 ac_cv_use_statbox='wxUSE_STATBOX=yes'
10532 ac_cv_use_statbox='wxUSE_STATBOX=no'
10537 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
10538 if test "x$LINE" != x ; then
10539 eval "DEFAULT_$LINE"
10544 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
10549 eval "$ac_cv_use_statbox"
10550 if test "$no_cache" != 1; then
10551 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
10554 if test "$wxUSE_STATBOX" = yes; then
10555 { echo "$as_me:$LINENO: result: yes" >&5
10556 echo "${ECHO_T}yes" >&6; }
10558 { echo "$as_me:$LINENO: result: no" >&5
10559 echo "${ECHO_T}no" >&6; }
10564 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
10565 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
10567 # Check whether --enable-statline was given.
10568 if test "${enable_statline+set}" = set; then
10569 enableval=$enable_statline;
10570 if test "$enableval" = yes; then
10571 ac_cv_use_statline='wxUSE_STATLINE=yes'
10573 ac_cv_use_statline='wxUSE_STATLINE=no'
10578 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
10579 if test "x$LINE" != x ; then
10580 eval "DEFAULT_$LINE"
10585 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
10590 eval "$ac_cv_use_statline"
10591 if test "$no_cache" != 1; then
10592 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
10595 if test "$wxUSE_STATLINE" = yes; then
10596 { echo "$as_me:$LINENO: result: yes" >&5
10597 echo "${ECHO_T}yes" >&6; }
10599 { echo "$as_me:$LINENO: result: no" >&5
10600 echo "${ECHO_T}no" >&6; }
10605 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
10606 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
10608 # Check whether --enable-stattext was given.
10609 if test "${enable_stattext+set}" = set; then
10610 enableval=$enable_stattext;
10611 if test "$enableval" = yes; then
10612 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
10614 ac_cv_use_stattext='wxUSE_STATTEXT=no'
10619 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
10620 if test "x$LINE" != x ; then
10621 eval "DEFAULT_$LINE"
10626 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
10631 eval "$ac_cv_use_stattext"
10632 if test "$no_cache" != 1; then
10633 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
10636 if test "$wxUSE_STATTEXT" = yes; then
10637 { echo "$as_me:$LINENO: result: yes" >&5
10638 echo "${ECHO_T}yes" >&6; }
10640 { echo "$as_me:$LINENO: result: no" >&5
10641 echo "${ECHO_T}no" >&6; }
10646 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
10647 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
10649 # Check whether --enable-statusbar was given.
10650 if test "${enable_statusbar+set}" = set; then
10651 enableval=$enable_statusbar;
10652 if test "$enableval" = yes; then
10653 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
10655 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
10660 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
10661 if test "x$LINE" != x ; then
10662 eval "DEFAULT_$LINE"
10667 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
10672 eval "$ac_cv_use_statusbar"
10673 if test "$no_cache" != 1; then
10674 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
10677 if test "$wxUSE_STATUSBAR" = yes; then
10678 { echo "$as_me:$LINENO: result: yes" >&5
10679 echo "${ECHO_T}yes" >&6; }
10681 { echo "$as_me:$LINENO: result: no" >&5
10682 echo "${ECHO_T}no" >&6; }
10687 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
10688 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
10690 # Check whether --enable-tabdialog was given.
10691 if test "${enable_tabdialog+set}" = set; then
10692 enableval=$enable_tabdialog;
10693 if test "$enableval" = yes; then
10694 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
10696 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
10701 LINE=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
10702 if test "x$LINE" != x ; then
10703 eval "DEFAULT_$LINE"
10708 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
10713 eval "$ac_cv_use_tabdialog"
10714 if test "$no_cache" != 1; then
10715 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
10718 if test "$wxUSE_TAB_DIALOG" = yes; then
10719 { echo "$as_me:$LINENO: result: yes" >&5
10720 echo "${ECHO_T}yes" >&6; }
10722 { echo "$as_me:$LINENO: result: no" >&5
10723 echo "${ECHO_T}no" >&6; }
10728 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
10729 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
10731 # Check whether --enable-textctrl was given.
10732 if test "${enable_textctrl+set}" = set; then
10733 enableval=$enable_textctrl;
10734 if test "$enableval" = yes; then
10735 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
10737 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
10742 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
10743 if test "x$LINE" != x ; then
10744 eval "DEFAULT_$LINE"
10749 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
10754 eval "$ac_cv_use_textctrl"
10755 if test "$no_cache" != 1; then
10756 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
10759 if test "$wxUSE_TEXTCTRL" = yes; then
10760 { echo "$as_me:$LINENO: result: yes" >&5
10761 echo "${ECHO_T}yes" >&6; }
10763 { echo "$as_me:$LINENO: result: no" >&5
10764 echo "${ECHO_T}no" >&6; }
10769 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
10770 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
10772 # Check whether --enable-togglebtn was given.
10773 if test "${enable_togglebtn+set}" = set; then
10774 enableval=$enable_togglebtn;
10775 if test "$enableval" = yes; then
10776 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
10778 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
10783 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
10784 if test "x$LINE" != x ; then
10785 eval "DEFAULT_$LINE"
10790 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
10795 eval "$ac_cv_use_togglebtn"
10796 if test "$no_cache" != 1; then
10797 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
10800 if test "$wxUSE_TOGGLEBTN" = yes; then
10801 { echo "$as_me:$LINENO: result: yes" >&5
10802 echo "${ECHO_T}yes" >&6; }
10804 { echo "$as_me:$LINENO: result: no" >&5
10805 echo "${ECHO_T}no" >&6; }
10810 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
10811 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
10813 # Check whether --enable-toolbar was given.
10814 if test "${enable_toolbar+set}" = set; then
10815 enableval=$enable_toolbar;
10816 if test "$enableval" = yes; then
10817 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
10819 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
10824 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
10825 if test "x$LINE" != x ; then
10826 eval "DEFAULT_$LINE"
10831 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
10836 eval "$ac_cv_use_toolbar"
10837 if test "$no_cache" != 1; then
10838 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
10841 if test "$wxUSE_TOOLBAR" = yes; then
10842 { echo "$as_me:$LINENO: result: yes" >&5
10843 echo "${ECHO_T}yes" >&6; }
10845 { echo "$as_me:$LINENO: result: no" >&5
10846 echo "${ECHO_T}no" >&6; }
10851 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
10852 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
10854 # Check whether --enable-tbarnative was given.
10855 if test "${enable_tbarnative+set}" = set; then
10856 enableval=$enable_tbarnative;
10857 if test "$enableval" = yes; then
10858 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
10860 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
10865 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
10866 if test "x$LINE" != x ; then
10867 eval "DEFAULT_$LINE"
10872 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
10877 eval "$ac_cv_use_tbarnative"
10878 if test "$no_cache" != 1; then
10879 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
10882 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
10883 { echo "$as_me:$LINENO: result: yes" >&5
10884 echo "${ECHO_T}yes" >&6; }
10886 { echo "$as_me:$LINENO: result: no" >&5
10887 echo "${ECHO_T}no" >&6; }
10892 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
10893 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
10895 # Check whether --enable-treebook was given.
10896 if test "${enable_treebook+set}" = set; then
10897 enableval=$enable_treebook;
10898 if test "$enableval" = yes; then
10899 ac_cv_use_treebook='wxUSE_TREEBOOK=yes'
10901 ac_cv_use_treebook='wxUSE_TREEBOOK=no'
10906 LINE=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
10907 if test "x$LINE" != x ; then
10908 eval "DEFAULT_$LINE"
10913 ac_cv_use_treebook='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
10918 eval "$ac_cv_use_treebook"
10919 if test "$no_cache" != 1; then
10920 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
10923 if test "$wxUSE_TREEBOOK" = yes; then
10924 { echo "$as_me:$LINENO: result: yes" >&5
10925 echo "${ECHO_T}yes" >&6; }
10927 { echo "$as_me:$LINENO: result: no" >&5
10928 echo "${ECHO_T}no" >&6; }
10933 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
10934 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
10936 # Check whether --enable-toolbook was given.
10937 if test "${enable_toolbook+set}" = set; then
10938 enableval=$enable_toolbook;
10939 if test "$enableval" = yes; then
10940 ac_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
10942 ac_cv_use_toolbook='wxUSE_TOOLBOOK=no'
10947 LINE=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
10948 if test "x$LINE" != x ; then
10949 eval "DEFAULT_$LINE"
10954 ac_cv_use_toolbook='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
10959 eval "$ac_cv_use_toolbook"
10960 if test "$no_cache" != 1; then
10961 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
10964 if test "$wxUSE_TOOLBOOK" = yes; then
10965 { echo "$as_me:$LINENO: result: yes" >&5
10966 echo "${ECHO_T}yes" >&6; }
10968 { echo "$as_me:$LINENO: result: no" >&5
10969 echo "${ECHO_T}no" >&6; }
10974 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
10975 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
10977 # Check whether --enable-treectrl was given.
10978 if test "${enable_treectrl+set}" = set; then
10979 enableval=$enable_treectrl;
10980 if test "$enableval" = yes; then
10981 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
10983 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
10988 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
10989 if test "x$LINE" != x ; then
10990 eval "DEFAULT_$LINE"
10995 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
11000 eval "$ac_cv_use_treectrl"
11001 if test "$no_cache" != 1; then
11002 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
11005 if test "$wxUSE_TREECTRL" = yes; then
11006 { echo "$as_me:$LINENO: result: yes" >&5
11007 echo "${ECHO_T}yes" >&6; }
11009 { echo "$as_me:$LINENO: result: no" >&5
11010 echo "${ECHO_T}no" >&6; }
11015 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
11016 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
11018 # Check whether --enable-tipwindow was given.
11019 if test "${enable_tipwindow+set}" = set; then
11020 enableval=$enable_tipwindow;
11021 if test "$enableval" = yes; then
11022 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
11024 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
11029 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
11030 if test "x$LINE" != x ; then
11031 eval "DEFAULT_$LINE"
11036 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
11041 eval "$ac_cv_use_tipwindow"
11042 if test "$no_cache" != 1; then
11043 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
11046 if test "$wxUSE_TIPWINDOW" = yes; then
11047 { echo "$as_me:$LINENO: result: yes" >&5
11048 echo "${ECHO_T}yes" >&6; }
11050 { echo "$as_me:$LINENO: result: no" >&5
11051 echo "${ECHO_T}no" >&6; }
11056 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11057 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11059 # Check whether --enable-popupwin was given.
11060 if test "${enable_popupwin+set}" = set; then
11061 enableval=$enable_popupwin;
11062 if test "$enableval" = yes; then
11063 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11065 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
11070 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
11071 if test "x$LINE" != x ; then
11072 eval "DEFAULT_$LINE"
11077 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
11082 eval "$ac_cv_use_popupwin"
11083 if test "$no_cache" != 1; then
11084 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
11087 if test "$wxUSE_POPUPWIN" = yes; then
11088 { echo "$as_me:$LINENO: result: yes" >&5
11089 echo "${ECHO_T}yes" >&6; }
11091 { echo "$as_me:$LINENO: result: no" >&5
11092 echo "${ECHO_T}no" >&6; }
11099 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
11100 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
11102 # Check whether --enable-commondlg was given.
11103 if test "${enable_commondlg+set}" = set; then
11104 enableval=$enable_commondlg;
11105 if test "$enableval" = yes; then
11106 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
11108 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
11113 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
11114 if test "x$LINE" != x ; then
11115 eval "DEFAULT_$LINE"
11120 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
11125 eval "$ac_cv_use_commondlg"
11126 if test "$no_cache" != 1; then
11127 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
11130 if test "$wxUSE_COMMONDLGS" = yes; then
11131 { echo "$as_me:$LINENO: result: yes" >&5
11132 echo "${ECHO_T}yes" >&6; }
11134 { echo "$as_me:$LINENO: result: no" >&5
11135 echo "${ECHO_T}no" >&6; }
11140 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
11141 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
11143 # Check whether --enable-aboutdlg was given.
11144 if test "${enable_aboutdlg+set}" = set; then
11145 enableval=$enable_aboutdlg;
11146 if test "$enableval" = yes; then
11147 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
11149 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
11154 LINE=`grep "wxUSE_ABOUTDLG" ${wx_arg_cache_file}`
11155 if test "x$LINE" != x ; then
11156 eval "DEFAULT_$LINE"
11161 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG='$DEFAULT_wxUSE_ABOUTDLG
11166 eval "$ac_cv_use_aboutdlg"
11167 if test "$no_cache" != 1; then
11168 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
11171 if test "$wxUSE_ABOUTDLG" = yes; then
11172 { echo "$as_me:$LINENO: result: yes" >&5
11173 echo "${ECHO_T}yes" >&6; }
11175 { echo "$as_me:$LINENO: result: no" >&5
11176 echo "${ECHO_T}no" >&6; }
11181 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
11182 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
11184 # Check whether --enable-choicedlg was given.
11185 if test "${enable_choicedlg+set}" = set; then
11186 enableval=$enable_choicedlg;
11187 if test "$enableval" = yes; then
11188 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
11190 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
11195 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
11196 if test "x$LINE" != x ; then
11197 eval "DEFAULT_$LINE"
11202 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
11207 eval "$ac_cv_use_choicedlg"
11208 if test "$no_cache" != 1; then
11209 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
11212 if test "$wxUSE_CHOICEDLG" = yes; then
11213 { echo "$as_me:$LINENO: result: yes" >&5
11214 echo "${ECHO_T}yes" >&6; }
11216 { echo "$as_me:$LINENO: result: no" >&5
11217 echo "${ECHO_T}no" >&6; }
11222 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
11223 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
11225 # Check whether --enable-coldlg was given.
11226 if test "${enable_coldlg+set}" = set; then
11227 enableval=$enable_coldlg;
11228 if test "$enableval" = yes; then
11229 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
11231 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
11236 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
11237 if test "x$LINE" != x ; then
11238 eval "DEFAULT_$LINE"
11243 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
11248 eval "$ac_cv_use_coldlg"
11249 if test "$no_cache" != 1; then
11250 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
11253 if test "$wxUSE_COLOURDLG" = yes; then
11254 { echo "$as_me:$LINENO: result: yes" >&5
11255 echo "${ECHO_T}yes" >&6; }
11257 { echo "$as_me:$LINENO: result: no" >&5
11258 echo "${ECHO_T}no" >&6; }
11263 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
11264 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
11266 # Check whether --enable-filedlg was given.
11267 if test "${enable_filedlg+set}" = set; then
11268 enableval=$enable_filedlg;
11269 if test "$enableval" = yes; then
11270 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
11272 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
11277 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
11278 if test "x$LINE" != x ; then
11279 eval "DEFAULT_$LINE"
11284 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
11289 eval "$ac_cv_use_filedlg"
11290 if test "$no_cache" != 1; then
11291 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
11294 if test "$wxUSE_FILEDLG" = yes; then
11295 { echo "$as_me:$LINENO: result: yes" >&5
11296 echo "${ECHO_T}yes" >&6; }
11298 { echo "$as_me:$LINENO: result: no" >&5
11299 echo "${ECHO_T}no" >&6; }
11304 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
11305 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
11307 # Check whether --enable-finddlg was given.
11308 if test "${enable_finddlg+set}" = set; then
11309 enableval=$enable_finddlg;
11310 if test "$enableval" = yes; then
11311 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
11313 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
11318 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
11319 if test "x$LINE" != x ; then
11320 eval "DEFAULT_$LINE"
11325 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
11330 eval "$ac_cv_use_finddlg"
11331 if test "$no_cache" != 1; then
11332 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
11335 if test "$wxUSE_FINDREPLDLG" = yes; then
11336 { echo "$as_me:$LINENO: result: yes" >&5
11337 echo "${ECHO_T}yes" >&6; }
11339 { echo "$as_me:$LINENO: result: no" >&5
11340 echo "${ECHO_T}no" >&6; }
11345 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
11346 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
11348 # Check whether --enable-fontdlg was given.
11349 if test "${enable_fontdlg+set}" = set; then
11350 enableval=$enable_fontdlg;
11351 if test "$enableval" = yes; then
11352 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
11354 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
11359 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
11360 if test "x$LINE" != x ; then
11361 eval "DEFAULT_$LINE"
11366 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
11371 eval "$ac_cv_use_fontdlg"
11372 if test "$no_cache" != 1; then
11373 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
11376 if test "$wxUSE_FONTDLG" = yes; then
11377 { echo "$as_me:$LINENO: result: yes" >&5
11378 echo "${ECHO_T}yes" >&6; }
11380 { echo "$as_me:$LINENO: result: no" >&5
11381 echo "${ECHO_T}no" >&6; }
11386 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
11387 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
11389 # Check whether --enable-dirdlg was given.
11390 if test "${enable_dirdlg+set}" = set; then
11391 enableval=$enable_dirdlg;
11392 if test "$enableval" = yes; then
11393 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
11395 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
11400 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
11401 if test "x$LINE" != x ; then
11402 eval "DEFAULT_$LINE"
11407 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
11412 eval "$ac_cv_use_dirdlg"
11413 if test "$no_cache" != 1; then
11414 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
11417 if test "$wxUSE_DIRDLG" = yes; then
11418 { echo "$as_me:$LINENO: result: yes" >&5
11419 echo "${ECHO_T}yes" >&6; }
11421 { echo "$as_me:$LINENO: result: no" >&5
11422 echo "${ECHO_T}no" >&6; }
11427 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
11428 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
11430 # Check whether --enable-msgdlg was given.
11431 if test "${enable_msgdlg+set}" = set; then
11432 enableval=$enable_msgdlg;
11433 if test "$enableval" = yes; then
11434 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
11436 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
11441 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
11442 if test "x$LINE" != x ; then
11443 eval "DEFAULT_$LINE"
11448 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
11453 eval "$ac_cv_use_msgdlg"
11454 if test "$no_cache" != 1; then
11455 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
11458 if test "$wxUSE_MSGDLG" = yes; then
11459 { echo "$as_me:$LINENO: result: yes" >&5
11460 echo "${ECHO_T}yes" >&6; }
11462 { echo "$as_me:$LINENO: result: no" >&5
11463 echo "${ECHO_T}no" >&6; }
11468 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
11469 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
11471 # Check whether --enable-numberdlg was given.
11472 if test "${enable_numberdlg+set}" = set; then
11473 enableval=$enable_numberdlg;
11474 if test "$enableval" = yes; then
11475 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
11477 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
11482 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
11483 if test "x$LINE" != x ; then
11484 eval "DEFAULT_$LINE"
11489 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
11494 eval "$ac_cv_use_numberdlg"
11495 if test "$no_cache" != 1; then
11496 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
11499 if test "$wxUSE_NUMBERDLG" = yes; then
11500 { echo "$as_me:$LINENO: result: yes" >&5
11501 echo "${ECHO_T}yes" >&6; }
11503 { echo "$as_me:$LINENO: result: no" >&5
11504 echo "${ECHO_T}no" >&6; }
11509 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
11510 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
11512 # Check whether --enable-splash was given.
11513 if test "${enable_splash+set}" = set; then
11514 enableval=$enable_splash;
11515 if test "$enableval" = yes; then
11516 ac_cv_use_splash='wxUSE_SPLASH=yes'
11518 ac_cv_use_splash='wxUSE_SPLASH=no'
11523 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
11524 if test "x$LINE" != x ; then
11525 eval "DEFAULT_$LINE"
11530 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
11535 eval "$ac_cv_use_splash"
11536 if test "$no_cache" != 1; then
11537 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
11540 if test "$wxUSE_SPLASH" = yes; then
11541 { echo "$as_me:$LINENO: result: yes" >&5
11542 echo "${ECHO_T}yes" >&6; }
11544 { echo "$as_me:$LINENO: result: no" >&5
11545 echo "${ECHO_T}no" >&6; }
11550 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
11551 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
11553 # Check whether --enable-textdlg was given.
11554 if test "${enable_textdlg+set}" = set; then
11555 enableval=$enable_textdlg;
11556 if test "$enableval" = yes; then
11557 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
11559 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
11564 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
11565 if test "x$LINE" != x ; then
11566 eval "DEFAULT_$LINE"
11571 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
11576 eval "$ac_cv_use_textdlg"
11577 if test "$no_cache" != 1; then
11578 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
11581 if test "$wxUSE_TEXTDLG" = yes; then
11582 { echo "$as_me:$LINENO: result: yes" >&5
11583 echo "${ECHO_T}yes" >&6; }
11585 { echo "$as_me:$LINENO: result: no" >&5
11586 echo "${ECHO_T}no" >&6; }
11591 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
11592 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
11594 # Check whether --enable-tipdlg was given.
11595 if test "${enable_tipdlg+set}" = set; then
11596 enableval=$enable_tipdlg;
11597 if test "$enableval" = yes; then
11598 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
11600 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
11605 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
11606 if test "x$LINE" != x ; then
11607 eval "DEFAULT_$LINE"
11612 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
11617 eval "$ac_cv_use_tipdlg"
11618 if test "$no_cache" != 1; then
11619 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
11622 if test "$wxUSE_STARTUP_TIPS" = yes; then
11623 { echo "$as_me:$LINENO: result: yes" >&5
11624 echo "${ECHO_T}yes" >&6; }
11626 { echo "$as_me:$LINENO: result: no" >&5
11627 echo "${ECHO_T}no" >&6; }
11632 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
11633 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
11635 # Check whether --enable-progressdlg was given.
11636 if test "${enable_progressdlg+set}" = set; then
11637 enableval=$enable_progressdlg;
11638 if test "$enableval" = yes; then
11639 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
11641 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
11646 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
11647 if test "x$LINE" != x ; then
11648 eval "DEFAULT_$LINE"
11653 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
11658 eval "$ac_cv_use_progressdlg"
11659 if test "$no_cache" != 1; then
11660 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
11663 if test "$wxUSE_PROGRESSDLG" = yes; then
11664 { echo "$as_me:$LINENO: result: yes" >&5
11665 echo "${ECHO_T}yes" >&6; }
11667 { echo "$as_me:$LINENO: result: no" >&5
11668 echo "${ECHO_T}no" >&6; }
11673 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
11674 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
11676 # Check whether --enable-wizarddlg was given.
11677 if test "${enable_wizarddlg+set}" = set; then
11678 enableval=$enable_wizarddlg;
11679 if test "$enableval" = yes; then
11680 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
11682 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
11687 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
11688 if test "x$LINE" != x ; then
11689 eval "DEFAULT_$LINE"
11694 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
11699 eval "$ac_cv_use_wizarddlg"
11700 if test "$no_cache" != 1; then
11701 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
11704 if test "$wxUSE_WIZARDDLG" = yes; then
11705 { echo "$as_me:$LINENO: result: yes" >&5
11706 echo "${ECHO_T}yes" >&6; }
11708 { echo "$as_me:$LINENO: result: no" >&5
11709 echo "${ECHO_T}no" >&6; }
11716 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
11717 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
11719 # Check whether --enable-menus was given.
11720 if test "${enable_menus+set}" = set; then
11721 enableval=$enable_menus;
11722 if test "$enableval" = yes; then
11723 ac_cv_use_menus='wxUSE_MENUS=yes'
11725 ac_cv_use_menus='wxUSE_MENUS=no'
11730 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
11731 if test "x$LINE" != x ; then
11732 eval "DEFAULT_$LINE"
11737 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
11742 eval "$ac_cv_use_menus"
11743 if test "$no_cache" != 1; then
11744 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
11747 if test "$wxUSE_MENUS" = yes; then
11748 { echo "$as_me:$LINENO: result: yes" >&5
11749 echo "${ECHO_T}yes" >&6; }
11751 { echo "$as_me:$LINENO: result: no" >&5
11752 echo "${ECHO_T}no" >&6; }
11757 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
11758 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
11760 # Check whether --enable-miniframe was given.
11761 if test "${enable_miniframe+set}" = set; then
11762 enableval=$enable_miniframe;
11763 if test "$enableval" = yes; then
11764 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
11766 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
11771 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
11772 if test "x$LINE" != x ; then
11773 eval "DEFAULT_$LINE"
11778 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
11783 eval "$ac_cv_use_miniframe"
11784 if test "$no_cache" != 1; then
11785 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
11788 if test "$wxUSE_MINIFRAME" = yes; then
11789 { echo "$as_me:$LINENO: result: yes" >&5
11790 echo "${ECHO_T}yes" >&6; }
11792 { echo "$as_me:$LINENO: result: no" >&5
11793 echo "${ECHO_T}no" >&6; }
11798 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
11799 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
11801 # Check whether --enable-tooltips was given.
11802 if test "${enable_tooltips+set}" = set; then
11803 enableval=$enable_tooltips;
11804 if test "$enableval" = yes; then
11805 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
11807 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
11812 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
11813 if test "x$LINE" != x ; then
11814 eval "DEFAULT_$LINE"
11819 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
11824 eval "$ac_cv_use_tooltips"
11825 if test "$no_cache" != 1; then
11826 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
11829 if test "$wxUSE_TOOLTIPS" = yes; then
11830 { echo "$as_me:$LINENO: result: yes" >&5
11831 echo "${ECHO_T}yes" >&6; }
11833 { echo "$as_me:$LINENO: result: no" >&5
11834 echo "${ECHO_T}no" >&6; }
11839 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
11840 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
11842 # Check whether --enable-splines was given.
11843 if test "${enable_splines+set}" = set; then
11844 enableval=$enable_splines;
11845 if test "$enableval" = yes; then
11846 ac_cv_use_splines='wxUSE_SPLINES=yes'
11848 ac_cv_use_splines='wxUSE_SPLINES=no'
11853 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
11854 if test "x$LINE" != x ; then
11855 eval "DEFAULT_$LINE"
11860 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
11865 eval "$ac_cv_use_splines"
11866 if test "$no_cache" != 1; then
11867 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
11870 if test "$wxUSE_SPLINES" = yes; then
11871 { echo "$as_me:$LINENO: result: yes" >&5
11872 echo "${ECHO_T}yes" >&6; }
11874 { echo "$as_me:$LINENO: result: no" >&5
11875 echo "${ECHO_T}no" >&6; }
11880 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
11881 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
11883 # Check whether --enable-mousewheel was given.
11884 if test "${enable_mousewheel+set}" = set; then
11885 enableval=$enable_mousewheel;
11886 if test "$enableval" = yes; then
11887 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
11889 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
11894 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
11895 if test "x$LINE" != x ; then
11896 eval "DEFAULT_$LINE"
11901 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
11906 eval "$ac_cv_use_mousewheel"
11907 if test "$no_cache" != 1; then
11908 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
11911 if test "$wxUSE_MOUSEWHEEL" = yes; then
11912 { echo "$as_me:$LINENO: result: yes" >&5
11913 echo "${ECHO_T}yes" >&6; }
11915 { echo "$as_me:$LINENO: result: no" >&5
11916 echo "${ECHO_T}no" >&6; }
11921 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
11922 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
11924 # Check whether --enable-validators was given.
11925 if test "${enable_validators+set}" = set; then
11926 enableval=$enable_validators;
11927 if test "$enableval" = yes; then
11928 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
11930 ac_cv_use_validators='wxUSE_VALIDATORS=no'
11935 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
11936 if test "x$LINE" != x ; then
11937 eval "DEFAULT_$LINE"
11942 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
11947 eval "$ac_cv_use_validators"
11948 if test "$no_cache" != 1; then
11949 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
11952 if test "$wxUSE_VALIDATORS" = yes; then
11953 { echo "$as_me:$LINENO: result: yes" >&5
11954 echo "${ECHO_T}yes" >&6; }
11956 { echo "$as_me:$LINENO: result: no" >&5
11957 echo "${ECHO_T}no" >&6; }
11962 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
11963 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
11965 # Check whether --enable-busyinfo was given.
11966 if test "${enable_busyinfo+set}" = set; then
11967 enableval=$enable_busyinfo;
11968 if test "$enableval" = yes; then
11969 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
11971 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
11976 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
11977 if test "x$LINE" != x ; then
11978 eval "DEFAULT_$LINE"
11983 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
11988 eval "$ac_cv_use_busyinfo"
11989 if test "$no_cache" != 1; then
11990 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
11993 if test "$wxUSE_BUSYINFO" = yes; then
11994 { echo "$as_me:$LINENO: result: yes" >&5
11995 echo "${ECHO_T}yes" >&6; }
11997 { echo "$as_me:$LINENO: result: no" >&5
11998 echo "${ECHO_T}no" >&6; }
12003 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
12004 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
12006 # Check whether --enable-joystick was given.
12007 if test "${enable_joystick+set}" = set; then
12008 enableval=$enable_joystick;
12009 if test "$enableval" = yes; then
12010 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
12012 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
12017 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
12018 if test "x$LINE" != x ; then
12019 eval "DEFAULT_$LINE"
12024 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
12029 eval "$ac_cv_use_joystick"
12030 if test "$no_cache" != 1; then
12031 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
12034 if test "$wxUSE_JOYSTICK" = yes; then
12035 { echo "$as_me:$LINENO: result: yes" >&5
12036 echo "${ECHO_T}yes" >&6; }
12038 { echo "$as_me:$LINENO: result: no" >&5
12039 echo "${ECHO_T}no" >&6; }
12044 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
12045 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
12047 # Check whether --enable-metafile was given.
12048 if test "${enable_metafile+set}" = set; then
12049 enableval=$enable_metafile;
12050 if test "$enableval" = yes; then
12051 ac_cv_use_metafile='wxUSE_METAFILE=yes'
12053 ac_cv_use_metafile='wxUSE_METAFILE=no'
12058 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
12059 if test "x$LINE" != x ; then
12060 eval "DEFAULT_$LINE"
12065 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
12070 eval "$ac_cv_use_metafile"
12071 if test "$no_cache" != 1; then
12072 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
12075 if test "$wxUSE_METAFILE" = yes; then
12076 { echo "$as_me:$LINENO: result: yes" >&5
12077 echo "${ECHO_T}yes" >&6; }
12079 { echo "$as_me:$LINENO: result: no" >&5
12080 echo "${ECHO_T}no" >&6; }
12085 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
12086 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
12088 # Check whether --enable-dragimage was given.
12089 if test "${enable_dragimage+set}" = set; then
12090 enableval=$enable_dragimage;
12091 if test "$enableval" = yes; then
12092 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
12094 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
12099 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
12100 if test "x$LINE" != x ; then
12101 eval "DEFAULT_$LINE"
12106 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
12111 eval "$ac_cv_use_dragimage"
12112 if test "$no_cache" != 1; then
12113 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
12116 if test "$wxUSE_DRAGIMAGE" = yes; then
12117 { echo "$as_me:$LINENO: result: yes" >&5
12118 echo "${ECHO_T}yes" >&6; }
12120 { echo "$as_me:$LINENO: result: no" >&5
12121 echo "${ECHO_T}no" >&6; }
12126 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
12127 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
12129 # Check whether --enable-accessibility was given.
12130 if test "${enable_accessibility+set}" = set; then
12131 enableval=$enable_accessibility;
12132 if test "$enableval" = yes; then
12133 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
12135 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
12140 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
12141 if test "x$LINE" != x ; then
12142 eval "DEFAULT_$LINE"
12147 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
12152 eval "$ac_cv_use_accessibility"
12153 if test "$no_cache" != 1; then
12154 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
12157 if test "$wxUSE_ACCESSIBILITY" = yes; then
12158 { echo "$as_me:$LINENO: result: yes" >&5
12159 echo "${ECHO_T}yes" >&6; }
12161 { echo "$as_me:$LINENO: result: no" >&5
12162 echo "${ECHO_T}no" >&6; }
12166 if test "$wxUSE_MSW" = "1"; then
12169 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
12170 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
12172 # Check whether --enable-dccache was given.
12173 if test "${enable_dccache+set}" = set; then
12174 enableval=$enable_dccache;
12175 if test "$enableval" = yes; then
12176 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
12178 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
12183 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
12184 if test "x$LINE" != x ; then
12185 eval "DEFAULT_$LINE"
12190 ac_cv_use_dccache='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
12195 eval "$ac_cv_use_dccache"
12196 if test "$no_cache" != 1; then
12197 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
12200 if test "$wxUSE_DC_CACHEING" = yes; then
12201 { echo "$as_me:$LINENO: result: yes" >&5
12202 echo "${ECHO_T}yes" >&6; }
12204 { echo "$as_me:$LINENO: result: no" >&5
12205 echo "${ECHO_T}no" >&6; }
12213 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
12214 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
12216 # Check whether --enable-palette was given.
12217 if test "${enable_palette+set}" = set; then
12218 enableval=$enable_palette;
12219 if test "$enableval" = yes; then
12220 ac_cv_use_palette='wxUSE_PALETTE=yes'
12222 ac_cv_use_palette='wxUSE_PALETTE=no'
12227 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
12228 if test "x$LINE" != x ; then
12229 eval "DEFAULT_$LINE"
12234 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
12239 eval "$ac_cv_use_palette"
12240 if test "$no_cache" != 1; then
12241 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
12244 if test "$wxUSE_PALETTE" = yes; then
12245 { echo "$as_me:$LINENO: result: yes" >&5
12246 echo "${ECHO_T}yes" >&6; }
12248 { echo "$as_me:$LINENO: result: no" >&5
12249 echo "${ECHO_T}no" >&6; }
12254 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
12255 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
12257 # Check whether --enable-image was given.
12258 if test "${enable_image+set}" = set; then
12259 enableval=$enable_image;
12260 if test "$enableval" = yes; then
12261 ac_cv_use_image='wxUSE_IMAGE=yes'
12263 ac_cv_use_image='wxUSE_IMAGE=no'
12268 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
12269 if test "x$LINE" != x ; then
12270 eval "DEFAULT_$LINE"
12275 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
12280 eval "$ac_cv_use_image"
12281 if test "$no_cache" != 1; then
12282 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
12285 if test "$wxUSE_IMAGE" = yes; then
12286 { echo "$as_me:$LINENO: result: yes" >&5
12287 echo "${ECHO_T}yes" >&6; }
12289 { echo "$as_me:$LINENO: result: no" >&5
12290 echo "${ECHO_T}no" >&6; }
12295 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
12296 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
12298 # Check whether --enable-gif was given.
12299 if test "${enable_gif+set}" = set; then
12300 enableval=$enable_gif;
12301 if test "$enableval" = yes; then
12302 ac_cv_use_gif='wxUSE_GIF=yes'
12304 ac_cv_use_gif='wxUSE_GIF=no'
12309 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
12310 if test "x$LINE" != x ; then
12311 eval "DEFAULT_$LINE"
12316 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
12321 eval "$ac_cv_use_gif"
12322 if test "$no_cache" != 1; then
12323 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
12326 if test "$wxUSE_GIF" = yes; then
12327 { echo "$as_me:$LINENO: result: yes" >&5
12328 echo "${ECHO_T}yes" >&6; }
12330 { echo "$as_me:$LINENO: result: no" >&5
12331 echo "${ECHO_T}no" >&6; }
12336 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
12337 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
12339 # Check whether --enable-pcx was given.
12340 if test "${enable_pcx+set}" = set; then
12341 enableval=$enable_pcx;
12342 if test "$enableval" = yes; then
12343 ac_cv_use_pcx='wxUSE_PCX=yes'
12345 ac_cv_use_pcx='wxUSE_PCX=no'
12350 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
12351 if test "x$LINE" != x ; then
12352 eval "DEFAULT_$LINE"
12357 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
12362 eval "$ac_cv_use_pcx"
12363 if test "$no_cache" != 1; then
12364 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
12367 if test "$wxUSE_PCX" = yes; then
12368 { echo "$as_me:$LINENO: result: yes" >&5
12369 echo "${ECHO_T}yes" >&6; }
12371 { echo "$as_me:$LINENO: result: no" >&5
12372 echo "${ECHO_T}no" >&6; }
12377 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
12378 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
12380 # Check whether --enable-tga was given.
12381 if test "${enable_tga+set}" = set; then
12382 enableval=$enable_tga;
12383 if test "$enableval" = yes; then
12384 ac_cv_use_tga='wxUSE_TGA=yes'
12386 ac_cv_use_tga='wxUSE_TGA=no'
12391 LINE=`grep "wxUSE_TGA" ${wx_arg_cache_file}`
12392 if test "x$LINE" != x ; then
12393 eval "DEFAULT_$LINE"
12398 ac_cv_use_tga='wxUSE_TGA='$DEFAULT_wxUSE_TGA
12403 eval "$ac_cv_use_tga"
12404 if test "$no_cache" != 1; then
12405 echo $ac_cv_use_tga >> ${wx_arg_cache_file}.tmp
12408 if test "$wxUSE_TGA" = yes; then
12409 { echo "$as_me:$LINENO: result: yes" >&5
12410 echo "${ECHO_T}yes" >&6; }
12412 { echo "$as_me:$LINENO: result: no" >&5
12413 echo "${ECHO_T}no" >&6; }
12418 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
12419 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
12421 # Check whether --enable-iff was given.
12422 if test "${enable_iff+set}" = set; then
12423 enableval=$enable_iff;
12424 if test "$enableval" = yes; then
12425 ac_cv_use_iff='wxUSE_IFF=yes'
12427 ac_cv_use_iff='wxUSE_IFF=no'
12432 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
12433 if test "x$LINE" != x ; then
12434 eval "DEFAULT_$LINE"
12439 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
12444 eval "$ac_cv_use_iff"
12445 if test "$no_cache" != 1; then
12446 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
12449 if test "$wxUSE_IFF" = yes; then
12450 { echo "$as_me:$LINENO: result: yes" >&5
12451 echo "${ECHO_T}yes" >&6; }
12453 { echo "$as_me:$LINENO: result: no" >&5
12454 echo "${ECHO_T}no" >&6; }
12459 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
12460 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
12462 # Check whether --enable-pnm was given.
12463 if test "${enable_pnm+set}" = set; then
12464 enableval=$enable_pnm;
12465 if test "$enableval" = yes; then
12466 ac_cv_use_pnm='wxUSE_PNM=yes'
12468 ac_cv_use_pnm='wxUSE_PNM=no'
12473 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
12474 if test "x$LINE" != x ; then
12475 eval "DEFAULT_$LINE"
12480 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
12485 eval "$ac_cv_use_pnm"
12486 if test "$no_cache" != 1; then
12487 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
12490 if test "$wxUSE_PNM" = yes; then
12491 { echo "$as_me:$LINENO: result: yes" >&5
12492 echo "${ECHO_T}yes" >&6; }
12494 { echo "$as_me:$LINENO: result: no" >&5
12495 echo "${ECHO_T}no" >&6; }
12500 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
12501 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
12503 # Check whether --enable-xpm was given.
12504 if test "${enable_xpm+set}" = set; then
12505 enableval=$enable_xpm;
12506 if test "$enableval" = yes; then
12507 ac_cv_use_xpm='wxUSE_XPM=yes'
12509 ac_cv_use_xpm='wxUSE_XPM=no'
12514 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
12515 if test "x$LINE" != x ; then
12516 eval "DEFAULT_$LINE"
12521 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
12526 eval "$ac_cv_use_xpm"
12527 if test "$no_cache" != 1; then
12528 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
12531 if test "$wxUSE_XPM" = yes; then
12532 { echo "$as_me:$LINENO: result: yes" >&5
12533 echo "${ECHO_T}yes" >&6; }
12535 { echo "$as_me:$LINENO: result: no" >&5
12536 echo "${ECHO_T}no" >&6; }
12541 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
12542 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
12544 # Check whether --enable-ico_cur was given.
12545 if test "${enable_ico_cur+set}" = set; then
12546 enableval=$enable_ico_cur;
12547 if test "$enableval" = yes; then
12548 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
12550 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
12555 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
12556 if test "x$LINE" != x ; then
12557 eval "DEFAULT_$LINE"
12562 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
12567 eval "$ac_cv_use_ico_cur"
12568 if test "$no_cache" != 1; then
12569 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
12572 if test "$wxUSE_ICO_CUR" = yes; then
12573 { echo "$as_me:$LINENO: result: yes" >&5
12574 echo "${ECHO_T}yes" >&6; }
12576 { echo "$as_me:$LINENO: result: no" >&5
12577 echo "${ECHO_T}no" >&6; }
12585 # Check whether --with-flavour was given.
12586 if test "${with_flavour+set}" = set; then
12587 withval=$with_flavour; WX_FLAVOUR="$withval"
12594 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
12595 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
12597 # Check whether --enable-official_build was given.
12598 if test "${enable_official_build+set}" = set; then
12599 enableval=$enable_official_build;
12600 if test "$enableval" = yes; then
12601 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
12603 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
12608 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
12609 if test "x$LINE" != x ; then
12610 eval "DEFAULT_$LINE"
12615 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
12620 eval "$ac_cv_use_official_build"
12621 if test "$no_cache" != 1; then
12622 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
12625 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
12626 { echo "$as_me:$LINENO: result: yes" >&5
12627 echo "${ECHO_T}yes" >&6; }
12629 { echo "$as_me:$LINENO: result: no" >&5
12630 echo "${ECHO_T}no" >&6; }
12633 # Check whether --enable-vendor was given.
12634 if test "${enable_vendor+set}" = set; then
12635 enableval=$enable_vendor; VENDOR="$enableval"
12638 if test "x$VENDOR" = "x"; then
12645 echo "saving argument cache $wx_arg_cache_file"
12646 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
12650 { echo "$as_me:$LINENO: checking for toolkit" >&5
12651 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
12653 # In Wine, we need to default to MSW, not GTK or MOTIF
12654 if test "$wxUSE_WINE" = "yes"; then
12655 DEFAULT_DEFAULT_wxUSE_GTK=0
12656 DEFAULT_DEFAULT_wxUSE_MOTIF=0
12657 DEFAULT_DEFAULT_wxUSE_MSW=1
12660 CXX=${CXX:-wineg++}
12664 if test "$wxUSE_GUI" = "yes"; then
12666 if test "$USE_BEOS" = 1; then
12667 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
12668 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
12669 { (exit 1); exit 1; }; }
12672 if test "$TOOLKIT_GIVEN" = 1; then
12673 for toolkit in `echo $ALL_TOOLKITS`; do
12675 eval "value=\$${var}"
12676 if test "x$value" = "xno"; then
12678 elif test "x$value" != "x"; then
12682 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
12683 eval "wx${toolkit}_VERSION=$value"
12687 for toolkit in `echo $ALL_TOOLKITS`; do
12688 if test "$has_toolkit_in_cache" != 1; then
12689 var=DEFAULT_DEFAULT_wxUSE_$toolkit
12691 var=DEFAULT_wxUSE_$toolkit
12693 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
12694 if test "x$version" != "x"; then
12695 eval "wx${toolkit}_VERSION=$version"
12698 eval "wxUSE_$toolkit=\$${var}"
12702 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
12703 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
12704 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
12707 *-pc-os2_emx | *-pc-os2-emx )
12708 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
12711 case "$NUM_TOOLKITS" in
12715 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
12716 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
12717 { (exit 1); exit 1; }; }
12720 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
12721 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
12722 { (exit 1); exit 1; }; }
12725 # to be removed when --disable-gtk2 isn't needed
12726 if test "x$wxUSE_GTK2" = "xyes"; then
12728 elif test "x$wxUSE_GTK2" = "xno"; then
12732 for toolkit in `echo $ALL_TOOLKITS`; do
12734 eval "value=\$${var}"
12735 if test "x$value" != x; then
12736 cache_var=CACHE_$toolkit
12737 eval "cache=\$${cache_var}"
12738 if test "$cache" = 1; then
12739 echo "$var=$value" >> ${wx_arg_cache_file}
12740 eval "version=\$wx${toolkit}_VERSION"
12741 if test "x$version" != "x"; then
12742 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
12745 if test "$value" = 1; then
12746 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
12747 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
12748 echo "${ECHO_T}$toolkit_echo" >&6; }
12753 if test "x$host_alias" != "x"; then
12754 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
12755 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
12757 { echo "$as_me:$LINENO: result: base only" >&5
12758 echo "${ECHO_T}base only" >&6; }
12763 cat >confcache <<\_ACEOF
12764 # This file is a shell script that caches the results of configure
12765 # tests run on this system so they can be shared between configure
12766 # scripts and configure runs, see configure's option --config-cache.
12767 # It is not useful on other systems. If it contains results you don't
12768 # want to keep, you may remove or edit it.
12770 # config.status only pays attention to the cache file if you give it
12771 # the --recheck option to rerun configure.
12773 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
12774 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12775 # following values.
12779 # The following way of writing the cache mishandles newlines in values,
12780 # but we know of no workaround that is simple, portable, and efficient.
12781 # So, we kill variables containing newlines.
12782 # Ultrix sh set writes to stderr and can't be redirected directly,
12783 # and sets the high bit in the cache file unless we assign to the vars.
12785 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12786 eval ac_val
=\$
$ac_var
12790 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
12791 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
12794 _
| IFS
| as_nl
) ;; #(
12795 *) $as_unset $ac_var ;;
12801 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12802 *${as_nl}ac_space
=\
*)
12803 # `set' does not quote correctly, so add quotes (double-quote
12804 # substitution turns \\\\ into \\, and sed turns \\ into \).
12807 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12810 # `set' quotes correctly as required by POSIX, so do not add quotes.
12811 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12820 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12822 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12824 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
12825 if test -w "$cache_file"; then
12826 test "x$cache_file" != "x/dev/null" &&
12827 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
12828 echo "$as_me: updating cache $cache_file" >&6;}
12829 cat confcache
>$cache_file
12831 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
12832 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12842 ac_cpp
='$CPP $CPPFLAGS'
12843 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12844 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12845 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12846 if test -n "$ac_tool_prefix"; then
12847 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12848 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
12849 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12850 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12851 if test "${ac_cv_prog_CC+set}" = set; then
12852 echo $ECHO_N "(cached) $ECHO_C" >&6
12854 if test -n "$CC"; then
12855 ac_cv_prog_CC
="$CC" # Let the user override the test.
12857 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12858 for as_dir
in $PATH
12861 test -z "$as_dir" && as_dir
=.
12862 for ac_exec_ext
in '' $ac_executable_extensions; do
12863 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12864 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
12865 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12875 if test -n "$CC"; then
12876 { echo "$as_me:$LINENO: result: $CC" >&5
12877 echo "${ECHO_T}$CC" >&6; }
12879 { echo "$as_me:$LINENO: result: no" >&5
12880 echo "${ECHO_T}no" >&6; }
12885 if test -z "$ac_cv_prog_CC"; then
12887 # Extract the first word of "gcc", so it can be a program name with args.
12888 set dummy gcc
; ac_word
=$2
12889 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12890 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12891 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12892 echo $ECHO_N "(cached) $ECHO_C" >&6
12894 if test -n "$ac_ct_CC"; then
12895 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
12897 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12898 for as_dir
in $PATH
12901 test -z "$as_dir" && as_dir
=.
12902 for ac_exec_ext
in '' $ac_executable_extensions; do
12903 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12904 ac_cv_prog_ac_ct_CC
="gcc"
12905 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12914 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
12915 if test -n "$ac_ct_CC"; then
12916 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12917 echo "${ECHO_T}$ac_ct_CC" >&6; }
12919 { echo "$as_me:$LINENO: result: no" >&5
12920 echo "${ECHO_T}no" >&6; }
12923 if test "x$ac_ct_CC" = x
; then
12926 case $cross_compiling:$ac_tool_warned in
12928 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
12929 whose name does not start with the host triplet. If you think this
12930 configuration is useful to you, please write to autoconf@gnu.org." >&5
12931 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
12932 whose name does not start with the host triplet. If you think this
12933 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
12934 ac_tool_warned
=yes ;;
12939 CC
="$ac_cv_prog_CC"
12942 if test -z "$CC"; then
12943 if test -n "$ac_tool_prefix"; then
12944 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12945 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
12946 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12947 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12948 if test "${ac_cv_prog_CC+set}" = set; then
12949 echo $ECHO_N "(cached) $ECHO_C" >&6
12951 if test -n "$CC"; then
12952 ac_cv_prog_CC
="$CC" # Let the user override the test.
12954 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12955 for as_dir
in $PATH
12958 test -z "$as_dir" && as_dir
=.
12959 for ac_exec_ext
in '' $ac_executable_extensions; do
12960 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12961 ac_cv_prog_CC
="${ac_tool_prefix}cc"
12962 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12972 if test -n "$CC"; then
12973 { echo "$as_me:$LINENO: result: $CC" >&5
12974 echo "${ECHO_T}$CC" >&6; }
12976 { echo "$as_me:$LINENO: result: no" >&5
12977 echo "${ECHO_T}no" >&6; }
12983 if test -z "$CC"; then
12984 # Extract the first word of "cc", so it can be a program name with args.
12985 set dummy cc
; ac_word
=$2
12986 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12987 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12988 if test "${ac_cv_prog_CC+set}" = set; then
12989 echo $ECHO_N "(cached) $ECHO_C" >&6
12991 if test -n "$CC"; then
12992 ac_cv_prog_CC
="$CC" # Let the user override the test.
12994 ac_prog_rejected
=no
12995 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12996 for as_dir
in $PATH
12999 test -z "$as_dir" && as_dir
=.
13000 for ac_exec_ext
in '' $ac_executable_extensions; do
13001 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13002 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
13003 ac_prog_rejected
=yes
13007 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13014 if test $ac_prog_rejected = yes; then
13015 # We found a bogon in the path, so make sure we never use it.
13016 set dummy
$ac_cv_prog_CC
13018 if test $# != 0; then
13019 # We chose a different compiler from the bogus one.
13020 # However, it has the same basename, so the bogon will be chosen
13021 # first if we set CC to just the basename; use the full file name.
13023 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
13029 if test -n "$CC"; then
13030 { echo "$as_me:$LINENO: result: $CC" >&5
13031 echo "${ECHO_T}$CC" >&6; }
13033 { echo "$as_me:$LINENO: result: no" >&5
13034 echo "${ECHO_T}no" >&6; }
13039 if test -z "$CC"; then
13040 if test -n "$ac_tool_prefix"; then
13041 for ac_prog
in cl.exe
13043 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13044 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
13045 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13046 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13047 if test "${ac_cv_prog_CC+set}" = set; then
13048 echo $ECHO_N "(cached) $ECHO_C" >&6
13050 if test -n "$CC"; then
13051 ac_cv_prog_CC
="$CC" # Let the user override the test.
13053 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13054 for as_dir
in $PATH
13057 test -z "$as_dir" && as_dir
=.
13058 for ac_exec_ext
in '' $ac_executable_extensions; do
13059 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13060 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
13061 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13071 if test -n "$CC"; then
13072 { echo "$as_me:$LINENO: result: $CC" >&5
13073 echo "${ECHO_T}$CC" >&6; }
13075 { echo "$as_me:$LINENO: result: no" >&5
13076 echo "${ECHO_T}no" >&6; }
13080 test -n "$CC" && break
13083 if test -z "$CC"; then
13085 for ac_prog
in cl.exe
13087 # Extract the first word of "$ac_prog", so it can be a program name with args.
13088 set dummy
$ac_prog; ac_word
=$2
13089 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13090 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13091 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
13092 echo $ECHO_N "(cached) $ECHO_C" >&6
13094 if test -n "$ac_ct_CC"; then
13095 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
13097 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13098 for as_dir
in $PATH
13101 test -z "$as_dir" && as_dir
=.
13102 for ac_exec_ext
in '' $ac_executable_extensions; do
13103 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13104 ac_cv_prog_ac_ct_CC
="$ac_prog"
13105 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13114 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
13115 if test -n "$ac_ct_CC"; then
13116 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
13117 echo "${ECHO_T}$ac_ct_CC" >&6; }
13119 { echo "$as_me:$LINENO: result: no" >&5
13120 echo "${ECHO_T}no" >&6; }
13124 test -n "$ac_ct_CC" && break
13127 if test "x$ac_ct_CC" = x
; then
13130 case $cross_compiling:$ac_tool_warned in
13132 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13133 whose name does not start with the host triplet. If you think this
13134 configuration is useful to you, please write to autoconf@gnu.org." >&5
13135 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13136 whose name does not start with the host triplet. If you think this
13137 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13138 ac_tool_warned
=yes ;;
13147 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
13148 See \`config.log' for more details." >&5
13149 echo "$as_me: error: no acceptable C compiler found in \$PATH
13150 See \`config.log' for more details." >&2;}
13151 { (exit 1); exit 1; }; }
13153 # Provide some information about the compiler.
13154 echo "$as_me:$LINENO: checking for C compiler version" >&5
13155 ac_compiler
=`set X $ac_compile; echo $2`
13156 { (ac_try
="$ac_compiler --version >&5"
13157 case "(($ac_try" in
13158 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
13159 *) ac_try_echo=$ac_try;;
13161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13162 (eval "$ac_compiler --version >&5") 2>&5
13164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13165 (exit $ac_status); }
13166 { (ac_try="$ac_compiler -v >&5"
13167 case "(($ac_try" in
13168 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
13169 *) ac_try_echo
=$ac_try;;
13171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13172 (eval "$ac_compiler -v >&5") 2>&5
13174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13175 (exit $ac_status); }
13176 { (ac_try
="$ac_compiler -V >&5"
13177 case "(($ac_try" in
13178 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
13179 *) ac_try_echo=$ac_try;;
13181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13182 (eval "$ac_compiler -V >&5") 2>&5
13184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13185 (exit $ac_status); }
13187 cat >conftest.$ac_ext <<_ACEOF
13190 cat confdefs.h >>conftest.$ac_ext
13191 cat >>conftest.$ac_ext <<_ACEOF
13192 /* end confdefs.h. */
13202 ac_clean_files_save=$ac_clean_files
13203 ac_clean_files="$ac_clean_files a.out a.exe b.out"
13204 # Try to create an executable without -o first, disregard a.out.
13205 # It will help us diagnose broken compilers, and finding out an intuition
13207 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
13208 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
13209 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
13211 # List of possible output files, starting from the most likely.
13212 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
13213 # only as a last resort. b.out is created by i960 compilers.
13214 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
13216 # The IRIX 6 linker writes into existing files which may not be
13217 # executable, retaining their permissions. Remove them first so a
13218 # subsequent execution test works.
13220 for ac_file in $ac_files
13223 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
13224 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
13229 if { (ac_try="$ac_link_default"
13230 case "(($ac_try" in
13231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13232 *) ac_try_echo=$ac_try;;
13234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13235 (eval "$ac_link_default") 2>&5
13237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13238 (exit $ac_status); }; then
13239 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
13240 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
13241 # in a Makefile. We should not override ac_cv_exeext if it was cached,
13242 # so that the user can short-circuit this test for compilers unknown to
13244 for ac_file
in $ac_files ''
13246 test -f "$ac_file" || continue
13248 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
)
13251 # We found the default executable, but exeext='' is most
13255 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
13257 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
13259 # We set ac_cv_exeext here because the later test for it is not
13260 # safe: cross compilers may not add the suffix if given an `-o'
13261 # argument, so we may need to know it at that point already.
13262 # Even if this section looks crufty: it has the advantage of
13263 # actually working.
13269 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
13275 { echo "$as_me:$LINENO: result: $ac_file" >&5
13276 echo "${ECHO_T}$ac_file" >&6; }
13277 if test -z "$ac_file"; then
13278 echo "$as_me: failed program was:" >&5
13279 sed 's/^/| /' conftest.
$ac_ext >&5
13281 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
13282 See \`config.log' for more details." >&5
13283 echo "$as_me: error: C compiler cannot create executables
13284 See \`config.log' for more details." >&2;}
13285 { (exit 77); exit 77; }; }
13288 ac_exeext
=$ac_cv_exeext
13290 # Check that the compiler produces executables we can run. If not, either
13291 # the compiler is broken, or we cross compile.
13292 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
13293 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
13294 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
13295 # If not cross compiling, check that we can run a simple program.
13296 if test "$cross_compiling" != yes; then
13297 if { ac_try
='./$ac_file'
13298 { (case "(($ac_try" in
13299 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
13300 *) ac_try_echo=$ac_try;;
13302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13303 (eval "$ac_try") 2>&5
13305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13306 (exit $ac_status); }; }; then
13309 if test "$cross_compiling" = maybe; then
13310 cross_compiling=yes
13312 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
13313 If you meant to cross compile, use \`--host'.
13314 See \`config.log' for more details.
" >&5
13315 echo "$as_me: error
: cannot run C compiled programs.
13316 If you meant to cross compile
, use \
`--host'.
13317 See \`config.log
' for more details." >&2;}
13318 { (exit 1); exit 1; }; }
13322 { echo "$as_me:$LINENO: result: yes" >&5
13323 echo "${ECHO_T}yes" >&6; }
13325 rm -f a.out a.exe conftest$ac_cv_exeext b.out
13326 ac_clean_files=$ac_clean_files_save
13327 # Check that the compiler produces executables we can run. If not, either
13328 # the compiler is broken, or we cross compile.
13329 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
13330 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
13331 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
13332 echo "${ECHO_T}$cross_compiling" >&6; }
13334 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
13335 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
13336 if { (ac_try="$ac_link"
13337 case "(($ac_try" in
13338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13339 *) ac_try_echo=$ac_try;;
13341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13342 (eval "$ac_link") 2>&5
13344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13345 (exit $ac_status); }; then
13346 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
13347 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
13348 # work properly (i.e., refer to `conftest.exe
'), while it won't with
13350 for ac_file
in conftest.exe conftest conftest.
*; do
13351 test -f "$ac_file" || continue
13353 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
13354 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
13360 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
13361 See \`config.log' for more details." >&5
13362 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
13363 See \`config.log' for more details." >&2;}
13364 { (exit 1); exit 1; }; }
13367 rm -f conftest
$ac_cv_exeext
13368 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
13369 echo "${ECHO_T}$ac_cv_exeext" >&6; }
13371 rm -f conftest.
$ac_ext
13372 EXEEXT
=$ac_cv_exeext
13374 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
13375 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
13376 if test "${ac_cv_objext+set}" = set; then
13377 echo $ECHO_N "(cached) $ECHO_C" >&6
13379 cat >conftest.
$ac_ext <<_ACEOF
13382 cat confdefs.h
>>conftest.
$ac_ext
13383 cat >>conftest.
$ac_ext <<_ACEOF
13384 /* end confdefs.h. */
13394 rm -f conftest.o conftest.obj
13395 if { (ac_try
="$ac_compile"
13396 case "(($ac_try" in
13397 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
13398 *) ac_try_echo=$ac_try;;
13400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13401 (eval "$ac_compile") 2>&5
13403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13404 (exit $ac_status); }; then
13405 for ac_file in conftest.o conftest.obj conftest.*; do
13406 test -f "$ac_file" || continue;
13408 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
13409 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
13414 echo "$as_me: failed program was:" >&5
13415 sed 's/^/| /' conftest.$ac_ext >&5
13417 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
13418 See \`config.log
' for more details." >&5
13419 echo "$as_me: error: cannot compute suffix of object files: cannot compile
13420 See \`config.log' for more details.
" >&2;}
13421 { (exit 1); exit 1; }; }
13424 rm -f conftest.$ac_cv_objext conftest.$ac_ext
13426 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
13427 echo "${ECHO_T}$ac_cv_objext" >&6; }
13428 OBJEXT=$ac_cv_objext
13430 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
13431 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
13432 if test "${ac_cv_c_compiler_gnu+set}" = set; then
13433 echo $ECHO_N "(cached
) $ECHO_C" >&6
13435 cat >conftest.$ac_ext <<_ACEOF
13438 cat confdefs.h >>conftest.$ac_ext
13439 cat >>conftest.$ac_ext <<_ACEOF
13440 /* end confdefs.h. */
13453 rm -f conftest.$ac_objext
13454 if { (ac_try="$ac_compile"
13455 case "(($ac_try" in
13456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13457 *) ac_try_echo=$ac_try;;
13459 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13460 (eval "$ac_compile") 2>conftest.er1
13462 grep -v '^ *+' conftest.er1 >conftest.err
13464 cat conftest.err >&5
13465 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13466 (exit $ac_status); } && {
13467 test -z "$ac_c_werror_flag" ||
13468 test ! -s conftest.err
13469 } && test -s conftest.$ac_objext; then
13470 ac_compiler_gnu=yes
13472 echo "$as_me: failed program was
:" >&5
13473 sed 's/^/| /' conftest.$ac_ext >&5
13478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13479 ac_cv_c_compiler_gnu=$ac_compiler_gnu
13482 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
13483 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
13484 GCC=`test $ac_compiler_gnu = yes && echo yes`
13485 ac_test_CFLAGS=${CFLAGS+set}
13486 ac_save_CFLAGS=$CFLAGS
13487 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
13488 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
13489 if test "${ac_cv_prog_cc_g+set}" = set; then
13490 echo $ECHO_N "(cached
) $ECHO_C" >&6
13492 ac_save_c_werror_flag=$ac_c_werror_flag
13493 ac_c_werror_flag=yes
13496 cat >conftest.$ac_ext <<_ACEOF
13499 cat confdefs.h >>conftest.$ac_ext
13500 cat >>conftest.$ac_ext <<_ACEOF
13501 /* end confdefs.h. */
13511 rm -f conftest.$ac_objext
13512 if { (ac_try="$ac_compile"
13513 case "(($ac_try" in
13514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13515 *) ac_try_echo=$ac_try;;
13517 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13518 (eval "$ac_compile") 2>conftest.er1
13520 grep -v '^ *+' conftest.er1 >conftest.err
13522 cat conftest.err >&5
13523 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13524 (exit $ac_status); } && {
13525 test -z "$ac_c_werror_flag" ||
13526 test ! -s conftest.err
13527 } && test -s conftest.$ac_objext; then
13528 ac_cv_prog_cc_g=yes
13530 echo "$as_me: failed program was
:" >&5
13531 sed 's/^/| /' conftest.$ac_ext >&5
13534 cat >conftest.$ac_ext <<_ACEOF
13537 cat confdefs.h >>conftest.$ac_ext
13538 cat >>conftest.$ac_ext <<_ACEOF
13539 /* end confdefs.h. */
13549 rm -f conftest.$ac_objext
13550 if { (ac_try="$ac_compile"
13551 case "(($ac_try" in
13552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13553 *) ac_try_echo=$ac_try;;
13555 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13556 (eval "$ac_compile") 2>conftest.er1
13558 grep -v '^ *+' conftest.er1 >conftest.err
13560 cat conftest.err >&5
13561 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13562 (exit $ac_status); } && {
13563 test -z "$ac_c_werror_flag" ||
13564 test ! -s conftest.err
13565 } && test -s conftest.$ac_objext; then
13568 echo "$as_me: failed program was
:" >&5
13569 sed 's/^/| /' conftest.$ac_ext >&5
13571 ac_c_werror_flag=$ac_save_c_werror_flag
13573 cat >conftest.$ac_ext <<_ACEOF
13576 cat confdefs.h >>conftest.$ac_ext
13577 cat >>conftest.$ac_ext <<_ACEOF
13578 /* end confdefs.h. */
13588 rm -f conftest.$ac_objext
13589 if { (ac_try="$ac_compile"
13590 case "(($ac_try" in
13591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13592 *) ac_try_echo=$ac_try;;
13594 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13595 (eval "$ac_compile") 2>conftest.er1
13597 grep -v '^ *+' conftest.er1 >conftest.err
13599 cat conftest.err >&5
13600 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13601 (exit $ac_status); } && {
13602 test -z "$ac_c_werror_flag" ||
13603 test ! -s conftest.err
13604 } && test -s conftest.$ac_objext; then
13605 ac_cv_prog_cc_g=yes
13607 echo "$as_me: failed program was
:" >&5
13608 sed 's/^/| /' conftest.$ac_ext >&5
13613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13620 ac_c_werror_flag=$ac_save_c_werror_flag
13622 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
13623 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
13624 if test "$ac_test_CFLAGS" = set; then
13625 CFLAGS=$ac_save_CFLAGS
13626 elif test $ac_cv_prog_cc_g = yes; then
13627 if test "$GCC" = yes; then
13633 if test "$GCC" = yes; then
13639 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
13640 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
13641 if test "${ac_cv_prog_cc_c89+set}" = set; then
13642 echo $ECHO_N "(cached
) $ECHO_C" >&6
13644 ac_cv_prog_cc_c89=no
13646 cat >conftest.$ac_ext <<_ACEOF
13649 cat confdefs.h >>conftest.$ac_ext
13650 cat >>conftest.$ac_ext <<_ACEOF
13651 /* end confdefs.h. */
13652 #include <stdarg.h>
13654 #include <sys/types.h>
13655 #include <sys/stat.h>
13656 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
13657 struct buf { int x; };
13658 FILE * (*rcsopen) (struct buf *, struct stat *, int);
13659 static char *e (p, i)
13665 static char *f (char * (*g) (char **, int), char **p, ...)
13670 s = g (p, va_arg (v,int));
13675 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
13676 function prototypes and stuff, but not '\xHH' hex character constants.
13677 These don't provoke an error unfortunately, instead are silently treated
13678 as 'x'. The following induces an error, until -std is added to get
13679 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
13680 array size at least. It's necessary to write '\x00'==0 to get something
13681 that's true only with -std. */
13682 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13684 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13685 inside strings and character constants. */
13687 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13689 int test (int i, double x);
13690 struct s1 {int (*f) (int a);};
13691 struct s2 {int (*f) (double a);};
13692 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13698 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
13703 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13704 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13706 CC="$ac_save_CC $ac_arg"
13707 rm -f conftest.$ac_objext
13708 if { (ac_try="$ac_compile"
13709 case "(($ac_try" in
13710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13711 *) ac_try_echo=$ac_try;;
13713 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13714 (eval "$ac_compile") 2>conftest.er1
13716 grep -v '^ *+' conftest.er1 >conftest.err
13718 cat conftest.err >&5
13719 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13720 (exit $ac_status); } && {
13721 test -z "$ac_c_werror_flag" ||
13722 test ! -s conftest.err
13723 } && test -s conftest.$ac_objext; then
13724 ac_cv_prog_cc_c89=$ac_arg
13726 echo "$as_me: failed program was
:" >&5
13727 sed 's/^/| /' conftest.$ac_ext >&5
13732 rm -f core conftest.err conftest.$ac_objext
13733 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
13735 rm -f conftest.$ac_ext
13740 case "x
$ac_cv_prog_cc_c89" in
13742 { echo "$as_me:$LINENO: result
: none needed
" >&5
13743 echo "${ECHO_T}none needed
" >&6; } ;;
13745 { echo "$as_me:$LINENO: result
: unsupported
" >&5
13746 echo "${ECHO_T}unsupported
" >&6; } ;;
13748 CC="$CC $ac_cv_prog_cc_c89"
13749 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
13750 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
13755 ac_cpp='$CPP $CPPFLAGS'
13756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13763 ac_cpp='$CPP $CPPFLAGS'
13764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13768 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler
" >&5
13769 echo $ECHO_N "checking whether we are using the Intel C compiler...
$ECHO_C" >&6; }
13770 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
13771 echo $ECHO_N "(cached
) $ECHO_C" >&6
13773 cat >conftest.$ac_ext <<_ACEOF
13776 cat confdefs.h >>conftest.$ac_ext
13777 cat >>conftest.$ac_ext <<_ACEOF
13778 /* end confdefs.h. */
13784 #ifndef __INTEL_COMPILER
13792 rm -f conftest.$ac_objext
13793 if { (ac_try="$ac_compile"
13794 case "(($ac_try" in
13795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13796 *) ac_try_echo=$ac_try;;
13798 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13799 (eval "$ac_compile") 2>conftest.er1
13801 grep -v '^ *+' conftest.er1 >conftest.err
13803 cat conftest.err >&5
13804 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13805 (exit $ac_status); } && {
13806 test -z "$ac_c_werror_flag" ||
13807 test ! -s conftest.err
13808 } && test -s conftest.$ac_objext; then
13809 bakefile_cv_c_compiler___INTEL_COMPILER=yes
13811 echo "$as_me: failed program was
:" >&5
13812 sed 's/^/| /' conftest.$ac_ext >&5
13814 bakefile_cv_c_compiler___INTEL_COMPILER=no
13818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13822 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
13823 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
13825 ac_cpp='$CPP $CPPFLAGS'
13826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13830 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes
"; then
13837 if test "x
$GCC" != "xyes
"; then
13838 if test "xCC
" = "xC
"; then
13839 { echo "$as_me:$LINENO: checking
if the C compiler requires
-ext o
" >&5
13840 echo $ECHO_N "checking
if the C compiler requires
-ext o...
$ECHO_C" >&6; }
13841 if test "${bakefile_cv_c_exto+set}" = set; then
13842 echo $ECHO_N "(cached
) $ECHO_C" >&6
13844 cat >conftest.$ac_ext <<_ACEOF
13847 cat confdefs.h >>conftest.$ac_ext
13848 cat >>conftest.$ac_ext <<_ACEOF
13849 /* end confdefs.h. */
13859 rm -f conftest.$ac_objext conftest.$ac_ext.o
13860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13861 (eval $ac_compile) 2>&5
13863 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13864 (exit $ac_status); }; then
13865 for ac_file in `(ls conftest.* 2>/dev/null)`; do
13867 conftest.$ac_ext.o)
13868 bakefile_cv_c_exto="-ext o
"
13875 { { echo "$as_me:$LINENO: error
: cannot figure out
if compiler needs
-ext o
: cannot compile
13876 See \
`config.log' for more details." >&5
13877 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13878 See \`config.log
' for more details." >&2;}
13879 { (exit 1); exit 1; }; }
13883 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
13886 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
13887 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
13888 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13889 if test "c" = "c"; then
13890 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
13892 if test "c" = "cxx"; then
13893 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
13897 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13898 unset ac_cv_prog_cc_g
13899 ac_test_CFLAGS=${CFLAGS+set}
13900 ac_save_CFLAGS=$CFLAGS
13901 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13902 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
13903 if test "${ac_cv_prog_cc_g+set}" = set; then
13904 echo $ECHO_N "(cached) $ECHO_C" >&6
13906 ac_save_c_werror_flag=$ac_c_werror_flag
13907 ac_c_werror_flag=yes
13910 cat >conftest.$ac_ext <<_ACEOF
13913 cat confdefs.h >>conftest.$ac_ext
13914 cat >>conftest.$ac_ext <<_ACEOF
13915 /* end confdefs.h. */
13925 rm -f conftest.$ac_objext
13926 if { (ac_try="$ac_compile"
13927 case "(($ac_try" in
13928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13929 *) ac_try_echo=$ac_try;;
13931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13932 (eval "$ac_compile") 2>conftest.er1
13934 grep -v '^
*+' conftest.er1 >conftest.err
13936 cat conftest.err >&5
13937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13938 (exit $ac_status); } && {
13939 test -z "$ac_c_werror_flag" ||
13940 test ! -s conftest.err
13941 } && test -s conftest.$ac_objext; then
13942 ac_cv_prog_cc_g=yes
13944 echo "$as_me: failed program was:" >&5
13945 sed 's
/^
/| /' conftest.$ac_ext >&5
13948 cat >conftest.$ac_ext <<_ACEOF
13951 cat confdefs.h >>conftest.$ac_ext
13952 cat >>conftest.$ac_ext <<_ACEOF
13953 /* end confdefs.h. */
13963 rm -f conftest.$ac_objext
13964 if { (ac_try="$ac_compile"
13965 case "(($ac_try" in
13966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13967 *) ac_try_echo=$ac_try;;
13969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13970 (eval "$ac_compile") 2>conftest.er1
13972 grep -v '^
*+' conftest.er1 >conftest.err
13974 cat conftest.err >&5
13975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13976 (exit $ac_status); } && {
13977 test -z "$ac_c_werror_flag" ||
13978 test ! -s conftest.err
13979 } && test -s conftest.$ac_objext; then
13982 echo "$as_me: failed program was:" >&5
13983 sed 's
/^
/| /' conftest.$ac_ext >&5
13985 ac_c_werror_flag=$ac_save_c_werror_flag
13987 cat >conftest.$ac_ext <<_ACEOF
13990 cat confdefs.h >>conftest.$ac_ext
13991 cat >>conftest.$ac_ext <<_ACEOF
13992 /* end confdefs.h. */
14002 rm -f conftest.$ac_objext
14003 if { (ac_try="$ac_compile"
14004 case "(($ac_try" in
14005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14006 *) ac_try_echo=$ac_try;;
14008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14009 (eval "$ac_compile") 2>conftest.er1
14011 grep -v '^
*+' conftest.er1 >conftest.err
14013 cat conftest.err >&5
14014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14015 (exit $ac_status); } && {
14016 test -z "$ac_c_werror_flag" ||
14017 test ! -s conftest.err
14018 } && test -s conftest.$ac_objext; then
14019 ac_cv_prog_cc_g=yes
14021 echo "$as_me: failed program was:" >&5
14022 sed 's
/^
/| /' conftest.$ac_ext >&5
14027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14034 ac_c_werror_flag=$ac_save_c_werror_flag
14036 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14037 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14038 if test "$ac_test_CFLAGS" = set; then
14039 CFLAGS=$ac_save_CFLAGS
14040 elif test $ac_cv_prog_cc_g = yes; then
14041 if test "$GCC" = yes; then
14047 if test "$GCC" = yes; then
14059 ac_cpp='$CPP $CPPFLAGS'
14060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14061 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14064 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
14065 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
14066 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
14067 echo $ECHO_N "(cached) $ECHO_C" >&6
14069 cat >conftest.$ac_ext <<_ACEOF
14072 cat confdefs.h >>conftest.$ac_ext
14073 cat >>conftest.$ac_ext <<_ACEOF
14074 /* end confdefs.h. */
14087 rm -f conftest.$ac_objext
14088 if { (ac_try="$ac_compile"
14089 case "(($ac_try" in
14090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14091 *) ac_try_echo=$ac_try;;
14093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14094 (eval "$ac_compile") 2>conftest.er1
14096 grep -v '^
*+' conftest.er1 >conftest.err
14098 cat conftest.err >&5
14099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14100 (exit $ac_status); } && {
14101 test -z "$ac_c_werror_flag" ||
14102 test ! -s conftest.err
14103 } && test -s conftest.$ac_objext; then
14104 bakefile_compiler_xlc=yes
14106 echo "$as_me: failed program was:" >&5
14107 sed 's
/^
/| /' conftest.$ac_ext >&5
14109 bakefile_compiler_xlc=no
14112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14113 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
14116 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
14117 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6; }
14119 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
14121 ac_cpp='$CPP $CPPFLAGS'
14122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14123 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14131 ac_cpp='$CPP $CPPFLAGS'
14132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14133 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14136 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
14137 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
14138 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
14139 echo $ECHO_N "(cached) $ECHO_C" >&6
14141 cat >conftest.$ac_ext <<_ACEOF
14144 cat confdefs.h >>conftest.$ac_ext
14145 cat >>conftest.$ac_ext <<_ACEOF
14146 /* end confdefs.h. */
14159 rm -f conftest.$ac_objext
14160 if { (ac_try="$ac_compile"
14161 case "(($ac_try" in
14162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14163 *) ac_try_echo=$ac_try;;
14165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14166 (eval "$ac_compile") 2>conftest.er1
14168 grep -v '^
*+' conftest.er1 >conftest.err
14170 cat conftest.err >&5
14171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14172 (exit $ac_status); } && {
14173 test -z "$ac_c_werror_flag" ||
14174 test ! -s conftest.err
14175 } && test -s conftest.$ac_objext; then
14176 bakefile_compiler_mwerks=yes
14178 echo "$as_me: failed program was:" >&5
14179 sed 's
/^
/| /' conftest.$ac_ext >&5
14181 bakefile_compiler_mwerks=no
14184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14185 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
14188 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
14189 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6; }
14191 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
14193 ac_cpp='$CPP $CPPFLAGS'
14194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14195 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14200 ac_cpp='$CPP $CPPFLAGS'
14201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14202 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14205 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
14206 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
14207 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
14208 echo $ECHO_N "(cached) $ECHO_C" >&6
14210 cat >conftest.$ac_ext <<_ACEOF
14213 cat confdefs.h >>conftest.$ac_ext
14214 cat >>conftest.$ac_ext <<_ACEOF
14215 /* end confdefs.h. */
14228 rm -f conftest.$ac_objext
14229 if { (ac_try="$ac_compile"
14230 case "(($ac_try" in
14231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14232 *) ac_try_echo=$ac_try;;
14234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14235 (eval "$ac_compile") 2>conftest.er1
14237 grep -v '^
*+' conftest.er1 >conftest.err
14239 cat conftest.err >&5
14240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14241 (exit $ac_status); } && {
14242 test -z "$ac_c_werror_flag" ||
14243 test ! -s conftest.err
14244 } && test -s conftest.$ac_objext; then
14245 bakefile_compiler_xlc=yes
14247 echo "$as_me: failed program was:" >&5
14248 sed 's
/^
/| /' conftest.$ac_ext >&5
14250 bakefile_compiler_xlc=no
14253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14254 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
14257 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
14258 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6; }
14260 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
14262 ac_cpp='$CPP $CPPFLAGS'
14263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14264 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14274 ac_cpp='$CPP $CPPFLAGS'
14275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14276 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14279 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
14280 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
14281 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
14282 echo $ECHO_N "(cached) $ECHO_C" >&6
14284 cat >conftest.$ac_ext <<_ACEOF
14287 cat confdefs.h >>conftest.$ac_ext
14288 cat >>conftest.$ac_ext <<_ACEOF
14289 /* end confdefs.h. */
14295 #ifndef _SGI_COMPILER_VERSION
14303 rm -f conftest.$ac_objext
14304 if { (ac_try="$ac_compile"
14305 case "(($ac_try" in
14306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14307 *) ac_try_echo=$ac_try;;
14309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14310 (eval "$ac_compile") 2>conftest.er1
14312 grep -v '^
*+' conftest.er1 >conftest.err
14314 cat conftest.err >&5
14315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14316 (exit $ac_status); } && {
14317 test -z "$ac_c_werror_flag" ||
14318 test ! -s conftest.err
14319 } && test -s conftest.$ac_objext; then
14320 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
14322 echo "$as_me: failed program was:" >&5
14323 sed 's
/^
/| /' conftest.$ac_ext >&5
14325 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
14329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14333 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
14334 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
14336 ac_cpp='$CPP $CPPFLAGS'
14337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14338 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14341 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14354 ac_cpp='$CPP $CPPFLAGS'
14355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14356 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14359 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
14360 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
14361 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
14362 echo $ECHO_N "(cached) $ECHO_C" >&6
14364 cat >conftest.$ac_ext <<_ACEOF
14367 cat confdefs.h >>conftest.$ac_ext
14368 cat >>conftest.$ac_ext <<_ACEOF
14369 /* end confdefs.h. */
14383 rm -f conftest.$ac_objext
14384 if { (ac_try="$ac_compile"
14385 case "(($ac_try" in
14386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14387 *) ac_try_echo=$ac_try;;
14389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14390 (eval "$ac_compile") 2>conftest.er1
14392 grep -v '^
*+' conftest.er1 >conftest.err
14394 cat conftest.err >&5
14395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14396 (exit $ac_status); } && {
14397 test -z "$ac_c_werror_flag" ||
14398 test ! -s conftest.err
14399 } && test -s conftest.$ac_objext; then
14400 bakefile_cv_c_compiler___HP_cc=yes
14402 echo "$as_me: failed program was:" >&5
14403 sed 's
/^
/| /' conftest.$ac_ext >&5
14405 bakefile_cv_c_compiler___HP_cc=no
14409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14413 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
14414 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
14416 ac_cpp='$CPP $CPPFLAGS'
14417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14418 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14421 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
14434 ac_cpp='$CPP $CPPFLAGS'
14435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14436 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14439 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
14440 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
14441 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
14442 echo $ECHO_N "(cached) $ECHO_C" >&6
14444 cat >conftest.$ac_ext <<_ACEOF
14447 cat confdefs.h >>conftest.$ac_ext
14448 cat >>conftest.$ac_ext <<_ACEOF
14449 /* end confdefs.h. */
14463 rm -f conftest.$ac_objext
14464 if { (ac_try="$ac_compile"
14465 case "(($ac_try" in
14466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14467 *) ac_try_echo=$ac_try;;
14469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14470 (eval "$ac_compile") 2>conftest.er1
14472 grep -v '^
*+' conftest.er1 >conftest.err
14474 cat conftest.err >&5
14475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14476 (exit $ac_status); } && {
14477 test -z "$ac_c_werror_flag" ||
14478 test ! -s conftest.err
14479 } && test -s conftest.$ac_objext; then
14480 bakefile_cv_c_compiler___DECC=yes
14482 echo "$as_me: failed program was:" >&5
14483 sed 's
/^
/| /' conftest.$ac_ext >&5
14485 bakefile_cv_c_compiler___DECC=no
14489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14493 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
14494 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
14496 ac_cpp='$CPP $CPPFLAGS'
14497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14498 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14501 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
14514 ac_cpp='$CPP $CPPFLAGS'
14515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14516 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14519 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
14520 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
14521 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
14522 echo $ECHO_N "(cached) $ECHO_C" >&6
14524 cat >conftest.$ac_ext <<_ACEOF
14527 cat confdefs.h >>conftest.$ac_ext
14528 cat >>conftest.$ac_ext <<_ACEOF
14529 /* end confdefs.h. */
14543 rm -f conftest.$ac_objext
14544 if { (ac_try="$ac_compile"
14545 case "(($ac_try" in
14546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14547 *) ac_try_echo=$ac_try;;
14549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14550 (eval "$ac_compile") 2>conftest.er1
14552 grep -v '^
*+' conftest.er1 >conftest.err
14554 cat conftest.err >&5
14555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14556 (exit $ac_status); } && {
14557 test -z "$ac_c_werror_flag" ||
14558 test ! -s conftest.err
14559 } && test -s conftest.$ac_objext; then
14560 bakefile_cv_c_compiler___SUNPRO_C=yes
14562 echo "$as_me: failed program was:" >&5
14563 sed 's
/^
/| /' conftest.$ac_ext >&5
14565 bakefile_cv_c_compiler___SUNPRO_C=no
14569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14573 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
14574 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
14576 ac_cpp='$CPP $CPPFLAGS'
14577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14578 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14581 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
14595 ac_cpp='$CPP $CPPFLAGS'
14596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14597 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14599 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
14600 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
14601 # On Suns, sometimes $CPP names a directory.
14602 if test -n "$CPP" && test -d "$CPP"; then
14605 if test -z "$CPP"; then
14606 if test "${ac_cv_prog_CPP+set}" = set; then
14607 echo $ECHO_N "(cached) $ECHO_C" >&6
14609 # Double quotes because CPP needs to be expanded
14610 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
14612 ac_preproc_ok=false
14613 for ac_c_preproc_warn_flag in '' yes
14615 # Use a header file that comes with gcc, so configuring glibc
14616 # with a fresh cross-compiler works.
14617 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14618 # <limits.h> exists even on freestanding compilers.
14619 # On the NeXT, cc -E runs the code through the compiler's parser
,
14620 # not just through cpp. "Syntax error" is here to catch this case.
14621 cat >conftest.
$ac_ext <<_ACEOF
14624 cat confdefs.h
>>conftest.
$ac_ext
14625 cat >>conftest.
$ac_ext <<_ACEOF
14626 /* end confdefs.h. */
14628 # include <limits.h>
14630 # include <assert.h>
14634 if { (ac_try
="$ac_cpp conftest.$ac_ext"
14635 case "(($ac_try" in
14636 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14637 *) ac_try_echo=$ac_try;;
14639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14640 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14642 grep -v '^ *+' conftest.er1 >conftest.err
14644 cat conftest.err >&5
14645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14646 (exit $ac_status); } >/dev/null && {
14647 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14648 test ! -s conftest.err
14652 echo "$as_me: failed program was:" >&5
14653 sed 's/^/| /' conftest.$ac_ext >&5
14655 # Broken: fails on valid input.
14659 rm -f conftest.err conftest.$ac_ext
14661 # OK, works on sane cases. Now check whether nonexistent headers
14662 # can be detected and how.
14663 cat >conftest.$ac_ext <<_ACEOF
14666 cat confdefs.h >>conftest.$ac_ext
14667 cat >>conftest.$ac_ext <<_ACEOF
14668 /* end confdefs.h. */
14669 #include <ac_nonexistent.h>
14671 if { (ac_try="$ac_cpp conftest.$ac_ext"
14672 case "(($ac_try" in
14673 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
14674 *) ac_try_echo
=$ac_try;;
14676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14677 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14679 grep -v '^ *+' conftest.er1
>conftest.err
14681 cat conftest.err
>&5
14682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14683 (exit $ac_status); } >/dev
/null
&& {
14684 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14685 test ! -s conftest.err
14687 # Broken: success on invalid input.
14690 echo "$as_me: failed program was:" >&5
14691 sed 's/^/| /' conftest.
$ac_ext >&5
14693 # Passes both tests.
14698 rm -f conftest.err conftest.
$ac_ext
14701 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14702 rm -f conftest.err conftest.
$ac_ext
14703 if $ac_preproc_ok; then
14708 ac_cv_prog_CPP
=$CPP
14711 CPP
=$ac_cv_prog_CPP
14713 ac_cv_prog_CPP
=$CPP
14715 { echo "$as_me:$LINENO: result: $CPP" >&5
14716 echo "${ECHO_T}$CPP" >&6; }
14717 ac_preproc_ok
=false
14718 for ac_c_preproc_warn_flag
in '' yes
14720 # Use a header file that comes with gcc, so configuring glibc
14721 # with a fresh cross-compiler works.
14722 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14723 # <limits.h> exists even on freestanding compilers.
14724 # On the NeXT, cc -E runs the code through the compiler's parser,
14725 # not just through cpp. "Syntax error" is here to catch this case.
14726 cat >conftest.
$ac_ext <<_ACEOF
14729 cat confdefs.h
>>conftest.
$ac_ext
14730 cat >>conftest.
$ac_ext <<_ACEOF
14731 /* end confdefs.h. */
14733 # include <limits.h>
14735 # include <assert.h>
14739 if { (ac_try
="$ac_cpp conftest.$ac_ext"
14740 case "(($ac_try" in
14741 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14742 *) ac_try_echo=$ac_try;;
14744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14745 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14747 grep -v '^ *+' conftest.er1 >conftest.err
14749 cat conftest.err >&5
14750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14751 (exit $ac_status); } >/dev/null && {
14752 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14753 test ! -s conftest.err
14757 echo "$as_me: failed program was:" >&5
14758 sed 's/^/| /' conftest.$ac_ext >&5
14760 # Broken: fails on valid input.
14764 rm -f conftest.err conftest.$ac_ext
14766 # OK, works on sane cases. Now check whether nonexistent headers
14767 # can be detected and how.
14768 cat >conftest.$ac_ext <<_ACEOF
14771 cat confdefs.h >>conftest.$ac_ext
14772 cat >>conftest.$ac_ext <<_ACEOF
14773 /* end confdefs.h. */
14774 #include <ac_nonexistent.h>
14776 if { (ac_try="$ac_cpp conftest.$ac_ext"
14777 case "(($ac_try" in
14778 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
14779 *) ac_try_echo
=$ac_try;;
14781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14782 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14784 grep -v '^ *+' conftest.er1
>conftest.err
14786 cat conftest.err
>&5
14787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14788 (exit $ac_status); } >/dev
/null
&& {
14789 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14790 test ! -s conftest.err
14792 # Broken: success on invalid input.
14795 echo "$as_me: failed program was:" >&5
14796 sed 's/^/| /' conftest.
$ac_ext >&5
14798 # Passes both tests.
14803 rm -f conftest.err conftest.
$ac_ext
14806 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14807 rm -f conftest.err conftest.
$ac_ext
14808 if $ac_preproc_ok; then
14811 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
14812 See \`config.log' for more details." >&5
14813 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
14814 See \`config.log' for more details." >&2;}
14815 { (exit 1); exit 1; }; }
14819 ac_cpp
='$CPP $CPPFLAGS'
14820 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14821 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14822 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14825 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
14826 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
14827 if test "${ac_cv_path_GREP+set}" = set; then
14828 echo $ECHO_N "(cached) $ECHO_C" >&6
14830 # Extract the first word of "grep ggrep" to use in msg output
14831 if test -z "$GREP"; then
14832 set dummy
grep ggrep
; ac_prog_name
=$2
14833 if test "${ac_cv_path_GREP+set}" = set; then
14834 echo $ECHO_N "(cached) $ECHO_C" >&6
14836 ac_path_GREP_found
=false
14837 # Loop through the user's path and test for each of PROGNAME-LIST
14838 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14839 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
14842 test -z "$as_dir" && as_dir
=.
14843 for ac_prog
in grep ggrep
; do
14844 for ac_exec_ext
in '' $ac_executable_extensions; do
14845 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
14846 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
14847 # Check for GNU ac_path_GREP and select it if it is found.
14848 # Check for GNU $ac_path_GREP
14849 case `"$ac_path_GREP" --version 2>&1` in
14851 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
14854 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
14857 cat "conftest.in" "conftest.in" >"conftest.tmp"
14858 mv "conftest.tmp" "conftest.in"
14859 cp "conftest.in" "conftest.nl"
14860 echo 'GREP' >> "conftest.nl"
14861 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
14862 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
14863 ac_count
=`expr $ac_count + 1`
14864 if test $ac_count -gt ${ac_path_GREP_max-0}; then
14865 # Best one so far, save it but keep looking for a better one
14866 ac_cv_path_GREP
="$ac_path_GREP"
14867 ac_path_GREP_max
=$ac_count
14869 # 10*(2^10) chars as input seems more than enough
14870 test $ac_count -gt 10 && break
14872 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
14876 $ac_path_GREP_found && break 3
14886 GREP
="$ac_cv_path_GREP"
14887 if test -z "$GREP"; then
14888 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
14889 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
14890 { (exit 1); exit 1; }; }
14894 ac_cv_path_GREP
=$GREP
14899 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
14900 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
14901 GREP
="$ac_cv_path_GREP"
14904 { echo "$as_me:$LINENO: checking for egrep" >&5
14905 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
14906 if test "${ac_cv_path_EGREP+set}" = set; then
14907 echo $ECHO_N "(cached) $ECHO_C" >&6
14909 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
14910 then ac_cv_path_EGREP
="$GREP -E"
14912 # Extract the first word of "egrep" to use in msg output
14913 if test -z "$EGREP"; then
14914 set dummy
egrep; ac_prog_name
=$2
14915 if test "${ac_cv_path_EGREP+set}" = set; then
14916 echo $ECHO_N "(cached) $ECHO_C" >&6
14918 ac_path_EGREP_found
=false
14919 # Loop through the user's path and test for each of PROGNAME-LIST
14920 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14921 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
14924 test -z "$as_dir" && as_dir
=.
14925 for ac_prog
in egrep; do
14926 for ac_exec_ext
in '' $ac_executable_extensions; do
14927 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
14928 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
14929 # Check for GNU ac_path_EGREP and select it if it is found.
14930 # Check for GNU $ac_path_EGREP
14931 case `"$ac_path_EGREP" --version 2>&1` in
14933 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
14936 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
14939 cat "conftest.in" "conftest.in" >"conftest.tmp"
14940 mv "conftest.tmp" "conftest.in"
14941 cp "conftest.in" "conftest.nl"
14942 echo 'EGREP' >> "conftest.nl"
14943 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
14944 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
14945 ac_count
=`expr $ac_count + 1`
14946 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
14947 # Best one so far, save it but keep looking for a better one
14948 ac_cv_path_EGREP
="$ac_path_EGREP"
14949 ac_path_EGREP_max
=$ac_count
14951 # 10*(2^10) chars as input seems more than enough
14952 test $ac_count -gt 10 && break
14954 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
14958 $ac_path_EGREP_found && break 3
14968 EGREP
="$ac_cv_path_EGREP"
14969 if test -z "$EGREP"; then
14970 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
14971 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
14972 { (exit 1); exit 1; }; }
14976 ac_cv_path_EGREP
=$EGREP
14982 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
14983 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
14984 EGREP
="$ac_cv_path_EGREP"
14987 if test $ac_cv_c_compiler_gnu = yes; then
14988 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
14989 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
14990 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
14991 echo $ECHO_N "(cached) $ECHO_C" >&6
14993 ac_pattern
="Autoconf.*'x'"
14994 cat >conftest.
$ac_ext <<_ACEOF
14997 cat confdefs.h
>>conftest.
$ac_ext
14998 cat >>conftest.
$ac_ext <<_ACEOF
14999 /* end confdefs.h. */
15003 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15004 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
15005 ac_cv_prog_gcc_traditional
=yes
15007 ac_cv_prog_gcc_traditional
=no
15012 if test $ac_cv_prog_gcc_traditional = no
; then
15013 cat >conftest.
$ac_ext <<_ACEOF
15016 cat confdefs.h
>>conftest.
$ac_ext
15017 cat >>conftest.
$ac_ext <<_ACEOF
15018 /* end confdefs.h. */
15019 #include <termio.h>
15022 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15023 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
15024 ac_cv_prog_gcc_traditional
=yes
15030 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
15031 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
15032 if test $ac_cv_prog_gcc_traditional = yes; then
15033 CC
="$CC -traditional"
15038 CXXFLAGS
=${CXXFLAGS:=}
15043 ac_cpp
='$CXXCPP $CPPFLAGS'
15044 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15045 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15046 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15047 if test -z "$CXX"; then
15048 if test -n "$CCC"; then
15051 if test -n "$ac_tool_prefix"; then
15052 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
15054 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15055 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
15056 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15057 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15058 if test "${ac_cv_prog_CXX+set}" = set; then
15059 echo $ECHO_N "(cached) $ECHO_C" >&6
15061 if test -n "$CXX"; then
15062 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
15064 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15065 for as_dir
in $PATH
15068 test -z "$as_dir" && as_dir
=.
15069 for ac_exec_ext
in '' $ac_executable_extensions; do
15070 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15071 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
15072 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15081 CXX
=$ac_cv_prog_CXX
15082 if test -n "$CXX"; then
15083 { echo "$as_me:$LINENO: result: $CXX" >&5
15084 echo "${ECHO_T}$CXX" >&6; }
15086 { echo "$as_me:$LINENO: result: no" >&5
15087 echo "${ECHO_T}no" >&6; }
15091 test -n "$CXX" && break
15094 if test -z "$CXX"; then
15096 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
15098 # Extract the first word of "$ac_prog", so it can be a program name with args.
15099 set dummy
$ac_prog; ac_word
=$2
15100 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15101 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15102 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
15103 echo $ECHO_N "(cached) $ECHO_C" >&6
15105 if test -n "$ac_ct_CXX"; then
15106 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
15108 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15109 for as_dir
in $PATH
15112 test -z "$as_dir" && as_dir
=.
15113 for ac_exec_ext
in '' $ac_executable_extensions; do
15114 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15115 ac_cv_prog_ac_ct_CXX
="$ac_prog"
15116 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15125 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
15126 if test -n "$ac_ct_CXX"; then
15127 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
15128 echo "${ECHO_T}$ac_ct_CXX" >&6; }
15130 { echo "$as_me:$LINENO: result: no" >&5
15131 echo "${ECHO_T}no" >&6; }
15135 test -n "$ac_ct_CXX" && break
15138 if test "x$ac_ct_CXX" = x
; then
15141 case $cross_compiling:$ac_tool_warned in
15143 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15144 whose name does not start with the host triplet. If you think this
15145 configuration is useful to you, please write to autoconf@gnu.org." >&5
15146 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15147 whose name does not start with the host triplet. If you think this
15148 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15149 ac_tool_warned
=yes ;;
15157 # Provide some information about the compiler.
15158 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
15159 ac_compiler
=`set X $ac_compile; echo $2`
15160 { (ac_try
="$ac_compiler --version >&5"
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_compiler --version >&5") 2>&5
15168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15169 (exit $ac_status); }
15170 { (ac_try="$ac_compiler -v >&5"
15171 case "(($ac_try" in
15172 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15173 *) ac_try_echo
=$ac_try;;
15175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15176 (eval "$ac_compiler -v >&5") 2>&5
15178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15179 (exit $ac_status); }
15180 { (ac_try
="$ac_compiler -V >&5"
15181 case "(($ac_try" in
15182 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15183 *) ac_try_echo=$ac_try;;
15185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15186 (eval "$ac_compiler -V >&5") 2>&5
15188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15189 (exit $ac_status); }
15191 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
15192 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
15193 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
15194 echo $ECHO_N "(cached) $ECHO_C" >&6
15196 cat >conftest.$ac_ext <<_ACEOF
15199 cat confdefs.h >>conftest.$ac_ext
15200 cat >>conftest.$ac_ext <<_ACEOF
15201 /* end confdefs.h. */
15214 rm -f conftest.$ac_objext
15215 if { (ac_try="$ac_compile"
15216 case "(($ac_try" in
15217 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15218 *) ac_try_echo
=$ac_try;;
15220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15221 (eval "$ac_compile") 2>conftest.er1
15223 grep -v '^ *+' conftest.er1
>conftest.err
15225 cat conftest.err
>&5
15226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15227 (exit $ac_status); } && {
15228 test -z "$ac_cxx_werror_flag" ||
15229 test ! -s conftest.err
15230 } && test -s conftest.
$ac_objext; then
15231 ac_compiler_gnu
=yes
15233 echo "$as_me: failed program was:" >&5
15234 sed 's/^/| /' conftest.
$ac_ext >&5
15239 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15240 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
15243 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
15244 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
15245 GXX
=`test $ac_compiler_gnu = yes && echo yes`
15246 ac_test_CXXFLAGS
=${CXXFLAGS+set}
15247 ac_save_CXXFLAGS
=$CXXFLAGS
15248 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
15249 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
15250 if test "${ac_cv_prog_cxx_g+set}" = set; then
15251 echo $ECHO_N "(cached) $ECHO_C" >&6
15253 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
15254 ac_cxx_werror_flag
=yes
15255 ac_cv_prog_cxx_g
=no
15257 cat >conftest.
$ac_ext <<_ACEOF
15260 cat confdefs.h
>>conftest.
$ac_ext
15261 cat >>conftest.
$ac_ext <<_ACEOF
15262 /* end confdefs.h. */
15272 rm -f conftest.
$ac_objext
15273 if { (ac_try
="$ac_compile"
15274 case "(($ac_try" in
15275 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15276 *) ac_try_echo=$ac_try;;
15278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15279 (eval "$ac_compile") 2>conftest.er1
15281 grep -v '^ *+' conftest.er1 >conftest.err
15283 cat conftest.err >&5
15284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15285 (exit $ac_status); } && {
15286 test -z "$ac_cxx_werror_flag" ||
15287 test ! -s conftest.err
15288 } && test -s conftest.$ac_objext; then
15289 ac_cv_prog_cxx_g=yes
15291 echo "$as_me: failed program was:" >&5
15292 sed 's/^/| /' conftest.$ac_ext >&5
15295 cat >conftest.$ac_ext <<_ACEOF
15298 cat confdefs.h >>conftest.$ac_ext
15299 cat >>conftest.$ac_ext <<_ACEOF
15300 /* end confdefs.h. */
15310 rm -f conftest.$ac_objext
15311 if { (ac_try="$ac_compile"
15312 case "(($ac_try" in
15313 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15314 *) ac_try_echo
=$ac_try;;
15316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15317 (eval "$ac_compile") 2>conftest.er1
15319 grep -v '^ *+' conftest.er1
>conftest.err
15321 cat conftest.err
>&5
15322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15323 (exit $ac_status); } && {
15324 test -z "$ac_cxx_werror_flag" ||
15325 test ! -s conftest.err
15326 } && test -s conftest.
$ac_objext; then
15329 echo "$as_me: failed program was:" >&5
15330 sed 's/^/| /' conftest.
$ac_ext >&5
15332 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
15334 cat >conftest.
$ac_ext <<_ACEOF
15337 cat confdefs.h
>>conftest.
$ac_ext
15338 cat >>conftest.
$ac_ext <<_ACEOF
15339 /* end confdefs.h. */
15349 rm -f conftest.
$ac_objext
15350 if { (ac_try
="$ac_compile"
15351 case "(($ac_try" in
15352 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15353 *) ac_try_echo=$ac_try;;
15355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15356 (eval "$ac_compile") 2>conftest.er1
15358 grep -v '^ *+' conftest.er1 >conftest.err
15360 cat conftest.err >&5
15361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15362 (exit $ac_status); } && {
15363 test -z "$ac_cxx_werror_flag" ||
15364 test ! -s conftest.err
15365 } && test -s conftest.$ac_objext; then
15366 ac_cv_prog_cxx_g=yes
15368 echo "$as_me: failed program was:" >&5
15369 sed 's/^/| /' conftest.$ac_ext >&5
15374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15381 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15383 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
15384 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
15385 if test "$ac_test_CXXFLAGS" = set; then
15386 CXXFLAGS=$ac_save_CXXFLAGS
15387 elif test $ac_cv_prog_cxx_g = yes; then
15388 if test "$GXX" = yes; then
15394 if test "$GXX" = yes; then
15401 ac_cpp='$CPP $CPPFLAGS'
15402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15409 ac_cpp='$CXXCPP $CPPFLAGS'
15410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15414 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
15415 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
15416 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
15417 echo $ECHO_N "(cached) $ECHO_C" >&6
15419 cat >conftest.$ac_ext <<_ACEOF
15422 cat confdefs.h >>conftest.$ac_ext
15423 cat >>conftest.$ac_ext <<_ACEOF
15424 /* end confdefs.h. */
15430 #ifndef __INTEL_COMPILER
15438 rm -f conftest.$ac_objext
15439 if { (ac_try="$ac_compile"
15440 case "(($ac_try" in
15441 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15442 *) ac_try_echo
=$ac_try;;
15444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15445 (eval "$ac_compile") 2>conftest.er1
15447 grep -v '^ *+' conftest.er1
>conftest.err
15449 cat conftest.err
>&5
15450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15451 (exit $ac_status); } && {
15452 test -z "$ac_cxx_werror_flag" ||
15453 test ! -s conftest.err
15454 } && test -s conftest.
$ac_objext; then
15455 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
15457 echo "$as_me: failed program was:" >&5
15458 sed 's/^/| /' conftest.
$ac_ext >&5
15460 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
15464 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15468 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
15469 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
15471 ac_cpp
='$CPP $CPPFLAGS'
15472 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15473 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15474 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15476 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15483 if test "x$GCXX" != "xyes"; then
15484 if test "xCXX" = "xC"; then
15485 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15486 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15487 if test "${bakefile_cv_c_exto+set}" = set; then
15488 echo $ECHO_N "(cached) $ECHO_C" >&6
15490 cat >conftest.
$ac_ext <<_ACEOF
15493 cat confdefs.h
>>conftest.
$ac_ext
15494 cat >>conftest.
$ac_ext <<_ACEOF
15495 /* end confdefs.h. */
15505 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
15506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15507 (eval $ac_compile) 2>&5
15509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15510 (exit $ac_status); }; then
15511 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
15513 conftest.
$ac_ext.o
)
15514 bakefile_cv_c_exto
="-ext o"
15521 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15522 See \`config.log' for more details." >&5
15523 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15524 See \`config.log' for more details." >&2;}
15525 { (exit 1); exit 1; }; }
15529 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
15532 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15533 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15534 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15535 if test "c" = "c"; then
15536 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
15538 if test "c" = "cxx"; then
15539 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
15543 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15544 unset ac_cv_prog_cc_g
15545 ac_test_CFLAGS
=${CFLAGS+set}
15546 ac_save_CFLAGS
=$CFLAGS
15547 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15548 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15549 if test "${ac_cv_prog_cc_g+set}" = set; then
15550 echo $ECHO_N "(cached) $ECHO_C" >&6
15552 ac_save_c_werror_flag
=$ac_c_werror_flag
15553 ac_c_werror_flag
=yes
15556 cat >conftest.
$ac_ext <<_ACEOF
15559 cat confdefs.h
>>conftest.
$ac_ext
15560 cat >>conftest.
$ac_ext <<_ACEOF
15561 /* end confdefs.h. */
15571 rm -f conftest.
$ac_objext
15572 if { (ac_try
="$ac_compile"
15573 case "(($ac_try" in
15574 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15575 *) ac_try_echo=$ac_try;;
15577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15578 (eval "$ac_compile") 2>conftest.er1
15580 grep -v '^ *+' conftest.er1 >conftest.err
15582 cat conftest.err >&5
15583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15584 (exit $ac_status); } && {
15585 test -z "$ac_c_werror_flag" ||
15586 test ! -s conftest.err
15587 } && test -s conftest.$ac_objext; then
15588 ac_cv_prog_cc_g=yes
15590 echo "$as_me: failed program was:" >&5
15591 sed 's/^/| /' conftest.$ac_ext >&5
15594 cat >conftest.$ac_ext <<_ACEOF
15597 cat confdefs.h >>conftest.$ac_ext
15598 cat >>conftest.$ac_ext <<_ACEOF
15599 /* end confdefs.h. */
15609 rm -f conftest.$ac_objext
15610 if { (ac_try="$ac_compile"
15611 case "(($ac_try" in
15612 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15613 *) ac_try_echo
=$ac_try;;
15615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15616 (eval "$ac_compile") 2>conftest.er1
15618 grep -v '^ *+' conftest.er1
>conftest.err
15620 cat conftest.err
>&5
15621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15622 (exit $ac_status); } && {
15623 test -z "$ac_c_werror_flag" ||
15624 test ! -s conftest.err
15625 } && test -s conftest.
$ac_objext; then
15628 echo "$as_me: failed program was:" >&5
15629 sed 's/^/| /' conftest.
$ac_ext >&5
15631 ac_c_werror_flag
=$ac_save_c_werror_flag
15633 cat >conftest.
$ac_ext <<_ACEOF
15636 cat confdefs.h
>>conftest.
$ac_ext
15637 cat >>conftest.
$ac_ext <<_ACEOF
15638 /* end confdefs.h. */
15648 rm -f conftest.
$ac_objext
15649 if { (ac_try
="$ac_compile"
15650 case "(($ac_try" in
15651 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15652 *) ac_try_echo=$ac_try;;
15654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15655 (eval "$ac_compile") 2>conftest.er1
15657 grep -v '^ *+' conftest.er1 >conftest.err
15659 cat conftest.err >&5
15660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15661 (exit $ac_status); } && {
15662 test -z "$ac_c_werror_flag" ||
15663 test ! -s conftest.err
15664 } && test -s conftest.$ac_objext; then
15665 ac_cv_prog_cc_g=yes
15667 echo "$as_me: failed program was:" >&5
15668 sed 's/^/| /' conftest.$ac_ext >&5
15673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15680 ac_c_werror_flag=$ac_save_c_werror_flag
15682 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15683 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15684 if test "$ac_test_CFLAGS" = set; then
15685 CFLAGS=$ac_save_CFLAGS
15686 elif test $ac_cv_prog_cc_g = yes; then
15687 if test "$GCC" = yes; then
15693 if test "$GCC" = yes; then
15705 ac_cpp='$CXXCPP $CPPFLAGS'
15706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15710 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
15711 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
15712 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
15713 echo $ECHO_N "(cached) $ECHO_C" >&6
15715 cat >conftest.$ac_ext <<_ACEOF
15718 cat confdefs.h >>conftest.$ac_ext
15719 cat >>conftest.$ac_ext <<_ACEOF
15720 /* end confdefs.h. */
15733 rm -f conftest.$ac_objext
15734 if { (ac_try="$ac_compile"
15735 case "(($ac_try" in
15736 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15737 *) ac_try_echo
=$ac_try;;
15739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15740 (eval "$ac_compile") 2>conftest.er1
15742 grep -v '^ *+' conftest.er1
>conftest.err
15744 cat conftest.err
>&5
15745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15746 (exit $ac_status); } && {
15747 test -z "$ac_cxx_werror_flag" ||
15748 test ! -s conftest.err
15749 } && test -s conftest.
$ac_objext; then
15750 bakefile_compiler_xlc
=yes
15752 echo "$as_me: failed program was:" >&5
15753 sed 's/^/| /' conftest.
$ac_ext >&5
15755 bakefile_compiler_xlc
=no
15758 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15759 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
15762 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
15763 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6; }
15765 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
15767 ac_cpp
='$CPP $CPPFLAGS'
15768 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15769 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15770 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15777 ac_cpp
='$CXXCPP $CPPFLAGS'
15778 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15779 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15780 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15782 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
15783 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
15784 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
15785 echo $ECHO_N "(cached) $ECHO_C" >&6
15787 cat >conftest.
$ac_ext <<_ACEOF
15790 cat confdefs.h
>>conftest.
$ac_ext
15791 cat >>conftest.
$ac_ext <<_ACEOF
15792 /* end confdefs.h. */
15805 rm -f conftest.
$ac_objext
15806 if { (ac_try
="$ac_compile"
15807 case "(($ac_try" in
15808 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15809 *) ac_try_echo=$ac_try;;
15811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15812 (eval "$ac_compile") 2>conftest.er1
15814 grep -v '^ *+' conftest.er1 >conftest.err
15816 cat conftest.err >&5
15817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15818 (exit $ac_status); } && {
15819 test -z "$ac_cxx_werror_flag" ||
15820 test ! -s conftest.err
15821 } && test -s conftest.$ac_objext; then
15822 bakefile_compiler_mwerks=yes
15824 echo "$as_me: failed program was:" >&5
15825 sed 's/^/| /' conftest.$ac_ext >&5
15827 bakefile_compiler_mwerks=no
15830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15831 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
15834 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
15835 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6; }
15837 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
15839 ac_cpp='$CPP $CPPFLAGS'
15840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15846 ac_cpp='$CXXCPP $CPPFLAGS'
15847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15851 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
15852 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
15853 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
15854 echo $ECHO_N "(cached) $ECHO_C" >&6
15856 cat >conftest.$ac_ext <<_ACEOF
15859 cat confdefs.h >>conftest.$ac_ext
15860 cat >>conftest.$ac_ext <<_ACEOF
15861 /* end confdefs.h. */
15874 rm -f conftest.$ac_objext
15875 if { (ac_try="$ac_compile"
15876 case "(($ac_try" in
15877 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15878 *) ac_try_echo
=$ac_try;;
15880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15881 (eval "$ac_compile") 2>conftest.er1
15883 grep -v '^ *+' conftest.er1
>conftest.err
15885 cat conftest.err
>&5
15886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15887 (exit $ac_status); } && {
15888 test -z "$ac_cxx_werror_flag" ||
15889 test ! -s conftest.err
15890 } && test -s conftest.
$ac_objext; then
15891 bakefile_compiler_xlc
=yes
15893 echo "$as_me: failed program was:" >&5
15894 sed 's/^/| /' conftest.
$ac_ext >&5
15896 bakefile_compiler_xlc
=no
15899 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15900 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
15903 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
15904 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6; }
15906 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
15908 ac_cpp
='$CPP $CPPFLAGS'
15909 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15910 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15911 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15920 ac_cpp
='$CXXCPP $CPPFLAGS'
15921 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15922 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15923 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15925 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
15926 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
15927 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
15928 echo $ECHO_N "(cached) $ECHO_C" >&6
15930 cat >conftest.
$ac_ext <<_ACEOF
15933 cat confdefs.h
>>conftest.
$ac_ext
15934 cat >>conftest.
$ac_ext <<_ACEOF
15935 /* end confdefs.h. */
15941 #ifndef _SGI_COMPILER_VERSION
15949 rm -f conftest.
$ac_objext
15950 if { (ac_try
="$ac_compile"
15951 case "(($ac_try" in
15952 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15953 *) ac_try_echo=$ac_try;;
15955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15956 (eval "$ac_compile") 2>conftest.er1
15958 grep -v '^ *+' conftest.er1 >conftest.err
15960 cat conftest.err >&5
15961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15962 (exit $ac_status); } && {
15963 test -z "$ac_cxx_werror_flag" ||
15964 test ! -s conftest.err
15965 } && test -s conftest.$ac_objext; then
15966 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
15968 echo "$as_me: failed program was:" >&5
15969 sed 's/^/| /' conftest.$ac_ext >&5
15971 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
15975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15979 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
15980 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
15982 ac_cpp='$CPP $CPPFLAGS'
15983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15987 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
16000 ac_cpp='$CXXCPP $CPPFLAGS'
16001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16005 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
16006 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
16007 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
16008 echo $ECHO_N "(cached) $ECHO_C" >&6
16010 cat >conftest.$ac_ext <<_ACEOF
16013 cat confdefs.h >>conftest.$ac_ext
16014 cat >>conftest.$ac_ext <<_ACEOF
16015 /* end confdefs.h. */
16029 rm -f conftest.$ac_objext
16030 if { (ac_try="$ac_compile"
16031 case "(($ac_try" in
16032 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16033 *) ac_try_echo
=$ac_try;;
16035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16036 (eval "$ac_compile") 2>conftest.er1
16038 grep -v '^ *+' conftest.er1
>conftest.err
16040 cat conftest.err
>&5
16041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16042 (exit $ac_status); } && {
16043 test -z "$ac_cxx_werror_flag" ||
16044 test ! -s conftest.err
16045 } && test -s conftest.
$ac_objext; then
16046 bakefile_cv_cxx_compiler___HP_aCC
=yes
16048 echo "$as_me: failed program was:" >&5
16049 sed 's/^/| /' conftest.
$ac_ext >&5
16051 bakefile_cv_cxx_compiler___HP_aCC
=no
16055 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16059 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
16060 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
16062 ac_cpp
='$CPP $CPPFLAGS'
16063 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16064 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16065 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16067 if test "x$bakefile_cv_c_compiler___HP_aCC" = "xyes"; then
16080 ac_cpp
='$CXXCPP $CPPFLAGS'
16081 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16082 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16083 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16085 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
16086 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
16087 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
16088 echo $ECHO_N "(cached) $ECHO_C" >&6
16090 cat >conftest.
$ac_ext <<_ACEOF
16093 cat confdefs.h
>>conftest.
$ac_ext
16094 cat >>conftest.
$ac_ext <<_ACEOF
16095 /* end confdefs.h. */
16109 rm -f conftest.
$ac_objext
16110 if { (ac_try
="$ac_compile"
16111 case "(($ac_try" in
16112 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16113 *) ac_try_echo=$ac_try;;
16115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16116 (eval "$ac_compile") 2>conftest.er1
16118 grep -v '^ *+' conftest.er1 >conftest.err
16120 cat conftest.err >&5
16121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16122 (exit $ac_status); } && {
16123 test -z "$ac_cxx_werror_flag" ||
16124 test ! -s conftest.err
16125 } && test -s conftest.$ac_objext; then
16126 bakefile_cv_cxx_compiler___DECCXX=yes
16128 echo "$as_me: failed program was:" >&5
16129 sed 's/^/| /' conftest.$ac_ext >&5
16131 bakefile_cv_cxx_compiler___DECCXX=no
16135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16139 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
16140 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
16142 ac_cpp='$CPP $CPPFLAGS'
16143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16147 if test "x$bakefile_cv_c_compiler___DECCXX" = "xyes"; then
16160 ac_cpp='$CXXCPP $CPPFLAGS'
16161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16165 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
16166 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
16167 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
16168 echo $ECHO_N "(cached) $ECHO_C" >&6
16170 cat >conftest.$ac_ext <<_ACEOF
16173 cat confdefs.h >>conftest.$ac_ext
16174 cat >>conftest.$ac_ext <<_ACEOF
16175 /* end confdefs.h. */
16181 #ifndef __SUNPRO_CC
16189 rm -f conftest.$ac_objext
16190 if { (ac_try="$ac_compile"
16191 case "(($ac_try" in
16192 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16193 *) ac_try_echo
=$ac_try;;
16195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16196 (eval "$ac_compile") 2>conftest.er1
16198 grep -v '^ *+' conftest.er1
>conftest.err
16200 cat conftest.err
>&5
16201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16202 (exit $ac_status); } && {
16203 test -z "$ac_cxx_werror_flag" ||
16204 test ! -s conftest.err
16205 } && test -s conftest.
$ac_objext; then
16206 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
16208 echo "$as_me: failed program was:" >&5
16209 sed 's/^/| /' conftest.
$ac_ext >&5
16211 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
16215 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16219 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
16220 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
16222 ac_cpp
='$CPP $CPPFLAGS'
16223 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16224 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16225 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16227 if test "x$bakefile_cv_c_compiler___SUNPRO_CC" = "xyes"; then
16240 if test -n "$ac_tool_prefix"; then
16241 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
16242 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
16243 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16244 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16245 if test "${ac_cv_prog_RANLIB+set}" = set; then
16246 echo $ECHO_N "(cached) $ECHO_C" >&6
16248 if test -n "$RANLIB"; then
16249 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
16251 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16252 for as_dir
in $PATH
16255 test -z "$as_dir" && as_dir
=.
16256 for ac_exec_ext
in '' $ac_executable_extensions; do
16257 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16258 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
16259 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16268 RANLIB
=$ac_cv_prog_RANLIB
16269 if test -n "$RANLIB"; then
16270 { echo "$as_me:$LINENO: result: $RANLIB" >&5
16271 echo "${ECHO_T}$RANLIB" >&6; }
16273 { echo "$as_me:$LINENO: result: no" >&5
16274 echo "${ECHO_T}no" >&6; }
16279 if test -z "$ac_cv_prog_RANLIB"; then
16280 ac_ct_RANLIB
=$RANLIB
16281 # Extract the first word of "ranlib", so it can be a program name with args.
16282 set dummy ranlib
; ac_word
=$2
16283 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16284 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16285 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
16286 echo $ECHO_N "(cached) $ECHO_C" >&6
16288 if test -n "$ac_ct_RANLIB"; then
16289 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
16291 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16292 for as_dir
in $PATH
16295 test -z "$as_dir" && as_dir
=.
16296 for ac_exec_ext
in '' $ac_executable_extensions; do
16297 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16298 ac_cv_prog_ac_ct_RANLIB
="ranlib"
16299 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16308 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
16309 if test -n "$ac_ct_RANLIB"; then
16310 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
16311 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
16313 { echo "$as_me:$LINENO: result: no" >&5
16314 echo "${ECHO_T}no" >&6; }
16317 if test "x$ac_ct_RANLIB" = x
; then
16320 case $cross_compiling:$ac_tool_warned in
16322 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16323 whose name does not start with the host triplet. If you think this
16324 configuration is useful to you, please write to autoconf@gnu.org." >&5
16325 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16326 whose name does not start with the host triplet. If you think this
16327 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16328 ac_tool_warned
=yes ;;
16330 RANLIB
=$ac_ct_RANLIB
16333 RANLIB
="$ac_cv_prog_RANLIB"
16337 if test "x$SUNCXX" != xyes
; then
16338 if test -n "$ac_tool_prefix"; then
16339 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
16340 set dummy
${ac_tool_prefix}ar; ac_word
=$2
16341 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16342 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16343 if test "${ac_cv_prog_AR+set}" = set; then
16344 echo $ECHO_N "(cached) $ECHO_C" >&6
16346 if test -n "$AR"; then
16347 ac_cv_prog_AR
="$AR" # Let the user override the test.
16349 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16350 for as_dir
in $PATH
16353 test -z "$as_dir" && as_dir
=.
16354 for ac_exec_ext
in '' $ac_executable_extensions; do
16355 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16356 ac_cv_prog_AR
="${ac_tool_prefix}ar"
16357 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16367 if test -n "$AR"; then
16368 { echo "$as_me:$LINENO: result: $AR" >&5
16369 echo "${ECHO_T}$AR" >&6; }
16371 { echo "$as_me:$LINENO: result: no" >&5
16372 echo "${ECHO_T}no" >&6; }
16377 if test -z "$ac_cv_prog_AR"; then
16379 # Extract the first word of "ar", so it can be a program name with args.
16380 set dummy
ar; ac_word
=$2
16381 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16382 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16383 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
16384 echo $ECHO_N "(cached) $ECHO_C" >&6
16386 if test -n "$ac_ct_AR"; then
16387 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
16389 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16390 for as_dir
in $PATH
16393 test -z "$as_dir" && as_dir
=.
16394 for ac_exec_ext
in '' $ac_executable_extensions; do
16395 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16396 ac_cv_prog_ac_ct_AR
="ar"
16397 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16406 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
16407 if test -n "$ac_ct_AR"; then
16408 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
16409 echo "${ECHO_T}$ac_ct_AR" >&6; }
16411 { echo "$as_me:$LINENO: result: no" >&5
16412 echo "${ECHO_T}no" >&6; }
16415 if test "x$ac_ct_AR" = x
; then
16418 case $cross_compiling:$ac_tool_warned in
16420 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16421 whose name does not start with the host triplet. If you think this
16422 configuration is useful to you, please write to autoconf@gnu.org." >&5
16423 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16424 whose name does not start with the host triplet. If you think this
16425 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16426 ac_tool_warned
=yes ;;
16431 AR
="$ac_cv_prog_AR"
16434 if test "x$AR" = "x" ; then
16435 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
16436 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
16437 { (exit 1); exit 1; }; }
16441 # Find a good install program. We prefer a C program (faster),
16442 # so one script is as good as another. But avoid the broken or
16443 # incompatible versions:
16444 # SysV /etc/install, /usr/sbin/install
16445 # SunOS /usr/etc/install
16446 # IRIX /sbin/install
16448 # AmigaOS /C/install, which installs bootblocks on floppy discs
16449 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
16450 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
16451 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
16452 # OS/2's system install, which has a completely different semantic
16453 # ./install, which can be erroneously created by make from ./install.sh.
16454 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
16455 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
16456 if test -z "$INSTALL"; then
16457 if test "${ac_cv_path_install+set}" = set; then
16458 echo $ECHO_N "(cached) $ECHO_C" >&6
16460 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16461 for as_dir
in $PATH
16464 test -z "$as_dir" && as_dir
=.
16465 # Account for people who put trailing slashes in PATH elements.
16467 .
/ | .
// | /cC
/* | \
16468 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
16469 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
16472 # OSF1 and SCO ODT 3.0 have their own names for install.
16473 # Don't use installbsd from OSF since it installs stuff as root
16475 for ac_prog
in ginstall scoinst
install; do
16476 for ac_exec_ext
in '' $ac_executable_extensions; do
16477 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
16478 if test $ac_prog = install &&
16479 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
16480 # AIX install. It has an incompatible calling convention.
16482 elif test $ac_prog = install &&
16483 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
16484 # program-specific install script used by HP pwplus--don't use.
16487 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
16500 if test "${ac_cv_path_install+set}" = set; then
16501 INSTALL
=$ac_cv_path_install
16503 # As a last resort, use the slow shell script. Don't cache a
16504 # value for INSTALL within a source directory, because that will
16505 # break other packages using the cache if that directory is
16506 # removed, or if the value is a relative name.
16507 INSTALL
=$ac_install_sh
16510 { echo "$as_me:$LINENO: result: $INSTALL" >&5
16511 echo "${ECHO_T}$INSTALL" >&6; }
16513 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
16514 # It thinks the first close brace ends the variable substitution.
16515 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
16517 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
16519 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
16525 ?
:* ) # Drive letter, considered as absolute.
16528 INSTALL
=`pwd`/${INSTALL} ;;
16535 INSTALL_PROGRAM
="cp -fp"
16536 INSTALL_DATA
="cp -fp"
16542 if test -n "$ac_tool_prefix"; then
16543 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
16544 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
16545 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16546 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16547 if test "${ac_cv_prog_STRIP+set}" = set; then
16548 echo $ECHO_N "(cached) $ECHO_C" >&6
16550 if test -n "$STRIP"; then
16551 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
16553 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16554 for as_dir
in $PATH
16557 test -z "$as_dir" && as_dir
=.
16558 for ac_exec_ext
in '' $ac_executable_extensions; do
16559 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16560 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
16561 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16570 STRIP
=$ac_cv_prog_STRIP
16571 if test -n "$STRIP"; then
16572 { echo "$as_me:$LINENO: result: $STRIP" >&5
16573 echo "${ECHO_T}$STRIP" >&6; }
16575 { echo "$as_me:$LINENO: result: no" >&5
16576 echo "${ECHO_T}no" >&6; }
16581 if test -z "$ac_cv_prog_STRIP"; then
16583 # Extract the first word of "strip", so it can be a program name with args.
16584 set dummy strip
; ac_word
=$2
16585 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16586 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16587 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
16588 echo $ECHO_N "(cached) $ECHO_C" >&6
16590 if test -n "$ac_ct_STRIP"; then
16591 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
16593 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16594 for as_dir
in $PATH
16597 test -z "$as_dir" && as_dir
=.
16598 for ac_exec_ext
in '' $ac_executable_extensions; do
16599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16600 ac_cv_prog_ac_ct_STRIP
="strip"
16601 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16610 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
16611 if test -n "$ac_ct_STRIP"; then
16612 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
16613 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
16615 { echo "$as_me:$LINENO: result: no" >&5
16616 echo "${ECHO_T}no" >&6; }
16619 if test "x$ac_ct_STRIP" = x
; then
16622 case $cross_compiling:$ac_tool_warned in
16624 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16625 whose name does not start with the host triplet. If you think this
16626 configuration is useful to you, please write to autoconf@gnu.org." >&5
16627 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16628 whose name does not start with the host triplet. If you think this
16629 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16630 ac_tool_warned
=yes ;;
16635 STRIP
="$ac_cv_prog_STRIP"
16639 if test "$wxUSE_WINE" = "yes"; then
16640 if test -n "$ac_tool_prefix"; then
16641 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
16642 set dummy
${ac_tool_prefix}wrc
; ac_word
=$2
16643 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16644 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16645 if test "${ac_cv_prog_WINDRES+set}" = set; then
16646 echo $ECHO_N "(cached) $ECHO_C" >&6
16648 if test -n "$WINDRES"; then
16649 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
16651 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16652 for as_dir
in $PATH
16655 test -z "$as_dir" && as_dir
=.
16656 for ac_exec_ext
in '' $ac_executable_extensions; do
16657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16658 ac_cv_prog_WINDRES
="${ac_tool_prefix}wrc"
16659 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16668 WINDRES
=$ac_cv_prog_WINDRES
16669 if test -n "$WINDRES"; then
16670 { echo "$as_me:$LINENO: result: $WINDRES" >&5
16671 echo "${ECHO_T}$WINDRES" >&6; }
16673 { echo "$as_me:$LINENO: result: no" >&5
16674 echo "${ECHO_T}no" >&6; }
16679 if test -z "$ac_cv_prog_WINDRES"; then
16680 ac_ct_WINDRES
=$WINDRES
16681 # Extract the first word of "wrc", so it can be a program name with args.
16682 set dummy wrc
; ac_word
=$2
16683 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16684 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16685 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
16686 echo $ECHO_N "(cached) $ECHO_C" >&6
16688 if test -n "$ac_ct_WINDRES"; then
16689 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
16691 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16692 for as_dir
in $PATH
16695 test -z "$as_dir" && as_dir
=.
16696 for ac_exec_ext
in '' $ac_executable_extensions; do
16697 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16698 ac_cv_prog_ac_ct_WINDRES
="wrc"
16699 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16708 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
16709 if test -n "$ac_ct_WINDRES"; then
16710 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
16711 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
16713 { echo "$as_me:$LINENO: result: no" >&5
16714 echo "${ECHO_T}no" >&6; }
16717 if test "x$ac_ct_WINDRES" = x
; then
16720 case $cross_compiling:$ac_tool_warned in
16722 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16723 whose name does not start with the host triplet. If you think this
16724 configuration is useful to you, please write to autoconf@gnu.org." >&5
16725 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16726 whose name does not start with the host triplet. If you think this
16727 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16728 ac_tool_warned
=yes ;;
16730 WINDRES
=$ac_ct_WINDRES
16733 WINDRES
="$ac_cv_prog_WINDRES"
16739 *-*-cygwin* | *-*-mingw32* )
16740 if test -n "$ac_tool_prefix"; then
16741 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
16742 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
16743 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16744 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16745 if test "${ac_cv_prog_WINDRES+set}" = set; then
16746 echo $ECHO_N "(cached) $ECHO_C" >&6
16748 if test -n "$WINDRES"; then
16749 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
16751 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16752 for as_dir
in $PATH
16755 test -z "$as_dir" && as_dir
=.
16756 for ac_exec_ext
in '' $ac_executable_extensions; do
16757 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16758 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
16759 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16768 WINDRES
=$ac_cv_prog_WINDRES
16769 if test -n "$WINDRES"; then
16770 { echo "$as_me:$LINENO: result: $WINDRES" >&5
16771 echo "${ECHO_T}$WINDRES" >&6; }
16773 { echo "$as_me:$LINENO: result: no" >&5
16774 echo "${ECHO_T}no" >&6; }
16779 if test -z "$ac_cv_prog_WINDRES"; then
16780 ac_ct_WINDRES
=$WINDRES
16781 # Extract the first word of "windres", so it can be a program name with args.
16782 set dummy windres
; ac_word
=$2
16783 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16784 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16785 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
16786 echo $ECHO_N "(cached) $ECHO_C" >&6
16788 if test -n "$ac_ct_WINDRES"; then
16789 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
16791 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16792 for as_dir
in $PATH
16795 test -z "$as_dir" && as_dir
=.
16796 for ac_exec_ext
in '' $ac_executable_extensions; do
16797 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16798 ac_cv_prog_ac_ct_WINDRES
="windres"
16799 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16808 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
16809 if test -n "$ac_ct_WINDRES"; then
16810 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
16811 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
16813 { echo "$as_me:$LINENO: result: no" >&5
16814 echo "${ECHO_T}no" >&6; }
16817 if test "x$ac_ct_WINDRES" = x
; then
16820 case $cross_compiling:$ac_tool_warned in
16822 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16823 whose name does not start with the host triplet. If you think this
16824 configuration is useful to you, please write to autoconf@gnu.org." >&5
16825 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16826 whose name does not start with the host triplet. If you think this
16827 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16828 ac_tool_warned
=yes ;;
16830 WINDRES
=$ac_ct_WINDRES
16833 WINDRES
="$ac_cv_prog_WINDRES"
16837 if test -n "$ac_tool_prefix"; then
16838 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
16839 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
16840 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16841 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16842 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
16843 echo $ECHO_N "(cached) $ECHO_C" >&6
16845 if test -n "$DLLTOOL"; then
16846 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
16848 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16849 for as_dir
in $PATH
16852 test -z "$as_dir" && as_dir
=.
16853 for ac_exec_ext
in '' $ac_executable_extensions; do
16854 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16855 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
16856 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16865 DLLTOOL
=$ac_cv_prog_DLLTOOL
16866 if test -n "$DLLTOOL"; then
16867 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
16868 echo "${ECHO_T}$DLLTOOL" >&6; }
16870 { echo "$as_me:$LINENO: result: no" >&5
16871 echo "${ECHO_T}no" >&6; }
16876 if test -z "$ac_cv_prog_DLLTOOL"; then
16877 ac_ct_DLLTOOL
=$DLLTOOL
16878 # Extract the first word of "dlltool", so it can be a program name with args.
16879 set dummy dlltool
; ac_word
=$2
16880 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16881 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16882 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
16883 echo $ECHO_N "(cached) $ECHO_C" >&6
16885 if test -n "$ac_ct_DLLTOOL"; then
16886 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
16888 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16889 for as_dir
in $PATH
16892 test -z "$as_dir" && as_dir
=.
16893 for ac_exec_ext
in '' $ac_executable_extensions; do
16894 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16895 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
16896 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16905 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
16906 if test -n "$ac_ct_DLLTOOL"; then
16907 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
16908 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
16910 { echo "$as_me:$LINENO: result: no" >&5
16911 echo "${ECHO_T}no" >&6; }
16914 if test "x$ac_ct_DLLTOOL" = x
; then
16917 case $cross_compiling:$ac_tool_warned in
16919 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16920 whose name does not start with the host triplet. If you think this
16921 configuration is useful to you, please write to autoconf@gnu.org." >&5
16922 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16923 whose name does not start with the host triplet. If you think this
16924 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16925 ac_tool_warned
=yes ;;
16927 DLLTOOL
=$ac_ct_DLLTOOL
16930 DLLTOOL
="$ac_cv_prog_DLLTOOL"
16937 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
16938 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
16939 if test "${wx_cv_prog_makeisgnu+set}" = set; then
16940 echo $ECHO_N "(cached) $ECHO_C" >&6
16943 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
16944 $EGREP -s GNU
> /dev
/null
); then
16945 wx_cv_prog_makeisgnu
="yes"
16947 wx_cv_prog_makeisgnu
="no"
16951 { echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
16952 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6; }
16954 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
16962 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
16963 { echo "$as_me:$LINENO: checking if make supports VPATH" >&5
16964 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6; }
16965 if test "${wx_cv_prog_makevpath+set}" = set; then
16966 echo $ECHO_N "(cached) $ECHO_C" >&6
16969 cat - << EOF > confMake
16975 if test ! -d sub
; then
16978 echo dummy
> sub
/file
16979 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
16981 rm -f sub
/file check final_file confMake
16983 if test "$RESULT" = 0; then
16984 wx_cv_prog_makevpath
="yes"
16986 wx_cv_prog_makevpath
="no"
16990 { echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
16991 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6; }
16993 if test "x$wx_cv_prog_makevpath" != "xyes"; then
16994 { { echo "$as_me:$LINENO: error:
16995 You need a make-utility that is able to use the variable
16997 If your version of make does not support VPATH correctly,
16998 please install GNU-make (possibly as gmake), and start
16999 configure with the following command:
17000 export MAKE=gmake; ./configure for sh-type shells
17001 setenv MAKE gmake; ./configure for csh-type shells
17002 Also please do remember to use gmake in this case every time
17003 you are trying to compile.
17005 echo "$as_me: error:
17006 You need a make-utility that is able to use the variable
17008 If your version of make does not support VPATH correctly,
17009 please install GNU-make (possibly as gmake), and start
17010 configure with the following command:
17011 export MAKE=gmake; ./configure for sh-type shells
17012 setenv MAKE gmake; ./configure for csh-type shells
17013 Also please do remember to use gmake in this case every time
17014 you are trying to compile.
17016 { (exit 1); exit 1; }; }
17018 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
17019 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
17021 if test "$LN_S" = "ln -s"; then
17022 { echo "$as_me:$LINENO: result: yes" >&5
17023 echo "${ECHO_T}yes" >&6; }
17025 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
17026 echo "${ECHO_T}no, using $LN_S" >&6; }
17032 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
17033 CXXFLAGS
="-qunique $CXXFLAGS"
17037 powerpc
-*-darwin* )
17038 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
17039 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
17040 cat >conftest.
$ac_ext <<_ACEOF
17043 cat confdefs.h
>>conftest.
$ac_ext
17044 cat >>conftest.
$ac_ext <<_ACEOF
17045 /* end confdefs.h. */
17050 #ifndef __POWERPC__
17051 choke me for lack of PowerPC
17058 rm -f conftest.
$ac_objext
17059 if { (ac_try
="$ac_compile"
17060 case "(($ac_try" in
17061 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17062 *) ac_try_echo=$ac_try;;
17064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17065 (eval "$ac_compile") 2>conftest.er1
17067 grep -v '^ *+' conftest.er1 >conftest.err
17069 cat conftest.err >&5
17070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17071 (exit $ac_status); } && {
17072 test -z "$ac_c_werror_flag" ||
17073 test ! -s conftest.err
17074 } && test -s conftest.$ac_objext; then
17075 { echo "$as_me:$LINENO: result: yes" >&5
17076 echo "${ECHO_T}yes" >&6; }
17078 echo "$as_me: failed program was:" >&5
17079 sed 's/^/| /' conftest.$ac_ext >&5
17081 { echo "$as_me:$LINENO: result: no" >&5
17082 echo "${ECHO_T}no" >&6; }
17083 cat >>confdefs.h <<\_ACEOF
17084 #define __POWERPC__ 1
17090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17096 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
17097 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
17098 cat >conftest.$ac_ext <<_ACEOF
17101 cat confdefs.h >>conftest.$ac_ext
17102 cat >>conftest.$ac_ext <<_ACEOF
17103 /* end confdefs.h. */
17104 #include <CoreFoundation/CFBase.h>
17114 rm -f conftest.$ac_objext
17115 if { (ac_try="$ac_compile"
17116 case "(($ac_try" in
17117 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17118 *) ac_try_echo
=$ac_try;;
17120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17121 (eval "$ac_compile") 2>conftest.er1
17123 grep -v '^ *+' conftest.er1
>conftest.err
17125 cat conftest.err
>&5
17126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17127 (exit $ac_status); } && {
17128 test -z "$ac_c_werror_flag" ||
17129 test ! -s conftest.err
17130 } && test -s conftest.
$ac_objext; then
17131 { echo "$as_me:$LINENO: result: yes" >&5
17132 echo "${ECHO_T}yes" >&6; }
17134 echo "$as_me: failed program was:" >&5
17135 sed 's/^/| /' conftest.
$ac_ext >&5
17137 { echo "$as_me:$LINENO: result: no" >&5
17138 echo "${ECHO_T}no" >&6; }
17139 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
17140 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
17141 cat >conftest.
$ac_ext <<_ACEOF
17144 cat confdefs.h
>>conftest.
$ac_ext
17145 cat >>conftest.
$ac_ext <<_ACEOF
17146 /* end confdefs.h. */
17147 #define __CF_USE_FRAMEWORK_INCLUDES__
17148 #include <CoreFoundation/CFBase.h>
17158 rm -f conftest.
$ac_objext
17159 if { (ac_try
="$ac_compile"
17160 case "(($ac_try" in
17161 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17162 *) ac_try_echo=$ac_try;;
17164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17165 (eval "$ac_compile") 2>conftest.er1
17167 grep -v '^ *+' conftest.er1 >conftest.err
17169 cat conftest.err >&5
17170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17171 (exit $ac_status); } && {
17172 test -z "$ac_c_werror_flag" ||
17173 test ! -s conftest.err
17174 } && test -s conftest.$ac_objext; then
17175 { echo "$as_me:$LINENO: result: yes" >&5
17176 echo "${ECHO_T}yes" >&6; }
17177 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
17179 echo "$as_me: failed program was:" >&5
17180 sed 's/^/| /' conftest.$ac_ext >&5
17182 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
17183 See \`config.log
' for more details." >&5
17184 echo "$as_me: error: no. CoreFoundation not available.
17185 See \`config.log' for more details.
" >&2;}
17186 { (exit 1); exit 1; }; }
17190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17200 doesnt_want_win32=0
17203 if test "$wxUSE_MSW" = 1 ; then
17206 { echo "$as_me:$LINENO: checking
if -mno-cygwin is
in effect
" >&5
17207 echo $ECHO_N "checking
if -mno-cygwin is
in effect...
$ECHO_C" >&6; }
17208 if test "${wx_cv_nocygwin+set}" = set; then
17209 echo $ECHO_N "(cached
) $ECHO_C" >&6
17212 cat >conftest.$ac_ext <<_ACEOF
17215 cat confdefs.h >>conftest.$ac_ext
17216 cat >>conftest.$ac_ext <<_ACEOF
17217 /* end confdefs.h. */
17231 rm -f conftest.$ac_objext
17232 if { (ac_try="$ac_compile"
17233 case "(($ac_try" in
17234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17235 *) ac_try_echo=$ac_try;;
17237 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17238 (eval "$ac_compile") 2>conftest.er1
17240 grep -v '^ *+' conftest.er1 >conftest.err
17242 cat conftest.err >&5
17243 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17244 (exit $ac_status); } && {
17245 test -z "$ac_c_werror_flag" ||
17246 test ! -s conftest.err
17247 } && test -s conftest.$ac_objext; then
17250 echo "$as_me: failed program was
:" >&5
17251 sed 's/^/| /' conftest.$ac_ext >&5
17257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17261 { echo "$as_me:$LINENO: result
: $wx_cv_nocygwin" >&5
17262 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
17264 if test "$wx_cv_nocygwin" = "yes"; then
17267 doesnt_want_win32=1
17270 if test "$wants_win32" = 1 ; then
17271 BAKEFILE_FORCE_PLATFORM=win32
17279 if test "$wxUSE_WINE" = "yes"; then
17281 LDFLAGS_GUI="-mwindows"
17284 if test "$wants_win32" = 1 ; then
17287 cat >>confdefs.h <<\_ACEOF
17288 #define __WIN32__ 1
17291 cat >>confdefs.h <<\_ACEOF
17292 #define __WIN95__ 1
17295 cat >>confdefs.h <<\_ACEOF
17296 #define __WINDOWS__ 1
17299 cat >>confdefs.h <<\_ACEOF
17300 #define __GNUWIN32__ 1
17303 cat >>confdefs.h <<\_ACEOF
17308 if test "$doesnt_want_win32" = 1 ; then
17313 if test "$USE_UNIX" = 1 ; then
17315 cat >>confdefs.h <<\_ACEOF
17322 *-pc-os2_emx | *-pc-os2-emx )
17323 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
17324 { echo "$as_me:$LINENO: checking
for drand48
in -lcExt" >&5
17325 echo $ECHO_N "checking
for drand48
in -lcExt...
$ECHO_C" >&6; }
17326 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
17327 echo $ECHO_N "(cached
) $ECHO_C" >&6
17329 ac_check_lib_save_LIBS=$LIBS
17330 LIBS="-lcExt $LIBS"
17331 cat >conftest.$ac_ext <<_ACEOF
17334 cat confdefs.h >>conftest.$ac_ext
17335 cat >>conftest.$ac_ext <<_ACEOF
17336 /* end confdefs.h. */
17338 /* Override any GCC internal prototype to avoid an error.
17339 Use char because int might match the return type of a GCC
17340 builtin and then its argument prototype would still apply. */
17353 rm -f conftest.$ac_objext conftest$ac_exeext
17354 if { (ac_try="$ac_link"
17355 case "(($ac_try" in
17356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17357 *) ac_try_echo=$ac_try;;
17359 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17360 (eval "$ac_link") 2>conftest.er1
17362 grep -v '^ *+' conftest.er1 >conftest.err
17364 cat conftest.err >&5
17365 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17366 (exit $ac_status); } && {
17367 test -z "$ac_c_werror_flag" ||
17368 test ! -s conftest.err
17369 } && test -s conftest$ac_exeext &&
17370 $as_test_x conftest$ac_exeext; then
17371 ac_cv_lib_cExt_drand48=yes
17373 echo "$as_me: failed program was
:" >&5
17374 sed 's/^/| /' conftest.$ac_ext >&5
17376 ac_cv_lib_cExt_drand48=no
17379 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17380 conftest$ac_exeext conftest.$ac_ext
17381 LIBS=$ac_check_lib_save_LIBS
17383 { echo "$as_me:$LINENO: result
: $ac_cv_lib_cExt_drand48" >&5
17384 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
17385 if test $ac_cv_lib_cExt_drand48 = yes; then
17386 LIBS="$LIBS -lcExt"
17390 RESPROGRAMOBJ="\
${top_srcdir}/include
/wx
/os
2/wx.res
"
17392 { echo "$as_me:$LINENO: checking
for gcc
/libc version
" >&5
17393 echo $ECHO_N "checking
for gcc
/libc version...
$ECHO_C" >&6; }
17394 if test "${wx_cv_gccversion+set}" = set; then
17395 echo $ECHO_N "(cached
) $ECHO_C" >&6
17398 if test "$cross_compiling" = yes; then
17399 wx_cv_gccversion="EMX2
"
17402 cat >conftest.$ac_ext <<_ACEOF
17405 cat confdefs.h >>conftest.$ac_ext
17406 cat >>conftest.$ac_ext <<_ACEOF
17407 /* end confdefs.h. */
17413 FILE *f=fopen("conftestval
", "w
");
17418 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
17420 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
17430 rm -f conftest$ac_exeext
17431 if { (ac_try="$ac_link"
17432 case "(($ac_try" in
17433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17434 *) ac_try_echo=$ac_try;;
17436 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17437 (eval "$ac_link") 2>&5
17439 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17440 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17441 { (case "(($ac_try" in
17442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17443 *) ac_try_echo=$ac_try;;
17445 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17446 (eval "$ac_try") 2>&5
17448 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17449 (exit $ac_status); }; }; then
17450 wx_cv_gccversion=`cat conftestval`
17452 echo "$as_me: program exited with status
$ac_status" >&5
17453 echo "$as_me: failed program was
:" >&5
17454 sed 's/^/| /' conftest.$ac_ext >&5
17456 ( exit $ac_status )
17457 wx_cv_gccversion="EMX2
"
17459 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17465 { echo "$as_me:$LINENO: result
: $wx_cv_gccversion" >&5
17466 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
17467 if test "$wx_cv_gccversion" = "EMX2
"; then
17468 LIBS="$LIBS -lstdcpp"
17469 LDFLAGS="$LDFLAGS -Zsysv-signals"
17471 if test "$wx_cv_gccversion" = "EMX3
"; then
17472 LIBS="$LIBS -lstdcxx -lgcc"
17473 LDFLAGS="$LDFLAGS -Zsysv-signals"
17475 LIBS="$LIBS -lstdc++"
17478 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no
"; then
17479 { echo "$as_me:$LINENO: WARNING
: Building DLLs requires OMF mode
, enabled
" >&5
17480 echo "$as_me: WARNING
: Building DLLs requires OMF mode
, enabled
" >&2;}
17487 { echo "$as_me:$LINENO: checking
for strcasecmp
() in string.h
" >&5
17488 echo $ECHO_N "checking
for strcasecmp
() in string.h...
$ECHO_C" >&6; }
17489 if test "${ac_cv_string_strcasecmp+set}" = set; then
17490 echo $ECHO_N "(cached
) $ECHO_C" >&6
17493 cat >conftest.$ac_ext <<_ACEOF
17496 cat confdefs.h >>conftest.$ac_ext
17497 cat >>conftest.$ac_ext <<_ACEOF
17498 /* end confdefs.h. */
17500 #include <string.h>
17506 strcasecmp("foo
", "bar
");
17512 rm -f conftest.$ac_objext conftest$ac_exeext
17513 if { (ac_try="$ac_link"
17514 case "(($ac_try" in
17515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17516 *) ac_try_echo=$ac_try;;
17518 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17519 (eval "$ac_link") 2>conftest.er1
17521 grep -v '^ *+' conftest.er1 >conftest.err
17523 cat conftest.err >&5
17524 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17525 (exit $ac_status); } && {
17526 test -z "$ac_c_werror_flag" ||
17527 test ! -s conftest.err
17528 } && test -s conftest$ac_exeext &&
17529 $as_test_x conftest$ac_exeext; then
17530 ac_cv_string_strcasecmp=yes
17532 echo "$as_me: failed program was
:" >&5
17533 sed 's/^/| /' conftest.$ac_ext >&5
17535 ac_cv_string_strcasecmp=no
17539 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17540 conftest$ac_exeext conftest.$ac_ext
17543 { echo "$as_me:$LINENO: result
: $ac_cv_string_strcasecmp" >&5
17544 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
17546 if test x"$ac_cv_string_strcasecmp" = "xyes
"; then
17547 cat >>confdefs.h <<\_ACEOF
17548 #define HAVE_STRCASECMP_IN_STRING_H 1
17552 { echo "$as_me:$LINENO: checking
for strcasecmp
() in strings.h
" >&5
17553 echo $ECHO_N "checking
for strcasecmp
() in strings.h...
$ECHO_C" >&6; }
17554 if test "${ac_cv_strings_strcasecmp+set}" = set; then
17555 echo $ECHO_N "(cached
) $ECHO_C" >&6
17558 cat >conftest.$ac_ext <<_ACEOF
17561 cat confdefs.h >>conftest.$ac_ext
17562 cat >>conftest.$ac_ext <<_ACEOF
17563 /* end confdefs.h. */
17565 #include <strings.h>
17571 strcasecmp("foo
", "bar
");
17577 rm -f conftest.$ac_objext conftest$ac_exeext
17578 if { (ac_try="$ac_link"
17579 case "(($ac_try" in
17580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17581 *) ac_try_echo=$ac_try;;
17583 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17584 (eval "$ac_link") 2>conftest.er1
17586 grep -v '^ *+' conftest.er1 >conftest.err
17588 cat conftest.err >&5
17589 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17590 (exit $ac_status); } && {
17591 test -z "$ac_c_werror_flag" ||
17592 test ! -s conftest.err
17593 } && test -s conftest$ac_exeext &&
17594 $as_test_x conftest$ac_exeext; then
17595 ac_cv_strings_strcasecmp=yes
17597 echo "$as_me: failed program was
:" >&5
17598 sed 's/^/| /' conftest.$ac_ext >&5
17600 ac_cv_strings_strcasecmp=no
17604 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17605 conftest$ac_exeext conftest.$ac_ext
17608 { echo "$as_me:$LINENO: result
: $ac_cv_strings_strcasecmp" >&5
17609 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
17611 if test x"$ac_cv_strings_strcasecmp" = "xyes
"; then
17612 cat >>confdefs.h <<\_ACEOF
17613 #define HAVE_STRCASECMP_IN_STRINGS_H 1
17617 { { echo "$as_me:$LINENO: error
: No
case-insensitive string comparison
function found.
" >&5
17618 echo "$as_me: error
: No
case-insensitive string comparison
function found.
" >&2;}
17619 { (exit 1); exit 1; }; }
17627 { echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
17628 echo $ECHO_N "checking
for ANSI C header files...
$ECHO_C" >&6; }
17629 if test "${ac_cv_header_stdc+set}" = set; then
17630 echo $ECHO_N "(cached
) $ECHO_C" >&6
17632 cat >conftest.$ac_ext <<_ACEOF
17635 cat confdefs.h >>conftest.$ac_ext
17636 cat >>conftest.$ac_ext <<_ACEOF
17637 /* end confdefs.h. */
17638 #include <stdlib.h>
17639 #include <stdarg.h>
17640 #include <string.h>
17651 rm -f conftest.$ac_objext
17652 if { (ac_try="$ac_compile"
17653 case "(($ac_try" in
17654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17655 *) ac_try_echo=$ac_try;;
17657 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17658 (eval "$ac_compile") 2>conftest.er1
17660 grep -v '^ *+' conftest.er1 >conftest.err
17662 cat conftest.err >&5
17663 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17664 (exit $ac_status); } && {
17665 test -z "$ac_c_werror_flag" ||
17666 test ! -s conftest.err
17667 } && test -s conftest.$ac_objext; then
17668 ac_cv_header_stdc=yes
17670 echo "$as_me: failed program was
:" >&5
17671 sed 's/^/| /' conftest.$ac_ext >&5
17673 ac_cv_header_stdc=no
17676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17678 if test $ac_cv_header_stdc = yes; then
17679 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
17680 cat >conftest.$ac_ext <<_ACEOF
17683 cat confdefs.h >>conftest.$ac_ext
17684 cat >>conftest.$ac_ext <<_ACEOF
17685 /* end confdefs.h. */
17686 #include <string.h>
17689 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
17690 $EGREP "memchr
" >/dev/null 2>&1; then
17693 ac_cv_header_stdc=no
17699 if test $ac_cv_header_stdc = yes; then
17700 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
17701 cat >conftest.$ac_ext <<_ACEOF
17704 cat confdefs.h >>conftest.$ac_ext
17705 cat >>conftest.$ac_ext <<_ACEOF
17706 /* end confdefs.h. */
17707 #include <stdlib.h>
17710 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
17711 $EGREP "free
" >/dev/null 2>&1; then
17714 ac_cv_header_stdc=no
17720 if test $ac_cv_header_stdc = yes; then
17721 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
17722 if test "$cross_compiling" = yes; then
17725 cat >conftest.$ac_ext <<_ACEOF
17728 cat confdefs.h >>conftest.$ac_ext
17729 cat >>conftest.$ac_ext <<_ACEOF
17730 /* end confdefs.h. */
17732 #include <stdlib.h>
17733 #if ((' ' & 0x0FF) == 0x020)
17734 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
17735 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
17737 # define ISLOWER(c) \
17738 (('a' <= (c) && (c) <= 'i') \
17739 || ('j' <= (c) && (c) <= 'r') \
17740 || ('s' <= (c) && (c) <= 'z'))
17741 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
17744 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
17749 for (i = 0; i < 256; i++)
17750 if (XOR (islower (i), ISLOWER (i))
17751 || toupper (i) != TOUPPER (i))
17756 rm -f conftest$ac_exeext
17757 if { (ac_try="$ac_link"
17758 case "(($ac_try" in
17759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17760 *) ac_try_echo=$ac_try;;
17762 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17763 (eval "$ac_link") 2>&5
17765 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17766 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17767 { (case "(($ac_try" in
17768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17769 *) ac_try_echo=$ac_try;;
17771 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17772 (eval "$ac_try") 2>&5
17774 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17775 (exit $ac_status); }; }; then
17778 echo "$as_me: program exited with status
$ac_status" >&5
17779 echo "$as_me: failed program was
:" >&5
17780 sed 's/^/| /' conftest.$ac_ext >&5
17782 ( exit $ac_status )
17783 ac_cv_header_stdc=no
17785 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17791 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
17792 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
17793 if test $ac_cv_header_stdc = yes; then
17795 cat >>confdefs.h <<\_ACEOF
17796 #define STDC_HEADERS 1
17801 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
17811 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
17812 inttypes.h stdint.h unistd.h
17814 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
17815 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
17816 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
17817 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
17818 echo $ECHO_N "(cached
) $ECHO_C" >&6
17820 cat >conftest.$ac_ext <<_ACEOF
17823 cat confdefs.h >>conftest.$ac_ext
17824 cat >>conftest.$ac_ext <<_ACEOF
17825 /* end confdefs.h. */
17826 $ac_includes_default
17828 #include <$ac_header>
17830 rm -f conftest.$ac_objext
17831 if { (ac_try="$ac_compile"
17832 case "(($ac_try" in
17833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17834 *) ac_try_echo=$ac_try;;
17836 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17837 (eval "$ac_compile") 2>conftest.er1
17839 grep -v '^ *+' conftest.er1 >conftest.err
17841 cat conftest.err >&5
17842 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17843 (exit $ac_status); } && {
17844 test -z "$ac_c_werror_flag" ||
17845 test ! -s conftest.err
17846 } && test -s conftest.$ac_objext; then
17847 eval "$as_ac_Header=yes"
17849 echo "$as_me: failed program was
:" >&5
17850 sed 's/^/| /' conftest.$ac_ext >&5
17852 eval "$as_ac_Header=no
"
17855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17857 ac_res=`eval echo '${'$as_ac_Header'}'`
17858 { echo "$as_me:$LINENO: result
: $ac_res" >&5
17859 echo "${ECHO_T}$ac_res" >&6; }
17860 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17861 cat >>confdefs.h <<_ACEOF
17862 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
17876 for ac_header in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
17878 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
17879 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
17880 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
17881 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
17882 echo $ECHO_N "(cached
) $ECHO_C" >&6
17884 cat >conftest.$ac_ext <<_ACEOF
17887 cat confdefs.h >>conftest.$ac_ext
17888 cat >>conftest.$ac_ext <<_ACEOF
17889 /* end confdefs.h. */
17890 $ac_includes_default
17892 #include <$ac_header>
17894 rm -f conftest.$ac_objext
17895 if { (ac_try="$ac_compile"
17896 case "(($ac_try" in
17897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17898 *) ac_try_echo=$ac_try;;
17900 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17901 (eval "$ac_compile") 2>conftest.er1
17903 grep -v '^ *+' conftest.er1 >conftest.err
17905 cat conftest.err >&5
17906 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17907 (exit $ac_status); } && {
17908 test -z "$ac_c_werror_flag" ||
17909 test ! -s conftest.err
17910 } && test -s conftest.$ac_objext; then
17911 eval "$as_ac_Header=yes"
17913 echo "$as_me: failed program was
:" >&5
17914 sed 's/^/| /' conftest.$ac_ext >&5
17916 eval "$as_ac_Header=no
"
17919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17921 ac_res=`eval echo '${'$as_ac_Header'}'`
17922 { echo "$as_me:$LINENO: result
: $ac_res" >&5
17923 echo "${ECHO_T}$ac_res" >&6; }
17924 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17925 cat >>confdefs.h <<_ACEOF
17926 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
17934 if test "$ac_cv_header_wchar_h" != "yes"; then
17935 { echo "$as_me:$LINENO: checking
for wcstr.h
" >&5
17936 echo $ECHO_N "checking
for wcstr.h...
$ECHO_C" >&6; }
17937 if test "${ac_cv_header_wcstr_h+set}" = set; then
17938 echo $ECHO_N "(cached
) $ECHO_C" >&6
17940 cat >conftest.$ac_ext <<_ACEOF
17943 cat confdefs.h >>conftest.$ac_ext
17944 cat >>conftest.$ac_ext <<_ACEOF
17945 /* end confdefs.h. */
17946 $ac_includes_default
17950 rm -f conftest.$ac_objext
17951 if { (ac_try="$ac_compile"
17952 case "(($ac_try" in
17953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17954 *) ac_try_echo=$ac_try;;
17956 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17957 (eval "$ac_compile") 2>conftest.er1
17959 grep -v '^ *+' conftest.er1 >conftest.err
17961 cat conftest.err >&5
17962 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17963 (exit $ac_status); } && {
17964 test -z "$ac_c_werror_flag" ||
17965 test ! -s conftest.err
17966 } && test -s conftest.$ac_objext; then
17967 ac_cv_header_wcstr_h=yes
17969 echo "$as_me: failed program was
:" >&5
17970 sed 's/^/| /' conftest.$ac_ext >&5
17972 ac_cv_header_wcstr_h=no
17975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17977 { echo "$as_me:$LINENO: result
: $ac_cv_header_wcstr_h" >&5
17978 echo "${ECHO_T}$ac_cv_header_wcstr_h" >&6; }
17984 *-pc-os2_emx | *-pc-os2-emx )
17985 if test $ac_cv_header_langinfo_h = "yes" \
17986 -a \( "$wx_cv_gccversion" = "EMX2
" \
17987 -o "$wx_cv_gccversion" = "EMX3
" \
17988 -o "$wx_cv_gccversion" = "Innotek5
" \); then
17989 LIBS="$LIBS -lintl"
17994 if test "$USE_UNIX" = 1 ; then
17995 { echo "$as_me:$LINENO: checking
for sys
/select.h
" >&5
17996 echo $ECHO_N "checking
for sys
/select.h...
$ECHO_C" >&6; }
17997 if test "${ac_cv_header_sys_select_h+set}" = set; then
17998 echo $ECHO_N "(cached
) $ECHO_C" >&6
18000 cat >conftest.$ac_ext <<_ACEOF
18003 cat confdefs.h >>conftest.$ac_ext
18004 cat >>conftest.$ac_ext <<_ACEOF
18005 /* end confdefs.h. */
18006 $ac_includes_default
18008 #include <sys/select.h>
18010 rm -f conftest.$ac_objext
18011 if { (ac_try="$ac_compile"
18012 case "(($ac_try" in
18013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18014 *) ac_try_echo=$ac_try;;
18016 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18017 (eval "$ac_compile") 2>conftest.er1
18019 grep -v '^ *+' conftest.er1 >conftest.err
18021 cat conftest.err >&5
18022 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18023 (exit $ac_status); } && {
18024 test -z "$ac_c_werror_flag" ||
18025 test ! -s conftest.err
18026 } && test -s conftest.$ac_objext; then
18027 ac_cv_header_sys_select_h=yes
18029 echo "$as_me: failed program was
:" >&5
18030 sed 's/^/| /' conftest.$ac_ext >&5
18032 ac_cv_header_sys_select_h=no
18035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18037 { echo "$as_me:$LINENO: result
: $ac_cv_header_sys_select_h" >&5
18038 echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6; }
18044 { echo "$as_me:$LINENO: checking
for an ANSI C
-conforming const
" >&5
18045 echo $ECHO_N "checking
for an ANSI C
-conforming const...
$ECHO_C" >&6; }
18046 if test "${ac_cv_c_const+set}" = set; then
18047 echo $ECHO_N "(cached
) $ECHO_C" >&6
18049 cat >conftest.$ac_ext <<_ACEOF
18052 cat confdefs.h >>conftest.$ac_ext
18053 cat >>conftest.$ac_ext <<_ACEOF
18054 /* end confdefs.h. */
18059 /* FIXME: Include the comments suggested by Paul. */
18060 #ifndef __cplusplus
18061 /* Ultrix mips cc rejects this. */
18062 typedef int charset[2];
18064 /* SunOS 4.1.1 cc rejects this. */
18065 char const *const *pcpcc;
18067 /* NEC SVR4.0.2 mips cc rejects this. */
18068 struct point {int x, y;};
18069 static struct point const zero = {0,0};
18070 /* AIX XL C 1.02.0.0 rejects this.
18071 It does not let you subtract one const X* pointer from another in
18072 an arm of an if-expression whose if-part is not a constant
18074 const char *g = "string
";
18075 pcpcc = &g + (g ? g-g : 0);
18076 /* HPUX 7.0 cc rejects these. */
18078 ppc = (char**) pcpcc;
18079 pcpcc = (char const *const *) ppc;
18080 { /* SCO 3.2v4 cc rejects this. */
18082 char const *s = 0 ? (char *) 0 : (char const *) 0;
18087 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18088 int x[] = {25, 17};
18089 const int *foo = &x[0];
18092 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18093 typedef const int *iptr;
18097 { /* AIX XL C 1.02.0.0 rejects this saying
18098 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18099 struct s { int j; const int *ap[3]; };
18100 struct s *b; b->j = 5;
18102 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18103 const int foo = 10;
18104 if (!foo) return 0;
18106 return !cs[0] && !zero.x;
18113 rm -f conftest.$ac_objext
18114 if { (ac_try="$ac_compile"
18115 case "(($ac_try" in
18116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18117 *) ac_try_echo=$ac_try;;
18119 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18120 (eval "$ac_compile") 2>conftest.er1
18122 grep -v '^ *+' conftest.er1 >conftest.err
18124 cat conftest.err >&5
18125 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18126 (exit $ac_status); } && {
18127 test -z "$ac_c_werror_flag" ||
18128 test ! -s conftest.err
18129 } && test -s conftest.$ac_objext; then
18132 echo "$as_me: failed program was
:" >&5
18133 sed 's/^/| /' conftest.$ac_ext >&5
18138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18140 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
18141 echo "${ECHO_T}$ac_cv_c_const" >&6; }
18142 if test $ac_cv_c_const = no; then
18144 cat >>confdefs.h <<\_ACEOF
18150 { echo "$as_me:$LINENO: checking
for inline
" >&5
18151 echo $ECHO_N "checking
for inline...
$ECHO_C" >&6; }
18152 if test "${ac_cv_c_inline+set}" = set; then
18153 echo $ECHO_N "(cached
) $ECHO_C" >&6
18156 for ac_kw in inline __inline__ __inline; do
18157 cat >conftest.$ac_ext <<_ACEOF
18160 cat confdefs.h >>conftest.$ac_ext
18161 cat >>conftest.$ac_ext <<_ACEOF
18162 /* end confdefs.h. */
18163 #ifndef __cplusplus
18165 static $ac_kw foo_t static_foo () {return 0; }
18166 $ac_kw foo_t foo () {return 0; }
18170 rm -f conftest.$ac_objext
18171 if { (ac_try="$ac_compile"
18172 case "(($ac_try" in
18173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18174 *) ac_try_echo=$ac_try;;
18176 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18177 (eval "$ac_compile") 2>conftest.er1
18179 grep -v '^ *+' conftest.er1 >conftest.err
18181 cat conftest.err >&5
18182 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18183 (exit $ac_status); } && {
18184 test -z "$ac_c_werror_flag" ||
18185 test ! -s conftest.err
18186 } && test -s conftest.$ac_objext; then
18187 ac_cv_c_inline=$ac_kw
18189 echo "$as_me: failed program was
:" >&5
18190 sed 's/^/| /' conftest.$ac_ext >&5
18195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18196 test "$ac_cv_c_inline" != no && break
18200 { echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
18201 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
18204 case $ac_cv_c_inline in
18207 case $ac_cv_c_inline in
18209 *) ac_val=$ac_cv_c_inline;;
18211 cat >>confdefs.h <<_ACEOF
18212 #ifndef __cplusplus
18213 #define inline $ac_val
18220 { echo "$as_me:$LINENO: checking
for short
" >&5
18221 echo $ECHO_N "checking
for short...
$ECHO_C" >&6; }
18222 if test "${ac_cv_type_short+set}" = set; then
18223 echo $ECHO_N "(cached
) $ECHO_C" >&6
18225 cat >conftest.$ac_ext <<_ACEOF
18228 cat confdefs.h >>conftest.$ac_ext
18229 cat >>conftest.$ac_ext <<_ACEOF
18230 /* end confdefs.h. */
18231 $ac_includes_default
18232 typedef short ac__type_new_;
18236 if ((ac__type_new_ *) 0)
18238 if (sizeof (ac__type_new_))
18244 rm -f conftest.$ac_objext
18245 if { (ac_try="$ac_compile"
18246 case "(($ac_try" in
18247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18248 *) ac_try_echo=$ac_try;;
18250 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18251 (eval "$ac_compile") 2>conftest.er1
18253 grep -v '^ *+' conftest.er1 >conftest.err
18255 cat conftest.err >&5
18256 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18257 (exit $ac_status); } && {
18258 test -z "$ac_c_werror_flag" ||
18259 test ! -s conftest.err
18260 } && test -s conftest.$ac_objext; then
18261 ac_cv_type_short=yes
18263 echo "$as_me: failed program was
:" >&5
18264 sed 's/^/| /' conftest.$ac_ext >&5
18266 ac_cv_type_short=no
18269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18271 { echo "$as_me:$LINENO: result
: $ac_cv_type_short" >&5
18272 echo "${ECHO_T}$ac_cv_type_short" >&6; }
18274 # The cast to long int works around a bug in the HP C Compiler
18275 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18276 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18277 # This bug is HP SR number 8606223364.
18278 { echo "$as_me:$LINENO: checking size of short
" >&5
18279 echo $ECHO_N "checking size of short...
$ECHO_C" >&6; }
18280 if test "${ac_cv_sizeof_short+set}" = set; then
18281 echo $ECHO_N "(cached
) $ECHO_C" >&6
18283 if test "$cross_compiling" = yes; then
18284 # Depending upon the size, compute the lo and hi bounds.
18285 cat >conftest.$ac_ext <<_ACEOF
18288 cat confdefs.h >>conftest.$ac_ext
18289 cat >>conftest.$ac_ext <<_ACEOF
18290 /* end confdefs.h. */
18291 $ac_includes_default
18292 typedef short ac__type_sizeof_;
18296 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
18303 rm -f conftest.$ac_objext
18304 if { (ac_try="$ac_compile"
18305 case "(($ac_try" in
18306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18307 *) ac_try_echo=$ac_try;;
18309 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18310 (eval "$ac_compile") 2>conftest.er1
18312 grep -v '^ *+' conftest.er1 >conftest.err
18314 cat conftest.err >&5
18315 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18316 (exit $ac_status); } && {
18317 test -z "$ac_c_werror_flag" ||
18318 test ! -s conftest.err
18319 } && test -s conftest.$ac_objext; then
18322 cat >conftest.$ac_ext <<_ACEOF
18325 cat confdefs.h >>conftest.$ac_ext
18326 cat >>conftest.$ac_ext <<_ACEOF
18327 /* end confdefs.h. */
18328 $ac_includes_default
18329 typedef short ac__type_sizeof_;
18333 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18340 rm -f conftest.$ac_objext
18341 if { (ac_try="$ac_compile"
18342 case "(($ac_try" in
18343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18344 *) ac_try_echo=$ac_try;;
18346 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18347 (eval "$ac_compile") 2>conftest.er1
18349 grep -v '^ *+' conftest.er1 >conftest.err
18351 cat conftest.err >&5
18352 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18353 (exit $ac_status); } && {
18354 test -z "$ac_c_werror_flag" ||
18355 test ! -s conftest.err
18356 } && test -s conftest.$ac_objext; then
18357 ac_hi=$ac_mid; break
18359 echo "$as_me: failed program was
:" >&5
18360 sed 's/^/| /' conftest.$ac_ext >&5
18362 ac_lo=`expr $ac_mid + 1`
18363 if test $ac_lo -le $ac_mid; then
18367 ac_mid=`expr 2 '*' $ac_mid + 1`
18370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18373 echo "$as_me: failed program was
:" >&5
18374 sed 's/^/| /' conftest.$ac_ext >&5
18376 cat >conftest.$ac_ext <<_ACEOF
18379 cat confdefs.h >>conftest.$ac_ext
18380 cat >>conftest.$ac_ext <<_ACEOF
18381 /* end confdefs.h. */
18382 $ac_includes_default
18383 typedef short ac__type_sizeof_;
18387 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
18394 rm -f conftest.$ac_objext
18395 if { (ac_try="$ac_compile"
18396 case "(($ac_try" in
18397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18398 *) ac_try_echo=$ac_try;;
18400 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18401 (eval "$ac_compile") 2>conftest.er1
18403 grep -v '^ *+' conftest.er1 >conftest.err
18405 cat conftest.err >&5
18406 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18407 (exit $ac_status); } && {
18408 test -z "$ac_c_werror_flag" ||
18409 test ! -s conftest.err
18410 } && test -s conftest.$ac_objext; then
18413 cat >conftest.$ac_ext <<_ACEOF
18416 cat confdefs.h >>conftest.$ac_ext
18417 cat >>conftest.$ac_ext <<_ACEOF
18418 /* end confdefs.h. */
18419 $ac_includes_default
18420 typedef short ac__type_sizeof_;
18424 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
18431 rm -f conftest.$ac_objext
18432 if { (ac_try="$ac_compile"
18433 case "(($ac_try" in
18434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18435 *) ac_try_echo=$ac_try;;
18437 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18438 (eval "$ac_compile") 2>conftest.er1
18440 grep -v '^ *+' conftest.er1 >conftest.err
18442 cat conftest.err >&5
18443 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18444 (exit $ac_status); } && {
18445 test -z "$ac_c_werror_flag" ||
18446 test ! -s conftest.err
18447 } && test -s conftest.$ac_objext; then
18448 ac_lo=$ac_mid; break
18450 echo "$as_me: failed program was
:" >&5
18451 sed 's/^/| /' conftest.$ac_ext >&5
18453 ac_hi=`expr '(' $ac_mid ')' - 1`
18454 if test $ac_mid -le $ac_hi; then
18458 ac_mid=`expr 2 '*' $ac_mid`
18461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18464 echo "$as_me: failed program was
:" >&5
18465 sed 's/^/| /' conftest.$ac_ext >&5
18470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18474 # Binary search between lo and hi bounds.
18475 while test "x
$ac_lo" != "x
$ac_hi"; do
18476 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18477 cat >conftest.$ac_ext <<_ACEOF
18480 cat confdefs.h >>conftest.$ac_ext
18481 cat >>conftest.$ac_ext <<_ACEOF
18482 /* end confdefs.h. */
18483 $ac_includes_default
18484 typedef short ac__type_sizeof_;
18488 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18495 rm -f conftest.$ac_objext
18496 if { (ac_try="$ac_compile"
18497 case "(($ac_try" in
18498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18499 *) ac_try_echo=$ac_try;;
18501 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18502 (eval "$ac_compile") 2>conftest.er1
18504 grep -v '^ *+' conftest.er1 >conftest.err
18506 cat conftest.err >&5
18507 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18508 (exit $ac_status); } && {
18509 test -z "$ac_c_werror_flag" ||
18510 test ! -s conftest.err
18511 } && test -s conftest.$ac_objext; then
18514 echo "$as_me: failed program was
:" >&5
18515 sed 's/^/| /' conftest.$ac_ext >&5
18517 ac_lo=`expr '(' $ac_mid ')' + 1`
18520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18523 ?*) ac_cv_sizeof_short=$ac_lo;;
18524 '') if test "$ac_cv_type_short" = yes; then
18525 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
18526 See \
`config.log' for more details." >&5
18527 echo "$as_me: error: cannot compute sizeof (short)
18528 See \`config.log
' for more details." >&2;}
18529 { (exit 77); exit 77; }; }
18531 ac_cv_sizeof_short=0
18535 cat >conftest.$ac_ext <<_ACEOF
18538 cat confdefs.h >>conftest.$ac_ext
18539 cat >>conftest.$ac_ext <<_ACEOF
18540 /* end confdefs.h. */
18541 $ac_includes_default
18542 typedef short ac__type_sizeof_;
18543 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
18544 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
18546 #include <stdlib.h>
18551 FILE *f = fopen ("conftest.val", "w");
18554 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
18556 long int i = longval ();
18557 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18559 fprintf (f, "%ld\n", i);
18563 unsigned long int i = ulongval ();
18564 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18566 fprintf (f, "%lu\n", i);
18568 return ferror (f) || fclose (f) != 0;
18574 rm -f conftest$ac_exeext
18575 if { (ac_try="$ac_link"
18576 case "(($ac_try" in
18577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18578 *) ac_try_echo=$ac_try;;
18580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18581 (eval "$ac_link") 2>&5
18583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18584 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
18585 { (case "(($ac_try" in
18586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18587 *) ac_try_echo=$ac_try;;
18589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18590 (eval "$ac_try") 2>&5
18592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18593 (exit $ac_status); }; }; then
18594 ac_cv_sizeof_short=`cat conftest.val`
18596 echo "$as_me: program exited with status $ac_status" >&5
18597 echo "$as_me: failed program was:" >&5
18598 sed 's
/^
/| /' conftest.$ac_ext >&5
18600 ( exit $ac_status )
18601 if test "$ac_cv_type_short" = yes; then
18602 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
18603 See \`config.log' for more details.
" >&5
18604 echo "$as_me: error
: cannot compute sizeof
(short
)
18605 See \
`config.log' for more details." >&2;}
18606 { (exit 77); exit 77; }; }
18608 ac_cv_sizeof_short=0
18611 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18615 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18616 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
18620 cat >>confdefs.h <<_ACEOF
18621 #define SIZEOF_SHORT $ac_cv_sizeof_short
18625 { echo "$as_me:$LINENO: checking for void *" >&5
18626 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
18627 if test "${ac_cv_type_void_p+set}" = set; then
18628 echo $ECHO_N "(cached) $ECHO_C" >&6
18630 cat >conftest.$ac_ext <<_ACEOF
18633 cat confdefs.h >>conftest.$ac_ext
18634 cat >>conftest.$ac_ext <<_ACEOF
18635 /* end confdefs.h. */
18636 $ac_includes_default
18637 typedef void * ac__type_new_;
18641 if ((ac__type_new_ *) 0)
18643 if (sizeof (ac__type_new_))
18649 rm -f conftest.$ac_objext
18650 if { (ac_try="$ac_compile"
18651 case "(($ac_try" in
18652 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18653 *) ac_try_echo
=$ac_try;;
18655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18656 (eval "$ac_compile") 2>conftest.er1
18658 grep -v '^ *+' conftest.er1
>conftest.err
18660 cat conftest.err
>&5
18661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18662 (exit $ac_status); } && {
18663 test -z "$ac_c_werror_flag" ||
18664 test ! -s conftest.err
18665 } && test -s conftest.
$ac_objext; then
18666 ac_cv_type_void_p
=yes
18668 echo "$as_me: failed program was:" >&5
18669 sed 's/^/| /' conftest.
$ac_ext >&5
18671 ac_cv_type_void_p
=no
18674 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18676 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
18677 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
18679 # The cast to long int works around a bug in the HP C Compiler
18680 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18681 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18682 # This bug is HP SR number 8606223364.
18683 { echo "$as_me:$LINENO: checking size of void *" >&5
18684 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
18685 if test "${ac_cv_sizeof_void_p+set}" = set; then
18686 echo $ECHO_N "(cached) $ECHO_C" >&6
18688 if test "$cross_compiling" = yes; then
18689 # Depending upon the size, compute the lo and hi bounds.
18690 cat >conftest.
$ac_ext <<_ACEOF
18693 cat confdefs.h
>>conftest.
$ac_ext
18694 cat >>conftest.
$ac_ext <<_ACEOF
18695 /* end confdefs.h. */
18696 $ac_includes_default
18697 typedef void * ac__type_sizeof_;
18701 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
18708 rm -f conftest.
$ac_objext
18709 if { (ac_try
="$ac_compile"
18710 case "(($ac_try" in
18711 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18712 *) ac_try_echo=$ac_try;;
18714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18715 (eval "$ac_compile") 2>conftest.er1
18717 grep -v '^ *+' conftest.er1 >conftest.err
18719 cat conftest.err >&5
18720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18721 (exit $ac_status); } && {
18722 test -z "$ac_c_werror_flag" ||
18723 test ! -s conftest.err
18724 } && test -s conftest.$ac_objext; then
18727 cat >conftest.$ac_ext <<_ACEOF
18730 cat confdefs.h >>conftest.$ac_ext
18731 cat >>conftest.$ac_ext <<_ACEOF
18732 /* end confdefs.h. */
18733 $ac_includes_default
18734 typedef void * ac__type_sizeof_;
18738 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18745 rm -f conftest.$ac_objext
18746 if { (ac_try="$ac_compile"
18747 case "(($ac_try" in
18748 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18749 *) ac_try_echo
=$ac_try;;
18751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18752 (eval "$ac_compile") 2>conftest.er1
18754 grep -v '^ *+' conftest.er1
>conftest.err
18756 cat conftest.err
>&5
18757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18758 (exit $ac_status); } && {
18759 test -z "$ac_c_werror_flag" ||
18760 test ! -s conftest.err
18761 } && test -s conftest.
$ac_objext; then
18762 ac_hi
=$ac_mid; break
18764 echo "$as_me: failed program was:" >&5
18765 sed 's/^/| /' conftest.
$ac_ext >&5
18767 ac_lo
=`expr $ac_mid + 1`
18768 if test $ac_lo -le $ac_mid; then
18772 ac_mid
=`expr 2 '*' $ac_mid + 1`
18775 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18778 echo "$as_me: failed program was:" >&5
18779 sed 's/^/| /' conftest.
$ac_ext >&5
18781 cat >conftest.
$ac_ext <<_ACEOF
18784 cat confdefs.h
>>conftest.
$ac_ext
18785 cat >>conftest.
$ac_ext <<_ACEOF
18786 /* end confdefs.h. */
18787 $ac_includes_default
18788 typedef void * ac__type_sizeof_;
18792 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
18799 rm -f conftest.
$ac_objext
18800 if { (ac_try
="$ac_compile"
18801 case "(($ac_try" in
18802 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18803 *) ac_try_echo=$ac_try;;
18805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18806 (eval "$ac_compile") 2>conftest.er1
18808 grep -v '^ *+' conftest.er1 >conftest.err
18810 cat conftest.err >&5
18811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18812 (exit $ac_status); } && {
18813 test -z "$ac_c_werror_flag" ||
18814 test ! -s conftest.err
18815 } && test -s conftest.$ac_objext; then
18818 cat >conftest.$ac_ext <<_ACEOF
18821 cat confdefs.h >>conftest.$ac_ext
18822 cat >>conftest.$ac_ext <<_ACEOF
18823 /* end confdefs.h. */
18824 $ac_includes_default
18825 typedef void * ac__type_sizeof_;
18829 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
18836 rm -f conftest.$ac_objext
18837 if { (ac_try="$ac_compile"
18838 case "(($ac_try" in
18839 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18840 *) ac_try_echo
=$ac_try;;
18842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18843 (eval "$ac_compile") 2>conftest.er1
18845 grep -v '^ *+' conftest.er1
>conftest.err
18847 cat conftest.err
>&5
18848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18849 (exit $ac_status); } && {
18850 test -z "$ac_c_werror_flag" ||
18851 test ! -s conftest.err
18852 } && test -s conftest.
$ac_objext; then
18853 ac_lo
=$ac_mid; break
18855 echo "$as_me: failed program was:" >&5
18856 sed 's/^/| /' conftest.
$ac_ext >&5
18858 ac_hi
=`expr '(' $ac_mid ')' - 1`
18859 if test $ac_mid -le $ac_hi; then
18863 ac_mid
=`expr 2 '*' $ac_mid`
18866 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18869 echo "$as_me: failed program was:" >&5
18870 sed 's/^/| /' conftest.
$ac_ext >&5
18875 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18878 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18879 # Binary search between lo and hi bounds.
18880 while test "x$ac_lo" != "x$ac_hi"; do
18881 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18882 cat >conftest.
$ac_ext <<_ACEOF
18885 cat confdefs.h
>>conftest.
$ac_ext
18886 cat >>conftest.
$ac_ext <<_ACEOF
18887 /* end confdefs.h. */
18888 $ac_includes_default
18889 typedef void * ac__type_sizeof_;
18893 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18900 rm -f conftest.
$ac_objext
18901 if { (ac_try
="$ac_compile"
18902 case "(($ac_try" in
18903 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18904 *) ac_try_echo=$ac_try;;
18906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18907 (eval "$ac_compile") 2>conftest.er1
18909 grep -v '^ *+' conftest.er1 >conftest.err
18911 cat conftest.err >&5
18912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18913 (exit $ac_status); } && {
18914 test -z "$ac_c_werror_flag" ||
18915 test ! -s conftest.err
18916 } && test -s conftest.$ac_objext; then
18919 echo "$as_me: failed program was:" >&5
18920 sed 's/^/| /' conftest.$ac_ext >&5
18922 ac_lo=`expr '(' $ac_mid ')' + 1`
18925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18928 ?*) ac_cv_sizeof_void_p=$ac_lo;;
18929 '') if test "$ac_cv_type_void_p" = yes; then
18930 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
18931 See \`config.log
' for more details." >&5
18932 echo "$as_me: error: cannot compute sizeof (void *)
18933 See \`config.log' for more details.
" >&2;}
18934 { (exit 77); exit 77; }; }
18936 ac_cv_sizeof_void_p=0
18940 cat >conftest.$ac_ext <<_ACEOF
18943 cat confdefs.h >>conftest.$ac_ext
18944 cat >>conftest.$ac_ext <<_ACEOF
18945 /* end confdefs.h. */
18946 $ac_includes_default
18947 typedef void * ac__type_sizeof_;
18948 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
18949 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
18951 #include <stdlib.h>
18956 FILE *f = fopen ("conftest.val
", "w
");
18959 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
18961 long int i = longval ();
18962 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18964 fprintf (f, "%ld
\n", i);
18968 unsigned long int i = ulongval ();
18969 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18971 fprintf (f, "%lu
\n", i);
18973 return ferror (f) || fclose (f) != 0;
18979 rm -f conftest$ac_exeext
18980 if { (ac_try="$ac_link"
18981 case "(($ac_try" in
18982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18983 *) ac_try_echo=$ac_try;;
18985 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18986 (eval "$ac_link") 2>&5
18988 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18989 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18990 { (case "(($ac_try" in
18991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18992 *) ac_try_echo=$ac_try;;
18994 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18995 (eval "$ac_try") 2>&5
18997 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18998 (exit $ac_status); }; }; then
18999 ac_cv_sizeof_void_p=`cat conftest.val`
19001 echo "$as_me: program exited with status
$ac_status" >&5
19002 echo "$as_me: failed program was
:" >&5
19003 sed 's/^/| /' conftest.$ac_ext >&5
19005 ( exit $ac_status )
19006 if test "$ac_cv_type_void_p" = yes; then
19007 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
19008 See \
`config.log' for more details." >&5
19009 echo "$as_me: error: cannot compute sizeof (void *)
19010 See \`config.log
' for more details." >&2;}
19011 { (exit 77); exit 77; }; }
19013 ac_cv_sizeof_void_p=0
19016 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19020 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19021 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
19025 cat >>confdefs.h <<_ACEOF
19026 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19030 { echo "$as_me:$LINENO: checking for int" >&5
19031 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
19032 if test "${ac_cv_type_int+set}" = set; then
19033 echo $ECHO_N "(cached) $ECHO_C" >&6
19035 cat >conftest.$ac_ext <<_ACEOF
19038 cat confdefs.h >>conftest.$ac_ext
19039 cat >>conftest.$ac_ext <<_ACEOF
19040 /* end confdefs.h. */
19041 $ac_includes_default
19042 typedef int ac__type_new_;
19046 if ((ac__type_new_ *) 0)
19048 if (sizeof (ac__type_new_))
19054 rm -f conftest.$ac_objext
19055 if { (ac_try="$ac_compile"
19056 case "(($ac_try" in
19057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19058 *) ac_try_echo=$ac_try;;
19060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19061 (eval "$ac_compile") 2>conftest.er1
19063 grep -v '^
*+' conftest.er1 >conftest.err
19065 cat conftest.err >&5
19066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19067 (exit $ac_status); } && {
19068 test -z "$ac_c_werror_flag" ||
19069 test ! -s conftest.err
19070 } && test -s conftest.$ac_objext; then
19073 echo "$as_me: failed program was:" >&5
19074 sed 's
/^
/| /' conftest.$ac_ext >&5
19079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19081 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19082 echo "${ECHO_T}$ac_cv_type_int" >&6; }
19084 # The cast to long int works around a bug in the HP C Compiler
19085 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19086 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19087 # This bug is HP SR number 8606223364.
19088 { echo "$as_me:$LINENO: checking size of int" >&5
19089 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
19090 if test "${ac_cv_sizeof_int+set}" = set; then
19091 echo $ECHO_N "(cached) $ECHO_C" >&6
19093 if test "$cross_compiling" = yes; then
19094 # Depending upon the size, compute the lo and hi bounds.
19095 cat >conftest.
$ac_ext <<_ACEOF
19098 cat confdefs.h
>>conftest.
$ac_ext
19099 cat >>conftest.
$ac_ext <<_ACEOF
19100 /* end confdefs.h. */
19101 $ac_includes_default
19102 typedef int ac__type_sizeof_;
19106 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19113 rm -f conftest.
$ac_objext
19114 if { (ac_try
="$ac_compile"
19115 case "(($ac_try" in
19116 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19117 *) ac_try_echo=$ac_try;;
19119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19120 (eval "$ac_compile") 2>conftest.er1
19122 grep -v '^ *+' conftest.er1 >conftest.err
19124 cat conftest.err >&5
19125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19126 (exit $ac_status); } && {
19127 test -z "$ac_c_werror_flag" ||
19128 test ! -s conftest.err
19129 } && test -s conftest.$ac_objext; then
19132 cat >conftest.$ac_ext <<_ACEOF
19135 cat confdefs.h >>conftest.$ac_ext
19136 cat >>conftest.$ac_ext <<_ACEOF
19137 /* end confdefs.h. */
19138 $ac_includes_default
19139 typedef int ac__type_sizeof_;
19143 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19150 rm -f conftest.$ac_objext
19151 if { (ac_try="$ac_compile"
19152 case "(($ac_try" in
19153 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19154 *) ac_try_echo
=$ac_try;;
19156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19157 (eval "$ac_compile") 2>conftest.er1
19159 grep -v '^ *+' conftest.er1
>conftest.err
19161 cat conftest.err
>&5
19162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19163 (exit $ac_status); } && {
19164 test -z "$ac_c_werror_flag" ||
19165 test ! -s conftest.err
19166 } && test -s conftest.
$ac_objext; then
19167 ac_hi
=$ac_mid; break
19169 echo "$as_me: failed program was:" >&5
19170 sed 's/^/| /' conftest.
$ac_ext >&5
19172 ac_lo
=`expr $ac_mid + 1`
19173 if test $ac_lo -le $ac_mid; then
19177 ac_mid
=`expr 2 '*' $ac_mid + 1`
19180 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19183 echo "$as_me: failed program was:" >&5
19184 sed 's/^/| /' conftest.
$ac_ext >&5
19186 cat >conftest.
$ac_ext <<_ACEOF
19189 cat confdefs.h
>>conftest.
$ac_ext
19190 cat >>conftest.
$ac_ext <<_ACEOF
19191 /* end confdefs.h. */
19192 $ac_includes_default
19193 typedef int ac__type_sizeof_;
19197 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19204 rm -f conftest.
$ac_objext
19205 if { (ac_try
="$ac_compile"
19206 case "(($ac_try" in
19207 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19208 *) ac_try_echo=$ac_try;;
19210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19211 (eval "$ac_compile") 2>conftest.er1
19213 grep -v '^ *+' conftest.er1 >conftest.err
19215 cat conftest.err >&5
19216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19217 (exit $ac_status); } && {
19218 test -z "$ac_c_werror_flag" ||
19219 test ! -s conftest.err
19220 } && test -s conftest.$ac_objext; then
19223 cat >conftest.$ac_ext <<_ACEOF
19226 cat confdefs.h >>conftest.$ac_ext
19227 cat >>conftest.$ac_ext <<_ACEOF
19228 /* end confdefs.h. */
19229 $ac_includes_default
19230 typedef int ac__type_sizeof_;
19234 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19241 rm -f conftest.$ac_objext
19242 if { (ac_try="$ac_compile"
19243 case "(($ac_try" in
19244 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19245 *) ac_try_echo
=$ac_try;;
19247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19248 (eval "$ac_compile") 2>conftest.er1
19250 grep -v '^ *+' conftest.er1
>conftest.err
19252 cat conftest.err
>&5
19253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19254 (exit $ac_status); } && {
19255 test -z "$ac_c_werror_flag" ||
19256 test ! -s conftest.err
19257 } && test -s conftest.
$ac_objext; then
19258 ac_lo
=$ac_mid; break
19260 echo "$as_me: failed program was:" >&5
19261 sed 's/^/| /' conftest.
$ac_ext >&5
19263 ac_hi
=`expr '(' $ac_mid ')' - 1`
19264 if test $ac_mid -le $ac_hi; then
19268 ac_mid
=`expr 2 '*' $ac_mid`
19271 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19274 echo "$as_me: failed program was:" >&5
19275 sed 's/^/| /' conftest.
$ac_ext >&5
19280 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19283 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19284 # Binary search between lo and hi bounds.
19285 while test "x$ac_lo" != "x$ac_hi"; do
19286 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19287 cat >conftest.
$ac_ext <<_ACEOF
19290 cat confdefs.h
>>conftest.
$ac_ext
19291 cat >>conftest.
$ac_ext <<_ACEOF
19292 /* end confdefs.h. */
19293 $ac_includes_default
19294 typedef int ac__type_sizeof_;
19298 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19305 rm -f conftest.
$ac_objext
19306 if { (ac_try
="$ac_compile"
19307 case "(($ac_try" in
19308 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19309 *) ac_try_echo=$ac_try;;
19311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19312 (eval "$ac_compile") 2>conftest.er1
19314 grep -v '^ *+' conftest.er1 >conftest.err
19316 cat conftest.err >&5
19317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19318 (exit $ac_status); } && {
19319 test -z "$ac_c_werror_flag" ||
19320 test ! -s conftest.err
19321 } && test -s conftest.$ac_objext; then
19324 echo "$as_me: failed program was:" >&5
19325 sed 's/^/| /' conftest.$ac_ext >&5
19327 ac_lo=`expr '(' $ac_mid ')' + 1`
19330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19333 ?*) ac_cv_sizeof_int=$ac_lo;;
19334 '') if test "$ac_cv_type_int" = yes; then
19335 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
19336 See \`config.log
' for more details." >&5
19337 echo "$as_me: error: cannot compute sizeof (int)
19338 See \`config.log' for more details.
" >&2;}
19339 { (exit 77); exit 77; }; }
19345 cat >conftest.$ac_ext <<_ACEOF
19348 cat confdefs.h >>conftest.$ac_ext
19349 cat >>conftest.$ac_ext <<_ACEOF
19350 /* end confdefs.h. */
19351 $ac_includes_default
19352 typedef int ac__type_sizeof_;
19353 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19354 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19356 #include <stdlib.h>
19361 FILE *f = fopen ("conftest.val
", "w
");
19364 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19366 long int i = longval ();
19367 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19369 fprintf (f, "%ld
\n", i);
19373 unsigned long int i = ulongval ();
19374 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19376 fprintf (f, "%lu
\n", i);
19378 return ferror (f) || fclose (f) != 0;
19384 rm -f conftest$ac_exeext
19385 if { (ac_try="$ac_link"
19386 case "(($ac_try" in
19387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19388 *) ac_try_echo=$ac_try;;
19390 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19391 (eval "$ac_link") 2>&5
19393 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19394 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19395 { (case "(($ac_try" in
19396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19397 *) ac_try_echo=$ac_try;;
19399 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19400 (eval "$ac_try") 2>&5
19402 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19403 (exit $ac_status); }; }; then
19404 ac_cv_sizeof_int=`cat conftest.val`
19406 echo "$as_me: program exited with status
$ac_status" >&5
19407 echo "$as_me: failed program was
:" >&5
19408 sed 's/^/| /' conftest.$ac_ext >&5
19410 ( exit $ac_status )
19411 if test "$ac_cv_type_int" = yes; then
19412 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
19413 See \
`config.log' for more details." >&5
19414 echo "$as_me: error: cannot compute sizeof (int)
19415 See \`config.log
' for more details." >&2;}
19416 { (exit 77); exit 77; }; }
19421 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19425 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
19426 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
19430 cat >>confdefs.h <<_ACEOF
19431 #define SIZEOF_INT $ac_cv_sizeof_int
19435 { echo "$as_me:$LINENO: checking for long" >&5
19436 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
19437 if test "${ac_cv_type_long+set}" = set; then
19438 echo $ECHO_N "(cached) $ECHO_C" >&6
19440 cat >conftest.$ac_ext <<_ACEOF
19443 cat confdefs.h >>conftest.$ac_ext
19444 cat >>conftest.$ac_ext <<_ACEOF
19445 /* end confdefs.h. */
19446 $ac_includes_default
19447 typedef long ac__type_new_;
19451 if ((ac__type_new_ *) 0)
19453 if (sizeof (ac__type_new_))
19459 rm -f conftest.$ac_objext
19460 if { (ac_try="$ac_compile"
19461 case "(($ac_try" in
19462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19463 *) ac_try_echo=$ac_try;;
19465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19466 (eval "$ac_compile") 2>conftest.er1
19468 grep -v '^
*+' conftest.er1 >conftest.err
19470 cat conftest.err >&5
19471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19472 (exit $ac_status); } && {
19473 test -z "$ac_c_werror_flag" ||
19474 test ! -s conftest.err
19475 } && test -s conftest.$ac_objext; then
19476 ac_cv_type_long=yes
19478 echo "$as_me: failed program was:" >&5
19479 sed 's
/^
/| /' conftest.$ac_ext >&5
19484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19486 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
19487 echo "${ECHO_T}$ac_cv_type_long" >&6; }
19489 # The cast to long int works around a bug in the HP C Compiler
19490 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19491 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19492 # This bug is HP SR number 8606223364.
19493 { echo "$as_me:$LINENO: checking size of long" >&5
19494 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
19495 if test "${ac_cv_sizeof_long+set}" = set; then
19496 echo $ECHO_N "(cached) $ECHO_C" >&6
19498 if test "$cross_compiling" = yes; then
19499 # Depending upon the size, compute the lo and hi bounds.
19500 cat >conftest.
$ac_ext <<_ACEOF
19503 cat confdefs.h
>>conftest.
$ac_ext
19504 cat >>conftest.
$ac_ext <<_ACEOF
19505 /* end confdefs.h. */
19506 $ac_includes_default
19507 typedef long ac__type_sizeof_;
19511 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19518 rm -f conftest.
$ac_objext
19519 if { (ac_try
="$ac_compile"
19520 case "(($ac_try" in
19521 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19522 *) ac_try_echo=$ac_try;;
19524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19525 (eval "$ac_compile") 2>conftest.er1
19527 grep -v '^ *+' conftest.er1 >conftest.err
19529 cat conftest.err >&5
19530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19531 (exit $ac_status); } && {
19532 test -z "$ac_c_werror_flag" ||
19533 test ! -s conftest.err
19534 } && test -s conftest.$ac_objext; then
19537 cat >conftest.$ac_ext <<_ACEOF
19540 cat confdefs.h >>conftest.$ac_ext
19541 cat >>conftest.$ac_ext <<_ACEOF
19542 /* end confdefs.h. */
19543 $ac_includes_default
19544 typedef long ac__type_sizeof_;
19548 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19555 rm -f conftest.$ac_objext
19556 if { (ac_try="$ac_compile"
19557 case "(($ac_try" in
19558 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19559 *) ac_try_echo
=$ac_try;;
19561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19562 (eval "$ac_compile") 2>conftest.er1
19564 grep -v '^ *+' conftest.er1
>conftest.err
19566 cat conftest.err
>&5
19567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19568 (exit $ac_status); } && {
19569 test -z "$ac_c_werror_flag" ||
19570 test ! -s conftest.err
19571 } && test -s conftest.
$ac_objext; then
19572 ac_hi
=$ac_mid; break
19574 echo "$as_me: failed program was:" >&5
19575 sed 's/^/| /' conftest.
$ac_ext >&5
19577 ac_lo
=`expr $ac_mid + 1`
19578 if test $ac_lo -le $ac_mid; then
19582 ac_mid
=`expr 2 '*' $ac_mid + 1`
19585 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19588 echo "$as_me: failed program was:" >&5
19589 sed 's/^/| /' conftest.
$ac_ext >&5
19591 cat >conftest.
$ac_ext <<_ACEOF
19594 cat confdefs.h
>>conftest.
$ac_ext
19595 cat >>conftest.
$ac_ext <<_ACEOF
19596 /* end confdefs.h. */
19597 $ac_includes_default
19598 typedef long ac__type_sizeof_;
19602 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19609 rm -f conftest.
$ac_objext
19610 if { (ac_try
="$ac_compile"
19611 case "(($ac_try" in
19612 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19613 *) ac_try_echo=$ac_try;;
19615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19616 (eval "$ac_compile") 2>conftest.er1
19618 grep -v '^ *+' conftest.er1 >conftest.err
19620 cat conftest.err >&5
19621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19622 (exit $ac_status); } && {
19623 test -z "$ac_c_werror_flag" ||
19624 test ! -s conftest.err
19625 } && test -s conftest.$ac_objext; then
19628 cat >conftest.$ac_ext <<_ACEOF
19631 cat confdefs.h >>conftest.$ac_ext
19632 cat >>conftest.$ac_ext <<_ACEOF
19633 /* end confdefs.h. */
19634 $ac_includes_default
19635 typedef long ac__type_sizeof_;
19639 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19646 rm -f conftest.$ac_objext
19647 if { (ac_try="$ac_compile"
19648 case "(($ac_try" in
19649 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19650 *) ac_try_echo
=$ac_try;;
19652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19653 (eval "$ac_compile") 2>conftest.er1
19655 grep -v '^ *+' conftest.er1
>conftest.err
19657 cat conftest.err
>&5
19658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19659 (exit $ac_status); } && {
19660 test -z "$ac_c_werror_flag" ||
19661 test ! -s conftest.err
19662 } && test -s conftest.
$ac_objext; then
19663 ac_lo
=$ac_mid; break
19665 echo "$as_me: failed program was:" >&5
19666 sed 's/^/| /' conftest.
$ac_ext >&5
19668 ac_hi
=`expr '(' $ac_mid ')' - 1`
19669 if test $ac_mid -le $ac_hi; then
19673 ac_mid
=`expr 2 '*' $ac_mid`
19676 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19679 echo "$as_me: failed program was:" >&5
19680 sed 's/^/| /' conftest.
$ac_ext >&5
19685 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19688 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19689 # Binary search between lo and hi bounds.
19690 while test "x$ac_lo" != "x$ac_hi"; do
19691 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19692 cat >conftest.
$ac_ext <<_ACEOF
19695 cat confdefs.h
>>conftest.
$ac_ext
19696 cat >>conftest.
$ac_ext <<_ACEOF
19697 /* end confdefs.h. */
19698 $ac_includes_default
19699 typedef long ac__type_sizeof_;
19703 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19710 rm -f conftest.
$ac_objext
19711 if { (ac_try
="$ac_compile"
19712 case "(($ac_try" in
19713 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19714 *) ac_try_echo=$ac_try;;
19716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19717 (eval "$ac_compile") 2>conftest.er1
19719 grep -v '^ *+' conftest.er1 >conftest.err
19721 cat conftest.err >&5
19722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19723 (exit $ac_status); } && {
19724 test -z "$ac_c_werror_flag" ||
19725 test ! -s conftest.err
19726 } && test -s conftest.$ac_objext; then
19729 echo "$as_me: failed program was:" >&5
19730 sed 's/^/| /' conftest.$ac_ext >&5
19732 ac_lo=`expr '(' $ac_mid ')' + 1`
19735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19738 ?*) ac_cv_sizeof_long=$ac_lo;;
19739 '') if test "$ac_cv_type_long" = yes; then
19740 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
19741 See \`config.log
' for more details." >&5
19742 echo "$as_me: error: cannot compute sizeof (long)
19743 See \`config.log' for more details.
" >&2;}
19744 { (exit 77); exit 77; }; }
19746 ac_cv_sizeof_long=0
19750 cat >conftest.$ac_ext <<_ACEOF
19753 cat confdefs.h >>conftest.$ac_ext
19754 cat >>conftest.$ac_ext <<_ACEOF
19755 /* end confdefs.h. */
19756 $ac_includes_default
19757 typedef long ac__type_sizeof_;
19758 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19759 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19761 #include <stdlib.h>
19766 FILE *f = fopen ("conftest.val
", "w
");
19769 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19771 long int i = longval ();
19772 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19774 fprintf (f, "%ld
\n", i);
19778 unsigned long int i = ulongval ();
19779 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19781 fprintf (f, "%lu
\n", i);
19783 return ferror (f) || fclose (f) != 0;
19789 rm -f conftest$ac_exeext
19790 if { (ac_try="$ac_link"
19791 case "(($ac_try" in
19792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19793 *) ac_try_echo=$ac_try;;
19795 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19796 (eval "$ac_link") 2>&5
19798 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19799 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19800 { (case "(($ac_try" in
19801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19802 *) ac_try_echo=$ac_try;;
19804 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19805 (eval "$ac_try") 2>&5
19807 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19808 (exit $ac_status); }; }; then
19809 ac_cv_sizeof_long=`cat conftest.val`
19811 echo "$as_me: program exited with status
$ac_status" >&5
19812 echo "$as_me: failed program was
:" >&5
19813 sed 's/^/| /' conftest.$ac_ext >&5
19815 ( exit $ac_status )
19816 if test "$ac_cv_type_long" = yes; then
19817 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
19818 See \
`config.log' for more details." >&5
19819 echo "$as_me: error: cannot compute sizeof (long)
19820 See \`config.log
' for more details." >&2;}
19821 { (exit 77); exit 77; }; }
19823 ac_cv_sizeof_long=0
19826 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19830 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
19831 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
19835 cat >>confdefs.h <<_ACEOF
19836 #define SIZEOF_LONG $ac_cv_sizeof_long
19840 { echo "$as_me:$LINENO: checking for size_t" >&5
19841 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
19842 if test "${ac_cv_type_size_t+set}" = set; then
19843 echo $ECHO_N "(cached) $ECHO_C" >&6
19845 cat >conftest.$ac_ext <<_ACEOF
19848 cat confdefs.h >>conftest.$ac_ext
19849 cat >>conftest.$ac_ext <<_ACEOF
19850 /* end confdefs.h. */
19851 $ac_includes_default
19852 typedef size_t ac__type_new_;
19856 if ((ac__type_new_ *) 0)
19858 if (sizeof (ac__type_new_))
19864 rm -f conftest.$ac_objext
19865 if { (ac_try="$ac_compile"
19866 case "(($ac_try" in
19867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19868 *) ac_try_echo=$ac_try;;
19870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19871 (eval "$ac_compile") 2>conftest.er1
19873 grep -v '^
*+' conftest.er1 >conftest.err
19875 cat conftest.err >&5
19876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19877 (exit $ac_status); } && {
19878 test -z "$ac_c_werror_flag" ||
19879 test ! -s conftest.err
19880 } && test -s conftest.$ac_objext; then
19881 ac_cv_type_size_t=yes
19883 echo "$as_me: failed program was:" >&5
19884 sed 's
/^
/| /' conftest.$ac_ext >&5
19886 ac_cv_type_size_t=no
19889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19891 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19892 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
19894 # The cast to long int works around a bug in the HP C Compiler
19895 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19896 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19897 # This bug is HP SR number 8606223364.
19898 { echo "$as_me:$LINENO: checking size of size_t" >&5
19899 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
19900 if test "${ac_cv_sizeof_size_t+set}" = set; then
19901 echo $ECHO_N "(cached) $ECHO_C" >&6
19903 if test "$cross_compiling" = yes; then
19904 # Depending upon the size, compute the lo and hi bounds.
19905 cat >conftest.
$ac_ext <<_ACEOF
19908 cat confdefs.h
>>conftest.
$ac_ext
19909 cat >>conftest.
$ac_ext <<_ACEOF
19910 /* end confdefs.h. */
19911 $ac_includes_default
19912 typedef size_t ac__type_sizeof_;
19916 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19923 rm -f conftest.
$ac_objext
19924 if { (ac_try
="$ac_compile"
19925 case "(($ac_try" in
19926 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19927 *) ac_try_echo=$ac_try;;
19929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19930 (eval "$ac_compile") 2>conftest.er1
19932 grep -v '^ *+' conftest.er1 >conftest.err
19934 cat conftest.err >&5
19935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19936 (exit $ac_status); } && {
19937 test -z "$ac_c_werror_flag" ||
19938 test ! -s conftest.err
19939 } && test -s conftest.$ac_objext; then
19942 cat >conftest.$ac_ext <<_ACEOF
19945 cat confdefs.h >>conftest.$ac_ext
19946 cat >>conftest.$ac_ext <<_ACEOF
19947 /* end confdefs.h. */
19948 $ac_includes_default
19949 typedef size_t ac__type_sizeof_;
19953 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19960 rm -f conftest.$ac_objext
19961 if { (ac_try="$ac_compile"
19962 case "(($ac_try" in
19963 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19964 *) ac_try_echo
=$ac_try;;
19966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19967 (eval "$ac_compile") 2>conftest.er1
19969 grep -v '^ *+' conftest.er1
>conftest.err
19971 cat conftest.err
>&5
19972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19973 (exit $ac_status); } && {
19974 test -z "$ac_c_werror_flag" ||
19975 test ! -s conftest.err
19976 } && test -s conftest.
$ac_objext; then
19977 ac_hi
=$ac_mid; break
19979 echo "$as_me: failed program was:" >&5
19980 sed 's/^/| /' conftest.
$ac_ext >&5
19982 ac_lo
=`expr $ac_mid + 1`
19983 if test $ac_lo -le $ac_mid; then
19987 ac_mid
=`expr 2 '*' $ac_mid + 1`
19990 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19993 echo "$as_me: failed program was:" >&5
19994 sed 's/^/| /' conftest.
$ac_ext >&5
19996 cat >conftest.
$ac_ext <<_ACEOF
19999 cat confdefs.h
>>conftest.
$ac_ext
20000 cat >>conftest.
$ac_ext <<_ACEOF
20001 /* end confdefs.h. */
20002 $ac_includes_default
20003 typedef size_t ac__type_sizeof_;
20007 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20014 rm -f conftest.
$ac_objext
20015 if { (ac_try
="$ac_compile"
20016 case "(($ac_try" in
20017 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20018 *) ac_try_echo=$ac_try;;
20020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20021 (eval "$ac_compile") 2>conftest.er1
20023 grep -v '^ *+' conftest.er1 >conftest.err
20025 cat conftest.err >&5
20026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20027 (exit $ac_status); } && {
20028 test -z "$ac_c_werror_flag" ||
20029 test ! -s conftest.err
20030 } && test -s conftest.$ac_objext; then
20033 cat >conftest.$ac_ext <<_ACEOF
20036 cat confdefs.h >>conftest.$ac_ext
20037 cat >>conftest.$ac_ext <<_ACEOF
20038 /* end confdefs.h. */
20039 $ac_includes_default
20040 typedef size_t ac__type_sizeof_;
20044 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20051 rm -f conftest.$ac_objext
20052 if { (ac_try="$ac_compile"
20053 case "(($ac_try" in
20054 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20055 *) ac_try_echo
=$ac_try;;
20057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20058 (eval "$ac_compile") 2>conftest.er1
20060 grep -v '^ *+' conftest.er1
>conftest.err
20062 cat conftest.err
>&5
20063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20064 (exit $ac_status); } && {
20065 test -z "$ac_c_werror_flag" ||
20066 test ! -s conftest.err
20067 } && test -s conftest.
$ac_objext; then
20068 ac_lo
=$ac_mid; break
20070 echo "$as_me: failed program was:" >&5
20071 sed 's/^/| /' conftest.
$ac_ext >&5
20073 ac_hi
=`expr '(' $ac_mid ')' - 1`
20074 if test $ac_mid -le $ac_hi; then
20078 ac_mid
=`expr 2 '*' $ac_mid`
20081 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20084 echo "$as_me: failed program was:" >&5
20085 sed 's/^/| /' conftest.
$ac_ext >&5
20090 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20093 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20094 # Binary search between lo and hi bounds.
20095 while test "x$ac_lo" != "x$ac_hi"; do
20096 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20097 cat >conftest.
$ac_ext <<_ACEOF
20100 cat confdefs.h
>>conftest.
$ac_ext
20101 cat >>conftest.
$ac_ext <<_ACEOF
20102 /* end confdefs.h. */
20103 $ac_includes_default
20104 typedef size_t ac__type_sizeof_;
20108 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20115 rm -f conftest.
$ac_objext
20116 if { (ac_try
="$ac_compile"
20117 case "(($ac_try" in
20118 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20119 *) ac_try_echo=$ac_try;;
20121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20122 (eval "$ac_compile") 2>conftest.er1
20124 grep -v '^ *+' conftest.er1 >conftest.err
20126 cat conftest.err >&5
20127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20128 (exit $ac_status); } && {
20129 test -z "$ac_c_werror_flag" ||
20130 test ! -s conftest.err
20131 } && test -s conftest.$ac_objext; then
20134 echo "$as_me: failed program was:" >&5
20135 sed 's/^/| /' conftest.$ac_ext >&5
20137 ac_lo=`expr '(' $ac_mid ')' + 1`
20140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20143 ?*) ac_cv_sizeof_size_t=$ac_lo;;
20144 '') if test "$ac_cv_type_size_t" = yes; then
20145 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
20146 See \`config.log
' for more details." >&5
20147 echo "$as_me: error: cannot compute sizeof (size_t)
20148 See \`config.log' for more details.
" >&2;}
20149 { (exit 77); exit 77; }; }
20151 ac_cv_sizeof_size_t=0
20155 cat >conftest.$ac_ext <<_ACEOF
20158 cat confdefs.h >>conftest.$ac_ext
20159 cat >>conftest.$ac_ext <<_ACEOF
20160 /* end confdefs.h. */
20161 $ac_includes_default
20162 typedef size_t ac__type_sizeof_;
20163 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20164 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20166 #include <stdlib.h>
20171 FILE *f = fopen ("conftest.val
", "w
");
20174 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20176 long int i = longval ();
20177 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20179 fprintf (f, "%ld
\n", i);
20183 unsigned long int i = ulongval ();
20184 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20186 fprintf (f, "%lu
\n", i);
20188 return ferror (f) || fclose (f) != 0;
20194 rm -f conftest$ac_exeext
20195 if { (ac_try="$ac_link"
20196 case "(($ac_try" in
20197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20198 *) ac_try_echo=$ac_try;;
20200 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20201 (eval "$ac_link") 2>&5
20203 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20204 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20205 { (case "(($ac_try" in
20206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20207 *) ac_try_echo=$ac_try;;
20209 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20210 (eval "$ac_try") 2>&5
20212 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20213 (exit $ac_status); }; }; then
20214 ac_cv_sizeof_size_t=`cat conftest.val`
20216 echo "$as_me: program exited with status
$ac_status" >&5
20217 echo "$as_me: failed program was
:" >&5
20218 sed 's/^/| /' conftest.$ac_ext >&5
20220 ( exit $ac_status )
20221 if test "$ac_cv_type_size_t" = yes; then
20222 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(size_t
)
20223 See \
`config.log' for more details." >&5
20224 echo "$as_me: error: cannot compute sizeof (size_t)
20225 See \`config.log
' for more details." >&2;}
20226 { (exit 77); exit 77; }; }
20228 ac_cv_sizeof_size_t=0
20231 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20235 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
20236 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
20240 cat >>confdefs.h <<_ACEOF
20241 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20248 { echo "$as_me:$LINENO: checking for long long" >&5
20249 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
20250 if test "${ac_cv_type_long_long+set}" = set; then
20251 echo $ECHO_N "(cached) $ECHO_C" >&6
20253 cat >conftest.$ac_ext <<_ACEOF
20256 cat confdefs.h >>conftest.$ac_ext
20257 cat >>conftest.$ac_ext <<_ACEOF
20258 /* end confdefs.h. */
20259 $ac_includes_default
20260 typedef long long ac__type_new_;
20264 if ((ac__type_new_ *) 0)
20266 if (sizeof (ac__type_new_))
20272 rm -f conftest.$ac_objext
20273 if { (ac_try="$ac_compile"
20274 case "(($ac_try" in
20275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20276 *) ac_try_echo=$ac_try;;
20278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20279 (eval "$ac_compile") 2>conftest.er1
20281 grep -v '^
*+' conftest.er1 >conftest.err
20283 cat conftest.err >&5
20284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20285 (exit $ac_status); } && {
20286 test -z "$ac_c_werror_flag" ||
20287 test ! -s conftest.err
20288 } && test -s conftest.$ac_objext; then
20289 ac_cv_type_long_long=yes
20291 echo "$as_me: failed program was:" >&5
20292 sed 's
/^
/| /' conftest.$ac_ext >&5
20294 ac_cv_type_long_long=no
20297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20299 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20300 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
20302 # The cast to long int works around a bug in the HP C Compiler
20303 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20304 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20305 # This bug is HP SR number 8606223364.
20306 { echo "$as_me:$LINENO: checking size of long long" >&5
20307 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
20308 if test "${ac_cv_sizeof_long_long+set}" = set; then
20309 echo $ECHO_N "(cached) $ECHO_C" >&6
20311 if test "$cross_compiling" = yes; then
20312 # Depending upon the size, compute the lo and hi bounds.
20313 cat >conftest.
$ac_ext <<_ACEOF
20316 cat confdefs.h
>>conftest.
$ac_ext
20317 cat >>conftest.
$ac_ext <<_ACEOF
20318 /* end confdefs.h. */
20319 $ac_includes_default
20320 typedef long long ac__type_sizeof_;
20324 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20331 rm -f conftest.
$ac_objext
20332 if { (ac_try
="$ac_compile"
20333 case "(($ac_try" in
20334 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20335 *) ac_try_echo=$ac_try;;
20337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20338 (eval "$ac_compile") 2>conftest.er1
20340 grep -v '^ *+' conftest.er1 >conftest.err
20342 cat conftest.err >&5
20343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20344 (exit $ac_status); } && {
20345 test -z "$ac_c_werror_flag" ||
20346 test ! -s conftest.err
20347 } && test -s conftest.$ac_objext; then
20350 cat >conftest.$ac_ext <<_ACEOF
20353 cat confdefs.h >>conftest.$ac_ext
20354 cat >>conftest.$ac_ext <<_ACEOF
20355 /* end confdefs.h. */
20356 $ac_includes_default
20357 typedef long long ac__type_sizeof_;
20361 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20368 rm -f conftest.$ac_objext
20369 if { (ac_try="$ac_compile"
20370 case "(($ac_try" in
20371 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20372 *) ac_try_echo
=$ac_try;;
20374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20375 (eval "$ac_compile") 2>conftest.er1
20377 grep -v '^ *+' conftest.er1
>conftest.err
20379 cat conftest.err
>&5
20380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20381 (exit $ac_status); } && {
20382 test -z "$ac_c_werror_flag" ||
20383 test ! -s conftest.err
20384 } && test -s conftest.
$ac_objext; then
20385 ac_hi
=$ac_mid; break
20387 echo "$as_me: failed program was:" >&5
20388 sed 's/^/| /' conftest.
$ac_ext >&5
20390 ac_lo
=`expr $ac_mid + 1`
20391 if test $ac_lo -le $ac_mid; then
20395 ac_mid
=`expr 2 '*' $ac_mid + 1`
20398 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20401 echo "$as_me: failed program was:" >&5
20402 sed 's/^/| /' conftest.
$ac_ext >&5
20404 cat >conftest.
$ac_ext <<_ACEOF
20407 cat confdefs.h
>>conftest.
$ac_ext
20408 cat >>conftest.
$ac_ext <<_ACEOF
20409 /* end confdefs.h. */
20410 $ac_includes_default
20411 typedef long long ac__type_sizeof_;
20415 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20422 rm -f conftest.
$ac_objext
20423 if { (ac_try
="$ac_compile"
20424 case "(($ac_try" in
20425 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20426 *) ac_try_echo=$ac_try;;
20428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20429 (eval "$ac_compile") 2>conftest.er1
20431 grep -v '^ *+' conftest.er1 >conftest.err
20433 cat conftest.err >&5
20434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20435 (exit $ac_status); } && {
20436 test -z "$ac_c_werror_flag" ||
20437 test ! -s conftest.err
20438 } && test -s conftest.$ac_objext; then
20441 cat >conftest.$ac_ext <<_ACEOF
20444 cat confdefs.h >>conftest.$ac_ext
20445 cat >>conftest.$ac_ext <<_ACEOF
20446 /* end confdefs.h. */
20447 $ac_includes_default
20448 typedef long long ac__type_sizeof_;
20452 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20459 rm -f conftest.$ac_objext
20460 if { (ac_try="$ac_compile"
20461 case "(($ac_try" in
20462 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20463 *) ac_try_echo
=$ac_try;;
20465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20466 (eval "$ac_compile") 2>conftest.er1
20468 grep -v '^ *+' conftest.er1
>conftest.err
20470 cat conftest.err
>&5
20471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20472 (exit $ac_status); } && {
20473 test -z "$ac_c_werror_flag" ||
20474 test ! -s conftest.err
20475 } && test -s conftest.
$ac_objext; then
20476 ac_lo
=$ac_mid; break
20478 echo "$as_me: failed program was:" >&5
20479 sed 's/^/| /' conftest.
$ac_ext >&5
20481 ac_hi
=`expr '(' $ac_mid ')' - 1`
20482 if test $ac_mid -le $ac_hi; then
20486 ac_mid
=`expr 2 '*' $ac_mid`
20489 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20492 echo "$as_me: failed program was:" >&5
20493 sed 's/^/| /' conftest.
$ac_ext >&5
20498 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20501 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20502 # Binary search between lo and hi bounds.
20503 while test "x$ac_lo" != "x$ac_hi"; do
20504 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20505 cat >conftest.
$ac_ext <<_ACEOF
20508 cat confdefs.h
>>conftest.
$ac_ext
20509 cat >>conftest.
$ac_ext <<_ACEOF
20510 /* end confdefs.h. */
20511 $ac_includes_default
20512 typedef long long ac__type_sizeof_;
20516 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20523 rm -f conftest.
$ac_objext
20524 if { (ac_try
="$ac_compile"
20525 case "(($ac_try" in
20526 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20527 *) ac_try_echo=$ac_try;;
20529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20530 (eval "$ac_compile") 2>conftest.er1
20532 grep -v '^ *+' conftest.er1 >conftest.err
20534 cat conftest.err >&5
20535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20536 (exit $ac_status); } && {
20537 test -z "$ac_c_werror_flag" ||
20538 test ! -s conftest.err
20539 } && test -s conftest.$ac_objext; then
20542 echo "$as_me: failed program was:" >&5
20543 sed 's/^/| /' conftest.$ac_ext >&5
20545 ac_lo=`expr '(' $ac_mid ')' + 1`
20548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20551 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20552 '') if test "$ac_cv_type_long_long" = yes; then
20553 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
20554 See \`config.log
' for more details." >&5
20555 echo "$as_me: error: cannot compute sizeof (long long)
20556 See \`config.log' for more details.
" >&2;}
20557 { (exit 77); exit 77; }; }
20559 ac_cv_sizeof_long_long=0
20563 cat >conftest.$ac_ext <<_ACEOF
20566 cat confdefs.h >>conftest.$ac_ext
20567 cat >>conftest.$ac_ext <<_ACEOF
20568 /* end confdefs.h. */
20569 $ac_includes_default
20570 typedef long long ac__type_sizeof_;
20571 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20572 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20574 #include <stdlib.h>
20579 FILE *f = fopen ("conftest.val
", "w
");
20582 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20584 long int i = longval ();
20585 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20587 fprintf (f, "%ld
\n", i);
20591 unsigned long int i = ulongval ();
20592 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20594 fprintf (f, "%lu
\n", i);
20596 return ferror (f) || fclose (f) != 0;
20602 rm -f conftest$ac_exeext
20603 if { (ac_try="$ac_link"
20604 case "(($ac_try" in
20605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20606 *) ac_try_echo=$ac_try;;
20608 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20609 (eval "$ac_link") 2>&5
20611 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20612 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20613 { (case "(($ac_try" in
20614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20615 *) ac_try_echo=$ac_try;;
20617 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20618 (eval "$ac_try") 2>&5
20620 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20621 (exit $ac_status); }; }; then
20622 ac_cv_sizeof_long_long=`cat conftest.val`
20624 echo "$as_me: program exited with status
$ac_status" >&5
20625 echo "$as_me: failed program was
:" >&5
20626 sed 's/^/| /' conftest.$ac_ext >&5
20628 ( exit $ac_status )
20629 if test "$ac_cv_type_long_long" = yes; then
20630 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
20631 See \
`config.log' for more details." >&5
20632 echo "$as_me: error: cannot compute sizeof (long long)
20633 See \`config.log
' for more details." >&2;}
20634 { (exit 77); exit 77; }; }
20636 ac_cv_sizeof_long_long=0
20639 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20643 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20644 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
20648 cat >>confdefs.h <<_ACEOF
20649 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20655 { echo "$as_me:$LINENO: checking for long long" >&5
20656 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
20657 if test "${ac_cv_type_long_long+set}" = set; then
20658 echo $ECHO_N "(cached) $ECHO_C" >&6
20660 cat >conftest.$ac_ext <<_ACEOF
20663 cat confdefs.h >>conftest.$ac_ext
20664 cat >>conftest.$ac_ext <<_ACEOF
20665 /* end confdefs.h. */
20666 $ac_includes_default
20667 typedef long long ac__type_new_;
20671 if ((ac__type_new_ *) 0)
20673 if (sizeof (ac__type_new_))
20679 rm -f conftest.$ac_objext
20680 if { (ac_try="$ac_compile"
20681 case "(($ac_try" in
20682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20683 *) ac_try_echo=$ac_try;;
20685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20686 (eval "$ac_compile") 2>conftest.er1
20688 grep -v '^
*+' conftest.er1 >conftest.err
20690 cat conftest.err >&5
20691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20692 (exit $ac_status); } && {
20693 test -z "$ac_c_werror_flag" ||
20694 test ! -s conftest.err
20695 } && test -s conftest.$ac_objext; then
20696 ac_cv_type_long_long=yes
20698 echo "$as_me: failed program was:" >&5
20699 sed 's
/^
/| /' conftest.$ac_ext >&5
20701 ac_cv_type_long_long=no
20704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20706 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20707 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
20709 # The cast to long int works around a bug in the HP C Compiler
20710 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20711 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20712 # This bug is HP SR number 8606223364.
20713 { echo "$as_me:$LINENO: checking size of long long" >&5
20714 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
20715 if test "${ac_cv_sizeof_long_long+set}" = set; then
20716 echo $ECHO_N "(cached) $ECHO_C" >&6
20718 if test "$cross_compiling" = yes; then
20719 # Depending upon the size, compute the lo and hi bounds.
20720 cat >conftest.
$ac_ext <<_ACEOF
20723 cat confdefs.h
>>conftest.
$ac_ext
20724 cat >>conftest.
$ac_ext <<_ACEOF
20725 /* end confdefs.h. */
20726 $ac_includes_default
20727 typedef long long ac__type_sizeof_;
20731 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20738 rm -f conftest.
$ac_objext
20739 if { (ac_try
="$ac_compile"
20740 case "(($ac_try" in
20741 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20742 *) ac_try_echo=$ac_try;;
20744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20745 (eval "$ac_compile") 2>conftest.er1
20747 grep -v '^ *+' conftest.er1 >conftest.err
20749 cat conftest.err >&5
20750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20751 (exit $ac_status); } && {
20752 test -z "$ac_c_werror_flag" ||
20753 test ! -s conftest.err
20754 } && test -s conftest.$ac_objext; then
20757 cat >conftest.$ac_ext <<_ACEOF
20760 cat confdefs.h >>conftest.$ac_ext
20761 cat >>conftest.$ac_ext <<_ACEOF
20762 /* end confdefs.h. */
20763 $ac_includes_default
20764 typedef long long ac__type_sizeof_;
20768 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20775 rm -f conftest.$ac_objext
20776 if { (ac_try="$ac_compile"
20777 case "(($ac_try" in
20778 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20779 *) ac_try_echo
=$ac_try;;
20781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20782 (eval "$ac_compile") 2>conftest.er1
20784 grep -v '^ *+' conftest.er1
>conftest.err
20786 cat conftest.err
>&5
20787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20788 (exit $ac_status); } && {
20789 test -z "$ac_c_werror_flag" ||
20790 test ! -s conftest.err
20791 } && test -s conftest.
$ac_objext; then
20792 ac_hi
=$ac_mid; break
20794 echo "$as_me: failed program was:" >&5
20795 sed 's/^/| /' conftest.
$ac_ext >&5
20797 ac_lo
=`expr $ac_mid + 1`
20798 if test $ac_lo -le $ac_mid; then
20802 ac_mid
=`expr 2 '*' $ac_mid + 1`
20805 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20808 echo "$as_me: failed program was:" >&5
20809 sed 's/^/| /' conftest.
$ac_ext >&5
20811 cat >conftest.
$ac_ext <<_ACEOF
20814 cat confdefs.h
>>conftest.
$ac_ext
20815 cat >>conftest.
$ac_ext <<_ACEOF
20816 /* end confdefs.h. */
20817 $ac_includes_default
20818 typedef long long ac__type_sizeof_;
20822 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20829 rm -f conftest.
$ac_objext
20830 if { (ac_try
="$ac_compile"
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_compile") 2>conftest.er1
20838 grep -v '^ *+' conftest.er1 >conftest.err
20840 cat conftest.err >&5
20841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20842 (exit $ac_status); } && {
20843 test -z "$ac_c_werror_flag" ||
20844 test ! -s conftest.err
20845 } && test -s conftest.$ac_objext; then
20848 cat >conftest.$ac_ext <<_ACEOF
20851 cat confdefs.h >>conftest.$ac_ext
20852 cat >>conftest.$ac_ext <<_ACEOF
20853 /* end confdefs.h. */
20854 $ac_includes_default
20855 typedef long long ac__type_sizeof_;
20859 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20866 rm -f conftest.$ac_objext
20867 if { (ac_try="$ac_compile"
20868 case "(($ac_try" in
20869 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20870 *) ac_try_echo
=$ac_try;;
20872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20873 (eval "$ac_compile") 2>conftest.er1
20875 grep -v '^ *+' conftest.er1
>conftest.err
20877 cat conftest.err
>&5
20878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20879 (exit $ac_status); } && {
20880 test -z "$ac_c_werror_flag" ||
20881 test ! -s conftest.err
20882 } && test -s conftest.
$ac_objext; then
20883 ac_lo
=$ac_mid; break
20885 echo "$as_me: failed program was:" >&5
20886 sed 's/^/| /' conftest.
$ac_ext >&5
20888 ac_hi
=`expr '(' $ac_mid ')' - 1`
20889 if test $ac_mid -le $ac_hi; then
20893 ac_mid
=`expr 2 '*' $ac_mid`
20896 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20899 echo "$as_me: failed program was:" >&5
20900 sed 's/^/| /' conftest.
$ac_ext >&5
20905 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20908 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20909 # Binary search between lo and hi bounds.
20910 while test "x$ac_lo" != "x$ac_hi"; do
20911 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20912 cat >conftest.
$ac_ext <<_ACEOF
20915 cat confdefs.h
>>conftest.
$ac_ext
20916 cat >>conftest.
$ac_ext <<_ACEOF
20917 /* end confdefs.h. */
20918 $ac_includes_default
20919 typedef long long ac__type_sizeof_;
20923 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20930 rm -f conftest.
$ac_objext
20931 if { (ac_try
="$ac_compile"
20932 case "(($ac_try" in
20933 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20934 *) ac_try_echo=$ac_try;;
20936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20937 (eval "$ac_compile") 2>conftest.er1
20939 grep -v '^ *+' conftest.er1 >conftest.err
20941 cat conftest.err >&5
20942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20943 (exit $ac_status); } && {
20944 test -z "$ac_c_werror_flag" ||
20945 test ! -s conftest.err
20946 } && test -s conftest.$ac_objext; then
20949 echo "$as_me: failed program was:" >&5
20950 sed 's/^/| /' conftest.$ac_ext >&5
20952 ac_lo=`expr '(' $ac_mid ')' + 1`
20955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20958 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20959 '') if test "$ac_cv_type_long_long" = yes; then
20960 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
20961 See \`config.log
' for more details." >&5
20962 echo "$as_me: error: cannot compute sizeof (long long)
20963 See \`config.log' for more details.
" >&2;}
20964 { (exit 77); exit 77; }; }
20966 ac_cv_sizeof_long_long=0
20970 cat >conftest.$ac_ext <<_ACEOF
20973 cat confdefs.h >>conftest.$ac_ext
20974 cat >>conftest.$ac_ext <<_ACEOF
20975 /* end confdefs.h. */
20976 $ac_includes_default
20977 typedef long long ac__type_sizeof_;
20978 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20979 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20981 #include <stdlib.h>
20986 FILE *f = fopen ("conftest.val
", "w
");
20989 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20991 long int i = longval ();
20992 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20994 fprintf (f, "%ld
\n", i);
20998 unsigned long int i = ulongval ();
20999 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21001 fprintf (f, "%lu
\n", i);
21003 return ferror (f) || fclose (f) != 0;
21009 rm -f conftest$ac_exeext
21010 if { (ac_try="$ac_link"
21011 case "(($ac_try" in
21012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21013 *) ac_try_echo=$ac_try;;
21015 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21016 (eval "$ac_link") 2>&5
21018 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21019 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21020 { (case "(($ac_try" in
21021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21022 *) ac_try_echo=$ac_try;;
21024 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21025 (eval "$ac_try") 2>&5
21027 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21028 (exit $ac_status); }; }; then
21029 ac_cv_sizeof_long_long=`cat conftest.val`
21031 echo "$as_me: program exited with status
$ac_status" >&5
21032 echo "$as_me: failed program was
:" >&5
21033 sed 's/^/| /' conftest.$ac_ext >&5
21035 ( exit $ac_status )
21036 if test "$ac_cv_type_long_long" = yes; then
21037 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
21038 See \
`config.log' for more details." >&5
21039 echo "$as_me: error: cannot compute sizeof (long long)
21040 See \`config.log
' for more details." >&2;}
21041 { (exit 77); exit 77; }; }
21043 ac_cv_sizeof_long_long=0
21046 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21050 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21051 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21055 cat >>confdefs.h <<_ACEOF
21056 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21060 if test "$ac_cv_sizeof_long_long" != "0"; then
21061 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
21065 { echo "$as_me:$LINENO: checking for long long" >&5
21066 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21067 if test "${ac_cv_type_long_long+set}" = set; then
21068 echo $ECHO_N "(cached) $ECHO_C" >&6
21070 cat >conftest.$ac_ext <<_ACEOF
21073 cat confdefs.h >>conftest.$ac_ext
21074 cat >>conftest.$ac_ext <<_ACEOF
21075 /* end confdefs.h. */
21076 $ac_includes_default
21077 typedef long long ac__type_new_;
21081 if ((ac__type_new_ *) 0)
21083 if (sizeof (ac__type_new_))
21089 rm -f conftest.$ac_objext
21090 if { (ac_try="$ac_compile"
21091 case "(($ac_try" in
21092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21093 *) ac_try_echo=$ac_try;;
21095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21096 (eval "$ac_compile") 2>conftest.er1
21098 grep -v '^
*+' conftest.er1 >conftest.err
21100 cat conftest.err >&5
21101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21102 (exit $ac_status); } && {
21103 test -z "$ac_c_werror_flag" ||
21104 test ! -s conftest.err
21105 } && test -s conftest.$ac_objext; then
21106 ac_cv_type_long_long=yes
21108 echo "$as_me: failed program was:" >&5
21109 sed 's
/^
/| /' conftest.$ac_ext >&5
21111 ac_cv_type_long_long=no
21114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21116 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21117 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21119 # The cast to long int works around a bug in the HP C Compiler
21120 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21121 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21122 # This bug is HP SR number 8606223364.
21123 { echo "$as_me:$LINENO: checking size of long long" >&5
21124 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21125 if test "${ac_cv_sizeof_long_long+set}" = set; then
21126 echo $ECHO_N "(cached) $ECHO_C" >&6
21128 if test "$cross_compiling" = yes; then
21129 # Depending upon the size, compute the lo and hi bounds.
21130 cat >conftest.
$ac_ext <<_ACEOF
21133 cat confdefs.h
>>conftest.
$ac_ext
21134 cat >>conftest.
$ac_ext <<_ACEOF
21135 /* end confdefs.h. */
21136 $ac_includes_default
21137 typedef long long ac__type_sizeof_;
21141 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21148 rm -f conftest.
$ac_objext
21149 if { (ac_try
="$ac_compile"
21150 case "(($ac_try" in
21151 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21152 *) ac_try_echo=$ac_try;;
21154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21155 (eval "$ac_compile") 2>conftest.er1
21157 grep -v '^ *+' conftest.er1 >conftest.err
21159 cat conftest.err >&5
21160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21161 (exit $ac_status); } && {
21162 test -z "$ac_c_werror_flag" ||
21163 test ! -s conftest.err
21164 } && test -s conftest.$ac_objext; then
21167 cat >conftest.$ac_ext <<_ACEOF
21170 cat confdefs.h >>conftest.$ac_ext
21171 cat >>conftest.$ac_ext <<_ACEOF
21172 /* end confdefs.h. */
21173 $ac_includes_default
21174 typedef long long ac__type_sizeof_;
21178 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21185 rm -f conftest.$ac_objext
21186 if { (ac_try="$ac_compile"
21187 case "(($ac_try" in
21188 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21189 *) ac_try_echo
=$ac_try;;
21191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21192 (eval "$ac_compile") 2>conftest.er1
21194 grep -v '^ *+' conftest.er1
>conftest.err
21196 cat conftest.err
>&5
21197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21198 (exit $ac_status); } && {
21199 test -z "$ac_c_werror_flag" ||
21200 test ! -s conftest.err
21201 } && test -s conftest.
$ac_objext; then
21202 ac_hi
=$ac_mid; break
21204 echo "$as_me: failed program was:" >&5
21205 sed 's/^/| /' conftest.
$ac_ext >&5
21207 ac_lo
=`expr $ac_mid + 1`
21208 if test $ac_lo -le $ac_mid; then
21212 ac_mid
=`expr 2 '*' $ac_mid + 1`
21215 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21218 echo "$as_me: failed program was:" >&5
21219 sed 's/^/| /' conftest.
$ac_ext >&5
21221 cat >conftest.
$ac_ext <<_ACEOF
21224 cat confdefs.h
>>conftest.
$ac_ext
21225 cat >>conftest.
$ac_ext <<_ACEOF
21226 /* end confdefs.h. */
21227 $ac_includes_default
21228 typedef long long ac__type_sizeof_;
21232 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21239 rm -f conftest.
$ac_objext
21240 if { (ac_try
="$ac_compile"
21241 case "(($ac_try" in
21242 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21243 *) ac_try_echo=$ac_try;;
21245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21246 (eval "$ac_compile") 2>conftest.er1
21248 grep -v '^ *+' conftest.er1 >conftest.err
21250 cat conftest.err >&5
21251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21252 (exit $ac_status); } && {
21253 test -z "$ac_c_werror_flag" ||
21254 test ! -s conftest.err
21255 } && test -s conftest.$ac_objext; then
21258 cat >conftest.$ac_ext <<_ACEOF
21261 cat confdefs.h >>conftest.$ac_ext
21262 cat >>conftest.$ac_ext <<_ACEOF
21263 /* end confdefs.h. */
21264 $ac_includes_default
21265 typedef long long ac__type_sizeof_;
21269 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21276 rm -f conftest.$ac_objext
21277 if { (ac_try="$ac_compile"
21278 case "(($ac_try" in
21279 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21280 *) ac_try_echo
=$ac_try;;
21282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21283 (eval "$ac_compile") 2>conftest.er1
21285 grep -v '^ *+' conftest.er1
>conftest.err
21287 cat conftest.err
>&5
21288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21289 (exit $ac_status); } && {
21290 test -z "$ac_c_werror_flag" ||
21291 test ! -s conftest.err
21292 } && test -s conftest.
$ac_objext; then
21293 ac_lo
=$ac_mid; break
21295 echo "$as_me: failed program was:" >&5
21296 sed 's/^/| /' conftest.
$ac_ext >&5
21298 ac_hi
=`expr '(' $ac_mid ')' - 1`
21299 if test $ac_mid -le $ac_hi; then
21303 ac_mid
=`expr 2 '*' $ac_mid`
21306 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21309 echo "$as_me: failed program was:" >&5
21310 sed 's/^/| /' conftest.
$ac_ext >&5
21315 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21318 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21319 # Binary search between lo and hi bounds.
21320 while test "x$ac_lo" != "x$ac_hi"; do
21321 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21322 cat >conftest.
$ac_ext <<_ACEOF
21325 cat confdefs.h
>>conftest.
$ac_ext
21326 cat >>conftest.
$ac_ext <<_ACEOF
21327 /* end confdefs.h. */
21328 $ac_includes_default
21329 typedef long long ac__type_sizeof_;
21333 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21340 rm -f conftest.
$ac_objext
21341 if { (ac_try
="$ac_compile"
21342 case "(($ac_try" in
21343 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21344 *) ac_try_echo=$ac_try;;
21346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21347 (eval "$ac_compile") 2>conftest.er1
21349 grep -v '^ *+' conftest.er1 >conftest.err
21351 cat conftest.err >&5
21352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21353 (exit $ac_status); } && {
21354 test -z "$ac_c_werror_flag" ||
21355 test ! -s conftest.err
21356 } && test -s conftest.$ac_objext; then
21359 echo "$as_me: failed program was:" >&5
21360 sed 's/^/| /' conftest.$ac_ext >&5
21362 ac_lo=`expr '(' $ac_mid ')' + 1`
21365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21368 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21369 '') if test "$ac_cv_type_long_long" = yes; then
21370 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21371 See \`config.log
' for more details." >&5
21372 echo "$as_me: error: cannot compute sizeof (long long)
21373 See \`config.log' for more details.
" >&2;}
21374 { (exit 77); exit 77; }; }
21376 ac_cv_sizeof_long_long=0
21380 cat >conftest.$ac_ext <<_ACEOF
21383 cat confdefs.h >>conftest.$ac_ext
21384 cat >>conftest.$ac_ext <<_ACEOF
21385 /* end confdefs.h. */
21386 $ac_includes_default
21387 typedef long long ac__type_sizeof_;
21388 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21389 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21391 #include <stdlib.h>
21396 FILE *f = fopen ("conftest.val
", "w
");
21399 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21401 long int i = longval ();
21402 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21404 fprintf (f, "%ld
\n", i);
21408 unsigned long int i = ulongval ();
21409 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21411 fprintf (f, "%lu
\n", i);
21413 return ferror (f) || fclose (f) != 0;
21419 rm -f conftest$ac_exeext
21420 if { (ac_try="$ac_link"
21421 case "(($ac_try" in
21422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21423 *) ac_try_echo=$ac_try;;
21425 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21426 (eval "$ac_link") 2>&5
21428 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21429 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21430 { (case "(($ac_try" in
21431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21432 *) ac_try_echo=$ac_try;;
21434 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21435 (eval "$ac_try") 2>&5
21437 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21438 (exit $ac_status); }; }; then
21439 ac_cv_sizeof_long_long=`cat conftest.val`
21441 echo "$as_me: program exited with status
$ac_status" >&5
21442 echo "$as_me: failed program was
:" >&5
21443 sed 's/^/| /' conftest.$ac_ext >&5
21445 ( exit $ac_status )
21446 if test "$ac_cv_type_long_long" = yes; then
21447 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
21448 See \
`config.log' for more details." >&5
21449 echo "$as_me: error: cannot compute sizeof (long long)
21450 See \`config.log
' for more details." >&2;}
21451 { (exit 77); exit 77; }; }
21453 ac_cv_sizeof_long_long=0
21456 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21460 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21461 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21465 cat >>confdefs.h <<_ACEOF
21466 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21472 { echo "$as_me:$LINENO: checking for wchar_t" >&5
21473 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
21474 if test "${ac_cv_type_wchar_t+set}" = set; then
21475 echo $ECHO_N "(cached) $ECHO_C" >&6
21477 cat >conftest.$ac_ext <<_ACEOF
21480 cat confdefs.h >>conftest.$ac_ext
21481 cat >>conftest.$ac_ext <<_ACEOF
21482 /* end confdefs.h. */
21484 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
21485 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21486 # error "fake wchar_t"
21488 #ifdef HAVE_WCHAR_H
21490 # include <stddef.h>
21492 # include <wchar.h>
21494 #ifdef HAVE_STDLIB_H
21495 # include <stdlib.h>
21501 typedef wchar_t ac__type_new_
;
21505 if ((ac__type_new_
*) 0)
21507 if (sizeof
(ac__type_new_
))
21513 rm -f conftest.
$ac_objext
21514 if { (ac_try
="$ac_compile"
21515 case "(($ac_try" in
21516 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21517 *) ac_try_echo=$ac_try;;
21519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21520 (eval "$ac_compile") 2>conftest.er1
21522 grep -v '^ *+' conftest.er1 >conftest.err
21524 cat conftest.err >&5
21525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21526 (exit $ac_status); } && {
21527 test -z "$ac_c_werror_flag" ||
21528 test ! -s conftest.err
21529 } && test -s conftest.$ac_objext; then
21530 ac_cv_type_wchar_t=yes
21532 echo "$as_me: failed program was:" >&5
21533 sed 's/^/| /' conftest.$ac_ext >&5
21535 ac_cv_type_wchar_t=no
21538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21540 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
21541 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
21543 # The cast to long int works around a bug in the HP C Compiler
21544 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21545 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
21546 # This bug is HP SR number 8606223364.
21547 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
21548 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
21549 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
21550 echo $ECHO_N "(cached) $ECHO_C" >&6
21552 if test "$cross_compiling" = yes; then
21553 # Depending upon the size, compute the lo and hi bounds.
21554 cat >conftest.$ac_ext <<_ACEOF
21557 cat confdefs.h >>conftest.$ac_ext
21558 cat >>conftest.$ac_ext <<_ACEOF
21559 /* end confdefs.h. */
21561 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
21562 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21563 # error "fake wchar_t"
21565 #ifdef HAVE_WCHAR_H
21567 # include <stddef.h>
21569 # include <wchar.h>
21571 #ifdef HAVE_STDLIB_H
21572 # include <stdlib.h>
21578 typedef wchar_t ac__type_sizeof_
;
21582 static int test_array
[1 - 2 * !(((long int
) (sizeof
(ac__type_sizeof_
))) >= 0)];
21589 rm -f conftest.
$ac_objext
21590 if { (ac_try
="$ac_compile"
21591 case "(($ac_try" in
21592 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21593 *) ac_try_echo=$ac_try;;
21595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21596 (eval "$ac_compile") 2>conftest.er1
21598 grep -v '^ *+' conftest.er1 >conftest.err
21600 cat conftest.err >&5
21601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21602 (exit $ac_status); } && {
21603 test -z "$ac_c_werror_flag" ||
21604 test ! -s conftest.err
21605 } && test -s conftest.$ac_objext; then
21608 cat >conftest.$ac_ext <<_ACEOF
21611 cat confdefs.h >>conftest.$ac_ext
21612 cat >>conftest.$ac_ext <<_ACEOF
21613 /* end confdefs.h. */
21615 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21616 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21617 # error "fake wchar_t"
21619 #ifdef HAVE_WCHAR_H
21621 # include <stddef.h>
21623 # include <wchar.h>
21625 #ifdef HAVE_STDLIB_H
21626 # include <stdlib.h>
21632 typedef wchar_t ac__type_sizeof_;
21636 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21643 rm -f conftest.$ac_objext
21644 if { (ac_try="$ac_compile"
21645 case "(($ac_try" in
21646 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21647 *) ac_try_echo
=$ac_try;;
21649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21650 (eval "$ac_compile") 2>conftest.er1
21652 grep -v '^ *+' conftest.er1
>conftest.err
21654 cat conftest.err
>&5
21655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21656 (exit $ac_status); } && {
21657 test -z "$ac_c_werror_flag" ||
21658 test ! -s conftest.err
21659 } && test -s conftest.
$ac_objext; then
21660 ac_hi
=$ac_mid; break
21662 echo "$as_me: failed program was:" >&5
21663 sed 's/^/| /' conftest.
$ac_ext >&5
21665 ac_lo
=`expr $ac_mid + 1`
21666 if test $ac_lo -le $ac_mid; then
21670 ac_mid
=`expr 2 '*' $ac_mid + 1`
21673 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21676 echo "$as_me: failed program was:" >&5
21677 sed 's/^/| /' conftest.
$ac_ext >&5
21679 cat >conftest.
$ac_ext <<_ACEOF
21682 cat confdefs.h
>>conftest.
$ac_ext
21683 cat >>conftest.
$ac_ext <<_ACEOF
21684 /* end confdefs.h. */
21686 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21687 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21688 # error "fake wchar_t"
21690 #ifdef HAVE_WCHAR_H
21692 # include <stddef.h>
21694 # include <wchar.h>
21696 #ifdef HAVE_STDLIB_H
21697 # include <stdlib.h>
21703 typedef wchar_t ac__type_sizeof_;
21707 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21714 rm -f conftest.
$ac_objext
21715 if { (ac_try
="$ac_compile"
21716 case "(($ac_try" in
21717 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21718 *) ac_try_echo=$ac_try;;
21720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21721 (eval "$ac_compile") 2>conftest.er1
21723 grep -v '^ *+' conftest.er1 >conftest.err
21725 cat conftest.err >&5
21726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21727 (exit $ac_status); } && {
21728 test -z "$ac_c_werror_flag" ||
21729 test ! -s conftest.err
21730 } && test -s conftest.$ac_objext; then
21733 cat >conftest.$ac_ext <<_ACEOF
21736 cat confdefs.h >>conftest.$ac_ext
21737 cat >>conftest.$ac_ext <<_ACEOF
21738 /* end confdefs.h. */
21740 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21741 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21742 # error "fake wchar_t"
21744 #ifdef HAVE_WCHAR_H
21746 # include <stddef.h>
21748 # include <wchar.h>
21750 #ifdef HAVE_STDLIB_H
21751 # include <stdlib.h>
21757 typedef wchar_t ac__type_sizeof_;
21761 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21768 rm -f conftest.$ac_objext
21769 if { (ac_try="$ac_compile"
21770 case "(($ac_try" in
21771 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21772 *) ac_try_echo
=$ac_try;;
21774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21775 (eval "$ac_compile") 2>conftest.er1
21777 grep -v '^ *+' conftest.er1
>conftest.err
21779 cat conftest.err
>&5
21780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21781 (exit $ac_status); } && {
21782 test -z "$ac_c_werror_flag" ||
21783 test ! -s conftest.err
21784 } && test -s conftest.
$ac_objext; then
21785 ac_lo
=$ac_mid; break
21787 echo "$as_me: failed program was:" >&5
21788 sed 's/^/| /' conftest.
$ac_ext >&5
21790 ac_hi
=`expr '(' $ac_mid ')' - 1`
21791 if test $ac_mid -le $ac_hi; then
21795 ac_mid
=`expr 2 '*' $ac_mid`
21798 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21801 echo "$as_me: failed program was:" >&5
21802 sed 's/^/| /' conftest.
$ac_ext >&5
21807 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21810 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21811 # Binary search between lo and hi bounds.
21812 while test "x$ac_lo" != "x$ac_hi"; do
21813 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21814 cat >conftest.
$ac_ext <<_ACEOF
21817 cat confdefs.h
>>conftest.
$ac_ext
21818 cat >>conftest.
$ac_ext <<_ACEOF
21819 /* end confdefs.h. */
21821 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21822 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21823 # error "fake wchar_t"
21825 #ifdef HAVE_WCHAR_H
21827 # include <stddef.h>
21829 # include <wchar.h>
21831 #ifdef HAVE_STDLIB_H
21832 # include <stdlib.h>
21838 typedef wchar_t ac__type_sizeof_;
21842 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21849 rm -f conftest.
$ac_objext
21850 if { (ac_try
="$ac_compile"
21851 case "(($ac_try" in
21852 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21853 *) ac_try_echo=$ac_try;;
21855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21856 (eval "$ac_compile") 2>conftest.er1
21858 grep -v '^ *+' conftest.er1 >conftest.err
21860 cat conftest.err >&5
21861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21862 (exit $ac_status); } && {
21863 test -z "$ac_c_werror_flag" ||
21864 test ! -s conftest.err
21865 } && test -s conftest.$ac_objext; then
21868 echo "$as_me: failed program was:" >&5
21869 sed 's/^/| /' conftest.$ac_ext >&5
21871 ac_lo=`expr '(' $ac_mid ')' + 1`
21874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21877 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
21878 '') if test "$ac_cv_type_wchar_t" = yes; then
21879 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
21880 See \`config.log
' for more details." >&5
21881 echo "$as_me: error: cannot compute sizeof (wchar_t)
21882 See \`config.log' for more details.
" >&2;}
21883 { (exit 77); exit 77; }; }
21885 ac_cv_sizeof_wchar_t=0
21889 cat >conftest.$ac_ext <<_ACEOF
21892 cat confdefs.h >>conftest.$ac_ext
21893 cat >>conftest.$ac_ext <<_ACEOF
21894 /* end confdefs.h. */
21896 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21897 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21898 # error "fake wchar_t
"
21900 #ifdef HAVE_WCHAR_H
21902 # include <stddef.h>
21904 # include <wchar.h>
21906 #ifdef HAVE_STDLIB_H
21907 # include <stdlib.h>
21913 typedef wchar_t ac__type_sizeof_;
21914 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21915 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21917 #include <stdlib.h>
21922 FILE *f = fopen ("conftest.val
", "w
");
21925 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21927 long int i = longval ();
21928 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21930 fprintf (f, "%ld
\n", i);
21934 unsigned long int i = ulongval ();
21935 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21937 fprintf (f, "%lu
\n", i);
21939 return ferror (f) || fclose (f) != 0;
21945 rm -f conftest$ac_exeext
21946 if { (ac_try="$ac_link"
21947 case "(($ac_try" in
21948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21949 *) ac_try_echo=$ac_try;;
21951 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21952 (eval "$ac_link") 2>&5
21954 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21955 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21956 { (case "(($ac_try" in
21957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21958 *) ac_try_echo=$ac_try;;
21960 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21961 (eval "$ac_try") 2>&5
21963 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21964 (exit $ac_status); }; }; then
21965 ac_cv_sizeof_wchar_t=`cat conftest.val`
21967 echo "$as_me: program exited with status
$ac_status" >&5
21968 echo "$as_me: failed program was
:" >&5
21969 sed 's/^/| /' conftest.$ac_ext >&5
21971 ( exit $ac_status )
21972 if test "$ac_cv_type_wchar_t" = yes; then
21973 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(wchar_t
)
21974 See \
`config.log' for more details." >&5
21975 echo "$as_me: error: cannot compute sizeof (wchar_t)
21976 See \`config.log
' for more details." >&2;}
21977 { (exit 77); exit 77; }; }
21979 ac_cv_sizeof_wchar_t=0
21982 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21986 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
21987 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
21991 cat >>confdefs.h <<_ACEOF
21992 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
21996 if test "$ac_cv_sizeof_wchar_t" != "0"; then
22002 { echo "$as_me:$LINENO: checking for va_copy" >&5
22003 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
22004 if test "${wx_cv_func_va_copy+set}" = set; then
22005 echo $ECHO_N "(cached) $ECHO_C" >&6
22008 cat >conftest.$ac_ext <<_ACEOF
22010 #include <stdarg.h>
22011 void foo(char *f, ...)
22025 rm -f conftest.$ac_objext conftest$ac_exeext
22026 if { (ac_try="$ac_link"
22027 case "(($ac_try" in
22028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22029 *) ac_try_echo=$ac_try;;
22031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22032 (eval "$ac_link") 2>conftest.er1
22034 grep -v '^
*+' conftest.er1 >conftest.err
22036 cat conftest.err >&5
22037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22038 (exit $ac_status); } && {
22039 test -z "$ac_c_werror_flag" ||
22040 test ! -s conftest.err
22041 } && test -s conftest$ac_exeext &&
22042 $as_test_x conftest$ac_exeext; then
22043 wx_cv_func_va_copy=yes
22045 echo "$as_me: failed program was:" >&5
22046 sed 's
/^
/| /' conftest.$ac_ext >&5
22048 wx_cv_func_va_copy=no
22052 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22053 conftest$ac_exeext conftest.$ac_ext
22057 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22058 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
22060 if test $wx_cv_func_va_copy = "yes"; then
22061 cat >>confdefs.h <<\_ACEOF
22062 #define HAVE_VA_COPY 1
22066 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22067 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
22068 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22069 echo $ECHO_N "(cached) $ECHO_C" >&6
22072 if test "$cross_compiling" = yes; then
22073 wx_cv_type_va_list_lvalue=yes
22076 cat >conftest.$ac_ext <<_ACEOF
22078 #include <stdarg.h>
22079 int foo(char *f, ...)
22084 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22092 return foo("hi", 17);
22095 rm -f conftest$ac_exeext
22096 if { (ac_try="$ac_link"
22097 case "(($ac_try" in
22098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22099 *) ac_try_echo=$ac_try;;
22101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22102 (eval "$ac_link") 2>&5
22104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22105 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
22106 { (case "(($ac_try" in
22107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22108 *) ac_try_echo=$ac_try;;
22110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22111 (eval "$ac_try") 2>&5
22113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22114 (exit $ac_status); }; }; then
22115 wx_cv_type_va_list_lvalue=yes
22117 echo "$as_me: program exited with status $ac_status" >&5
22118 echo "$as_me: failed program was:" >&5
22119 sed 's
/^
/| /' conftest.$ac_ext >&5
22121 ( exit $ac_status )
22122 wx_cv_type_va_list_lvalue=no
22124 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22131 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22132 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
22134 if test $wx_cv_type_va_list_lvalue != "yes"; then
22135 cat >>confdefs.h <<\_ACEOF
22136 #define VA_LIST_IS_ARRAY 1
22142 if test "$wxUSE_VARARG_MACROS" = "yes"; then
22144 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
22145 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
22146 if test "${wx_cv_have_variadic_macros+set}" = set; then
22147 echo $ECHO_N "(cached) $ECHO_C" >&6
22151 ac_cpp='$CXXCPP $CPPFLAGS'
22152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22153 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22156 cat >conftest.$ac_ext <<_ACEOF
22159 cat confdefs.h >>conftest.$ac_ext
22160 cat >>conftest.$ac_ext <<_ACEOF
22161 /* end confdefs.h. */
22164 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
22170 test("%s %d %p", "test", 1, 0);
22177 rm -f conftest.$ac_objext
22178 if { (ac_try="$ac_compile"
22179 case "(($ac_try" in
22180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22181 *) ac_try_echo=$ac_try;;
22183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22184 (eval "$ac_compile") 2>conftest.er1
22186 grep -v '^
*+' conftest.er1 >conftest.err
22188 cat conftest.err >&5
22189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22190 (exit $ac_status); } && {
22191 test -z "$ac_cxx_werror_flag" ||
22192 test ! -s conftest.err
22193 } && test -s conftest.$ac_objext; then
22194 wx_cv_have_variadic_macros=yes
22196 echo "$as_me: failed program was:" >&5
22197 sed 's
/^
/| /' conftest.$ac_ext >&5
22199 wx_cv_have_variadic_macros=no
22203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22205 ac_cpp='$CPP $CPPFLAGS'
22206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22207 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22213 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
22214 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
22216 if test $wx_cv_have_variadic_macros = "yes"; then
22217 cat >>confdefs.h <<\_ACEOF
22218 #define HAVE_VARIADIC_MACROS 1
22224 # Check whether --enable-largefile was given.
22225 if test "${enable_largefile+set}" = set; then
22226 enableval=$enable_largefile;
22229 if test "$enable_largefile" != no; then
22232 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
22233 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
22234 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
22235 echo $ECHO_N "(cached) $ECHO_C" >&6
22238 cat >conftest.$ac_ext <<_ACEOF
22241 cat confdefs.h >>conftest.$ac_ext
22242 cat >>conftest.$ac_ext <<_ACEOF
22243 /* end confdefs.h. */
22244 #define _FILE_OFFSET_BITS 64
22245 #include <sys/types.h>
22250 unsigned int field: sizeof(off_t) == 8;
22257 rm -f conftest.$ac_objext
22258 if { (ac_try="$ac_compile"
22259 case "(($ac_try" in
22260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22261 *) ac_try_echo=$ac_try;;
22263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22264 (eval "$ac_compile") 2>conftest.er1
22266 grep -v '^
*+' conftest.er1 >conftest.err
22268 cat conftest.err >&5
22269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22270 (exit $ac_status); } && {
22271 test -z "$ac_c_werror_flag" ||
22272 test ! -s conftest.err
22273 } && test -s conftest.$ac_objext; then
22274 ac_cv_sys_file_offset_bits=64
22276 echo "$as_me: failed program was:" >&5
22277 sed 's
/^
/| /' conftest.$ac_ext >&5
22279 ac_cv_sys_file_offset_bits=no
22282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22286 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
22287 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
22289 if test "$ac_cv_sys_file_offset_bits" != no; then
22291 cat >>confdefs.h <<_ACEOF
22292 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
22297 if test "x$wx_largefile" != "xyes"; then
22299 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
22300 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
22301 if test "${ac_cv_sys_large_files+set}" = set; then
22302 echo $ECHO_N "(cached) $ECHO_C" >&6
22305 cat >conftest.$ac_ext <<_ACEOF
22308 cat confdefs.h >>conftest.$ac_ext
22309 cat >>conftest.$ac_ext <<_ACEOF
22310 /* end confdefs.h. */
22311 #define _LARGE_FILES 1
22312 #include <sys/types.h>
22317 unsigned int field: sizeof(off_t) == 8;
22324 rm -f conftest.$ac_objext
22325 if { (ac_try="$ac_compile"
22326 case "(($ac_try" in
22327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22328 *) ac_try_echo=$ac_try;;
22330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22331 (eval "$ac_compile") 2>conftest.er1
22333 grep -v '^
*+' conftest.er1 >conftest.err
22335 cat conftest.err >&5
22336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22337 (exit $ac_status); } && {
22338 test -z "$ac_c_werror_flag" ||
22339 test ! -s conftest.err
22340 } && test -s conftest.$ac_objext; then
22341 ac_cv_sys_large_files=1
22343 echo "$as_me: failed program was:" >&5
22344 sed 's
/^
/| /' conftest.$ac_ext >&5
22346 ac_cv_sys_large_files=no
22349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22353 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
22354 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
22356 if test "$ac_cv_sys_large_files" != no; then
22358 cat >>confdefs.h <<_ACEOF
22359 #define _LARGE_FILES $ac_cv_sys_large_files
22366 { echo "$as_me:$LINENO: checking if large file support is available" >&5
22367 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
22368 if test "x$wx_largefile" = "xyes"; then
22369 cat >>confdefs.h <<\_ACEOF
22370 #define HAVE_LARGEFILE_SUPPORT 1
22374 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
22375 echo "${ECHO_T}$wx_largefile" >&6; }
22379 if test "x$wx_largefile" = "xyes"; then
22380 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
22381 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
22383 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
22384 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
22385 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
22386 if test "${wx_cv_STDC_EXT_required+set}" = set; then
22387 echo $ECHO_N "(cached) $ECHO_C" >&6
22391 ac_cpp='$CXXCPP $CPPFLAGS'
22392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22393 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22396 cat >conftest.$ac_ext <<_ACEOF
22399 cat confdefs.h >>conftest.$ac_ext
22400 cat >>conftest.$ac_ext <<_ACEOF
22401 /* end confdefs.h. */
22407 #ifndef __STDC_EXT__
22415 rm -f conftest.$ac_objext
22416 if { (ac_try="$ac_compile"
22417 case "(($ac_try" in
22418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22419 *) ac_try_echo=$ac_try;;
22421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22422 (eval "$ac_compile") 2>conftest.er1
22424 grep -v '^
*+' conftest.er1 >conftest.err
22426 cat conftest.err >&5
22427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22428 (exit $ac_status); } && {
22429 test -z "$ac_cxx_werror_flag" ||
22430 test ! -s conftest.err
22431 } && test -s conftest.$ac_objext; then
22432 wx_cv_STDC_EXT_required=no
22434 echo "$as_me: failed program was:" >&5
22435 sed 's
/^
/| /' conftest.$ac_ext >&5
22437 wx_cv_STDC_EXT_required=yes
22441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22443 ac_cpp='$CPP $CPPFLAGS'
22444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22445 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22451 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
22452 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
22453 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
22454 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
22458 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
22460 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
22461 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
22462 if test "${ac_cv_sys_largefile_source+set}" = set; then
22463 echo $ECHO_N "(cached) $ECHO_C" >&6
22466 cat >conftest.$ac_ext <<_ACEOF
22469 cat confdefs.h >>conftest.$ac_ext
22470 cat >>conftest.$ac_ext <<_ACEOF
22471 /* end confdefs.h. */
22476 return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0);
22481 rm -f conftest.$ac_objext conftest$ac_exeext
22482 if { (ac_try="$ac_link"
22483 case "(($ac_try" in
22484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22485 *) ac_try_echo=$ac_try;;
22487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22488 (eval "$ac_link") 2>conftest.er1
22490 grep -v '^
*+' conftest.er1 >conftest.err
22492 cat conftest.err >&5
22493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22494 (exit $ac_status); } && {
22495 test -z "$ac_c_werror_flag" ||
22496 test ! -s conftest.err
22497 } && test -s conftest$ac_exeext &&
22498 $as_test_x conftest$ac_exeext; then
22499 ac_cv_sys_largefile_source=no; break
22501 echo "$as_me: failed program was:" >&5
22502 sed 's
/^
/| /' conftest.$ac_ext >&5
22507 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22508 conftest$ac_exeext conftest.$ac_ext
22509 cat >conftest.$ac_ext <<_ACEOF
22512 cat confdefs.h >>conftest.$ac_ext
22513 cat >>conftest.$ac_ext <<_ACEOF
22514 /* end confdefs.h. */
22515 #define _LARGEFILE_SOURCE 1
22520 return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0);
22525 rm -f conftest.$ac_objext conftest$ac_exeext
22526 if { (ac_try="$ac_link"
22527 case "(($ac_try" in
22528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22529 *) ac_try_echo=$ac_try;;
22531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22532 (eval "$ac_link") 2>conftest.er1
22534 grep -v '^
*+' conftest.er1 >conftest.err
22536 cat conftest.err >&5
22537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22538 (exit $ac_status); } && {
22539 test -z "$ac_c_werror_flag" ||
22540 test ! -s conftest.err
22541 } && test -s conftest$ac_exeext &&
22542 $as_test_x conftest$ac_exeext; then
22543 ac_cv_sys_largefile_source=1; break
22545 echo "$as_me: failed program was:" >&5
22546 sed 's
/^
/| /' conftest.$ac_ext >&5
22551 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22552 conftest$ac_exeext conftest.$ac_ext
22553 ac_cv_sys_largefile_source=unknown
22557 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22558 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
22559 case $ac_cv_sys_largefile_source in #(
22562 cat >>confdefs.h <<_ACEOF
22563 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22569 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22570 # in glibc 2.1.3, but that breaks too many other things.
22571 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22572 if test $ac_cv_sys_largefile_source != unknown; then
22574 cat >>confdefs.h <<\_ACEOF
22575 #define HAVE_FSEEKO 1
22580 if test "$ac_cv_sys_largefile_source" != no; then
22581 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
22585 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22586 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
22587 if test "${ac_cv_c_bigendian+set}" = set; then
22588 echo $ECHO_N "(cached) $ECHO_C" >&6
22590 ac_cv_c_bigendian=unknown
22591 # See if sys/param.h defines the BYTE_ORDER macro.
22592 cat >conftest.$ac_ext <<_ACEOF
22595 cat confdefs.h >>conftest.$ac_ext
22596 cat >>conftest.$ac_ext <<_ACEOF
22597 /* end confdefs.h. */
22598 #include <sys/types.h>
22599 #include <sys/param.h>
22604 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22605 bogus endian macros
22611 rm -f conftest.$ac_objext
22612 if { (ac_try="$ac_compile"
22613 case "(($ac_try" in
22614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22615 *) ac_try_echo=$ac_try;;
22617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22618 (eval "$ac_compile") 2>conftest.er1
22620 grep -v '^
*+' conftest.er1 >conftest.err
22622 cat conftest.err >&5
22623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22624 (exit $ac_status); } && {
22625 test -z "$ac_c_werror_flag" ||
22626 test ! -s conftest.err
22627 } && test -s conftest.$ac_objext; then
22628 # It does; now see whether it defined to BIG_ENDIAN or not.
22629 cat >conftest.$ac_ext <<_ACEOF
22632 cat confdefs.h >>conftest.$ac_ext
22633 cat >>conftest.$ac_ext <<_ACEOF
22634 /* end confdefs.h. */
22635 #include <sys/types.h>
22636 #include <sys/param.h>
22641 #if BYTE_ORDER != BIG_ENDIAN
22648 rm -f conftest.$ac_objext
22649 if { (ac_try="$ac_compile"
22650 case "(($ac_try" in
22651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22652 *) ac_try_echo=$ac_try;;
22654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22655 (eval "$ac_compile") 2>conftest.er1
22657 grep -v '^
*+' conftest.er1 >conftest.err
22659 cat conftest.err >&5
22660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22661 (exit $ac_status); } && {
22662 test -z "$ac_c_werror_flag" ||
22663 test ! -s conftest.err
22664 } && test -s conftest.$ac_objext; then
22665 ac_cv_c_bigendian=yes
22667 echo "$as_me: failed program was:" >&5
22668 sed 's
/^
/| /' conftest.$ac_ext >&5
22670 ac_cv_c_bigendian=no
22673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22675 echo "$as_me: failed program was:" >&5
22676 sed 's
/^
/| /' conftest.$ac_ext >&5
22681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22682 if test $ac_cv_c_bigendian = unknown; then
22683 if test "$cross_compiling" = yes; then
22684 ac_cv_c_bigendian=unknown
22686 cat >conftest.$ac_ext <<_ACEOF
22689 cat confdefs.h >>conftest.$ac_ext
22690 cat >>conftest.$ac_ext <<_ACEOF
22691 /* end confdefs.h. */
22693 /* Are we little or big endian? From Harbison&Steele. */
22697 char c[sizeof (long)];
22700 exit (u.c[sizeof (long) - 1] == 1);
22703 rm -f conftest$ac_exeext
22704 if { (ac_try="$ac_link"
22705 case "(($ac_try" in
22706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22707 *) ac_try_echo=$ac_try;;
22709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22710 (eval "$ac_link") 2>&5
22712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22713 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
22714 { (case "(($ac_try" in
22715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22716 *) ac_try_echo=$ac_try;;
22718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22719 (eval "$ac_try") 2>&5
22721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22722 (exit $ac_status); }; }; then
22723 ac_cv_c_bigendian=no
22725 echo "$as_me: program exited with status $ac_status" >&5
22726 echo "$as_me: failed program was:" >&5
22727 sed 's
/^
/| /' conftest.$ac_ext >&5
22729 ( exit $ac_status )
22730 ac_cv_c_bigendian=yes
22732 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22738 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
22739 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
22740 if test $ac_cv_c_bigendian = unknown; then
22741 { 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
22742 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;}
22744 if test $ac_cv_c_bigendian = yes; then
22745 cat >>confdefs.h <<\_ACEOF
22746 #define WORDS_BIGENDIAN 1
22755 ac_cpp='$CXXCPP $CPPFLAGS'
22756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22757 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22761 { echo "$as_me:$LINENO: checking for iostream" >&5
22762 echo $ECHO_N "checking for iostream... $ECHO_C" >&6; }
22763 if test "${ac_cv_header_iostream+set}" = set; then
22764 echo $ECHO_N "(cached) $ECHO_C" >&6
22766 cat >conftest.$ac_ext <<_ACEOF
22769 cat confdefs.h >>conftest.$ac_ext
22770 cat >>conftest.$ac_ext <<_ACEOF
22771 /* end confdefs.h. */
22774 #include <iostream>
22776 rm -f conftest.$ac_objext
22777 if { (ac_try="$ac_compile"
22778 case "(($ac_try" in
22779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22780 *) ac_try_echo=$ac_try;;
22782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22783 (eval "$ac_compile") 2>conftest.er1
22785 grep -v '^
*+' conftest.er1 >conftest.err
22787 cat conftest.err >&5
22788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22789 (exit $ac_status); } && {
22790 test -z "$ac_cxx_werror_flag" ||
22791 test ! -s conftest.err
22792 } && test -s conftest.$ac_objext; then
22793 ac_cv_header_iostream=yes
22795 echo "$as_me: failed program was:" >&5
22796 sed 's
/^
/| /' conftest.$ac_ext >&5
22798 ac_cv_header_iostream=no
22801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22803 { echo "$as_me:$LINENO: result: $ac_cv_header_iostream" >&5
22804 echo "${ECHO_T}$ac_cv_header_iostream" >&6; }
22808 if test "$ac_cv_header_iostream" = "yes" ; then
22811 cat >>confdefs.h <<\_ACEOF
22812 #define wxUSE_IOSTREAMH 1
22818 ac_cpp='$CPP $CPPFLAGS'
22819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22820 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22826 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
22827 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
22828 if test "${wx_cv_cpp_bool+set}" = set; then
22829 echo $ECHO_N "(cached) $ECHO_C" >&6
22834 ac_cpp='$CXXCPP $CPPFLAGS'
22835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22836 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22840 cat >conftest.$ac_ext <<_ACEOF
22843 cat confdefs.h >>conftest.$ac_ext
22844 cat >>conftest.$ac_ext <<_ACEOF
22845 /* end confdefs.h. */
22860 rm -f conftest.$ac_objext
22861 if { (ac_try="$ac_compile"
22862 case "(($ac_try" in
22863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22864 *) ac_try_echo=$ac_try;;
22866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22867 (eval "$ac_compile") 2>conftest.er1
22869 grep -v '^
*+' conftest.er1 >conftest.err
22871 cat conftest.err >&5
22872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22873 (exit $ac_status); } && {
22874 test -z "$ac_cxx_werror_flag" ||
22875 test ! -s conftest.err
22876 } && test -s conftest.$ac_objext; then
22881 echo "$as_me: failed program was:" >&5
22882 sed 's
/^
/| /' conftest.$ac_ext >&5
22890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22893 ac_cpp='$CPP $CPPFLAGS'
22894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22895 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22900 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
22901 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
22903 if test "$wx_cv_cpp_bool" = "yes"; then
22904 cat >>confdefs.h <<\_ACEOF
22905 #define HAVE_BOOL 1
22912 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
22913 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
22914 if test "${wx_cv_explicit+set}" = set; then
22915 echo $ECHO_N "(cached) $ECHO_C" >&6
22920 ac_cpp='$CXXCPP $CPPFLAGS'
22921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22922 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22926 cat >conftest.$ac_ext <<_ACEOF
22929 cat confdefs.h >>conftest.$ac_ext
22930 cat >>conftest.$ac_ext <<_ACEOF
22931 /* end confdefs.h. */
22933 class Foo { public: explicit Foo(int) {} };
22945 rm -f conftest.$ac_objext
22946 if { (ac_try="$ac_compile"
22947 case "(($ac_try" in
22948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22949 *) ac_try_echo=$ac_try;;
22951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22952 (eval "$ac_compile") 2>conftest.er1
22954 grep -v '^
*+' conftest.er1 >conftest.err
22956 cat conftest.err >&5
22957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22958 (exit $ac_status); } && {
22959 test -z "$ac_cxx_werror_flag" ||
22960 test ! -s conftest.err
22961 } && test -s conftest.$ac_objext; then
22963 cat >conftest.$ac_ext <<_ACEOF
22966 cat confdefs.h >>conftest.$ac_ext
22967 cat >>conftest.$ac_ext <<_ACEOF
22968 /* end confdefs.h. */
22970 class Foo { public: explicit Foo(int) {} };
22971 static void TakeFoo(const Foo& foo) { }
22984 rm -f conftest.$ac_objext
22985 if { (ac_try="$ac_compile"
22986 case "(($ac_try" in
22987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22988 *) ac_try_echo=$ac_try;;
22990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22991 (eval "$ac_compile") 2>conftest.er1
22993 grep -v '^
*+' conftest.er1 >conftest.err
22995 cat conftest.err >&5
22996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22997 (exit $ac_status); } && {
22998 test -z "$ac_cxx_werror_flag" ||
22999 test ! -s conftest.err
23000 } && test -s conftest.$ac_objext; then
23003 echo "$as_me: failed program was:" >&5
23004 sed 's
/^
/| /' conftest.$ac_ext >&5
23010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23013 echo "$as_me: failed program was:" >&5
23014 sed 's
/^
/| /' conftest.$ac_ext >&5
23020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23023 ac_cpp='$CPP $CPPFLAGS'
23024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23025 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23030 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23031 echo "${ECHO_T}$wx_cv_explicit" >&6; }
23033 if test "$wx_cv_explicit" = "yes"; then
23034 cat >>confdefs.h <<\_ACEOF
23035 #define HAVE_EXPLICIT 1
23041 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
23042 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
23043 if test "${ac_cv_cxx_const_cast+set}" = set; then
23044 echo $ECHO_N "(cached) $ECHO_C" >&6
23048 ac_cpp='$CXXCPP $CPPFLAGS'
23049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23050 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23053 cat >conftest.$ac_ext <<_ACEOF
23056 cat confdefs.h >>conftest.$ac_ext
23057 cat >>conftest.$ac_ext <<_ACEOF
23058 /* end confdefs.h. */
23063 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23068 rm -f conftest.$ac_objext
23069 if { (ac_try="$ac_compile"
23070 case "(($ac_try" in
23071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23072 *) ac_try_echo=$ac_try;;
23074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23075 (eval "$ac_compile") 2>conftest.er1
23077 grep -v '^
*+' conftest.er1 >conftest.err
23079 cat conftest.err >&5
23080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23081 (exit $ac_status); } && {
23082 test -z "$ac_cxx_werror_flag" ||
23083 test ! -s conftest.err
23084 } && test -s conftest.$ac_objext; then
23085 ac_cv_cxx_const_cast=yes
23087 echo "$as_me: failed program was:" >&5
23088 sed 's
/^
/| /' conftest.$ac_ext >&5
23090 ac_cv_cxx_const_cast=no
23093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23095 ac_cpp='$CPP $CPPFLAGS'
23096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23097 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23102 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23103 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
23104 if test "$ac_cv_cxx_const_cast" = yes; then
23106 cat >>confdefs.h <<\_ACEOF
23107 #define HAVE_CONST_CAST
23112 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23113 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
23114 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23115 echo $ECHO_N "(cached) $ECHO_C" >&6
23119 ac_cpp='$CXXCPP $CPPFLAGS'
23120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23121 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23124 cat >conftest.$ac_ext <<_ACEOF
23127 cat confdefs.h >>conftest.$ac_ext
23128 cat >>conftest.$ac_ext <<_ACEOF
23129 /* end confdefs.h. */
23130 #include <typeinfo>
23131 class Base { public : Base () {} virtual void f () = 0;};
23132 class Derived : public Base { public : Derived () {} virtual void f () {} };
23133 class Unrelated { public : Unrelated () {} };
23134 int g (Unrelated&) { return 0; }
23139 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23144 rm -f conftest.$ac_objext
23145 if { (ac_try="$ac_compile"
23146 case "(($ac_try" in
23147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23148 *) ac_try_echo=$ac_try;;
23150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23151 (eval "$ac_compile") 2>conftest.er1
23153 grep -v '^
*+' conftest.er1 >conftest.err
23155 cat conftest.err >&5
23156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23157 (exit $ac_status); } && {
23158 test -z "$ac_cxx_werror_flag" ||
23159 test ! -s conftest.err
23160 } && test -s conftest.$ac_objext; then
23161 ac_cv_cxx_reinterpret_cast=yes
23163 echo "$as_me: failed program was:" >&5
23164 sed 's
/^
/| /' conftest.$ac_ext >&5
23166 ac_cv_cxx_reinterpret_cast=no
23169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23171 ac_cpp='$CPP $CPPFLAGS'
23172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23173 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23178 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23179 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
23180 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23182 cat >>confdefs.h <<\_ACEOF
23183 #define HAVE_REINTERPRET_CAST
23188 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23189 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
23190 if test "${ac_cv_cxx_static_cast+set}" = set; then
23191 echo $ECHO_N "(cached) $ECHO_C" >&6
23195 ac_cpp='$CXXCPP $CPPFLAGS'
23196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23197 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23200 cat >conftest.$ac_ext <<_ACEOF
23203 cat confdefs.h >>conftest.$ac_ext
23204 cat >>conftest.$ac_ext <<_ACEOF
23205 /* end confdefs.h. */
23206 #include <typeinfo>
23207 class Base { public : Base () {} virtual void f () = 0; };
23208 class Derived : public Base { public : Derived () {} virtual void f () {} };
23209 int g (Derived&) { return 0; }
23214 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23219 rm -f conftest.$ac_objext
23220 if { (ac_try="$ac_compile"
23221 case "(($ac_try" in
23222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23223 *) ac_try_echo=$ac_try;;
23225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23226 (eval "$ac_compile") 2>conftest.er1
23228 grep -v '^
*+' conftest.er1 >conftest.err
23230 cat conftest.err >&5
23231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23232 (exit $ac_status); } && {
23233 test -z "$ac_cxx_werror_flag" ||
23234 test ! -s conftest.err
23235 } && test -s conftest.$ac_objext; then
23236 ac_cv_cxx_static_cast=yes
23238 echo "$as_me: failed program was:" >&5
23239 sed 's
/^
/| /' conftest.$ac_ext >&5
23241 ac_cv_cxx_static_cast=no
23244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23246 ac_cpp='$CPP $CPPFLAGS'
23247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23248 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23253 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23254 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
23255 if test "$ac_cv_cxx_static_cast" = yes; then
23257 cat >>confdefs.h <<\_ACEOF
23258 #define HAVE_STATIC_CAST
23264 if test "x$SUNCXX" = xyes; then
23265 CXXFLAGS="-features=tmplife $CXXFLAGS"
23268 if test "x$SUNCC" = xyes; then
23269 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23272 if test "x$SGICC" = "xyes"; then
23273 CFLAGS="-woff 3970 $CFLAGS"
23275 if test "x$SGICXX" = "xyes"; then
23276 CXXFLAGS="-woff 3970 $CXXFLAGS"
23279 if test "x$HPCC" = "xyes"; then
23280 CFLAGS="+W 2011,2450 $CFLAGS"
23282 if test "x$HPCXX" = "xyes"; then
23283 CXXFLAGS="+W 2340 $CXXFLAGS"
23286 if test "x$COMPAQCXX" = "xyes"; then
23287 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23291 ac_cpp='$CXXCPP $CPPFLAGS'
23292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23293 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23297 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23298 if test "$wxUSE_UNICODE" = "yes"; then
23299 std_string="std::wstring"
23300 char_type="wchar_t"
23302 std_string="std::string"
23306 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23307 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
23308 if test "${wx_cv_class_stdstring+set}" = set; then
23309 echo $ECHO_N "(cached) $ECHO_C" >&6
23312 cat >conftest.$ac_ext <<_ACEOF
23315 cat confdefs.h >>conftest.$ac_ext
23316 cat >>conftest.$ac_ext <<_ACEOF
23317 /* end confdefs.h. */
23327 rm -f conftest.$ac_objext
23328 if { (ac_try="$ac_compile"
23329 case "(($ac_try" in
23330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23331 *) ac_try_echo=$ac_try;;
23333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23334 (eval "$ac_compile") 2>conftest.er1
23336 grep -v '^
*+' conftest.er1 >conftest.err
23338 cat conftest.err >&5
23339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23340 (exit $ac_status); } && {
23341 test -z "$ac_cxx_werror_flag" ||
23342 test ! -s conftest.err
23343 } && test -s conftest.$ac_objext; then
23344 wx_cv_class_stdstring=yes
23346 echo "$as_me: failed program was:" >&5
23347 sed 's
/^
/| /' conftest.$ac_ext >&5
23349 wx_cv_class_stdstring=no
23353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23357 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
23358 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
23360 if test "$wx_cv_class_stdstring" = yes; then
23361 if test "$wxUSE_UNICODE" = "yes"; then
23362 cat >>confdefs.h <<\_ACEOF
23363 #define HAVE_STD_WSTRING 1
23368 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23369 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
23370 if test "${wx_cv_class_stdbasicstring+set}" = set; then
23371 echo $ECHO_N "(cached) $ECHO_C" >&6
23374 cat >conftest.$ac_ext <<_ACEOF
23377 cat confdefs.h >>conftest.$ac_ext
23378 cat >>conftest.$ac_ext <<_ACEOF
23379 /* end confdefs.h. */
23381 #ifdef HAVE_WCHAR_H
23383 # include <stddef.h>
23385 # include <wchar.h>
23387 #ifdef HAVE_STDLIB_H
23388 # include <stdlib.h>
23396 std::basic_string<$char_type> foo;
23397 const $char_type* dummy = foo.c_str();
23402 rm -f conftest.$ac_objext
23403 if { (ac_try="$ac_compile"
23404 case "(($ac_try" in
23405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23406 *) ac_try_echo=$ac_try;;
23408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23409 (eval "$ac_compile") 2>conftest.er1
23411 grep -v '^
*+' conftest.er1 >conftest.err
23413 cat conftest.err >&5
23414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23415 (exit $ac_status); } && {
23416 test -z "$ac_cxx_werror_flag" ||
23417 test ! -s conftest.err
23418 } && test -s conftest.$ac_objext; then
23419 wx_cv_class_stdbasicstring=yes
23421 echo "$as_me: failed program was:" >&5
23422 sed 's
/^
/| /' conftest.$ac_ext >&5
23424 wx_cv_class_stdbasicstring=no
23428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23432 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
23433 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
23435 if test "$wx_cv_class_stdbasicstring" != yes; then
23436 if test "$wxUSE_STL" = "yes"; then
23437 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl without
$std_string or std
::basic_string
<$char_type>" >&5
23438 echo "$as_me: error
: Can
't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
23439 { (exit 1); exit 1; }; }
23440 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
23441 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_string without
$std_string or std
::basic_string
<$char_type>" >&5
23442 echo "$as_me: error
: Can
't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
23443 { (exit 1); exit 1; }; }
23445 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
23446 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
23447 wxUSE_STD_STRING=no
23453 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23454 { echo "$as_me:$LINENO: checking for std::istream" >&5
23455 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
23456 if test "${ac_cv_type_std__istream+set}" = set; then
23457 echo $ECHO_N "(cached) $ECHO_C" >&6
23459 cat >conftest.$ac_ext <<_ACEOF
23462 cat confdefs.h >>conftest.$ac_ext
23463 cat >>conftest.$ac_ext <<_ACEOF
23464 /* end confdefs.h. */
23465 #include <iostream>
23467 typedef std::istream ac__type_new_;
23471 if ((ac__type_new_ *) 0)
23473 if (sizeof (ac__type_new_))
23479 rm -f conftest.$ac_objext
23480 if { (ac_try="$ac_compile"
23481 case "(($ac_try" in
23482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23483 *) ac_try_echo=$ac_try;;
23485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23486 (eval "$ac_compile") 2>conftest.er1
23488 grep -v '^
*+' conftest.er1 >conftest.err
23490 cat conftest.err >&5
23491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23492 (exit $ac_status); } && {
23493 test -z "$ac_cxx_werror_flag" ||
23494 test ! -s conftest.err
23495 } && test -s conftest.$ac_objext; then
23496 ac_cv_type_std__istream=yes
23498 echo "$as_me: failed program was:" >&5
23499 sed 's
/^
/| /' conftest.$ac_ext >&5
23501 ac_cv_type_std__istream=no
23504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23506 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
23507 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
23508 if test $ac_cv_type_std__istream = yes; then
23510 cat >>confdefs.h <<_ACEOF
23511 #define HAVE_STD__ISTREAM 1
23516 wxUSE_STD_IOSTREAM=no
23518 { echo "$as_me:$LINENO: checking for std::ostream" >&5
23519 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
23520 if test "${ac_cv_type_std__ostream+set}" = set; then
23521 echo $ECHO_N "(cached) $ECHO_C" >&6
23523 cat >conftest.$ac_ext <<_ACEOF
23526 cat confdefs.h >>conftest.$ac_ext
23527 cat >>conftest.$ac_ext <<_ACEOF
23528 /* end confdefs.h. */
23529 #include <iostream>
23531 typedef std::ostream ac__type_new_;
23535 if ((ac__type_new_ *) 0)
23537 if (sizeof (ac__type_new_))
23543 rm -f conftest.$ac_objext
23544 if { (ac_try="$ac_compile"
23545 case "(($ac_try" in
23546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23547 *) ac_try_echo=$ac_try;;
23549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23550 (eval "$ac_compile") 2>conftest.er1
23552 grep -v '^
*+' conftest.er1 >conftest.err
23554 cat conftest.err >&5
23555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23556 (exit $ac_status); } && {
23557 test -z "$ac_cxx_werror_flag" ||
23558 test ! -s conftest.err
23559 } && test -s conftest.$ac_objext; then
23560 ac_cv_type_std__ostream=yes
23562 echo "$as_me: failed program was:" >&5
23563 sed 's
/^
/| /' conftest.$ac_ext >&5
23565 ac_cv_type_std__ostream=no
23568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23570 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
23571 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
23572 if test $ac_cv_type_std__ostream = yes; then
23574 cat >>confdefs.h <<_ACEOF
23575 #define HAVE_STD__OSTREAM 1
23580 wxUSE_STD_IOSTREAM=no
23584 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
23585 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
23586 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_iostreams without std
::istream and std
::ostream
" >&5
23587 echo "$as_me: error
: Can
't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
23588 { (exit 1); exit 1; }; }
23590 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
23591 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
23596 if test "$wxUSE_STL" = "yes"; then
23597 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
23598 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
23599 if test "${wx_cv_lib_stl+set}" = set; then
23600 echo $ECHO_N "(cached) $ECHO_C" >&6
23602 cat >conftest.$ac_ext <<_ACEOF
23605 cat confdefs.h >>conftest.$ac_ext
23606 cat >>conftest.$ac_ext <<_ACEOF
23607 /* end confdefs.h. */
23609 #include <functional>
23610 #include <algorithm>
23616 std::vector<int> moo;
23617 std::list<int> foo;
23618 std::vector<int>::iterator it =
23619 std::find_if(moo.begin(), moo.end(),
23620 std::bind2nd(std::less<int>(), 3));
23625 rm -f conftest.$ac_objext
23626 if { (ac_try="$ac_compile"
23627 case "(($ac_try" in
23628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23629 *) ac_try_echo=$ac_try;;
23631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23632 (eval "$ac_compile") 2>conftest.er1
23634 grep -v '^
*+' conftest.er1 >conftest.err
23636 cat conftest.err >&5
23637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23638 (exit $ac_status); } && {
23639 test -z "$ac_cxx_werror_flag" ||
23640 test ! -s conftest.err
23641 } && test -s conftest.$ac_objext; then
23644 echo "$as_me: failed program was:" >&5
23645 sed 's
/^
/| /' conftest.$ac_ext >&5
23651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23654 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
23655 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
23657 if test "$wx_cv_lib_stl" != yes; then
23658 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl as basic STL functionality is missing
" >&5
23659 echo "$as_me: error
: Can
't use --enable-stl as basic STL functionality is missing" >&2;}
23660 { (exit 1); exit 1; }; }
23663 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
23664 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
23665 if test "${wx_cv_func_stdstring_compare+set}" = set; then
23666 echo $ECHO_N "(cached) $ECHO_C" >&6
23668 cat >conftest.$ac_ext <<_ACEOF
23671 cat confdefs.h >>conftest.$ac_ext
23672 cat >>conftest.$ac_ext <<_ACEOF
23673 /* end confdefs.h. */
23678 std::string foo, bar;
23680 foo.compare(1, 1, bar);
23681 foo.compare(1, 1, bar, 1, 1);
23683 foo.compare(1, 1, "");
23684 foo.compare(1, 1, "", 2);
23689 rm -f conftest.$ac_objext
23690 if { (ac_try="$ac_compile"
23691 case "(($ac_try" in
23692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23693 *) ac_try_echo=$ac_try;;
23695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23696 (eval "$ac_compile") 2>conftest.er1
23698 grep -v '^
*+' conftest.er1 >conftest.err
23700 cat conftest.err >&5
23701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23702 (exit $ac_status); } && {
23703 test -z "$ac_cxx_werror_flag" ||
23704 test ! -s conftest.err
23705 } && test -s conftest.$ac_objext; then
23706 wx_cv_func_stdstring_compare=yes
23708 echo "$as_me: failed program was:" >&5
23709 sed 's
/^
/| /' conftest.$ac_ext >&5
23711 wx_cv_func_stdstring_compare=no
23715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23718 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
23719 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
23721 if test "$wx_cv_func_stdstring_compare" = yes; then
23722 cat >>confdefs.h <<\_ACEOF
23723 #define HAVE_STD_STRING_COMPARE 1
23728 { echo "$as_me:$LINENO: checking for hash_map" >&5
23729 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
23730 if test "${ac_cv_header_hash_map+set}" = set; then
23731 echo $ECHO_N "(cached) $ECHO_C" >&6
23733 cat >conftest.$ac_ext <<_ACEOF
23736 cat confdefs.h >>conftest.$ac_ext
23737 cat >>conftest.$ac_ext <<_ACEOF
23738 /* end confdefs.h. */
23742 #include <hash_map>
23744 rm -f conftest.$ac_objext
23745 if { (ac_try="$ac_compile"
23746 case "(($ac_try" in
23747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23748 *) ac_try_echo=$ac_try;;
23750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23751 (eval "$ac_compile") 2>conftest.er1
23753 grep -v '^
*+' conftest.er1 >conftest.err
23755 cat conftest.err >&5
23756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23757 (exit $ac_status); } && {
23758 test -z "$ac_cxx_werror_flag" ||
23759 test ! -s conftest.err
23760 } && test -s conftest.$ac_objext; then
23761 ac_cv_header_hash_map=yes
23763 echo "$as_me: failed program was:" >&5
23764 sed 's
/^
/| /' conftest.$ac_ext >&5
23766 ac_cv_header_hash_map=no
23769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23771 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23772 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
23773 if test $ac_cv_header_hash_map = yes; then
23774 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
23775 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
23776 if test "${wx_cv_class_stdhashmapset+set}" = set; then
23777 echo $ECHO_N "(cached) $ECHO_C" >&6
23779 cat >conftest.$ac_ext <<_ACEOF
23782 cat confdefs.h >>conftest.$ac_ext
23783 cat >>conftest.$ac_ext <<_ACEOF
23784 /* end confdefs.h. */
23785 #include <hash_map>
23786 #include <hash_set>
23790 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
23791 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
23796 rm -f conftest.$ac_objext
23797 if { (ac_try="$ac_compile"
23798 case "(($ac_try" in
23799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23800 *) ac_try_echo=$ac_try;;
23802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23803 (eval "$ac_compile") 2>conftest.er1
23805 grep -v '^
*+' conftest.er1 >conftest.err
23807 cat conftest.err >&5
23808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23809 (exit $ac_status); } && {
23810 test -z "$ac_cxx_werror_flag" ||
23811 test ! -s conftest.err
23812 } && test -s conftest.$ac_objext; then
23813 wx_cv_class_stdhashmapset=yes
23815 echo "$as_me: failed program was:" >&5
23816 sed 's
/^
/| /' conftest.$ac_ext >&5
23818 wx_cv_class_stdhashmapset=no
23821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23825 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
23826 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
23831 if test "$wx_cv_class_stdhashmapset" = yes; then
23832 cat >>confdefs.h <<\_ACEOF
23833 #define HAVE_HASH_MAP 1
23836 cat >>confdefs.h <<\_ACEOF
23837 #define HAVE_STD_HASH_MAP 1
23842 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23843 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
23844 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23845 echo $ECHO_N "(cached) $ECHO_C" >&6
23847 cat >conftest.$ac_ext <<_ACEOF
23850 cat confdefs.h >>conftest.$ac_ext
23851 cat >>conftest.$ac_ext <<_ACEOF
23852 /* end confdefs.h. */
23856 #include <ext/hash_map>
23858 rm -f conftest.$ac_objext
23859 if { (ac_try="$ac_compile"
23860 case "(($ac_try" in
23861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23862 *) ac_try_echo=$ac_try;;
23864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23865 (eval "$ac_compile") 2>conftest.er1
23867 grep -v '^
*+' conftest.er1 >conftest.err
23869 cat conftest.err >&5
23870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23871 (exit $ac_status); } && {
23872 test -z "$ac_cxx_werror_flag" ||
23873 test ! -s conftest.err
23874 } && test -s conftest.$ac_objext; then
23875 ac_cv_header_ext_hash_map=yes
23877 echo "$as_me: failed program was:" >&5
23878 sed 's
/^
/| /' conftest.$ac_ext >&5
23880 ac_cv_header_ext_hash_map=no
23883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23885 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23886 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
23887 if test $ac_cv_header_ext_hash_map = yes; then
23888 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
23889 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
23890 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
23891 echo $ECHO_N "(cached) $ECHO_C" >&6
23893 cat >conftest.$ac_ext <<_ACEOF
23896 cat confdefs.h >>conftest.$ac_ext
23897 cat >>conftest.$ac_ext <<_ACEOF
23898 /* end confdefs.h. */
23899 #include <ext/hash_map>
23900 #include <ext/hash_set>
23904 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
23905 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
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
23927 wx_cv_class_gnuhashmapset=yes
23929 echo "$as_me: failed program was:" >&5
23930 sed 's
/^
/| /' conftest.$ac_ext >&5
23932 wx_cv_class_gnuhashmapset=no
23935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23939 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
23940 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
23945 if test "$wx_cv_class_gnuhashmapset" = yes; then
23946 cat >>confdefs.h <<\_ACEOF
23947 #define HAVE_EXT_HASH_MAP 1
23950 cat >>confdefs.h <<\_ACEOF
23951 #define HAVE_GNU_CXX_HASH_MAP 1
23958 ac_cpp='$CPP $CPPFLAGS'
23959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23960 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23966 /usr/local/include \
23968 /usr/Motif-2.1/include \
23969 /usr/Motif-1.2/include \
23970 /usr/include/Motif1.2 \
23973 /usr/openwin/include \
23977 /usr/X11R6/include \
23978 /usr/X11R6.4/include \
23979 /usr/X11R5/include \
23980 /usr/X11R4/include \
23982 /usr/include/X11R6 \
23983 /usr/include/X11R5 \
23984 /usr/include/X11R4 \
23986 /usr/local/X11R6/include \
23987 /usr/local/X11R5/include \
23988 /usr/local/X11R4/include \
23990 /usr/local/include/X11R6 \
23991 /usr/local/include/X11R5 \
23992 /usr/local/include/X11R4 \
23996 /usr/local/X11/include \
23997 /usr/local/include/X11 \
23999 /usr/XFree86/include/X11 \
24002 /usr/openwin/share/include"
24004 { echo "$as_me:$LINENO: checking for libraries directory" >&5
24005 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
24009 if test "${wx_cv_std_libpath+set}" = set; then
24010 echo $ECHO_N "(cached) $ECHO_C" >&6
24013 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
24014 for e in a so sl dylib dll.a; do
24016 if test -f $libc; then
24019 cat >conftest.$ac_ext <<_ACEOF
24020 int main() { return 0; }
24022 rm -f conftest.$ac_objext conftest$ac_exeext
24023 if { (ac_try="$ac_link"
24024 case "(($ac_try" in
24025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24026 *) ac_try_echo=$ac_try;;
24028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24029 (eval "$ac_link") 2>conftest.er1
24031 grep -v '^
*+' conftest.er1 >conftest.err
24033 cat conftest.err >&5
24034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24035 (exit $ac_status); } && {
24036 test -z "$ac_c_werror_flag" ||
24037 test ! -s conftest.err
24038 } && test -s conftest$ac_exeext &&
24039 $as_test_x conftest$ac_exeext; then
24040 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
24042 echo "$as_me: failed program was:" >&5
24043 sed 's
/^
/| /' conftest.$ac_ext >&5
24048 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24049 conftest$ac_exeext conftest.$ac_ext
24051 if test "x$wx_cv_std_libpath" != "x"; then
24057 if test "x$wx_cv_std_libpath" = "x"; then
24058 wx_cv_std_libpath="lib"
24067 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24068 wx_cv_std_libpath="lib/64"
24070 wx_cv_std_libpath="lib"
24075 if test "$ac_cv_sizeof_void_p" = 8 -a \
24076 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24077 wx_cv_std_libpath="lib64"
24079 wx_cv_std_libpath="lib"
24084 wx_cv_std_libpath="lib";
24088 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24089 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
24091 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24093 if test "$build" != "$host" -a "$GCC" = yes; then
24094 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
24095 cross_root=`dirname $cross_root`
24096 cross_root=`dirname $cross_root`
24098 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24099 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24100 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
24102 if test -z "$PKG_CONFIG_PATH"; then
24103 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24104 export PKG_CONFIG_PATH
24107 if test -z "$x_includes" -o "$x_includes" = NONE; then
24110 for ac_dir in $SEARCH_INCLUDE /usr/include;
24112 if test -f "$ac_dir/X11/Intrinsic.h"; then
24113 ac_find_includes=$ac_dir
24118 x_includes=$ac_find_includes
24120 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
24123 for ac_dir in $SEARCH_LIB;
24125 for ac_extension in a so sl dylib dll.a; do
24126 if test -f "$ac_dir/libXt.$ac_extension"; then
24127 ac_find_libraries=$ac_dir
24133 x_libraries=$ac_find_libraries
24139 cat >confcache <<\_ACEOF
24140 # This file is a shell script that caches the results of configure
24141 # tests run on this system so they can be shared between configure
24142 # scripts and configure runs, see configure's option
--config-cache.
24143 # It is not useful on other systems. If it contains results you don't
24144 # want to keep, you may remove or edit it.
24146 # config.status only pays attention to the cache file if you give it
24147 # the --recheck option to rerun configure.
24149 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24150 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24151 # following values.
24155 # The following way of writing the cache mishandles newlines in values,
24156 # but we know of no workaround that is simple, portable, and efficient.
24157 # So, we kill variables containing newlines.
24158 # Ultrix sh set writes to stderr and can't be redirected directly,
24159 # and sets the high bit in the cache file unless we assign to the vars.
24161 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24162 eval ac_val
=\$
$ac_var
24166 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
24167 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
24170 _
| IFS
| as_nl
) ;; #(
24171 *) $as_unset $ac_var ;;
24177 case $as_nl`(ac_space=' '; set) 2>&1` in #(
24178 *${as_nl}ac_space
=\
*)
24179 # `set' does not quote correctly, so add quotes (double-quote
24180 # substitution turns \\\\ into \\, and sed turns \\ into \).
24183 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24186 # `set' quotes correctly as required by POSIX, so do not add quotes.
24187 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
24196 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24198 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24200 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
24201 if test -w "$cache_file"; then
24202 test "x$cache_file" != "x/dev/null" &&
24203 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
24204 echo "$as_me: updating cache $cache_file" >&6;}
24205 cat confcache
>$cache_file
24207 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
24208 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
24213 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24214 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24215 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
24216 if test "${wx_cv_lib_glibc21+set}" = set; then
24217 echo $ECHO_N "(cached) $ECHO_C" >&6
24220 cat >conftest.
$ac_ext <<_ACEOF
24223 cat confdefs.h
>>conftest.
$ac_ext
24224 cat >>conftest.
$ac_ext <<_ACEOF
24225 /* end confdefs.h. */
24226 #include <features.h>
24231 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24239 rm -f conftest.
$ac_objext
24240 if { (ac_try
="$ac_compile"
24241 case "(($ac_try" in
24242 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24243 *) ac_try_echo=$ac_try;;
24245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24246 (eval "$ac_compile") 2>conftest.er1
24248 grep -v '^ *+' conftest.er1 >conftest.err
24250 cat conftest.err >&5
24251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24252 (exit $ac_status); } && {
24253 test -z "$ac_c_werror_flag" ||
24254 test ! -s conftest.err
24255 } && test -s conftest.$ac_objext; then
24257 wx_cv_lib_glibc21=yes
24260 echo "$as_me: failed program was:" >&5
24261 sed 's/^/| /' conftest.$ac_ext >&5
24264 wx_cv_lib_glibc21=no
24269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24272 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24273 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
24274 if test "$wx_cv_lib_glibc21" = "yes"; then
24275 cat >>confdefs.h <<\_ACEOF
24276 #define wxHAVE_GLIBC2 1
24282 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24283 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24284 cat >>confdefs.h <<\_ACEOF
24285 #define _GNU_SOURCE 1
24296 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24297 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24298 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24299 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24300 echo $ECHO_N "(cached) $ECHO_C" >&6
24302 cat >conftest.$ac_ext <<_ACEOF
24305 cat confdefs.h >>conftest.$ac_ext
24306 cat >>conftest.$ac_ext <<_ACEOF
24307 /* end confdefs.h. */
24308 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24309 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24310 #define $ac_func innocuous_$ac_func
24312 /* System header to define __stub macros and hopefully few prototypes,
24313 which can conflict with char $ac_func (); below.
24314 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24315 <limits.h> exists even on freestanding compilers. */
24318 # include <limits.h>
24320 # include <assert.h>
24325 /* Override any GCC internal prototype to avoid an error.
24326 Use char because int might match the return type of a GCC
24327 builtin and then its argument prototype would still apply. */
24332 /* The GNU C library defines this for functions which it implements
24333 to always fail with ENOSYS. Some functions are actually named
24334 something starting with __ and the normal name is an alias. */
24335 #if defined __stub_$ac_func || defined __stub___$ac_func
24342 return $ac_func ();
24347 rm -f conftest.$ac_objext conftest$ac_exeext
24348 if { (ac_try="$ac_link"
24349 case "(($ac_try" in
24350 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24351 *) ac_try_echo
=$ac_try;;
24353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24354 (eval "$ac_link") 2>conftest.er1
24356 grep -v '^ *+' conftest.er1
>conftest.err
24358 cat conftest.err
>&5
24359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24360 (exit $ac_status); } && {
24361 test -z "$ac_c_werror_flag" ||
24362 test ! -s conftest.err
24363 } && test -s conftest
$ac_exeext &&
24364 $as_test_x conftest
$ac_exeext; then
24365 eval "$as_ac_var=yes"
24367 echo "$as_me: failed program was:" >&5
24368 sed 's/^/| /' conftest.
$ac_ext >&5
24370 eval "$as_ac_var=no"
24373 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
24374 conftest
$ac_exeext conftest.
$ac_ext
24376 ac_res
=`eval echo '${'$as_ac_var'}'`
24377 { echo "$as_me:$LINENO: result: $ac_res" >&5
24378 echo "${ECHO_T}$ac_res" >&6; }
24379 if test `eval echo '${'$as_ac_var'}'` = yes; then
24380 cat >>confdefs.h
<<_ACEOF
24381 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24388 for ac_func
in floor
24390 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24391 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24392 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24393 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24394 echo $ECHO_N "(cached) $ECHO_C" >&6
24396 cat >conftest.
$ac_ext <<_ACEOF
24399 cat confdefs.h
>>conftest.
$ac_ext
24400 cat >>conftest.
$ac_ext <<_ACEOF
24401 /* end confdefs.h. */
24402 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24403 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24404 #define $ac_func innocuous_$ac_func
24406 /* System header to define __stub macros and hopefully few prototypes,
24407 which can conflict with char $ac_func (); below.
24408 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24409 <limits.h> exists even on freestanding compilers. */
24412 # include <limits.h>
24414 # include <assert.h>
24419 /* Override any GCC internal prototype to avoid an error.
24420 Use char because int might match the return type of a GCC
24421 builtin and then its argument prototype would still apply. */
24426 /* The GNU C library defines this for functions which it implements
24427 to always fail with ENOSYS. Some functions are actually named
24428 something starting with __ and the normal name is an alias. */
24429 #if defined __stub_$ac_func || defined __stub___$ac_func
24436 return $ac_func ();
24441 rm -f conftest.
$ac_objext conftest
$ac_exeext
24442 if { (ac_try
="$ac_link"
24443 case "(($ac_try" in
24444 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24445 *) ac_try_echo=$ac_try;;
24447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24448 (eval "$ac_link") 2>conftest.er1
24450 grep -v '^ *+' conftest.er1 >conftest.err
24452 cat conftest.err >&5
24453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24454 (exit $ac_status); } && {
24455 test -z "$ac_c_werror_flag" ||
24456 test ! -s conftest.err
24457 } && test -s conftest$ac_exeext &&
24458 $as_test_x conftest$ac_exeext; then
24459 eval "$as_ac_var=yes"
24461 echo "$as_me: failed program was:" >&5
24462 sed 's/^/| /' conftest.$ac_ext >&5
24464 eval "$as_ac_var=no"
24467 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24468 conftest$ac_exeext conftest.$ac_ext
24470 ac_res=`eval echo '${'$as_ac_var'}'`
24471 { echo "$as_me:$LINENO: result: $ac_res" >&5
24472 echo "${ECHO_T}$ac_res" >&6; }
24473 if test `eval echo '${'$as_ac_var'}'` = yes; then
24474 cat >>confdefs.h <<_ACEOF
24475 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24481 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
24482 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
24483 if test "$have_cos" = 1 -a "$have_floor" = 1; then
24484 { echo "$as_me:$LINENO: result: yes" >&5
24485 echo "${ECHO_T}yes" >&6; }
24487 { echo "$as_me:$LINENO: result: no" >&5
24488 echo "${ECHO_T}no" >&6; }
24490 # use different functions to avoid configure caching
24496 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24497 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24498 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24499 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24500 echo $ECHO_N "(cached) $ECHO_C" >&6
24502 cat >conftest.$ac_ext <<_ACEOF
24505 cat confdefs.h >>conftest.$ac_ext
24506 cat >>conftest.$ac_ext <<_ACEOF
24507 /* end confdefs.h. */
24508 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24509 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24510 #define $ac_func innocuous_$ac_func
24512 /* System header to define __stub macros and hopefully few prototypes,
24513 which can conflict with char $ac_func (); below.
24514 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24515 <limits.h> exists even on freestanding compilers. */
24518 # include <limits.h>
24520 # include <assert.h>
24525 /* Override any GCC internal prototype to avoid an error.
24526 Use char because int might match the return type of a GCC
24527 builtin and then its argument prototype would still apply. */
24532 /* The GNU C library defines this for functions which it implements
24533 to always fail with ENOSYS. Some functions are actually named
24534 something starting with __ and the normal name is an alias. */
24535 #if defined __stub_$ac_func || defined __stub___$ac_func
24542 return $ac_func ();
24547 rm -f conftest.$ac_objext conftest$ac_exeext
24548 if { (ac_try="$ac_link"
24549 case "(($ac_try" in
24550 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24551 *) ac_try_echo
=$ac_try;;
24553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24554 (eval "$ac_link") 2>conftest.er1
24556 grep -v '^ *+' conftest.er1
>conftest.err
24558 cat conftest.err
>&5
24559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24560 (exit $ac_status); } && {
24561 test -z "$ac_c_werror_flag" ||
24562 test ! -s conftest.err
24563 } && test -s conftest
$ac_exeext &&
24564 $as_test_x conftest
$ac_exeext; then
24565 eval "$as_ac_var=yes"
24567 echo "$as_me: failed program was:" >&5
24568 sed 's/^/| /' conftest.
$ac_ext >&5
24570 eval "$as_ac_var=no"
24573 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
24574 conftest
$ac_exeext conftest.
$ac_ext
24576 ac_res
=`eval echo '${'$as_ac_var'}'`
24577 { echo "$as_me:$LINENO: result: $ac_res" >&5
24578 echo "${ECHO_T}$ac_res" >&6; }
24579 if test `eval echo '${'$as_ac_var'}'` = yes; then
24580 cat >>confdefs.h
<<_ACEOF
24581 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24588 for ac_func
in ceil
24590 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24591 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24592 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24593 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24594 echo $ECHO_N "(cached) $ECHO_C" >&6
24596 cat >conftest.
$ac_ext <<_ACEOF
24599 cat confdefs.h
>>conftest.
$ac_ext
24600 cat >>conftest.
$ac_ext <<_ACEOF
24601 /* end confdefs.h. */
24602 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24603 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24604 #define $ac_func innocuous_$ac_func
24606 /* System header to define __stub macros and hopefully few prototypes,
24607 which can conflict with char $ac_func (); below.
24608 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24609 <limits.h> exists even on freestanding compilers. */
24612 # include <limits.h>
24614 # include <assert.h>
24619 /* Override any GCC internal prototype to avoid an error.
24620 Use char because int might match the return type of a GCC
24621 builtin and then its argument prototype would still apply. */
24626 /* The GNU C library defines this for functions which it implements
24627 to always fail with ENOSYS. Some functions are actually named
24628 something starting with __ and the normal name is an alias. */
24629 #if defined __stub_$ac_func || defined __stub___$ac_func
24636 return $ac_func ();
24641 rm -f conftest.
$ac_objext conftest
$ac_exeext
24642 if { (ac_try
="$ac_link"
24643 case "(($ac_try" in
24644 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24645 *) ac_try_echo=$ac_try;;
24647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24648 (eval "$ac_link") 2>conftest.er1
24650 grep -v '^ *+' conftest.er1 >conftest.err
24652 cat conftest.err >&5
24653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24654 (exit $ac_status); } && {
24655 test -z "$ac_c_werror_flag" ||
24656 test ! -s conftest.err
24657 } && test -s conftest$ac_exeext &&
24658 $as_test_x conftest$ac_exeext; then
24659 eval "$as_ac_var=yes"
24661 echo "$as_me: failed program was:" >&5
24662 sed 's/^/| /' conftest.$ac_ext >&5
24664 eval "$as_ac_var=no"
24667 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24668 conftest$ac_exeext conftest.$ac_ext
24670 ac_res=`eval echo '${'$as_ac_var'}'`
24671 { echo "$as_me:$LINENO: result: $ac_res" >&5
24672 echo "${ECHO_T}$ac_res" >&6; }
24673 if test `eval echo '${'$as_ac_var'}'` = yes; then
24674 cat >>confdefs.h <<_ACEOF
24675 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24681 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
24682 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
24683 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
24684 { echo "$as_me:$LINENO: result: yes" >&5
24685 echo "${ECHO_T}yes" >&6; }
24687 { echo "$as_me:$LINENO: result: no" >&5
24688 echo "${ECHO_T}no" >&6; }
24689 # not sure we should warn the user, crash, etc.
24694 ac_cpp='$CXXCPP $CPPFLAGS'
24695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24699 if test "wxUSE_UNICODE" = "yes"; then
24701 for wx_func in wcstoull
24703 { echo "$as_me:$LINENO: checking for $wx_func" >&5
24704 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
24705 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
24706 echo $ECHO_N "(cached) $ECHO_C" >&6
24709 cat >conftest.$ac_ext <<_ACEOF
24713 cat confdefs.h >>conftest.$ac_ext
24714 cat >>conftest.$ac_ext <<_ACEOF
24715 /* end confdefs.h. */
24718 $ac_includes_default
24734 rm -f conftest.$ac_objext conftest$ac_exeext
24735 if { (ac_try="$ac_link"
24736 case "(($ac_try" in
24737 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24738 *) ac_try_echo
=$ac_try;;
24740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24741 (eval "$ac_link") 2>conftest.er1
24743 grep -v '^ *+' conftest.er1
>conftest.err
24745 cat conftest.err
>&5
24746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24747 (exit $ac_status); } && {
24748 test -z "$ac_cxx_werror_flag" ||
24749 test ! -s conftest.err
24750 } && test -s conftest
$ac_exeext &&
24751 $as_test_x conftest
$ac_exeext; then
24752 eval wx_cv_func_
$wx_func=yes
24754 echo "$as_me: failed program was:" >&5
24755 sed 's/^/| /' conftest.
$ac_ext >&5
24757 eval wx_cv_func_
$wx_func=no
24760 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
24761 conftest
$ac_exeext conftest.
$ac_ext
24764 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
24765 { echo "$as_me:$LINENO: result: $ac_res" >&5
24766 echo "${ECHO_T}$ac_res" >&6; }
24768 if eval test \
$wx_cv_func_$wx_func = yes
24770 cat >>confdefs.h
<<_ACEOF
24771 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
24783 for wx_func
in strtoull
24785 { echo "$as_me:$LINENO: checking for $wx_func" >&5
24786 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
24787 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
24788 echo $ECHO_N "(cached) $ECHO_C" >&6
24791 cat >conftest.
$ac_ext <<_ACEOF
24795 cat confdefs.h
>>conftest.
$ac_ext
24796 cat >>conftest.
$ac_ext <<_ACEOF
24797 /* end confdefs.h. */
24800 $ac_includes_default
24816 rm -f conftest.
$ac_objext conftest
$ac_exeext
24817 if { (ac_try
="$ac_link"
24818 case "(($ac_try" in
24819 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24820 *) ac_try_echo=$ac_try;;
24822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24823 (eval "$ac_link") 2>conftest.er1
24825 grep -v '^ *+' conftest.er1 >conftest.err
24827 cat conftest.err >&5
24828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24829 (exit $ac_status); } && {
24830 test -z "$ac_cxx_werror_flag" ||
24831 test ! -s conftest.err
24832 } && test -s conftest$ac_exeext &&
24833 $as_test_x conftest$ac_exeext; then
24834 eval wx_cv_func_$wx_func=yes
24836 echo "$as_me: failed program was:" >&5
24837 sed 's/^/| /' conftest.$ac_ext >&5
24839 eval wx_cv_func_$wx_func=no
24842 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24843 conftest$ac_exeext conftest.$ac_ext
24846 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
24847 { echo "$as_me:$LINENO: result: $ac_res" >&5
24848 echo "${ECHO_T}$ac_res" >&6; }
24850 if eval test \$wx_cv_func_$wx_func = yes
24852 cat >>confdefs.h <<_ACEOF
24853 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
24865 ac_cpp='$CPP $CPPFLAGS'
24866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24873 if test "$wxUSE_REGEX" != "no"; then
24874 cat >>confdefs.h <<\_ACEOF
24875 #define wxUSE_REGEX 1
24879 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
24880 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
24881 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
24882 wxUSE_REGEX=builtin
24885 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
24886 { echo "$as_me:$LINENO: checking for regex.h" >&5
24887 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
24888 if test "${ac_cv_header_regex_h+set}" = set; then
24889 echo $ECHO_N "(cached) $ECHO_C" >&6
24891 cat >conftest.$ac_ext <<_ACEOF
24894 cat confdefs.h >>conftest.$ac_ext
24895 cat >>conftest.$ac_ext <<_ACEOF
24896 /* end confdefs.h. */
24901 rm -f conftest.$ac_objext
24902 if { (ac_try="$ac_compile"
24903 case "(($ac_try" in
24904 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24905 *) ac_try_echo
=$ac_try;;
24907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24908 (eval "$ac_compile") 2>conftest.er1
24910 grep -v '^ *+' conftest.er1
>conftest.err
24912 cat conftest.err
>&5
24913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24914 (exit $ac_status); } && {
24915 test -z "$ac_c_werror_flag" ||
24916 test ! -s conftest.err
24917 } && test -s conftest.
$ac_objext; then
24918 ac_cv_header_regex_h
=yes
24920 echo "$as_me: failed program was:" >&5
24921 sed 's/^/| /' conftest.
$ac_ext >&5
24923 ac_cv_header_regex_h
=no
24926 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24928 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
24929 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
24930 if test $ac_cv_header_regex_h = yes; then
24933 for ac_func
in regcomp re_search
24935 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24936 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24937 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24938 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24939 echo $ECHO_N "(cached) $ECHO_C" >&6
24941 cat >conftest.
$ac_ext <<_ACEOF
24944 cat confdefs.h
>>conftest.
$ac_ext
24945 cat >>conftest.
$ac_ext <<_ACEOF
24946 /* end confdefs.h. */
24947 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24948 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24949 #define $ac_func innocuous_$ac_func
24951 /* System header to define __stub macros and hopefully few prototypes,
24952 which can conflict with char $ac_func (); below.
24953 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24954 <limits.h> exists even on freestanding compilers. */
24957 # include <limits.h>
24959 # include <assert.h>
24964 /* Override any GCC internal prototype to avoid an error.
24965 Use char because int might match the return type of a GCC
24966 builtin and then its argument prototype would still apply. */
24971 /* The GNU C library defines this for functions which it implements
24972 to always fail with ENOSYS. Some functions are actually named
24973 something starting with __ and the normal name is an alias. */
24974 #if defined __stub_$ac_func || defined __stub___$ac_func
24981 return $ac_func ();
24986 rm -f conftest.
$ac_objext conftest
$ac_exeext
24987 if { (ac_try
="$ac_link"
24988 case "(($ac_try" in
24989 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24990 *) ac_try_echo=$ac_try;;
24992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24993 (eval "$ac_link") 2>conftest.er1
24995 grep -v '^ *+' conftest.er1 >conftest.err
24997 cat conftest.err >&5
24998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24999 (exit $ac_status); } && {
25000 test -z "$ac_c_werror_flag" ||
25001 test ! -s conftest.err
25002 } && test -s conftest$ac_exeext &&
25003 $as_test_x conftest$ac_exeext; then
25004 eval "$as_ac_var=yes"
25006 echo "$as_me: failed program was:" >&5
25007 sed 's/^/| /' conftest.$ac_ext >&5
25009 eval "$as_ac_var=no"
25012 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25013 conftest$ac_exeext conftest.$ac_ext
25015 ac_res=`eval echo '${'$as_ac_var'}'`
25016 { echo "$as_me:$LINENO: result: $ac_res" >&5
25017 echo "${ECHO_T}$ac_res" >&6; }
25018 if test `eval echo '${'$as_ac_var'}'` = yes; then
25019 cat >>confdefs.h <<_ACEOF
25020 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25030 if test "x$ac_cv_func_regcomp" != "xyes"; then
25031 if test "$wxUSE_REGEX" = "sys" ; then
25032 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25033 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25034 { (exit 1); exit 1; }; }
25036 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25037 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25038 wxUSE_REGEX=builtin
25042 cat >>confdefs.h <<\_ACEOF
25043 #define WX_NO_REGEX_ADVANCED 1
25052 if test "$wxUSE_ZLIB" != "no" ; then
25053 cat >>confdefs.h <<\_ACEOF
25054 #define wxUSE_ZLIB 1
25058 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25059 if test "$USE_DARWIN" = 1; then
25060 system_zlib_h_ok="yes"
25062 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25063 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
25064 if test "${ac_cv_header_zlib_h+set}" = set; then
25065 echo $ECHO_N "(cached) $ECHO_C" >&6
25067 if test "$cross_compiling" = yes; then
25068 unset ac_cv_header_zlib_h
25071 cat >conftest.$ac_ext <<_ACEOF
25074 cat confdefs.h >>conftest.$ac_ext
25075 cat >>conftest.$ac_ext <<_ACEOF
25076 /* end confdefs.h. */
25083 FILE *f=fopen("conftestval", "w");
25086 ZLIB_VERSION[0] == '1' &&
25087 (ZLIB_VERSION[2] > '1' ||
25088 (ZLIB_VERSION[2] == '1' &&
25089 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25094 rm -f conftest$ac_exeext
25095 if { (ac_try="$ac_link"
25096 case "(($ac_try" in
25097 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25098 *) ac_try_echo
=$ac_try;;
25100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25101 (eval "$ac_link") 2>&5
25103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25104 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25105 { (case "(($ac_try" in
25106 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25107 *) ac_try_echo=$ac_try;;
25109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25110 (eval "$ac_try") 2>&5
25112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25113 (exit $ac_status); }; }; then
25114 ac_cv_header_zlib_h=`cat conftestval
`
25116 echo "$as_me: program exited with status $ac_status" >&5
25117 echo "$as_me: failed program was:" >&5
25118 sed 's/^/| /' conftest.$ac_ext >&5
25120 ( exit $ac_status )
25121 ac_cv_header_zlib_h=no
25123 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25129 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25130 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
25131 { echo "$as_me:$LINENO: checking for zlib.h" >&5
25132 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
25133 if test "${ac_cv_header_zlib_h+set}" = set; then
25134 echo $ECHO_N "(cached) $ECHO_C" >&6
25136 cat >conftest.$ac_ext <<_ACEOF
25139 cat confdefs.h >>conftest.$ac_ext
25140 cat >>conftest.$ac_ext <<_ACEOF
25141 /* end confdefs.h. */
25146 rm -f conftest.$ac_objext
25147 if { (ac_try="$ac_compile"
25148 case "(($ac_try" in
25149 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25150 *) ac_try_echo
=$ac_try;;
25152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25153 (eval "$ac_compile") 2>conftest.er1
25155 grep -v '^ *+' conftest.er1
>conftest.err
25157 cat conftest.err
>&5
25158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25159 (exit $ac_status); } && {
25160 test -z "$ac_c_werror_flag" ||
25161 test ! -s conftest.err
25162 } && test -s conftest.
$ac_objext; then
25163 ac_cv_header_zlib_h
=yes
25165 echo "$as_me: failed program was:" >&5
25166 sed 's/^/| /' conftest.
$ac_ext >&5
25168 ac_cv_header_zlib_h
=no
25171 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25173 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25174 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
25178 system_zlib_h_ok
=$ac_cv_header_zlib_h
25181 if test "$system_zlib_h_ok" = "yes"; then
25182 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
25183 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
25184 if test "${ac_cv_lib_z_deflate+set}" = set; then
25185 echo $ECHO_N "(cached) $ECHO_C" >&6
25187 ac_check_lib_save_LIBS
=$LIBS
25189 cat >conftest.
$ac_ext <<_ACEOF
25192 cat confdefs.h
>>conftest.
$ac_ext
25193 cat >>conftest.
$ac_ext <<_ACEOF
25194 /* end confdefs.h. */
25196 /* Override any GCC internal prototype to avoid an error.
25197 Use char because int might match the return type of a GCC
25198 builtin and then its argument prototype would still apply. */
25211 rm -f conftest.
$ac_objext conftest
$ac_exeext
25212 if { (ac_try
="$ac_link"
25213 case "(($ac_try" in
25214 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25215 *) ac_try_echo=$ac_try;;
25217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25218 (eval "$ac_link") 2>conftest.er1
25220 grep -v '^ *+' conftest.er1 >conftest.err
25222 cat conftest.err >&5
25223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25224 (exit $ac_status); } && {
25225 test -z "$ac_c_werror_flag" ||
25226 test ! -s conftest.err
25227 } && test -s conftest$ac_exeext &&
25228 $as_test_x conftest$ac_exeext; then
25229 ac_cv_lib_z_deflate=yes
25231 echo "$as_me: failed program was:" >&5
25232 sed 's/^/| /' conftest.$ac_ext >&5
25234 ac_cv_lib_z_deflate=no
25237 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25238 conftest$ac_exeext conftest.$ac_ext
25239 LIBS=$ac_check_lib_save_LIBS
25241 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
25242 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
25243 if test $ac_cv_lib_z_deflate = yes; then
25249 if test "x$ZLIB_LINK" = "x" ; then
25250 if test "$wxUSE_ZLIB" = "sys" ; then
25251 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
25252 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
25253 { (exit 1); exit 1; }; }
25255 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
25256 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
25267 if test "$wxUSE_LIBPNG" != "no" ; then
25268 cat >>confdefs.h <<\_ACEOF
25269 #define wxUSE_LIBPNG 1
25273 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
25274 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
25275 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
25279 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
25280 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
25281 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
25282 wxUSE_LIBPNG=builtin
25285 if test "$wxUSE_MGL" != 1 ; then
25286 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
25287 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
25288 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
25289 if test "${ac_cv_header_png_h+set}" = set; then
25290 echo $ECHO_N "(cached) $ECHO_C" >&6
25292 if test "$cross_compiling" = yes; then
25293 unset ac_cv_header_png_h
25296 cat >conftest.$ac_ext <<_ACEOF
25299 cat confdefs.h >>conftest.$ac_ext
25300 cat >>conftest.$ac_ext <<_ACEOF
25301 /* end confdefs.h. */
25308 FILE *f=fopen("conftestval", "w");
25311 PNG_LIBPNG_VER > 90 ? "yes" : "no");
25316 rm -f conftest$ac_exeext
25317 if { (ac_try="$ac_link"
25318 case "(($ac_try" in
25319 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25320 *) ac_try_echo
=$ac_try;;
25322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25323 (eval "$ac_link") 2>&5
25325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25326 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25327 { (case "(($ac_try" in
25328 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25329 *) ac_try_echo=$ac_try;;
25331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25332 (eval "$ac_try") 2>&5
25334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25335 (exit $ac_status); }; }; then
25336 ac_cv_header_png_h=`cat conftestval
`
25338 echo "$as_me: program exited with status $ac_status" >&5
25339 echo "$as_me: failed program was:" >&5
25340 sed 's/^/| /' conftest.$ac_ext >&5
25342 ( exit $ac_status )
25343 ac_cv_header_png_h=no
25345 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25351 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25352 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
25353 { echo "$as_me:$LINENO: checking for png.h" >&5
25354 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
25355 if test "${ac_cv_header_png_h+set}" = set; then
25356 echo $ECHO_N "(cached) $ECHO_C" >&6
25358 cat >conftest.$ac_ext <<_ACEOF
25361 cat confdefs.h >>conftest.$ac_ext
25362 cat >>conftest.$ac_ext <<_ACEOF
25363 /* end confdefs.h. */
25368 rm -f conftest.$ac_objext
25369 if { (ac_try="$ac_compile"
25370 case "(($ac_try" in
25371 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25372 *) ac_try_echo
=$ac_try;;
25374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25375 (eval "$ac_compile") 2>conftest.er1
25377 grep -v '^ *+' conftest.er1
>conftest.err
25379 cat conftest.err
>&5
25380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25381 (exit $ac_status); } && {
25382 test -z "$ac_c_werror_flag" ||
25383 test ! -s conftest.err
25384 } && test -s conftest.
$ac_objext; then
25385 ac_cv_header_png_h
=yes
25387 echo "$as_me: failed program was:" >&5
25388 sed 's/^/| /' conftest.
$ac_ext >&5
25390 ac_cv_header_png_h
=no
25393 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25395 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25396 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
25400 if test "$ac_cv_header_png_h" = "yes"; then
25401 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
25402 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
25403 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
25404 echo $ECHO_N "(cached) $ECHO_C" >&6
25406 ac_check_lib_save_LIBS
=$LIBS
25407 LIBS
="-lpng -lz -lm $LIBS"
25408 cat >conftest.
$ac_ext <<_ACEOF
25411 cat confdefs.h
>>conftest.
$ac_ext
25412 cat >>conftest.
$ac_ext <<_ACEOF
25413 /* end confdefs.h. */
25415 /* Override any GCC internal prototype to avoid an error.
25416 Use char because int might match the return type of a GCC
25417 builtin and then its argument prototype would still apply. */
25421 char png_check_sig ();
25425 return png_check_sig ();
25430 rm -f conftest.
$ac_objext conftest
$ac_exeext
25431 if { (ac_try
="$ac_link"
25432 case "(($ac_try" in
25433 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25434 *) ac_try_echo=$ac_try;;
25436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25437 (eval "$ac_link") 2>conftest.er1
25439 grep -v '^ *+' conftest.er1 >conftest.err
25441 cat conftest.err >&5
25442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25443 (exit $ac_status); } && {
25444 test -z "$ac_c_werror_flag" ||
25445 test ! -s conftest.err
25446 } && test -s conftest$ac_exeext &&
25447 $as_test_x conftest$ac_exeext; then
25448 ac_cv_lib_png_png_check_sig=yes
25450 echo "$as_me: failed program was:" >&5
25451 sed 's/^/| /' conftest.$ac_ext >&5
25453 ac_cv_lib_png_png_check_sig=no
25456 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25457 conftest$ac_exeext conftest.$ac_ext
25458 LIBS=$ac_check_lib_save_LIBS
25460 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
25461 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
25462 if test $ac_cv_lib_png_png_check_sig = yes; then
25463 PNG_LINK=" -lpng -lz"
25468 if test "x$PNG_LINK" = "x" ; then
25469 if test "$wxUSE_LIBPNG" = "sys" ; then
25470 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
25471 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
25472 { (exit 1); exit 1; }; }
25474 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
25475 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
25476 wxUSE_LIBPNG=builtin
25484 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
25489 if test "$wxUSE_LIBJPEG" != "no" ; then
25490 cat >>confdefs.h <<\_ACEOF
25491 #define wxUSE_LIBJPEG 1
25495 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
25496 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
25497 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
25501 if test "$wxUSE_MGL" != 1 ; then
25502 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
25503 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
25504 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
25505 if test "${ac_cv_header_jpeglib_h+set}" = set; then
25506 echo $ECHO_N "(cached) $ECHO_C" >&6
25508 cat >conftest.$ac_ext <<_ACEOF
25511 cat confdefs.h >>conftest.$ac_ext
25512 cat >>conftest.$ac_ext <<_ACEOF
25513 /* end confdefs.h. */
25515 #undef HAVE_STDLIB_H
25517 #include <jpeglib.h>
25528 rm -f conftest.$ac_objext
25529 if { (ac_try="$ac_compile"
25530 case "(($ac_try" in
25531 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25532 *) ac_try_echo
=$ac_try;;
25534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25535 (eval "$ac_compile") 2>conftest.er1
25537 grep -v '^ *+' conftest.er1
>conftest.err
25539 cat conftest.err
>&5
25540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25541 (exit $ac_status); } && {
25542 test -z "$ac_c_werror_flag" ||
25543 test ! -s conftest.err
25544 } && test -s conftest.
$ac_objext; then
25545 ac_cv_header_jpeglib_h
=yes
25547 echo "$as_me: failed program was:" >&5
25548 sed 's/^/| /' conftest.
$ac_ext >&5
25550 ac_cv_header_jpeglib_h
=no
25554 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25558 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
25559 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
25561 if test "$ac_cv_header_jpeglib_h" = "yes"; then
25562 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
25563 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
25564 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
25565 echo $ECHO_N "(cached) $ECHO_C" >&6
25567 ac_check_lib_save_LIBS
=$LIBS
25568 LIBS
="-ljpeg $LIBS"
25569 cat >conftest.
$ac_ext <<_ACEOF
25572 cat confdefs.h
>>conftest.
$ac_ext
25573 cat >>conftest.
$ac_ext <<_ACEOF
25574 /* end confdefs.h. */
25576 /* Override any GCC internal prototype to avoid an error.
25577 Use char because int might match the return type of a GCC
25578 builtin and then its argument prototype would still apply. */
25582 char jpeg_read_header ();
25586 return jpeg_read_header ();
25591 rm -f conftest.
$ac_objext conftest
$ac_exeext
25592 if { (ac_try
="$ac_link"
25593 case "(($ac_try" in
25594 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25595 *) ac_try_echo=$ac_try;;
25597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25598 (eval "$ac_link") 2>conftest.er1
25600 grep -v '^ *+' conftest.er1 >conftest.err
25602 cat conftest.err >&5
25603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25604 (exit $ac_status); } && {
25605 test -z "$ac_c_werror_flag" ||
25606 test ! -s conftest.err
25607 } && test -s conftest$ac_exeext &&
25608 $as_test_x conftest$ac_exeext; then
25609 ac_cv_lib_jpeg_jpeg_read_header=yes
25611 echo "$as_me: failed program was:" >&5
25612 sed 's/^/| /' conftest.$ac_ext >&5
25614 ac_cv_lib_jpeg_jpeg_read_header=no
25617 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25618 conftest$ac_exeext conftest.$ac_ext
25619 LIBS=$ac_check_lib_save_LIBS
25621 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
25622 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
25623 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
25624 JPEG_LINK=" -ljpeg"
25629 if test "x$JPEG_LINK" = "x" ; then
25630 if test "$wxUSE_LIBJPEG" = "sys" ; then
25631 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
25632 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
25633 { (exit 1); exit 1; }; }
25635 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
25636 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
25637 wxUSE_LIBJPEG=builtin
25642 if test "$wxUSE_MSW" = 1; then
25643 { echo "$as_me:$LINENO: checking for boolean" >&5
25644 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
25645 if test "${ac_cv_type_boolean+set}" = set; then
25646 echo $ECHO_N "(cached) $ECHO_C" >&6
25648 cat >conftest.$ac_ext <<_ACEOF
25651 cat confdefs.h >>conftest.$ac_ext
25652 cat >>conftest.$ac_ext <<_ACEOF
25653 /* end confdefs.h. */
25654 #include <windows.h>
25656 typedef boolean ac__type_new_;
25660 if ((ac__type_new_ *) 0)
25662 if (sizeof (ac__type_new_))
25668 rm -f conftest.$ac_objext
25669 if { (ac_try="$ac_compile"
25670 case "(($ac_try" in
25671 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25672 *) ac_try_echo
=$ac_try;;
25674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25675 (eval "$ac_compile") 2>conftest.er1
25677 grep -v '^ *+' conftest.er1
>conftest.err
25679 cat conftest.err
>&5
25680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25681 (exit $ac_status); } && {
25682 test -z "$ac_c_werror_flag" ||
25683 test ! -s conftest.err
25684 } && test -s conftest.
$ac_objext; then
25685 ac_cv_type_boolean
=yes
25687 echo "$as_me: failed program was:" >&5
25688 sed 's/^/| /' conftest.
$ac_ext >&5
25690 ac_cv_type_boolean
=no
25693 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25695 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
25696 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
25697 if test $ac_cv_type_boolean = yes; then
25699 cat >>confdefs.h
<<_ACEOF
25700 #define HAVE_BOOLEAN 1
25704 { echo "$as_me:$LINENO: checking for boolean" >&5
25705 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
25706 if test "${ac_cv_type_boolean+set}" = set; then
25707 echo $ECHO_N "(cached) $ECHO_C" >&6
25709 cat >conftest.
$ac_ext <<_ACEOF
25712 cat confdefs.h
>>conftest.
$ac_ext
25713 cat >>conftest.
$ac_ext <<_ACEOF
25714 /* end confdefs.h. */
25716 #undef HAVE_BOOLEAN
25718 #include <jpeglib.h>
25721 typedef boolean ac__type_new_;
25725 if ((ac__type_new_ *) 0)
25727 if (sizeof (ac__type_new_))
25733 rm -f conftest.
$ac_objext
25734 if { (ac_try
="$ac_compile"
25735 case "(($ac_try" in
25736 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25737 *) ac_try_echo=$ac_try;;
25739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25740 (eval "$ac_compile") 2>conftest.er1
25742 grep -v '^ *+' conftest.er1 >conftest.err
25744 cat conftest.err >&5
25745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25746 (exit $ac_status); } && {
25747 test -z "$ac_c_werror_flag" ||
25748 test ! -s conftest.err
25749 } && test -s conftest.$ac_objext; then
25750 ac_cv_type_boolean=yes
25752 echo "$as_me: failed program was:" >&5
25753 sed 's/^/| /' conftest.$ac_ext >&5
25755 ac_cv_type_boolean=no
25758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25760 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
25761 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
25763 # The cast to long int works around a bug in the HP C Compiler
25764 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25765 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
25766 # This bug is HP SR number 8606223364.
25767 { echo "$as_me:$LINENO: checking size of boolean" >&5
25768 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
25769 if test "${ac_cv_sizeof_boolean+set}" = set; then
25770 echo $ECHO_N "(cached) $ECHO_C" >&6
25772 if test "$cross_compiling" = yes; then
25773 # Depending upon the size, compute the lo and hi bounds.
25774 cat >conftest.$ac_ext <<_ACEOF
25777 cat confdefs.h >>conftest.$ac_ext
25778 cat >>conftest.$ac_ext <<_ACEOF
25779 /* end confdefs.h. */
25781 #undef HAVE_BOOLEAN
25783 #include <jpeglib.h>
25786 typedef boolean ac__type_sizeof_;
25790 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
25797 rm -f conftest.$ac_objext
25798 if { (ac_try="$ac_compile"
25799 case "(($ac_try" in
25800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25801 *) ac_try_echo=$ac_try;;
25803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25804 (eval "$ac_compile") 2>conftest.er1
25806 grep -v '^
*+' conftest.er1 >conftest.err
25808 cat conftest.err >&5
25809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25810 (exit $ac_status); } && {
25811 test -z "$ac_c_werror_flag" ||
25812 test ! -s conftest.err
25813 } && test -s conftest.$ac_objext; then
25816 cat >conftest.$ac_ext <<_ACEOF
25819 cat confdefs.h >>conftest.$ac_ext
25820 cat >>conftest.$ac_ext <<_ACEOF
25821 /* end confdefs.h. */
25823 #undef HAVE_BOOLEAN
25825 #include <jpeglib.h>
25828 typedef boolean ac__type_sizeof_;
25832 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25839 rm -f conftest.$ac_objext
25840 if { (ac_try="$ac_compile"
25841 case "(($ac_try" in
25842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25843 *) ac_try_echo=$ac_try;;
25845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25846 (eval "$ac_compile") 2>conftest.er1
25848 grep -v '^
*+' conftest.er1 >conftest.err
25850 cat conftest.err >&5
25851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25852 (exit $ac_status); } && {
25853 test -z "$ac_c_werror_flag" ||
25854 test ! -s conftest.err
25855 } && test -s conftest.$ac_objext; then
25856 ac_hi=$ac_mid; break
25858 echo "$as_me: failed program was:" >&5
25859 sed 's
/^
/| /' conftest.$ac_ext >&5
25861 ac_lo=`expr $ac_mid + 1`
25862 if test $ac_lo -le $ac_mid; then
25866 ac_mid=`expr 2 '*' $ac_mid + 1`
25869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25872 echo "$as_me: failed program was:" >&5
25873 sed 's
/^
/| /' conftest.$ac_ext >&5
25875 cat >conftest.$ac_ext <<_ACEOF
25878 cat confdefs.h >>conftest.$ac_ext
25879 cat >>conftest.$ac_ext <<_ACEOF
25880 /* end confdefs.h. */
25882 #undef HAVE_BOOLEAN
25884 #include <jpeglib.h>
25887 typedef boolean ac__type_sizeof_;
25891 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
25898 rm -f conftest.$ac_objext
25899 if { (ac_try="$ac_compile"
25900 case "(($ac_try" in
25901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25902 *) ac_try_echo=$ac_try;;
25904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25905 (eval "$ac_compile") 2>conftest.er1
25907 grep -v '^
*+' conftest.er1 >conftest.err
25909 cat conftest.err >&5
25910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25911 (exit $ac_status); } && {
25912 test -z "$ac_c_werror_flag" ||
25913 test ! -s conftest.err
25914 } && test -s conftest.$ac_objext; then
25917 cat >conftest.$ac_ext <<_ACEOF
25920 cat confdefs.h >>conftest.$ac_ext
25921 cat >>conftest.$ac_ext <<_ACEOF
25922 /* end confdefs.h. */
25924 #undef HAVE_BOOLEAN
25926 #include <jpeglib.h>
25929 typedef boolean ac__type_sizeof_;
25933 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
25940 rm -f conftest.$ac_objext
25941 if { (ac_try="$ac_compile"
25942 case "(($ac_try" in
25943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25944 *) ac_try_echo=$ac_try;;
25946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25947 (eval "$ac_compile") 2>conftest.er1
25949 grep -v '^
*+' conftest.er1 >conftest.err
25951 cat conftest.err >&5
25952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25953 (exit $ac_status); } && {
25954 test -z "$ac_c_werror_flag" ||
25955 test ! -s conftest.err
25956 } && test -s conftest.$ac_objext; then
25957 ac_lo=$ac_mid; break
25959 echo "$as_me: failed program was:" >&5
25960 sed 's
/^
/| /' conftest.$ac_ext >&5
25962 ac_hi=`expr '(' $ac_mid ')' - 1`
25963 if test $ac_mid -le $ac_hi; then
25967 ac_mid=`expr 2 '*' $ac_mid`
25970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25973 echo "$as_me: failed program was:" >&5
25974 sed 's
/^
/| /' conftest.$ac_ext >&5
25979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25983 # Binary search between lo and hi bounds.
25984 while test "x$ac_lo" != "x$ac_hi"; do
25985 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25986 cat >conftest.$ac_ext <<_ACEOF
25989 cat confdefs.h >>conftest.$ac_ext
25990 cat >>conftest.$ac_ext <<_ACEOF
25991 /* end confdefs.h. */
25993 #undef HAVE_BOOLEAN
25995 #include <jpeglib.h>
25998 typedef boolean ac__type_sizeof_;
26002 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26009 rm -f conftest.$ac_objext
26010 if { (ac_try="$ac_compile"
26011 case "(($ac_try" in
26012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26013 *) ac_try_echo=$ac_try;;
26015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26016 (eval "$ac_compile") 2>conftest.er1
26018 grep -v '^
*+' conftest.er1 >conftest.err
26020 cat conftest.err >&5
26021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26022 (exit $ac_status); } && {
26023 test -z "$ac_c_werror_flag" ||
26024 test ! -s conftest.err
26025 } && test -s conftest.$ac_objext; then
26028 echo "$as_me: failed program was:" >&5
26029 sed 's
/^
/| /' conftest.$ac_ext >&5
26031 ac_lo=`expr '(' $ac_mid ')' + 1`
26034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26037 ?*) ac_cv_sizeof_boolean=$ac_lo;;
26038 '') if test "$ac_cv_type_boolean" = yes; then
26039 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
26040 See \`config.log' for more details.
" >&5
26041 echo "$as_me: error
: cannot compute sizeof
(boolean
)
26042 See \
`config.log' for more details." >&2;}
26043 { (exit 77); exit 77; }; }
26045 ac_cv_sizeof_boolean=0
26049 cat >conftest.$ac_ext <<_ACEOF
26052 cat confdefs.h >>conftest.$ac_ext
26053 cat >>conftest.$ac_ext <<_ACEOF
26054 /* end confdefs.h. */
26056 #undef HAVE_BOOLEAN
26058 #include <jpeglib.h>
26061 typedef boolean ac__type_sizeof_;
26062 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
26063 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
26065 #include <stdlib.h>
26070 FILE *f = fopen ("conftest.val", "w");
26073 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
26075 long int i = longval ();
26076 if (i != ((long int) (sizeof (ac__type_sizeof_))))
26078 fprintf (f, "%ld\n", i);
26082 unsigned long int i = ulongval ();
26083 if (i != ((long int) (sizeof (ac__type_sizeof_))))
26085 fprintf (f, "%lu\n", i);
26087 return ferror (f) || fclose (f) != 0;
26093 rm -f conftest$ac_exeext
26094 if { (ac_try="$ac_link"
26095 case "(($ac_try" in
26096 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26097 *) ac_try_echo
=$ac_try;;
26099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26100 (eval "$ac_link") 2>&5
26102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26103 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26104 { (case "(($ac_try" in
26105 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26106 *) ac_try_echo=$ac_try;;
26108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26109 (eval "$ac_try") 2>&5
26111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26112 (exit $ac_status); }; }; then
26113 ac_cv_sizeof_boolean=`cat conftest.val
`
26115 echo "$as_me: program exited with status $ac_status" >&5
26116 echo "$as_me: failed program was:" >&5
26117 sed 's/^/| /' conftest.$ac_ext >&5
26119 ( exit $ac_status )
26120 if test "$ac_cv_type_boolean" = yes; then
26121 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
26122 See \`config.log
' for more details." >&5
26123 echo "$as_me: error: cannot compute sizeof (boolean)
26124 See \`config.log' for more details.
" >&2;}
26125 { (exit 77); exit 77; }; }
26127 ac_cv_sizeof_boolean=0
26130 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26134 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_boolean" >&5
26135 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
26139 cat >>confdefs.h <<_ACEOF
26140 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
26144 cat >>confdefs.h <<_ACEOF
26145 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
26159 TIFF_PREREQ_LINKS=-lm
26160 if test "$wxUSE_LIBTIFF" != "no
" ; then
26161 cat >>confdefs.h <<\_ACEOF
26162 #define wxUSE_LIBTIFF 1
26166 if test "$wxUSE_LIBTIFF" = "sys
" -o "$wxUSE_LIBTIFF" = "yes" ; then
26167 if test "$wxUSE_LIBJPEG" = "sys
"; then
26168 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
26170 if test "$wxUSE_ZLIB" = "sys
"; then
26171 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
26173 { echo "$as_me:$LINENO: checking
for tiffio.h
" >&5
26174 echo $ECHO_N "checking
for tiffio.h...
$ECHO_C" >&6; }
26175 if test "${ac_cv_header_tiffio_h+set}" = set; then
26176 echo $ECHO_N "(cached
) $ECHO_C" >&6
26178 cat >conftest.$ac_ext <<_ACEOF
26181 cat confdefs.h >>conftest.$ac_ext
26182 cat >>conftest.$ac_ext <<_ACEOF
26183 /* end confdefs.h. */
26187 #include <tiffio.h>
26189 rm -f conftest.$ac_objext
26190 if { (ac_try="$ac_compile"
26191 case "(($ac_try" in
26192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26193 *) ac_try_echo=$ac_try;;
26195 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26196 (eval "$ac_compile") 2>conftest.er1
26198 grep -v '^ *+' conftest.er1 >conftest.err
26200 cat conftest.err >&5
26201 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26202 (exit $ac_status); } && {
26203 test -z "$ac_c_werror_flag" ||
26204 test ! -s conftest.err
26205 } && test -s conftest.$ac_objext; then
26206 ac_cv_header_tiffio_h=yes
26208 echo "$as_me: failed program was
:" >&5
26209 sed 's/^/| /' conftest.$ac_ext >&5
26211 ac_cv_header_tiffio_h=no
26214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26216 { echo "$as_me:$LINENO: result
: $ac_cv_header_tiffio_h" >&5
26217 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
26218 if test $ac_cv_header_tiffio_h = yes; then
26220 { echo "$as_me:$LINENO: checking
for TIFFError
in -ltiff" >&5
26221 echo $ECHO_N "checking
for TIFFError
in -ltiff...
$ECHO_C" >&6; }
26222 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
26223 echo $ECHO_N "(cached
) $ECHO_C" >&6
26225 ac_check_lib_save_LIBS=$LIBS
26226 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
26227 cat >conftest.$ac_ext <<_ACEOF
26230 cat confdefs.h >>conftest.$ac_ext
26231 cat >>conftest.$ac_ext <<_ACEOF
26232 /* end confdefs.h. */
26234 /* Override any GCC internal prototype to avoid an error.
26235 Use char because int might match the return type of a GCC
26236 builtin and then its argument prototype would still apply. */
26244 return TIFFError ();
26249 rm -f conftest.$ac_objext conftest$ac_exeext
26250 if { (ac_try="$ac_link"
26251 case "(($ac_try" in
26252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26253 *) ac_try_echo=$ac_try;;
26255 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26256 (eval "$ac_link") 2>conftest.er1
26258 grep -v '^ *+' conftest.er1 >conftest.err
26260 cat conftest.err >&5
26261 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26262 (exit $ac_status); } && {
26263 test -z "$ac_c_werror_flag" ||
26264 test ! -s conftest.err
26265 } && test -s conftest$ac_exeext &&
26266 $as_test_x conftest$ac_exeext; then
26267 ac_cv_lib_tiff_TIFFError=yes
26269 echo "$as_me: failed program was
:" >&5
26270 sed 's/^/| /' conftest.$ac_ext >&5
26272 ac_cv_lib_tiff_TIFFError=no
26275 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26276 conftest$ac_exeext conftest.$ac_ext
26277 LIBS=$ac_check_lib_save_LIBS
26279 { echo "$as_me:$LINENO: result
: $ac_cv_lib_tiff_TIFFError" >&5
26280 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
26281 if test $ac_cv_lib_tiff_TIFFError = yes; then
26282 TIFF_LINK=" -ltiff"
26290 if test "x
$TIFF_LINK" = "x
" ; then
26291 if test "$wxUSE_LIBTIFF" = "sys
" ; then
26292 { { echo "$as_me:$LINENO: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&5
26293 echo "$as_me: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&2;}
26294 { (exit 1); exit 1; }; }
26296 { echo "$as_me:$LINENO: WARNING
: system tiff library not found
, will use built
-in instead
" >&5
26297 echo "$as_me: WARNING
: system tiff library not found
, will use built
-in instead
" >&2;}
26298 wxUSE_LIBTIFF=builtin
26307 if test "$wxUSE_WCHAR_T" != "yes"; then
26308 if test "$wxUSE_EXPAT" != "no
"; then
26309 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&5
26310 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&2;}
26313 if test "$wxUSE_XML" != "no
"; then
26314 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&5
26315 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&2;}
26320 if test "$wxUSE_EXPAT" != "no
"; then
26322 cat >>confdefs.h <<\_ACEOF
26323 #define wxUSE_EXPAT 1
26326 cat >>confdefs.h <<\_ACEOF
26327 #define wxUSE_XML 1
26331 if test "$wxUSE_EXPAT" = "sys
" -o "$wxUSE_EXPAT" = "yes" ; then
26332 { echo "$as_me:$LINENO: checking
for expat.h
" >&5
26333 echo $ECHO_N "checking
for expat.h...
$ECHO_C" >&6; }
26334 if test "${ac_cv_header_expat_h+set}" = set; then
26335 echo $ECHO_N "(cached
) $ECHO_C" >&6
26337 cat >conftest.$ac_ext <<_ACEOF
26340 cat confdefs.h >>conftest.$ac_ext
26341 cat >>conftest.$ac_ext <<_ACEOF
26342 /* end confdefs.h. */
26347 rm -f conftest.$ac_objext
26348 if { (ac_try="$ac_compile"
26349 case "(($ac_try" in
26350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26351 *) ac_try_echo=$ac_try;;
26353 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26354 (eval "$ac_compile") 2>conftest.er1
26356 grep -v '^ *+' conftest.er1 >conftest.err
26358 cat conftest.err >&5
26359 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26360 (exit $ac_status); } && {
26361 test -z "$ac_c_werror_flag" ||
26362 test ! -s conftest.err
26363 } && test -s conftest.$ac_objext; then
26364 ac_cv_header_expat_h=yes
26366 echo "$as_me: failed program was
:" >&5
26367 sed 's/^/| /' conftest.$ac_ext >&5
26369 ac_cv_header_expat_h=no
26372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26374 { echo "$as_me:$LINENO: result
: $ac_cv_header_expat_h" >&5
26375 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
26376 if test $ac_cv_header_expat_h = yes; then
26381 if test "x
$found_expat_h" = "x1
"; then
26382 { echo "$as_me:$LINENO: checking
if expat.h is valid C
++ header
" >&5
26383 echo $ECHO_N "checking
if expat.h is valid C
++ header...
$ECHO_C" >&6; }
26384 if test "${wx_cv_expat_is_not_broken+set}" = set; then
26385 echo $ECHO_N "(cached
) $ECHO_C" >&6
26389 ac_cpp='$CXXCPP $CPPFLAGS'
26390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26394 cat >conftest.$ac_ext <<_ACEOF
26397 cat confdefs.h >>conftest.$ac_ext
26398 cat >>conftest.$ac_ext <<_ACEOF
26399 /* end confdefs.h. */
26409 rm -f conftest.$ac_objext
26410 if { (ac_try="$ac_compile"
26411 case "(($ac_try" in
26412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26413 *) ac_try_echo=$ac_try;;
26415 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26416 (eval "$ac_compile") 2>conftest.er1
26418 grep -v '^ *+' conftest.er1 >conftest.err
26420 cat conftest.err >&5
26421 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26422 (exit $ac_status); } && {
26423 test -z "$ac_cxx_werror_flag" ||
26424 test ! -s conftest.err
26425 } && test -s conftest.$ac_objext; then
26426 wx_cv_expat_is_not_broken=yes
26428 echo "$as_me: failed program was
:" >&5
26429 sed 's/^/| /' conftest.$ac_ext >&5
26431 wx_cv_expat_is_not_broken=no
26435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26437 ac_cpp='$CPP $CPPFLAGS'
26438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26445 { echo "$as_me:$LINENO: result
: $wx_cv_expat_is_not_broken" >&5
26446 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
26447 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
26448 { echo "$as_me:$LINENO: checking
for XML_ParserCreate
in -lexpat" >&5
26449 echo $ECHO_N "checking
for XML_ParserCreate
in -lexpat...
$ECHO_C" >&6; }
26450 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
26451 echo $ECHO_N "(cached
) $ECHO_C" >&6
26453 ac_check_lib_save_LIBS=$LIBS
26454 LIBS="-lexpat $LIBS"
26455 cat >conftest.$ac_ext <<_ACEOF
26458 cat confdefs.h >>conftest.$ac_ext
26459 cat >>conftest.$ac_ext <<_ACEOF
26460 /* end confdefs.h. */
26462 /* Override any GCC internal prototype to avoid an error.
26463 Use char because int might match the return type of a GCC
26464 builtin and then its argument prototype would still apply. */
26468 char XML_ParserCreate ();
26472 return XML_ParserCreate ();
26477 rm -f conftest.$ac_objext conftest$ac_exeext
26478 if { (ac_try="$ac_link"
26479 case "(($ac_try" in
26480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26481 *) ac_try_echo=$ac_try;;
26483 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26484 (eval "$ac_link") 2>conftest.er1
26486 grep -v '^ *+' conftest.er1 >conftest.err
26488 cat conftest.err >&5
26489 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26490 (exit $ac_status); } && {
26491 test -z "$ac_c_werror_flag" ||
26492 test ! -s conftest.err
26493 } && test -s conftest$ac_exeext &&
26494 $as_test_x conftest$ac_exeext; then
26495 ac_cv_lib_expat_XML_ParserCreate=yes
26497 echo "$as_me: failed program was
:" >&5
26498 sed 's/^/| /' conftest.$ac_ext >&5
26500 ac_cv_lib_expat_XML_ParserCreate=no
26503 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26504 conftest$ac_exeext conftest.$ac_ext
26505 LIBS=$ac_check_lib_save_LIBS
26507 { echo "$as_me:$LINENO: result
: $ac_cv_lib_expat_XML_ParserCreate" >&5
26508 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
26509 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
26510 EXPAT_LINK=" -lexpat"
26515 if test "x
$EXPAT_LINK" = "x
" ; then
26516 if test "$wxUSE_EXPAT" = "sys
" ; then
26517 { { echo "$as_me:$LINENO: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&5
26518 echo "$as_me: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&2;}
26519 { (exit 1); exit 1; }; }
26521 { echo "$as_me:$LINENO: WARNING
: system expat library not found
, will use built
-in instead
" >&5
26522 echo "$as_me: WARNING
: system expat library not found
, will use built
-in instead
" >&2;}
26523 wxUSE_EXPAT=builtin
26529 if test "$wxUSE_EXPAT" = "builtin" ; then
26530 subdirs="$subdirs src
/expat
"
26537 if test "$wxUSE_LIBMSPACK" != "no
"; then
26538 { echo "$as_me:$LINENO: checking
for mspack.h
" >&5
26539 echo $ECHO_N "checking
for mspack.h...
$ECHO_C" >&6; }
26540 if test "${ac_cv_header_mspack_h+set}" = set; then
26541 echo $ECHO_N "(cached
) $ECHO_C" >&6
26543 cat >conftest.$ac_ext <<_ACEOF
26546 cat confdefs.h >>conftest.$ac_ext
26547 cat >>conftest.$ac_ext <<_ACEOF
26548 /* end confdefs.h. */
26551 #include <mspack.h>
26553 rm -f conftest.$ac_objext
26554 if { (ac_try="$ac_compile"
26555 case "(($ac_try" in
26556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26557 *) ac_try_echo=$ac_try;;
26559 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26560 (eval "$ac_compile") 2>conftest.er1
26562 grep -v '^ *+' conftest.er1 >conftest.err
26564 cat conftest.err >&5
26565 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26566 (exit $ac_status); } && {
26567 test -z "$ac_c_werror_flag" ||
26568 test ! -s conftest.err
26569 } && test -s conftest.$ac_objext; then
26570 ac_cv_header_mspack_h=yes
26572 echo "$as_me: failed program was
:" >&5
26573 sed 's/^/| /' conftest.$ac_ext >&5
26575 ac_cv_header_mspack_h=no
26578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26580 { echo "$as_me:$LINENO: result
: $ac_cv_header_mspack_h" >&5
26581 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
26582 if test $ac_cv_header_mspack_h = yes; then
26587 if test "x
$found_mspack_h" = "x1
"; then
26588 { echo "$as_me:$LINENO: checking
for mspack_create_chm_decompressor
in -lmspack" >&5
26589 echo $ECHO_N "checking
for mspack_create_chm_decompressor
in -lmspack...
$ECHO_C" >&6; }
26590 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
26591 echo $ECHO_N "(cached
) $ECHO_C" >&6
26593 ac_check_lib_save_LIBS=$LIBS
26594 LIBS="-lmspack $LIBS"
26595 cat >conftest.$ac_ext <<_ACEOF
26598 cat confdefs.h >>conftest.$ac_ext
26599 cat >>conftest.$ac_ext <<_ACEOF
26600 /* end confdefs.h. */
26602 /* Override any GCC internal prototype to avoid an error.
26603 Use char because int might match the return type of a GCC
26604 builtin and then its argument prototype would still apply. */
26608 char mspack_create_chm_decompressor ();
26612 return mspack_create_chm_decompressor ();
26617 rm -f conftest.$ac_objext conftest$ac_exeext
26618 if { (ac_try="$ac_link"
26619 case "(($ac_try" in
26620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26621 *) ac_try_echo=$ac_try;;
26623 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26624 (eval "$ac_link") 2>conftest.er1
26626 grep -v '^ *+' conftest.er1 >conftest.err
26628 cat conftest.err >&5
26629 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26630 (exit $ac_status); } && {
26631 test -z "$ac_c_werror_flag" ||
26632 test ! -s conftest.err
26633 } && test -s conftest$ac_exeext &&
26634 $as_test_x conftest$ac_exeext; then
26635 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
26637 echo "$as_me: failed program was
:" >&5
26638 sed 's/^/| /' conftest.$ac_ext >&5
26640 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
26643 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26644 conftest$ac_exeext conftest.$ac_ext
26645 LIBS=$ac_check_lib_save_LIBS
26647 { echo "$as_me:$LINENO: result
: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
26648 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
26649 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
26650 MSPACK_LINK=" -lmspack"
26654 if test "x
$MSPACK_LINK" = "x
" ; then
26659 if test "$wxUSE_LIBMSPACK" != "no
"; then
26660 cat >>confdefs.h <<\_ACEOF
26661 #define wxUSE_LIBMSPACK 1
26675 if test "$USE_WIN32" = 1 ; then
26676 { echo "$as_me:$LINENO: checking
for w32api.h
" >&5
26677 echo $ECHO_N "checking
for w32api.h...
$ECHO_C" >&6; }
26678 if test "${ac_cv_header_w32api_h+set}" = set; then
26679 echo $ECHO_N "(cached
) $ECHO_C" >&6
26681 cat >conftest.$ac_ext <<_ACEOF
26684 cat confdefs.h >>conftest.$ac_ext
26685 cat >>conftest.$ac_ext <<_ACEOF
26686 /* end confdefs.h. */
26689 #include <w32api.h>
26691 rm -f conftest.$ac_objext
26692 if { (ac_try="$ac_compile"
26693 case "(($ac_try" in
26694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26695 *) ac_try_echo=$ac_try;;
26697 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26698 (eval "$ac_compile") 2>conftest.er1
26700 grep -v '^ *+' conftest.er1 >conftest.err
26702 cat conftest.err >&5
26703 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26704 (exit $ac_status); } && {
26705 test -z "$ac_c_werror_flag" ||
26706 test ! -s conftest.err
26707 } && test -s conftest.$ac_objext; then
26708 ac_cv_header_w32api_h=yes
26710 echo "$as_me: failed program was
:" >&5
26711 sed 's/^/| /' conftest.$ac_ext >&5
26713 ac_cv_header_w32api_h=no
26716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26718 { echo "$as_me:$LINENO: result
: $ac_cv_header_w32api_h" >&5
26719 echo "${ECHO_T}$ac_cv_header_w32api_h" >&6; }
26722 { echo "$as_me:$LINENO: checking
for windows.h
" >&5
26723 echo $ECHO_N "checking
for windows.h...
$ECHO_C" >&6; }
26724 if test "${ac_cv_header_windows_h+set}" = set; then
26725 echo $ECHO_N "(cached
) $ECHO_C" >&6
26727 cat >conftest.$ac_ext <<_ACEOF
26730 cat confdefs.h >>conftest.$ac_ext
26731 cat >>conftest.$ac_ext <<_ACEOF
26732 /* end confdefs.h. */
26735 #include <windows.h>
26737 rm -f conftest.$ac_objext
26738 if { (ac_try="$ac_compile"
26739 case "(($ac_try" in
26740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26741 *) ac_try_echo=$ac_try;;
26743 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26744 (eval "$ac_compile") 2>conftest.er1
26746 grep -v '^ *+' conftest.er1 >conftest.err
26748 cat conftest.err >&5
26749 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26750 (exit $ac_status); } && {
26751 test -z "$ac_c_werror_flag" ||
26752 test ! -s conftest.err
26753 } && test -s conftest.$ac_objext; then
26754 ac_cv_header_windows_h=yes
26756 echo "$as_me: failed program was
:" >&5
26757 sed 's/^/| /' conftest.$ac_ext >&5
26759 ac_cv_header_windows_h=no
26762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26764 { echo "$as_me:$LINENO: result
: $ac_cv_header_windows_h" >&5
26765 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
26766 if test $ac_cv_header_windows_h = yes; then
26770 { { echo "$as_me:$LINENO: error
: please
set CFLAGS to contain the location of windows.h
" >&5
26771 echo "$as_me: error
: please
set CFLAGS to contain the location of windows.h
" >&2;}
26772 { (exit 1); exit 1; }; }
26778 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
26780 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
26781 LIBS="$LIBS -loleacc"
26786 LIBS="$LIBS -lkernel32 -luser32"
26789 if test "$wxUSE_ODBC" = "sys
" ; then
26792 if test "$wxUSE_ODBC" = "yes" ; then
26793 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
26794 cat >>confdefs.h <<\_ACEOF
26795 #define wxUSE_ODBC 1
26800 RESFLAGS="--include-dir \
$(top_srcdir)/include
--include-dir \
$(top_srcdir)/\
$(program_dir) --define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
26801 RESPROGRAMOBJ="\
$(PROGRAM)_resources.o
"
26803 WXCONFIG_RESFLAGS="--define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
26805 WIN32INSTALL=win32install
26807 { echo "$as_me:$LINENO: checking
for pbt.h
" >&5
26808 echo $ECHO_N "checking
for pbt.h...
$ECHO_C" >&6; }
26809 if test "${ac_cv_header_pbt_h+set}" = set; then
26810 echo $ECHO_N "(cached
) $ECHO_C" >&6
26812 cat >conftest.$ac_ext <<_ACEOF
26815 cat confdefs.h >>conftest.$ac_ext
26816 cat >>conftest.$ac_ext <<_ACEOF
26817 /* end confdefs.h. */
26822 rm -f conftest.$ac_objext
26823 if { (ac_try="$ac_compile"
26824 case "(($ac_try" in
26825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26826 *) ac_try_echo=$ac_try;;
26828 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26829 (eval "$ac_compile") 2>conftest.er1
26831 grep -v '^ *+' conftest.er1 >conftest.err
26833 cat conftest.err >&5
26834 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26835 (exit $ac_status); } && {
26836 test -z "$ac_c_werror_flag" ||
26837 test ! -s conftest.err
26838 } && test -s conftest.$ac_objext; then
26839 ac_cv_header_pbt_h=yes
26841 echo "$as_me: failed program was
:" >&5
26842 sed 's/^/| /' conftest.$ac_ext >&5
26844 ac_cv_header_pbt_h=no
26847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26849 { echo "$as_me:$LINENO: result
: $ac_cv_header_pbt_h" >&5
26850 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
26851 if test $ac_cv_header_pbt_h = yes; then
26854 cat >>confdefs.h <<\_ACEOF
26855 #define NEED_PBT_H 1
26863 if test "$wxUSE_GUI" = "yes"; then
26873 if test "$wxUSE_COCOA" = 1 ; then
26874 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
26875 { echo "$as_me:$LINENO: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&5
26876 echo "$as_me: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&2;}
26877 wxUSE_PRINTING_ARCHITECTURE=no
26879 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
26880 { echo "$as_me:$LINENO: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&5
26881 echo "$as_me: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&2;}
26882 wxUSE_DRAG_AND_DROP=no
26884 if test "$wxUSE_DRAGIMAGE" = "yes"; then
26885 { echo "$as_me:$LINENO: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&5
26886 echo "$as_me: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&2;}
26891 if test "$wxUSE_MSW" = 1 ; then
26897 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows
-mwindows"
26901 if test "$wxUSE_GTK" = 1; then
26902 { echo "$as_me:$LINENO: checking
for GTK
+ version
" >&5
26903 echo $ECHO_N "checking
for GTK
+ version...
$ECHO_C" >&6; }
26905 gtk_version_cached=1
26906 if test "${wx_cv_lib_gtk+set}" = set; then
26907 echo $ECHO_N "(cached
) $ECHO_C" >&6
26910 gtk_version_cached=0
26911 { echo "$as_me:$LINENO: result
: " >&5
26912 echo "${ECHO_T}" >&6; }
26915 if test "$wxUSE_THREADS" = "yes"; then
26916 GTK_MODULES=gthread
26920 if test "x
$wxGTK_VERSION" != "x1
"
26924 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
26929 # Check whether --enable-gtktest was given.
26930 if test "${enable_gtktest+set}" = set; then
26931 enableval=$enable_gtktest;
26937 pkg_config_args=gtk+-2.0
26938 for module in . $GTK_MODULES
26942 pkg_config_args="$pkg_config_args gthread
-2.0
"
26949 # Extract the first word of "pkg
-config", so it can be a program name with args.
26950 set dummy pkg-config; ac_word=$2
26951 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
26952 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
26953 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
26954 echo $ECHO_N "(cached
) $ECHO_C" >&6
26956 case $PKG_CONFIG in
26958 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
26961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26962 for as_dir in $PATH
26965 test -z "$as_dir" && as_dir=.
26966 for ac_exec_ext in '' $ac_executable_extensions; do
26967 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26968 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26969 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
26976 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no
"
26980 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
26981 if test -n "$PKG_CONFIG"; then
26982 { echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
26983 echo "${ECHO_T}$PKG_CONFIG" >&6; }
26985 { echo "$as_me:$LINENO: result
: no
" >&5
26986 echo "${ECHO_T}no
" >&6; }
26991 if test x$PKG_CONFIG != xno ; then
26992 if pkg-config --atleast-pkgconfig-version 0.7 ; then
26995 echo "*** pkg
-config too old
; version
0.7 or better required.
"
27003 min_gtk_version=2.0.0
27004 { echo "$as_me:$LINENO: checking
for GTK
+ - version
>= $min_gtk_version" >&5
27005 echo $ECHO_N "checking
for GTK
+ - version
>= $min_gtk_version...
$ECHO_C" >&6; }
27007 if test x$PKG_CONFIG != xno ; then
27008 ## don't try to run the test against uninstalled libtool libs
27009 if $PKG_CONFIG --uninstalled $pkg_config_args; then
27010 echo "Will use uninstalled version of GTK
+ found
in PKG_CONFIG_PATH
"
27014 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
27021 if test x"$no_gtk" = x ; then
27022 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
27023 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
27024 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27025 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27026 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27027 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27028 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27029 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27030 if test "x
$enable_gtktest" = "xyes
" ; then
27031 ac_save_CFLAGS="$CFLAGS"
27032 ac_save_LIBS="$LIBS"
27033 CFLAGS="$CFLAGS $GTK_CFLAGS"
27034 LIBS="$GTK_LIBS $LIBS"
27036 if test "$cross_compiling" = yes; then
27037 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
27039 cat >conftest.$ac_ext <<_ACEOF
27042 cat confdefs.h >>conftest.$ac_ext
27043 cat >>conftest.$ac_ext <<_ACEOF
27044 /* end confdefs.h. */
27046 #include <gtk/gtk.h>
27048 #include <stdlib.h>
27053 int major, minor, micro;
27056 system ("touch conf.gtktest
");
27058 /* HP/UX 9 (%@#!) writes to sscanf strings */
27059 tmp_version = g_strdup("$min_gtk_version");
27060 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
27061 printf("%s
, bad version string
\n", "$min_gtk_version");
27065 if ((gtk_major_version != $gtk_config_major_version) ||
27066 (gtk_minor_version != $gtk_config_minor_version) ||
27067 (gtk_micro_version != $gtk_config_micro_version))
27069 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
27070 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27071 gtk_major_version, gtk_minor_version, gtk_micro_version);
27072 printf ("*** was found
! If pkg
-config was correct
, then it is best
\n");
27073 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
27074 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
27075 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
27076 printf("*** required on your system.
\n");
27077 printf("*** If pkg
-config was wrong
, set the environment variable PKG_CONFIG_PATH
\n");
27078 printf("*** to point to the correct configuration files
\n");
27080 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27081 (gtk_minor_version != GTK_MINOR_VERSION) ||
27082 (gtk_micro_version != GTK_MICRO_VERSION))
27084 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
27085 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27086 printf("*** library
(version
%d.
%d.
%d
)\n",
27087 gtk_major_version, gtk_minor_version, gtk_micro_version);
27091 if ((gtk_major_version > major) ||
27092 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27093 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27099 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
27100 gtk_major_version, gtk_minor_version, gtk_micro_version);
27101 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
27102 major, minor, micro);
27103 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
27105 printf("*** If you have already installed a sufficiently new version
, this error
\n");
27106 printf("*** probably means that the wrong copy of the pkg
-config shell
script is
\n");
27107 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
27108 printf("*** of GTK
+, but you can also
set the PKG_CONFIG environment to point to the
\n");
27109 printf("*** correct copy of pkg
-config.
(In this
case, you will have to
\n");
27110 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
27111 printf("*** so that the correct libraries are found
at run
-time))\n");
27118 rm -f conftest$ac_exeext
27119 if { (ac_try="$ac_link"
27120 case "(($ac_try" in
27121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27122 *) ac_try_echo=$ac_try;;
27124 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27125 (eval "$ac_link") 2>&5
27127 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27128 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27129 { (case "(($ac_try" in
27130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27131 *) ac_try_echo=$ac_try;;
27133 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27134 (eval "$ac_try") 2>&5
27136 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27137 (exit $ac_status); }; }; then
27140 echo "$as_me: program exited with status
$ac_status" >&5
27141 echo "$as_me: failed program was
:" >&5
27142 sed 's/^/| /' conftest.$ac_ext >&5
27144 ( exit $ac_status )
27147 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27151 CFLAGS="$ac_save_CFLAGS"
27152 LIBS="$ac_save_LIBS"
27155 if test "x
$no_gtk" = x ; then
27156 { echo "$as_me:$LINENO: result
: yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&5
27157 echo "${ECHO_T}yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&6; }
27160 { echo "$as_me:$LINENO: result
: no
" >&5
27161 echo "${ECHO_T}no
" >&6; }
27162 if test "$PKG_CONFIG" = "no
" ; then
27163 echo "*** A new enough version of pkg
-config was not found.
"
27164 echo "*** See http
://pkgconfig.sourceforge.net
"
27166 if test -f conf.gtktest ; then
27169 echo "*** Could not run GTK
+ test program
, checking why...
"
27170 ac_save_CFLAGS="$CFLAGS"
27171 ac_save_LIBS="$LIBS"
27172 CFLAGS="$CFLAGS $GTK_CFLAGS"
27173 LIBS="$LIBS $GTK_LIBS"
27174 cat >conftest.$ac_ext <<_ACEOF
27177 cat confdefs.h >>conftest.$ac_ext
27178 cat >>conftest.$ac_ext <<_ACEOF
27179 /* end confdefs.h. */
27181 #include <gtk/gtk.h>
27187 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27192 rm -f conftest.$ac_objext conftest$ac_exeext
27193 if { (ac_try="$ac_link"
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_link") 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_exeext &&
27209 $as_test_x conftest$ac_exeext; then
27210 echo "*** The
test program compiled
, but did not run. This usually means
"
27211 echo "*** that the run
-time linker is not finding GTK
+ or finding the wrong
"
27212 echo "*** version of GTK
+. If it is not finding GTK
+, you
'll need to set your"
27213 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27214 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27215 echo "*** is required on your system"
27217 echo "*** If you have an old version installed, it is best to remove it, although"
27218 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27220 echo "$as_me: failed program was:" >&5
27221 sed 's
/^
/| /' conftest.$ac_ext >&5
27223 echo "*** The test program failed to compile or link. See the file config.log for the"
27224 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
27227 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27228 conftest$ac_exeext conftest.$ac_ext
27229 CFLAGS="$ac_save_CFLAGS"
27230 LIBS="$ac_save_LIBS"
27244 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27245 GTK_CFLAGS=`echo $GTK_CFLAGS | sed 's
/-mt//'`
27246 GTK_LIBS=`echo $GTK_LIBS | sed 's
/-mt//'`
27248 if test "$wxUSE_SHARED" != "yes"; then
27249 GTK_LIBS="$GTK_LIBS -lX11"
27254 if test -z "$wx_cv_lib_gtk"; then
27255 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
27257 # Check whether --with-gtk-prefix was given.
27258 if test "${with_gtk_prefix+set}" = set; then
27259 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
27261 gtk_config_prefix=""
27265 # Check whether --with-gtk-exec-prefix was given.
27266 if test "${with_gtk_exec_prefix+set}" = set; then
27267 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
27269 gtk_config_exec_prefix=""
27272 # Check whether --enable-gtktest was given.
27273 if test "${enable_gtktest+set}" = set; then
27274 enableval=$enable_gtktest;
27280 for module in . $GTK_MODULES
27284 gtk_config_args="$gtk_config_args gthread"
27289 if test x$gtk_config_exec_prefix != x ; then
27290 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27291 if test x${GTK_CONFIG+set} != xset ; then
27292 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
27295 if test x$gtk_config_prefix != x ; then
27296 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
27297 if test x${GTK_CONFIG+set} != xset ; then
27298 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
27302 # Extract the first word of "gtk-config", so it can be a program name with args.
27303 set dummy gtk-config; ac_word=$2
27304 { echo "$as_me:$LINENO: checking for $ac_word" >&5
27305 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27306 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27307 echo $ECHO_N "(cached) $ECHO_C" >&6
27309 case $GTK_CONFIG in
27311 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
27314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27315 for as_dir in $PATH
27318 test -z "$as_dir" && as_dir=.
27319 for ac_exec_ext in '' $ac_executable_extensions; do
27320 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27321 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27322 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27329 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
27333 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
27334 if test -n "$GTK_CONFIG"; then
27335 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27336 echo "${ECHO_T}$GTK_CONFIG" >&6; }
27338 { echo "$as_me:$LINENO: result: no" >&5
27339 echo "${ECHO_T}no" >&6; }
27343 min_gtk_version=1.2.7
27344 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27345 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
27347 if test "$GTK_CONFIG" = "no" ; then
27350 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
27351 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
27352 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
27353 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
1/'`
27354 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
27355 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
2/'`
27356 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
27357 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
3/'`
27358 if test "x$enable_gtktest" = "xyes" ; then
27359 ac_save_CFLAGS="$CFLAGS"
27360 ac_save_LIBS="$LIBS"
27361 CFLAGS="$CFLAGS $GTK_CFLAGS"
27362 LIBS="$GTK_LIBS $LIBS"
27364 if test "$cross_compiling" = yes; then
27365 echo $ac_n "cross compiling; assumed OK... $ac_c"
27367 cat >conftest.$ac_ext <<_ACEOF
27370 cat confdefs.h >>conftest.$ac_ext
27371 cat >>conftest.$ac_ext <<_ACEOF
27372 /* end confdefs.h. */
27374 #include <gtk/gtk.h>
27376 #include <stdlib.h>
27381 int major, minor, micro;
27384 system ("touch conf.gtktest");
27386 /* HP/UX 9 (%@#!) writes to sscanf strings */
27387 tmp_version = g_strdup("$min_gtk_version");
27388 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
27389 printf("%s, bad version string\n", "$min_gtk_version");
27393 if ((gtk_major_version != $gtk_config_major_version) ||
27394 (gtk_minor_version != $gtk_config_minor_version) ||
27395 (gtk_micro_version != $gtk_config_micro_version))
27397 printf("\n*** 'gtk
-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27398 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27399 gtk_major_version, gtk_minor_version, gtk_micro_version);
27400 printf ("*** was found! If gtk-config was correct, then it is best\n");
27401 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27402 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27403 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27404 printf("*** required on your system.\n");
27405 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27406 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27407 printf("*** before re-running configure\n");
27409 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27410 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27411 (gtk_minor_version != GTK_MINOR_VERSION) ||
27412 (gtk_micro_version != GTK_MICRO_VERSION))
27414 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27415 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27416 printf("*** library (version %d.%d.%d)\n",
27417 gtk_major_version, gtk_minor_version, gtk_micro_version);
27419 #endif /* defined (GTK_MAJOR_VERSION) ... */
27422 if ((gtk_major_version > major) ||
27423 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27424 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27430 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27431 gtk_major_version, gtk_minor_version, gtk_micro_version);
27432 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27433 major, minor, micro);
27434 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27436 printf("*** If you have already installed a sufficiently new version, this error\n");
27437 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27438 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27439 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27440 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27441 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27442 printf("*** so that the correct libraries are found at run-time))\n");
27449 rm -f conftest$ac_exeext
27450 if { (ac_try="$ac_link"
27451 case "(($ac_try" in
27452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27453 *) ac_try_echo=$ac_try;;
27455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27456 (eval "$ac_link") 2>&5
27458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27459 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
27460 { (case "(($ac_try" in
27461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27462 *) ac_try_echo=$ac_try;;
27464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27465 (eval "$ac_try") 2>&5
27467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27468 (exit $ac_status); }; }; then
27471 echo "$as_me: program exited with status $ac_status" >&5
27472 echo "$as_me: failed program was:" >&5
27473 sed 's
/^
/| /' conftest.$ac_ext >&5
27475 ( exit $ac_status )
27478 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27482 CFLAGS="$ac_save_CFLAGS"
27483 LIBS="$ac_save_LIBS"
27486 if test "x$no_gtk" = x ; then
27487 { echo "$as_me:$LINENO: result: yes" >&5
27488 echo "${ECHO_T}yes" >&6; }
27489 wx_cv_lib_gtk=1.2.7
27491 { echo "$as_me:$LINENO: result: no" >&5
27492 echo "${ECHO_T}no" >&6; }
27493 if test "$GTK_CONFIG" = "no" ; then
27494 echo "*** The gtk-config script installed by GTK could not be found"
27495 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27496 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27497 echo "*** full path to gtk-config."
27499 if test -f conf.gtktest ; then
27502 echo "*** Could not run GTK test program, checking why..."
27503 CFLAGS="$CFLAGS $GTK_CFLAGS"
27504 LIBS="$LIBS $GTK_LIBS"
27505 cat >conftest.$ac_ext <<_ACEOF
27508 cat confdefs.h >>conftest.$ac_ext
27509 cat >>conftest.$ac_ext <<_ACEOF
27510 /* end confdefs.h. */
27512 #include <gtk/gtk.h>
27518 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27523 rm -f conftest.$ac_objext conftest$ac_exeext
27524 if { (ac_try="$ac_link"
27525 case "(($ac_try" in
27526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27527 *) ac_try_echo=$ac_try;;
27529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27530 (eval "$ac_link") 2>conftest.er1
27532 grep -v '^
*+' conftest.er1 >conftest.err
27534 cat conftest.err >&5
27535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27536 (exit $ac_status); } && {
27537 test -z "$ac_c_werror_flag" ||
27538 test ! -s conftest.err
27539 } && test -s conftest$ac_exeext &&
27540 $as_test_x conftest$ac_exeext; then
27541 echo "*** The test program compiled, but did not run. This usually means"
27542 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27543 echo "*** version of GTK. If it is not finding GTK, you'll need to
set your
"
27544 echo "*** LD_LIBRARY_PATH environment variable
, or edit
/etc
/ld.so.conf to point
"
27545 echo "*** to the installed location Also
, make sure you have run ldconfig
if that
"
27546 echo "*** is required on your system
"
27548 echo "*** If you have an old version installed
, it is best to remove it
, although
"
27549 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
"
27551 echo "*** If you have a RedHat
5.0 system
, you should remove the GTK package that
"
27552 echo "*** came with the system with the
command"
27554 echo "*** rpm
--erase --nodeps gtk gtk
-devel"
27556 echo "$as_me: failed program was
:" >&5
27557 sed 's/^/| /' conftest.$ac_ext >&5
27559 echo "*** The
test program failed to compile or link. See the
file config.log
for the
"
27560 echo "*** exact error that occured. This usually means GTK was incorrectly installed
"
27561 echo "*** or that you have moved GTK since it was installed. In the latter
case, you
"
27562 echo "*** may want to edit the gtk
-config script: $GTK_CONFIG"
27565 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27566 conftest$ac_exeext conftest.$ac_ext
27567 CFLAGS="$ac_save_CFLAGS"
27568 LIBS="$ac_save_LIBS"
27580 if test -z "$wx_cv_lib_gtk"; then
27582 # Check whether --with-gtk-prefix was given.
27583 if test "${with_gtk_prefix+set}" = set; then
27584 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
27586 gtk_config_prefix=""
27590 # Check whether --with-gtk-exec-prefix was given.
27591 if test "${with_gtk_exec_prefix+set}" = set; then
27592 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
27594 gtk_config_exec_prefix=""
27597 # Check whether --enable-gtktest was given.
27598 if test "${enable_gtktest+set}" = set; then
27599 enableval=$enable_gtktest;
27605 for module in . $GTK_MODULES
27609 gtk_config_args="$gtk_config_args gthread
"
27614 if test x$gtk_config_exec_prefix != x ; then
27615 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27616 if test x${GTK_CONFIG+set} != xset ; then
27617 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
27620 if test x$gtk_config_prefix != x ; then
27621 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
27622 if test x${GTK_CONFIG+set} != xset ; then
27623 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
27627 # Extract the first word of "gtk
-config", so it can be a program name with args.
27628 set dummy gtk-config; ac_word=$2
27629 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
27630 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
27631 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27632 echo $ECHO_N "(cached
) $ECHO_C" >&6
27634 case $GTK_CONFIG in
27636 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
27639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27640 for as_dir in $PATH
27643 test -z "$as_dir" && as_dir=.
27644 for ac_exec_ext in '' $ac_executable_extensions; do
27645 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27646 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27647 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
27654 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no
"
27658 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
27659 if test -n "$GTK_CONFIG"; then
27660 { echo "$as_me:$LINENO: result
: $GTK_CONFIG" >&5
27661 echo "${ECHO_T}$GTK_CONFIG" >&6; }
27663 { echo "$as_me:$LINENO: result
: no
" >&5
27664 echo "${ECHO_T}no
" >&6; }
27668 min_gtk_version=1.2.3
27669 { echo "$as_me:$LINENO: checking
for GTK
- version
>= $min_gtk_version" >&5
27670 echo $ECHO_N "checking
for GTK
- version
>= $min_gtk_version...
$ECHO_C" >&6; }
27672 if test "$GTK_CONFIG" = "no
" ; then
27675 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
27676 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
27677 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
27678 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27679 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
27680 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27681 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
27682 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27683 if test "x
$enable_gtktest" = "xyes
" ; then
27684 ac_save_CFLAGS="$CFLAGS"
27685 ac_save_LIBS="$LIBS"
27686 CFLAGS="$CFLAGS $GTK_CFLAGS"
27687 LIBS="$GTK_LIBS $LIBS"
27689 if test "$cross_compiling" = yes; then
27690 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
27692 cat >conftest.$ac_ext <<_ACEOF
27695 cat confdefs.h >>conftest.$ac_ext
27696 cat >>conftest.$ac_ext <<_ACEOF
27697 /* end confdefs.h. */
27699 #include <gtk/gtk.h>
27701 #include <stdlib.h>
27706 int major, minor, micro;
27709 system ("touch conf.gtktest
");
27711 /* HP/UX 9 (%@#!) writes to sscanf strings */
27712 tmp_version = g_strdup("$min_gtk_version");
27713 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
27714 printf("%s
, bad version string
\n", "$min_gtk_version");
27718 if ((gtk_major_version != $gtk_config_major_version) ||
27719 (gtk_minor_version != $gtk_config_minor_version) ||
27720 (gtk_micro_version != $gtk_config_micro_version))
27722 printf("\n*** 'gtk-config --version' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
27723 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27724 gtk_major_version, gtk_minor_version, gtk_micro_version);
27725 printf ("*** was found
! If gtk
-config was correct
, then it is best
\n");
27726 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
27727 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
27728 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
27729 printf("*** required on your system.
\n");
27730 printf("*** If gtk
-config was wrong
, set the environment variable GTK_CONFIG
\n");
27731 printf("*** to point to the correct copy of gtk
-config, and remove the
file config.cache
\n");
27732 printf("*** before re
-running configure
\n");
27734 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27735 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27736 (gtk_minor_version != GTK_MINOR_VERSION) ||
27737 (gtk_micro_version != GTK_MICRO_VERSION))
27739 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
27740 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27741 printf("*** library
(version
%d.
%d.
%d
)\n",
27742 gtk_major_version, gtk_minor_version, gtk_micro_version);
27744 #endif /* defined (GTK_MAJOR_VERSION) ... */
27747 if ((gtk_major_version > major) ||
27748 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27749 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27755 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
27756 gtk_major_version, gtk_minor_version, gtk_micro_version);
27757 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
27758 major, minor, micro);
27759 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
27761 printf("*** If you have already installed a sufficiently new version
, this error
\n");
27762 printf("*** probably means that the wrong copy of the gtk
-config shell
script is
\n");
27763 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
27764 printf("*** of GTK
+, but you can also
set the GTK_CONFIG environment to point to the
\n");
27765 printf("*** correct copy of gtk
-config.
(In this
case, you will have to
\n");
27766 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
27767 printf("*** so that the correct libraries are found
at run
-time))\n");
27774 rm -f conftest$ac_exeext
27775 if { (ac_try="$ac_link"
27776 case "(($ac_try" in
27777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27778 *) ac_try_echo=$ac_try;;
27780 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27781 (eval "$ac_link") 2>&5
27783 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27784 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27785 { (case "(($ac_try" in
27786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27787 *) ac_try_echo=$ac_try;;
27789 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27790 (eval "$ac_try") 2>&5
27792 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27793 (exit $ac_status); }; }; then
27796 echo "$as_me: program exited with status
$ac_status" >&5
27797 echo "$as_me: failed program was
:" >&5
27798 sed 's/^/| /' conftest.$ac_ext >&5
27800 ( exit $ac_status )
27803 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27807 CFLAGS="$ac_save_CFLAGS"
27808 LIBS="$ac_save_LIBS"
27811 if test "x
$no_gtk" = x ; then
27812 { echo "$as_me:$LINENO: result
: yes" >&5
27813 echo "${ECHO_T}yes" >&6; }
27814 wx_cv_lib_gtk=1.2.3
27816 { echo "$as_me:$LINENO: result
: no
" >&5
27817 echo "${ECHO_T}no
" >&6; }
27818 if test "$GTK_CONFIG" = "no
" ; then
27819 echo "*** The gtk
-config script installed by GTK could not be found
"
27820 echo "*** If GTK was installed
in PREFIX
, make sure PREFIX
/bin is
in"
27821 echo "*** your path
, or
set the GTK_CONFIG environment variable to the
"
27822 echo "*** full path to gtk
-config.
"
27824 if test -f conf.gtktest ; then
27827 echo "*** Could not run GTK
test program
, checking why...
"
27828 CFLAGS="$CFLAGS $GTK_CFLAGS"
27829 LIBS="$LIBS $GTK_LIBS"
27830 cat >conftest.$ac_ext <<_ACEOF
27833 cat confdefs.h >>conftest.$ac_ext
27834 cat >>conftest.$ac_ext <<_ACEOF
27835 /* end confdefs.h. */
27837 #include <gtk/gtk.h>
27843 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27848 rm -f conftest.$ac_objext conftest$ac_exeext
27849 if { (ac_try="$ac_link"
27850 case "(($ac_try" in
27851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27852 *) ac_try_echo=$ac_try;;
27854 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27855 (eval "$ac_link") 2>conftest.er1
27857 grep -v '^ *+' conftest.er1 >conftest.err
27859 cat conftest.err >&5
27860 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27861 (exit $ac_status); } && {
27862 test -z "$ac_c_werror_flag" ||
27863 test ! -s conftest.err
27864 } && test -s conftest$ac_exeext &&
27865 $as_test_x conftest$ac_exeext; then
27866 echo "*** The
test program compiled
, but did not run. This usually means
"
27867 echo "*** that the run
-time linker is not finding GTK or finding the wrong
"
27868 echo "*** version of GTK. If it is not finding GTK
, you
'll need to set your"
27869 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27870 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27871 echo "*** is required on your system"
27873 echo "*** If you have an old version installed, it is best to remove it, although"
27874 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27876 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27877 echo "*** came with the system with the command"
27879 echo "*** rpm --erase --nodeps gtk gtk-devel"
27881 echo "$as_me: failed program was:" >&5
27882 sed 's
/^
/| /' conftest.$ac_ext >&5
27884 echo "*** The test program failed to compile or link. See the file config.log for the"
27885 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27886 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27887 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27890 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27891 conftest$ac_exeext conftest.$ac_ext
27892 CFLAGS="$ac_save_CFLAGS"
27893 LIBS="$ac_save_LIBS"
27908 if test -z "$wx_cv_lib_gtk"; then
27911 wx_cv_cflags_gtk=$GTK_CFLAGS
27912 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's
/ -l[^
]*cairo
[^
]*//g
'`
27919 if test "$gtk_version_cached" = 1; then
27920 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
27921 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
27924 case "$wx_cv_lib_gtk" in
27933 *) { { echo "$as_me:$LINENO: error:
27934 The development files for GTK+ were not found. For GTK+ 2, please
27935 ensure that pkg-config is in the path and that gtk+-2.0.pc is
27936 installed. For GTK+ 1.2 please check that gtk-config is in the path,
27937 and that the version is 1.2.3 or above. Also check that the
27938 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
27939 --libs' are in the LD_LIBRARY_PATH or equivalent.
27941 echo "$as_me: error:
27942 The development files for GTK+ were not found. For GTK+ 2, please
27943 ensure that pkg-config is in the path and that gtk+-2.0.pc is
27944 installed. For GTK+ 1.2 please check that gtk-config is in the path,
27945 and that the version is 1.2.3 or above. Also check that the
27946 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
27947 --libs' are in the LD_LIBRARY_PATH or equivalent.
27949 { (exit 1); exit 1; }; }
27953 if test "$WXGTK20" = 1; then
27954 save_CFLAGS="$CFLAGS"
27956 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
27957 LIBS="$LIBS $wx_cv_libs_gtk"
27959 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
27960 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
27961 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
27962 echo $ECHO_N "(cached) $ECHO_C" >&6
27964 cat >conftest.$ac_ext <<_ACEOF
27967 cat confdefs.h >>conftest.$ac_ext
27968 cat >>conftest.$ac_ext <<_ACEOF
27969 /* end confdefs.h. */
27970 #include <gtk/gtk.h>
27975 #ifndef gtk_icon_size_lookup
27976 (void) gtk_icon_size_lookup;
27983 rm -f conftest.$ac_objext
27984 if { (ac_try="$ac_compile"
27985 case "(($ac_try" in
27986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27987 *) ac_try_echo=$ac_try;;
27989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27990 (eval "$ac_compile") 2>conftest.er1
27992 grep -v '^
*+' conftest.er1 >conftest.err
27994 cat conftest.err >&5
27995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27996 (exit $ac_status); } && {
27997 test -z "$ac_c_werror_flag" ||
27998 test ! -s conftest.err
27999 } && test -s conftest.$ac_objext; then
28000 ac_cv_have_decl_gtk_icon_size_lookup=yes
28002 echo "$as_me: failed program was:" >&5
28003 sed 's
/^
/| /' conftest.$ac_ext >&5
28005 ac_cv_have_decl_gtk_icon_size_lookup=no
28008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28010 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
28011 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
28012 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
28014 cat >>confdefs.h <<_ACEOF
28015 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
28020 cat >>confdefs.h <<_ACEOF
28021 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
28024 cat >>confdefs.h <<\_ACEOF
28025 #define NEED_GTK_ICON_SIZE_LOOKUP 1
28033 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
28034 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
28035 cat >conftest.$ac_ext <<_ACEOF
28038 cat confdefs.h >>conftest.$ac_ext
28039 cat >>conftest.$ac_ext <<_ACEOF
28040 /* end confdefs.h. */
28042 #include <gtk/gtk.h>
28048 #if !GTK_CHECK_VERSION(2,10,0)
28056 rm -f conftest.$ac_objext
28057 if { (ac_try="$ac_compile"
28058 case "(($ac_try" in
28059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28060 *) ac_try_echo=$ac_try;;
28062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28063 (eval "$ac_compile") 2>conftest.er1
28065 grep -v '^
*+' conftest.er1 >conftest.err
28067 cat conftest.err >&5
28068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28069 (exit $ac_status); } && {
28070 test -z "$ac_c_werror_flag" ||
28071 test ! -s conftest.err
28072 } && test -s conftest.$ac_objext; then
28074 cat >>confdefs.h <<\_ACEOF
28075 #define __WXGTK210__ 1
28078 cat >>confdefs.h <<\_ACEOF
28079 #define __WXGTK26__ 1
28082 cat >>confdefs.h <<\_ACEOF
28083 #define __WXGTK24__ 1
28086 { echo "$as_me:$LINENO: result: yes" >&5
28087 echo "${ECHO_T}yes" >&6; }
28091 echo "$as_me: failed program was:" >&5
28092 sed 's
/^
/| /' conftest.$ac_ext >&5
28095 { echo "$as_me:$LINENO: result: no" >&5
28096 echo "${ECHO_T}no" >&6; }
28101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28103 if test "$ac_wxgtk210" = 0; then
28104 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28105 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
28106 cat >conftest.$ac_ext <<_ACEOF
28109 cat confdefs.h >>conftest.$ac_ext
28110 cat >>conftest.$ac_ext <<_ACEOF
28111 /* end confdefs.h. */
28113 #include <gtk/gtk.h>
28119 #if !GTK_CHECK_VERSION(2,6,0)
28127 rm -f conftest.$ac_objext
28128 if { (ac_try="$ac_compile"
28129 case "(($ac_try" in
28130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28131 *) ac_try_echo=$ac_try;;
28133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28134 (eval "$ac_compile") 2>conftest.er1
28136 grep -v '^
*+' conftest.er1 >conftest.err
28138 cat conftest.err >&5
28139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28140 (exit $ac_status); } && {
28141 test -z "$ac_c_werror_flag" ||
28142 test ! -s conftest.err
28143 } && test -s conftest.$ac_objext; then
28145 cat >>confdefs.h <<\_ACEOF
28146 #define __WXGTK26__ 1
28149 cat >>confdefs.h <<\_ACEOF
28150 #define __WXGTK24__ 1
28153 { echo "$as_me:$LINENO: result: yes" >&5
28154 echo "${ECHO_T}yes" >&6; }
28158 echo "$as_me: failed program was:" >&5
28159 sed 's
/^
/| /' conftest.$ac_ext >&5
28162 { echo "$as_me:$LINENO: result: no" >&5
28163 echo "${ECHO_T}no" >&6; }
28168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28171 if test "$ac_wxgtk26" = 0; then
28172 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
28173 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
28174 cat >conftest.$ac_ext <<_ACEOF
28177 cat confdefs.h >>conftest.$ac_ext
28178 cat >>conftest.$ac_ext <<_ACEOF
28179 /* end confdefs.h. */
28181 #include <gtk/gtk.h>
28187 #if !GTK_CHECK_VERSION(2,4,0)
28195 rm -f conftest.$ac_objext
28196 if { (ac_try="$ac_compile"
28197 case "(($ac_try" in
28198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28199 *) ac_try_echo=$ac_try;;
28201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28202 (eval "$ac_compile") 2>conftest.er1
28204 grep -v '^
*+' conftest.er1 >conftest.err
28206 cat conftest.err >&5
28207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28208 (exit $ac_status); } && {
28209 test -z "$ac_c_werror_flag" ||
28210 test ! -s conftest.err
28211 } && test -s conftest.$ac_objext; then
28213 cat >>confdefs.h <<\_ACEOF
28214 #define __WXGTK24__ 1
28217 { echo "$as_me:$LINENO: result: yes" >&5
28218 echo "${ECHO_T}yes" >&6; }
28221 echo "$as_me: failed program was:" >&5
28222 sed 's
/^
/| /' conftest.$ac_ext >&5
28225 { echo "$as_me:$LINENO: result: no" >&5
28226 echo "${ECHO_T}no" >&6; }
28230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28233 CFLAGS="$save_CFLAGS"
28236 if test "$wxUSE_UNICODE" = "yes"; then
28237 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
28238 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
28242 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
28243 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
28244 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
28245 echo $ECHO_N "(cached) $ECHO_C" >&6
28247 ac_check_lib_save_LIBS=$LIBS
28249 cat >conftest.$ac_ext <<_ACEOF
28252 cat confdefs.h >>conftest.$ac_ext
28253 cat >>conftest.$ac_ext <<_ACEOF
28254 /* end confdefs.h. */
28256 /* Override any GCC internal prototype to avoid an error.
28257 Use char because int might match the return type of a GCC
28258 builtin and then its argument prototype would still apply. */
28262 char gdk_im_open ();
28266 return gdk_im_open ();
28271 rm -f conftest.$ac_objext conftest$ac_exeext
28272 if { (ac_try="$ac_link"
28273 case "(($ac_try" in
28274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28275 *) ac_try_echo=$ac_try;;
28277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28278 (eval "$ac_link") 2>conftest.er1
28280 grep -v '^
*+' conftest.er1 >conftest.err
28282 cat conftest.err >&5
28283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28284 (exit $ac_status); } && {
28285 test -z "$ac_c_werror_flag" ||
28286 test ! -s conftest.err
28287 } && test -s conftest$ac_exeext &&
28288 $as_test_x conftest$ac_exeext; then
28289 ac_cv_lib_gdk_gdk_im_open=yes
28291 echo "$as_me: failed program was:" >&5
28292 sed 's
/^
/| /' conftest.$ac_ext >&5
28294 ac_cv_lib_gdk_gdk_im_open=no
28297 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28298 conftest$ac_exeext conftest.$ac_ext
28299 LIBS=$ac_check_lib_save_LIBS
28301 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
28302 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
28303 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
28304 cat >>confdefs.h <<\_ACEOF
28311 if test "$USE_DARWIN" != 1; then
28313 for ac_func in poll
28315 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28316 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28317 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28318 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28319 echo $ECHO_N "(cached) $ECHO_C" >&6
28321 cat >conftest.$ac_ext <<_ACEOF
28324 cat confdefs.h >>conftest.$ac_ext
28325 cat >>conftest.$ac_ext <<_ACEOF
28326 /* end confdefs.h. */
28327 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28328 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28329 #define $ac_func innocuous_$ac_func
28331 /* System header to define __stub macros and hopefully few prototypes,
28332 which can conflict with char $ac_func (); below.
28333 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28334 <limits.h> exists even on freestanding compilers. */
28337 # include <limits.h>
28339 # include <assert.h>
28344 /* Override any GCC internal prototype to avoid an error.
28345 Use char because int might match the return type of a GCC
28346 builtin and then its argument prototype would still apply. */
28351 /* The GNU C library defines this for functions which it implements
28352 to always fail with ENOSYS. Some functions are actually named
28353 something starting with __ and the normal name is an alias. */
28354 #if defined __stub_$ac_func || defined __stub___$ac_func
28361 return $ac_func ();
28366 rm -f conftest.$ac_objext conftest$ac_exeext
28367 if { (ac_try="$ac_link"
28368 case "(($ac_try" in
28369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28370 *) ac_try_echo=$ac_try;;
28372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28373 (eval "$ac_link") 2>conftest.er1
28375 grep -v '^
*+' conftest.er1 >conftest.err
28377 cat conftest.err >&5
28378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28379 (exit $ac_status); } && {
28380 test -z "$ac_c_werror_flag" ||
28381 test ! -s conftest.err
28382 } && test -s conftest$ac_exeext &&
28383 $as_test_x conftest$ac_exeext; then
28384 eval "$as_ac_var=yes"
28386 echo "$as_me: failed program was:" >&5
28387 sed 's
/^
/| /' conftest.$ac_ext >&5
28389 eval "$as_ac_var=no"
28392 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28393 conftest$ac_exeext conftest.$ac_ext
28395 ac_res=`eval echo '${'$as_ac_var'}'`
28396 { echo "$as_me:$LINENO: result: $ac_res" >&5
28397 echo "${ECHO_T}$ac_res" >&6; }
28398 if test `eval echo '${'$as_ac_var'}'` = yes; then
28399 cat >>confdefs.h <<_ACEOF
28400 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28409 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
28410 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
28412 AFMINSTALL=afminstall
28416 if test "$wxUSE_GPE" = "yes"; then
28417 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
28418 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
28421 for ac_dir in $SEARCH_LIB;
28423 for ac_extension in a so sl dylib dll.a; do
28424 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
28425 ac_find_libraries=$ac_dir
28431 if test "$ac_find_libraries" != "" ; then
28433 if test "$ac_find_libraries" = "default location"; then
28436 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
28438 if test $result = 0; then
28441 ac_path_to_link=" -L$ac_find_libraries"
28445 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
28447 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
28448 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
28450 { echo "$as_me:$LINENO: result: not found" >&5
28451 echo "${ECHO_T}not found" >&6; }
28457 if test "$wxUSE_MGL" = 1; then
28458 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
28459 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
28460 if test "x$MGL_ROOT" = x ; then
28461 { echo "$as_me:$LINENO: result: not found" >&5
28462 echo "${ECHO_T}not found" >&6; }
28463 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
28464 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
28465 { (exit 1); exit 1; }; }
28467 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
28468 echo "${ECHO_T}$MGL_ROOT" >&6; }
28471 { echo "$as_me:$LINENO: checking for libmgl location" >&5
28472 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
28475 if test "x$wxUSE_SHARED" = xyes ; then
28476 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
28478 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
28482 mgl_os_candidates="dos32/dj2"
28485 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
28486 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
28487 { (exit 1); exit 1; }; }
28493 for mgl_os_i in $mgl_os_candidates ; do
28494 if test "x$mgl_os" = x ; then
28495 if test "$wxUSE_DEBUG_FLAG" = yes ; then
28496 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
28497 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
28502 if test "x$mgl_lib_type" = x ; then
28503 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
28504 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
28505 mgl_lib_type=release
28512 if test "x$mgl_os" = x ; then
28513 { echo "$as_me:$LINENO: result: not found" >&5
28514 echo "${ECHO_T}not found" >&6; }
28515 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
28516 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
28517 { (exit 1); exit 1; }; }
28519 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
28520 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
28522 wxUSE_UNIVERSAL="yes"
28524 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
28525 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
28527 AFMINSTALL=afminstall
28532 if test "$wxUSE_DFB" = 1; then
28535 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28536 if test -n "$ac_tool_prefix"; then
28537 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28538 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
28539 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28540 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28541 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28542 echo $ECHO_N "(cached) $ECHO_C" >&6
28544 case $PKG_CONFIG in
28546 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28550 for as_dir in $PATH
28553 test -z "$as_dir" && as_dir=.
28554 for ac_exec_ext in '' $ac_executable_extensions; do
28555 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28556 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28557 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28567 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28568 if test -n "$PKG_CONFIG"; then
28569 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28570 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28572 { echo "$as_me:$LINENO: result: no" >&5
28573 echo "${ECHO_T}no" >&6; }
28578 if test -z "$ac_cv_path_PKG_CONFIG"; then
28579 ac_pt_PKG_CONFIG=$PKG_CONFIG
28580 # Extract the first word of "pkg-config", so it can be a program name with args.
28581 set dummy pkg-config; ac_word=$2
28582 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28583 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28584 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
28585 echo $ECHO_N "(cached) $ECHO_C" >&6
28587 case $ac_pt_PKG_CONFIG in
28589 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28593 for as_dir in $PATH
28596 test -z "$as_dir" && as_dir=.
28597 for ac_exec_ext in '' $ac_executable_extensions; do
28598 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28599 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28600 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28610 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
28611 if test -n "$ac_pt_PKG_CONFIG"; then
28612 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
28613 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
28615 { echo "$as_me:$LINENO: result: no" >&5
28616 echo "${ECHO_T}no" >&6; }
28619 if test "x$ac_pt_PKG_CONFIG" = x; then
28622 case $cross_compiling:$ac_tool_warned in
28624 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
28625 whose name does not start with the host triplet. If you think this
28626 configuration is useful to you, please write to autoconf@gnu.org." >&5
28627 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
28628 whose name does not start with the host triplet. If you think this
28629 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
28630 ac_tool_warned=yes ;;
28632 PKG_CONFIG=$ac_pt_PKG_CONFIG
28635 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
28639 if test -n "$PKG_CONFIG"; then
28640 _pkg_min_version=0.9.0
28641 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
28642 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
28643 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28644 { echo "$as_me:$LINENO: result: yes" >&5
28645 echo "${ECHO_T}yes" >&6; }
28647 { echo "$as_me:$LINENO: result: no" >&5
28648 echo "${ECHO_T}no" >&6; }
28656 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
28657 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
28659 if test -n "$PKG_CONFIG"; then
28660 if test -n "$DIRECTFB_CFLAGS"; then
28661 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
28663 if test -n "$PKG_CONFIG" && \
28664 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
28665 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
28667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28668 (exit $ac_status); }; then
28669 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
28677 if test -n "$PKG_CONFIG"; then
28678 if test -n "$DIRECTFB_LIBS"; then
28679 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
28681 if test -n "$PKG_CONFIG" && \
28682 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
28683 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
28685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28686 (exit $ac_status); }; then
28687 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
28698 if test $pkg_failed = yes; then
28700 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28701 _pkg_short_errors_supported=yes
28703 _pkg_short_errors_supported=no
28705 if test $_pkg_short_errors_supported = yes; then
28706 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
28708 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
28710 # Put the nasty error message in config.log where it belongs
28711 echo "$DIRECTFB_PKG_ERRORS" >&5
28714 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
28715 echo "$as_me: error: DirectFB not found." >&2;}
28716 { (exit 1); exit 1; }; }
28719 elif test $pkg_failed = untried; then
28721 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
28722 echo "$as_me: error: DirectFB not found." >&2;}
28723 { (exit 1); exit 1; }; }
28727 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
28728 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
28729 { echo "$as_me:$LINENO: result: yes" >&5
28730 echo "${ECHO_T}yes" >&6; }
28732 wxUSE_UNIVERSAL="yes"
28733 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
28734 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
28741 if test "$wxUSE_MICROWIN" = 1; then
28742 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
28743 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
28744 if test "x$MICROWINDOWS" = x ; then
28745 { echo "$as_me:$LINENO: result: not found" >&5
28746 echo "${ECHO_T}not found" >&6; }
28747 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
28748 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
28749 { (exit 1); exit 1; }; }
28751 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
28752 echo "${ECHO_T}$MICROWINDOWS" >&6; }
28755 if test -f $MICROWINDOWS/lib/libmwin.a; then
28756 { echo "$as_me:$LINENO: result: MicroWindows' libraries found.
" >&5
28757 echo "${ECHO_T}MicroWindows
' libraries found." >&6; }
28759 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
28760 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
28761 { (exit 1); exit 1; }; }
28764 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
28765 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
28767 wxUSE_UNIVERSAL="yes"
28769 AFMINSTALL=afminstall
28771 GUIDIST=MICROWIN_DIST
28773 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
28776 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
28777 { echo "$as_me:$LINENO: checking for X" >&5
28778 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
28781 # Check whether --with-x was given.
28782 if test "${with_x+set}" = set; then
28786 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
28787 if test "x$with_x" = xno; then
28788 # The user explicitly disabled X.
28791 case $x_includes,$x_libraries in #(
28792 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
28793 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
28794 { (exit 1); exit 1; }; };; #(
28795 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
28796 echo $ECHO_N "(cached) $ECHO_C" >&6
28798 # One or both of the vars are not set, and there is no cached value.
28799 ac_x_includes=no ac_x_libraries=no
28800 rm -f -r conftest.dir
28801 if mkdir conftest.dir; then
28803 cat >Imakefile <<'_ACEOF'
28805 @echo incroot='${INCROOT}'
28807 @echo usrlibdir='${USRLIBDIR}'
28809 @echo libdir='${LIBDIR}'
28811 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
28812 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
28813 for ac_var in incroot usrlibdir libdir; do
28814 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
28816 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
28817 for ac_extension in a so sl; do
28818 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
28819 test -f "$ac_im_libdir/libX11.$ac_extension"; then
28820 ac_im_usrlibdir=$ac_im_libdir; break
28823 # Screen out bogus values from the imake configuration. They are
28824 # bogus both because they are the default anyway, and because
28825 # using them would break gcc on systems where it needs fixed includes.
28826 case $ac_im_incroot in
28827 /usr/include) ac_x_includes= ;;
28828 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
28830 case $ac_im_usrlibdir in
28831 /usr/lib | /lib) ;;
28832 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
28836 rm -f -r conftest.dir
28839 # Standard set of common directories for X headers.
28840 # Check X11 before X11Rn because it is often a symlink to the current release.
28852 /usr
/local
/X
11/include
28853 /usr
/local
/X
11R
6/include
28854 /usr
/local
/X
11R
5/include
28855 /usr
/local
/X
11R
4/include
28857 /usr
/local
/include
/X11
28858 /usr
/local
/include
/X11R6
28859 /usr
/local
/include
/X11R5
28860 /usr
/local
/include
/X11R4
28864 /usr
/XFree
86/include
/X11
28868 /usr
/unsupported
/include
28869 /usr
/athena
/include
28870 /usr
/local
/x
11r
5/include
28871 /usr
/lpp
/Xamples
/include
28873 /usr
/openwin
/include
28874 /usr
/openwin
/share
/include
'
28876 if test "$ac_x_includes" = no; then
28877 # Guess where to find include files, by looking for Xlib.h.
28878 # First, try using that file with no special directory specified.
28879 cat >conftest.$ac_ext <<_ACEOF
28882 cat confdefs.h >>conftest.$ac_ext
28883 cat >>conftest.$ac_ext <<_ACEOF
28884 /* end confdefs.h. */
28885 #include <X11/Xlib.h>
28887 if { (ac_try="$ac_cpp conftest.$ac_ext"
28888 case "(($ac_try" in
28889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28890 *) ac_try_echo=$ac_try;;
28892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28893 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28895 grep -v '^
*+' conftest.er1 >conftest.err
28897 cat conftest.err >&5
28898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28899 (exit $ac_status); } >/dev/null && {
28900 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28901 test ! -s conftest.err
28903 # We can compile using X headers with no special include directory.
28906 echo "$as_me: failed program was:" >&5
28907 sed 's
/^
/| /' conftest.$ac_ext >&5
28909 for ac_dir in $ac_x_header_dirs; do
28910 if test -r "$ac_dir/X11/Xlib.h"; then
28911 ac_x_includes=$ac_dir
28917 rm -f conftest.err conftest.$ac_ext
28918 fi # $ac_x_includes = no
28920 if test "$ac_x_libraries" = no; then
28921 # Check for the libraries.
28922 # See if we find them without any special options.
28923 # Don't add to
$LIBS permanently.
28926 cat >conftest.
$ac_ext <<_ACEOF
28929 cat confdefs.h
>>conftest.
$ac_ext
28930 cat >>conftest.
$ac_ext <<_ACEOF
28931 /* end confdefs.h. */
28932 #include <X11/Xlib.h>
28941 rm -f conftest.
$ac_objext conftest
$ac_exeext
28942 if { (ac_try
="$ac_link"
28943 case "(($ac_try" in
28944 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28945 *) ac_try_echo=$ac_try;;
28947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28948 (eval "$ac_link") 2>conftest.er1
28950 grep -v '^ *+' conftest.er1 >conftest.err
28952 cat conftest.err >&5
28953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28954 (exit $ac_status); } && {
28955 test -z "$ac_c_werror_flag" ||
28956 test ! -s conftest.err
28957 } && test -s conftest$ac_exeext &&
28958 $as_test_x conftest$ac_exeext; then
28960 # We can link X programs with no special library path.
28963 echo "$as_me: failed program was:" >&5
28964 sed 's/^/| /' conftest.$ac_ext >&5
28967 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s
/include
/lib
/g
`
28969 # Don't even attempt the hair of trying to link an X program!
28970 for ac_extension in a so sl; do
28971 if test -r "$ac_dir/libX11.$ac_extension"; then
28972 ac_x_libraries=$ac_dir
28979 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28980 conftest$ac_exeext conftest.$ac_ext
28981 fi # $ac_x_libraries = no
28983 case $ac_x_includes,$ac_x_libraries in #(
28984 no,* | *,no | *\'*)
28985 # Didn't find X, or a directory has "'" in its name.
28986 ac_cv_have_x="have_x=no";; #(
28988 # Record where we found X for the cache.
28989 ac_cv_have_x="have_x=yes\
28990 ac_x_includes='$ac_x_includes'\
28991 ac_x_libraries='$ac_x_libraries'"
28997 eval "$ac_cv_have_x"
29000 if test "$have_x" != yes; then
29001 { echo "$as_me:$LINENO: result: $have_x" >&5
29002 echo "${ECHO_T}$have_x" >&6; }
29005 # If each of the values was on the command line, it overrides each guess.
29006 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
29007 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
29008 # Update the cache value to reflect the command line values.
29009 ac_cv_have_x="have_x=yes\
29010 ac_x_includes='$x_includes'\
29011 ac_x_libraries='$x_libraries'"
29012 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
29013 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
29016 if test "$no_x" = yes; then
29017 # Not all programs may use this symbol, but it does not hurt to define it.
29019 cat >>confdefs.h <<\_ACEOF
29020 #define X_DISPLAY_MISSING 1
29023 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
29025 if test -n "$x_includes"; then
29026 X_CFLAGS="$X_CFLAGS -I$x_includes"
29029 # It would also be nice to do this for all -L options, not just this one.
29030 if test -n "$x_libraries"; then
29031 X_LIBS="$X_LIBS -L$x_libraries"
29032 # For Solaris; some versions of Sun CC require a space after -R and
29033 # others require no space. Words are not sufficient . . . .
29034 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29035 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
29036 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
29037 ac_xsave_c_werror_flag=$ac_c_werror_flag
29038 ac_c_werror_flag=yes
29039 cat >conftest.$ac_ext <<_ACEOF
29042 cat confdefs.h >>conftest.$ac_ext
29043 cat >>conftest.$ac_ext <<_ACEOF
29044 /* end confdefs.h. */
29054 rm -f conftest.$ac_objext conftest$ac_exeext
29055 if { (ac_try="$ac_link"
29056 case "(($ac_try" in
29057 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29058 *) ac_try_echo
=$ac_try;;
29060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29061 (eval "$ac_link") 2>conftest.er1
29063 grep -v '^ *+' conftest.er1
>conftest.err
29065 cat conftest.err
>&5
29066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29067 (exit $ac_status); } && {
29068 test -z "$ac_c_werror_flag" ||
29069 test ! -s conftest.err
29070 } && test -s conftest
$ac_exeext &&
29071 $as_test_x conftest
$ac_exeext; then
29072 { echo "$as_me:$LINENO: result: no" >&5
29073 echo "${ECHO_T}no" >&6; }
29074 X_LIBS
="$X_LIBS -R$x_libraries"
29076 echo "$as_me: failed program was:" >&5
29077 sed 's/^/| /' conftest.
$ac_ext >&5
29079 LIBS
="$ac_xsave_LIBS -R $x_libraries"
29080 cat >conftest.
$ac_ext <<_ACEOF
29083 cat confdefs.h
>>conftest.
$ac_ext
29084 cat >>conftest.
$ac_ext <<_ACEOF
29085 /* end confdefs.h. */
29095 rm -f conftest.
$ac_objext conftest
$ac_exeext
29096 if { (ac_try
="$ac_link"
29097 case "(($ac_try" in
29098 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29099 *) ac_try_echo=$ac_try;;
29101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29102 (eval "$ac_link") 2>conftest.er1
29104 grep -v '^ *+' conftest.er1 >conftest.err
29106 cat conftest.err >&5
29107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29108 (exit $ac_status); } && {
29109 test -z "$ac_c_werror_flag" ||
29110 test ! -s conftest.err
29111 } && test -s conftest$ac_exeext &&
29112 $as_test_x conftest$ac_exeext; then
29113 { echo "$as_me:$LINENO: result: yes" >&5
29114 echo "${ECHO_T}yes" >&6; }
29115 X_LIBS="$X_LIBS -R $x_libraries"
29117 echo "$as_me: failed program was:" >&5
29118 sed 's/^/| /' conftest.$ac_ext >&5
29120 { echo "$as_me:$LINENO: result: neither works" >&5
29121 echo "${ECHO_T}neither works" >&6; }
29124 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29125 conftest$ac_exeext conftest.$ac_ext
29128 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29129 conftest$ac_exeext conftest.$ac_ext
29130 ac_c_werror_flag=$ac_xsave_c_werror_flag
29131 LIBS=$ac_xsave_LIBS
29134 # Check for system-dependent libraries X programs must link with.
29135 # Do this before checking for the system-independent R6 libraries
29136 # (-lICE), since we may need -lsocket or whatever for X linking.
29138 if test "$ISC" = yes; then
29139 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
29141 # Martyn Johnson says this is needed for Ultrix, if the X
29142 # libraries were built with DECnet support. And Karl Berry says
29143 # the Alpha needs dnet_stub (dnet does not exist).
29144 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
29145 cat >conftest.$ac_ext <<_ACEOF
29148 cat confdefs.h >>conftest.$ac_ext
29149 cat >>conftest.$ac_ext <<_ACEOF
29150 /* end confdefs.h. */
29152 /* Override any GCC internal prototype to avoid an error.
29153 Use char because int might match the return type of a GCC
29154 builtin and then its argument prototype would still apply. */
29158 char XOpenDisplay ();
29162 return XOpenDisplay ();
29167 rm -f conftest.$ac_objext conftest$ac_exeext
29168 if { (ac_try="$ac_link"
29169 case "(($ac_try" in
29170 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29171 *) ac_try_echo
=$ac_try;;
29173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29174 (eval "$ac_link") 2>conftest.er1
29176 grep -v '^ *+' conftest.er1
>conftest.err
29178 cat conftest.err
>&5
29179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29180 (exit $ac_status); } && {
29181 test -z "$ac_c_werror_flag" ||
29182 test ! -s conftest.err
29183 } && test -s conftest
$ac_exeext &&
29184 $as_test_x conftest
$ac_exeext; then
29187 echo "$as_me: failed program was:" >&5
29188 sed 's/^/| /' conftest.
$ac_ext >&5
29190 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29191 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
29192 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
29193 echo $ECHO_N "(cached) $ECHO_C" >&6
29195 ac_check_lib_save_LIBS
=$LIBS
29196 LIBS
="-ldnet $LIBS"
29197 cat >conftest.
$ac_ext <<_ACEOF
29200 cat confdefs.h
>>conftest.
$ac_ext
29201 cat >>conftest.
$ac_ext <<_ACEOF
29202 /* end confdefs.h. */
29204 /* Override any GCC internal prototype to avoid an error.
29205 Use char because int might match the return type of a GCC
29206 builtin and then its argument prototype would still apply. */
29214 return dnet_ntoa ();
29219 rm -f conftest.
$ac_objext conftest
$ac_exeext
29220 if { (ac_try
="$ac_link"
29221 case "(($ac_try" in
29222 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29223 *) ac_try_echo=$ac_try;;
29225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29226 (eval "$ac_link") 2>conftest.er1
29228 grep -v '^ *+' conftest.er1 >conftest.err
29230 cat conftest.err >&5
29231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29232 (exit $ac_status); } && {
29233 test -z "$ac_c_werror_flag" ||
29234 test ! -s conftest.err
29235 } && test -s conftest$ac_exeext &&
29236 $as_test_x conftest$ac_exeext; then
29237 ac_cv_lib_dnet_dnet_ntoa=yes
29239 echo "$as_me: failed program was:" >&5
29240 sed 's/^/| /' conftest.$ac_ext >&5
29242 ac_cv_lib_dnet_dnet_ntoa=no
29245 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29246 conftest$ac_exeext conftest.$ac_ext
29247 LIBS=$ac_check_lib_save_LIBS
29249 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
29250 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
29251 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
29252 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
29255 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
29256 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
29257 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
29258 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
29259 echo $ECHO_N "(cached) $ECHO_C" >&6
29261 ac_check_lib_save_LIBS=$LIBS
29262 LIBS="-ldnet_stub $LIBS"
29263 cat >conftest.$ac_ext <<_ACEOF
29266 cat confdefs.h >>conftest.$ac_ext
29267 cat >>conftest.$ac_ext <<_ACEOF
29268 /* end confdefs.h. */
29270 /* Override any GCC internal prototype to avoid an error.
29271 Use char because int might match the return type of a GCC
29272 builtin and then its argument prototype would still apply. */
29280 return dnet_ntoa ();
29285 rm -f conftest.$ac_objext conftest$ac_exeext
29286 if { (ac_try="$ac_link"
29287 case "(($ac_try" in
29288 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29289 *) ac_try_echo
=$ac_try;;
29291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29292 (eval "$ac_link") 2>conftest.er1
29294 grep -v '^ *+' conftest.er1
>conftest.err
29296 cat conftest.err
>&5
29297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29298 (exit $ac_status); } && {
29299 test -z "$ac_c_werror_flag" ||
29300 test ! -s conftest.err
29301 } && test -s conftest
$ac_exeext &&
29302 $as_test_x conftest
$ac_exeext; then
29303 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
29305 echo "$as_me: failed program was:" >&5
29306 sed 's/^/| /' conftest.
$ac_ext >&5
29308 ac_cv_lib_dnet_stub_dnet_ntoa
=no
29311 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
29312 conftest
$ac_exeext conftest.
$ac_ext
29313 LIBS
=$ac_check_lib_save_LIBS
29315 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
29316 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
29317 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
29318 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
29324 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
29325 conftest
$ac_exeext conftest.
$ac_ext
29326 LIBS
="$ac_xsave_LIBS"
29328 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
29329 # to get the SysV transport functions.
29330 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
29332 # The nsl library prevents programs from opening the X display
29333 # on Irix 5.2, according to T.E. Dickey.
29334 # The functions gethostbyname, getservbyname, and inet_addr are
29335 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
29336 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
29337 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
29338 if test "${ac_cv_func_gethostbyname+set}" = set; then
29339 echo $ECHO_N "(cached) $ECHO_C" >&6
29341 cat >conftest.
$ac_ext <<_ACEOF
29344 cat confdefs.h
>>conftest.
$ac_ext
29345 cat >>conftest.
$ac_ext <<_ACEOF
29346 /* end confdefs.h. */
29347 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
29348 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29349 #define gethostbyname innocuous_gethostbyname
29351 /* System header to define __stub macros and hopefully few prototypes,
29352 which can conflict with char gethostbyname (); below.
29353 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29354 <limits.h> exists even on freestanding compilers. */
29357 # include <limits.h>
29359 # include <assert.h>
29362 #undef gethostbyname
29364 /* Override any GCC internal prototype to avoid an error.
29365 Use char because int might match the return type of a GCC
29366 builtin and then its argument prototype would still apply. */
29370 char gethostbyname ();
29371 /* The GNU C library defines this for functions which it implements
29372 to always fail with ENOSYS. Some functions are actually named
29373 something starting with __ and the normal name is an alias. */
29374 #if defined __stub_gethostbyname || defined __stub___gethostbyname
29381 return gethostbyname ();
29386 rm -f conftest.
$ac_objext conftest
$ac_exeext
29387 if { (ac_try
="$ac_link"
29388 case "(($ac_try" in
29389 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29390 *) ac_try_echo=$ac_try;;
29392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29393 (eval "$ac_link") 2>conftest.er1
29395 grep -v '^ *+' conftest.er1 >conftest.err
29397 cat conftest.err >&5
29398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29399 (exit $ac_status); } && {
29400 test -z "$ac_c_werror_flag" ||
29401 test ! -s conftest.err
29402 } && test -s conftest$ac_exeext &&
29403 $as_test_x conftest$ac_exeext; then
29404 ac_cv_func_gethostbyname=yes
29406 echo "$as_me: failed program was:" >&5
29407 sed 's/^/| /' conftest.$ac_ext >&5
29409 ac_cv_func_gethostbyname=no
29412 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29413 conftest$ac_exeext conftest.$ac_ext
29415 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
29416 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
29418 if test $ac_cv_func_gethostbyname = no; then
29419 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
29420 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
29421 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
29422 echo $ECHO_N "(cached) $ECHO_C" >&6
29424 ac_check_lib_save_LIBS=$LIBS
29426 cat >conftest.$ac_ext <<_ACEOF
29429 cat confdefs.h >>conftest.$ac_ext
29430 cat >>conftest.$ac_ext <<_ACEOF
29431 /* end confdefs.h. */
29433 /* Override any GCC internal prototype to avoid an error.
29434 Use char because int might match the return type of a GCC
29435 builtin and then its argument prototype would still apply. */
29439 char gethostbyname ();
29443 return gethostbyname ();
29448 rm -f conftest.$ac_objext conftest$ac_exeext
29449 if { (ac_try="$ac_link"
29450 case "(($ac_try" in
29451 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29452 *) ac_try_echo
=$ac_try;;
29454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29455 (eval "$ac_link") 2>conftest.er1
29457 grep -v '^ *+' conftest.er1
>conftest.err
29459 cat conftest.err
>&5
29460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29461 (exit $ac_status); } && {
29462 test -z "$ac_c_werror_flag" ||
29463 test ! -s conftest.err
29464 } && test -s conftest
$ac_exeext &&
29465 $as_test_x conftest
$ac_exeext; then
29466 ac_cv_lib_nsl_gethostbyname
=yes
29468 echo "$as_me: failed program was:" >&5
29469 sed 's/^/| /' conftest.
$ac_ext >&5
29471 ac_cv_lib_nsl_gethostbyname
=no
29474 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
29475 conftest
$ac_exeext conftest.
$ac_ext
29476 LIBS
=$ac_check_lib_save_LIBS
29478 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
29479 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
29480 if test $ac_cv_lib_nsl_gethostbyname = yes; then
29481 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
29484 if test $ac_cv_lib_nsl_gethostbyname = no
; then
29485 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
29486 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
29487 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
29488 echo $ECHO_N "(cached) $ECHO_C" >&6
29490 ac_check_lib_save_LIBS
=$LIBS
29492 cat >conftest.
$ac_ext <<_ACEOF
29495 cat confdefs.h
>>conftest.
$ac_ext
29496 cat >>conftest.
$ac_ext <<_ACEOF
29497 /* end confdefs.h. */
29499 /* Override any GCC internal prototype to avoid an error.
29500 Use char because int might match the return type of a GCC
29501 builtin and then its argument prototype would still apply. */
29505 char gethostbyname ();
29509 return gethostbyname ();
29514 rm -f conftest.
$ac_objext conftest
$ac_exeext
29515 if { (ac_try
="$ac_link"
29516 case "(($ac_try" in
29517 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29518 *) ac_try_echo=$ac_try;;
29520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29521 (eval "$ac_link") 2>conftest.er1
29523 grep -v '^ *+' conftest.er1 >conftest.err
29525 cat conftest.err >&5
29526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29527 (exit $ac_status); } && {
29528 test -z "$ac_c_werror_flag" ||
29529 test ! -s conftest.err
29530 } && test -s conftest$ac_exeext &&
29531 $as_test_x conftest$ac_exeext; then
29532 ac_cv_lib_bsd_gethostbyname=yes
29534 echo "$as_me: failed program was:" >&5
29535 sed 's/^/| /' conftest.$ac_ext >&5
29537 ac_cv_lib_bsd_gethostbyname=no
29540 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29541 conftest$ac_exeext conftest.$ac_ext
29542 LIBS=$ac_check_lib_save_LIBS
29544 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
29545 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
29546 if test $ac_cv_lib_bsd_gethostbyname = yes; then
29547 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
29553 # lieder@skyler.mavd.honeywell.com says without -lsocket,
29554 # socket/setsockopt and other routines are undefined under SCO ODT
29555 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
29556 # on later versions), says Simon Leinen: it contains gethostby*
29557 # variants that don't use the name server (or something). -lsocket
29558 # must be given before -lnsl if both are needed. We assume that
29559 # if connect needs -lnsl, so does gethostbyname.
29560 { echo "$as_me:$LINENO: checking for connect" >&5
29561 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
29562 if test "${ac_cv_func_connect+set}" = set; then
29563 echo $ECHO_N "(cached) $ECHO_C" >&6
29565 cat >conftest.$ac_ext <<_ACEOF
29568 cat confdefs.h >>conftest.$ac_ext
29569 cat >>conftest.$ac_ext <<_ACEOF
29570 /* end confdefs.h. */
29571 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
29572 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29573 #define connect innocuous_connect
29575 /* System header to define __stub macros and hopefully few prototypes,
29576 which can conflict with char connect (); below.
29577 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29578 <limits.h> exists even on freestanding compilers. */
29581 # include <limits.h>
29583 # include <assert.h>
29588 /* Override any GCC internal prototype to avoid an error.
29589 Use char because int might match the return type of a GCC
29590 builtin and then its argument prototype would still apply. */
29595 /* The GNU C library defines this for functions which it implements
29596 to always fail with ENOSYS. Some functions are actually named
29597 something starting with __ and the normal name is an alias. */
29598 #if defined __stub_connect || defined __stub___connect
29610 rm -f conftest.$ac_objext conftest$ac_exeext
29611 if { (ac_try="$ac_link"
29612 case "(($ac_try" in
29613 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29614 *) ac_try_echo
=$ac_try;;
29616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29617 (eval "$ac_link") 2>conftest.er1
29619 grep -v '^ *+' conftest.er1
>conftest.err
29621 cat conftest.err
>&5
29622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29623 (exit $ac_status); } && {
29624 test -z "$ac_c_werror_flag" ||
29625 test ! -s conftest.err
29626 } && test -s conftest
$ac_exeext &&
29627 $as_test_x conftest
$ac_exeext; then
29628 ac_cv_func_connect
=yes
29630 echo "$as_me: failed program was:" >&5
29631 sed 's/^/| /' conftest.
$ac_ext >&5
29633 ac_cv_func_connect
=no
29636 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
29637 conftest
$ac_exeext conftest.
$ac_ext
29639 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
29640 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
29642 if test $ac_cv_func_connect = no
; then
29643 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
29644 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
29645 if test "${ac_cv_lib_socket_connect+set}" = set; then
29646 echo $ECHO_N "(cached) $ECHO_C" >&6
29648 ac_check_lib_save_LIBS
=$LIBS
29649 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
29650 cat >conftest.
$ac_ext <<_ACEOF
29653 cat confdefs.h
>>conftest.
$ac_ext
29654 cat >>conftest.
$ac_ext <<_ACEOF
29655 /* end confdefs.h. */
29657 /* Override any GCC internal prototype to avoid an error.
29658 Use char because int might match the return type of a GCC
29659 builtin and then its argument prototype would still apply. */
29672 rm -f conftest.
$ac_objext conftest
$ac_exeext
29673 if { (ac_try
="$ac_link"
29674 case "(($ac_try" in
29675 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29676 *) ac_try_echo=$ac_try;;
29678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29679 (eval "$ac_link") 2>conftest.er1
29681 grep -v '^ *+' conftest.er1 >conftest.err
29683 cat conftest.err >&5
29684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29685 (exit $ac_status); } && {
29686 test -z "$ac_c_werror_flag" ||
29687 test ! -s conftest.err
29688 } && test -s conftest$ac_exeext &&
29689 $as_test_x conftest$ac_exeext; then
29690 ac_cv_lib_socket_connect=yes
29692 echo "$as_me: failed program was:" >&5
29693 sed 's/^/| /' conftest.$ac_ext >&5
29695 ac_cv_lib_socket_connect=no
29698 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29699 conftest$ac_exeext conftest.$ac_ext
29700 LIBS=$ac_check_lib_save_LIBS
29702 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
29703 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
29704 if test $ac_cv_lib_socket_connect = yes; then
29705 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
29710 # Guillermo Gomez says -lposix is necessary on A/UX.
29711 { echo "$as_me:$LINENO: checking for remove" >&5
29712 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
29713 if test "${ac_cv_func_remove+set}" = set; then
29714 echo $ECHO_N "(cached) $ECHO_C" >&6
29716 cat >conftest.$ac_ext <<_ACEOF
29719 cat confdefs.h >>conftest.$ac_ext
29720 cat >>conftest.$ac_ext <<_ACEOF
29721 /* end confdefs.h. */
29722 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
29723 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29724 #define remove innocuous_remove
29726 /* System header to define __stub macros and hopefully few prototypes,
29727 which can conflict with char remove (); below.
29728 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29729 <limits.h> exists even on freestanding compilers. */
29732 # include <limits.h>
29734 # include <assert.h>
29739 /* Override any GCC internal prototype to avoid an error.
29740 Use char because int might match the return type of a GCC
29741 builtin and then its argument prototype would still apply. */
29746 /* The GNU C library defines this for functions which it implements
29747 to always fail with ENOSYS. Some functions are actually named
29748 something starting with __ and the normal name is an alias. */
29749 #if defined __stub_remove || defined __stub___remove
29761 rm -f conftest.$ac_objext conftest$ac_exeext
29762 if { (ac_try="$ac_link"
29763 case "(($ac_try" in
29764 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29765 *) ac_try_echo
=$ac_try;;
29767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29768 (eval "$ac_link") 2>conftest.er1
29770 grep -v '^ *+' conftest.er1
>conftest.err
29772 cat conftest.err
>&5
29773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29774 (exit $ac_status); } && {
29775 test -z "$ac_c_werror_flag" ||
29776 test ! -s conftest.err
29777 } && test -s conftest
$ac_exeext &&
29778 $as_test_x conftest
$ac_exeext; then
29779 ac_cv_func_remove
=yes
29781 echo "$as_me: failed program was:" >&5
29782 sed 's/^/| /' conftest.
$ac_ext >&5
29784 ac_cv_func_remove
=no
29787 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
29788 conftest
$ac_exeext conftest.
$ac_ext
29790 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
29791 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
29793 if test $ac_cv_func_remove = no
; then
29794 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
29795 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
29796 if test "${ac_cv_lib_posix_remove+set}" = set; then
29797 echo $ECHO_N "(cached) $ECHO_C" >&6
29799 ac_check_lib_save_LIBS
=$LIBS
29800 LIBS
="-lposix $LIBS"
29801 cat >conftest.
$ac_ext <<_ACEOF
29804 cat confdefs.h
>>conftest.
$ac_ext
29805 cat >>conftest.
$ac_ext <<_ACEOF
29806 /* end confdefs.h. */
29808 /* Override any GCC internal prototype to avoid an error.
29809 Use char because int might match the return type of a GCC
29810 builtin and then its argument prototype would still apply. */
29823 rm -f conftest.
$ac_objext conftest
$ac_exeext
29824 if { (ac_try
="$ac_link"
29825 case "(($ac_try" in
29826 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29827 *) ac_try_echo=$ac_try;;
29829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29830 (eval "$ac_link") 2>conftest.er1
29832 grep -v '^ *+' conftest.er1 >conftest.err
29834 cat conftest.err >&5
29835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29836 (exit $ac_status); } && {
29837 test -z "$ac_c_werror_flag" ||
29838 test ! -s conftest.err
29839 } && test -s conftest$ac_exeext &&
29840 $as_test_x conftest$ac_exeext; then
29841 ac_cv_lib_posix_remove=yes
29843 echo "$as_me: failed program was:" >&5
29844 sed 's/^/| /' conftest.$ac_ext >&5
29846 ac_cv_lib_posix_remove=no
29849 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29850 conftest$ac_exeext conftest.$ac_ext
29851 LIBS=$ac_check_lib_save_LIBS
29853 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
29854 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
29855 if test $ac_cv_lib_posix_remove = yes; then
29856 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
29861 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
29862 { echo "$as_me:$LINENO: checking for shmat" >&5
29863 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
29864 if test "${ac_cv_func_shmat+set}" = set; then
29865 echo $ECHO_N "(cached) $ECHO_C" >&6
29867 cat >conftest.$ac_ext <<_ACEOF
29870 cat confdefs.h >>conftest.$ac_ext
29871 cat >>conftest.$ac_ext <<_ACEOF
29872 /* end confdefs.h. */
29873 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
29874 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29875 #define shmat innocuous_shmat
29877 /* System header to define __stub macros and hopefully few prototypes,
29878 which can conflict with char shmat (); below.
29879 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29880 <limits.h> exists even on freestanding compilers. */
29883 # include <limits.h>
29885 # include <assert.h>
29890 /* Override any GCC internal prototype to avoid an error.
29891 Use char because int might match the return type of a GCC
29892 builtin and then its argument prototype would still apply. */
29897 /* The GNU C library defines this for functions which it implements
29898 to always fail with ENOSYS. Some functions are actually named
29899 something starting with __ and the normal name is an alias. */
29900 #if defined __stub_shmat || defined __stub___shmat
29912 rm -f conftest.$ac_objext conftest$ac_exeext
29913 if { (ac_try="$ac_link"
29914 case "(($ac_try" in
29915 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29916 *) ac_try_echo
=$ac_try;;
29918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29919 (eval "$ac_link") 2>conftest.er1
29921 grep -v '^ *+' conftest.er1
>conftest.err
29923 cat conftest.err
>&5
29924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29925 (exit $ac_status); } && {
29926 test -z "$ac_c_werror_flag" ||
29927 test ! -s conftest.err
29928 } && test -s conftest
$ac_exeext &&
29929 $as_test_x conftest
$ac_exeext; then
29930 ac_cv_func_shmat
=yes
29932 echo "$as_me: failed program was:" >&5
29933 sed 's/^/| /' conftest.
$ac_ext >&5
29935 ac_cv_func_shmat
=no
29938 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
29939 conftest
$ac_exeext conftest.
$ac_ext
29941 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
29942 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
29944 if test $ac_cv_func_shmat = no
; then
29945 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
29946 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
29947 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
29948 echo $ECHO_N "(cached) $ECHO_C" >&6
29950 ac_check_lib_save_LIBS
=$LIBS
29952 cat >conftest.
$ac_ext <<_ACEOF
29955 cat confdefs.h
>>conftest.
$ac_ext
29956 cat >>conftest.
$ac_ext <<_ACEOF
29957 /* end confdefs.h. */
29959 /* Override any GCC internal prototype to avoid an error.
29960 Use char because int might match the return type of a GCC
29961 builtin and then its argument prototype would still apply. */
29974 rm -f conftest.
$ac_objext conftest
$ac_exeext
29975 if { (ac_try
="$ac_link"
29976 case "(($ac_try" in
29977 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29978 *) ac_try_echo=$ac_try;;
29980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29981 (eval "$ac_link") 2>conftest.er1
29983 grep -v '^ *+' conftest.er1 >conftest.err
29985 cat conftest.err >&5
29986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29987 (exit $ac_status); } && {
29988 test -z "$ac_c_werror_flag" ||
29989 test ! -s conftest.err
29990 } && test -s conftest$ac_exeext &&
29991 $as_test_x conftest$ac_exeext; then
29992 ac_cv_lib_ipc_shmat=yes
29994 echo "$as_me: failed program was:" >&5
29995 sed 's/^/| /' conftest.$ac_ext >&5
29997 ac_cv_lib_ipc_shmat=no
30000 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30001 conftest$ac_exeext conftest.$ac_ext
30002 LIBS=$ac_check_lib_save_LIBS
30004 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30005 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
30006 if test $ac_cv_lib_ipc_shmat = yes; then
30007 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
30013 # Check for libraries that X11R6 Xt/Xaw programs need.
30014 ac_save_LDFLAGS=$LDFLAGS
30015 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
30016 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30017 # check for ICE first), but we must link in the order -lSM -lICE or
30018 # we get undefined symbols. So assume we have SM if we have ICE.
30019 # These have to be linked with before -lX11, unlike the other
30020 # libraries we check for below, so use a different variable.
30021 # John Interrante, Karl Berry
30022 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30023 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
30024 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30025 echo $ECHO_N "(cached) $ECHO_C" >&6
30027 ac_check_lib_save_LIBS=$LIBS
30028 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
30029 cat >conftest.$ac_ext <<_ACEOF
30032 cat confdefs.h >>conftest.$ac_ext
30033 cat >>conftest.$ac_ext <<_ACEOF
30034 /* end confdefs.h. */
30036 /* Override any GCC internal prototype to avoid an error.
30037 Use char because int might match the return type of a GCC
30038 builtin and then its argument prototype would still apply. */
30042 char IceConnectionNumber ();
30046 return IceConnectionNumber ();
30051 rm -f conftest.$ac_objext conftest$ac_exeext
30052 if { (ac_try="$ac_link"
30053 case "(($ac_try" in
30054 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30055 *) ac_try_echo
=$ac_try;;
30057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30058 (eval "$ac_link") 2>conftest.er1
30060 grep -v '^ *+' conftest.er1
>conftest.err
30062 cat conftest.err
>&5
30063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30064 (exit $ac_status); } && {
30065 test -z "$ac_c_werror_flag" ||
30066 test ! -s conftest.err
30067 } && test -s conftest
$ac_exeext &&
30068 $as_test_x conftest
$ac_exeext; then
30069 ac_cv_lib_ICE_IceConnectionNumber
=yes
30071 echo "$as_me: failed program was:" >&5
30072 sed 's/^/| /' conftest.
$ac_ext >&5
30074 ac_cv_lib_ICE_IceConnectionNumber
=no
30077 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30078 conftest
$ac_exeext conftest.
$ac_ext
30079 LIBS
=$ac_check_lib_save_LIBS
30081 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30082 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
30083 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
30084 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
30087 LDFLAGS
=$ac_save_LDFLAGS
30092 if test "$no_x" = "yes"; then
30093 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30094 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30095 { (exit 1); exit 1; }; }
30098 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30099 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
30100 AFMINSTALL
=afminstall
30101 COMPILED_X_PROGRAM
=0
30105 if test "$wxUSE_X11" = 1; then
30106 if test "$wxUSE_NANOX" = "yes"; then
30107 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30108 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
30109 if test "x$MICROWIN" = x
; then
30110 { echo "$as_me:$LINENO: result: not found" >&5
30111 echo "${ECHO_T}not found" >&6; }
30112 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30113 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30114 { (exit 1); exit 1; }; }
30116 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
30117 echo "${ECHO_T}$MICROWIN" >&6; }
30118 cat >>confdefs.h
<<\_ACEOF
30119 #define wxUSE_NANOX 1
30125 if test "$wxUSE_UNICODE" = "yes"; then
30128 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30129 if test -n "$ac_tool_prefix"; then
30130 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30131 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
30132 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30133 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30134 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30135 echo $ECHO_N "(cached) $ECHO_C" >&6
30137 case $PKG_CONFIG in
30139 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
30142 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30143 for as_dir
in $PATH
30146 test -z "$as_dir" && as_dir
=.
30147 for ac_exec_ext
in '' $ac_executable_extensions; do
30148 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30149 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
30150 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30160 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
30161 if test -n "$PKG_CONFIG"; then
30162 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30163 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30165 { echo "$as_me:$LINENO: result: no" >&5
30166 echo "${ECHO_T}no" >&6; }
30171 if test -z "$ac_cv_path_PKG_CONFIG"; then
30172 ac_pt_PKG_CONFIG
=$PKG_CONFIG
30173 # Extract the first word of "pkg-config", so it can be a program name with args.
30174 set dummy pkg
-config; ac_word
=$2
30175 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30176 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30177 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30178 echo $ECHO_N "(cached) $ECHO_C" >&6
30180 case $ac_pt_PKG_CONFIG in
30182 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30185 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30186 for as_dir
in $PATH
30189 test -z "$as_dir" && as_dir
=.
30190 for ac_exec_ext
in '' $ac_executable_extensions; do
30191 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30192 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
30193 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30203 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
30204 if test -n "$ac_pt_PKG_CONFIG"; then
30205 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30206 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
30208 { echo "$as_me:$LINENO: result: no" >&5
30209 echo "${ECHO_T}no" >&6; }
30212 if test "x$ac_pt_PKG_CONFIG" = x
; then
30215 case $cross_compiling:$ac_tool_warned in
30217 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30218 whose name does not start with the host triplet. If you think this
30219 configuration is useful to you, please write to autoconf@gnu.org." >&5
30220 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30221 whose name does not start with the host triplet. If you think this
30222 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30223 ac_tool_warned
=yes ;;
30225 PKG_CONFIG
=$ac_pt_PKG_CONFIG
30228 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
30232 if test -n "$PKG_CONFIG"; then
30233 _pkg_min_version
=0.9.0
30234 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30235 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
30236 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30237 { echo "$as_me:$LINENO: result: yes" >&5
30238 echo "${ECHO_T}yes" >&6; }
30240 { echo "$as_me:$LINENO: result: no" >&5
30241 echo "${ECHO_T}no" >&6; }
30249 { echo "$as_me:$LINENO: checking for PANGOX" >&5
30250 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
30252 if test -n "$PKG_CONFIG"; then
30253 if test -n "$PANGOX_CFLAGS"; then
30254 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
30256 if test -n "$PKG_CONFIG" && \
30257 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30258 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30261 (exit $ac_status); }; then
30262 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
30270 if test -n "$PKG_CONFIG"; then
30271 if test -n "$PANGOX_LIBS"; then
30272 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
30274 if test -n "$PKG_CONFIG" && \
30275 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30276 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30279 (exit $ac_status); }; then
30280 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
30291 if test $pkg_failed = yes; then
30293 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30294 _pkg_short_errors_supported
=yes
30296 _pkg_short_errors_supported
=no
30298 if test $_pkg_short_errors_supported = yes; then
30299 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
30301 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
30303 # Put the nasty error message in config.log where it belongs
30304 echo "$PANGOX_PKG_ERRORS" >&5
30307 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30308 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30309 { (exit 1); exit 1; }; }
30312 elif test $pkg_failed = untried
; then
30314 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30315 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30316 { (exit 1); exit 1; }; }
30320 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
30321 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
30322 { echo "$as_me:$LINENO: result: yes" >&5
30323 echo "${ECHO_T}yes" >&6; }
30325 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
30326 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
30327 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
30332 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
30333 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
30335 if test -n "$PKG_CONFIG"; then
30336 if test -n "$PANGOFT2_CFLAGS"; then
30337 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
30339 if test -n "$PKG_CONFIG" && \
30340 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30341 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30344 (exit $ac_status); }; then
30345 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
30353 if test -n "$PKG_CONFIG"; then
30354 if test -n "$PANGOFT2_LIBS"; then
30355 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
30357 if test -n "$PKG_CONFIG" && \
30358 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30359 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30362 (exit $ac_status); }; then
30363 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
30374 if test $pkg_failed = yes; then
30376 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30377 _pkg_short_errors_supported
=yes
30379 _pkg_short_errors_supported
=no
30381 if test $_pkg_short_errors_supported = yes; then
30382 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
30384 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
30386 # Put the nasty error message in config.log where it belongs
30387 echo "$PANGOFT2_PKG_ERRORS" >&5
30390 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30391 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30392 wxUSE_PRINTING_ARCHITECTURE
="no"
30395 elif test $pkg_failed = untried
; then
30397 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30398 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30399 wxUSE_PRINTING_ARCHITECTURE
="no"
30403 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
30404 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
30405 { echo "$as_me:$LINENO: result: yes" >&5
30406 echo "${ECHO_T}yes" >&6; }
30408 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
30409 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
30410 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
30415 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
30416 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
30418 if test -n "$PKG_CONFIG"; then
30419 if test -n "$PANGOXFT_CFLAGS"; then
30420 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
30422 if test -n "$PKG_CONFIG" && \
30423 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30424 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30427 (exit $ac_status); }; then
30428 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
30436 if test -n "$PKG_CONFIG"; then
30437 if test -n "$PANGOXFT_LIBS"; then
30438 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
30440 if test -n "$PKG_CONFIG" && \
30441 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30442 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30445 (exit $ac_status); }; then
30446 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
30457 if test $pkg_failed = yes; then
30459 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30460 _pkg_short_errors_supported
=yes
30462 _pkg_short_errors_supported
=no
30464 if test $_pkg_short_errors_supported = yes; then
30465 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
30467 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
30469 # Put the nasty error message in config.log where it belongs
30470 echo "$PANGOXFT_PKG_ERRORS" >&5
30473 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30474 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30477 elif test $pkg_failed = untried
; then
30479 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30480 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30484 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
30485 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
30486 { echo "$as_me:$LINENO: result: yes" >&5
30487 echo "${ECHO_T}yes" >&6; }
30489 cat >>confdefs.h
<<\_ACEOF
30490 #define HAVE_PANGO_XFT 1
30493 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
30494 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
30495 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
30499 LIBS
="$LIBS $PANGOX_LIBS"
30501 for ac_func
in pango_font_family_is_monospace
30503 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30504 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30505 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30506 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30507 echo $ECHO_N "(cached) $ECHO_C" >&6
30509 cat >conftest.
$ac_ext <<_ACEOF
30512 cat confdefs.h
>>conftest.
$ac_ext
30513 cat >>conftest.
$ac_ext <<_ACEOF
30514 /* end confdefs.h. */
30515 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30516 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30517 #define $ac_func innocuous_$ac_func
30519 /* System header to define __stub macros and hopefully few prototypes,
30520 which can conflict with char $ac_func (); below.
30521 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30522 <limits.h> exists even on freestanding compilers. */
30525 # include <limits.h>
30527 # include <assert.h>
30532 /* Override any GCC internal prototype to avoid an error.
30533 Use char because int might match the return type of a GCC
30534 builtin and then its argument prototype would still apply. */
30539 /* The GNU C library defines this for functions which it implements
30540 to always fail with ENOSYS. Some functions are actually named
30541 something starting with __ and the normal name is an alias. */
30542 #if defined __stub_$ac_func || defined __stub___$ac_func
30549 return $ac_func ();
30554 rm -f conftest.
$ac_objext conftest
$ac_exeext
30555 if { (ac_try
="$ac_link"
30556 case "(($ac_try" in
30557 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30558 *) ac_try_echo=$ac_try;;
30560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30561 (eval "$ac_link") 2>conftest.er1
30563 grep -v '^ *+' conftest.er1 >conftest.err
30565 cat conftest.err >&5
30566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30567 (exit $ac_status); } && {
30568 test -z "$ac_c_werror_flag" ||
30569 test ! -s conftest.err
30570 } && test -s conftest$ac_exeext &&
30571 $as_test_x conftest$ac_exeext; then
30572 eval "$as_ac_var=yes"
30574 echo "$as_me: failed program was:" >&5
30575 sed 's/^/| /' conftest.$ac_ext >&5
30577 eval "$as_ac_var=no"
30580 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30581 conftest$ac_exeext conftest.$ac_ext
30583 ac_res=`eval echo '${'$as_ac_var'}'`
30584 { echo "$as_me:$LINENO: result: $ac_res" >&5
30585 echo "${ECHO_T}$ac_res" >&6; }
30586 if test `eval echo '${'$as_ac_var'}'` = yes; then
30587 cat >>confdefs.h <<_ACEOF
30588 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30597 wxUSE_UNIVERSAL="yes"
30599 if test "$wxUSE_NANOX" = "yes"; then
30600 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
30601 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"
30602 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
30604 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
30611 if test "$wxUSE_MOTIF" = 1; then
30612 if test "$wxUSE_UNICODE" = "yes"; then
30613 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
30614 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
30615 { (exit 1); exit 1; }; }
30618 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
30619 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
30622 for ac_dir in $SEARCH_INCLUDE /usr/include;
30624 if test -f "$ac_dir/Xm/Xm.h"; then
30625 ac_find_includes=$ac_dir
30630 if test "$ac_find_includes" != "" ; then
30631 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
30632 echo "${ECHO_T}found in $ac_find_includes" >&6; }
30634 if test "x$ac_find_includes" = "x/usr/include"; then
30635 ac_path_to_include=""
30637 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
30639 if test $result = 0; then
30640 ac_path_to_include=""
30642 ac_path_to_include=" -I$ac_find_includes"
30646 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
30648 save_CFLAGS=$CFLAGS
30649 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30651 cat >conftest.$ac_ext <<_ACEOF
30654 cat confdefs.h >>conftest.$ac_ext
30655 cat >>conftest.$ac_ext <<_ACEOF
30656 /* end confdefs.h. */
30665 version = xmUseVersion;
30671 rm -f conftest.$ac_objext
30672 if { (ac_try="$ac_compile"
30673 case "(($ac_try" in
30674 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30675 *) ac_try_echo
=$ac_try;;
30677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30678 (eval "$ac_compile") 2>conftest.er1
30680 grep -v '^ *+' conftest.er1
>conftest.err
30682 cat conftest.err
>&5
30683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30684 (exit $ac_status); } && {
30685 test -z "$ac_c_werror_flag" ||
30686 test ! -s conftest.err
30687 } && test -s conftest.
$ac_objext; then
30689 { echo "$as_me:$LINENO: result: found in default search path" >&5
30690 echo "${ECHO_T}found in default search path" >&6; }
30691 COMPILED_X_PROGRAM
=1
30694 echo "$as_me: failed program was:" >&5
30695 sed 's/^/| /' conftest.
$ac_ext >&5
30698 { echo "$as_me:$LINENO: result: no" >&5
30699 echo "${ECHO_T}no" >&6; }
30700 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
30701 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
30702 { (exit 1); exit 1; }; }
30707 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30709 CFLAGS
=$save_CFLAGS
30713 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
30714 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
30717 for ac_dir
in $SEARCH_LIB;
30719 for ac_extension
in a so sl dylib dll.a
; do
30720 if test -f "$ac_dir/libXm.$ac_extension"; then
30721 ac_find_libraries
=$ac_dir
30728 if test "x$ac_find_libraries" != "x" ; then
30729 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30730 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
30733 if test "$ac_find_libraries" = "default location"; then
30736 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
30738 if test $result = 0; then
30741 ac_path_to_link
=" -L$ac_find_libraries"
30745 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
30747 save_CFLAGS
=$CFLAGS
30748 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
30750 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
30752 cat >conftest.
$ac_ext <<_ACEOF
30755 cat confdefs.h
>>conftest.
$ac_ext
30756 cat >>conftest.
$ac_ext <<_ACEOF
30757 /* end confdefs.h. */
30766 version = xmUseVersion;
30772 rm -f conftest.
$ac_objext conftest
$ac_exeext
30773 if { (ac_try
="$ac_link"
30774 case "(($ac_try" in
30775 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30776 *) ac_try_echo=$ac_try;;
30778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30779 (eval "$ac_link") 2>conftest.er1
30781 grep -v '^ *+' conftest.er1 >conftest.err
30783 cat conftest.err >&5
30784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30785 (exit $ac_status); } && {
30786 test -z "$ac_c_werror_flag" ||
30787 test ! -s conftest.err
30788 } && test -s conftest$ac_exeext &&
30789 $as_test_x conftest$ac_exeext; then
30791 { echo "$as_me:$LINENO: result: found in default search path" >&5
30792 echo "${ECHO_T}found in default search path" >&6; }
30793 COMPILED_X_PROGRAM=1
30796 echo "$as_me: failed program was:" >&5
30797 sed 's/^/| /' conftest.$ac_ext >&5
30800 { echo "$as_me:$LINENO: result: no" >&5
30801 echo "${ECHO_T}no" >&6; }
30802 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
30803 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
30804 { (exit 1); exit 1; }; }
30809 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30810 conftest$ac_exeext conftest.$ac_ext
30812 CFLAGS=$save_CFLAGS
30816 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
30817 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
30821 for libp in "" " -lXp"; do
30822 if test "$libs_found" = "0"; then
30823 for libsm_ice in "" " -lSM -lICE"; do
30824 if test "$libs_found" = "0"; then
30826 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
30827 save_CFLAGS=$CFLAGS
30828 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30830 cat >conftest.$ac_ext <<_ACEOF
30833 cat confdefs.h >>conftest.$ac_ext
30834 cat >>conftest.$ac_ext <<_ACEOF
30835 /* end confdefs.h. */
30838 #include <Xm/List.h>
30844 XmString string = NULL;
30847 XmListAddItem(w, string, position);
30853 rm -f conftest.$ac_objext conftest$ac_exeext
30854 if { (ac_try="$ac_link"
30855 case "(($ac_try" in
30856 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30857 *) ac_try_echo
=$ac_try;;
30859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30860 (eval "$ac_link") 2>conftest.er1
30862 grep -v '^ *+' conftest.er1
>conftest.err
30864 cat conftest.err
>&5
30865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30866 (exit $ac_status); } && {
30867 test -z "$ac_c_werror_flag" ||
30868 test ! -s conftest.err
30869 } && test -s conftest
$ac_exeext &&
30870 $as_test_x conftest
$ac_exeext; then
30873 libsm_ice_link
="$libsm_ice"
30874 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
30875 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
30879 echo "$as_me: failed program was:" >&5
30880 sed 's/^/| /' conftest.
$ac_ext >&5
30886 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30887 conftest
$ac_exeext conftest.
$ac_ext
30890 CFLAGS
=$save_CFLAGS
30896 if test "$libs_found" = "0"; then
30897 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
30898 echo "${ECHO_T}can't find the right libraries" >&6; }
30899 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
30900 echo "$as_me: error: can't link a simple motif program" >&2;}
30901 { (exit 1); exit 1; }; }
30904 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
30905 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
30906 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
30907 echo $ECHO_N "(cached) $ECHO_C" >&6
30909 ac_check_lib_save_LIBS
=$LIBS
30911 cat >conftest.
$ac_ext <<_ACEOF
30914 cat confdefs.h
>>conftest.
$ac_ext
30915 cat >>conftest.
$ac_ext <<_ACEOF
30916 /* end confdefs.h. */
30918 /* Override any GCC internal prototype to avoid an error.
30919 Use char because int might match the return type of a GCC
30920 builtin and then its argument prototype would still apply. */
30924 char SgCreateList ();
30928 return SgCreateList ();
30933 rm -f conftest.
$ac_objext conftest
$ac_exeext
30934 if { (ac_try
="$ac_link"
30935 case "(($ac_try" in
30936 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30937 *) ac_try_echo=$ac_try;;
30939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30940 (eval "$ac_link") 2>conftest.er1
30942 grep -v '^ *+' conftest.er1 >conftest.err
30944 cat conftest.err >&5
30945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30946 (exit $ac_status); } && {
30947 test -z "$ac_c_werror_flag" ||
30948 test ! -s conftest.err
30949 } && test -s conftest$ac_exeext &&
30950 $as_test_x conftest$ac_exeext; then
30951 ac_cv_lib_Sgm_SgCreateList=yes
30953 echo "$as_me: failed program was:" >&5
30954 sed 's/^/| /' conftest.$ac_ext >&5
30956 ac_cv_lib_Sgm_SgCreateList=no
30959 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30960 conftest$ac_exeext conftest.$ac_ext
30961 LIBS=$ac_check_lib_save_LIBS
30963 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
30964 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
30965 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
30966 libsgm_link=" -lSgm"
30970 save_CFLAGS=$CFLAGS
30971 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30973 { echo "$as_me:$LINENO: checking for Motif 2" >&5
30974 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
30975 if test "${wx_cv_lib_motif2+set}" = set; then
30976 echo $ECHO_N "(cached) $ECHO_C" >&6
30978 cat >conftest.$ac_ext <<_ACEOF
30981 cat confdefs.h >>conftest.$ac_ext
30982 cat >>conftest.$ac_ext <<_ACEOF
30983 /* end confdefs.h. */
30991 #if XmVersion < 2000
30999 rm -f conftest.$ac_objext
31000 if { (ac_try="$ac_compile"
31001 case "(($ac_try" in
31002 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31003 *) ac_try_echo
=$ac_try;;
31005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31006 (eval "$ac_compile") 2>conftest.er1
31008 grep -v '^ *+' conftest.er1
>conftest.err
31010 cat conftest.err
>&5
31011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31012 (exit $ac_status); } && {
31013 test -z "$ac_c_werror_flag" ||
31014 test ! -s conftest.err
31015 } && test -s conftest.
$ac_objext; then
31016 wx_cv_lib_motif2
="yes"
31018 echo "$as_me: failed program was:" >&5
31019 sed 's/^/| /' conftest.
$ac_ext >&5
31021 wx_cv_lib_motif2
="no"
31024 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31026 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
31027 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
31028 if test "$wx_cv_lib_motif2" = "yes"; then
31029 cat >>confdefs.h
<<\_ACEOF
31030 #define __WXMOTIF20__ 1
31034 cat >>confdefs.h
<<\_ACEOF
31035 #define __WXMOTIF20__ 0
31040 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
31041 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
31042 if test "${wx_cv_lib_lesstif+set}" = set; then
31043 echo $ECHO_N "(cached) $ECHO_C" >&6
31045 cat >conftest.
$ac_ext <<_ACEOF
31048 cat confdefs.h
>>conftest.
$ac_ext
31049 cat >>conftest.
$ac_ext <<_ACEOF
31050 /* end confdefs.h. */
31058 #if !defined(LesstifVersion) || LesstifVersion <= 0
31066 rm -f conftest.
$ac_objext
31067 if { (ac_try
="$ac_compile"
31068 case "(($ac_try" in
31069 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31070 *) ac_try_echo=$ac_try;;
31072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31073 (eval "$ac_compile") 2>conftest.er1
31075 grep -v '^ *+' conftest.er1 >conftest.err
31077 cat conftest.err >&5
31078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31079 (exit $ac_status); } && {
31080 test -z "$ac_c_werror_flag" ||
31081 test ! -s conftest.err
31082 } && test -s conftest.$ac_objext; then
31083 wx_cv_lib_lesstif="yes"
31085 echo "$as_me: failed program was:" >&5
31086 sed 's/^/| /' conftest.$ac_ext >&5
31088 wx_cv_lib_lesstif="no"
31091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31094 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31095 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
31096 if test "$wx_cv_lib_lesstif" = "yes"; then
31097 cat >>confdefs.h <<\_ACEOF
31098 #define __WXLESSTIF__ 1
31102 cat >>confdefs.h <<\_ACEOF
31103 #define __WXLESSTIF__ 0
31108 CFLAGS=$save_CFLAGS
31110 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31115 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31116 if test "$wxUSE_LIBXPM" = "sys"; then
31117 { echo "$as_me:$LINENO: checking for Xpm library" >&5
31118 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
31121 for ac_dir in $SEARCH_LIB;
31123 for ac_extension in a so sl dylib dll.a; do
31124 if test -f "$ac_dir/libXpm.$ac_extension"; then
31125 ac_find_libraries=$ac_dir
31131 if test "$ac_find_libraries" != "" ; then
31133 if test "$ac_find_libraries" = "default location"; then
31136 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31138 if test $result = 0; then
31141 ac_path_to_link=" -L$ac_find_libraries"
31145 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31146 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31147 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31149 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31150 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
31151 if test "${wx_cv_x11_xpm_h+set}" = set; then
31152 echo $ECHO_N "(cached) $ECHO_C" >&6
31155 save_CFLAGS=$CFLAGS
31156 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31158 cat >conftest.$ac_ext <<_ACEOF
31161 cat confdefs.h >>conftest.$ac_ext
31162 cat >>conftest.$ac_ext <<_ACEOF
31163 /* end confdefs.h. */
31165 #include <X11/xpm.h>
31172 version = XpmLibraryVersion();
31178 rm -f conftest.$ac_objext
31179 if { (ac_try="$ac_compile"
31180 case "(($ac_try" in
31181 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31182 *) ac_try_echo
=$ac_try;;
31184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31185 (eval "$ac_compile") 2>conftest.er1
31187 grep -v '^ *+' conftest.er1
>conftest.err
31189 cat conftest.err
>&5
31190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31191 (exit $ac_status); } && {
31192 test -z "$ac_c_werror_flag" ||
31193 test ! -s conftest.err
31194 } && test -s conftest.
$ac_objext; then
31195 wx_cv_x11_xpm_h
=yes
31197 echo "$as_me: failed program was:" >&5
31198 sed 's/^/| /' conftest.
$ac_ext >&5
31204 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31206 CFLAGS
=$save_CFLAGS
31210 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
31211 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
31213 if test $wx_cv_x11_xpm_h = "yes"; then
31214 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
31215 cat >>confdefs.h
<<\_ACEOF
31216 #define wxHAVE_LIB_XPM 1
31220 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
31221 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
31227 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
31228 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
31229 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
31230 echo $ECHO_N "(cached) $ECHO_C" >&6
31232 ac_check_lib_save_LIBS
=$LIBS
31233 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
31234 cat >conftest.
$ac_ext <<_ACEOF
31237 cat confdefs.h
>>conftest.
$ac_ext
31238 cat >>conftest.
$ac_ext <<_ACEOF
31239 /* end confdefs.h. */
31241 /* Override any GCC internal prototype to avoid an error.
31242 Use char because int might match the return type of a GCC
31243 builtin and then its argument prototype would still apply. */
31247 char XShapeQueryExtension ();
31251 return XShapeQueryExtension ();
31256 rm -f conftest.
$ac_objext conftest
$ac_exeext
31257 if { (ac_try
="$ac_link"
31258 case "(($ac_try" in
31259 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31260 *) ac_try_echo=$ac_try;;
31262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31263 (eval "$ac_link") 2>conftest.er1
31265 grep -v '^ *+' conftest.er1 >conftest.err
31267 cat conftest.err >&5
31268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31269 (exit $ac_status); } && {
31270 test -z "$ac_c_werror_flag" ||
31271 test ! -s conftest.err
31272 } && test -s conftest$ac_exeext &&
31273 $as_test_x conftest$ac_exeext; then
31274 ac_cv_lib_Xext_XShapeQueryExtension=yes
31276 echo "$as_me: failed program was:" >&5
31277 sed 's/^/| /' conftest.$ac_ext >&5
31279 ac_cv_lib_Xext_XShapeQueryExtension=no
31282 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31283 conftest$ac_exeext conftest.$ac_ext
31284 LIBS=$ac_check_lib_save_LIBS
31286 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
31287 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
31288 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
31290 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
31296 if test "$wxHAVE_XEXT_LIB" = 1; then
31297 save_CFLAGS="$CFLAGS"
31298 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31300 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
31301 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
31302 cat >conftest.$ac_ext <<_ACEOF
31305 cat confdefs.h >>conftest.$ac_ext
31306 cat >>conftest.$ac_ext <<_ACEOF
31307 /* end confdefs.h. */
31309 #include <X11/Xlib.h>
31310 #include <X11/extensions/shape.h>
31316 int dummy1, dummy2;
31317 XShapeQueryExtension((Display*)NULL,
31318 (int*)NULL, (int*)NULL);
31324 rm -f conftest.$ac_objext
31325 if { (ac_try="$ac_compile"
31326 case "(($ac_try" in
31327 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31328 *) ac_try_echo
=$ac_try;;
31330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31331 (eval "$ac_compile") 2>conftest.er1
31333 grep -v '^ *+' conftest.er1
>conftest.err
31335 cat conftest.err
>&5
31336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31337 (exit $ac_status); } && {
31338 test -z "$ac_c_werror_flag" ||
31339 test ! -s conftest.err
31340 } && test -s conftest.
$ac_objext; then
31342 cat >>confdefs.h
<<\_ACEOF
31343 #define HAVE_XSHAPE 1
31346 { echo "$as_me:$LINENO: result: found" >&5
31347 echo "${ECHO_T}found" >&6; }
31350 echo "$as_me: failed program was:" >&5
31351 sed 's/^/| /' conftest.
$ac_ext >&5
31354 { echo "$as_me:$LINENO: result: not found" >&5
31355 echo "${ECHO_T}not found" >&6; }
31359 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31360 CFLAGS
="$save_CFLAGS"
31365 if test "$wxUSE_MAC" = 1; then
31366 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
31367 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
31368 if test "$GCC" = yes; then
31369 { echo "$as_me:$LINENO: result: gcc" >&5
31370 echo "${ECHO_T}gcc" >&6; }
31371 CPPFLAGS_PASCAL
="-fpascal-strings"
31372 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
31373 { echo "$as_me:$LINENO: result: xlc" >&5
31374 echo "${ECHO_T}xlc" >&6; }
31375 CPPFLAGS_PASCAL
="-qmacpstr"
31377 { echo "$as_me:$LINENO: result: none" >&5
31378 echo "${ECHO_T}none" >&6; }
31381 if test "x$wxUSE_UNIX" = "xyes"; then
31382 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
31384 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
31389 WXBASEPORT
="_carbon"
31392 if test "$wxUSE_COCOA" = 1; then
31397 if test "$wxUSE_PM" = 1; then
31400 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
31401 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
31402 if test "${wx_cv_spbcdata+set}" = set; then
31403 echo $ECHO_N "(cached) $ECHO_C" >&6
31406 cat >conftest.
$ac_ext <<_ACEOF
31409 cat confdefs.h
>>conftest.
$ac_ext
31410 cat >>conftest.
$ac_ext <<_ACEOF
31411 /* end confdefs.h. */
31426 rm -f conftest.
$ac_objext
31427 if { (ac_try
="$ac_compile"
31428 case "(($ac_try" in
31429 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31430 *) ac_try_echo=$ac_try;;
31432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31433 (eval "$ac_compile") 2>conftest.er1
31435 grep -v '^ *+' conftest.er1 >conftest.err
31437 cat conftest.err >&5
31438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31439 (exit $ac_status); } && {
31440 test -z "$ac_c_werror_flag" ||
31441 test ! -s conftest.err
31442 } && test -s conftest.$ac_objext; then
31445 echo "$as_me: failed program was:" >&5
31446 sed 's/^/| /' conftest.$ac_ext >&5
31452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31456 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
31457 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
31459 if test $wx_cv_spbcdata = "yes"; then
31460 cat >>confdefs.h <<\_ACEOF
31461 #define HAVE_SPBCDATA 1
31467 if test "$TOOLKIT" = "PM" ; then
31470 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
31473 if test "$wxUSE_UNIVERSAL" = "yes"; then
31474 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
31478 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
31479 DISTDIR="wx\$(TOOLKIT)"
31485 if test "$USE_WIN32" = 1 ; then
31489 GUIDIST="BASE_DIST"
31494 if test "$wxUSE_GUI" = "yes"; then
31495 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
31496 { echo "$as_me:$LINENO: checking for X11/Xlib.h" >&5
31497 echo $ECHO_N "checking for X11/Xlib.h... $ECHO_C" >&6; }
31498 if test "${ac_cv_header_X11_Xlib_h+set}" = set; then
31499 echo $ECHO_N "(cached) $ECHO_C" >&6
31501 cat >conftest.$ac_ext <<_ACEOF
31504 cat confdefs.h >>conftest.$ac_ext
31505 cat >>conftest.$ac_ext <<_ACEOF
31506 /* end confdefs.h. */
31509 #include <X11/Xlib.h>
31511 rm -f conftest.$ac_objext
31512 if { (ac_try="$ac_compile"
31513 case "(($ac_try" in
31514 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31515 *) ac_try_echo
=$ac_try;;
31517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31518 (eval "$ac_compile") 2>conftest.er1
31520 grep -v '^ *+' conftest.er1
>conftest.err
31522 cat conftest.err
>&5
31523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31524 (exit $ac_status); } && {
31525 test -z "$ac_c_werror_flag" ||
31526 test ! -s conftest.err
31527 } && test -s conftest.
$ac_objext; then
31528 ac_cv_header_X11_Xlib_h
=yes
31530 echo "$as_me: failed program was:" >&5
31531 sed 's/^/| /' conftest.
$ac_ext >&5
31533 ac_cv_header_X11_Xlib_h
=no
31536 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31538 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xlib_h" >&5
31539 echo "${ECHO_T}$ac_cv_header_X11_Xlib_h" >&6; }
31542 { echo "$as_me:$LINENO: checking for X11/XKBlib.h" >&5
31543 echo $ECHO_N "checking for X11/XKBlib.h... $ECHO_C" >&6; }
31544 if test "${ac_cv_header_X11_XKBlib_h+set}" = set; then
31545 echo $ECHO_N "(cached) $ECHO_C" >&6
31547 cat >conftest.
$ac_ext <<_ACEOF
31550 cat confdefs.h
>>conftest.
$ac_ext
31551 cat >>conftest.
$ac_ext <<_ACEOF
31552 /* end confdefs.h. */
31554 #if HAVE_X11_XLIB_H
31555 #include <X11/Xlib.h>
31559 #include <X11/XKBlib.h>
31561 rm -f conftest.
$ac_objext
31562 if { (ac_try
="$ac_compile"
31563 case "(($ac_try" in
31564 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31565 *) ac_try_echo=$ac_try;;
31567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31568 (eval "$ac_compile") 2>conftest.er1
31570 grep -v '^ *+' conftest.er1 >conftest.err
31572 cat conftest.err >&5
31573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31574 (exit $ac_status); } && {
31575 test -z "$ac_c_werror_flag" ||
31576 test ! -s conftest.err
31577 } && test -s conftest.$ac_objext; then
31578 ac_cv_header_X11_XKBlib_h=yes
31580 echo "$as_me: failed program was:" >&5
31581 sed 's/^/| /' conftest.$ac_ext >&5
31583 ac_cv_header_X11_XKBlib_h=no
31586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31588 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_XKBlib_h" >&5
31589 echo "${ECHO_T}$ac_cv_header_X11_XKBlib_h" >&6; }
31600 if test "$TOOLKIT" != "MSW" ; then
31602 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
31604 { echo "$as_me:$LINENO: checking for sql.h" >&5
31605 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
31606 if test "${ac_cv_header_sql_h+set}" = set; then
31607 echo $ECHO_N "(cached) $ECHO_C" >&6
31609 cat >conftest.$ac_ext <<_ACEOF
31612 cat confdefs.h >>conftest.$ac_ext
31613 cat >>conftest.$ac_ext <<_ACEOF
31614 /* end confdefs.h. */
31619 rm -f conftest.$ac_objext
31620 if { (ac_try="$ac_compile"
31621 case "(($ac_try" in
31622 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31623 *) ac_try_echo
=$ac_try;;
31625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31626 (eval "$ac_compile") 2>conftest.er1
31628 grep -v '^ *+' conftest.er1
>conftest.err
31630 cat conftest.err
>&5
31631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31632 (exit $ac_status); } && {
31633 test -z "$ac_c_werror_flag" ||
31634 test ! -s conftest.err
31635 } && test -s conftest.
$ac_objext; then
31636 ac_cv_header_sql_h
=yes
31638 echo "$as_me: failed program was:" >&5
31639 sed 's/^/| /' conftest.
$ac_ext >&5
31641 ac_cv_header_sql_h
=no
31644 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31646 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
31647 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
31648 if test $ac_cv_header_sql_h = yes; then
31653 if test "x$found_sql_h" = "x1" ; then
31654 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
31655 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6; }
31656 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
31657 echo $ECHO_N "(cached) $ECHO_C" >&6
31659 ac_check_lib_save_LIBS
=$LIBS
31660 LIBS
="-liodbc $LIBS"
31661 cat >conftest.
$ac_ext <<_ACEOF
31664 cat confdefs.h
>>conftest.
$ac_ext
31665 cat >>conftest.
$ac_ext <<_ACEOF
31666 /* end confdefs.h. */
31668 /* Override any GCC internal prototype to avoid an error.
31669 Use char because int might match the return type of a GCC
31670 builtin and then its argument prototype would still apply. */
31674 char SQLAllocEnv ();
31678 return SQLAllocEnv ();
31683 rm -f conftest.
$ac_objext conftest
$ac_exeext
31684 if { (ac_try
="$ac_link"
31685 case "(($ac_try" in
31686 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31687 *) ac_try_echo=$ac_try;;
31689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31690 (eval "$ac_link") 2>conftest.er1
31692 grep -v '^ *+' conftest.er1 >conftest.err
31694 cat conftest.err >&5
31695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31696 (exit $ac_status); } && {
31697 test -z "$ac_c_werror_flag" ||
31698 test ! -s conftest.err
31699 } && test -s conftest$ac_exeext &&
31700 $as_test_x conftest$ac_exeext; then
31701 ac_cv_lib_iodbc_SQLAllocEnv=yes
31703 echo "$as_me: failed program was:" >&5
31704 sed 's/^/| /' conftest.$ac_ext >&5
31706 ac_cv_lib_iodbc_SQLAllocEnv=no
31709 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31710 conftest$ac_exeext conftest.$ac_ext
31711 LIBS=$ac_check_lib_save_LIBS
31713 { echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
31714 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6; }
31715 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
31716 ODBC_LINK=" -liodbc"
31719 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
31720 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6; }
31721 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
31722 echo $ECHO_N "(cached) $ECHO_C" >&6
31724 ac_check_lib_save_LIBS=$LIBS
31725 LIBS="-lunixodbc $LIBS"
31726 cat >conftest.$ac_ext <<_ACEOF
31729 cat confdefs.h >>conftest.$ac_ext
31730 cat >>conftest.$ac_ext <<_ACEOF
31731 /* end confdefs.h. */
31733 /* Override any GCC internal prototype to avoid an error.
31734 Use char because int might match the return type of a GCC
31735 builtin and then its argument prototype would still apply. */
31739 char SQLAllocEnv ();
31743 return SQLAllocEnv ();
31748 rm -f conftest.$ac_objext conftest$ac_exeext
31749 if { (ac_try="$ac_link"
31750 case "(($ac_try" in
31751 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31752 *) ac_try_echo
=$ac_try;;
31754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31755 (eval "$ac_link") 2>conftest.er1
31757 grep -v '^ *+' conftest.er1
>conftest.err
31759 cat conftest.err
>&5
31760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31761 (exit $ac_status); } && {
31762 test -z "$ac_c_werror_flag" ||
31763 test ! -s conftest.err
31764 } && test -s conftest
$ac_exeext &&
31765 $as_test_x conftest
$ac_exeext; then
31766 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
31768 echo "$as_me: failed program was:" >&5
31769 sed 's/^/| /' conftest.
$ac_ext >&5
31771 ac_cv_lib_unixodbc_SQLAllocEnv
=no
31774 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31775 conftest
$ac_exeext conftest.
$ac_ext
31776 LIBS
=$ac_check_lib_save_LIBS
31778 { echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
31779 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6; }
31780 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
31781 ODBC_LINK
=" -lunixodbc"
31784 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
31785 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6; }
31786 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
31787 echo $ECHO_N "(cached) $ECHO_C" >&6
31789 ac_check_lib_save_LIBS
=$LIBS
31790 LIBS
="-lodbc $LIBS"
31791 cat >conftest.
$ac_ext <<_ACEOF
31794 cat confdefs.h
>>conftest.
$ac_ext
31795 cat >>conftest.
$ac_ext <<_ACEOF
31796 /* end confdefs.h. */
31798 /* Override any GCC internal prototype to avoid an error.
31799 Use char because int might match the return type of a GCC
31800 builtin and then its argument prototype would still apply. */
31804 char SQLAllocEnv ();
31808 return SQLAllocEnv ();
31813 rm -f conftest.
$ac_objext conftest
$ac_exeext
31814 if { (ac_try
="$ac_link"
31815 case "(($ac_try" in
31816 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31817 *) ac_try_echo=$ac_try;;
31819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31820 (eval "$ac_link") 2>conftest.er1
31822 grep -v '^ *+' conftest.er1 >conftest.err
31824 cat conftest.err >&5
31825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31826 (exit $ac_status); } && {
31827 test -z "$ac_c_werror_flag" ||
31828 test ! -s conftest.err
31829 } && test -s conftest$ac_exeext &&
31830 $as_test_x conftest$ac_exeext; then
31831 ac_cv_lib_odbc_SQLAllocEnv=yes
31833 echo "$as_me: failed program was:" >&5
31834 sed 's/^/| /' conftest.$ac_ext >&5
31836 ac_cv_lib_odbc_SQLAllocEnv=no
31839 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31840 conftest$ac_exeext conftest.$ac_ext
31841 LIBS=$ac_check_lib_save_LIBS
31843 { echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
31844 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6; }
31845 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
31846 ODBC_LINK=" -lodbc"
31856 if test "x$ODBC_LINK" = "x" ; then
31857 if test "$wxUSE_ODBC" = "sys" ; then
31858 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
31859 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
31860 { (exit 1); exit 1; }; }
31862 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
31863 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
31871 if test "$wxUSE_ODBC" = "builtin" ; then
31872 cat >>confdefs.h <<\_ACEOF
31873 #define wxUSE_BUILTIN_IODBC 1
31879 if test "$wxUSE_ODBC" != "no" ; then
31880 cat >>confdefs.h <<\_ACEOF
31881 #define wxUSE_ODBC 1
31884 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
31886 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
31890 if test "$wxUSE_DISPLAY" = "yes"; then
31891 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
31892 { echo "$as_me:$LINENO: checking for Xinerama" >&5
31893 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
31896 for ac_dir in $SEARCH_LIB;
31898 for ac_extension in a so sl dylib dll.a; do
31899 if test -f "$ac_dir/libXinerama.$ac_extension"; then
31900 ac_find_libraries=$ac_dir
31906 if test "$ac_find_libraries" != "" ; then
31908 if test "$ac_find_libraries" = "default location"; then
31911 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
31913 if test $result = 0; then
31916 ac_path_to_link=" -L$ac_find_libraries"
31920 if test "$ac_path_to_link" != " -L/usr/lib" ; then
31921 LDFLAGS="$LDFLAGS $ac_path_to_link"
31923 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
31924 { echo "$as_me:$LINENO: result: yes" >&5
31925 echo "${ECHO_T}yes" >&6; }
31927 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
31928 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
31931 for ac_dir in $SEARCH_LIB;
31933 for ac_extension in a so sl dylib dll.a; do
31934 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
31935 ac_find_libraries=$ac_dir
31941 if test "$ac_find_libraries" != "" ; then
31942 { echo "$as_me:$LINENO: result: yes" >&5
31943 echo "${ECHO_T}yes" >&6; }
31944 { echo "$as_me:$LINENO: checking for X11/extensions/xf86vmode.h" >&5
31945 echo $ECHO_N "checking for X11/extensions/xf86vmode.h... $ECHO_C" >&6; }
31946 if test "${ac_cv_header_X11_extensions_xf86vmode_h+set}" = set; then
31947 echo $ECHO_N "(cached) $ECHO_C" >&6
31949 cat >conftest.$ac_ext <<_ACEOF
31952 cat confdefs.h >>conftest.$ac_ext
31953 cat >>conftest.$ac_ext <<_ACEOF
31954 /* end confdefs.h. */
31956 #if HAVE_X11_XLIB_H
31957 #include <X11/Xlib.h>
31961 #include <X11/extensions/xf86vmode.h>
31963 rm -f conftest.$ac_objext
31964 if { (ac_try="$ac_compile"
31965 case "(($ac_try" in
31966 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31967 *) ac_try_echo
=$ac_try;;
31969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31970 (eval "$ac_compile") 2>conftest.er1
31972 grep -v '^ *+' conftest.er1
>conftest.err
31974 cat conftest.err
>&5
31975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31976 (exit $ac_status); } && {
31977 test -z "$ac_c_werror_flag" ||
31978 test ! -s conftest.err
31979 } && test -s conftest.
$ac_objext; then
31980 ac_cv_header_X11_extensions_xf86vmode_h
=yes
31982 echo "$as_me: failed program was:" >&5
31983 sed 's/^/| /' conftest.
$ac_ext >&5
31985 ac_cv_header_X11_extensions_xf86vmode_h
=no
31988 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31990 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_xf86vmode_h" >&5
31991 echo "${ECHO_T}$ac_cv_header_X11_extensions_xf86vmode_h" >&6; }
31992 if test $ac_cv_header_X11_extensions_xf86vmode_h = yes; then
31994 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
32000 { echo "$as_me:$LINENO: result: no" >&5
32001 echo "${ECHO_T}no" >&6; }
32005 { echo "$as_me:$LINENO: result: no" >&5
32006 echo "${ECHO_T}no" >&6; }
32007 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32008 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32011 elif test "$wxUSE_MSW" = 1; then
32012 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
32013 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
32014 if test "${ac_cv_header_ddraw_h+set}" = set; then
32015 echo $ECHO_N "(cached) $ECHO_C" >&6
32017 cat >conftest.
$ac_ext <<_ACEOF
32020 cat confdefs.h
>>conftest.
$ac_ext
32021 cat >>conftest.
$ac_ext <<_ACEOF
32022 /* end confdefs.h. */
32023 #include <windows.h>
32027 rm -f conftest.
$ac_objext
32028 if { (ac_try
="$ac_compile"
32029 case "(($ac_try" in
32030 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32031 *) ac_try_echo=$ac_try;;
32033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32034 (eval "$ac_compile") 2>conftest.er1
32036 grep -v '^ *+' conftest.er1 >conftest.err
32038 cat conftest.err >&5
32039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32040 (exit $ac_status); } && {
32041 test -z "$ac_c_werror_flag" ||
32042 test ! -s conftest.err
32043 } && test -s conftest.$ac_objext; then
32044 ac_cv_header_ddraw_h=yes
32046 echo "$as_me: failed program was:" >&5
32047 sed 's/^/| /' conftest.$ac_ext >&5
32049 ac_cv_header_ddraw_h=no
32052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32054 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
32055 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
32061 if test "$wxUSE_DETECT_SM" = "yes"; then
32062 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32063 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
32064 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
32067 for ac_dir in $SEARCH_LIB;
32069 for ac_extension in a so sl dylib dll.a; do
32070 if test -f "$ac_dir/libSM.$ac_extension"; then
32071 ac_find_libraries=$ac_dir
32077 if test "$ac_find_libraries" != "" ; then
32079 if test "$ac_find_libraries" = "default location"; then
32082 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32084 if test $result = 0; then
32087 ac_path_to_link=" -L$ac_find_libraries"
32091 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32092 LDFLAGS="$LDFLAGS $ac_path_to_link"
32094 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
32095 { echo "$as_me:$LINENO: result: yes" >&5
32096 echo "${ECHO_T}yes" >&6; }
32098 { echo "$as_me:$LINENO: result: no" >&5
32099 echo "${ECHO_T}no" >&6; }
32100 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
32101 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
32102 wxUSE_DETECT_SM="no"
32105 wxUSE_DETECT_SM="no"
32112 if test "$wxUSE_OPENGL" = "yes"; then
32113 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
32114 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
32115 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
32117 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
32118 OPENGL_LIBS="-framework OpenGL -framework AGL"
32119 elif test "$wxUSE_MSW" = 1; then
32120 OPENGL_LIBS="-lopengl32 -lglu32"
32122 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
32123 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
32126 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
32128 if test -f "$ac_dir/GL/gl.h"; then
32129 ac_find_includes=$ac_dir
32134 if test "$ac_find_includes" != "" ; then
32135 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32136 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32138 if test "x$ac_find_includes" = "x/usr/include"; then
32139 ac_path_to_include=""
32141 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
32143 if test $result = 0; then
32144 ac_path_to_include=""
32146 ac_path_to_include=" -I$ac_find_includes"
32150 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
32152 { echo "$as_me:$LINENO: result: not found" >&5
32153 echo "${ECHO_T}not found" >&6; }
32156 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32157 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
32158 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32159 echo $ECHO_N "(cached) $ECHO_C" >&6
32161 cat >conftest.$ac_ext <<_ACEOF
32164 cat confdefs.h >>conftest.$ac_ext
32165 cat >>conftest.$ac_ext <<_ACEOF
32166 /* end confdefs.h. */
32171 rm -f conftest.$ac_objext
32172 if { (ac_try="$ac_compile"
32173 case "(($ac_try" in
32174 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32175 *) ac_try_echo
=$ac_try;;
32177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32178 (eval "$ac_compile") 2>conftest.er1
32180 grep -v '^ *+' conftest.er1
>conftest.err
32182 cat conftest.err
>&5
32183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32184 (exit $ac_status); } && {
32185 test -z "$ac_c_werror_flag" ||
32186 test ! -s conftest.err
32187 } && test -s conftest.
$ac_objext; then
32188 ac_cv_header_GL_gl_h
=yes
32190 echo "$as_me: failed program was:" >&5
32191 sed 's/^/| /' conftest.
$ac_ext >&5
32193 ac_cv_header_GL_gl_h
=no
32196 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32198 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32199 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
32200 if test $ac_cv_header_GL_gl_h = yes; then
32202 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32203 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32204 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32205 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32206 echo $ECHO_N "(cached) $ECHO_C" >&6
32208 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32209 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32211 # Is the header compilable?
32212 { echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
32213 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6; }
32214 cat >conftest.
$ac_ext <<_ACEOF
32217 cat confdefs.h
>>conftest.
$ac_ext
32218 cat >>conftest.
$ac_ext <<_ACEOF
32219 /* end confdefs.h. */
32220 $ac_includes_default
32221 #include <GL/glu.h>
32223 rm -f conftest.
$ac_objext
32224 if { (ac_try
="$ac_compile"
32225 case "(($ac_try" in
32226 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32227 *) ac_try_echo=$ac_try;;
32229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32230 (eval "$ac_compile") 2>conftest.er1
32232 grep -v '^ *+' conftest.er1 >conftest.err
32234 cat conftest.err >&5
32235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32236 (exit $ac_status); } && {
32237 test -z "$ac_c_werror_flag" ||
32238 test ! -s conftest.err
32239 } && test -s conftest.$ac_objext; then
32240 ac_header_compiler=yes
32242 echo "$as_me: failed program was:" >&5
32243 sed 's/^/| /' conftest.$ac_ext >&5
32245 ac_header_compiler=no
32248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32249 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32250 echo "${ECHO_T}$ac_header_compiler" >&6; }
32252 # Is the header present?
32253 { echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
32254 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6; }
32255 cat >conftest.$ac_ext <<_ACEOF
32258 cat confdefs.h >>conftest.$ac_ext
32259 cat >>conftest.$ac_ext <<_ACEOF
32260 /* end confdefs.h. */
32261 #include <GL/glu.h>
32263 if { (ac_try="$ac_cpp conftest.$ac_ext"
32264 case "(($ac_try" in
32265 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32266 *) ac_try_echo
=$ac_try;;
32268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32269 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32271 grep -v '^ *+' conftest.er1
>conftest.err
32273 cat conftest.err
>&5
32274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32275 (exit $ac_status); } >/dev
/null
&& {
32276 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32277 test ! -s conftest.err
32279 ac_header_preproc
=yes
32281 echo "$as_me: failed program was:" >&5
32282 sed 's/^/| /' conftest.
$ac_ext >&5
32284 ac_header_preproc
=no
32287 rm -f conftest.err conftest.
$ac_ext
32288 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32289 echo "${ECHO_T}$ac_header_preproc" >&6; }
32291 # So? What about this header?
32292 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32294 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
32295 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32296 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
32297 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
32298 ac_header_preproc
=yes
32301 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
32302 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
32303 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
32304 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
32305 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
32306 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
32307 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
32308 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
32309 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
32310 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
32311 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
32312 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
32314 ## ----------------------------------------- ##
32315 ## Report this to wx-dev@lists.wxwidgets.org ##
32316 ## ----------------------------------------- ##
32318 ) | sed "s/^/$as_me: WARNING: /" >&2
32321 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32322 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32323 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32324 echo $ECHO_N "(cached) $ECHO_C" >&6
32326 ac_cv_header_GL_glu_h
=$ac_header_preproc
32328 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32329 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32332 if test $ac_cv_header_GL_glu_h = yes; then
32336 { echo "$as_me:$LINENO: checking for -lGL" >&5
32337 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
32340 for ac_dir
in $SEARCH_LIB /opt
/graphics
/OpenGL
/lib
;
32342 for ac_extension
in a so sl dylib dll.a
; do
32343 if test -f "$ac_dir/libGL.$ac_extension"; then
32344 ac_find_libraries
=$ac_dir
32350 if test "$ac_find_libraries" != "" ; then
32351 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32352 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32355 if test "$ac_find_libraries" = "default location"; then
32358 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
32360 if test $result = 0; then
32363 ac_path_to_link
=" -L$ac_find_libraries"
32367 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32368 LDFLAGS_GL
="$ac_path_to_link"
32371 { echo "$as_me:$LINENO: checking for -lGLU" >&5
32372 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
32375 for ac_dir
in $SEARCH_LIB;
32377 for ac_extension
in a so sl dylib dll.a
; do
32378 if test -f "$ac_dir/libGLU.$ac_extension"; then
32379 ac_find_libraries
=$ac_dir
32385 if test "$ac_find_libraries" != "" ; then
32387 if test "$ac_find_libraries" = "default location"; then
32390 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
32392 if test $result = 0; then
32395 ac_path_to_link
=" -L$ac_find_libraries"
32399 if test "$ac_path_to_link" != " -L/usr/lib" -a \
32400 "$ac_path_to_link" != "$LDFLAGS_GL"; then
32401 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
32405 OPENGL_LIBS
="-lGL -lGLU"
32406 { echo "$as_me:$LINENO: result: yes" >&5
32407 echo "${ECHO_T}yes" >&6; }
32409 { echo "$as_me:$LINENO: result: no" >&5
32410 echo "${ECHO_T}no" >&6; }
32413 { echo "$as_me:$LINENO: result: no" >&5
32414 echo "${ECHO_T}no" >&6; }
32417 if test "$found_gl" != 1; then
32418 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
32419 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
32422 for ac_dir
in $SEARCH_LIB;
32424 for ac_extension
in a so sl dylib dll.a
; do
32425 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
32426 ac_find_libraries
=$ac_dir
32432 if test "$ac_find_libraries" != "" ; then
32434 if test "$ac_find_libraries" = "default location"; then
32437 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
32439 if test $result = 0; then
32442 ac_path_to_link
=" -L$ac_find_libraries"
32446 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
32447 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
32448 { echo "$as_me:$LINENO: result: yes" >&5
32449 echo "${ECHO_T}yes" >&6; }
32451 { echo "$as_me:$LINENO: result: no" >&5
32452 echo "${ECHO_T}no" >&6; }
32464 if test "x$OPENGL_LIBS" = "x"; then
32465 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
32466 echo "$as_me: error: OpenGL libraries not available" >&2;}
32467 { (exit 1); exit 1; }; }
32471 if test "$wxUSE_OPENGL" = "yes"; then
32473 cat >>confdefs.h
<<\_ACEOF
32474 #define wxUSE_OPENGL 1
32477 cat >>confdefs.h
<<\_ACEOF
32478 #define wxUSE_GLCANVAS 1
32481 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
32486 if test -n "$TOOLKIT" ; then
32487 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
32492 if test "$wxUSE_SHARED" = "yes"; then
32496 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
32497 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
32502 if test "$wxUSE_SHARED" = "yes"; then
32506 *-*-cygwin* | *-*-mingw* )
32507 wx_cv_version_script
=no
32511 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
32512 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
32513 if test "${wx_cv_version_script+set}" = set; then
32514 echo $ECHO_N "(cached) $ECHO_C" >&6
32517 echo "VER_1 { *; };" >conftest.sym
32518 echo "int main() { return 0; }" >conftest.cpp
32521 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32522 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
32523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32524 (eval $ac_try) 2>&5
32526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32527 (exit $ac_status); }; } ; then
32528 if test -s conftest.stderr
; then
32529 wx_cv_version_script
=no
32531 wx_cv_version_script
=yes
32534 wx_cv_version_script
=no
32537 if test $wx_cv_version_script = yes
32539 echo "struct B { virtual ~B() { } }; \
32540 struct D : public B { }; \
32541 void F() { D d; }" > conftest.cpp
32544 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32545 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
32546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32547 (eval $ac_try) 2>&5
32549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32550 (exit $ac_status); }; } &&
32552 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32553 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
32554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32555 (eval $ac_try) 2>&5
32557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32558 (exit $ac_status); }; }
32561 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32562 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
32563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32564 (eval $ac_try) 2>&5
32566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32567 (exit $ac_status); }; }
32569 wx_cv_version_script
=yes
32571 wx_cv_version_script
=no
32576 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
32577 rm -f conftest1.output conftest2.output conftest3.output
32580 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
32581 echo "${ECHO_T}$wx_cv_version_script" >&6; }
32583 if test $wx_cv_version_script = yes ; then
32584 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(wx_top_builddir)/version-script"
32591 *-*-linux* | *-*-gnu* )
32592 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
32593 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
32597 if test "$GCC" = yes ; then
32598 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
32600 saveLdflags
="$LDFLAGS"
32601 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
32602 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
32603 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
32604 cat >conftest.
$ac_ext <<_ACEOF
32607 cat confdefs.h
>>conftest.
$ac_ext
32608 cat >>conftest.
$ac_ext <<_ACEOF
32609 /* end confdefs.h. */
32619 rm -f conftest.
$ac_objext conftest
$ac_exeext
32620 if { (ac_try
="$ac_link"
32621 case "(($ac_try" in
32622 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32623 *) ac_try_echo=$ac_try;;
32625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32626 (eval "$ac_link") 2>conftest.er1
32628 grep -v '^ *+' conftest.er1 >conftest.err
32630 cat conftest.err >&5
32631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32632 (exit $ac_status); } && {
32633 test -z "$ac_c_werror_flag" ||
32634 test ! -s conftest.err
32635 } && test -s conftest$ac_exeext &&
32636 $as_test_x conftest$ac_exeext; then
32638 { echo "$as_me:$LINENO: result: yes" >&5
32639 echo "${ECHO_T}yes" >&6; }
32640 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
32641 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
32644 echo "$as_me: failed program was:" >&5
32645 sed 's/^/| /' conftest.$ac_ext >&5
32648 { echo "$as_me:$LINENO: result: no" >&5
32649 echo "${ECHO_T}no" >&6; }
32650 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
32651 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
32652 LDFLAGS="$saveLdflags -Wl,-R,/"
32653 cat >conftest.$ac_ext <<_ACEOF
32656 cat confdefs.h >>conftest.$ac_ext
32657 cat >>conftest.$ac_ext <<_ACEOF
32658 /* end confdefs.h. */
32668 rm -f conftest.$ac_objext conftest$ac_exeext
32669 if { (ac_try="$ac_link"
32670 case "(($ac_try" in
32671 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32672 *) ac_try_echo
=$ac_try;;
32674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32675 (eval "$ac_link") 2>conftest.er1
32677 grep -v '^ *+' conftest.er1
>conftest.err
32679 cat conftest.err
>&5
32680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32681 (exit $ac_status); } && {
32682 test -z "$ac_c_werror_flag" ||
32683 test ! -s conftest.err
32684 } && test -s conftest
$ac_exeext &&
32685 $as_test_x conftest
$ac_exeext; then
32687 { echo "$as_me:$LINENO: result: yes" >&5
32688 echo "${ECHO_T}yes" >&6; }
32689 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
32690 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
32693 echo "$as_me: failed program was:" >&5
32694 sed 's/^/| /' conftest.
$ac_ext >&5
32697 { echo "$as_me:$LINENO: result: no" >&5
32698 echo "${ECHO_T}no" >&6; }
32702 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32703 conftest
$ac_exeext conftest.
$ac_ext
32707 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32708 conftest
$ac_exeext conftest.
$ac_ext
32709 LDFLAGS
="$saveLdflags"
32711 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
32712 WXCONFIG_RPATH
="-R\$libdir"
32717 install_name_tool
=`which install_name_tool`
32718 if test "$install_name_tool" -a -x "$install_name_tool"; then
32719 SAMPLES_RPATH_POSTLINK
="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
32720 cat <<EOF >change-install-names
32722 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
32723 inst_cmd="install_name_tool "
32724 for i in \${libnames} ; do
32725 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
32729 chmod +x change
-install-names
32733 *-*-cygwin* | *-*-mingw32* )
32734 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
32738 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
32739 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
32744 if test $wxUSE_RPATH = "no"; then
32745 SAMPLES_RPATH_FLAG
=''
32746 SAMPLES_RPATH_POSTLINK
=''
32754 config_linkage_component
="-static"
32761 lib_unicode_suffix
=
32763 if test "$wxUSE_UNICODE" = "yes"; then
32764 lib_unicode_suffix
=u
32765 WX_CHARTYPE
="unicode"
32770 WX_DEBUGTYPE
="release"
32772 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
32774 WX_DEBUGTYPE
="debug"
32778 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
32779 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
32782 if test "$wxUSE_DEBUG_INFO" = "yes"; then
32786 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
32788 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
32790 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
32792 if test "$cross_compiling" = "yes"; then
32793 HOST_SUFFIX
="-$host_alias"
32794 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
32795 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
32798 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32799 if test "${TOOLKIT_DIR}" = "os2"; then
32800 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32802 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32807 if test "$wxUSE_COCOA" = 1; then
32810 ac_cpp
='$CPP $CPPFLAGS'
32811 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32812 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32813 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32817 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
32818 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
32819 cat >conftest.
$ac_ext <<_ACEOF
32822 cat confdefs.h
>>conftest.
$ac_ext
32823 cat >>conftest.
$ac_ext <<_ACEOF
32824 /* end confdefs.h. */
32825 #include <AppKit/NSEvent.h>
32826 #include <CoreFoundation/CoreFoundation.h>
32836 rm -f conftest.
$ac_objext
32837 if { (ac_try
="$ac_compile"
32838 case "(($ac_try" in
32839 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32840 *) ac_try_echo=$ac_try;;
32842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32843 (eval "$ac_compile") 2>conftest.er1
32845 grep -v '^ *+' conftest.er1 >conftest.err
32847 cat conftest.err >&5
32848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32849 (exit $ac_status); } && {
32850 test -z "$ac_c_werror_flag" ||
32851 test ! -s conftest.err
32852 } && test -s conftest.$ac_objext; then
32853 { echo "$as_me:$LINENO: result: no" >&5
32854 echo "${ECHO_T}no" >&6; }
32856 echo "$as_me: failed program was:" >&5
32857 sed 's/^/| /' conftest.$ac_ext >&5
32859 { echo "$as_me:$LINENO: result: yes" >&5
32860 echo "${ECHO_T}yes" >&6; }
32861 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
32862 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
32863 cat >conftest.$ac_ext <<_ACEOF
32866 cat confdefs.h >>conftest.$ac_ext
32867 cat >>conftest.$ac_ext <<_ACEOF
32868 /* end confdefs.h. */
32869 #define __Point__ 1
32870 #include <AppKit/NSEvent.h>
32871 #include <CoreFoundation/CoreFoundation.h>
32881 rm -f conftest.$ac_objext
32882 if { (ac_try="$ac_compile"
32883 case "(($ac_try" in
32884 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32885 *) ac_try_echo
=$ac_try;;
32887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32888 (eval "$ac_compile") 2>conftest.er1
32890 grep -v '^ *+' conftest.er1
>conftest.err
32892 cat conftest.err
>&5
32893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32894 (exit $ac_status); } && {
32895 test -z "$ac_c_werror_flag" ||
32896 test ! -s conftest.err
32897 } && test -s conftest.
$ac_objext; then
32898 { echo "$as_me:$LINENO: result: yes" >&5
32899 echo "${ECHO_T}yes" >&6; }
32900 cat >>confdefs.h
<<\_ACEOF
32901 #define __Point__ 1
32906 echo "$as_me: failed program was:" >&5
32907 sed 's/^/| /' conftest.
$ac_ext >&5
32909 { { echo "$as_me:$LINENO: error: no
32910 See \`config.log' for more details." >&5
32911 echo "$as_me: error: no
32912 See \`config.log' for more details." >&2;}
32913 { (exit 1); exit 1; }; }
32917 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32921 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32923 ac_cpp
='$CPP $CPPFLAGS'
32924 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32925 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32926 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32930 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
32931 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
32932 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
32934 LIBWXMACRES
="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
32936 # Extract the first word of "Rez", so it can be a program name with args.
32937 set dummy Rez
; ac_word
=$2
32938 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32939 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32940 if test "${ac_cv_prog_REZ+set}" = set; then
32941 echo $ECHO_N "(cached) $ECHO_C" >&6
32943 if test -n "$REZ"; then
32944 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
32946 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32947 for as_dir
in $PATH
32950 test -z "$as_dir" && as_dir
=.
32951 for ac_exec_ext
in '' $ac_executable_extensions; do
32952 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32953 ac_cv_prog_REZ
="Rez"
32954 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32961 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
32964 REZ
=$ac_cv_prog_REZ
32965 if test -n "$REZ"; then
32966 { echo "$as_me:$LINENO: result: $REZ" >&5
32967 echo "${ECHO_T}$REZ" >&6; }
32969 { echo "$as_me:$LINENO: result: no" >&5
32970 echo "${ECHO_T}no" >&6; }
32974 # Extract the first word of "DeRez", so it can be a program name with args.
32975 set dummy DeRez
; ac_word
=$2
32976 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32977 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32978 if test "${ac_cv_prog_DEREZ+set}" = set; then
32979 echo $ECHO_N "(cached) $ECHO_C" >&6
32981 if test -n "$DEREZ"; then
32982 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
32984 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32985 for as_dir
in $PATH
32988 test -z "$as_dir" && as_dir
=.
32989 for ac_exec_ext
in '' $ac_executable_extensions; do
32990 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32991 ac_cv_prog_DEREZ
="DeRez"
32992 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32999 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
33002 DEREZ
=$ac_cv_prog_DEREZ
33003 if test -n "$DEREZ"; then
33004 { echo "$as_me:$LINENO: result: $DEREZ" >&5
33005 echo "${ECHO_T}$DEREZ" >&6; }
33007 { echo "$as_me:$LINENO: result: no" >&5
33008 echo "${ECHO_T}no" >&6; }
33012 # Extract the first word of "SetFile", so it can be a program name with args.
33013 set dummy SetFile
; ac_word
=$2
33014 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33015 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33016 if test "${ac_cv_prog_SETFILE+set}" = set; then
33017 echo $ECHO_N "(cached) $ECHO_C" >&6
33019 if test -n "$SETFILE"; then
33020 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
33022 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33023 for as_dir
in $PATH
33026 test -z "$as_dir" && as_dir
=.
33027 for ac_exec_ext
in '' $ac_executable_extensions; do
33028 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33029 ac_cv_prog_SETFILE
="SetFile"
33030 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33037 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
33040 SETFILE
=$ac_cv_prog_SETFILE
33041 if test -n "$SETFILE"; then
33042 { echo "$as_me:$LINENO: result: $SETFILE" >&5
33043 echo "${ECHO_T}$SETFILE" >&6; }
33045 { echo "$as_me:$LINENO: result: no" >&5
33046 echo "${ECHO_T}no" >&6; }
33051 MACSETFILE
="\$(SETFILE)"
33053 if test "$wxUSE_MAC" = 1; then
33054 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
33056 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
33058 POSTLINK_COMMAND
="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
33059 RESCOMP
="echo -n \| $REZ"
33060 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
33066 if test "$wxUSE_PM" = 1; then
33068 WXCONFIG_RESFLAGS
="-ep"
33070 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
33072 POSTLINK_COMMAND
="@true"
33079 { echo "$as_me:$LINENO: checking for mode_t" >&5
33080 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
33081 if test "${ac_cv_type_mode_t+set}" = set; then
33082 echo $ECHO_N "(cached) $ECHO_C" >&6
33084 cat >conftest.
$ac_ext <<_ACEOF
33087 cat confdefs.h
>>conftest.
$ac_ext
33088 cat >>conftest.
$ac_ext <<_ACEOF
33089 /* end confdefs.h. */
33090 $ac_includes_default
33091 typedef mode_t ac__type_new_;
33095 if ((ac__type_new_ *) 0)
33097 if (sizeof (ac__type_new_))
33103 rm -f conftest.
$ac_objext
33104 if { (ac_try
="$ac_compile"
33105 case "(($ac_try" in
33106 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33107 *) ac_try_echo=$ac_try;;
33109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33110 (eval "$ac_compile") 2>conftest.er1
33112 grep -v '^ *+' conftest.er1 >conftest.err
33114 cat conftest.err >&5
33115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33116 (exit $ac_status); } && {
33117 test -z "$ac_c_werror_flag" ||
33118 test ! -s conftest.err
33119 } && test -s conftest.$ac_objext; then
33120 ac_cv_type_mode_t=yes
33122 echo "$as_me: failed program was:" >&5
33123 sed 's/^/| /' conftest.$ac_ext >&5
33125 ac_cv_type_mode_t=no
33128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33130 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33131 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
33132 if test $ac_cv_type_mode_t = yes; then
33136 cat >>confdefs.h <<_ACEOF
33142 { echo "$as_me:$LINENO: checking for off_t" >&5
33143 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
33144 if test "${ac_cv_type_off_t+set}" = set; then
33145 echo $ECHO_N "(cached) $ECHO_C" >&6
33147 cat >conftest.$ac_ext <<_ACEOF
33150 cat confdefs.h >>conftest.$ac_ext
33151 cat >>conftest.$ac_ext <<_ACEOF
33152 /* end confdefs.h. */
33153 $ac_includes_default
33154 typedef off_t ac__type_new_;
33158 if ((ac__type_new_ *) 0)
33160 if (sizeof (ac__type_new_))
33166 rm -f conftest.$ac_objext
33167 if { (ac_try="$ac_compile"
33168 case "(($ac_try" in
33169 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33170 *) ac_try_echo
=$ac_try;;
33172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33173 (eval "$ac_compile") 2>conftest.er1
33175 grep -v '^ *+' conftest.er1
>conftest.err
33177 cat conftest.err
>&5
33178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33179 (exit $ac_status); } && {
33180 test -z "$ac_c_werror_flag" ||
33181 test ! -s conftest.err
33182 } && test -s conftest.
$ac_objext; then
33183 ac_cv_type_off_t
=yes
33185 echo "$as_me: failed program was:" >&5
33186 sed 's/^/| /' conftest.
$ac_ext >&5
33188 ac_cv_type_off_t
=no
33191 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33193 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33194 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
33195 if test $ac_cv_type_off_t = yes; then
33199 cat >>confdefs.h
<<_ACEOF
33200 #define off_t long int
33205 { echo "$as_me:$LINENO: checking for pid_t" >&5
33206 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
33207 if test "${ac_cv_type_pid_t+set}" = set; then
33208 echo $ECHO_N "(cached) $ECHO_C" >&6
33210 cat >conftest.
$ac_ext <<_ACEOF
33213 cat confdefs.h
>>conftest.
$ac_ext
33214 cat >>conftest.
$ac_ext <<_ACEOF
33215 /* end confdefs.h. */
33216 $ac_includes_default
33217 typedef pid_t ac__type_new_;
33221 if ((ac__type_new_ *) 0)
33223 if (sizeof (ac__type_new_))
33229 rm -f conftest.
$ac_objext
33230 if { (ac_try
="$ac_compile"
33231 case "(($ac_try" in
33232 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33233 *) ac_try_echo=$ac_try;;
33235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33236 (eval "$ac_compile") 2>conftest.er1
33238 grep -v '^ *+' conftest.er1 >conftest.err
33240 cat conftest.err >&5
33241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33242 (exit $ac_status); } && {
33243 test -z "$ac_c_werror_flag" ||
33244 test ! -s conftest.err
33245 } && test -s conftest.$ac_objext; then
33246 ac_cv_type_pid_t=yes
33248 echo "$as_me: failed program was:" >&5
33249 sed 's/^/| /' conftest.$ac_ext >&5
33251 ac_cv_type_pid_t=no
33254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33256 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
33257 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
33258 if test $ac_cv_type_pid_t = yes; then
33262 cat >>confdefs.h <<_ACEOF
33268 { echo "$as_me:$LINENO: checking for size_t" >&5
33269 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
33270 if test "${ac_cv_type_size_t+set}" = set; then
33271 echo $ECHO_N "(cached) $ECHO_C" >&6
33273 cat >conftest.$ac_ext <<_ACEOF
33276 cat confdefs.h >>conftest.$ac_ext
33277 cat >>conftest.$ac_ext <<_ACEOF
33278 /* end confdefs.h. */
33279 $ac_includes_default
33280 typedef size_t ac__type_new_;
33284 if ((ac__type_new_ *) 0)
33286 if (sizeof (ac__type_new_))
33292 rm -f conftest.$ac_objext
33293 if { (ac_try="$ac_compile"
33294 case "(($ac_try" in
33295 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33296 *) ac_try_echo
=$ac_try;;
33298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33299 (eval "$ac_compile") 2>conftest.er1
33301 grep -v '^ *+' conftest.er1
>conftest.err
33303 cat conftest.err
>&5
33304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33305 (exit $ac_status); } && {
33306 test -z "$ac_c_werror_flag" ||
33307 test ! -s conftest.err
33308 } && test -s conftest.
$ac_objext; then
33309 ac_cv_type_size_t
=yes
33311 echo "$as_me: failed program was:" >&5
33312 sed 's/^/| /' conftest.
$ac_ext >&5
33314 ac_cv_type_size_t
=no
33317 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33319 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
33320 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
33321 if test $ac_cv_type_size_t = yes; then
33325 cat >>confdefs.h
<<_ACEOF
33326 #define size_t unsigned int
33331 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
33332 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
33333 if test "${ac_cv_type_uid_t+set}" = set; then
33334 echo $ECHO_N "(cached) $ECHO_C" >&6
33336 cat >conftest.
$ac_ext <<_ACEOF
33339 cat confdefs.h
>>conftest.
$ac_ext
33340 cat >>conftest.
$ac_ext <<_ACEOF
33341 /* end confdefs.h. */
33342 #include <sys/types.h>
33345 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
33346 $EGREP "uid_t" >/dev
/null
2>&1; then
33347 ac_cv_type_uid_t
=yes
33349 ac_cv_type_uid_t
=no
33354 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
33355 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
33356 if test $ac_cv_type_uid_t = no
; then
33358 cat >>confdefs.h
<<\_ACEOF
33363 cat >>confdefs.h
<<\_ACEOF
33370 { echo "$as_me:$LINENO: checking for ssize_t" >&5
33371 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
33372 if test "${ac_cv_type_ssize_t+set}" = set; then
33373 echo $ECHO_N "(cached) $ECHO_C" >&6
33375 cat >conftest.
$ac_ext <<_ACEOF
33378 cat confdefs.h
>>conftest.
$ac_ext
33379 cat >>conftest.
$ac_ext <<_ACEOF
33380 /* end confdefs.h. */
33381 $ac_includes_default
33382 typedef ssize_t ac__type_new_;
33386 if ((ac__type_new_ *) 0)
33388 if (sizeof (ac__type_new_))
33394 rm -f conftest.
$ac_objext
33395 if { (ac_try
="$ac_compile"
33396 case "(($ac_try" in
33397 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33398 *) ac_try_echo=$ac_try;;
33400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33401 (eval "$ac_compile") 2>conftest.er1
33403 grep -v '^ *+' conftest.er1 >conftest.err
33405 cat conftest.err >&5
33406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33407 (exit $ac_status); } && {
33408 test -z "$ac_c_werror_flag" ||
33409 test ! -s conftest.err
33410 } && test -s conftest.$ac_objext; then
33411 ac_cv_type_ssize_t=yes
33413 echo "$as_me: failed program was:" >&5
33414 sed 's/^/| /' conftest.$ac_ext >&5
33416 ac_cv_type_ssize_t=no
33419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33421 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
33422 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
33423 if test $ac_cv_type_ssize_t = yes; then
33425 cat >>confdefs.h <<_ACEOF
33426 #define HAVE_SSIZE_T 1
33434 ac_cpp='$CXXCPP $CPPFLAGS'
33435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33438 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
33439 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
33440 if test "${wx_cv_size_t_is_uint+set}" = set; then
33441 echo $ECHO_N "(cached) $ECHO_C" >&6
33444 cat >conftest.$ac_ext <<_ACEOF
33447 cat confdefs.h >>conftest.$ac_ext
33448 cat >>conftest.$ac_ext <<_ACEOF
33449 /* end confdefs.h. */
33450 #include <stddef.h>
33457 struct Foo { void foo(size_t); void foo(unsigned int); };
33465 rm -f conftest.$ac_objext
33466 if { (ac_try="$ac_compile"
33467 case "(($ac_try" in
33468 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33469 *) ac_try_echo
=$ac_try;;
33471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33472 (eval "$ac_compile") 2>conftest.er1
33474 grep -v '^ *+' conftest.er1
>conftest.err
33476 cat conftest.err
>&5
33477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33478 (exit $ac_status); } && {
33479 test -z "$ac_cxx_werror_flag" ||
33480 test ! -s conftest.err
33481 } && test -s conftest.
$ac_objext; then
33482 wx_cv_size_t_is_uint
=no
33484 echo "$as_me: failed program was:" >&5
33485 sed 's/^/| /' conftest.
$ac_ext >&5
33487 wx_cv_size_t_is_uint
=yes
33491 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33495 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
33496 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
33498 if test "$wx_cv_size_t_is_uint" = "yes"; then
33499 cat >>confdefs.h
<<\_ACEOF
33500 #define wxSIZE_T_IS_UINT 1
33504 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
33505 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
33506 if test "${wx_cv_size_t_is_ulong+set}" = set; then
33507 echo $ECHO_N "(cached) $ECHO_C" >&6
33509 cat >conftest.
$ac_ext <<_ACEOF
33512 cat confdefs.h
>>conftest.
$ac_ext
33513 cat >>conftest.
$ac_ext <<_ACEOF
33514 /* end confdefs.h. */
33515 #include <stddef.h>
33522 struct Foo { void foo(size_t); void foo(unsigned long); };
33530 rm -f conftest.
$ac_objext
33531 if { (ac_try
="$ac_compile"
33532 case "(($ac_try" in
33533 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33534 *) ac_try_echo=$ac_try;;
33536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33537 (eval "$ac_compile") 2>conftest.er1
33539 grep -v '^ *+' conftest.er1 >conftest.err
33541 cat conftest.err >&5
33542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33543 (exit $ac_status); } && {
33544 test -z "$ac_cxx_werror_flag" ||
33545 test ! -s conftest.err
33546 } && test -s conftest.$ac_objext; then
33547 wx_cv_size_t_is_ulong=no
33549 echo "$as_me: failed program was:" >&5
33550 sed 's/^/| /' conftest.$ac_ext >&5
33552 wx_cv_size_t_is_ulong=yes
33556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33559 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
33560 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
33562 if test "$wx_cv_size_t_is_ulong" = "yes"; then
33563 cat >>confdefs.h <<\_ACEOF
33564 #define wxSIZE_T_IS_ULONG 1
33571 ac_cpp='$CPP $CPPFLAGS'
33572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33577 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
33578 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
33579 if test "${wx_cv_struct_pw_gecos+set}" = set; then
33580 echo $ECHO_N "(cached) $ECHO_C" >&6
33583 cat >conftest.$ac_ext <<_ACEOF
33586 cat confdefs.h >>conftest.$ac_ext
33587 cat >>conftest.$ac_ext <<_ACEOF
33588 /* end confdefs.h. */
33602 rm -f conftest.$ac_objext
33603 if { (ac_try="$ac_compile"
33604 case "(($ac_try" in
33605 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33606 *) ac_try_echo
=$ac_try;;
33608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33609 (eval "$ac_compile") 2>conftest.er1
33611 grep -v '^ *+' conftest.er1
>conftest.err
33613 cat conftest.err
>&5
33614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33615 (exit $ac_status); } && {
33616 test -z "$ac_c_werror_flag" ||
33617 test ! -s conftest.err
33618 } && test -s conftest.
$ac_objext; then
33620 wx_cv_struct_pw_gecos
=yes
33623 echo "$as_me: failed program was:" >&5
33624 sed 's/^/| /' conftest.
$ac_ext >&5
33627 wx_cv_struct_pw_gecos
=no
33632 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33636 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
33637 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
33639 if test "$wx_cv_struct_pw_gecos" = "yes"; then
33640 cat >>confdefs.h
<<\_ACEOF
33641 #define HAVE_PW_GECOS 1
33647 if test "$wxUSE_WCHAR_T" = "yes"; then
33648 cat >>confdefs.h
<<\_ACEOF
33649 #define wxUSE_WCHAR_T 1
33656 for ac_func
in wcslen
33658 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33659 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33660 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33661 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33662 echo $ECHO_N "(cached) $ECHO_C" >&6
33664 cat >conftest.
$ac_ext <<_ACEOF
33667 cat confdefs.h
>>conftest.
$ac_ext
33668 cat >>conftest.
$ac_ext <<_ACEOF
33669 /* end confdefs.h. */
33670 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33671 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33672 #define $ac_func innocuous_$ac_func
33674 /* System header to define __stub macros and hopefully few prototypes,
33675 which can conflict with char $ac_func (); below.
33676 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33677 <limits.h> exists even on freestanding compilers. */
33680 # include <limits.h>
33682 # include <assert.h>
33687 /* Override any GCC internal prototype to avoid an error.
33688 Use char because int might match the return type of a GCC
33689 builtin and then its argument prototype would still apply. */
33694 /* The GNU C library defines this for functions which it implements
33695 to always fail with ENOSYS. Some functions are actually named
33696 something starting with __ and the normal name is an alias. */
33697 #if defined __stub_$ac_func || defined __stub___$ac_func
33704 return $ac_func ();
33709 rm -f conftest.
$ac_objext conftest
$ac_exeext
33710 if { (ac_try
="$ac_link"
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_link") 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); } && {
33723 test -z "$ac_c_werror_flag" ||
33724 test ! -s conftest.err
33725 } && test -s conftest$ac_exeext &&
33726 $as_test_x conftest$ac_exeext; then
33727 eval "$as_ac_var=yes"
33729 echo "$as_me: failed program was:" >&5
33730 sed 's/^/| /' conftest.$ac_ext >&5
33732 eval "$as_ac_var=no"
33735 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33736 conftest$ac_exeext conftest.$ac_ext
33738 ac_res=`eval echo '${'$as_ac_var'}'`
33739 { echo "$as_me:$LINENO: result: $ac_res" >&5
33740 echo "${ECHO_T}$ac_res" >&6; }
33741 if test `eval echo '${'$as_ac_var'}'` = yes; then
33742 cat >>confdefs.h <<_ACEOF
33743 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33750 if test "$WCSLEN_FOUND" = 0; then
33751 if test "$TOOLKIT" = "MSW"; then
33752 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
33753 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
33754 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
33755 echo $ECHO_N "(cached) $ECHO_C" >&6
33757 ac_check_lib_save_LIBS=$LIBS
33758 LIBS="-lmsvcrt $LIBS"
33759 cat >conftest.$ac_ext <<_ACEOF
33762 cat confdefs.h >>conftest.$ac_ext
33763 cat >>conftest.$ac_ext <<_ACEOF
33764 /* end confdefs.h. */
33766 /* Override any GCC internal prototype to avoid an error.
33767 Use char because int might match the return type of a GCC
33768 builtin and then its argument prototype would still apply. */
33781 rm -f conftest.$ac_objext conftest$ac_exeext
33782 if { (ac_try="$ac_link"
33783 case "(($ac_try" in
33784 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33785 *) ac_try_echo
=$ac_try;;
33787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33788 (eval "$ac_link") 2>conftest.er1
33790 grep -v '^ *+' conftest.er1
>conftest.err
33792 cat conftest.err
>&5
33793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33794 (exit $ac_status); } && {
33795 test -z "$ac_c_werror_flag" ||
33796 test ! -s conftest.err
33797 } && test -s conftest
$ac_exeext &&
33798 $as_test_x conftest
$ac_exeext; then
33799 ac_cv_lib_msvcrt_wcslen
=yes
33801 echo "$as_me: failed program was:" >&5
33802 sed 's/^/| /' conftest.
$ac_ext >&5
33804 ac_cv_lib_msvcrt_wcslen
=no
33807 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33808 conftest
$ac_exeext conftest.
$ac_ext
33809 LIBS
=$ac_check_lib_save_LIBS
33811 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
33812 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
33813 if test $ac_cv_lib_msvcrt_wcslen = yes; then
33818 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
33819 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
33820 if test "${ac_cv_lib_w_wcslen+set}" = set; then
33821 echo $ECHO_N "(cached) $ECHO_C" >&6
33823 ac_check_lib_save_LIBS
=$LIBS
33825 cat >conftest.
$ac_ext <<_ACEOF
33828 cat confdefs.h
>>conftest.
$ac_ext
33829 cat >>conftest.
$ac_ext <<_ACEOF
33830 /* end confdefs.h. */
33832 /* Override any GCC internal prototype to avoid an error.
33833 Use char because int might match the return type of a GCC
33834 builtin and then its argument prototype would still apply. */
33847 rm -f conftest.
$ac_objext conftest
$ac_exeext
33848 if { (ac_try
="$ac_link"
33849 case "(($ac_try" in
33850 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33851 *) ac_try_echo=$ac_try;;
33853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33854 (eval "$ac_link") 2>conftest.er1
33856 grep -v '^ *+' conftest.er1 >conftest.err
33858 cat conftest.err >&5
33859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33860 (exit $ac_status); } && {
33861 test -z "$ac_c_werror_flag" ||
33862 test ! -s conftest.err
33863 } && test -s conftest$ac_exeext &&
33864 $as_test_x conftest$ac_exeext; then
33865 ac_cv_lib_w_wcslen=yes
33867 echo "$as_me: failed program was:" >&5
33868 sed 's/^/| /' conftest.$ac_ext >&5
33870 ac_cv_lib_w_wcslen=no
33873 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33874 conftest$ac_exeext conftest.$ac_ext
33875 LIBS=$ac_check_lib_save_LIBS
33877 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
33878 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
33879 if test $ac_cv_lib_w_wcslen = yes; then
33889 if test "$WCSLEN_FOUND" = 1; then
33890 cat >>confdefs.h <<\_ACEOF
33891 #define HAVE_WCSLEN 1
33896 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
33897 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
33900 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
33901 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
33902 if test "${ac_cv_type_mbstate_t+set}" = set; then
33903 echo $ECHO_N "(cached) $ECHO_C" >&6
33905 cat >conftest.$ac_ext <<_ACEOF
33908 cat confdefs.h >>conftest.$ac_ext
33909 cat >>conftest.$ac_ext <<_ACEOF
33910 /* end confdefs.h. */
33913 typedef mbstate_t ac__type_new_;
33917 if ((ac__type_new_ *) 0)
33919 if (sizeof (ac__type_new_))
33925 rm -f conftest.$ac_objext
33926 if { (ac_try="$ac_compile"
33927 case "(($ac_try" in
33928 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33929 *) ac_try_echo
=$ac_try;;
33931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33932 (eval "$ac_compile") 2>conftest.er1
33934 grep -v '^ *+' conftest.er1
>conftest.err
33936 cat conftest.err
>&5
33937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33938 (exit $ac_status); } && {
33939 test -z "$ac_c_werror_flag" ||
33940 test ! -s conftest.err
33941 } && test -s conftest.
$ac_objext; then
33942 ac_cv_type_mbstate_t
=yes
33944 echo "$as_me: failed program was:" >&5
33945 sed 's/^/| /' conftest.
$ac_ext >&5
33947 ac_cv_type_mbstate_t
=no
33950 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33952 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
33953 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
33954 if test $ac_cv_type_mbstate_t = yes; then
33956 cat >>confdefs.h
<<_ACEOF
33957 #define HAVE_MBSTATE_T 1
33961 for ac_func
in wcsrtombs
33963 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33964 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33965 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33966 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33967 echo $ECHO_N "(cached) $ECHO_C" >&6
33969 cat >conftest.
$ac_ext <<_ACEOF
33972 cat confdefs.h
>>conftest.
$ac_ext
33973 cat >>conftest.
$ac_ext <<_ACEOF
33974 /* end confdefs.h. */
33975 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33976 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33977 #define $ac_func innocuous_$ac_func
33979 /* System header to define __stub macros and hopefully few prototypes,
33980 which can conflict with char $ac_func (); below.
33981 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33982 <limits.h> exists even on freestanding compilers. */
33985 # include <limits.h>
33987 # include <assert.h>
33992 /* Override any GCC internal prototype to avoid an error.
33993 Use char because int might match the return type of a GCC
33994 builtin and then its argument prototype would still apply. */
33999 /* The GNU C library defines this for functions which it implements
34000 to always fail with ENOSYS. Some functions are actually named
34001 something starting with __ and the normal name is an alias. */
34002 #if defined __stub_$ac_func || defined __stub___$ac_func
34009 return $ac_func ();
34014 rm -f conftest.
$ac_objext conftest
$ac_exeext
34015 if { (ac_try
="$ac_link"
34016 case "(($ac_try" in
34017 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34018 *) ac_try_echo=$ac_try;;
34020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34021 (eval "$ac_link") 2>conftest.er1
34023 grep -v '^ *+' conftest.er1 >conftest.err
34025 cat conftest.err >&5
34026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34027 (exit $ac_status); } && {
34028 test -z "$ac_c_werror_flag" ||
34029 test ! -s conftest.err
34030 } && test -s conftest$ac_exeext &&
34031 $as_test_x conftest$ac_exeext; then
34032 eval "$as_ac_var=yes"
34034 echo "$as_me: failed program was:" >&5
34035 sed 's/^/| /' conftest.$ac_ext >&5
34037 eval "$as_ac_var=no"
34040 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34041 conftest$ac_exeext conftest.$ac_ext
34043 ac_res=`eval echo '${'$as_ac_var'}'`
34044 { echo "$as_me:$LINENO: result: $ac_res" >&5
34045 echo "${ECHO_T}$ac_res" >&6; }
34046 if test `eval echo '${'$as_ac_var'}'` = yes; then
34047 cat >>confdefs.h <<_ACEOF
34048 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34057 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
34058 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
34063 for ac_func in snprintf vsnprintf
34065 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34066 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34067 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34068 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34069 echo $ECHO_N "(cached) $ECHO_C" >&6
34071 cat >conftest.$ac_ext <<_ACEOF
34074 cat confdefs.h >>conftest.$ac_ext
34075 cat >>conftest.$ac_ext <<_ACEOF
34076 /* end confdefs.h. */
34077 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34078 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34079 #define $ac_func innocuous_$ac_func
34081 /* System header to define __stub macros and hopefully few prototypes,
34082 which can conflict with char $ac_func (); below.
34083 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34084 <limits.h> exists even on freestanding compilers. */
34087 # include <limits.h>
34089 # include <assert.h>
34094 /* Override any GCC internal prototype to avoid an error.
34095 Use char because int might match the return type of a GCC
34096 builtin and then its argument prototype would still apply. */
34101 /* The GNU C library defines this for functions which it implements
34102 to always fail with ENOSYS. Some functions are actually named
34103 something starting with __ and the normal name is an alias. */
34104 #if defined __stub_$ac_func || defined __stub___$ac_func
34111 return $ac_func ();
34116 rm -f conftest.$ac_objext conftest$ac_exeext
34117 if { (ac_try="$ac_link"
34118 case "(($ac_try" in
34119 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34120 *) ac_try_echo
=$ac_try;;
34122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34123 (eval "$ac_link") 2>conftest.er1
34125 grep -v '^ *+' conftest.er1
>conftest.err
34127 cat conftest.err
>&5
34128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34129 (exit $ac_status); } && {
34130 test -z "$ac_c_werror_flag" ||
34131 test ! -s conftest.err
34132 } && test -s conftest
$ac_exeext &&
34133 $as_test_x conftest
$ac_exeext; then
34134 eval "$as_ac_var=yes"
34136 echo "$as_me: failed program was:" >&5
34137 sed 's/^/| /' conftest.
$ac_ext >&5
34139 eval "$as_ac_var=no"
34142 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34143 conftest
$ac_exeext conftest.
$ac_ext
34145 ac_res
=`eval echo '${'$as_ac_var'}'`
34146 { echo "$as_me:$LINENO: result: $ac_res" >&5
34147 echo "${ECHO_T}$ac_res" >&6; }
34148 if test `eval echo '${'$as_ac_var'}'` = yes; then
34149 cat >>confdefs.h
<<_ACEOF
34150 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34157 if test "$ac_cv_func_vsnprintf" = "yes"; then
34158 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
34159 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
34160 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
34161 echo $ECHO_N "(cached) $ECHO_C" >&6
34164 cat >conftest.
$ac_ext <<_ACEOF
34167 cat confdefs.h
>>conftest.
$ac_ext
34168 cat >>conftest.
$ac_ext <<_ACEOF
34169 /* end confdefs.h. */
34172 #include <stdarg.h>
34174 #if __MSL__ >= 0x6000
34176 using namespace std;
34186 vsnprintf(buf, 10u, "%s", ap);
34192 rm -f conftest.
$ac_objext
34193 if { (ac_try
="$ac_compile"
34194 case "(($ac_try" in
34195 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34196 *) ac_try_echo=$ac_try;;
34198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34199 (eval "$ac_compile") 2>conftest.er1
34201 grep -v '^ *+' conftest.er1 >conftest.err
34203 cat conftest.err >&5
34204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34205 (exit $ac_status); } && {
34206 test -z "$ac_c_werror_flag" ||
34207 test ! -s conftest.err
34208 } && test -s conftest.$ac_objext; then
34209 wx_cv_func_vsnprintf_decl=yes
34211 echo "$as_me: failed program was:" >&5
34212 sed 's/^/| /' conftest.$ac_ext >&5
34214 wx_cv_func_vsnprintf_decl=no
34218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34222 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
34223 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
34225 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
34226 cat >>confdefs.h <<\_ACEOF
34227 #define HAVE_VSNPRINTF_DECL 1
34231 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
34232 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
34233 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
34234 echo $ECHO_N "(cached) $ECHO_C" >&6
34237 cat >conftest.$ac_ext <<_ACEOF
34240 cat confdefs.h >>conftest.$ac_ext
34241 cat >>conftest.$ac_ext <<_ACEOF
34242 /* end confdefs.h. */
34245 #include <stdarg.h>
34247 #if __MSL__ >= 0x6000
34249 using namespace std;
34259 const char *fmt = "%s";
34260 vsnprintf(buf, 10u, fmt, ap);
34266 rm -f conftest.$ac_objext
34267 if { (ac_try="$ac_compile"
34268 case "(($ac_try" in
34269 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34270 *) ac_try_echo
=$ac_try;;
34272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34273 (eval "$ac_compile") 2>conftest.er1
34275 grep -v '^ *+' conftest.er1
>conftest.err
34277 cat conftest.err
>&5
34278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34279 (exit $ac_status); } && {
34280 test -z "$ac_c_werror_flag" ||
34281 test ! -s conftest.err
34282 } && test -s conftest.
$ac_objext; then
34283 wx_cv_func_broken_vsnprintf_decl
=no
34285 echo "$as_me: failed program was:" >&5
34286 sed 's/^/| /' conftest.
$ac_ext >&5
34288 wx_cv_func_broken_vsnprintf_decl
=yes
34292 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34296 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
34297 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
34299 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
34300 cat >>confdefs.h
<<\_ACEOF
34301 #define HAVE_BROKEN_VSNPRINTF_DECL 1
34308 if test "$ac_cv_func_snprintf" = "yes"; then
34309 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
34310 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
34311 if test "${wx_cv_func_snprintf_decl+set}" = set; then
34312 echo $ECHO_N "(cached) $ECHO_C" >&6
34315 cat >conftest.
$ac_ext <<_ACEOF
34318 cat confdefs.h
>>conftest.
$ac_ext
34319 cat >>conftest.
$ac_ext <<_ACEOF
34320 /* end confdefs.h. */
34323 #include <stdarg.h>
34325 #if __MSL__ >= 0x6000
34327 using namespace std;
34336 snprintf(buf, 10u, "%s", "wx");
34342 rm -f conftest.
$ac_objext
34343 if { (ac_try
="$ac_compile"
34344 case "(($ac_try" in
34345 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34346 *) ac_try_echo=$ac_try;;
34348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34349 (eval "$ac_compile") 2>conftest.er1
34351 grep -v '^ *+' conftest.er1 >conftest.err
34353 cat conftest.err >&5
34354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34355 (exit $ac_status); } && {
34356 test -z "$ac_c_werror_flag" ||
34357 test ! -s conftest.err
34358 } && test -s conftest.$ac_objext; then
34359 wx_cv_func_snprintf_decl=yes
34361 echo "$as_me: failed program was:" >&5
34362 sed 's/^/| /' conftest.$ac_ext >&5
34364 wx_cv_func_snprintf_decl=no
34368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34372 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
34373 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
34375 if test "$wx_cv_func_snprintf_decl" = "yes"; then
34376 cat >>confdefs.h <<\_ACEOF
34377 #define HAVE_SNPRINTF_DECL 1
34381 { echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
34382 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6; }
34383 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
34384 echo $ECHO_N "(cached) $ECHO_C" >&6
34387 cat >conftest.$ac_ext <<_ACEOF
34390 cat confdefs.h >>conftest.$ac_ext
34391 cat >>conftest.$ac_ext <<_ACEOF
34392 /* end confdefs.h. */
34395 #include <stdarg.h>
34397 #if __MSL__ >= 0x6000
34399 using namespace std;
34408 const char *fmt = "%s";
34409 snprintf(buf, 10u, fmt, "wx");
34415 rm -f conftest.$ac_objext
34416 if { (ac_try="$ac_compile"
34417 case "(($ac_try" in
34418 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34419 *) ac_try_echo
=$ac_try;;
34421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34422 (eval "$ac_compile") 2>conftest.er1
34424 grep -v '^ *+' conftest.er1
>conftest.err
34426 cat conftest.err
>&5
34427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34428 (exit $ac_status); } && {
34429 test -z "$ac_c_werror_flag" ||
34430 test ! -s conftest.err
34431 } && test -s conftest.
$ac_objext; then
34432 wx_cv_func_broken_snprintf_decl
=no
34434 echo "$as_me: failed program was:" >&5
34435 sed 's/^/| /' conftest.
$ac_ext >&5
34437 wx_cv_func_broken_snprintf_decl
=yes
34441 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34445 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
34446 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6; }
34448 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
34449 cat >>confdefs.h
<<\_ACEOF
34450 #define HAVE_BROKEN_SNPRINTF_DECL 1
34456 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
34458 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
34459 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
34460 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
34461 echo $ECHO_N "(cached) $ECHO_C" >&6
34464 if test "$cross_compiling" = yes; then
34466 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
34467 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
34468 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
34469 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
34470 wx_cv_func_snprintf_pos_params
=no
34474 cat >conftest.
$ac_ext <<_ACEOF
34477 cat confdefs.h
>>conftest.
$ac_ext
34478 cat >>conftest.
$ac_ext <<_ACEOF
34479 /* end confdefs.h. */
34486 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
34487 if (strcmp ("2 3 1", buffer) == 0)
34493 rm -f conftest
$ac_exeext
34494 if { (ac_try
="$ac_link"
34495 case "(($ac_try" in
34496 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34497 *) ac_try_echo=$ac_try;;
34499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34500 (eval "$ac_link") 2>&5
34502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34503 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
34504 { (case "(($ac_try" in
34505 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34506 *) ac_try_echo
=$ac_try;;
34508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34509 (eval "$ac_try") 2>&5
34511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34512 (exit $ac_status); }; }; then
34513 wx_cv_func_snprintf_pos_params
=no
34515 echo "$as_me: program exited with status $ac_status" >&5
34516 echo "$as_me: failed program was:" >&5
34517 sed 's/^/| /' conftest.
$ac_ext >&5
34519 ( exit $ac_status )
34520 wx_cv_func_snprintf_pos_params
=yes
34522 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
34529 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
34530 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
34532 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
34533 cat >>confdefs.h
<<\_ACEOF
34534 #define HAVE_UNIX98_PRINTF 1
34541 if test "$wxUSE_UNICODE" = yes; then
34544 for ac_func
in swprintf
34546 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34547 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34548 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34549 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34550 echo $ECHO_N "(cached) $ECHO_C" >&6
34552 cat >conftest.
$ac_ext <<_ACEOF
34555 cat confdefs.h
>>conftest.
$ac_ext
34556 cat >>conftest.
$ac_ext <<_ACEOF
34557 /* end confdefs.h. */
34558 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34559 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34560 #define $ac_func innocuous_$ac_func
34562 /* System header to define __stub macros and hopefully few prototypes,
34563 which can conflict with char $ac_func (); below.
34564 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34565 <limits.h> exists even on freestanding compilers. */
34568 # include <limits.h>
34570 # include <assert.h>
34575 /* Override any GCC internal prototype to avoid an error.
34576 Use char because int might match the return type of a GCC
34577 builtin and then its argument prototype would still apply. */
34582 /* The GNU C library defines this for functions which it implements
34583 to always fail with ENOSYS. Some functions are actually named
34584 something starting with __ and the normal name is an alias. */
34585 #if defined __stub_$ac_func || defined __stub___$ac_func
34592 return $ac_func ();
34597 rm -f conftest.
$ac_objext conftest
$ac_exeext
34598 if { (ac_try
="$ac_link"
34599 case "(($ac_try" in
34600 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34601 *) ac_try_echo=$ac_try;;
34603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34604 (eval "$ac_link") 2>conftest.er1
34606 grep -v '^ *+' conftest.er1 >conftest.err
34608 cat conftest.err >&5
34609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34610 (exit $ac_status); } && {
34611 test -z "$ac_c_werror_flag" ||
34612 test ! -s conftest.err
34613 } && test -s conftest$ac_exeext &&
34614 $as_test_x conftest$ac_exeext; then
34615 eval "$as_ac_var=yes"
34617 echo "$as_me: failed program was:" >&5
34618 sed 's/^/| /' conftest.$ac_ext >&5
34620 eval "$as_ac_var=no"
34623 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34624 conftest$ac_exeext conftest.$ac_ext
34626 ac_res=`eval echo '${'$as_ac_var'}'`
34627 { echo "$as_me:$LINENO: result: $ac_res" >&5
34628 echo "${ECHO_T}$ac_res" >&6; }
34629 if test `eval echo '${'$as_ac_var'}'` = yes; then
34630 cat >>confdefs.h <<_ACEOF
34631 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34638 if test "$ac_cv_func_swprintf" = "yes"; then
34639 { echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
34640 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6; }
34641 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
34642 echo $ECHO_N "(cached) $ECHO_C" >&6
34645 cat >conftest.$ac_ext <<_ACEOF
34648 cat confdefs.h >>conftest.$ac_ext
34649 cat >>conftest.$ac_ext <<_ACEOF
34650 /* end confdefs.h. */
34653 #include <stdarg.h>
34661 const wchar_t *fmt = L"test";
34662 swprintf(buf, 10u, fmt);
34668 rm -f conftest.$ac_objext
34669 if { (ac_try="$ac_compile"
34670 case "(($ac_try" in
34671 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34672 *) ac_try_echo
=$ac_try;;
34674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34675 (eval "$ac_compile") 2>conftest.er1
34677 grep -v '^ *+' conftest.er1
>conftest.err
34679 cat conftest.err
>&5
34680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34681 (exit $ac_status); } && {
34682 test -z "$ac_c_werror_flag" ||
34683 test ! -s conftest.err
34684 } && test -s conftest.
$ac_objext; then
34685 wx_cv_func_broken_swprintf_decl
=no
34687 echo "$as_me: failed program was:" >&5
34688 sed 's/^/| /' conftest.
$ac_ext >&5
34690 wx_cv_func_broken_swprintf_decl
=yes
34694 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34698 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
34699 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6; }
34701 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
34702 cat >>confdefs.h
<<\_ACEOF
34703 #define HAVE_BROKEN_SWPRINTF_DECL 1
34709 wchar_headers
="#include <stdio.h>
34710 #include <wchar.h>"
34713 { echo "$as_me:$LINENO: checking for widec.h" >&5
34714 echo $ECHO_N "checking for widec.h... $ECHO_C" >&6; }
34715 if test "${ac_cv_header_widec_h+set}" = set; then
34716 echo $ECHO_N "(cached) $ECHO_C" >&6
34718 cat >conftest.
$ac_ext <<_ACEOF
34721 cat confdefs.h
>>conftest.
$ac_ext
34722 cat >>conftest.
$ac_ext <<_ACEOF
34723 /* end confdefs.h. */
34724 $ac_includes_default
34728 rm -f conftest.
$ac_objext
34729 if { (ac_try
="$ac_compile"
34730 case "(($ac_try" in
34731 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34732 *) ac_try_echo=$ac_try;;
34734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34735 (eval "$ac_compile") 2>conftest.er1
34737 grep -v '^ *+' conftest.er1 >conftest.err
34739 cat conftest.err >&5
34740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34741 (exit $ac_status); } && {
34742 test -z "$ac_c_werror_flag" ||
34743 test ! -s conftest.err
34744 } && test -s conftest.$ac_objext; then
34745 ac_cv_header_widec_h=yes
34747 echo "$as_me: failed program was:" >&5
34748 sed 's/^/| /' conftest.$ac_ext >&5
34750 ac_cv_header_widec_h=no
34753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34755 { echo "$as_me:$LINENO: result: $ac_cv_header_widec_h" >&5
34756 echo "${ECHO_T}$ac_cv_header_widec_h" >&6; }
34759 if test "$ac_cv_header_widec_h" = "yes"; then
34760 wchar_headers="$wchar_headers
34761 #include <widec.h>"
34766 for wx_func in wputc wputchar putws fputws wprintf vswprintf
34768 { echo "$as_me:$LINENO: checking for $wx_func" >&5
34769 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
34770 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
34771 echo $ECHO_N "(cached) $ECHO_C" >&6
34774 cat >conftest.$ac_ext <<_ACEOF
34778 cat confdefs.h >>conftest.$ac_ext
34779 cat >>conftest.$ac_ext <<_ACEOF
34780 /* end confdefs.h. */
34783 $ac_includes_default
34799 rm -f conftest.$ac_objext conftest$ac_exeext
34800 if { (ac_try="$ac_link"
34801 case "(($ac_try" in
34802 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34803 *) ac_try_echo
=$ac_try;;
34805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34806 (eval "$ac_link") 2>conftest.er1
34808 grep -v '^ *+' conftest.er1
>conftest.err
34810 cat conftest.err
>&5
34811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34812 (exit $ac_status); } && {
34813 test -z "$ac_c_werror_flag" ||
34814 test ! -s conftest.err
34815 } && test -s conftest
$ac_exeext &&
34816 $as_test_x conftest
$ac_exeext; then
34817 eval wx_cv_func_
$wx_func=yes
34819 echo "$as_me: failed program was:" >&5
34820 sed 's/^/| /' conftest.
$ac_ext >&5
34822 eval wx_cv_func_
$wx_func=no
34825 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34826 conftest
$ac_exeext conftest.
$ac_ext
34829 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
34830 { echo "$as_me:$LINENO: result: $ac_res" >&5
34831 echo "${ECHO_T}$ac_res" >&6; }
34833 if eval test \
$wx_cv_func_$wx_func = yes
34835 cat >>confdefs.h
<<_ACEOF
34836 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
34847 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
34848 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
34849 cat >conftest.
$ac_ext <<_ACEOF
34852 cat confdefs.h
>>conftest.
$ac_ext
34853 cat >>conftest.
$ac_ext <<_ACEOF
34854 /* end confdefs.h. */
34864 rm -f conftest.
$ac_objext
34865 if { (ac_try
="$ac_compile"
34866 case "(($ac_try" in
34867 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34868 *) ac_try_echo=$ac_try;;
34870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34871 (eval "$ac_compile") 2>conftest.er1
34873 grep -v '^ *+' conftest.er1 >conftest.err
34875 cat conftest.err >&5
34876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34877 (exit $ac_status); } && {
34878 test -z "$ac_c_werror_flag" ||
34879 test ! -s conftest.err
34880 } && test -s conftest.$ac_objext; then
34881 { echo "$as_me:$LINENO: result: yes" >&5
34882 echo "${ECHO_T}yes" >&6; }
34883 cat >>confdefs.h <<\_ACEOF
34884 #define HAVE__VSNWPRINTF 1
34888 echo "$as_me: failed program was:" >&5
34889 sed 's/^/| /' conftest.$ac_ext >&5
34891 { echo "$as_me:$LINENO: result: no" >&5
34892 echo "${ECHO_T}no" >&6; }
34895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
34898 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
34900 for wx_func in fnmatch
34902 { echo "$as_me:$LINENO: checking for $wx_func" >&5
34903 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
34904 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
34905 echo $ECHO_N "(cached) $ECHO_C" >&6
34908 cat >conftest.$ac_ext <<_ACEOF
34912 cat confdefs.h >>conftest.$ac_ext
34913 cat >>conftest.$ac_ext <<_ACEOF
34914 /* end confdefs.h. */
34916 #include <fnmatch.h>
34917 $ac_includes_default
34933 rm -f conftest.$ac_objext conftest$ac_exeext
34934 if { (ac_try="$ac_link"
34935 case "(($ac_try" in
34936 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34937 *) ac_try_echo
=$ac_try;;
34939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34940 (eval "$ac_link") 2>conftest.er1
34942 grep -v '^ *+' conftest.er1
>conftest.err
34944 cat conftest.err
>&5
34945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34946 (exit $ac_status); } && {
34947 test -z "$ac_c_werror_flag" ||
34948 test ! -s conftest.err
34949 } && test -s conftest
$ac_exeext &&
34950 $as_test_x conftest
$ac_exeext; then
34951 eval wx_cv_func_
$wx_func=yes
34953 echo "$as_me: failed program was:" >&5
34954 sed 's/^/| /' conftest.
$ac_ext >&5
34956 eval wx_cv_func_
$wx_func=no
34959 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34960 conftest
$ac_exeext conftest.
$ac_ext
34963 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
34964 { echo "$as_me:$LINENO: result: $ac_res" >&5
34965 echo "${ECHO_T}$ac_res" >&6; }
34967 if eval test \
$wx_cv_func_$wx_func = yes
34969 cat >>confdefs.h
<<_ACEOF
34970 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
34982 if test "$wxUSE_FILE" = "yes"; then
34984 for wx_func
in fsync
34986 { echo "$as_me:$LINENO: checking for $wx_func" >&5
34987 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
34988 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
34989 echo $ECHO_N "(cached) $ECHO_C" >&6
34992 cat >conftest.
$ac_ext <<_ACEOF
34996 cat confdefs.h
>>conftest.
$ac_ext
34997 cat >>conftest.
$ac_ext <<_ACEOF
34998 /* end confdefs.h. */
35001 $ac_includes_default
35017 rm -f conftest.
$ac_objext conftest
$ac_exeext
35018 if { (ac_try
="$ac_link"
35019 case "(($ac_try" in
35020 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35021 *) ac_try_echo=$ac_try;;
35023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35024 (eval "$ac_link") 2>conftest.er1
35026 grep -v '^ *+' conftest.er1 >conftest.err
35028 cat conftest.err >&5
35029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35030 (exit $ac_status); } && {
35031 test -z "$ac_c_werror_flag" ||
35032 test ! -s conftest.err
35033 } && test -s conftest$ac_exeext &&
35034 $as_test_x conftest$ac_exeext; then
35035 eval wx_cv_func_$wx_func=yes
35037 echo "$as_me: failed program was:" >&5
35038 sed 's/^/| /' conftest.$ac_ext >&5
35040 eval wx_cv_func_$wx_func=no
35043 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35044 conftest$ac_exeext conftest.$ac_ext
35047 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35048 { echo "$as_me:$LINENO: result: $ac_res" >&5
35049 echo "${ECHO_T}$ac_res" >&6; }
35051 if eval test \$wx_cv_func_$wx_func = yes
35053 cat >>confdefs.h <<_ACEOF
35054 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35067 for wx_func in round
35069 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35070 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35071 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35072 echo $ECHO_N "(cached) $ECHO_C" >&6
35075 cat >conftest.$ac_ext <<_ACEOF
35079 cat confdefs.h >>conftest.$ac_ext
35080 cat >>conftest.$ac_ext <<_ACEOF
35081 /* end confdefs.h. */
35084 $ac_includes_default
35100 rm -f conftest.$ac_objext conftest$ac_exeext
35101 if { (ac_try="$ac_link"
35102 case "(($ac_try" in
35103 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35104 *) ac_try_echo
=$ac_try;;
35106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35107 (eval "$ac_link") 2>conftest.er1
35109 grep -v '^ *+' conftest.er1
>conftest.err
35111 cat conftest.err
>&5
35112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35113 (exit $ac_status); } && {
35114 test -z "$ac_c_werror_flag" ||
35115 test ! -s conftest.err
35116 } && test -s conftest
$ac_exeext &&
35117 $as_test_x conftest
$ac_exeext; then
35118 eval wx_cv_func_
$wx_func=yes
35120 echo "$as_me: failed program was:" >&5
35121 sed 's/^/| /' conftest.
$ac_ext >&5
35123 eval wx_cv_func_
$wx_func=no
35126 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35127 conftest
$ac_exeext conftest.
$ac_ext
35130 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
35131 { echo "$as_me:$LINENO: result: $ac_res" >&5
35132 echo "${ECHO_T}$ac_res" >&6; }
35134 if eval test \
$wx_cv_func_$wx_func = yes
35136 cat >>confdefs.h
<<_ACEOF
35137 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35148 if test "$TOOLKIT" != "MSW"; then
35154 # Check whether --with-libiconv-prefix was given.
35155 if test "${with_libiconv_prefix+set}" = set; then
35156 withval
=$with_libiconv_prefix;
35157 for dir
in `echo "$withval" | tr : ' '`; do
35158 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
35159 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
35165 { echo "$as_me:$LINENO: checking for iconv" >&5
35166 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
35167 if test "${am_cv_func_iconv+set}" = set; then
35168 echo $ECHO_N "(cached) $ECHO_C" >&6
35171 am_cv_func_iconv
="no, consider installing GNU libiconv"
35173 cat >conftest.
$ac_ext <<_ACEOF
35176 cat confdefs.h
>>conftest.
$ac_ext
35177 cat >>conftest.
$ac_ext <<_ACEOF
35178 /* end confdefs.h. */
35179 #include <stdlib.h>
35184 iconv_t cd = iconv_open("","");
35185 iconv(cd,NULL,NULL,NULL,NULL);
35191 rm -f conftest.
$ac_objext conftest
$ac_exeext
35192 if { (ac_try
="$ac_link"
35193 case "(($ac_try" in
35194 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35195 *) ac_try_echo=$ac_try;;
35197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35198 (eval "$ac_link") 2>conftest.er1
35200 grep -v '^ *+' conftest.er1 >conftest.err
35202 cat conftest.err >&5
35203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35204 (exit $ac_status); } && {
35205 test -z "$ac_c_werror_flag" ||
35206 test ! -s conftest.err
35207 } && test -s conftest$ac_exeext &&
35208 $as_test_x conftest$ac_exeext; then
35209 am_cv_func_iconv=yes
35211 echo "$as_me: failed program was:" >&5
35212 sed 's/^/| /' conftest.$ac_ext >&5
35217 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35218 conftest$ac_exeext conftest.$ac_ext
35219 if test "$am_cv_func_iconv" != yes; then
35220 am_save_LIBS="$LIBS"
35221 LIBS="$LIBS -liconv"
35222 cat >conftest.$ac_ext <<_ACEOF
35225 cat confdefs.h >>conftest.$ac_ext
35226 cat >>conftest.$ac_ext <<_ACEOF
35227 /* end confdefs.h. */
35228 #include <stdlib.h>
35233 iconv_t cd = iconv_open("","");
35234 iconv(cd,NULL,NULL,NULL,NULL);
35240 rm -f conftest.$ac_objext conftest$ac_exeext
35241 if { (ac_try="$ac_link"
35242 case "(($ac_try" in
35243 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35244 *) ac_try_echo
=$ac_try;;
35246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35247 (eval "$ac_link") 2>conftest.er1
35249 grep -v '^ *+' conftest.er1
>conftest.err
35251 cat conftest.err
>&5
35252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35253 (exit $ac_status); } && {
35254 test -z "$ac_c_werror_flag" ||
35255 test ! -s conftest.err
35256 } && test -s conftest
$ac_exeext &&
35257 $as_test_x conftest
$ac_exeext; then
35258 am_cv_lib_iconv
=yes
35259 am_cv_func_iconv
=yes
35261 echo "$as_me: failed program was:" >&5
35262 sed 's/^/| /' conftest.
$ac_ext >&5
35267 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35268 conftest
$ac_exeext conftest.
$ac_ext
35269 LIBS
="$am_save_LIBS"
35273 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
35274 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
35275 if test "$am_cv_func_iconv" = yes; then
35277 cat >>confdefs.h
<<\_ACEOF
35278 #define HAVE_ICONV 1
35281 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
35282 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
35283 if test "${wx_cv_func_iconv_const+set}" = set; then
35284 echo $ECHO_N "(cached) $ECHO_C" >&6
35286 cat >conftest.
$ac_ext <<_ACEOF
35289 cat confdefs.h
>>conftest.
$ac_ext
35290 cat >>conftest.
$ac_ext <<_ACEOF
35291 /* end confdefs.h. */
35293 #include <stdlib.h>
35299 #if defined(__STDC__) || defined(__cplusplus)
35300 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
35313 rm -f conftest.
$ac_objext
35314 if { (ac_try
="$ac_compile"
35315 case "(($ac_try" in
35316 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35317 *) ac_try_echo=$ac_try;;
35319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35320 (eval "$ac_compile") 2>conftest.er1
35322 grep -v '^ *+' conftest.er1 >conftest.err
35324 cat conftest.err >&5
35325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35326 (exit $ac_status); } && {
35327 test -z "$ac_c_werror_flag" ||
35328 test ! -s conftest.err
35329 } && test -s conftest.$ac_objext; then
35330 wx_cv_func_iconv_const="no"
35332 echo "$as_me: failed program was:" >&5
35333 sed 's/^/| /' conftest.$ac_ext >&5
35335 wx_cv_func_iconv_const="yes"
35339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35342 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
35343 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
35346 if test "x$wx_cv_func_iconv_const" = "xyes"; then
35347 iconv_const="const"
35351 cat >>confdefs.h <<_ACEOF
35352 #define ICONV_CONST $iconv_const
35357 if test "$am_cv_lib_iconv" = yes; then
35362 LIBS="$LIBICONV $LIBS"
35364 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35366 for ac_func in sigaction
35368 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35369 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35370 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35371 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35372 echo $ECHO_N "(cached) $ECHO_C" >&6
35374 cat >conftest.$ac_ext <<_ACEOF
35377 cat confdefs.h >>conftest.$ac_ext
35378 cat >>conftest.$ac_ext <<_ACEOF
35379 /* end confdefs.h. */
35380 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35381 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35382 #define $ac_func innocuous_$ac_func
35384 /* System header to define __stub macros and hopefully few prototypes,
35385 which can conflict with char $ac_func (); below.
35386 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35387 <limits.h> exists even on freestanding compilers. */
35390 # include <limits.h>
35392 # include <assert.h>
35397 /* Override any GCC internal prototype to avoid an error.
35398 Use char because int might match the return type of a GCC
35399 builtin and then its argument prototype would still apply. */
35404 /* The GNU C library defines this for functions which it implements
35405 to always fail with ENOSYS. Some functions are actually named
35406 something starting with __ and the normal name is an alias. */
35407 #if defined __stub_$ac_func || defined __stub___$ac_func
35414 return $ac_func ();
35419 rm -f conftest.$ac_objext conftest$ac_exeext
35420 if { (ac_try="$ac_link"
35421 case "(($ac_try" in
35422 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35423 *) ac_try_echo
=$ac_try;;
35425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35426 (eval "$ac_link") 2>conftest.er1
35428 grep -v '^ *+' conftest.er1
>conftest.err
35430 cat conftest.err
>&5
35431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35432 (exit $ac_status); } && {
35433 test -z "$ac_c_werror_flag" ||
35434 test ! -s conftest.err
35435 } && test -s conftest
$ac_exeext &&
35436 $as_test_x conftest
$ac_exeext; then
35437 eval "$as_ac_var=yes"
35439 echo "$as_me: failed program was:" >&5
35440 sed 's/^/| /' conftest.
$ac_ext >&5
35442 eval "$as_ac_var=no"
35445 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35446 conftest
$ac_exeext conftest.
$ac_ext
35448 ac_res
=`eval echo '${'$as_ac_var'}'`
35449 { echo "$as_me:$LINENO: result: $ac_res" >&5
35450 echo "${ECHO_T}$ac_res" >&6; }
35451 if test `eval echo '${'$as_ac_var'}'` = yes; then
35452 cat >>confdefs.h
<<_ACEOF
35453 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35460 if test "$ac_cv_func_sigaction" = "no"; then
35461 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
35462 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
35463 wxUSE_ON_FATAL_EXCEPTION
=no
35466 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35467 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
35468 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
35469 if test "${wx_cv_type_sa_handler+set}" = set; then
35470 echo $ECHO_N "(cached) $ECHO_C" >&6
35474 ac_cpp
='$CXXCPP $CPPFLAGS'
35475 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35476 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35477 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35479 cat >conftest.
$ac_ext <<_ACEOF
35482 cat confdefs.h
>>conftest.
$ac_ext
35483 cat >>conftest.
$ac_ext <<_ACEOF
35484 /* end confdefs.h. */
35485 #include <signal.h>
35490 extern void testSigHandler(int);
35492 struct sigaction sa;
35493 sa.sa_handler = testSigHandler;
35499 rm -f conftest.
$ac_objext
35500 if { (ac_try
="$ac_compile"
35501 case "(($ac_try" in
35502 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35503 *) ac_try_echo=$ac_try;;
35505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35506 (eval "$ac_compile") 2>conftest.er1
35508 grep -v '^ *+' conftest.er1 >conftest.err
35510 cat conftest.err >&5
35511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35512 (exit $ac_status); } && {
35513 test -z "$ac_cxx_werror_flag" ||
35514 test ! -s conftest.err
35515 } && test -s conftest.$ac_objext; then
35517 wx_cv_type_sa_handler=int
35520 echo "$as_me: failed program was:" >&5
35521 sed 's/^/| /' conftest.$ac_ext >&5
35524 wx_cv_type_sa_handler=void
35528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35530 ac_cpp='$CPP $CPPFLAGS'
35531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35537 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
35538 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
35540 cat >>confdefs.h <<_ACEOF
35541 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
35547 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35548 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
35549 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
35550 if test "${wx_cv_func_backtrace+set}" = set; then
35551 echo $ECHO_N "(cached) $ECHO_C" >&6
35555 ac_cpp='$CXXCPP $CPPFLAGS'
35556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35560 cat >conftest.$ac_ext <<_ACEOF
35563 cat confdefs.h >>conftest.$ac_ext
35564 cat >>conftest.$ac_ext <<_ACEOF
35565 /* end confdefs.h. */
35566 #include <execinfo.h>
35574 backtrace(trace, 1);
35575 messages = backtrace_symbols(trace, 1);
35581 rm -f conftest.$ac_objext
35582 if { (ac_try="$ac_compile"
35583 case "(($ac_try" in
35584 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35585 *) ac_try_echo
=$ac_try;;
35587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35588 (eval "$ac_compile") 2>conftest.er1
35590 grep -v '^ *+' conftest.er1
>conftest.err
35592 cat conftest.err
>&5
35593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35594 (exit $ac_status); } && {
35595 test -z "$ac_cxx_werror_flag" ||
35596 test ! -s conftest.err
35597 } && test -s conftest.
$ac_objext; then
35598 wx_cv_func_backtrace
=yes
35600 echo "$as_me: failed program was:" >&5
35601 sed 's/^/| /' conftest.
$ac_ext >&5
35603 wx_cv_func_backtrace
=no
35607 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35609 ac_cpp
='$CPP $CPPFLAGS'
35610 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35611 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35612 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35617 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
35618 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
35621 if test "$wx_cv_func_backtrace" = "no"; then
35622 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
35623 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
35624 wxUSE_STACKWALKER
=no
35626 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
35627 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
35628 if test "${wx_cv_func_cxa_demangle+set}" = set; then
35629 echo $ECHO_N "(cached) $ECHO_C" >&6
35633 ac_cpp
='$CXXCPP $CPPFLAGS'
35634 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35635 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35636 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35638 cat >conftest.
$ac_ext <<_ACEOF
35641 cat confdefs.h
>>conftest.
$ac_ext
35642 cat >>conftest.
$ac_ext <<_ACEOF
35643 /* end confdefs.h. */
35644 #include <cxxabi.h>
35650 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
35656 rm -f conftest.
$ac_objext conftest
$ac_exeext
35657 if { (ac_try
="$ac_link"
35658 case "(($ac_try" in
35659 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35660 *) ac_try_echo=$ac_try;;
35662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35663 (eval "$ac_link") 2>conftest.er1
35665 grep -v '^ *+' conftest.er1 >conftest.err
35667 cat conftest.err >&5
35668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35669 (exit $ac_status); } && {
35670 test -z "$ac_cxx_werror_flag" ||
35671 test ! -s conftest.err
35672 } && test -s conftest$ac_exeext &&
35673 $as_test_x conftest$ac_exeext; then
35674 wx_cv_func_cxa_demangle=yes
35676 echo "$as_me: failed program was:" >&5
35677 sed 's/^/| /' conftest.$ac_ext >&5
35679 wx_cv_func_cxa_demangle=no
35683 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35684 conftest$ac_exeext conftest.$ac_ext
35686 ac_cpp='$CPP $CPPFLAGS'
35687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35694 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
35695 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
35697 if test "$wx_cv_func_cxa_demangle" = "yes"; then
35698 cat >>confdefs.h <<\_ACEOF
35699 #define HAVE_CXA_DEMANGLE 1
35706 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
35707 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
35708 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
35709 wxUSE_STACKWALKER=no
35715 for ac_func in mkstemp mktemp
35717 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35718 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35719 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35720 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35721 echo $ECHO_N "(cached) $ECHO_C" >&6
35723 cat >conftest.$ac_ext <<_ACEOF
35726 cat confdefs.h >>conftest.$ac_ext
35727 cat >>conftest.$ac_ext <<_ACEOF
35728 /* end confdefs.h. */
35729 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35730 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35731 #define $ac_func innocuous_$ac_func
35733 /* System header to define __stub macros and hopefully few prototypes,
35734 which can conflict with char $ac_func (); below.
35735 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35736 <limits.h> exists even on freestanding compilers. */
35739 # include <limits.h>
35741 # include <assert.h>
35746 /* Override any GCC internal prototype to avoid an error.
35747 Use char because int might match the return type of a GCC
35748 builtin and then its argument prototype would still apply. */
35753 /* The GNU C library defines this for functions which it implements
35754 to always fail with ENOSYS. Some functions are actually named
35755 something starting with __ and the normal name is an alias. */
35756 #if defined __stub_$ac_func || defined __stub___$ac_func
35763 return $ac_func ();
35768 rm -f conftest.$ac_objext conftest$ac_exeext
35769 if { (ac_try="$ac_link"
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_link") 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_c_werror_flag" ||
35783 test ! -s conftest.err
35784 } && test -s conftest
$ac_exeext &&
35785 $as_test_x conftest
$ac_exeext; then
35786 eval "$as_ac_var=yes"
35788 echo "$as_me: failed program was:" >&5
35789 sed 's/^/| /' conftest.
$ac_ext >&5
35791 eval "$as_ac_var=no"
35794 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35795 conftest
$ac_exeext conftest.
$ac_ext
35797 ac_res
=`eval echo '${'$as_ac_var'}'`
35798 { echo "$as_me:$LINENO: result: $ac_res" >&5
35799 echo "${ECHO_T}$ac_res" >&6; }
35800 if test `eval echo '${'$as_ac_var'}'` = yes; then
35801 cat >>confdefs.h
<<_ACEOF
35802 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35809 { echo "$as_me:$LINENO: checking for statfs" >&5
35810 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
35811 if test "${wx_cv_func_statfs+set}" = set; then
35812 echo $ECHO_N "(cached) $ECHO_C" >&6
35814 cat >conftest.
$ac_ext <<_ACEOF
35817 cat confdefs.h
>>conftest.
$ac_ext
35818 cat >>conftest.
$ac_ext <<_ACEOF
35819 /* end confdefs.h. */
35821 #if defined(__BSD__)
35822 #include <sys/param.h>
35823 #include <sys/mount.h>
35825 #include <sys/vfs.h>
35843 rm -f conftest.
$ac_objext
35844 if { (ac_try
="$ac_compile"
35845 case "(($ac_try" in
35846 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35847 *) ac_try_echo=$ac_try;;
35849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35850 (eval "$ac_compile") 2>conftest.er1
35852 grep -v '^ *+' conftest.er1 >conftest.err
35854 cat conftest.err >&5
35855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35856 (exit $ac_status); } && {
35857 test -z "$ac_c_werror_flag" ||
35858 test ! -s conftest.err
35859 } && test -s conftest.$ac_objext; then
35860 wx_cv_func_statfs=yes
35862 echo "$as_me: failed program was:" >&5
35863 sed 's/^/| /' conftest.$ac_ext >&5
35865 wx_cv_func_statfs=no
35869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35872 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
35873 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
35875 if test "$wx_cv_func_statfs" = "yes"; then
35876 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
35877 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
35878 if test "${wx_cv_func_statfs_decl+set}" = set; then
35879 echo $ECHO_N "(cached) $ECHO_C" >&6
35882 ac_cpp='$CXXCPP $CPPFLAGS'
35883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35887 cat >conftest.$ac_ext <<_ACEOF
35890 cat confdefs.h >>conftest.$ac_ext
35891 cat >>conftest.$ac_ext <<_ACEOF
35892 /* end confdefs.h. */
35894 #if defined(__BSD__)
35895 #include <sys/param.h>
35896 #include <sys/mount.h>
35898 #include <sys/vfs.h>
35912 rm -f conftest.$ac_objext
35913 if { (ac_try="$ac_compile"
35914 case "(($ac_try" in
35915 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35916 *) ac_try_echo
=$ac_try;;
35918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35919 (eval "$ac_compile") 2>conftest.er1
35921 grep -v '^ *+' conftest.er1
>conftest.err
35923 cat conftest.err
>&5
35924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35925 (exit $ac_status); } && {
35926 test -z "$ac_cxx_werror_flag" ||
35927 test ! -s conftest.err
35928 } && test -s conftest.
$ac_objext; then
35929 wx_cv_func_statfs_decl
=yes
35931 echo "$as_me: failed program was:" >&5
35932 sed 's/^/| /' conftest.
$ac_ext >&5
35934 wx_cv_func_statfs_decl
=no
35938 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35940 ac_cpp
='$CPP $CPPFLAGS'
35941 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35942 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35943 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35947 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
35948 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
35950 if test "$wx_cv_func_statfs_decl" = "yes"; then
35951 cat >>confdefs.h
<<\_ACEOF
35952 #define HAVE_STATFS_DECL 1
35957 wx_cv_type_statvfs_t
="struct statfs"
35958 cat >>confdefs.h
<<\_ACEOF
35959 #define HAVE_STATFS 1
35963 { echo "$as_me:$LINENO: checking for statvfs" >&5
35964 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
35965 if test "${wx_cv_func_statvfs+set}" = set; then
35966 echo $ECHO_N "(cached) $ECHO_C" >&6
35968 cat >conftest.
$ac_ext <<_ACEOF
35971 cat confdefs.h
>>conftest.
$ac_ext
35972 cat >>conftest.
$ac_ext <<_ACEOF
35973 /* end confdefs.h. */
35975 #include <stddef.h>
35976 #include <sys/statvfs.h>
35982 statvfs("/", NULL);
35988 rm -f conftest.
$ac_objext
35989 if { (ac_try
="$ac_compile"
35990 case "(($ac_try" in
35991 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35992 *) ac_try_echo=$ac_try;;
35994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35995 (eval "$ac_compile") 2>conftest.er1
35997 grep -v '^ *+' conftest.er1 >conftest.err
35999 cat conftest.err >&5
36000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36001 (exit $ac_status); } && {
36002 test -z "$ac_c_werror_flag" ||
36003 test ! -s conftest.err
36004 } && test -s conftest.$ac_objext; then
36005 wx_cv_func_statvfs=yes
36007 echo "$as_me: failed program was:" >&5
36008 sed 's/^/| /' conftest.$ac_ext >&5
36010 wx_cv_func_statvfs=no
36014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36017 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36018 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
36020 if test "$wx_cv_func_statvfs" = "yes"; then
36021 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36022 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
36023 if test "${wx_cv_type_statvfs_t+set}" = set; then
36024 echo $ECHO_N "(cached) $ECHO_C" >&6
36027 ac_cpp='$CXXCPP $CPPFLAGS'
36028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36032 cat >conftest.$ac_ext <<_ACEOF
36035 cat confdefs.h >>conftest.$ac_ext
36036 cat >>conftest.$ac_ext <<_ACEOF
36037 /* end confdefs.h. */
36039 #include <sys/statvfs.h>
36056 rm -f conftest.$ac_objext
36057 if { (ac_try="$ac_compile"
36058 case "(($ac_try" in
36059 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36060 *) ac_try_echo
=$ac_try;;
36062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36063 (eval "$ac_compile") 2>conftest.er1
36065 grep -v '^ *+' conftest.er1
>conftest.err
36067 cat conftest.err
>&5
36068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36069 (exit $ac_status); } && {
36070 test -z "$ac_cxx_werror_flag" ||
36071 test ! -s conftest.err
36072 } && test -s conftest.
$ac_objext; then
36073 wx_cv_type_statvfs_t
=statvfs_t
36075 echo "$as_me: failed program was:" >&5
36076 sed 's/^/| /' conftest.
$ac_ext >&5
36079 cat >conftest.
$ac_ext <<_ACEOF
36082 cat confdefs.h
>>conftest.
$ac_ext
36083 cat >>conftest.
$ac_ext <<_ACEOF
36084 /* end confdefs.h. */
36086 #include <sys/statvfs.h>
36103 rm -f conftest.
$ac_objext
36104 if { (ac_try
="$ac_compile"
36105 case "(($ac_try" in
36106 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36107 *) ac_try_echo=$ac_try;;
36109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36110 (eval "$ac_compile") 2>conftest.er1
36112 grep -v '^ *+' conftest.er1 >conftest.err
36114 cat conftest.err >&5
36115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36116 (exit $ac_status); } && {
36117 test -z "$ac_cxx_werror_flag" ||
36118 test ! -s conftest.err
36119 } && test -s conftest.$ac_objext; then
36120 wx_cv_type_statvfs_t="struct statvfs"
36122 echo "$as_me: failed program was:" >&5
36123 sed 's/^/| /' conftest.$ac_ext >&5
36125 wx_cv_type_statvfs_t="unknown"
36129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36136 ac_cpp='$CPP $CPPFLAGS'
36137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36143 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
36144 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
36146 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36147 cat >>confdefs.h <<\_ACEOF
36148 #define HAVE_STATVFS 1
36153 wx_cv_type_statvfs_t="unknown"
36157 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36158 cat >>confdefs.h <<_ACEOF
36159 #define WX_STATFS_T $wx_cv_type_statvfs_t
36163 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
36164 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
36167 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36170 for ac_func in fcntl flock
36172 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36173 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36174 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36175 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36176 echo $ECHO_N "(cached) $ECHO_C" >&6
36178 cat >conftest.$ac_ext <<_ACEOF
36181 cat confdefs.h >>conftest.$ac_ext
36182 cat >>conftest.$ac_ext <<_ACEOF
36183 /* end confdefs.h. */
36184 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36185 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36186 #define $ac_func innocuous_$ac_func
36188 /* System header to define __stub macros and hopefully few prototypes,
36189 which can conflict with char $ac_func (); below.
36190 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36191 <limits.h> exists even on freestanding compilers. */
36194 # include <limits.h>
36196 # include <assert.h>
36201 /* Override any GCC internal prototype to avoid an error.
36202 Use char because int might match the return type of a GCC
36203 builtin and then its argument prototype would still apply. */
36208 /* The GNU C library defines this for functions which it implements
36209 to always fail with ENOSYS. Some functions are actually named
36210 something starting with __ and the normal name is an alias. */
36211 #if defined __stub_$ac_func || defined __stub___$ac_func
36218 return $ac_func ();
36223 rm -f conftest.$ac_objext conftest$ac_exeext
36224 if { (ac_try="$ac_link"
36225 case "(($ac_try" in
36226 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36227 *) ac_try_echo
=$ac_try;;
36229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36230 (eval "$ac_link") 2>conftest.er1
36232 grep -v '^ *+' conftest.er1
>conftest.err
36234 cat conftest.err
>&5
36235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36236 (exit $ac_status); } && {
36237 test -z "$ac_c_werror_flag" ||
36238 test ! -s conftest.err
36239 } && test -s conftest
$ac_exeext &&
36240 $as_test_x conftest
$ac_exeext; then
36241 eval "$as_ac_var=yes"
36243 echo "$as_me: failed program was:" >&5
36244 sed 's/^/| /' conftest.
$ac_ext >&5
36246 eval "$as_ac_var=no"
36249 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36250 conftest
$ac_exeext conftest.
$ac_ext
36252 ac_res
=`eval echo '${'$as_ac_var'}'`
36253 { echo "$as_me:$LINENO: result: $ac_res" >&5
36254 echo "${ECHO_T}$ac_res" >&6; }
36255 if test `eval echo '${'$as_ac_var'}'` = yes; then
36256 cat >>confdefs.h
<<_ACEOF
36257 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36264 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
36265 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
36266 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
36267 wxUSE_SNGLINST_CHECKER
=no
36272 for ac_func
in timegm
36274 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36275 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36276 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36277 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36278 echo $ECHO_N "(cached) $ECHO_C" >&6
36280 cat >conftest.
$ac_ext <<_ACEOF
36283 cat confdefs.h
>>conftest.
$ac_ext
36284 cat >>conftest.
$ac_ext <<_ACEOF
36285 /* end confdefs.h. */
36286 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36287 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36288 #define $ac_func innocuous_$ac_func
36290 /* System header to define __stub macros and hopefully few prototypes,
36291 which can conflict with char $ac_func (); below.
36292 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36293 <limits.h> exists even on freestanding compilers. */
36296 # include <limits.h>
36298 # include <assert.h>
36303 /* Override any GCC internal prototype to avoid an error.
36304 Use char because int might match the return type of a GCC
36305 builtin and then its argument prototype would still apply. */
36310 /* The GNU C library defines this for functions which it implements
36311 to always fail with ENOSYS. Some functions are actually named
36312 something starting with __ and the normal name is an alias. */
36313 #if defined __stub_$ac_func || defined __stub___$ac_func
36320 return $ac_func ();
36325 rm -f conftest.
$ac_objext conftest
$ac_exeext
36326 if { (ac_try
="$ac_link"
36327 case "(($ac_try" in
36328 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36329 *) ac_try_echo=$ac_try;;
36331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36332 (eval "$ac_link") 2>conftest.er1
36334 grep -v '^ *+' conftest.er1 >conftest.err
36336 cat conftest.err >&5
36337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36338 (exit $ac_status); } && {
36339 test -z "$ac_c_werror_flag" ||
36340 test ! -s conftest.err
36341 } && test -s conftest$ac_exeext &&
36342 $as_test_x conftest$ac_exeext; then
36343 eval "$as_ac_var=yes"
36345 echo "$as_me: failed program was:" >&5
36346 sed 's/^/| /' conftest.$ac_ext >&5
36348 eval "$as_ac_var=no"
36351 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36352 conftest$ac_exeext conftest.$ac_ext
36354 ac_res=`eval echo '${'$as_ac_var'}'`
36355 { echo "$as_me:$LINENO: result: $ac_res" >&5
36356 echo "${ECHO_T}$ac_res" >&6; }
36357 if test `eval echo '${'$as_ac_var'}'` = yes; then
36358 cat >>confdefs.h <<_ACEOF
36359 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36368 for ac_func in putenv setenv
36370 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36371 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36372 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36373 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36374 echo $ECHO_N "(cached) $ECHO_C" >&6
36376 cat >conftest.$ac_ext <<_ACEOF
36379 cat confdefs.h >>conftest.$ac_ext
36380 cat >>conftest.$ac_ext <<_ACEOF
36381 /* end confdefs.h. */
36382 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36383 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36384 #define $ac_func innocuous_$ac_func
36386 /* System header to define __stub macros and hopefully few prototypes,
36387 which can conflict with char $ac_func (); below.
36388 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36389 <limits.h> exists even on freestanding compilers. */
36392 # include <limits.h>
36394 # include <assert.h>
36399 /* Override any GCC internal prototype to avoid an error.
36400 Use char because int might match the return type of a GCC
36401 builtin and then its argument prototype would still apply. */
36406 /* The GNU C library defines this for functions which it implements
36407 to always fail with ENOSYS. Some functions are actually named
36408 something starting with __ and the normal name is an alias. */
36409 #if defined __stub_$ac_func || defined __stub___$ac_func
36416 return $ac_func ();
36421 rm -f conftest.$ac_objext conftest$ac_exeext
36422 if { (ac_try="$ac_link"
36423 case "(($ac_try" in
36424 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36425 *) ac_try_echo
=$ac_try;;
36427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36428 (eval "$ac_link") 2>conftest.er1
36430 grep -v '^ *+' conftest.er1
>conftest.err
36432 cat conftest.err
>&5
36433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36434 (exit $ac_status); } && {
36435 test -z "$ac_c_werror_flag" ||
36436 test ! -s conftest.err
36437 } && test -s conftest
$ac_exeext &&
36438 $as_test_x conftest
$ac_exeext; then
36439 eval "$as_ac_var=yes"
36441 echo "$as_me: failed program was:" >&5
36442 sed 's/^/| /' conftest.
$ac_ext >&5
36444 eval "$as_ac_var=no"
36447 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36448 conftest
$ac_exeext conftest.
$ac_ext
36450 ac_res
=`eval echo '${'$as_ac_var'}'`
36451 { echo "$as_me:$LINENO: result: $ac_res" >&5
36452 echo "${ECHO_T}$ac_res" >&6; }
36453 if test `eval echo '${'$as_ac_var'}'` = yes; then
36454 cat >>confdefs.h
<<_ACEOF
36455 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36462 HAVE_SOME_SLEEP_FUNC
=0
36463 if test "$USE_BEOS" = 1; then
36464 cat >>confdefs.h
<<\_ACEOF
36465 #define HAVE_SLEEP 1
36468 HAVE_SOME_SLEEP_FUNC
=1
36471 if test "$USE_DARWIN" = 1; then
36472 cat >>confdefs.h
<<\_ACEOF
36473 #define HAVE_USLEEP 1
36476 HAVE_SOME_SLEEP_FUNC
=1
36479 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
36482 for ac_func
in nanosleep
36484 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36485 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36486 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36487 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36488 echo $ECHO_N "(cached) $ECHO_C" >&6
36490 cat >conftest.
$ac_ext <<_ACEOF
36493 cat confdefs.h
>>conftest.
$ac_ext
36494 cat >>conftest.
$ac_ext <<_ACEOF
36495 /* end confdefs.h. */
36496 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36497 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36498 #define $ac_func innocuous_$ac_func
36500 /* System header to define __stub macros and hopefully few prototypes,
36501 which can conflict with char $ac_func (); below.
36502 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36503 <limits.h> exists even on freestanding compilers. */
36506 # include <limits.h>
36508 # include <assert.h>
36513 /* Override any GCC internal prototype to avoid an error.
36514 Use char because int might match the return type of a GCC
36515 builtin and then its argument prototype would still apply. */
36520 /* The GNU C library defines this for functions which it implements
36521 to always fail with ENOSYS. Some functions are actually named
36522 something starting with __ and the normal name is an alias. */
36523 #if defined __stub_$ac_func || defined __stub___$ac_func
36530 return $ac_func ();
36535 rm -f conftest.
$ac_objext conftest
$ac_exeext
36536 if { (ac_try
="$ac_link"
36537 case "(($ac_try" in
36538 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36539 *) ac_try_echo=$ac_try;;
36541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36542 (eval "$ac_link") 2>conftest.er1
36544 grep -v '^ *+' conftest.er1 >conftest.err
36546 cat conftest.err >&5
36547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36548 (exit $ac_status); } && {
36549 test -z "$ac_c_werror_flag" ||
36550 test ! -s conftest.err
36551 } && test -s conftest$ac_exeext &&
36552 $as_test_x conftest$ac_exeext; then
36553 eval "$as_ac_var=yes"
36555 echo "$as_me: failed program was:" >&5
36556 sed 's/^/| /' conftest.$ac_ext >&5
36558 eval "$as_ac_var=no"
36561 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36562 conftest$ac_exeext conftest.$ac_ext
36564 ac_res=`eval echo '${'$as_ac_var'}'`
36565 { echo "$as_me:$LINENO: result: $ac_res" >&5
36566 echo "${ECHO_T}$ac_res" >&6; }
36567 if test `eval echo '${'$as_ac_var'}'` = yes; then
36568 cat >>confdefs.h <<_ACEOF
36569 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36571 cat >>confdefs.h <<\_ACEOF
36572 #define HAVE_NANOSLEEP 1
36577 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
36578 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
36579 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
36580 echo $ECHO_N "(cached) $ECHO_C" >&6
36582 ac_check_lib_save_LIBS=$LIBS
36583 LIBS="-lposix4 $LIBS"
36584 cat >conftest.$ac_ext <<_ACEOF
36587 cat confdefs.h >>conftest.$ac_ext
36588 cat >>conftest.$ac_ext <<_ACEOF
36589 /* end confdefs.h. */
36591 /* Override any GCC internal prototype to avoid an error.
36592 Use char because int might match the return type of a GCC
36593 builtin and then its argument prototype would still apply. */
36601 return nanosleep ();
36606 rm -f conftest.$ac_objext conftest$ac_exeext
36607 if { (ac_try="$ac_link"
36608 case "(($ac_try" in
36609 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36610 *) ac_try_echo
=$ac_try;;
36612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36613 (eval "$ac_link") 2>conftest.er1
36615 grep -v '^ *+' conftest.er1
>conftest.err
36617 cat conftest.err
>&5
36618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36619 (exit $ac_status); } && {
36620 test -z "$ac_c_werror_flag" ||
36621 test ! -s conftest.err
36622 } && test -s conftest
$ac_exeext &&
36623 $as_test_x conftest
$ac_exeext; then
36624 ac_cv_lib_posix4_nanosleep
=yes
36626 echo "$as_me: failed program was:" >&5
36627 sed 's/^/| /' conftest.
$ac_ext >&5
36629 ac_cv_lib_posix4_nanosleep
=no
36632 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36633 conftest
$ac_exeext conftest.
$ac_ext
36634 LIBS
=$ac_check_lib_save_LIBS
36636 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
36637 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
36638 if test $ac_cv_lib_posix4_nanosleep = yes; then
36640 cat >>confdefs.h
<<\_ACEOF
36641 #define HAVE_NANOSLEEP 1
36644 POSIX4_LINK
=" -lposix4"
36649 for wx_func
in usleep
36651 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36652 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36653 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36654 echo $ECHO_N "(cached) $ECHO_C" >&6
36657 cat >conftest.
$ac_ext <<_ACEOF
36661 cat confdefs.h
>>conftest.
$ac_ext
36662 cat >>conftest.
$ac_ext <<_ACEOF
36663 /* end confdefs.h. */
36666 $ac_includes_default
36682 rm -f conftest.
$ac_objext conftest
$ac_exeext
36683 if { (ac_try
="$ac_link"
36684 case "(($ac_try" in
36685 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36686 *) ac_try_echo=$ac_try;;
36688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36689 (eval "$ac_link") 2>conftest.er1
36691 grep -v '^ *+' conftest.er1 >conftest.err
36693 cat conftest.err >&5
36694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36695 (exit $ac_status); } && {
36696 test -z "$ac_c_werror_flag" ||
36697 test ! -s conftest.err
36698 } && test -s conftest$ac_exeext &&
36699 $as_test_x conftest$ac_exeext; then
36700 eval wx_cv_func_$wx_func=yes
36702 echo "$as_me: failed program was:" >&5
36703 sed 's/^/| /' conftest.$ac_ext >&5
36705 eval wx_cv_func_$wx_func=no
36708 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36709 conftest$ac_exeext conftest.$ac_ext
36712 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36713 { echo "$as_me:$LINENO: result: $ac_res" >&5
36714 echo "${ECHO_T}$ac_res" >&6; }
36716 if eval test \$wx_cv_func_$wx_func = yes
36718 cat >>confdefs.h <<_ACEOF
36719 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36725 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
36726 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
36743 for wx_func in uname
36745 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36746 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36747 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36748 echo $ECHO_N "(cached) $ECHO_C" >&6
36751 cat >conftest.$ac_ext <<_ACEOF
36755 cat confdefs.h >>conftest.$ac_ext
36756 cat >>conftest.$ac_ext <<_ACEOF
36757 /* end confdefs.h. */
36759 #include <sys/utsname.h>
36760 $ac_includes_default
36776 rm -f conftest.$ac_objext conftest$ac_exeext
36777 if { (ac_try="$ac_link"
36778 case "(($ac_try" in
36779 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36780 *) ac_try_echo
=$ac_try;;
36782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36783 (eval "$ac_link") 2>conftest.er1
36785 grep -v '^ *+' conftest.er1
>conftest.err
36787 cat conftest.err
>&5
36788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36789 (exit $ac_status); } && {
36790 test -z "$ac_c_werror_flag" ||
36791 test ! -s conftest.err
36792 } && test -s conftest
$ac_exeext &&
36793 $as_test_x conftest
$ac_exeext; then
36794 eval wx_cv_func_
$wx_func=yes
36796 echo "$as_me: failed program was:" >&5
36797 sed 's/^/| /' conftest.
$ac_ext >&5
36799 eval wx_cv_func_
$wx_func=no
36802 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36803 conftest
$ac_exeext conftest.
$ac_ext
36806 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
36807 { echo "$as_me:$LINENO: result: $ac_res" >&5
36808 echo "${ECHO_T}$ac_res" >&6; }
36810 if eval test \
$wx_cv_func_$wx_func = yes
36812 cat >>confdefs.h
<<_ACEOF
36813 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36823 if test "$wx_cv_func_uname" != yes; then
36825 for wx_func
in gethostname
36827 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36828 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36829 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36830 echo $ECHO_N "(cached) $ECHO_C" >&6
36833 cat >conftest.
$ac_ext <<_ACEOF
36837 cat confdefs.h
>>conftest.
$ac_ext
36838 cat >>conftest.
$ac_ext <<_ACEOF
36839 /* end confdefs.h. */
36842 $ac_includes_default
36858 rm -f conftest.
$ac_objext conftest
$ac_exeext
36859 if { (ac_try
="$ac_link"
36860 case "(($ac_try" in
36861 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36862 *) ac_try_echo=$ac_try;;
36864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36865 (eval "$ac_link") 2>conftest.er1
36867 grep -v '^ *+' conftest.er1 >conftest.err
36869 cat conftest.err >&5
36870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36871 (exit $ac_status); } && {
36872 test -z "$ac_c_werror_flag" ||
36873 test ! -s conftest.err
36874 } && test -s conftest$ac_exeext &&
36875 $as_test_x conftest$ac_exeext; then
36876 eval wx_cv_func_$wx_func=yes
36878 echo "$as_me: failed program was:" >&5
36879 sed 's/^/| /' conftest.$ac_ext >&5
36881 eval wx_cv_func_$wx_func=no
36884 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36885 conftest$ac_exeext conftest.$ac_ext
36888 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36889 { echo "$as_me:$LINENO: result: $ac_res" >&5
36890 echo "${ECHO_T}$ac_res" >&6; }
36892 if eval test \$wx_cv_func_$wx_func = yes
36894 cat >>confdefs.h <<_ACEOF
36895 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36908 for wx_func in strtok_r
36910 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36911 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36912 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36913 echo $ECHO_N "(cached) $ECHO_C" >&6
36916 cat >conftest.$ac_ext <<_ACEOF
36920 cat confdefs.h >>conftest.$ac_ext
36921 cat >>conftest.$ac_ext <<_ACEOF
36922 /* end confdefs.h. */
36925 $ac_includes_default
36941 rm -f conftest.$ac_objext conftest$ac_exeext
36942 if { (ac_try="$ac_link"
36943 case "(($ac_try" in
36944 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36945 *) ac_try_echo
=$ac_try;;
36947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36948 (eval "$ac_link") 2>conftest.er1
36950 grep -v '^ *+' conftest.er1
>conftest.err
36952 cat conftest.err
>&5
36953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36954 (exit $ac_status); } && {
36955 test -z "$ac_c_werror_flag" ||
36956 test ! -s conftest.err
36957 } && test -s conftest
$ac_exeext &&
36958 $as_test_x conftest
$ac_exeext; then
36959 eval wx_cv_func_
$wx_func=yes
36961 echo "$as_me: failed program was:" >&5
36962 sed 's/^/| /' conftest.
$ac_ext >&5
36964 eval wx_cv_func_
$wx_func=no
36967 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36968 conftest
$ac_exeext conftest.
$ac_ext
36971 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
36972 { echo "$as_me:$LINENO: result: $ac_res" >&5
36973 echo "${ECHO_T}$ac_res" >&6; }
36975 if eval test \
$wx_cv_func_$wx_func = yes
36977 cat >>confdefs.h
<<_ACEOF
36978 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36991 for ac_func
in inet_addr
36993 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36994 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36995 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36996 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36997 echo $ECHO_N "(cached) $ECHO_C" >&6
36999 cat >conftest.
$ac_ext <<_ACEOF
37002 cat confdefs.h
>>conftest.
$ac_ext
37003 cat >>conftest.
$ac_ext <<_ACEOF
37004 /* end confdefs.h. */
37005 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37006 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37007 #define $ac_func innocuous_$ac_func
37009 /* System header to define __stub macros and hopefully few prototypes,
37010 which can conflict with char $ac_func (); below.
37011 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37012 <limits.h> exists even on freestanding compilers. */
37015 # include <limits.h>
37017 # include <assert.h>
37022 /* Override any GCC internal prototype to avoid an error.
37023 Use char because int might match the return type of a GCC
37024 builtin and then its argument prototype would still apply. */
37029 /* The GNU C library defines this for functions which it implements
37030 to always fail with ENOSYS. Some functions are actually named
37031 something starting with __ and the normal name is an alias. */
37032 #if defined __stub_$ac_func || defined __stub___$ac_func
37039 return $ac_func ();
37044 rm -f conftest.
$ac_objext conftest
$ac_exeext
37045 if { (ac_try
="$ac_link"
37046 case "(($ac_try" in
37047 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37048 *) ac_try_echo=$ac_try;;
37050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37051 (eval "$ac_link") 2>conftest.er1
37053 grep -v '^ *+' conftest.er1 >conftest.err
37055 cat conftest.err >&5
37056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37057 (exit $ac_status); } && {
37058 test -z "$ac_c_werror_flag" ||
37059 test ! -s conftest.err
37060 } && test -s conftest$ac_exeext &&
37061 $as_test_x conftest$ac_exeext; then
37062 eval "$as_ac_var=yes"
37064 echo "$as_me: failed program was:" >&5
37065 sed 's/^/| /' conftest.$ac_ext >&5
37067 eval "$as_ac_var=no"
37070 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37071 conftest$ac_exeext conftest.$ac_ext
37073 ac_res=`eval echo '${'$as_ac_var'}'`
37074 { echo "$as_me:$LINENO: result: $ac_res" >&5
37075 echo "${ECHO_T}$ac_res" >&6; }
37076 if test `eval echo '${'$as_ac_var'}'` = yes; then
37077 cat >>confdefs.h <<_ACEOF
37078 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37080 cat >>confdefs.h <<\_ACEOF
37081 #define HAVE_INET_ADDR 1
37086 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
37087 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
37088 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
37089 echo $ECHO_N "(cached) $ECHO_C" >&6
37091 ac_check_lib_save_LIBS=$LIBS
37093 cat >conftest.$ac_ext <<_ACEOF
37096 cat confdefs.h >>conftest.$ac_ext
37097 cat >>conftest.$ac_ext <<_ACEOF
37098 /* end confdefs.h. */
37100 /* Override any GCC internal prototype to avoid an error.
37101 Use char because int might match the return type of a GCC
37102 builtin and then its argument prototype would still apply. */
37110 return inet_addr ();
37115 rm -f conftest.$ac_objext conftest$ac_exeext
37116 if { (ac_try="$ac_link"
37117 case "(($ac_try" in
37118 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37119 *) ac_try_echo
=$ac_try;;
37121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37122 (eval "$ac_link") 2>conftest.er1
37124 grep -v '^ *+' conftest.er1
>conftest.err
37126 cat conftest.err
>&5
37127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37128 (exit $ac_status); } && {
37129 test -z "$ac_c_werror_flag" ||
37130 test ! -s conftest.err
37131 } && test -s conftest
$ac_exeext &&
37132 $as_test_x conftest
$ac_exeext; then
37133 ac_cv_lib_nsl_inet_addr
=yes
37135 echo "$as_me: failed program was:" >&5
37136 sed 's/^/| /' conftest.
$ac_ext >&5
37138 ac_cv_lib_nsl_inet_addr
=no
37141 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37142 conftest
$ac_exeext conftest.
$ac_ext
37143 LIBS
=$ac_check_lib_save_LIBS
37145 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
37146 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
37147 if test $ac_cv_lib_nsl_inet_addr = yes; then
37151 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
37152 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
37153 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
37154 echo $ECHO_N "(cached) $ECHO_C" >&6
37156 ac_check_lib_save_LIBS
=$LIBS
37157 LIBS
="-lresolv $LIBS"
37158 cat >conftest.
$ac_ext <<_ACEOF
37161 cat confdefs.h
>>conftest.
$ac_ext
37162 cat >>conftest.
$ac_ext <<_ACEOF
37163 /* end confdefs.h. */
37165 /* Override any GCC internal prototype to avoid an error.
37166 Use char because int might match the return type of a GCC
37167 builtin and then its argument prototype would still apply. */
37175 return inet_addr ();
37180 rm -f conftest.
$ac_objext conftest
$ac_exeext
37181 if { (ac_try
="$ac_link"
37182 case "(($ac_try" in
37183 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37184 *) ac_try_echo=$ac_try;;
37186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37187 (eval "$ac_link") 2>conftest.er1
37189 grep -v '^ *+' conftest.er1 >conftest.err
37191 cat conftest.err >&5
37192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37193 (exit $ac_status); } && {
37194 test -z "$ac_c_werror_flag" ||
37195 test ! -s conftest.err
37196 } && test -s conftest$ac_exeext &&
37197 $as_test_x conftest$ac_exeext; then
37198 ac_cv_lib_resolv_inet_addr=yes
37200 echo "$as_me: failed program was:" >&5
37201 sed 's/^/| /' conftest.$ac_ext >&5
37203 ac_cv_lib_resolv_inet_addr=no
37206 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37207 conftest$ac_exeext conftest.$ac_ext
37208 LIBS=$ac_check_lib_save_LIBS
37210 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
37211 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
37212 if test $ac_cv_lib_resolv_inet_addr = yes; then
37216 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
37217 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
37218 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
37219 echo $ECHO_N "(cached) $ECHO_C" >&6
37221 ac_check_lib_save_LIBS=$LIBS
37222 LIBS="-lsocket $LIBS"
37223 cat >conftest.$ac_ext <<_ACEOF
37226 cat confdefs.h >>conftest.$ac_ext
37227 cat >>conftest.$ac_ext <<_ACEOF
37228 /* end confdefs.h. */
37230 /* Override any GCC internal prototype to avoid an error.
37231 Use char because int might match the return type of a GCC
37232 builtin and then its argument prototype would still apply. */
37240 return inet_addr ();
37245 rm -f conftest.$ac_objext conftest$ac_exeext
37246 if { (ac_try="$ac_link"
37247 case "(($ac_try" in
37248 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37249 *) ac_try_echo
=$ac_try;;
37251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37252 (eval "$ac_link") 2>conftest.er1
37254 grep -v '^ *+' conftest.er1
>conftest.err
37256 cat conftest.err
>&5
37257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37258 (exit $ac_status); } && {
37259 test -z "$ac_c_werror_flag" ||
37260 test ! -s conftest.err
37261 } && test -s conftest
$ac_exeext &&
37262 $as_test_x conftest
$ac_exeext; then
37263 ac_cv_lib_socket_inet_addr
=yes
37265 echo "$as_me: failed program was:" >&5
37266 sed 's/^/| /' conftest.
$ac_ext >&5
37268 ac_cv_lib_socket_inet_addr
=no
37271 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37272 conftest
$ac_exeext conftest.
$ac_ext
37273 LIBS
=$ac_check_lib_save_LIBS
37275 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
37276 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
37277 if test $ac_cv_lib_socket_inet_addr = yes; then
37297 for ac_func
in inet_aton
37299 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37300 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37301 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37302 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37303 echo $ECHO_N "(cached) $ECHO_C" >&6
37305 cat >conftest.
$ac_ext <<_ACEOF
37308 cat confdefs.h
>>conftest.
$ac_ext
37309 cat >>conftest.
$ac_ext <<_ACEOF
37310 /* end confdefs.h. */
37311 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37312 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37313 #define $ac_func innocuous_$ac_func
37315 /* System header to define __stub macros and hopefully few prototypes,
37316 which can conflict with char $ac_func (); below.
37317 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37318 <limits.h> exists even on freestanding compilers. */
37321 # include <limits.h>
37323 # include <assert.h>
37328 /* Override any GCC internal prototype to avoid an error.
37329 Use char because int might match the return type of a GCC
37330 builtin and then its argument prototype would still apply. */
37335 /* The GNU C library defines this for functions which it implements
37336 to always fail with ENOSYS. Some functions are actually named
37337 something starting with __ and the normal name is an alias. */
37338 #if defined __stub_$ac_func || defined __stub___$ac_func
37345 return $ac_func ();
37350 rm -f conftest.
$ac_objext conftest
$ac_exeext
37351 if { (ac_try
="$ac_link"
37352 case "(($ac_try" in
37353 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37354 *) ac_try_echo=$ac_try;;
37356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37357 (eval "$ac_link") 2>conftest.er1
37359 grep -v '^ *+' conftest.er1 >conftest.err
37361 cat conftest.err >&5
37362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37363 (exit $ac_status); } && {
37364 test -z "$ac_c_werror_flag" ||
37365 test ! -s conftest.err
37366 } && test -s conftest$ac_exeext &&
37367 $as_test_x conftest$ac_exeext; then
37368 eval "$as_ac_var=yes"
37370 echo "$as_me: failed program was:" >&5
37371 sed 's/^/| /' conftest.$ac_ext >&5
37373 eval "$as_ac_var=no"
37376 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37377 conftest$ac_exeext conftest.$ac_ext
37379 ac_res=`eval echo '${'$as_ac_var'}'`
37380 { echo "$as_me:$LINENO: result: $ac_res" >&5
37381 echo "${ECHO_T}$ac_res" >&6; }
37382 if test `eval echo '${'$as_ac_var'}'` = yes; then
37383 cat >>confdefs.h <<_ACEOF
37384 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37386 cat >>confdefs.h <<\_ACEOF
37387 #define HAVE_INET_ATON 1
37392 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
37393 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
37394 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
37395 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
37396 echo $ECHO_N "(cached) $ECHO_C" >&6
37398 ac_check_lib_save_LIBS=$LIBS
37399 LIBS="-l$INET_LINK $LIBS"
37400 cat >conftest.$ac_ext <<_ACEOF
37403 cat confdefs.h >>conftest.$ac_ext
37404 cat >>conftest.$ac_ext <<_ACEOF
37405 /* end confdefs.h. */
37407 /* Override any GCC internal prototype to avoid an error.
37408 Use char because int might match the return type of a GCC
37409 builtin and then its argument prototype would still apply. */
37417 return inet_aton ();
37422 rm -f conftest.$ac_objext conftest$ac_exeext
37423 if { (ac_try="$ac_link"
37424 case "(($ac_try" in
37425 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37426 *) ac_try_echo
=$ac_try;;
37428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37429 (eval "$ac_link") 2>conftest.er1
37431 grep -v '^ *+' conftest.er1
>conftest.err
37433 cat conftest.err
>&5
37434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37435 (exit $ac_status); } && {
37436 test -z "$ac_c_werror_flag" ||
37437 test ! -s conftest.err
37438 } && test -s conftest
$ac_exeext &&
37439 $as_test_x conftest
$ac_exeext; then
37440 eval "$as_ac_Lib=yes"
37442 echo "$as_me: failed program was:" >&5
37443 sed 's/^/| /' conftest.
$ac_ext >&5
37445 eval "$as_ac_Lib=no"
37448 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37449 conftest
$ac_exeext conftest.
$ac_ext
37450 LIBS
=$ac_check_lib_save_LIBS
37452 ac_res
=`eval echo '${'$as_ac_Lib'}'`
37453 { echo "$as_me:$LINENO: result: $ac_res" >&5
37454 echo "${ECHO_T}$ac_res" >&6; }
37455 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
37456 cat >>confdefs.h
<<\_ACEOF
37457 #define HAVE_INET_ATON 1
37467 if test "x$INET_LINK" != "x"; then
37468 cat >>confdefs.h
<<\_ACEOF
37469 #define HAVE_INET_ADDR 1
37472 INET_LINK
=" -l$INET_LINK"
37476 for wx_func
in fdopen
37478 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37479 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37480 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37481 echo $ECHO_N "(cached) $ECHO_C" >&6
37484 cat >conftest.
$ac_ext <<_ACEOF
37488 cat confdefs.h
>>conftest.
$ac_ext
37489 cat >>conftest.
$ac_ext <<_ACEOF
37490 /* end confdefs.h. */
37493 $ac_includes_default
37509 rm -f conftest.
$ac_objext conftest
$ac_exeext
37510 if { (ac_try
="$ac_link"
37511 case "(($ac_try" in
37512 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37513 *) ac_try_echo=$ac_try;;
37515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37516 (eval "$ac_link") 2>conftest.er1
37518 grep -v '^ *+' conftest.er1 >conftest.err
37520 cat conftest.err >&5
37521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37522 (exit $ac_status); } && {
37523 test -z "$ac_c_werror_flag" ||
37524 test ! -s conftest.err
37525 } && test -s conftest$ac_exeext &&
37526 $as_test_x conftest$ac_exeext; then
37527 eval wx_cv_func_$wx_func=yes
37529 echo "$as_me: failed program was:" >&5
37530 sed 's/^/| /' conftest.$ac_ext >&5
37532 eval wx_cv_func_$wx_func=no
37535 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37536 conftest$ac_exeext conftest.$ac_ext
37539 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37540 { echo "$as_me:$LINENO: result: $ac_res" >&5
37541 echo "${ECHO_T}$ac_res" >&6; }
37543 if eval test \$wx_cv_func_$wx_func = yes
37545 cat >>confdefs.h <<_ACEOF
37546 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37561 cat >confcache <<\_ACEOF
37562 # This file is a shell script that caches the results of configure
37563 # tests run on this system so they can be shared between configure
37564 # scripts and configure runs, see configure's option --config-cache.
37565 # It is not useful on other systems. If it contains results you don't
37566 # want to keep, you may remove or edit it.
37568 # config.status only pays attention to the cache file if you give it
37569 # the --recheck option to rerun configure.
37571 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
37572 # loading this file, other *unset* `ac_cv_foo' will be assigned the
37573 # following values.
37577 # The following way of writing the cache mishandles newlines in values,
37578 # but we know of no workaround that is simple, portable, and efficient.
37579 # So, we kill variables containing newlines.
37580 # Ultrix sh set writes to stderr and can't be redirected directly,
37581 # and sets the high bit in the cache file unless we assign to the vars.
37583 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
37584 eval ac_val
=\$
$ac_var
37588 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
37589 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
37592 _
| IFS
| as_nl
) ;; #(
37593 *) $as_unset $ac_var ;;
37599 case $as_nl`(ac_space=' '; set) 2>&1` in #(
37600 *${as_nl}ac_space
=\
*)
37601 # `set' does not quote correctly, so add quotes (double-quote
37602 # substitution turns \\\\ into \\, and sed turns \\ into \).
37605 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
37608 # `set' quotes correctly as required by POSIX, so do not add quotes.
37609 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
37618 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
37620 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
37622 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
37623 if test -w "$cache_file"; then
37624 test "x$cache_file" != "x/dev/null" &&
37625 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
37626 echo "$as_me: updating cache $cache_file" >&6;}
37627 cat confcache
>$cache_file
37629 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
37630 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
37636 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
37642 if test "$wxUSE_THREADS" = "yes" ; then
37643 if test "$USE_BEOS" = 1; then
37644 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
37645 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
37650 if test "$wxUSE_THREADS" = "yes" ; then
37653 THREAD_OPTS
="-pthread"
37655 *-*-solaris2* | *-*-sunos4* )
37656 if test "x$GCC" = "xyes"; then
37657 THREAD_OPTS
="-pthreads $THREAD_OPTS"
37659 THREAD_OPTS
="-mt $THREAD_OPTS"
37663 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
37665 *-*-darwin* | *-*-cygwin* )
37669 THREAD_OPTS
="pthreads"
37672 if test "x$GCC" = "xyes"; then
37673 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
37681 if test "x$GCC" = "xyes"; then
37687 if test "x$GCC" != "xyes"; then
37688 THREAD_OPTS
="-Ethread"
37693 THREAD_OPTS
="$THREAD_OPTS pthread none"
37696 for flag
in $THREAD_OPTS; do
37699 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
37700 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
37704 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
37705 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
37706 THREADS_CFLAGS
="$flag"
37710 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
37711 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
37712 THREADS_LINK
="-l$flag"
37717 save_CFLAGS
="$CFLAGS"
37718 LIBS
="$THREADS_LINK $LIBS"
37719 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
37721 cat >conftest.
$ac_ext <<_ACEOF
37724 cat confdefs.h
>>conftest.
$ac_ext
37725 cat >>conftest.
$ac_ext <<_ACEOF
37726 /* end confdefs.h. */
37727 #include <pthread.h>
37731 pthread_create(0,0,0,0);
37736 rm -f conftest.
$ac_objext conftest
$ac_exeext
37737 if { (ac_try
="$ac_link"
37738 case "(($ac_try" in
37739 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37740 *) ac_try_echo=$ac_try;;
37742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37743 (eval "$ac_link") 2>conftest.er1
37745 grep -v '^ *+' conftest.er1 >conftest.err
37747 cat conftest.err >&5
37748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37749 (exit $ac_status); } && {
37750 test -z "$ac_c_werror_flag" ||
37751 test ! -s conftest.err
37752 } && test -s conftest$ac_exeext &&
37753 $as_test_x conftest$ac_exeext; then
37756 echo "$as_me: failed program was:" >&5
37757 sed 's/^/| /' conftest.$ac_ext >&5
37762 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37763 conftest$ac_exeext conftest.$ac_ext
37766 CFLAGS="$save_CFLAGS"
37768 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
37769 echo "${ECHO_T}$THREADS_OK" >&6; }
37770 if test "x$THREADS_OK" = "xyes"; then
37778 if test "x$THREADS_OK" != "xyes"; then
37780 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
37781 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
37783 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
37784 LIBS="$THREADS_LINK $LIBS"
37786 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
37787 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
37791 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
37792 flag="-D_THREAD_SAFE"
37795 flag="-D_THREAD_SAFE"
37798 flag="-D_REENTRANT"
37799 if test "x$GCC" != "xyes"; then
37800 flag="$flag -D_RWSTD_MULTI_THREAD"
37803 *solaris* | alpha*-osf*)
37804 flag="-D_REENTRANT"
37807 { echo "$as_me:$LINENO: result: ${flag}" >&5
37808 echo "${ECHO_T}${flag}" >&6; }
37809 if test "x$flag" != xno; then
37810 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
37813 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
37817 if test "$wxUSE_THREADS" = "yes" ; then
37819 for ac_func in thr_setconcurrency
37821 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37822 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37823 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37824 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37825 echo $ECHO_N "(cached) $ECHO_C" >&6
37827 cat >conftest.$ac_ext <<_ACEOF
37830 cat confdefs.h >>conftest.$ac_ext
37831 cat >>conftest.$ac_ext <<_ACEOF
37832 /* end confdefs.h. */
37833 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37834 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37835 #define $ac_func innocuous_$ac_func
37837 /* System header to define __stub macros and hopefully few prototypes,
37838 which can conflict with char $ac_func (); below.
37839 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37840 <limits.h> exists even on freestanding compilers. */
37843 # include <limits.h>
37845 # include <assert.h>
37850 /* Override any GCC internal prototype to avoid an error.
37851 Use char because int might match the return type of a GCC
37852 builtin and then its argument prototype would still apply. */
37857 /* The GNU C library defines this for functions which it implements
37858 to always fail with ENOSYS. Some functions are actually named
37859 something starting with __ and the normal name is an alias. */
37860 #if defined __stub_$ac_func || defined __stub___$ac_func
37867 return $ac_func ();
37872 rm -f conftest.$ac_objext conftest$ac_exeext
37873 if { (ac_try="$ac_link"
37874 case "(($ac_try" in
37875 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37876 *) ac_try_echo
=$ac_try;;
37878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37879 (eval "$ac_link") 2>conftest.er1
37881 grep -v '^ *+' conftest.er1
>conftest.err
37883 cat conftest.err
>&5
37884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37885 (exit $ac_status); } && {
37886 test -z "$ac_c_werror_flag" ||
37887 test ! -s conftest.err
37888 } && test -s conftest
$ac_exeext &&
37889 $as_test_x conftest
$ac_exeext; then
37890 eval "$as_ac_var=yes"
37892 echo "$as_me: failed program was:" >&5
37893 sed 's/^/| /' conftest.
$ac_ext >&5
37895 eval "$as_ac_var=no"
37898 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37899 conftest
$ac_exeext conftest.
$ac_ext
37901 ac_res
=`eval echo '${'$as_ac_var'}'`
37902 { echo "$as_me:$LINENO: result: $ac_res" >&5
37903 echo "${ECHO_T}$ac_res" >&6; }
37904 if test `eval echo '${'$as_ac_var'}'` = yes; then
37905 cat >>confdefs.h
<<_ACEOF
37906 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37913 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
37914 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
37915 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
37916 echo $ECHO_N "(cached) $ECHO_C" >&6
37919 cat >conftest.
$ac_ext <<_ACEOF
37922 cat confdefs.h
>>conftest.
$ac_ext
37923 cat >>conftest.
$ac_ext <<_ACEOF
37924 /* end confdefs.h. */
37925 #include <pthread.h>
37926 void ThreadCleanupFunc(void *p);
37933 pthread_cleanup_push(ThreadCleanupFunc, p);
37934 pthread_cleanup_pop(0);
37940 rm -f conftest.
$ac_objext
37941 if { (ac_try
="$ac_compile"
37942 case "(($ac_try" in
37943 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37944 *) ac_try_echo=$ac_try;;
37946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37947 (eval "$ac_compile") 2>conftest.er1
37949 grep -v '^ *+' conftest.er1 >conftest.err
37951 cat conftest.err >&5
37952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37953 (exit $ac_status); } && {
37954 test -z "$ac_c_werror_flag" ||
37955 test ! -s conftest.err
37956 } && test -s conftest.$ac_objext; then
37958 wx_cv_func_pthread_cleanup=yes
37961 echo "$as_me: failed program was:" >&5
37962 sed 's/^/| /' conftest.$ac_ext >&5
37965 wx_cv_func_pthread_cleanup=no
37970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37973 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
37974 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
37975 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
37976 cat >>confdefs.h <<\_ACEOF
37977 #define wxHAVE_PTHREAD_CLEANUP 1
37982 { echo "$as_me:$LINENO: checking for sched.h" >&5
37983 echo $ECHO_N "checking for sched.h... $ECHO_C" >&6; }
37984 if test "${ac_cv_header_sched_h+set}" = set; then
37985 echo $ECHO_N "(cached) $ECHO_C" >&6
37987 cat >conftest.$ac_ext <<_ACEOF
37990 cat confdefs.h >>conftest.$ac_ext
37991 cat >>conftest.$ac_ext <<_ACEOF
37992 /* end confdefs.h. */
37993 $ac_includes_default
37997 rm -f conftest.$ac_objext
37998 if { (ac_try="$ac_compile"
37999 case "(($ac_try" in
38000 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38001 *) ac_try_echo
=$ac_try;;
38003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38004 (eval "$ac_compile") 2>conftest.er1
38006 grep -v '^ *+' conftest.er1
>conftest.err
38008 cat conftest.err
>&5
38009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38010 (exit $ac_status); } && {
38011 test -z "$ac_c_werror_flag" ||
38012 test ! -s conftest.err
38013 } && test -s conftest.
$ac_objext; then
38014 ac_cv_header_sched_h
=yes
38016 echo "$as_me: failed program was:" >&5
38017 sed 's/^/| /' conftest.
$ac_ext >&5
38019 ac_cv_header_sched_h
=no
38022 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38024 { echo "$as_me:$LINENO: result: $ac_cv_header_sched_h" >&5
38025 echo "${ECHO_T}$ac_cv_header_sched_h" >&6; }
38028 if test "$ac_cv_header_sched_h" = "yes"; then
38029 { echo "$as_me:$LINENO: checking for sched_yield" >&5
38030 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
38031 if test "${ac_cv_func_sched_yield+set}" = set; then
38032 echo $ECHO_N "(cached) $ECHO_C" >&6
38034 cat >conftest.
$ac_ext <<_ACEOF
38037 cat confdefs.h
>>conftest.
$ac_ext
38038 cat >>conftest.
$ac_ext <<_ACEOF
38039 /* end confdefs.h. */
38040 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
38041 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38042 #define sched_yield innocuous_sched_yield
38044 /* System header to define __stub macros and hopefully few prototypes,
38045 which can conflict with char sched_yield (); below.
38046 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38047 <limits.h> exists even on freestanding compilers. */
38050 # include <limits.h>
38052 # include <assert.h>
38057 /* Override any GCC internal prototype to avoid an error.
38058 Use char because int might match the return type of a GCC
38059 builtin and then its argument prototype would still apply. */
38063 char sched_yield ();
38064 /* The GNU C library defines this for functions which it implements
38065 to always fail with ENOSYS. Some functions are actually named
38066 something starting with __ and the normal name is an alias. */
38067 #if defined __stub_sched_yield || defined __stub___sched_yield
38074 return sched_yield ();
38079 rm -f conftest.
$ac_objext conftest
$ac_exeext
38080 if { (ac_try
="$ac_link"
38081 case "(($ac_try" in
38082 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38083 *) ac_try_echo=$ac_try;;
38085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38086 (eval "$ac_link") 2>conftest.er1
38088 grep -v '^ *+' conftest.er1 >conftest.err
38090 cat conftest.err >&5
38091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38092 (exit $ac_status); } && {
38093 test -z "$ac_c_werror_flag" ||
38094 test ! -s conftest.err
38095 } && test -s conftest$ac_exeext &&
38096 $as_test_x conftest$ac_exeext; then
38097 ac_cv_func_sched_yield=yes
38099 echo "$as_me: failed program was:" >&5
38100 sed 's/^/| /' conftest.$ac_ext >&5
38102 ac_cv_func_sched_yield=no
38105 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38106 conftest$ac_exeext conftest.$ac_ext
38108 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
38109 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
38110 if test $ac_cv_func_sched_yield = yes; then
38111 cat >>confdefs.h <<\_ACEOF
38112 #define HAVE_SCHED_YIELD 1
38117 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
38118 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
38119 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
38120 echo $ECHO_N "(cached) $ECHO_C" >&6
38122 ac_check_lib_save_LIBS=$LIBS
38123 LIBS="-lposix4 $LIBS"
38124 cat >conftest.$ac_ext <<_ACEOF
38127 cat confdefs.h >>conftest.$ac_ext
38128 cat >>conftest.$ac_ext <<_ACEOF
38129 /* end confdefs.h. */
38131 /* Override any GCC internal prototype to avoid an error.
38132 Use char because int might match the return type of a GCC
38133 builtin and then its argument prototype would still apply. */
38137 char sched_yield ();
38141 return sched_yield ();
38146 rm -f conftest.$ac_objext conftest$ac_exeext
38147 if { (ac_try="$ac_link"
38148 case "(($ac_try" in
38149 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38150 *) ac_try_echo
=$ac_try;;
38152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38153 (eval "$ac_link") 2>conftest.er1
38155 grep -v '^ *+' conftest.er1
>conftest.err
38157 cat conftest.err
>&5
38158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38159 (exit $ac_status); } && {
38160 test -z "$ac_c_werror_flag" ||
38161 test ! -s conftest.err
38162 } && test -s conftest
$ac_exeext &&
38163 $as_test_x conftest
$ac_exeext; then
38164 ac_cv_lib_posix4_sched_yield
=yes
38166 echo "$as_me: failed program was:" >&5
38167 sed 's/^/| /' conftest.
$ac_ext >&5
38169 ac_cv_lib_posix4_sched_yield
=no
38172 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38173 conftest
$ac_exeext conftest.
$ac_ext
38174 LIBS
=$ac_check_lib_save_LIBS
38176 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
38177 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
38178 if test $ac_cv_lib_posix4_sched_yield = yes; then
38179 cat >>confdefs.h
<<\_ACEOF
38180 #define HAVE_SCHED_YIELD 1
38182 POSIX4_LINK
=" -lposix4"
38184 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
38185 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
38196 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
38197 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
38198 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
38199 echo $ECHO_N "(cached) $ECHO_C" >&6
38201 cat >conftest.
$ac_ext <<_ACEOF
38204 cat confdefs.h
>>conftest.
$ac_ext
38205 cat >>conftest.
$ac_ext <<_ACEOF
38206 /* end confdefs.h. */
38207 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
38208 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38209 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
38211 /* System header to define __stub macros and hopefully few prototypes,
38212 which can conflict with char pthread_attr_getschedpolicy (); below.
38213 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38214 <limits.h> exists even on freestanding compilers. */
38217 # include <limits.h>
38219 # include <assert.h>
38222 #undef pthread_attr_getschedpolicy
38224 /* Override any GCC internal prototype to avoid an error.
38225 Use char because int might match the return type of a GCC
38226 builtin and then its argument prototype would still apply. */
38230 char pthread_attr_getschedpolicy ();
38231 /* The GNU C library defines this for functions which it implements
38232 to always fail with ENOSYS. Some functions are actually named
38233 something starting with __ and the normal name is an alias. */
38234 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
38241 return pthread_attr_getschedpolicy ();
38246 rm -f conftest.
$ac_objext conftest
$ac_exeext
38247 if { (ac_try
="$ac_link"
38248 case "(($ac_try" in
38249 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38250 *) ac_try_echo=$ac_try;;
38252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38253 (eval "$ac_link") 2>conftest.er1
38255 grep -v '^ *+' conftest.er1 >conftest.err
38257 cat conftest.err >&5
38258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38259 (exit $ac_status); } && {
38260 test -z "$ac_c_werror_flag" ||
38261 test ! -s conftest.err
38262 } && test -s conftest$ac_exeext &&
38263 $as_test_x conftest$ac_exeext; then
38264 ac_cv_func_pthread_attr_getschedpolicy=yes
38266 echo "$as_me: failed program was:" >&5
38267 sed 's/^/| /' conftest.$ac_ext >&5
38269 ac_cv_func_pthread_attr_getschedpolicy=no
38272 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38273 conftest$ac_exeext conftest.$ac_ext
38275 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
38276 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
38277 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
38278 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
38279 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
38280 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
38281 echo $ECHO_N "(cached) $ECHO_C" >&6
38283 cat >conftest.$ac_ext <<_ACEOF
38286 cat confdefs.h >>conftest.$ac_ext
38287 cat >>conftest.$ac_ext <<_ACEOF
38288 /* end confdefs.h. */
38289 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
38290 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38291 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
38293 /* System header to define __stub macros and hopefully few prototypes,
38294 which can conflict with char pthread_attr_setschedparam (); below.
38295 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38296 <limits.h> exists even on freestanding compilers. */
38299 # include <limits.h>
38301 # include <assert.h>
38304 #undef pthread_attr_setschedparam
38306 /* Override any GCC internal prototype to avoid an error.
38307 Use char because int might match the return type of a GCC
38308 builtin and then its argument prototype would still apply. */
38312 char pthread_attr_setschedparam ();
38313 /* The GNU C library defines this for functions which it implements
38314 to always fail with ENOSYS. Some functions are actually named
38315 something starting with __ and the normal name is an alias. */
38316 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
38323 return pthread_attr_setschedparam ();
38328 rm -f conftest.$ac_objext conftest$ac_exeext
38329 if { (ac_try="$ac_link"
38330 case "(($ac_try" in
38331 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38332 *) ac_try_echo
=$ac_try;;
38334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38335 (eval "$ac_link") 2>conftest.er1
38337 grep -v '^ *+' conftest.er1
>conftest.err
38339 cat conftest.err
>&5
38340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38341 (exit $ac_status); } && {
38342 test -z "$ac_c_werror_flag" ||
38343 test ! -s conftest.err
38344 } && test -s conftest
$ac_exeext &&
38345 $as_test_x conftest
$ac_exeext; then
38346 ac_cv_func_pthread_attr_setschedparam
=yes
38348 echo "$as_me: failed program was:" >&5
38349 sed 's/^/| /' conftest.
$ac_ext >&5
38351 ac_cv_func_pthread_attr_setschedparam
=no
38354 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38355 conftest
$ac_exeext conftest.
$ac_ext
38357 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
38358 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
38359 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
38360 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
38361 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
38362 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
38363 echo $ECHO_N "(cached) $ECHO_C" >&6
38365 cat >conftest.
$ac_ext <<_ACEOF
38368 cat confdefs.h
>>conftest.
$ac_ext
38369 cat >>conftest.
$ac_ext <<_ACEOF
38370 /* end confdefs.h. */
38371 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
38372 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38373 #define sched_get_priority_max innocuous_sched_get_priority_max
38375 /* System header to define __stub macros and hopefully few prototypes,
38376 which can conflict with char sched_get_priority_max (); below.
38377 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38378 <limits.h> exists even on freestanding compilers. */
38381 # include <limits.h>
38383 # include <assert.h>
38386 #undef sched_get_priority_max
38388 /* Override any GCC internal prototype to avoid an error.
38389 Use char because int might match the return type of a GCC
38390 builtin and then its argument prototype would still apply. */
38394 char sched_get_priority_max ();
38395 /* The GNU C library defines this for functions which it implements
38396 to always fail with ENOSYS. Some functions are actually named
38397 something starting with __ and the normal name is an alias. */
38398 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
38405 return sched_get_priority_max ();
38410 rm -f conftest.
$ac_objext conftest
$ac_exeext
38411 if { (ac_try
="$ac_link"
38412 case "(($ac_try" in
38413 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38414 *) ac_try_echo=$ac_try;;
38416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38417 (eval "$ac_link") 2>conftest.er1
38419 grep -v '^ *+' conftest.er1 >conftest.err
38421 cat conftest.err >&5
38422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38423 (exit $ac_status); } && {
38424 test -z "$ac_c_werror_flag" ||
38425 test ! -s conftest.err
38426 } && test -s conftest$ac_exeext &&
38427 $as_test_x conftest$ac_exeext; then
38428 ac_cv_func_sched_get_priority_max=yes
38430 echo "$as_me: failed program was:" >&5
38431 sed 's/^/| /' conftest.$ac_ext >&5
38433 ac_cv_func_sched_get_priority_max=no
38436 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38437 conftest$ac_exeext conftest.$ac_ext
38439 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
38440 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
38441 if test $ac_cv_func_sched_get_priority_max = yes; then
38444 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
38445 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
38446 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
38447 echo $ECHO_N "(cached) $ECHO_C" >&6
38449 ac_check_lib_save_LIBS=$LIBS
38450 LIBS="-lposix4 $LIBS"
38451 cat >conftest.$ac_ext <<_ACEOF
38454 cat confdefs.h >>conftest.$ac_ext
38455 cat >>conftest.$ac_ext <<_ACEOF
38456 /* end confdefs.h. */
38458 /* Override any GCC internal prototype to avoid an error.
38459 Use char because int might match the return type of a GCC
38460 builtin and then its argument prototype would still apply. */
38464 char sched_get_priority_max ();
38468 return sched_get_priority_max ();
38473 rm -f conftest.$ac_objext conftest$ac_exeext
38474 if { (ac_try="$ac_link"
38475 case "(($ac_try" in
38476 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38477 *) ac_try_echo
=$ac_try;;
38479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38480 (eval "$ac_link") 2>conftest.er1
38482 grep -v '^ *+' conftest.er1
>conftest.err
38484 cat conftest.err
>&5
38485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38486 (exit $ac_status); } && {
38487 test -z "$ac_c_werror_flag" ||
38488 test ! -s conftest.err
38489 } && test -s conftest
$ac_exeext &&
38490 $as_test_x conftest
$ac_exeext; then
38491 ac_cv_lib_posix4_sched_get_priority_max
=yes
38493 echo "$as_me: failed program was:" >&5
38494 sed 's/^/| /' conftest.
$ac_ext >&5
38496 ac_cv_lib_posix4_sched_get_priority_max
=no
38499 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38500 conftest
$ac_exeext conftest.
$ac_ext
38501 LIBS
=$ac_check_lib_save_LIBS
38503 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
38504 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
38505 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
38508 POSIX4_LINK
=" -lposix4"
38522 if test "$HAVE_PRIOR_FUNCS" = 1; then
38523 cat >>confdefs.h
<<\_ACEOF
38524 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
38528 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
38529 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
38532 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
38533 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
38534 if test "${ac_cv_func_pthread_cancel+set}" = set; then
38535 echo $ECHO_N "(cached) $ECHO_C" >&6
38537 cat >conftest.
$ac_ext <<_ACEOF
38540 cat confdefs.h
>>conftest.
$ac_ext
38541 cat >>conftest.
$ac_ext <<_ACEOF
38542 /* end confdefs.h. */
38543 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
38544 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38545 #define pthread_cancel innocuous_pthread_cancel
38547 /* System header to define __stub macros and hopefully few prototypes,
38548 which can conflict with char pthread_cancel (); below.
38549 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38550 <limits.h> exists even on freestanding compilers. */
38553 # include <limits.h>
38555 # include <assert.h>
38558 #undef pthread_cancel
38560 /* Override any GCC internal prototype to avoid an error.
38561 Use char because int might match the return type of a GCC
38562 builtin and then its argument prototype would still apply. */
38566 char pthread_cancel ();
38567 /* The GNU C library defines this for functions which it implements
38568 to always fail with ENOSYS. Some functions are actually named
38569 something starting with __ and the normal name is an alias. */
38570 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
38577 return pthread_cancel ();
38582 rm -f conftest.
$ac_objext conftest
$ac_exeext
38583 if { (ac_try
="$ac_link"
38584 case "(($ac_try" in
38585 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38586 *) ac_try_echo=$ac_try;;
38588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38589 (eval "$ac_link") 2>conftest.er1
38591 grep -v '^ *+' conftest.er1 >conftest.err
38593 cat conftest.err >&5
38594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38595 (exit $ac_status); } && {
38596 test -z "$ac_c_werror_flag" ||
38597 test ! -s conftest.err
38598 } && test -s conftest$ac_exeext &&
38599 $as_test_x conftest$ac_exeext; then
38600 ac_cv_func_pthread_cancel=yes
38602 echo "$as_me: failed program was:" >&5
38603 sed 's/^/| /' conftest.$ac_ext >&5
38605 ac_cv_func_pthread_cancel=no
38608 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38609 conftest$ac_exeext conftest.$ac_ext
38611 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
38612 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
38613 if test $ac_cv_func_pthread_cancel = yes; then
38614 cat >>confdefs.h <<\_ACEOF
38615 #define HAVE_PTHREAD_CANCEL 1
38619 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
38620 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
38624 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
38625 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
38626 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
38627 echo $ECHO_N "(cached) $ECHO_C" >&6
38629 cat >conftest.$ac_ext <<_ACEOF
38632 cat confdefs.h >>conftest.$ac_ext
38633 cat >>conftest.$ac_ext <<_ACEOF
38634 /* end confdefs.h. */
38635 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
38636 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38637 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
38639 /* System header to define __stub macros and hopefully few prototypes,
38640 which can conflict with char pthread_mutex_timedlock (); below.
38641 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38642 <limits.h> exists even on freestanding compilers. */
38645 # include <limits.h>
38647 # include <assert.h>
38650 #undef pthread_mutex_timedlock
38652 /* Override any GCC internal prototype to avoid an error.
38653 Use char because int might match the return type of a GCC
38654 builtin and then its argument prototype would still apply. */
38658 char pthread_mutex_timedlock ();
38659 /* The GNU C library defines this for functions which it implements
38660 to always fail with ENOSYS. Some functions are actually named
38661 something starting with __ and the normal name is an alias. */
38662 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
38669 return pthread_mutex_timedlock ();
38674 rm -f conftest.$ac_objext conftest$ac_exeext
38675 if { (ac_try="$ac_link"
38676 case "(($ac_try" in
38677 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38678 *) ac_try_echo
=$ac_try;;
38680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38681 (eval "$ac_link") 2>conftest.er1
38683 grep -v '^ *+' conftest.er1
>conftest.err
38685 cat conftest.err
>&5
38686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38687 (exit $ac_status); } && {
38688 test -z "$ac_c_werror_flag" ||
38689 test ! -s conftest.err
38690 } && test -s conftest
$ac_exeext &&
38691 $as_test_x conftest
$ac_exeext; then
38692 ac_cv_func_pthread_mutex_timedlock
=yes
38694 echo "$as_me: failed program was:" >&5
38695 sed 's/^/| /' conftest.
$ac_ext >&5
38697 ac_cv_func_pthread_mutex_timedlock
=no
38700 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38701 conftest
$ac_exeext conftest.
$ac_ext
38703 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
38704 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
38705 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
38706 cat >>confdefs.h
<<\_ACEOF
38707 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
38711 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
38712 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
38716 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
38717 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
38718 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
38719 echo $ECHO_N "(cached) $ECHO_C" >&6
38721 cat >conftest.
$ac_ext <<_ACEOF
38724 cat confdefs.h
>>conftest.
$ac_ext
38725 cat >>conftest.
$ac_ext <<_ACEOF
38726 /* end confdefs.h. */
38727 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
38728 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38729 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
38731 /* System header to define __stub macros and hopefully few prototypes,
38732 which can conflict with char pthread_attr_setstacksize (); below.
38733 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38734 <limits.h> exists even on freestanding compilers. */
38737 # include <limits.h>
38739 # include <assert.h>
38742 #undef pthread_attr_setstacksize
38744 /* Override any GCC internal prototype to avoid an error.
38745 Use char because int might match the return type of a GCC
38746 builtin and then its argument prototype would still apply. */
38750 char pthread_attr_setstacksize ();
38751 /* The GNU C library defines this for functions which it implements
38752 to always fail with ENOSYS. Some functions are actually named
38753 something starting with __ and the normal name is an alias. */
38754 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
38761 return pthread_attr_setstacksize ();
38766 rm -f conftest.
$ac_objext conftest
$ac_exeext
38767 if { (ac_try
="$ac_link"
38768 case "(($ac_try" in
38769 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38770 *) ac_try_echo=$ac_try;;
38772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38773 (eval "$ac_link") 2>conftest.er1
38775 grep -v '^ *+' conftest.er1 >conftest.err
38777 cat conftest.err >&5
38778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38779 (exit $ac_status); } && {
38780 test -z "$ac_c_werror_flag" ||
38781 test ! -s conftest.err
38782 } && test -s conftest$ac_exeext &&
38783 $as_test_x conftest$ac_exeext; then
38784 ac_cv_func_pthread_attr_setstacksize=yes
38786 echo "$as_me: failed program was:" >&5
38787 sed 's/^/| /' conftest.$ac_ext >&5
38789 ac_cv_func_pthread_attr_setstacksize=no
38792 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38793 conftest$ac_exeext conftest.$ac_ext
38795 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
38796 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
38797 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
38798 cat >>confdefs.h <<\_ACEOF
38799 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
38806 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
38807 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
38808 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
38809 echo $ECHO_N "(cached) $ECHO_C" >&6
38812 cat >conftest.$ac_ext <<_ACEOF
38815 cat confdefs.h >>conftest.$ac_ext
38816 cat >>conftest.$ac_ext <<_ACEOF
38817 /* end confdefs.h. */
38818 #include <pthread.h>
38823 pthread_mutexattr_t attr;
38824 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38830 rm -f conftest.$ac_objext
38831 if { (ac_try="$ac_compile"
38832 case "(($ac_try" in
38833 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38834 *) ac_try_echo
=$ac_try;;
38836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38837 (eval "$ac_compile") 2>conftest.er1
38839 grep -v '^ *+' conftest.er1
>conftest.err
38841 cat conftest.err
>&5
38842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38843 (exit $ac_status); } && {
38844 test -z "$ac_c_werror_flag" ||
38845 test ! -s conftest.err
38846 } && test -s conftest.
$ac_objext; then
38847 wx_cv_type_pthread_mutexattr_t
=yes
38849 echo "$as_me: failed program was:" >&5
38850 sed 's/^/| /' conftest.
$ac_ext >&5
38852 wx_cv_type_pthread_mutexattr_t
=no
38856 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38859 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
38860 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
38862 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
38863 cat >>confdefs.h
<<\_ACEOF
38864 #define HAVE_PTHREAD_MUTEXATTR_T 1
38868 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
38869 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
38870 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
38871 echo $ECHO_N "(cached) $ECHO_C" >&6
38874 cat >conftest.
$ac_ext <<_ACEOF
38877 cat confdefs.h
>>conftest.
$ac_ext
38878 cat >>conftest.
$ac_ext <<_ACEOF
38879 /* end confdefs.h. */
38880 #include <pthread.h>
38885 pthread_mutexattr_t attr;
38886 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38892 rm -f conftest.
$ac_objext
38893 if { (ac_try
="$ac_compile"
38894 case "(($ac_try" in
38895 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38896 *) ac_try_echo=$ac_try;;
38898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38899 (eval "$ac_compile") 2>conftest.er1
38901 grep -v '^ *+' conftest.er1 >conftest.err
38903 cat conftest.err >&5
38904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38905 (exit $ac_status); } && {
38906 test -z "$ac_c_werror_flag" ||
38907 test ! -s conftest.err
38908 } && test -s conftest.$ac_objext; then
38909 wx_cv_func_pthread_mutexattr_settype_decl=yes
38911 echo "$as_me: failed program was:" >&5
38912 sed 's/^/| /' conftest.$ac_ext >&5
38914 wx_cv_func_pthread_mutexattr_settype_decl=no
38918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38921 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
38922 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
38923 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
38924 cat >>confdefs.h <<\_ACEOF
38925 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
38930 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
38931 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
38932 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
38933 echo $ECHO_N "(cached) $ECHO_C" >&6
38936 cat >conftest.$ac_ext <<_ACEOF
38939 cat confdefs.h >>conftest.$ac_ext
38940 cat >>conftest.$ac_ext <<_ACEOF
38941 /* end confdefs.h. */
38942 #include <pthread.h>
38947 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
38953 rm -f conftest.$ac_objext
38954 if { (ac_try="$ac_compile"
38955 case "(($ac_try" in
38956 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38957 *) ac_try_echo
=$ac_try;;
38959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38960 (eval "$ac_compile") 2>conftest.er1
38962 grep -v '^ *+' conftest.er1
>conftest.err
38964 cat conftest.err
>&5
38965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38966 (exit $ac_status); } && {
38967 test -z "$ac_c_werror_flag" ||
38968 test ! -s conftest.err
38969 } && test -s conftest.
$ac_objext; then
38971 wx_cv_type_pthread_rec_mutex_init
=yes
38974 echo "$as_me: failed program was:" >&5
38975 sed 's/^/| /' conftest.
$ac_ext >&5
38978 wx_cv_type_pthread_rec_mutex_init
=no
38983 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38986 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
38987 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
38988 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
38989 cat >>confdefs.h
<<\_ACEOF
38990 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
38994 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
38995 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
39001 if test "$wxUSE_THREADS" = "yes" ; then
39004 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
39005 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
39006 if test "${wx_cv_cflags_mthread+set}" = set; then
39007 echo $ECHO_N "(cached) $ECHO_C" >&6
39010 CFLAGS_OLD
="$CFLAGS"
39011 CFLAGS
="-mthreads $CFLAGS"
39012 cat >conftest.
$ac_ext <<_ACEOF
39015 cat confdefs.h
>>conftest.
$ac_ext
39016 cat >>conftest.
$ac_ext <<_ACEOF
39017 /* end confdefs.h. */
39027 rm -f conftest.
$ac_objext
39028 if { (ac_try
="$ac_compile"
39029 case "(($ac_try" in
39030 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39031 *) ac_try_echo=$ac_try;;
39033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39034 (eval "$ac_compile") 2>conftest.er1
39036 grep -v '^ *+' conftest.er1 >conftest.err
39038 cat conftest.err >&5
39039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39040 (exit $ac_status); } && {
39041 test -z "$ac_c_werror_flag" ||
39042 test ! -s conftest.err
39043 } && test -s conftest.$ac_objext; then
39044 wx_cv_cflags_mthread=yes
39046 echo "$as_me: failed program was:" >&5
39047 sed 's/^/| /' conftest.$ac_ext >&5
39049 wx_cv_cflags_mthread=no
39053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39057 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
39058 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
39060 if test "$wx_cv_cflags_mthread" = "yes"; then
39061 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
39062 LDFLAGS="$LDFLAGS -mthreads"
39064 CFLAGS="$CFLAGS_OLD"
39068 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
39069 LDFLAGS="$LDFLAGS -Zmt"
39075 { echo "$as_me:$LINENO: checking for localtime_r" >&5
39076 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
39077 if test "${ac_cv_func_localtime_r+set}" = set; then
39078 echo $ECHO_N "(cached) $ECHO_C" >&6
39080 cat >conftest.$ac_ext <<_ACEOF
39083 cat confdefs.h >>conftest.$ac_ext
39084 cat >>conftest.$ac_ext <<_ACEOF
39085 /* end confdefs.h. */
39086 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
39087 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39088 #define localtime_r innocuous_localtime_r
39090 /* System header to define __stub macros and hopefully few prototypes,
39091 which can conflict with char localtime_r (); below.
39092 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39093 <limits.h> exists even on freestanding compilers. */
39096 # include <limits.h>
39098 # include <assert.h>
39103 /* Override any GCC internal prototype to avoid an error.
39104 Use char because int might match the return type of a GCC
39105 builtin and then its argument prototype would still apply. */
39109 char localtime_r ();
39110 /* The GNU C library defines this for functions which it implements
39111 to always fail with ENOSYS. Some functions are actually named
39112 something starting with __ and the normal name is an alias. */
39113 #if defined __stub_localtime_r || defined __stub___localtime_r
39120 return localtime_r ();
39125 rm -f conftest.$ac_objext conftest$ac_exeext
39126 if { (ac_try="$ac_link"
39127 case "(($ac_try" in
39128 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39129 *) ac_try_echo
=$ac_try;;
39131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39132 (eval "$ac_link") 2>conftest.er1
39134 grep -v '^ *+' conftest.er1
>conftest.err
39136 cat conftest.err
>&5
39137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39138 (exit $ac_status); } && {
39139 test -z "$ac_c_werror_flag" ||
39140 test ! -s conftest.err
39141 } && test -s conftest
$ac_exeext &&
39142 $as_test_x conftest
$ac_exeext; then
39143 ac_cv_func_localtime_r
=yes
39145 echo "$as_me: failed program was:" >&5
39146 sed 's/^/| /' conftest.
$ac_ext >&5
39148 ac_cv_func_localtime_r
=no
39151 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39152 conftest
$ac_exeext conftest.
$ac_ext
39154 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
39155 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
39156 if test $ac_cv_func_localtime_r = yes; then
39157 cat >>confdefs.h
<<\_ACEOF
39158 #define HAVE_LOCALTIME_R 1
39163 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
39164 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
39165 if test "${ac_cv_func_gmtime_r+set}" = set; then
39166 echo $ECHO_N "(cached) $ECHO_C" >&6
39168 cat >conftest.
$ac_ext <<_ACEOF
39171 cat confdefs.h
>>conftest.
$ac_ext
39172 cat >>conftest.
$ac_ext <<_ACEOF
39173 /* end confdefs.h. */
39174 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
39175 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39176 #define gmtime_r innocuous_gmtime_r
39178 /* System header to define __stub macros and hopefully few prototypes,
39179 which can conflict with char gmtime_r (); below.
39180 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39181 <limits.h> exists even on freestanding compilers. */
39184 # include <limits.h>
39186 # include <assert.h>
39191 /* Override any GCC internal prototype to avoid an error.
39192 Use char because int might match the return type of a GCC
39193 builtin and then its argument prototype would still apply. */
39198 /* The GNU C library defines this for functions which it implements
39199 to always fail with ENOSYS. Some functions are actually named
39200 something starting with __ and the normal name is an alias. */
39201 #if defined __stub_gmtime_r || defined __stub___gmtime_r
39208 return gmtime_r ();
39213 rm -f conftest.
$ac_objext conftest
$ac_exeext
39214 if { (ac_try
="$ac_link"
39215 case "(($ac_try" in
39216 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39217 *) ac_try_echo=$ac_try;;
39219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39220 (eval "$ac_link") 2>conftest.er1
39222 grep -v '^ *+' conftest.er1 >conftest.err
39224 cat conftest.err >&5
39225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39226 (exit $ac_status); } && {
39227 test -z "$ac_c_werror_flag" ||
39228 test ! -s conftest.err
39229 } && test -s conftest$ac_exeext &&
39230 $as_test_x conftest$ac_exeext; then
39231 ac_cv_func_gmtime_r=yes
39233 echo "$as_me: failed program was:" >&5
39234 sed 's/^/| /' conftest.$ac_ext >&5
39236 ac_cv_func_gmtime_r=no
39239 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39240 conftest$ac_exeext conftest.$ac_ext
39242 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
39243 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
39244 if test $ac_cv_func_gmtime_r = yes; then
39245 cat >>confdefs.h <<\_ACEOF
39246 #define HAVE_GMTIME_R 1
39251 { echo "$as_me:$LINENO: checking for readdir_r" >&5
39252 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6; }
39253 if test "${ac_cv_func_readdir_r+set}" = set; then
39254 echo $ECHO_N "(cached) $ECHO_C" >&6
39256 cat >conftest.$ac_ext <<_ACEOF
39259 cat confdefs.h >>conftest.$ac_ext
39260 cat >>conftest.$ac_ext <<_ACEOF
39261 /* end confdefs.h. */
39262 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
39263 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39264 #define readdir_r innocuous_readdir_r
39266 /* System header to define __stub macros and hopefully few prototypes,
39267 which can conflict with char readdir_r (); below.
39268 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39269 <limits.h> exists even on freestanding compilers. */
39272 # include <limits.h>
39274 # include <assert.h>
39279 /* Override any GCC internal prototype to avoid an error.
39280 Use char because int might match the return type of a GCC
39281 builtin and then its argument prototype would still apply. */
39286 /* The GNU C library defines this for functions which it implements
39287 to always fail with ENOSYS. Some functions are actually named
39288 something starting with __ and the normal name is an alias. */
39289 #if defined __stub_readdir_r || defined __stub___readdir_r
39296 return readdir_r ();
39301 rm -f conftest.$ac_objext conftest$ac_exeext
39302 if { (ac_try="$ac_link"
39303 case "(($ac_try" in
39304 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39305 *) ac_try_echo
=$ac_try;;
39307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39308 (eval "$ac_link") 2>conftest.er1
39310 grep -v '^ *+' conftest.er1
>conftest.err
39312 cat conftest.err
>&5
39313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39314 (exit $ac_status); } && {
39315 test -z "$ac_c_werror_flag" ||
39316 test ! -s conftest.err
39317 } && test -s conftest
$ac_exeext &&
39318 $as_test_x conftest
$ac_exeext; then
39319 ac_cv_func_readdir_r
=yes
39321 echo "$as_me: failed program was:" >&5
39322 sed 's/^/| /' conftest.
$ac_ext >&5
39324 ac_cv_func_readdir_r
=no
39327 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39328 conftest
$ac_exeext conftest.
$ac_ext
39330 { echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
39331 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6; }
39332 if test $ac_cv_func_readdir_r = yes; then
39333 cat >>confdefs.h
<<\_ACEOF
39334 #define HAVE_READDIR_R 1
39343 ac_cpp
='$CPP $CPPFLAGS'
39344 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39345 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39346 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39348 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
39349 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
39351 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
39352 echo $ECHO_N "(cached) $ECHO_C" >&6
39357 ac_cv_func_which_gethostbyname_r
=unknown
39360 # ONE ARGUMENT (sanity check)
39363 # This should fail, as there is no variant of gethostbyname_r() that takes
39364 # a single argument. If it actually compiles, then we can assume that
39365 # netdb.h is not declaring the function, and the compiler is thereby
39366 # assuming an implicit prototype. In which case, we're out of luck.
39368 cat >conftest.
$ac_ext <<_ACEOF
39371 cat confdefs.h
>>conftest.
$ac_ext
39372 cat >>conftest.
$ac_ext <<_ACEOF
39373 /* end confdefs.h. */
39379 char *name = "www.gnu.org";
39380 (void)gethostbyname_r(name) /* ; */
39386 rm -f conftest.
$ac_objext
39387 if { (ac_try
="$ac_compile"
39388 case "(($ac_try" in
39389 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39390 *) ac_try_echo=$ac_try;;
39392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39393 (eval "$ac_compile") 2>conftest.er1
39395 grep -v '^ *+' conftest.er1 >conftest.err
39397 cat conftest.err >&5
39398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39399 (exit $ac_status); } && {
39400 test -z "$ac_c_werror_flag" ||
39401 test ! -s conftest.err
39402 } && test -s conftest.$ac_objext; then
39403 ac_cv_func_which_gethostbyname_r=no
39405 echo "$as_me: failed program was:" >&5
39406 sed 's/^/| /' conftest.$ac_ext >&5
39411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39418 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39420 cat >conftest.$ac_ext <<_ACEOF
39423 cat confdefs.h >>conftest.$ac_ext
39424 cat >>conftest.$ac_ext <<_ACEOF
39425 /* end confdefs.h. */
39431 char *name = "www.gnu.org";
39432 struct hostent ret, *retp;
39436 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
39442 rm -f conftest.$ac_objext
39443 if { (ac_try="$ac_compile"
39444 case "(($ac_try" in
39445 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39446 *) ac_try_echo
=$ac_try;;
39448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39449 (eval "$ac_compile") 2>conftest.er1
39451 grep -v '^ *+' conftest.er1
>conftest.err
39453 cat conftest.err
>&5
39454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39455 (exit $ac_status); } && {
39456 test -z "$ac_c_werror_flag" ||
39457 test ! -s conftest.err
39458 } && test -s conftest.
$ac_objext; then
39459 ac_cv_func_which_gethostbyname_r
=six
39461 echo "$as_me: failed program was:" >&5
39462 sed 's/^/| /' conftest.
$ac_ext >&5
39467 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39476 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39478 cat >conftest.
$ac_ext <<_ACEOF
39481 cat confdefs.h
>>conftest.
$ac_ext
39482 cat >>conftest.
$ac_ext <<_ACEOF
39483 /* end confdefs.h. */
39489 char *name = "www.gnu.org";
39490 struct hostent ret;
39494 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
39500 rm -f conftest.
$ac_objext
39501 if { (ac_try
="$ac_compile"
39502 case "(($ac_try" in
39503 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39504 *) ac_try_echo=$ac_try;;
39506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39507 (eval "$ac_compile") 2>conftest.er1
39509 grep -v '^ *+' conftest.er1 >conftest.err
39511 cat conftest.err >&5
39512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39513 (exit $ac_status); } && {
39514 test -z "$ac_c_werror_flag" ||
39515 test ! -s conftest.err
39516 } && test -s conftest.$ac_objext; then
39517 ac_cv_func_which_gethostbyname_r=five
39519 echo "$as_me: failed program was:" >&5
39520 sed 's/^/| /' conftest.$ac_ext >&5
39525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39531 # (e.g. AIX, HP-UX, Tru64)
39534 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39536 cat >conftest.$ac_ext <<_ACEOF
39539 cat confdefs.h >>conftest.$ac_ext
39540 cat >>conftest.$ac_ext <<_ACEOF
39541 /* end confdefs.h. */
39547 char *name = "www.gnu.org";
39548 struct hostent ret;
39549 struct hostent_data data;
39550 (void)gethostbyname_r(name, &ret, &data) /* ; */
39556 rm -f conftest.$ac_objext
39557 if { (ac_try="$ac_compile"
39558 case "(($ac_try" in
39559 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39560 *) ac_try_echo
=$ac_try;;
39562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39563 (eval "$ac_compile") 2>conftest.er1
39565 grep -v '^ *+' conftest.er1
>conftest.err
39567 cat conftest.err
>&5
39568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39569 (exit $ac_status); } && {
39570 test -z "$ac_c_werror_flag" ||
39571 test ! -s conftest.err
39572 } && test -s conftest.
$ac_objext; then
39573 ac_cv_func_which_gethostbyname_r
=three
39575 echo "$as_me: failed program was:" >&5
39576 sed 's/^/| /' conftest.
$ac_ext >&5
39581 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39589 case "$ac_cv_func_which_gethostbyname_r" in
39591 { echo "$as_me:$LINENO: result: three" >&5
39592 echo "${ECHO_T}three" >&6; }
39593 cat >>confdefs.h
<<\_ACEOF
39594 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
39600 { echo "$as_me:$LINENO: result: five" >&5
39601 echo "${ECHO_T}five" >&6; }
39602 cat >>confdefs.h
<<\_ACEOF
39603 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
39609 { echo "$as_me:$LINENO: result: six" >&5
39610 echo "${ECHO_T}six" >&6; }
39611 cat >>confdefs.h
<<\_ACEOF
39612 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
39618 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
39619 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
39623 { echo "$as_me:$LINENO: result: can't tell" >&5
39624 echo "${ECHO_T}can't tell" >&6; }
39628 { { echo "$as_me:$LINENO: error: internal error" >&5
39629 echo "$as_me: error: internal error" >&2;}
39630 { (exit 1); exit 1; }; }
39635 ac_cpp
='$CPP $CPPFLAGS'
39636 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39637 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39638 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39642 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
39643 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
39644 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
39645 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
39646 if test "${ac_cv_func_gethostbyname+set}" = set; then
39647 echo $ECHO_N "(cached) $ECHO_C" >&6
39649 cat >conftest.
$ac_ext <<_ACEOF
39652 cat confdefs.h
>>conftest.
$ac_ext
39653 cat >>conftest.
$ac_ext <<_ACEOF
39654 /* end confdefs.h. */
39655 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
39656 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39657 #define gethostbyname innocuous_gethostbyname
39659 /* System header to define __stub macros and hopefully few prototypes,
39660 which can conflict with char gethostbyname (); below.
39661 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39662 <limits.h> exists even on freestanding compilers. */
39665 # include <limits.h>
39667 # include <assert.h>
39670 #undef gethostbyname
39672 /* Override any GCC internal prototype to avoid an error.
39673 Use char because int might match the return type of a GCC
39674 builtin and then its argument prototype would still apply. */
39678 char gethostbyname ();
39679 /* The GNU C library defines this for functions which it implements
39680 to always fail with ENOSYS. Some functions are actually named
39681 something starting with __ and the normal name is an alias. */
39682 #if defined __stub_gethostbyname || defined __stub___gethostbyname
39689 return gethostbyname ();
39694 rm -f conftest.
$ac_objext conftest
$ac_exeext
39695 if { (ac_try
="$ac_link"
39696 case "(($ac_try" in
39697 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39698 *) ac_try_echo=$ac_try;;
39700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39701 (eval "$ac_link") 2>conftest.er1
39703 grep -v '^ *+' conftest.er1 >conftest.err
39705 cat conftest.err >&5
39706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39707 (exit $ac_status); } && {
39708 test -z "$ac_c_werror_flag" ||
39709 test ! -s conftest.err
39710 } && test -s conftest$ac_exeext &&
39711 $as_test_x conftest$ac_exeext; then
39712 ac_cv_func_gethostbyname=yes
39714 echo "$as_me: failed program was:" >&5
39715 sed 's/^/| /' conftest.$ac_ext >&5
39717 ac_cv_func_gethostbyname=no
39720 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39721 conftest$ac_exeext conftest.$ac_ext
39723 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
39724 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
39725 if test $ac_cv_func_gethostbyname = yes; then
39726 cat >>confdefs.h <<\_ACEOF
39727 #define HAVE_GETHOSTBYNAME 1
39733 { echo "$as_me:$LINENO: checking for getservbyname_r" >&5
39734 echo $ECHO_N "checking for getservbyname_r... $ECHO_C" >&6; }
39735 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
39736 echo $ECHO_N "(cached) $ECHO_C" >&6
39739 { echo "$as_me:$LINENO: checking for getservbyname_r" >&5
39740 echo $ECHO_N "checking for getservbyname_r... $ECHO_C" >&6; }
39741 if test "${ac_cv_func_getservbyname_r+set}" = set; then
39742 echo $ECHO_N "(cached) $ECHO_C" >&6
39744 cat >conftest.$ac_ext <<_ACEOF
39747 cat confdefs.h >>conftest.$ac_ext
39748 cat >>conftest.$ac_ext <<_ACEOF
39749 /* end confdefs.h. */
39750 /* Define getservbyname_r to an innocuous variant, in case <limits.h> declares getservbyname_r.
39751 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39752 #define getservbyname_r innocuous_getservbyname_r
39754 /* System header to define __stub macros and hopefully few prototypes,
39755 which can conflict with char getservbyname_r (); below.
39756 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39757 <limits.h> exists even on freestanding compilers. */
39760 # include <limits.h>
39762 # include <assert.h>
39765 #undef getservbyname_r
39767 /* Override any GCC internal prototype to avoid an error.
39768 Use char because int might match the return type of a GCC
39769 builtin and then its argument prototype would still apply. */
39773 char getservbyname_r ();
39774 /* The GNU C library defines this for functions which it implements
39775 to always fail with ENOSYS. Some functions are actually named
39776 something starting with __ and the normal name is an alias. */
39777 #if defined __stub_getservbyname_r || defined __stub___getservbyname_r
39784 return getservbyname_r ();
39789 rm -f conftest.$ac_objext conftest$ac_exeext
39790 if { (ac_try="$ac_link"
39791 case "(($ac_try" in
39792 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39793 *) ac_try_echo
=$ac_try;;
39795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39796 (eval "$ac_link") 2>conftest.er1
39798 grep -v '^ *+' conftest.er1
>conftest.err
39800 cat conftest.err
>&5
39801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39802 (exit $ac_status); } && {
39803 test -z "$ac_c_werror_flag" ||
39804 test ! -s conftest.err
39805 } && test -s conftest
$ac_exeext &&
39806 $as_test_x conftest
$ac_exeext; then
39807 ac_cv_func_getservbyname_r
=yes
39809 echo "$as_me: failed program was:" >&5
39810 sed 's/^/| /' conftest.
$ac_ext >&5
39812 ac_cv_func_getservbyname_r
=no
39815 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39816 conftest
$ac_exeext conftest.
$ac_ext
39818 { echo "$as_me:$LINENO: result: $ac_cv_func_getservbyname_r" >&5
39819 echo "${ECHO_T}$ac_cv_func_getservbyname_r" >&6; }
39820 if test $ac_cv_func_getservbyname_r = yes; then
39822 cat >conftest.
$ac_ext <<_ACEOF
39825 cat confdefs.h
>>conftest.
$ac_ext
39826 cat >>conftest.
$ac_ext <<_ACEOF
39827 /* end confdefs.h. */
39829 # include <netdb.h>
39838 struct servent *se;
39839 struct servent_data data;
39840 (void) getservbyname_r(name, proto, se, &data);
39847 rm -f conftest.
$ac_objext
39848 if { (ac_try
="$ac_compile"
39849 case "(($ac_try" in
39850 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39851 *) ac_try_echo=$ac_try;;
39853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39854 (eval "$ac_compile") 2>conftest.er1
39856 grep -v '^ *+' conftest.er1 >conftest.err
39858 cat conftest.err >&5
39859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39860 (exit $ac_status); } && {
39861 test -z "$ac_c_werror_flag" ||
39862 test ! -s conftest.err
39863 } && test -s conftest.$ac_objext; then
39864 ac_cv_func_which_getservbyname_r=four
39866 echo "$as_me: failed program was:" >&5
39867 sed 's/^/| /' conftest.$ac_ext >&5
39870 cat >conftest.$ac_ext <<_ACEOF
39873 cat confdefs.h >>conftest.$ac_ext
39874 cat >>conftest.$ac_ext <<_ACEOF
39875 /* end confdefs.h. */
39877 # include <netdb.h>
39885 struct servent *se, *res;
39888 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
39894 rm -f conftest.$ac_objext
39895 if { (ac_try="$ac_compile"
39896 case "(($ac_try" in
39897 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39898 *) ac_try_echo
=$ac_try;;
39900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39901 (eval "$ac_compile") 2>conftest.er1
39903 grep -v '^ *+' conftest.er1
>conftest.err
39905 cat conftest.err
>&5
39906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39907 (exit $ac_status); } && {
39908 test -z "$ac_c_werror_flag" ||
39909 test ! -s conftest.err
39910 } && test -s conftest.
$ac_objext; then
39911 ac_cv_func_which_getservbyname_r
=six
39913 echo "$as_me: failed program was:" >&5
39914 sed 's/^/| /' conftest.
$ac_ext >&5
39917 cat >conftest.
$ac_ext <<_ACEOF
39920 cat confdefs.h
>>conftest.
$ac_ext
39921 cat >>conftest.
$ac_ext <<_ACEOF
39922 /* end confdefs.h. */
39924 # include <netdb.h>
39932 struct servent *se;
39935 (void) getservbyname_r(name, proto, se, buffer, buflen)
39941 rm -f conftest.
$ac_objext
39942 if { (ac_try
="$ac_compile"
39943 case "(($ac_try" in
39944 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39945 *) ac_try_echo=$ac_try;;
39947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39948 (eval "$ac_compile") 2>conftest.er1
39950 grep -v '^ *+' conftest.er1 >conftest.err
39952 cat conftest.err >&5
39953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39954 (exit $ac_status); } && {
39955 test -z "$ac_c_werror_flag" ||
39956 test ! -s conftest.err
39957 } && test -s conftest.$ac_objext; then
39958 ac_cv_func_which_getservbyname_r=five
39960 echo "$as_me: failed program was:" >&5
39961 sed 's/^/| /' conftest.$ac_ext >&5
39963 ac_cv_func_which_getservbyname_r=no
39966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39981 ac_cv_func_which_getservbyname_r=no
39985 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
39986 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
39988 if test $ac_cv_func_which_getservbyname_r = six; then
39989 cat >>confdefs.h <<\_ACEOF
39990 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
39993 elif test $ac_cv_func_which_getservbyname_r = five; then
39994 cat >>confdefs.h <<\_ACEOF
39995 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
39998 elif test $ac_cv_func_which_getservbyname_r = four; then
39999 cat >>confdefs.h <<\_ACEOF
40000 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
40007 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
40008 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
40010 for ac_func in getservbyname
40012 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40013 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40014 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40015 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40016 echo $ECHO_N "(cached) $ECHO_C" >&6
40018 cat >conftest.$ac_ext <<_ACEOF
40021 cat confdefs.h >>conftest.$ac_ext
40022 cat >>conftest.$ac_ext <<_ACEOF
40023 /* end confdefs.h. */
40024 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40025 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40026 #define $ac_func innocuous_$ac_func
40028 /* System header to define __stub macros and hopefully few prototypes,
40029 which can conflict with char $ac_func (); below.
40030 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40031 <limits.h> exists even on freestanding compilers. */
40034 # include <limits.h>
40036 # include <assert.h>
40041 /* Override any GCC internal prototype to avoid an error.
40042 Use char because int might match the return type of a GCC
40043 builtin and then its argument prototype would still apply. */
40048 /* The GNU C library defines this for functions which it implements
40049 to always fail with ENOSYS. Some functions are actually named
40050 something starting with __ and the normal name is an alias. */
40051 #if defined __stub_$ac_func || defined __stub___$ac_func
40058 return $ac_func ();
40063 rm -f conftest.$ac_objext conftest$ac_exeext
40064 if { (ac_try="$ac_link"
40065 case "(($ac_try" in
40066 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40067 *) ac_try_echo
=$ac_try;;
40069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40070 (eval "$ac_link") 2>conftest.er1
40072 grep -v '^ *+' conftest.er1
>conftest.err
40074 cat conftest.err
>&5
40075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40076 (exit $ac_status); } && {
40077 test -z "$ac_c_werror_flag" ||
40078 test ! -s conftest.err
40079 } && test -s conftest
$ac_exeext &&
40080 $as_test_x conftest
$ac_exeext; then
40081 eval "$as_ac_var=yes"
40083 echo "$as_me: failed program was:" >&5
40084 sed 's/^/| /' conftest.
$ac_ext >&5
40086 eval "$as_ac_var=no"
40089 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40090 conftest
$ac_exeext conftest.
$ac_ext
40092 ac_res
=`eval echo '${'$as_ac_var'}'`
40093 { echo "$as_me:$LINENO: result: $ac_res" >&5
40094 echo "${ECHO_T}$ac_res" >&6; }
40095 if test `eval echo '${'$as_ac_var'}'` = yes; then
40096 cat >>confdefs.h
<<_ACEOF
40097 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40099 cat >>confdefs.h
<<\_ACEOF
40100 #define HAVE_GETSERVBYNAME 1
40108 if test "$wxUSE_THREADS" = "yes"; then
40109 cat >>confdefs.h
<<\_ACEOF
40110 #define wxUSE_THREADS 1
40114 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
40116 if test "$wx_cv_func_strtok_r" = "yes"; then
40117 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
40118 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
40119 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
40120 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_REENTRANT"
40121 { echo "$as_me:$LINENO: result: yes" >&5
40122 echo "${ECHO_T}yes" >&6; }
40124 { echo "$as_me:$LINENO: result: no" >&5
40125 echo "${ECHO_T}no" >&6; }
40130 if test "$WXGTK20" = 1 ; then
40131 cat >>confdefs.h
<<_ACEOF
40132 #define __WXGTK20__ $WXGTK20
40138 if test "$WXGTK12" = 1 ; then
40139 cat >>confdefs.h
<<_ACEOF
40140 #define __WXGTK12__ $WXGTK12
40145 if test "$WXGTK127" = 1 ; then
40146 cat >>confdefs.h
<<_ACEOF
40147 #define __WXGTK127__ $WXGTK127
40152 if test "$WXGPE" = 1 ; then
40153 cat >>confdefs.h
<<_ACEOF
40154 #define __WXGPE__ $WXGPE
40160 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
40165 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
40166 wxUSE_DEBUG_INFO
=yes
40167 if test "$GCC" = yes; then
40168 DEBUG_CFLAGS
="-ggdb"
40172 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
40173 cat >>confdefs.h
<<\_ACEOF
40177 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
40179 if test "$wxUSE_GTK" = 1 ; then
40180 if test "x$wxGTK_VERSION" = "x1" ; then
40181 CPPFLAGS
="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
40186 if test "$wxUSE_MEM_TRACING" = "yes" ; then
40187 cat >>confdefs.h
<<\_ACEOF
40188 #define wxUSE_MEMORY_TRACING 1
40191 cat >>confdefs.h
<<\_ACEOF
40192 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
40195 cat >>confdefs.h
<<\_ACEOF
40196 #define wxUSE_DEBUG_NEW_ALWAYS 1
40199 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
40202 if test "$wxUSE_DMALLOC" = "yes" ; then
40203 DMALLOC_LIBS
="-ldmallocthcxx"
40207 if test "$wxUSE_PROFILE" = "yes" ; then
40208 PROFILE_FLAGS
=" -pg"
40211 if test "$GCC" = "yes" ; then
40212 if test "$wxUSE_NO_RTTI" = "yes" ; then
40213 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-rtti"
40215 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
40216 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-exceptions"
40218 if test "$wxUSE_PERMISSIVE" = "yes" ; then
40219 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -fpermissive"
40224 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mminimal-toc"
40227 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -ffunction-sections"
40233 if test "$wxUSE_OPTIMISE" = "no" ; then
40234 if test "$GCC" = yes ; then
40235 OPTIMISE_CFLAGS
="-O0"
40238 if test "$GCC" = yes ; then
40240 *-pc-os2_emx | *-pc-os2-emx )
40241 OPTIMISE_CFLAGS
="-O2"
40244 OPTIMISE_CFLAGS
="-O2 -fno-strict-aliasing"
40248 OPTIMISE_CFLAGS
="-O"
40253 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
40254 cat >>confdefs.h
<<\_ACEOF
40255 #define WXWIN_COMPATIBILITY_2_6 1
40259 WXWIN_COMPATIBILITY_2_8
="yes"
40262 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
40263 cat >>confdefs.h
<<\_ACEOF
40264 #define WXWIN_COMPATIBILITY_2_8 1
40270 if test "$wxUSE_GUI" = "yes"; then
40271 cat >>confdefs.h
<<\_ACEOF
40272 #define wxUSE_GUI 1
40279 if test "$wxUSE_UNIX" = "yes"; then
40280 cat >>confdefs.h
<<\_ACEOF
40281 #define wxUSE_UNIX 1
40287 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40291 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40292 if test "$USE_DARWIN" = 1; then
40294 elif test "$USE_DOS" = 1; then
40298 for ac_func
in dlopen
40300 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40301 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40302 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40303 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40304 echo $ECHO_N "(cached) $ECHO_C" >&6
40306 cat >conftest.
$ac_ext <<_ACEOF
40309 cat confdefs.h
>>conftest.
$ac_ext
40310 cat >>conftest.
$ac_ext <<_ACEOF
40311 /* end confdefs.h. */
40312 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40313 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40314 #define $ac_func innocuous_$ac_func
40316 /* System header to define __stub macros and hopefully few prototypes,
40317 which can conflict with char $ac_func (); below.
40318 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40319 <limits.h> exists even on freestanding compilers. */
40322 # include <limits.h>
40324 # include <assert.h>
40329 /* Override any GCC internal prototype to avoid an error.
40330 Use char because int might match the return type of a GCC
40331 builtin and then its argument prototype would still apply. */
40336 /* The GNU C library defines this for functions which it implements
40337 to always fail with ENOSYS. Some functions are actually named
40338 something starting with __ and the normal name is an alias. */
40339 #if defined __stub_$ac_func || defined __stub___$ac_func
40346 return $ac_func ();
40351 rm -f conftest.
$ac_objext conftest
$ac_exeext
40352 if { (ac_try
="$ac_link"
40353 case "(($ac_try" in
40354 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40355 *) ac_try_echo=$ac_try;;
40357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40358 (eval "$ac_link") 2>conftest.er1
40360 grep -v '^ *+' conftest.er1 >conftest.err
40362 cat conftest.err >&5
40363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40364 (exit $ac_status); } && {
40365 test -z "$ac_c_werror_flag" ||
40366 test ! -s conftest.err
40367 } && test -s conftest$ac_exeext &&
40368 $as_test_x conftest$ac_exeext; then
40369 eval "$as_ac_var=yes"
40371 echo "$as_me: failed program was:" >&5
40372 sed 's/^/| /' conftest.$ac_ext >&5
40374 eval "$as_ac_var=no"
40377 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40378 conftest$ac_exeext conftest.$ac_ext
40380 ac_res=`eval echo '${'$as_ac_var'}'`
40381 { echo "$as_me:$LINENO: result: $ac_res" >&5
40382 echo "${ECHO_T}$ac_res" >&6; }
40383 if test `eval echo '${'$as_ac_var'}'` = yes; then
40384 cat >>confdefs.h <<_ACEOF
40385 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40388 cat >>confdefs.h <<\_ACEOF
40389 #define HAVE_DLOPEN 1
40396 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
40397 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
40398 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
40399 echo $ECHO_N "(cached) $ECHO_C" >&6
40401 ac_check_lib_save_LIBS=$LIBS
40403 cat >conftest.$ac_ext <<_ACEOF
40406 cat confdefs.h >>conftest.$ac_ext
40407 cat >>conftest.$ac_ext <<_ACEOF
40408 /* end confdefs.h. */
40410 /* Override any GCC internal prototype to avoid an error.
40411 Use char because int might match the return type of a GCC
40412 builtin and then its argument prototype would still apply. */
40425 rm -f conftest.$ac_objext conftest$ac_exeext
40426 if { (ac_try="$ac_link"
40427 case "(($ac_try" in
40428 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40429 *) ac_try_echo
=$ac_try;;
40431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40432 (eval "$ac_link") 2>conftest.er1
40434 grep -v '^ *+' conftest.er1
>conftest.err
40436 cat conftest.err
>&5
40437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40438 (exit $ac_status); } && {
40439 test -z "$ac_c_werror_flag" ||
40440 test ! -s conftest.err
40441 } && test -s conftest
$ac_exeext &&
40442 $as_test_x conftest
$ac_exeext; then
40443 ac_cv_lib_dl_dlopen
=yes
40445 echo "$as_me: failed program was:" >&5
40446 sed 's/^/| /' conftest.
$ac_ext >&5
40448 ac_cv_lib_dl_dlopen
=no
40451 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40452 conftest
$ac_exeext conftest.
$ac_ext
40453 LIBS
=$ac_check_lib_save_LIBS
40455 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
40456 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
40457 if test $ac_cv_lib_dl_dlopen = yes; then
40459 cat >>confdefs.h
<<\_ACEOF
40460 #define HAVE_DLOPEN 1
40464 DL_LINK
=" -ldl$DL_LINK"
40469 for ac_func
in shl_load
40471 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40472 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40473 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40474 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40475 echo $ECHO_N "(cached) $ECHO_C" >&6
40477 cat >conftest.
$ac_ext <<_ACEOF
40480 cat confdefs.h
>>conftest.
$ac_ext
40481 cat >>conftest.
$ac_ext <<_ACEOF
40482 /* end confdefs.h. */
40483 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40484 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40485 #define $ac_func innocuous_$ac_func
40487 /* System header to define __stub macros and hopefully few prototypes,
40488 which can conflict with char $ac_func (); below.
40489 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40490 <limits.h> exists even on freestanding compilers. */
40493 # include <limits.h>
40495 # include <assert.h>
40500 /* Override any GCC internal prototype to avoid an error.
40501 Use char because int might match the return type of a GCC
40502 builtin and then its argument prototype would still apply. */
40507 /* The GNU C library defines this for functions which it implements
40508 to always fail with ENOSYS. Some functions are actually named
40509 something starting with __ and the normal name is an alias. */
40510 #if defined __stub_$ac_func || defined __stub___$ac_func
40517 return $ac_func ();
40522 rm -f conftest.
$ac_objext conftest
$ac_exeext
40523 if { (ac_try
="$ac_link"
40524 case "(($ac_try" in
40525 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40526 *) ac_try_echo=$ac_try;;
40528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40529 (eval "$ac_link") 2>conftest.er1
40531 grep -v '^ *+' conftest.er1 >conftest.err
40533 cat conftest.err >&5
40534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40535 (exit $ac_status); } && {
40536 test -z "$ac_c_werror_flag" ||
40537 test ! -s conftest.err
40538 } && test -s conftest$ac_exeext &&
40539 $as_test_x conftest$ac_exeext; then
40540 eval "$as_ac_var=yes"
40542 echo "$as_me: failed program was:" >&5
40543 sed 's/^/| /' conftest.$ac_ext >&5
40545 eval "$as_ac_var=no"
40548 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40549 conftest$ac_exeext conftest.$ac_ext
40551 ac_res=`eval echo '${'$as_ac_var'}'`
40552 { echo "$as_me:$LINENO: result: $ac_res" >&5
40553 echo "${ECHO_T}$ac_res" >&6; }
40554 if test `eval echo '${'$as_ac_var'}'` = yes; then
40555 cat >>confdefs.h <<_ACEOF
40556 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40559 cat >>confdefs.h <<\_ACEOF
40560 #define HAVE_SHL_LOAD 1
40567 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
40568 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
40569 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
40570 echo $ECHO_N "(cached) $ECHO_C" >&6
40572 ac_check_lib_save_LIBS=$LIBS
40573 LIBS="-lshl_load $LIBS"
40574 cat >conftest.$ac_ext <<_ACEOF
40577 cat confdefs.h >>conftest.$ac_ext
40578 cat >>conftest.$ac_ext <<_ACEOF
40579 /* end confdefs.h. */
40581 /* Override any GCC internal prototype to avoid an error.
40582 Use char because int might match the return type of a GCC
40583 builtin and then its argument prototype would still apply. */
40596 rm -f conftest.$ac_objext conftest$ac_exeext
40597 if { (ac_try="$ac_link"
40598 case "(($ac_try" in
40599 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40600 *) ac_try_echo
=$ac_try;;
40602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40603 (eval "$ac_link") 2>conftest.er1
40605 grep -v '^ *+' conftest.er1
>conftest.err
40607 cat conftest.err
>&5
40608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40609 (exit $ac_status); } && {
40610 test -z "$ac_c_werror_flag" ||
40611 test ! -s conftest.err
40612 } && test -s conftest
$ac_exeext &&
40613 $as_test_x conftest
$ac_exeext; then
40614 ac_cv_lib_shl_load_dld
=yes
40616 echo "$as_me: failed program was:" >&5
40617 sed 's/^/| /' conftest.
$ac_ext >&5
40619 ac_cv_lib_shl_load_dld
=no
40622 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40623 conftest
$ac_exeext conftest.
$ac_ext
40624 LIBS
=$ac_check_lib_save_LIBS
40626 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
40627 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
40628 if test $ac_cv_lib_shl_load_dld = yes; then
40631 DL_LINK
=" -ldld$DL_LINK"
40647 if test "$HAVE_DL_FUNCS" = 1; then
40649 for ac_func
in dlerror
40651 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40652 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40653 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40654 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40655 echo $ECHO_N "(cached) $ECHO_C" >&6
40657 cat >conftest.
$ac_ext <<_ACEOF
40660 cat confdefs.h
>>conftest.
$ac_ext
40661 cat >>conftest.
$ac_ext <<_ACEOF
40662 /* end confdefs.h. */
40663 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40664 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40665 #define $ac_func innocuous_$ac_func
40667 /* System header to define __stub macros and hopefully few prototypes,
40668 which can conflict with char $ac_func (); below.
40669 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40670 <limits.h> exists even on freestanding compilers. */
40673 # include <limits.h>
40675 # include <assert.h>
40680 /* Override any GCC internal prototype to avoid an error.
40681 Use char because int might match the return type of a GCC
40682 builtin and then its argument prototype would still apply. */
40687 /* The GNU C library defines this for functions which it implements
40688 to always fail with ENOSYS. Some functions are actually named
40689 something starting with __ and the normal name is an alias. */
40690 #if defined __stub_$ac_func || defined __stub___$ac_func
40697 return $ac_func ();
40702 rm -f conftest.
$ac_objext conftest
$ac_exeext
40703 if { (ac_try
="$ac_link"
40704 case "(($ac_try" in
40705 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40706 *) ac_try_echo=$ac_try;;
40708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40709 (eval "$ac_link") 2>conftest.er1
40711 grep -v '^ *+' conftest.er1 >conftest.err
40713 cat conftest.err >&5
40714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40715 (exit $ac_status); } && {
40716 test -z "$ac_c_werror_flag" ||
40717 test ! -s conftest.err
40718 } && test -s conftest$ac_exeext &&
40719 $as_test_x conftest$ac_exeext; then
40720 eval "$as_ac_var=yes"
40722 echo "$as_me: failed program was:" >&5
40723 sed 's/^/| /' conftest.$ac_ext >&5
40725 eval "$as_ac_var=no"
40728 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40729 conftest$ac_exeext conftest.$ac_ext
40731 ac_res=`eval echo '${'$as_ac_var'}'`
40732 { echo "$as_me:$LINENO: result: $ac_res" >&5
40733 echo "${ECHO_T}$ac_res" >&6; }
40734 if test `eval echo '${'$as_ac_var'}'` = yes; then
40735 cat >>confdefs.h <<_ACEOF
40736 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40738 cat >>confdefs.h <<\_ACEOF
40739 #define HAVE_DLERROR 1
40744 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
40745 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
40746 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
40747 echo $ECHO_N "(cached) $ECHO_C" >&6
40749 ac_check_lib_save_LIBS=$LIBS
40751 cat >conftest.$ac_ext <<_ACEOF
40754 cat confdefs.h >>conftest.$ac_ext
40755 cat >>conftest.$ac_ext <<_ACEOF
40756 /* end confdefs.h. */
40758 /* Override any GCC internal prototype to avoid an error.
40759 Use char because int might match the return type of a GCC
40760 builtin and then its argument prototype would still apply. */
40773 rm -f conftest.$ac_objext conftest$ac_exeext
40774 if { (ac_try="$ac_link"
40775 case "(($ac_try" in
40776 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40777 *) ac_try_echo
=$ac_try;;
40779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40780 (eval "$ac_link") 2>conftest.er1
40782 grep -v '^ *+' conftest.er1
>conftest.err
40784 cat conftest.err
>&5
40785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40786 (exit $ac_status); } && {
40787 test -z "$ac_c_werror_flag" ||
40788 test ! -s conftest.err
40789 } && test -s conftest
$ac_exeext &&
40790 $as_test_x conftest
$ac_exeext; then
40791 ac_cv_lib_dl_dlerror
=yes
40793 echo "$as_me: failed program was:" >&5
40794 sed 's/^/| /' conftest.
$ac_ext >&5
40796 ac_cv_lib_dl_dlerror
=no
40799 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40800 conftest
$ac_exeext conftest.
$ac_ext
40801 LIBS
=$ac_check_lib_save_LIBS
40803 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
40804 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
40805 if test $ac_cv_lib_dl_dlerror = yes; then
40806 cat >>confdefs.h
<<\_ACEOF
40807 #define HAVE_DLERROR 1
40820 if test "$HAVE_DL_FUNCS" = 0; then
40821 if test "$HAVE_SHL_FUNCS" = 0; then
40822 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
40823 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
40824 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
40825 wxUSE_DYNAMIC_LOADER
=no
40826 wxUSE_DYNLIB_CLASS
=no
40828 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
40829 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
40836 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
40837 cat >>confdefs.h
<<\_ACEOF
40838 #define wxUSE_DYNAMIC_LOADER 1
40842 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40843 cat >>confdefs.h
<<\_ACEOF
40844 #define wxUSE_DYNLIB_CLASS 1
40851 if test "$wxUSE_PLUGINS" = "yes" ; then
40852 if test "$wxUSE_SHARED" = "no" ; then
40853 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
40854 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
40857 if test "$wxUSE_MONOLITHIC" = "yes" ; then
40858 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
40859 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
40862 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
40863 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
40864 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
40867 if test "$wxUSE_PLUGINS" = "yes" ; then
40868 cat >>confdefs.h
<<\_ACEOF
40869 #define wxUSE_PLUGINS 1
40876 if test "$wxUSE_STL" = "yes"; then
40877 cat >>confdefs.h
<<\_ACEOF
40878 #define wxUSE_STL 1
40883 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
40884 cat >>confdefs.h
<<\_ACEOF
40885 #define wxUSE_EXTENDED_RTTI 1
40890 if test "$wxUSE_APPLE_IEEE" = "yes"; then
40891 cat >>confdefs.h
<<\_ACEOF
40892 #define wxUSE_APPLE_IEEE 1
40897 if test "$wxUSE_TIMER" = "yes"; then
40898 cat >>confdefs.h
<<\_ACEOF
40899 #define wxUSE_TIMER 1
40904 if test "$USE_UNIX" = "1" ; then
40905 if test "$wxUSE_MGL" != 1; then
40906 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
40907 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
40908 if test "${ac_cv_header_sys_soundcard+set}" = set; then
40909 echo $ECHO_N "(cached) $ECHO_C" >&6
40912 cat >conftest.
$ac_ext <<_ACEOF
40915 cat confdefs.h
>>conftest.
$ac_ext
40916 cat >>conftest.
$ac_ext <<_ACEOF
40917 /* end confdefs.h. */
40919 #include <sys/ioctl.h>
40920 #include <sys/soundcard.h>
40926 ioctl(0, SNDCTL_DSP_SPEED, 0);
40932 rm -f conftest.
$ac_objext conftest
$ac_exeext
40933 if { (ac_try
="$ac_link"
40934 case "(($ac_try" in
40935 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40936 *) ac_try_echo=$ac_try;;
40938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40939 (eval "$ac_link") 2>conftest.er1
40941 grep -v '^ *+' conftest.er1 >conftest.err
40943 cat conftest.err >&5
40944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40945 (exit $ac_status); } && {
40946 test -z "$ac_c_werror_flag" ||
40947 test ! -s conftest.err
40948 } && test -s conftest$ac_exeext &&
40949 $as_test_x conftest$ac_exeext; then
40950 ac_cv_header_sys_soundcard=yes
40952 echo "$as_me: failed program was:" >&5
40953 sed 's/^/| /' conftest.$ac_ext >&5
40957 LIBS="$saveLibs -lossaudio"
40958 cat >conftest.$ac_ext <<_ACEOF
40961 cat confdefs.h >>conftest.$ac_ext
40962 cat >>conftest.$ac_ext <<_ACEOF
40963 /* end confdefs.h. */
40965 #include <sys/ioctl.h>
40966 #include <sys/soundcard.h>
40972 ioctl(0, SNDCTL_DSP_SPEED, 0);
40978 rm -f conftest.$ac_objext conftest$ac_exeext
40979 if { (ac_try="$ac_link"
40980 case "(($ac_try" in
40981 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40982 *) ac_try_echo
=$ac_try;;
40984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40985 (eval "$ac_link") 2>conftest.er1
40987 grep -v '^ *+' conftest.er1
>conftest.err
40989 cat conftest.err
>&5
40990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40991 (exit $ac_status); } && {
40992 test -z "$ac_c_werror_flag" ||
40993 test ! -s conftest.err
40994 } && test -s conftest
$ac_exeext &&
40995 $as_test_x conftest
$ac_exeext; then
40996 ac_cv_header_sys_soundcard
=yes
40998 echo "$as_me: failed program was:" >&5
40999 sed 's/^/| /' conftest.
$ac_ext >&5
41003 ac_cv_header_sys_soundcard
=no
41008 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41009 conftest
$ac_exeext conftest.
$ac_ext
41014 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41015 conftest
$ac_exeext conftest.
$ac_ext
41018 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
41019 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
41022 if test "$ac_cv_header_sys_soundcard" = "yes"; then
41023 cat >>confdefs.h
<<\_ACEOF
41024 #define HAVE_SYS_SOUNDCARD_H 1
41031 if test "$wxUSE_SOUND" = "yes"; then
41032 if test "$USE_UNIX" = "1" ; then
41033 if test "$wxUSE_LIBSDL" != "no"; then
41035 # Check whether --with-sdl-prefix was given.
41036 if test "${with_sdl_prefix+set}" = set; then
41037 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
41043 # Check whether --with-sdl-exec-prefix was given.
41044 if test "${with_sdl_exec_prefix+set}" = set; then
41045 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
41050 # Check whether --enable-sdltest was given.
41051 if test "${enable_sdltest+set}" = set; then
41052 enableval
=$enable_sdltest;
41058 if test x
$sdl_exec_prefix != x
; then
41059 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
41060 if test x
${SDL_CONFIG+set} != xset
; then
41061 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
41064 if test x
$sdl_prefix != x
; then
41065 sdl_args
="$sdl_args --prefix=$sdl_prefix"
41066 if test x
${SDL_CONFIG+set} != xset
; then
41067 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
41071 if test "x$prefix" != xNONE
; then
41072 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
41074 # Extract the first word of "sdl-config", so it can be a program name with args.
41075 set dummy sdl
-config; ac_word
=$2
41076 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41077 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41078 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
41079 echo $ECHO_N "(cached) $ECHO_C" >&6
41081 case $SDL_CONFIG in
41083 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
41086 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41087 for as_dir
in $PATH
41090 test -z "$as_dir" && as_dir
=.
41091 for ac_exec_ext
in '' $ac_executable_extensions; do
41092 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41093 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41094 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41101 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
41105 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
41106 if test -n "$SDL_CONFIG"; then
41107 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
41108 echo "${ECHO_T}$SDL_CONFIG" >&6; }
41110 { echo "$as_me:$LINENO: result: no" >&5
41111 echo "${ECHO_T}no" >&6; }
41115 min_sdl_version
=1.2.0
41116 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
41117 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
41119 if test "$SDL_CONFIG" = "no" ; then
41122 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
41123 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
41125 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
41126 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41127 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
41128 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41129 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
41130 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41131 if test "x$enable_sdltest" = "xyes" ; then
41132 ac_save_CFLAGS
="$CFLAGS"
41133 ac_save_CXXFLAGS
="$CXXFLAGS"
41134 ac_save_LIBS
="$LIBS"
41135 CFLAGS
="$CFLAGS $SDL_CFLAGS"
41136 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
41137 LIBS
="$LIBS $SDL_LIBS"
41139 if test "$cross_compiling" = yes; then
41140 echo $ac_n "cross compiling; assumed OK... $ac_c"
41142 cat >conftest.
$ac_ext <<_ACEOF
41145 cat confdefs.h
>>conftest.
$ac_ext
41146 cat >>conftest.
$ac_ext <<_ACEOF
41147 /* end confdefs.h. */
41150 #include <stdlib.h>
41151 #include <string.h>
41155 my_strdup (char *str)
41161 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
41162 strcpy (new_str, str);
41170 int main (int argc, char *argv[])
41172 int major, minor, micro;
41175 /* This hangs on some systems (?)
41176 system ("touch conf.sdltest");
41178 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
41180 /* HP/UX 9 (%@#!) writes to sscanf strings */
41181 tmp_version = my_strdup("$min_sdl_version");
41182 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
41183 printf("%s, bad version string\n", "$min_sdl_version");
41187 if (($sdl_major_version > major) ||
41188 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
41189 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
41195 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
41196 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
41197 printf("*** best to upgrade to the required version.\n");
41198 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
41199 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
41200 printf("*** config.cache before re-running configure\n");
41207 rm -f conftest
$ac_exeext
41208 if { (ac_try
="$ac_link"
41209 case "(($ac_try" in
41210 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41211 *) ac_try_echo=$ac_try;;
41213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41214 (eval "$ac_link") 2>&5
41216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41217 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41218 { (case "(($ac_try" in
41219 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41220 *) ac_try_echo
=$ac_try;;
41222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41223 (eval "$ac_try") 2>&5
41225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41226 (exit $ac_status); }; }; then
41229 echo "$as_me: program exited with status $ac_status" >&5
41230 echo "$as_me: failed program was:" >&5
41231 sed 's/^/| /' conftest.
$ac_ext >&5
41233 ( exit $ac_status )
41236 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
41240 CFLAGS
="$ac_save_CFLAGS"
41241 CXXFLAGS
="$ac_save_CXXFLAGS"
41242 LIBS
="$ac_save_LIBS"
41245 if test "x$no_sdl" = x
; then
41246 { echo "$as_me:$LINENO: result: yes" >&5
41247 echo "${ECHO_T}yes" >&6; }
41249 EXTRALIBS_SDL
="$SDL_LIBS"
41250 CFLAGS
="$SDL_CFLAGS $CFLAGS"
41251 CXXFLAGS
="$SDL_CFLAGS $CXXFLAGS"
41252 cat >>confdefs.h
<<\_ACEOF
41253 #define wxUSE_LIBSDL 1
41258 { echo "$as_me:$LINENO: result: no" >&5
41259 echo "${ECHO_T}no" >&6; }
41260 if test "$SDL_CONFIG" = "no" ; then
41261 echo "*** The sdl-config script installed by SDL could not be found"
41262 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
41263 echo "*** your path, or set the SDL_CONFIG environment variable to the"
41264 echo "*** full path to sdl-config."
41266 if test -f conf.sdltest
; then
41269 echo "*** Could not run SDL test program, checking why..."
41270 CFLAGS
="$CFLAGS $SDL_CFLAGS"
41271 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
41272 LIBS
="$LIBS $SDL_LIBS"
41273 cat >conftest.
$ac_ext <<_ACEOF
41276 cat confdefs.h
>>conftest.
$ac_ext
41277 cat >>conftest.
$ac_ext <<_ACEOF
41278 /* end confdefs.h. */
41283 int main(int argc, char *argv[])
41286 #define main K_and_R_C_main
41296 rm -f conftest.
$ac_objext conftest
$ac_exeext
41297 if { (ac_try
="$ac_link"
41298 case "(($ac_try" in
41299 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41300 *) ac_try_echo=$ac_try;;
41302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41303 (eval "$ac_link") 2>conftest.er1
41305 grep -v '^ *+' conftest.er1 >conftest.err
41307 cat conftest.err >&5
41308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41309 (exit $ac_status); } && {
41310 test -z "$ac_c_werror_flag" ||
41311 test ! -s conftest.err
41312 } && test -s conftest$ac_exeext &&
41313 $as_test_x conftest$ac_exeext; then
41314 echo "*** The test program compiled, but did not run. This usually means"
41315 echo "*** that the run-time linker is not finding SDL or finding the wrong"
41316 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
41317 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
41318 echo "*** to the installed location Also, make sure you have run ldconfig if that"
41319 echo "*** is required on your system"
41321 echo "*** If you have an old version installed, it is best to remove it, although"
41322 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
41324 echo "$as_me: failed program was:" >&5
41325 sed 's/^/| /' conftest.$ac_ext >&5
41327 echo "*** The test program failed to compile or link. See the file config.log for the"
41328 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
41329 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
41330 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
41333 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41334 conftest$ac_exeext conftest.$ac_ext
41335 CFLAGS="$ac_save_CFLAGS"
41336 CXXFLAGS="$ac_save_CXXFLAGS"
41337 LIBS="$ac_save_LIBS"
41348 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
41353 if test "$wxUSE_MGL" = 1; then
41354 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
41355 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
41361 if test "$wxUSE_SOUND" = "yes"; then
41362 cat >>confdefs.h <<\_ACEOF
41363 #define wxUSE_SOUND 1
41366 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
41369 if test "$WXGTK20" = 1; then
41372 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
41373 if test -n "$ac_tool_prefix"; then
41374 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
41375 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
41376 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41377 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41378 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41379 echo $ECHO_N "(cached) $ECHO_C" >&6
41381 case $PKG_CONFIG in
41383 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
41386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41387 for as_dir in $PATH
41390 test -z "$as_dir" && as_dir=.
41391 for ac_exec_ext in '' $ac_executable_extensions; do
41392 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41393 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41394 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41404 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
41405 if test -n "$PKG_CONFIG"; then
41406 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41407 echo "${ECHO_T}$PKG_CONFIG" >&6; }
41409 { echo "$as_me:$LINENO: result: no" >&5
41410 echo "${ECHO_T}no" >&6; }
41415 if test -z "$ac_cv_path_PKG_CONFIG"; then
41416 ac_pt_PKG_CONFIG=$PKG_CONFIG
41417 # Extract the first word of "pkg-config", so it can be a program name with args.
41418 set dummy pkg-config; ac_word=$2
41419 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41420 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41421 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
41422 echo $ECHO_N "(cached) $ECHO_C" >&6
41424 case $ac_pt_PKG_CONFIG in
41426 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
41429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41430 for as_dir in $PATH
41433 test -z "$as_dir" && as_dir=.
41434 for ac_exec_ext in '' $ac_executable_extensions; do
41435 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41436 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41437 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41447 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
41448 if test -n "$ac_pt_PKG_CONFIG"; then
41449 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
41450 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
41452 { echo "$as_me:$LINENO: result: no" >&5
41453 echo "${ECHO_T}no" >&6; }
41456 if test "x$ac_pt_PKG_CONFIG" = x; then
41459 case $cross_compiling:$ac_tool_warned in
41461 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
41462 whose name does not start with the host triplet. If you think this
41463 configuration is useful to you, please write to autoconf@gnu.org." >&5
41464 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
41465 whose name does not start with the host triplet. If you think this
41466 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
41467 ac_tool_warned=yes ;;
41469 PKG_CONFIG=$ac_pt_PKG_CONFIG
41472 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
41476 if test -n "$PKG_CONFIG"; then
41477 _pkg_min_version=0.9.0
41478 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
41479 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
41480 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
41481 { echo "$as_me:$LINENO: result: yes" >&5
41482 echo "${ECHO_T}yes" >&6; }
41484 { echo "$as_me:$LINENO: result: no" >&5
41485 echo "${ECHO_T}no" >&6; }
41491 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
41492 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
41496 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
41497 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
41499 if test -n "$PKG_CONFIG"; then
41500 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
41501 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
41503 if test -n "$PKG_CONFIG" && \
41504 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
41505 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
41507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41508 (exit $ac_status); }; then
41509 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev
/null
`
41517 if test -n "$PKG_CONFIG"; then
41518 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
41519 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
41521 if test -n "$PKG_CONFIG" && \
41522 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
41523 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
41525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41526 (exit $ac_status); }; then
41527 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev
/null
`
41538 if test $pkg_failed = yes; then
41540 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41541 _pkg_short_errors_supported=yes
41543 _pkg_short_errors_supported=no
41545 if test $_pkg_short_errors_supported = yes; then
41546 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
41548 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
41550 # Put the nasty error message in config.log where it belongs
41551 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
41554 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
41555 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
41556 wxUSE_LIBGNOMEPRINT="no"
41559 elif test $pkg_failed = untried; then
41561 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
41562 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
41563 wxUSE_LIBGNOMEPRINT="no"
41567 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
41568 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
41569 { echo "$as_me:$LINENO: result: yes" >&5
41570 echo "${ECHO_T}yes" >&6; }
41572 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
41573 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
41574 cat >>confdefs.h <<\_ACEOF
41575 #define wxUSE_LIBGNOMEPRINT 1
41583 if test "$wxUSE_MIMETYPE" = "yes" ; then
41584 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
41588 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
41589 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
41591 if test -n "$PKG_CONFIG"; then
41592 if test -n "$GNOMEVFS_CFLAGS"; then
41593 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
41595 if test -n "$PKG_CONFIG" && \
41596 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
41597 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
41599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41600 (exit $ac_status); }; then
41601 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev
/null
`
41609 if test -n "$PKG_CONFIG"; then
41610 if test -n "$GNOMEVFS_LIBS"; then
41611 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
41613 if test -n "$PKG_CONFIG" && \
41614 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
41615 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
41617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41618 (exit $ac_status); }; then
41619 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev
/null
`
41630 if test $pkg_failed = yes; then
41632 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41633 _pkg_short_errors_supported=yes
41635 _pkg_short_errors_supported=no
41637 if test $_pkg_short_errors_supported = yes; then
41638 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41640 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41642 # Put the nasty error message in config.log where it belongs
41643 echo "$GNOMEVFS_PKG_ERRORS" >&5
41646 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
41647 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
41648 wxUSE_LIBGNOMEVFS="no"
41651 elif test $pkg_failed = untried; then
41653 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
41654 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
41655 wxUSE_LIBGNOMEVFS="no"
41659 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
41660 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
41661 { echo "$as_me:$LINENO: result: yes" >&5
41662 echo "${ECHO_T}yes" >&6; }
41664 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
41665 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
41666 cat >>confdefs.h <<\_ACEOF
41667 #define wxUSE_LIBGNOMEVFS 1
41675 if test "$wxUSE_LIBHILDON" = "yes" ; then
41678 { echo "$as_me:$LINENO: checking for HILDON" >&5
41679 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
41681 if test -n "$PKG_CONFIG"; then
41682 if test -n "$HILDON_CFLAGS"; then
41683 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
41685 if test -n "$PKG_CONFIG" && \
41686 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
41687 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
41689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41690 (exit $ac_status); }; then
41691 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev
/null
`
41699 if test -n "$PKG_CONFIG"; then
41700 if test -n "$HILDON_LIBS"; then
41701 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
41703 if test -n "$PKG_CONFIG" && \
41704 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
41705 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
41707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41708 (exit $ac_status); }; then
41709 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev
/null
`
41720 if test $pkg_failed = yes; then
41722 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41723 _pkg_short_errors_supported=yes
41725 _pkg_short_errors_supported=no
41727 if test $_pkg_short_errors_supported = yes; then
41728 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
41730 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
41732 # Put the nasty error message in config.log where it belongs
41733 echo "$HILDON_PKG_ERRORS" >&5
41736 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
41737 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
41738 wxUSE_LIBHILDON="no"
41741 elif test $pkg_failed = untried; then
41743 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
41744 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
41745 wxUSE_LIBHILDON="no"
41749 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
41750 HILDON_LIBS=$pkg_cv_HILDON_LIBS
41751 { echo "$as_me:$LINENO: result: yes" >&5
41752 echo "${ECHO_T}yes" >&6; }
41754 EXTRALIBS_HILDON="$HILDON_LIBS"
41755 CFLAGS="$CFLAGS $HILDON_CFLAGS"
41756 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
41757 cat >>confdefs.h <<\_ACEOF
41758 #define wxUSE_LIBHILDON 1
41766 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
41767 cat >>confdefs.h <<\_ACEOF
41768 #define wxUSE_CMDLINE_PARSER 1
41773 if test "$wxUSE_STOPWATCH" = "yes"; then
41774 cat >>confdefs.h <<\_ACEOF
41775 #define wxUSE_STOPWATCH 1
41780 if test "$wxUSE_DATETIME" = "yes"; then
41781 cat >>confdefs.h <<\_ACEOF
41782 #define wxUSE_DATETIME 1
41787 if test "$wxUSE_FILE" = "yes"; then
41788 cat >>confdefs.h <<\_ACEOF
41789 #define wxUSE_FILE 1
41794 if test "$wxUSE_FFILE" = "yes"; then
41795 cat >>confdefs.h <<\_ACEOF
41796 #define wxUSE_FFILE 1
41801 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
41802 if test "$wxUSE_STREAMS" != yes; then
41803 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
41804 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
41805 wxUSE_ARCHIVE_STREAMS=no
41807 cat >>confdefs.h <<\_ACEOF
41808 #define wxUSE_ARCHIVE_STREAMS 1
41814 if test "$wxUSE_ZIPSTREAM" = "yes"; then
41815 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
41816 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
41817 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
41818 elif test "$wxUSE_ZLIB" = "no"; then
41819 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
41820 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
41822 cat >>confdefs.h <<\_ACEOF
41823 #define wxUSE_ZIPSTREAM 1
41829 if test "$wxUSE_TARSTREAM" = "yes"; then
41830 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
41831 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
41832 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
41834 cat >>confdefs.h <<\_ACEOF
41835 #define wxUSE_TARSTREAM 1
41841 if test "$wxUSE_FILESYSTEM" = "yes"; then
41842 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
41843 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
41844 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
41845 wxUSE_FILESYSTEM=no
41847 cat >>confdefs.h <<\_ACEOF
41848 #define wxUSE_FILESYSTEM 1
41854 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
41855 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
41856 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
41857 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
41859 cat >>confdefs.h <<\_ACEOF
41860 #define wxUSE_FS_ARCHIVE 1
41866 if test "$wxUSE_FS_ZIP" = "yes"; then
41867 if test "$wxUSE_FS_ARCHIVE" != yes; then
41868 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
41869 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
41871 cat >>confdefs.h <<\_ACEOF
41872 #define wxUSE_FS_ZIP 1
41878 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41879 if test "$USE_UNIX" != 1; then
41880 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
41881 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
41882 wxUSE_ON_FATAL_EXCEPTION=no
41884 cat >>confdefs.h <<\_ACEOF
41885 #define wxUSE_ON_FATAL_EXCEPTION 1
41891 if test "$wxUSE_STACKWALKER" = "yes"; then
41892 cat >>confdefs.h <<\_ACEOF
41893 #define wxUSE_STACKWALKER 1
41898 if test "$wxUSE_DEBUGREPORT" = "yes"; then
41899 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
41900 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
41901 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
41902 wxUSE_DEBUGREPORT=no
41904 cat >>confdefs.h <<\_ACEOF
41905 #define wxUSE_DEBUGREPORT 1
41908 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41909 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
41914 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
41915 cat >>confdefs.h <<\_ACEOF
41916 #define wxUSE_SNGLINST_CHECKER 1
41921 if test "$wxUSE_BUSYINFO" = "yes"; then
41922 cat >>confdefs.h <<\_ACEOF
41923 #define wxUSE_BUSYINFO 1
41928 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
41929 cat >>confdefs.h <<\_ACEOF
41930 #define wxUSE_STD_IOSTREAM 1
41935 if test "$wxUSE_STD_STRING" = "yes"; then
41936 cat >>confdefs.h <<\_ACEOF
41937 #define wxUSE_STD_STRING 1
41942 if test "$wxUSE_STDPATHS" = "yes"; then
41943 cat >>confdefs.h <<\_ACEOF
41944 #define wxUSE_STDPATHS 1
41949 if test "$wxUSE_TEXTBUFFER" = "yes"; then
41950 cat >>confdefs.h <<\_ACEOF
41951 #define wxUSE_TEXTBUFFER 1
41956 if test "$wxUSE_TEXTFILE" = "yes"; then
41957 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
41958 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
41959 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
41961 cat >>confdefs.h <<\_ACEOF
41962 #define wxUSE_TEXTFILE 1
41968 if test "$wxUSE_CONFIG" = "yes" ; then
41969 if test "$wxUSE_TEXTFILE" != "yes"; then
41970 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
41971 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
41973 cat >>confdefs.h <<\_ACEOF
41974 #define wxUSE_CONFIG 1
41977 cat >>confdefs.h <<\_ACEOF
41978 #define wxUSE_CONFIG_NATIVE 1
41981 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
41985 if test "$wxUSE_INTL" = "yes" ; then
41986 if test "$wxUSE_FILE" != "yes"; then
41987 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
41988 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
41990 cat >>confdefs.h <<\_ACEOF
41991 #define wxUSE_INTL 1
41994 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
41995 GUIDIST="$GUIDIST INTL_DIST"
41999 if test "$wxUSE_LOG" = "yes"; then
42000 cat >>confdefs.h <<\_ACEOF
42001 #define wxUSE_LOG 1
42005 if test "$wxUSE_LOGGUI" = "yes"; then
42006 cat >>confdefs.h <<\_ACEOF
42007 #define wxUSE_LOGGUI 1
42012 if test "$wxUSE_LOGWINDOW" = "yes"; then
42013 cat >>confdefs.h <<\_ACEOF
42014 #define wxUSE_LOGWINDOW 1
42019 if test "$wxUSE_LOGDIALOG" = "yes"; then
42020 cat >>confdefs.h <<\_ACEOF
42021 #define wxUSE_LOG_DIALOG 1
42026 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
42029 if test "$wxUSE_LONGLONG" = "yes"; then
42030 cat >>confdefs.h <<\_ACEOF
42031 #define wxUSE_LONGLONG 1
42036 if test "$wxUSE_GEOMETRY" = "yes"; then
42037 cat >>confdefs.h <<\_ACEOF
42038 #define wxUSE_GEOMETRY 1
42043 if test "$wxUSE_STREAMS" = "yes" ; then
42044 cat >>confdefs.h <<\_ACEOF
42045 #define wxUSE_STREAMS 1
42050 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
42051 cat >>confdefs.h <<\_ACEOF
42052 #define wxUSE_PRINTF_POS_PARAMS 1
42059 if test "$wxUSE_DATETIME" = "yes"; then
42061 for ac_func in strptime
42063 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42064 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42065 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42066 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42067 echo $ECHO_N "(cached) $ECHO_C" >&6
42069 cat >conftest.$ac_ext <<_ACEOF
42072 cat confdefs.h >>conftest.$ac_ext
42073 cat >>conftest.$ac_ext <<_ACEOF
42074 /* end confdefs.h. */
42075 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42076 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42077 #define $ac_func innocuous_$ac_func
42079 /* System header to define __stub macros and hopefully few prototypes,
42080 which can conflict with char $ac_func (); below.
42081 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42082 <limits.h> exists even on freestanding compilers. */
42085 # include <limits.h>
42087 # include <assert.h>
42092 /* Override any GCC internal prototype to avoid an error.
42093 Use char because int might match the return type of a GCC
42094 builtin and then its argument prototype would still apply. */
42099 /* The GNU C library defines this for functions which it implements
42100 to always fail with ENOSYS. Some functions are actually named
42101 something starting with __ and the normal name is an alias. */
42102 #if defined __stub_$ac_func || defined __stub___$ac_func
42109 return $ac_func ();
42114 rm -f conftest.$ac_objext conftest$ac_exeext
42115 if { (ac_try="$ac_link"
42116 case "(($ac_try" in
42117 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42118 *) ac_try_echo
=$ac_try;;
42120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42121 (eval "$ac_link") 2>conftest.er1
42123 grep -v '^ *+' conftest.er1
>conftest.err
42125 cat conftest.err
>&5
42126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42127 (exit $ac_status); } && {
42128 test -z "$ac_c_werror_flag" ||
42129 test ! -s conftest.err
42130 } && test -s conftest
$ac_exeext &&
42131 $as_test_x conftest
$ac_exeext; then
42132 eval "$as_ac_var=yes"
42134 echo "$as_me: failed program was:" >&5
42135 sed 's/^/| /' conftest.
$ac_ext >&5
42137 eval "$as_ac_var=no"
42140 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42141 conftest
$ac_exeext conftest.
$ac_ext
42143 ac_res
=`eval echo '${'$as_ac_var'}'`
42144 { echo "$as_me:$LINENO: result: $ac_res" >&5
42145 echo "${ECHO_T}$ac_res" >&6; }
42146 if test `eval echo '${'$as_ac_var'}'` = yes; then
42147 cat >>confdefs.h
<<_ACEOF
42148 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42154 if test "$ac_cv_func_strptime" = "yes"; then
42155 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
42156 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
42157 if test "${wx_cv_func_strptime_decl+set}" = set; then
42158 echo $ECHO_N "(cached) $ECHO_C" >&6
42162 ac_cpp
='$CXXCPP $CPPFLAGS'
42163 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42164 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42165 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
42167 cat >conftest.
$ac_ext <<_ACEOF
42170 cat confdefs.h
>>conftest.
$ac_ext
42171 cat >>conftest.
$ac_ext <<_ACEOF
42172 /* end confdefs.h. */
42181 strptime("foo", "bar", &t);
42187 rm -f conftest.
$ac_objext
42188 if { (ac_try
="$ac_compile"
42189 case "(($ac_try" in
42190 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42191 *) ac_try_echo=$ac_try;;
42193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42194 (eval "$ac_compile") 2>conftest.er1
42196 grep -v '^ *+' conftest.er1 >conftest.err
42198 cat conftest.err >&5
42199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42200 (exit $ac_status); } && {
42201 test -z "$ac_cxx_werror_flag" ||
42202 test ! -s conftest.err
42203 } && test -s conftest.$ac_objext; then
42204 wx_cv_func_strptime_decl=yes
42206 echo "$as_me: failed program was:" >&5
42207 sed 's/^/| /' conftest.$ac_ext >&5
42209 wx_cv_func_strptime_decl=no
42213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42215 ac_cpp='$CPP $CPPFLAGS'
42216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42223 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
42224 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
42226 if test "$wx_cv_func_strptime_decl" = "yes"; then
42227 cat >>confdefs.h <<\_ACEOF
42228 #define HAVE_STRPTIME_DECL 1
42233 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
42234 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
42235 if test "${wx_cv_var_timezone+set}" = set; then
42236 echo $ECHO_N "(cached) $ECHO_C" >&6
42240 ac_cpp='$CXXCPP $CPPFLAGS'
42241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42245 cat >conftest.$ac_ext <<_ACEOF
42248 cat confdefs.h >>conftest.$ac_ext
42249 cat >>conftest.$ac_ext <<_ACEOF
42250 /* end confdefs.h. */
42265 rm -f conftest.$ac_objext
42266 if { (ac_try="$ac_compile"
42267 case "(($ac_try" in
42268 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42269 *) ac_try_echo
=$ac_try;;
42271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42272 (eval "$ac_compile") 2>conftest.er1
42274 grep -v '^ *+' conftest.er1
>conftest.err
42276 cat conftest.err
>&5
42277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42278 (exit $ac_status); } && {
42279 test -z "$ac_cxx_werror_flag" ||
42280 test ! -s conftest.err
42281 } && test -s conftest.
$ac_objext; then
42283 wx_cv_var_timezone
=timezone
42286 echo "$as_me: failed program was:" >&5
42287 sed 's/^/| /' conftest.
$ac_ext >&5
42290 cat >conftest.
$ac_ext <<_ACEOF
42293 cat confdefs.h
>>conftest.
$ac_ext
42294 cat >>conftest.
$ac_ext <<_ACEOF
42295 /* end confdefs.h. */
42310 rm -f conftest.
$ac_objext
42311 if { (ac_try
="$ac_compile"
42312 case "(($ac_try" in
42313 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42314 *) ac_try_echo=$ac_try;;
42316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42317 (eval "$ac_compile") 2>conftest.er1
42319 grep -v '^ *+' conftest.er1 >conftest.err
42321 cat conftest.err >&5
42322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42323 (exit $ac_status); } && {
42324 test -z "$ac_cxx_werror_flag" ||
42325 test ! -s conftest.err
42326 } && test -s conftest.$ac_objext; then
42328 wx_cv_var_timezone=_timezone
42331 echo "$as_me: failed program was:" >&5
42332 sed 's/^/| /' conftest.$ac_ext >&5
42335 cat >conftest.$ac_ext <<_ACEOF
42338 cat confdefs.h >>conftest.$ac_ext
42339 cat >>conftest.$ac_ext <<_ACEOF
42340 /* end confdefs.h. */
42355 rm -f conftest.$ac_objext
42356 if { (ac_try="$ac_compile"
42357 case "(($ac_try" in
42358 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42359 *) ac_try_echo
=$ac_try;;
42361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42362 (eval "$ac_compile") 2>conftest.er1
42364 grep -v '^ *+' conftest.er1
>conftest.err
42366 cat conftest.err
>&5
42367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42368 (exit $ac_status); } && {
42369 test -z "$ac_cxx_werror_flag" ||
42370 test ! -s conftest.err
42371 } && test -s conftest.
$ac_objext; then
42373 wx_cv_var_timezone
=__timezone
42376 echo "$as_me: failed program was:" >&5
42377 sed 's/^/| /' conftest.
$ac_ext >&5
42380 if test "$USE_DOS" = 0 ; then
42381 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
42382 echo "$as_me: WARNING: no timezone variable" >&2;}
42388 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42393 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42398 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42400 ac_cpp
='$CPP $CPPFLAGS'
42401 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42402 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42403 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42408 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
42409 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
42411 if test "x$wx_cv_var_timezone" != x
; then
42412 cat >>confdefs.h
<<_ACEOF
42413 #define WX_TIMEZONE $wx_cv_var_timezone
42419 for ac_func
in localtime
42421 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42422 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42423 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42424 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42425 echo $ECHO_N "(cached) $ECHO_C" >&6
42427 cat >conftest.
$ac_ext <<_ACEOF
42430 cat confdefs.h
>>conftest.
$ac_ext
42431 cat >>conftest.
$ac_ext <<_ACEOF
42432 /* end confdefs.h. */
42433 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42434 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42435 #define $ac_func innocuous_$ac_func
42437 /* System header to define __stub macros and hopefully few prototypes,
42438 which can conflict with char $ac_func (); below.
42439 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42440 <limits.h> exists even on freestanding compilers. */
42443 # include <limits.h>
42445 # include <assert.h>
42450 /* Override any GCC internal prototype to avoid an error.
42451 Use char because int might match the return type of a GCC
42452 builtin and then its argument prototype would still apply. */
42457 /* The GNU C library defines this for functions which it implements
42458 to always fail with ENOSYS. Some functions are actually named
42459 something starting with __ and the normal name is an alias. */
42460 #if defined __stub_$ac_func || defined __stub___$ac_func
42467 return $ac_func ();
42472 rm -f conftest.
$ac_objext conftest
$ac_exeext
42473 if { (ac_try
="$ac_link"
42474 case "(($ac_try" in
42475 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42476 *) ac_try_echo=$ac_try;;
42478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42479 (eval "$ac_link") 2>conftest.er1
42481 grep -v '^ *+' conftest.er1 >conftest.err
42483 cat conftest.err >&5
42484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42485 (exit $ac_status); } && {
42486 test -z "$ac_c_werror_flag" ||
42487 test ! -s conftest.err
42488 } && test -s conftest$ac_exeext &&
42489 $as_test_x conftest$ac_exeext; then
42490 eval "$as_ac_var=yes"
42492 echo "$as_me: failed program was:" >&5
42493 sed 's/^/| /' conftest.$ac_ext >&5
42495 eval "$as_ac_var=no"
42498 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42499 conftest$ac_exeext conftest.$ac_ext
42501 ac_res=`eval echo '${'$as_ac_var'}'`
42502 { echo "$as_me:$LINENO: result: $ac_res" >&5
42503 echo "${ECHO_T}$ac_res" >&6; }
42504 if test `eval echo '${'$as_ac_var'}'` = yes; then
42505 cat >>confdefs.h <<_ACEOF
42506 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42513 if test "$ac_cv_func_localtime" = "yes"; then
42514 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
42515 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
42516 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
42517 echo $ECHO_N "(cached) $ECHO_C" >&6
42520 cat >conftest.$ac_ext <<_ACEOF
42523 cat confdefs.h >>conftest.$ac_ext
42524 cat >>conftest.$ac_ext <<_ACEOF
42525 /* end confdefs.h. */
42540 rm -f conftest.$ac_objext
42541 if { (ac_try="$ac_compile"
42542 case "(($ac_try" in
42543 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42544 *) ac_try_echo
=$ac_try;;
42546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42547 (eval "$ac_compile") 2>conftest.er1
42549 grep -v '^ *+' conftest.er1
>conftest.err
42551 cat conftest.err
>&5
42552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42553 (exit $ac_status); } && {
42554 test -z "$ac_c_werror_flag" ||
42555 test ! -s conftest.err
42556 } && test -s conftest.
$ac_objext; then
42558 wx_cv_struct_tm_has_gmtoff
=yes
42561 echo "$as_me: failed program was:" >&5
42562 sed 's/^/| /' conftest.
$ac_ext >&5
42564 wx_cv_struct_tm_has_gmtoff
=no
42568 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42571 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
42572 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
42575 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
42576 cat >>confdefs.h
<<\_ACEOF
42577 #define WX_GMTOFF_IN_TM 1
42584 for ac_func
in gettimeofday ftime
42586 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42587 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42588 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42589 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42590 echo $ECHO_N "(cached) $ECHO_C" >&6
42592 cat >conftest.
$ac_ext <<_ACEOF
42595 cat confdefs.h
>>conftest.
$ac_ext
42596 cat >>conftest.
$ac_ext <<_ACEOF
42597 /* end confdefs.h. */
42598 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42599 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42600 #define $ac_func innocuous_$ac_func
42602 /* System header to define __stub macros and hopefully few prototypes,
42603 which can conflict with char $ac_func (); below.
42604 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42605 <limits.h> exists even on freestanding compilers. */
42608 # include <limits.h>
42610 # include <assert.h>
42615 /* Override any GCC internal prototype to avoid an error.
42616 Use char because int might match the return type of a GCC
42617 builtin and then its argument prototype would still apply. */
42622 /* The GNU C library defines this for functions which it implements
42623 to always fail with ENOSYS. Some functions are actually named
42624 something starting with __ and the normal name is an alias. */
42625 #if defined __stub_$ac_func || defined __stub___$ac_func
42632 return $ac_func ();
42637 rm -f conftest.
$ac_objext conftest
$ac_exeext
42638 if { (ac_try
="$ac_link"
42639 case "(($ac_try" in
42640 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42641 *) ac_try_echo=$ac_try;;
42643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42644 (eval "$ac_link") 2>conftest.er1
42646 grep -v '^ *+' conftest.er1 >conftest.err
42648 cat conftest.err >&5
42649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42650 (exit $ac_status); } && {
42651 test -z "$ac_c_werror_flag" ||
42652 test ! -s conftest.err
42653 } && test -s conftest$ac_exeext &&
42654 $as_test_x conftest$ac_exeext; then
42655 eval "$as_ac_var=yes"
42657 echo "$as_me: failed program was:" >&5
42658 sed 's/^/| /' conftest.$ac_ext >&5
42660 eval "$as_ac_var=no"
42663 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42664 conftest$ac_exeext conftest.$ac_ext
42666 ac_res=`eval echo '${'$as_ac_var'}'`
42667 { echo "$as_me:$LINENO: result: $ac_res" >&5
42668 echo "${ECHO_T}$ac_res" >&6; }
42669 if test `eval echo '${'$as_ac_var'}'` = yes; then
42670 cat >>confdefs.h <<_ACEOF
42671 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42678 if test "$ac_cv_func_gettimeofday" = "yes"; then
42679 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
42680 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
42681 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
42682 echo $ECHO_N "(cached) $ECHO_C" >&6
42685 cat >conftest.$ac_ext <<_ACEOF
42688 cat confdefs.h >>conftest.$ac_ext
42689 cat >>conftest.$ac_ext <<_ACEOF
42690 /* end confdefs.h. */
42692 #include <sys/time.h>
42693 #include <unistd.h>
42700 gettimeofday(&tv, NULL);
42706 rm -f conftest.$ac_objext
42707 if { (ac_try="$ac_compile"
42708 case "(($ac_try" in
42709 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42710 *) ac_try_echo
=$ac_try;;
42712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42713 (eval "$ac_compile") 2>conftest.er1
42715 grep -v '^ *+' conftest.er1
>conftest.err
42717 cat conftest.err
>&5
42718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42719 (exit $ac_status); } && {
42720 test -z "$ac_c_werror_flag" ||
42721 test ! -s conftest.err
42722 } && test -s conftest.
$ac_objext; then
42723 wx_cv_func_gettimeofday_has_2_args
=yes
42725 echo "$as_me: failed program was:" >&5
42726 sed 's/^/| /' conftest.
$ac_ext >&5
42728 cat >conftest.
$ac_ext <<_ACEOF
42731 cat confdefs.h
>>conftest.
$ac_ext
42732 cat >>conftest.
$ac_ext <<_ACEOF
42733 /* end confdefs.h. */
42735 #include <sys/time.h>
42736 #include <unistd.h>
42749 rm -f conftest.
$ac_objext
42750 if { (ac_try
="$ac_compile"
42751 case "(($ac_try" in
42752 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42753 *) ac_try_echo=$ac_try;;
42755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42756 (eval "$ac_compile") 2>conftest.er1
42758 grep -v '^ *+' conftest.er1 >conftest.err
42760 cat conftest.err >&5
42761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42762 (exit $ac_status); } && {
42763 test -z "$ac_c_werror_flag" ||
42764 test ! -s conftest.err
42765 } && test -s conftest.$ac_objext; then
42766 wx_cv_func_gettimeofday_has_2_args=no
42768 echo "$as_me: failed program was:" >&5
42769 sed 's/^/| /' conftest.$ac_ext >&5
42772 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
42773 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
42774 wx_cv_func_gettimeofday_has_2_args=unknown
42779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42786 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
42787 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
42789 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
42790 cat >>confdefs.h <<\_ACEOF
42791 #define WX_GETTIMEOFDAY_NO_TZ 1
42797 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
42801 if test "$wxUSE_SOCKETS" = "yes"; then
42802 if test "$wxUSE_MGL" = "1"; then
42803 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
42804 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
42809 if test "$wxUSE_SOCKETS" = "yes"; then
42810 if test "$TOOLKIT" != "MSW"; then
42811 { echo "$as_me:$LINENO: checking for socket" >&5
42812 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
42813 if test "${ac_cv_func_socket+set}" = set; then
42814 echo $ECHO_N "(cached) $ECHO_C" >&6
42816 cat >conftest.$ac_ext <<_ACEOF
42819 cat confdefs.h >>conftest.$ac_ext
42820 cat >>conftest.$ac_ext <<_ACEOF
42821 /* end confdefs.h. */
42822 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
42823 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42824 #define socket innocuous_socket
42826 /* System header to define __stub macros and hopefully few prototypes,
42827 which can conflict with char socket (); below.
42828 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42829 <limits.h> exists even on freestanding compilers. */
42832 # include <limits.h>
42834 # include <assert.h>
42839 /* Override any GCC internal prototype to avoid an error.
42840 Use char because int might match the return type of a GCC
42841 builtin and then its argument prototype would still apply. */
42846 /* The GNU C library defines this for functions which it implements
42847 to always fail with ENOSYS. Some functions are actually named
42848 something starting with __ and the normal name is an alias. */
42849 #if defined __stub_socket || defined __stub___socket
42861 rm -f conftest.$ac_objext conftest$ac_exeext
42862 if { (ac_try="$ac_link"
42863 case "(($ac_try" in
42864 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42865 *) ac_try_echo
=$ac_try;;
42867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42868 (eval "$ac_link") 2>conftest.er1
42870 grep -v '^ *+' conftest.er1
>conftest.err
42872 cat conftest.err
>&5
42873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42874 (exit $ac_status); } && {
42875 test -z "$ac_c_werror_flag" ||
42876 test ! -s conftest.err
42877 } && test -s conftest
$ac_exeext &&
42878 $as_test_x conftest
$ac_exeext; then
42879 ac_cv_func_socket
=yes
42881 echo "$as_me: failed program was:" >&5
42882 sed 's/^/| /' conftest.
$ac_ext >&5
42884 ac_cv_func_socket
=no
42887 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42888 conftest
$ac_exeext conftest.
$ac_ext
42890 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
42891 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
42892 if test $ac_cv_func_socket = yes; then
42896 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
42897 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
42898 if test "${ac_cv_lib_socket_socket+set}" = set; then
42899 echo $ECHO_N "(cached) $ECHO_C" >&6
42901 ac_check_lib_save_LIBS
=$LIBS
42902 LIBS
="-lsocket $LIBS"
42903 cat >conftest.
$ac_ext <<_ACEOF
42906 cat confdefs.h
>>conftest.
$ac_ext
42907 cat >>conftest.
$ac_ext <<_ACEOF
42908 /* end confdefs.h. */
42910 /* Override any GCC internal prototype to avoid an error.
42911 Use char because int might match the return type of a GCC
42912 builtin and then its argument prototype would still apply. */
42925 rm -f conftest.
$ac_objext conftest
$ac_exeext
42926 if { (ac_try
="$ac_link"
42927 case "(($ac_try" in
42928 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42929 *) ac_try_echo=$ac_try;;
42931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42932 (eval "$ac_link") 2>conftest.er1
42934 grep -v '^ *+' conftest.er1 >conftest.err
42936 cat conftest.err >&5
42937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42938 (exit $ac_status); } && {
42939 test -z "$ac_c_werror_flag" ||
42940 test ! -s conftest.err
42941 } && test -s conftest$ac_exeext &&
42942 $as_test_x conftest$ac_exeext; then
42943 ac_cv_lib_socket_socket=yes
42945 echo "$as_me: failed program was:" >&5
42946 sed 's/^/| /' conftest.$ac_ext >&5
42948 ac_cv_lib_socket_socket=no
42951 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42952 conftest$ac_exeext conftest.$ac_ext
42953 LIBS=$ac_check_lib_save_LIBS
42955 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
42956 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
42957 if test $ac_cv_lib_socket_socket = yes; then
42958 if test "$INET_LINK" != " -lsocket"; then
42959 INET_LINK="$INET_LINK -lsocket"
42963 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
42964 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
42977 if test "$wxUSE_SOCKETS" = "yes" ; then
42978 if test "$TOOLKIT" != "MSW"; then
42979 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
42980 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
42981 if test "${wx_cv_type_getsockname3+set}" = set; then
42982 echo $ECHO_N "(cached) $ECHO_C" >&6
42986 ac_cpp='$CXXCPP $CPPFLAGS'
42987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42991 cat >conftest.$ac_ext <<_ACEOF
42994 cat confdefs.h >>conftest.$ac_ext
42995 cat >>conftest.$ac_ext <<_ACEOF
42996 /* end confdefs.h. */
42998 #include <sys/types.h>
42999 #include <sys/socket.h>
43006 getsockname(0, 0, &len);
43012 rm -f conftest.$ac_objext
43013 if { (ac_try="$ac_compile"
43014 case "(($ac_try" in
43015 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43016 *) ac_try_echo
=$ac_try;;
43018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43019 (eval "$ac_compile") 2>conftest.er1
43021 grep -v '^ *+' conftest.er1
>conftest.err
43023 cat conftest.err
>&5
43024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43025 (exit $ac_status); } && {
43026 test -z "$ac_cxx_werror_flag" ||
43027 test ! -s conftest.err
43028 } && test -s conftest.
$ac_objext; then
43029 wx_cv_type_getsockname3
=socklen_t
43031 echo "$as_me: failed program was:" >&5
43032 sed 's/^/| /' conftest.
$ac_ext >&5
43035 CFLAGS_OLD
="$CFLAGS"
43036 if test "$GCC" = yes ; then
43037 CFLAGS
="-Werror $CFLAGS"
43040 cat >conftest.
$ac_ext <<_ACEOF
43043 cat confdefs.h
>>conftest.
$ac_ext
43044 cat >>conftest.
$ac_ext <<_ACEOF
43045 /* end confdefs.h. */
43047 #include <sys/types.h>
43048 #include <sys/socket.h>
43055 getsockname(0, 0, &len);
43061 rm -f conftest.
$ac_objext
43062 if { (ac_try
="$ac_compile"
43063 case "(($ac_try" in
43064 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43065 *) ac_try_echo=$ac_try;;
43067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43068 (eval "$ac_compile") 2>conftest.er1
43070 grep -v '^ *+' conftest.er1 >conftest.err
43072 cat conftest.err >&5
43073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43074 (exit $ac_status); } && {
43075 test -z "$ac_cxx_werror_flag" ||
43076 test ! -s conftest.err
43077 } && test -s conftest.$ac_objext; then
43078 wx_cv_type_getsockname3=size_t
43080 echo "$as_me: failed program was:" >&5
43081 sed 's/^/| /' conftest.$ac_ext >&5
43083 cat >conftest.$ac_ext <<_ACEOF
43086 cat confdefs.h >>conftest.$ac_ext
43087 cat >>conftest.$ac_ext <<_ACEOF
43088 /* end confdefs.h. */
43090 #include <sys/types.h>
43091 #include <sys/socket.h>
43098 getsockname(0, 0, &len);
43104 rm -f conftest.$ac_objext
43105 if { (ac_try="$ac_compile"
43106 case "(($ac_try" in
43107 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43108 *) ac_try_echo
=$ac_try;;
43110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43111 (eval "$ac_compile") 2>conftest.er1
43113 grep -v '^ *+' conftest.er1
>conftest.err
43115 cat conftest.err
>&5
43116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43117 (exit $ac_status); } && {
43118 test -z "$ac_cxx_werror_flag" ||
43119 test ! -s conftest.err
43120 } && test -s conftest.
$ac_objext; then
43121 wx_cv_type_getsockname3
=int
43123 echo "$as_me: failed program was:" >&5
43124 sed 's/^/| /' conftest.
$ac_ext >&5
43126 wx_cv_type_getsockname3
=unknown
43130 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43134 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43136 CFLAGS
="$CFLAGS_OLD"
43141 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43143 ac_cpp
='$CPP $CPPFLAGS'
43144 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43145 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43146 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
43150 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
43151 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
43153 if test "$wx_cv_type_getsockname3" = "unknown"; then
43155 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43156 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43158 cat >>confdefs.h
<<_ACEOF
43159 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
43163 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
43164 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
43165 if test "${wx_cv_type_getsockopt5+set}" = set; then
43166 echo $ECHO_N "(cached) $ECHO_C" >&6
43170 ac_cpp
='$CXXCPP $CPPFLAGS'
43171 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43172 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43173 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43175 cat >conftest.
$ac_ext <<_ACEOF
43178 cat confdefs.h
>>conftest.
$ac_ext
43179 cat >>conftest.
$ac_ext <<_ACEOF
43180 /* end confdefs.h. */
43182 #include <sys/types.h>
43183 #include <sys/socket.h>
43190 getsockopt(0, 0, 0, 0, &len);
43196 rm -f conftest.
$ac_objext
43197 if { (ac_try
="$ac_compile"
43198 case "(($ac_try" in
43199 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43200 *) ac_try_echo=$ac_try;;
43202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43203 (eval "$ac_compile") 2>conftest.er1
43205 grep -v '^ *+' conftest.er1 >conftest.err
43207 cat conftest.err >&5
43208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43209 (exit $ac_status); } && {
43210 test -z "$ac_cxx_werror_flag" ||
43211 test ! -s conftest.err
43212 } && test -s conftest.$ac_objext; then
43213 wx_cv_type_getsockopt5=socklen_t
43215 echo "$as_me: failed program was:" >&5
43216 sed 's/^/| /' conftest.$ac_ext >&5
43219 cat >conftest.$ac_ext <<_ACEOF
43222 cat confdefs.h >>conftest.$ac_ext
43223 cat >>conftest.$ac_ext <<_ACEOF
43224 /* end confdefs.h. */
43226 #include <sys/types.h>
43227 #include <sys/socket.h>
43234 getsockopt(0, 0, 0, 0, &len);
43240 rm -f conftest.$ac_objext
43241 if { (ac_try="$ac_compile"
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_compile") 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_cxx_werror_flag" ||
43255 test ! -s conftest.err
43256 } && test -s conftest.
$ac_objext; then
43257 wx_cv_type_getsockopt5
=size_t
43259 echo "$as_me: failed program was:" >&5
43260 sed 's/^/| /' conftest.
$ac_ext >&5
43262 cat >conftest.
$ac_ext <<_ACEOF
43265 cat confdefs.h
>>conftest.
$ac_ext
43266 cat >>conftest.
$ac_ext <<_ACEOF
43267 /* end confdefs.h. */
43269 #include <sys/types.h>
43270 #include <sys/socket.h>
43277 getsockopt(0, 0, 0, 0, &len);
43283 rm -f conftest.
$ac_objext
43284 if { (ac_try
="$ac_compile"
43285 case "(($ac_try" in
43286 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43287 *) ac_try_echo=$ac_try;;
43289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43290 (eval "$ac_compile") 2>conftest.er1
43292 grep -v '^ *+' conftest.er1 >conftest.err
43294 cat conftest.err >&5
43295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43296 (exit $ac_status); } && {
43297 test -z "$ac_cxx_werror_flag" ||
43298 test ! -s conftest.err
43299 } && test -s conftest.$ac_objext; then
43300 wx_cv_type_getsockopt5=int
43302 echo "$as_me: failed program was:" >&5
43303 sed 's/^/| /' conftest.$ac_ext >&5
43305 wx_cv_type_getsockopt5=unknown
43309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43320 ac_cpp='$CPP $CPPFLAGS'
43321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43327 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
43328 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
43330 if test "$wx_cv_type_getsockopt5" = "unknown"; then
43332 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43333 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43335 cat >>confdefs.h <<_ACEOF
43336 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
43343 if test "$wxUSE_SOCKETS" = "yes" ; then
43344 cat >>confdefs.h <<\_ACEOF
43345 #define wxUSE_SOCKETS 1
43348 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
43351 if test "$wxUSE_PROTOCOL" = "yes"; then
43352 if test "$wxUSE_SOCKETS" != "yes"; then
43353 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
43354 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
43359 if test "$wxUSE_PROTOCOL" = "yes"; then
43360 cat >>confdefs.h <<\_ACEOF
43361 #define wxUSE_PROTOCOL 1
43365 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
43366 cat >>confdefs.h <<\_ACEOF
43367 #define wxUSE_PROTOCOL_HTTP 1
43371 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
43372 cat >>confdefs.h <<\_ACEOF
43373 #define wxUSE_PROTOCOL_FTP 1
43377 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
43378 cat >>confdefs.h <<\_ACEOF
43379 #define wxUSE_PROTOCOL_FILE 1
43384 if test "$wxUSE_FS_INET" = "yes"; then
43385 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
43386 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
43391 if test "$wxUSE_URL" = "yes"; then
43392 if test "$wxUSE_PROTOCOL" != "yes"; then
43393 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
43394 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
43397 if test "$wxUSE_URL" = "yes"; then
43398 cat >>confdefs.h <<\_ACEOF
43399 #define wxUSE_URL 1
43405 if test "$wxUSE_VARIANT" = "yes"; then
43406 cat >>confdefs.h <<\_ACEOF
43407 #define wxUSE_VARIANT 1
43412 if test "$wxUSE_FS_INET" = "yes"; then
43413 cat >>confdefs.h <<\_ACEOF
43414 #define wxUSE_FS_INET 1
43420 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
43423 if test "$TOOLKIT" = "MSW"; then
43426 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
43427 if test "$USE_DARWIN" = 1; then
43428 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
43429 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
43431 ac_cpp='$CXXCPP $CPPFLAGS'
43432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43436 cat >conftest.$ac_ext <<_ACEOF
43439 cat confdefs.h >>conftest.$ac_ext
43440 cat >>conftest.$ac_ext <<_ACEOF
43441 /* end confdefs.h. */
43442 #include <IOKit/hid/IOHIDLib.h>
43446 IOHIDQueueInterface *qi = NULL;
43447 IOHIDCallbackFunction cb = NULL;
43448 qi->setEventCallout(NULL, cb, NULL, NULL);
43453 rm -f conftest.$ac_objext
43454 if { (ac_try="$ac_compile"
43455 case "(($ac_try" in
43456 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43457 *) ac_try_echo
=$ac_try;;
43459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43460 (eval "$ac_compile") 2>conftest.er1
43462 grep -v '^ *+' conftest.er1
>conftest.err
43464 cat conftest.err
>&5
43465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43466 (exit $ac_status); } && {
43467 test -z "$ac_cxx_werror_flag" ||
43468 test ! -s conftest.err
43469 } && test -s conftest.
$ac_objext; then
43473 echo "$as_me: failed program was:" >&5
43474 sed 's/^/| /' conftest.
$ac_ext >&5
43479 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43481 ac_cpp
='$CPP $CPPFLAGS'
43482 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43483 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43484 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
43486 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
43487 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
43491 if test "$wxUSE_MGL" != "1"; then
43492 { echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
43493 echo $ECHO_N "checking for linux/joystick.h... $ECHO_C" >&6; }
43494 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
43495 echo $ECHO_N "(cached) $ECHO_C" >&6
43497 cat >conftest.
$ac_ext <<_ACEOF
43500 cat confdefs.h
>>conftest.
$ac_ext
43501 cat >>conftest.
$ac_ext <<_ACEOF
43502 /* end confdefs.h. */
43503 $ac_includes_default
43505 #include <linux/joystick.h>
43507 rm -f conftest.
$ac_objext
43508 if { (ac_try
="$ac_compile"
43509 case "(($ac_try" in
43510 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43511 *) ac_try_echo=$ac_try;;
43513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43514 (eval "$ac_compile") 2>conftest.er1
43516 grep -v '^ *+' conftest.er1 >conftest.err
43518 cat conftest.err >&5
43519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43520 (exit $ac_status); } && {
43521 test -z "$ac_c_werror_flag" ||
43522 test ! -s conftest.err
43523 } && test -s conftest.$ac_objext; then
43524 ac_cv_header_linux_joystick_h=yes
43526 echo "$as_me: failed program was:" >&5
43527 sed 's/^/| /' conftest.$ac_ext >&5
43529 ac_cv_header_linux_joystick_h=no
43532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43534 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
43535 echo "${ECHO_T}$ac_cv_header_linux_joystick_h" >&6; }
43536 if test $ac_cv_header_linux_joystick_h = yes; then
43544 if test "$wxUSE_JOYSTICK" = "yes"; then
43545 cat >>confdefs.h <<\_ACEOF
43546 #define wxUSE_JOYSTICK 1
43549 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
43551 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
43552 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
43558 if test "$wxUSE_FONTMAP" = "yes" ; then
43559 cat >>confdefs.h <<\_ACEOF
43560 #define wxUSE_FONTMAP 1
43565 if test "$wxUSE_UNICODE" = "yes" ; then
43566 cat >>confdefs.h <<\_ACEOF
43567 #define wxUSE_UNICODE 1
43571 if test "$USE_WIN32" != 1; then
43572 wxUSE_UNICODE_MSLU=no
43575 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
43576 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
43577 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
43578 if test "${ac_cv_lib_unicows_main+set}" = set; then
43579 echo $ECHO_N "(cached) $ECHO_C" >&6
43581 ac_check_lib_save_LIBS=$LIBS
43582 LIBS="-lunicows $LIBS"
43583 cat >conftest.$ac_ext <<_ACEOF
43586 cat confdefs.h >>conftest.$ac_ext
43587 cat >>conftest.$ac_ext <<_ACEOF
43588 /* end confdefs.h. */
43599 rm -f conftest.$ac_objext conftest$ac_exeext
43600 if { (ac_try="$ac_link"
43601 case "(($ac_try" in
43602 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43603 *) ac_try_echo
=$ac_try;;
43605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43606 (eval "$ac_link") 2>conftest.er1
43608 grep -v '^ *+' conftest.er1
>conftest.err
43610 cat conftest.err
>&5
43611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43612 (exit $ac_status); } && {
43613 test -z "$ac_c_werror_flag" ||
43614 test ! -s conftest.err
43615 } && test -s conftest
$ac_exeext &&
43616 $as_test_x conftest
$ac_exeext; then
43617 ac_cv_lib_unicows_main
=yes
43619 echo "$as_me: failed program was:" >&5
43620 sed 's/^/| /' conftest.
$ac_ext >&5
43622 ac_cv_lib_unicows_main
=no
43625 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43626 conftest
$ac_exeext conftest.
$ac_ext
43627 LIBS
=$ac_check_lib_save_LIBS
43629 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
43630 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
43631 if test $ac_cv_lib_unicows_main = yes; then
43633 cat >>confdefs.h
<<\_ACEOF
43634 #define wxUSE_UNICODE_MSLU 1
43640 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43641 Applications will only run on Windows NT/2000/XP!" >&5
43642 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43643 Applications will only run on Windows NT/2000/XP!" >&2;}
43644 wxUSE_UNICODE_MSLU
=no
43651 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
43652 cat >>confdefs.h
<<\_ACEOF
43653 #define wxUSE_UNICODE_UTF8 1
43658 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
43659 cat >>confdefs.h
<<\_ACEOF
43660 #define wxUSE_EXPERIMENTAL_PRINTF 1
43666 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
43667 cat >>confdefs.h
<<\_ACEOF
43668 #define wxUSE_POSTSCRIPT 1
43673 cat >>confdefs.h
<<\_ACEOF
43674 #define wxUSE_AFM_FOR_POSTSCRIPT 1
43678 cat >>confdefs.h
<<\_ACEOF
43679 #define wxUSE_NORMALIZED_PS_FONTS 1
43684 if test "$wxUSE_CONSTRAINTS" = "yes"; then
43685 cat >>confdefs.h
<<\_ACEOF
43686 #define wxUSE_CONSTRAINTS 1
43689 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
43692 if test "$wxUSE_MDI" = "yes"; then
43693 cat >>confdefs.h
<<\_ACEOF
43694 #define wxUSE_MDI 1
43698 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43699 cat >>confdefs.h
<<\_ACEOF
43700 #define wxUSE_MDI_ARCHITECTURE 1
43703 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
43707 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
43708 cat >>confdefs.h
<<\_ACEOF
43709 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
43712 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
43713 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43714 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
43718 if test "$wxUSE_HELP" = "yes"; then
43719 cat >>confdefs.h
<<\_ACEOF
43720 #define wxUSE_HELP 1
43723 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
43725 if test "$wxUSE_MSW" = 1; then
43726 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
43727 cat >>confdefs.h
<<\_ACEOF
43728 #define wxUSE_MS_HTML_HELP 1
43734 if test "$wxUSE_WXHTML_HELP" = "yes"; then
43735 if test "$wxUSE_HTML" = "yes"; then
43736 cat >>confdefs.h
<<\_ACEOF
43737 #define wxUSE_WXHTML_HELP 1
43741 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
43742 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
43743 wxUSE_WXHTML_HELP
=no
43748 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43749 if test "$wxUSE_CONSTRAINTS" != "yes"; then
43750 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
43751 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
43753 cat >>confdefs.h
<<\_ACEOF
43754 #define wxUSE_PRINTING_ARCHITECTURE 1
43758 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
43763 if test "$wxUSE_METAFILE" = "yes"; then
43764 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
43765 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
43766 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
43772 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
43773 -o "$wxUSE_CLIPBOARD" = "yes" \
43774 -o "$wxUSE_OLE" = "yes" \
43775 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
43776 { echo "$as_me:$LINENO: checking for ole2.h" >&5
43777 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
43778 if test "${ac_cv_header_ole2_h+set}" = set; then
43779 echo $ECHO_N "(cached) $ECHO_C" >&6
43781 cat >conftest.
$ac_ext <<_ACEOF
43784 cat confdefs.h
>>conftest.
$ac_ext
43785 cat >>conftest.
$ac_ext <<_ACEOF
43786 /* end confdefs.h. */
43791 rm -f conftest.
$ac_objext
43792 if { (ac_try
="$ac_compile"
43793 case "(($ac_try" in
43794 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43795 *) ac_try_echo=$ac_try;;
43797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43798 (eval "$ac_compile") 2>conftest.er1
43800 grep -v '^ *+' conftest.er1 >conftest.err
43802 cat conftest.err >&5
43803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43804 (exit $ac_status); } && {
43805 test -z "$ac_c_werror_flag" ||
43806 test ! -s conftest.err
43807 } && test -s conftest.$ac_objext; then
43808 ac_cv_header_ole2_h=yes
43810 echo "$as_me: failed program was:" >&5
43811 sed 's/^/| /' conftest.$ac_ext >&5
43813 ac_cv_header_ole2_h=no
43816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43818 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
43819 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
43823 if test "$ac_cv_header_ole2_h" = "yes" ; then
43824 if test "$GCC" = yes ; then
43825 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
43826 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
43827 cat >conftest.$ac_ext <<_ACEOF
43830 cat confdefs.h >>conftest.$ac_ext
43831 cat >>conftest.$ac_ext <<_ACEOF
43832 /* end confdefs.h. */
43833 #include <windows.h>
43843 rm -f conftest.$ac_objext
43844 if { (ac_try="$ac_compile"
43845 case "(($ac_try" in
43846 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43847 *) ac_try_echo
=$ac_try;;
43849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43850 (eval "$ac_compile") 2>conftest.er1
43852 grep -v '^ *+' conftest.er1
>conftest.err
43854 cat conftest.err
>&5
43855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43856 (exit $ac_status); } && {
43857 test -z "$ac_c_werror_flag" ||
43858 test ! -s conftest.err
43859 } && test -s conftest.
$ac_objext; then
43860 { echo "$as_me:$LINENO: result: no" >&5
43861 echo "${ECHO_T}no" >&6; }
43863 echo "$as_me: failed program was:" >&5
43864 sed 's/^/| /' conftest.
$ac_ext >&5
43866 { echo "$as_me:$LINENO: result: yes" >&5
43867 echo "${ECHO_T}yes" >&6; }
43868 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
43871 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43872 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
43873 if test "$wxUSE_OLE" = "yes" ; then
43874 cat >>confdefs.h
<<\_ACEOF
43875 #define wxUSE_OLE 1
43878 cat >>confdefs.h
<<\_ACEOF
43879 #define wxUSE_OLE_AUTOMATION 1
43882 cat >>confdefs.h
<<\_ACEOF
43883 #define wxUSE_ACTIVEX 1
43886 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
43890 if test "$wxUSE_DATAOBJ" = "yes" ; then
43891 cat >>confdefs.h
<<\_ACEOF
43892 #define wxUSE_DATAOBJ 1
43897 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
43898 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
43901 wxUSE_DRAG_AND_DROP
=no
43906 if test "$wxUSE_METAFILE" = "yes"; then
43907 cat >>confdefs.h
<<\_ACEOF
43908 #define wxUSE_METAFILE 1
43912 cat >>confdefs.h
<<\_ACEOF
43913 #define wxUSE_ENH_METAFILE 1
43919 if test "$wxUSE_IPC" = "yes"; then
43920 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
43921 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
43922 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
43926 if test "$wxUSE_IPC" = "yes"; then
43927 cat >>confdefs.h
<<\_ACEOF
43928 #define wxUSE_IPC 1
43931 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
43935 if test "$wxUSE_DATAOBJ" = "yes"; then
43936 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
43937 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
43938 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
43941 cat >>confdefs.h
<<\_ACEOF
43942 #define wxUSE_DATAOBJ 1
43947 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
43948 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
43950 wxUSE_DRAG_AND_DROP
=no
43953 if test "$wxUSE_CLIPBOARD" = "yes"; then
43954 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
43955 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
43956 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
43960 if test "$wxUSE_CLIPBOARD" = "yes"; then
43961 cat >>confdefs.h
<<\_ACEOF
43962 #define wxUSE_CLIPBOARD 1
43968 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
43969 if test "$wxUSE_GTK" = 1; then
43970 if test "$WXGTK12" != 1; then
43971 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
43972 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
43973 wxUSE_DRAG_AND_DROP
=no
43977 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
43978 "$wxUSE_DFB" = 1; then
43979 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
43980 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
43981 wxUSE_DRAG_AND_DROP
=no
43984 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
43985 cat >>confdefs.h
<<\_ACEOF
43986 #define wxUSE_DRAG_AND_DROP 1
43993 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
43994 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
43997 if test "$wxUSE_SPLINES" = "yes" ; then
43998 cat >>confdefs.h
<<\_ACEOF
43999 #define wxUSE_SPLINES 1
44004 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
44005 cat >>confdefs.h
<<\_ACEOF
44006 #define wxUSE_MOUSEWHEEL 1
44013 if test "$wxUSE_CONTROLS" = "yes"; then
44017 if test "$wxUSE_ACCEL" = "yes"; then
44018 cat >>confdefs.h
<<\_ACEOF
44019 #define wxUSE_ACCEL 1
44025 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
44026 cat >>confdefs.h
<<\_ACEOF
44027 #define wxUSE_ANIMATIONCTRL 1
44031 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
44034 if test "$wxUSE_BUTTON" = "yes"; then
44035 cat >>confdefs.h
<<\_ACEOF
44036 #define wxUSE_BUTTON 1
44042 if test "$wxUSE_BMPBUTTON" = "yes"; then
44043 cat >>confdefs.h
<<\_ACEOF
44044 #define wxUSE_BMPBUTTON 1
44050 if test "$wxUSE_CALCTRL" = "yes"; then
44051 cat >>confdefs.h
<<\_ACEOF
44052 #define wxUSE_CALENDARCTRL 1
44056 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
44059 if test "$wxUSE_CARET" = "yes"; then
44060 cat >>confdefs.h
<<\_ACEOF
44061 #define wxUSE_CARET 1
44065 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
44068 if test "$wxUSE_COLLPANE" = "yes"; then
44069 cat >>confdefs.h
<<\_ACEOF
44070 #define wxUSE_COLLPANE 1
44074 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
44077 if test "$wxUSE_COMBOBOX" = "yes"; then
44078 cat >>confdefs.h
<<\_ACEOF
44079 #define wxUSE_COMBOBOX 1
44085 if test "$wxUSE_COMBOCTRL" = "yes"; then
44086 cat >>confdefs.h
<<\_ACEOF
44087 #define wxUSE_COMBOCTRL 1
44093 if test "$wxUSE_CHOICE" = "yes"; then
44094 cat >>confdefs.h
<<\_ACEOF
44095 #define wxUSE_CHOICE 1
44101 if test "$wxUSE_CHOICEBOOK" = "yes"; then
44102 cat >>confdefs.h
<<\_ACEOF
44103 #define wxUSE_CHOICEBOOK 1
44109 if test "$wxUSE_CHECKBOX" = "yes"; then
44110 cat >>confdefs.h
<<\_ACEOF
44111 #define wxUSE_CHECKBOX 1
44117 if test "$wxUSE_CHECKLST" = "yes"; then
44118 cat >>confdefs.h
<<\_ACEOF
44119 #define wxUSE_CHECKLISTBOX 1
44123 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
44126 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
44127 cat >>confdefs.h
<<\_ACEOF
44128 #define wxUSE_COLOURPICKERCTRL 1
44134 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
44135 cat >>confdefs.h
<<\_ACEOF
44136 #define wxUSE_DATEPICKCTRL 1
44142 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
44143 cat >>confdefs.h
<<\_ACEOF
44144 #define wxUSE_DIRPICKERCTRL 1
44150 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
44151 cat >>confdefs.h
<<\_ACEOF
44152 #define wxUSE_FILEPICKERCTRL 1
44158 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
44159 cat >>confdefs.h
<<\_ACEOF
44160 #define wxUSE_FONTPICKERCTRL 1
44166 if test "$wxUSE_DISPLAY" = "yes"; then
44167 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
44168 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
44169 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
44172 cat >>confdefs.h
<<\_ACEOF
44173 #define wxUSE_DISPLAY 1
44176 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display multimon"
44180 if test "$wxUSE_DETECT_SM" = "yes"; then
44181 cat >>confdefs.h
<<\_ACEOF
44182 #define wxUSE_DETECT_SM 1
44187 if test "$wxUSE_GAUGE" = "yes"; then
44188 cat >>confdefs.h
<<\_ACEOF
44189 #define wxUSE_GAUGE 1
44195 if test "$wxUSE_GRID" = "yes"; then
44196 cat >>confdefs.h
<<\_ACEOF
44197 #define wxUSE_GRID 1
44201 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
44204 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
44205 cat >>confdefs.h
<<\_ACEOF
44206 #define wxUSE_HYPERLINKCTRL 1
44212 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
44213 cat >>confdefs.h
<<\_ACEOF
44214 #define wxUSE_BITMAPCOMBOBOX 1
44220 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
44221 cat >>confdefs.h
<<\_ACEOF
44222 #define wxUSE_DATAVIEWCTRL 1
44226 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
44229 if test "$wxUSE_IMAGLIST" = "yes"; then
44230 cat >>confdefs.h
<<\_ACEOF
44231 #define wxUSE_IMAGLIST 1
44236 if test "$wxUSE_LISTBOOK" = "yes"; then
44237 cat >>confdefs.h
<<\_ACEOF
44238 #define wxUSE_LISTBOOK 1
44244 if test "$wxUSE_LISTBOX" = "yes"; then
44245 cat >>confdefs.h
<<\_ACEOF
44246 #define wxUSE_LISTBOX 1
44250 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listbox"
44253 if test "$wxUSE_LISTCTRL" = "yes"; then
44254 if test "$wxUSE_IMAGLIST" = "yes"; then
44255 cat >>confdefs.h
<<\_ACEOF
44256 #define wxUSE_LISTCTRL 1
44260 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
44262 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
44263 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
44267 if test "$wxUSE_NOTEBOOK" = "yes"; then
44268 cat >>confdefs.h
<<\_ACEOF
44269 #define wxUSE_NOTEBOOK 1
44273 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
44276 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
44277 cat >>confdefs.h
<<\_ACEOF
44278 #define wxUSE_ODCOMBOBOX 1
44282 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
44286 if test "$wxUSE_RADIOBOX" = "yes"; then
44287 cat >>confdefs.h
<<\_ACEOF
44288 #define wxUSE_RADIOBOX 1
44294 if test "$wxUSE_RADIOBTN" = "yes"; then
44295 cat >>confdefs.h
<<\_ACEOF
44296 #define wxUSE_RADIOBTN 1
44302 if test "$wxUSE_SASH" = "yes"; then
44303 cat >>confdefs.h
<<\_ACEOF
44304 #define wxUSE_SASH 1
44307 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
44310 if test "$wxUSE_SCROLLBAR" = "yes"; then
44311 cat >>confdefs.h
<<\_ACEOF
44312 #define wxUSE_SCROLLBAR 1
44316 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
44319 if test "$wxUSE_SEARCHCTRL" = "yes"; then
44320 cat >>confdefs.h
<<\_ACEOF
44321 #define wxUSE_SEARCHCTRL 1
44327 if test "$wxUSE_SLIDER" = "yes"; then
44328 cat >>confdefs.h
<<\_ACEOF
44329 #define wxUSE_SLIDER 1
44335 if test "$wxUSE_SPINBTN" = "yes"; then
44336 cat >>confdefs.h
<<\_ACEOF
44337 #define wxUSE_SPINBTN 1
44343 if test "$wxUSE_SPINCTRL" = "yes"; then
44344 cat >>confdefs.h
<<\_ACEOF
44345 #define wxUSE_SPINCTRL 1
44351 if test "$wxUSE_SPLITTER" = "yes"; then
44352 cat >>confdefs.h
<<\_ACEOF
44353 #define wxUSE_SPLITTER 1
44356 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
44359 if test "$wxUSE_STATBMP" = "yes"; then
44360 cat >>confdefs.h
<<\_ACEOF
44361 #define wxUSE_STATBMP 1
44367 if test "$wxUSE_STATBOX" = "yes"; then
44368 cat >>confdefs.h
<<\_ACEOF
44369 #define wxUSE_STATBOX 1
44375 if test "$wxUSE_STATTEXT" = "yes"; then
44376 cat >>confdefs.h
<<\_ACEOF
44377 #define wxUSE_STATTEXT 1
44383 if test "$wxUSE_STATLINE" = "yes"; then
44384 cat >>confdefs.h
<<\_ACEOF
44385 #define wxUSE_STATLINE 1
44391 if test "$wxUSE_STATUSBAR" = "yes"; then
44392 cat >>confdefs.h
<<\_ACEOF
44393 #define wxUSE_NATIVE_STATUSBAR 1
44396 cat >>confdefs.h
<<\_ACEOF
44397 #define wxUSE_STATUSBAR 1
44402 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
44405 if test "$wxUSE_TAB_DIALOG" = "yes"; then
44406 cat >>confdefs.h
<<\_ACEOF
44407 #define wxUSE_TAB_DIALOG 1
44412 if test "$wxUSE_TEXTCTRL" = "yes"; then
44413 cat >>confdefs.h
<<\_ACEOF
44414 #define wxUSE_TEXTCTRL 1
44418 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
44421 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44422 if test "$wxUSE_COCOA" = 1 ; then
44423 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
44424 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
44428 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44429 cat >>confdefs.h
<<\_ACEOF
44430 #define wxUSE_TOGGLEBTN 1
44437 if test "$wxUSE_TOOLBAR" = "yes"; then
44438 cat >>confdefs.h
<<\_ACEOF
44439 #define wxUSE_TOOLBAR 1
44444 if test "$wxUSE_UNIVERSAL" = "yes"; then
44445 wxUSE_TOOLBAR_NATIVE
="no"
44447 wxUSE_TOOLBAR_NATIVE
="yes"
44448 cat >>confdefs.h
<<\_ACEOF
44449 #define wxUSE_TOOLBAR_NATIVE 1
44454 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
44457 if test "$wxUSE_TOOLTIPS" = "yes"; then
44458 if test "$wxUSE_MOTIF" = 1; then
44459 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
44460 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
44462 if test "$wxUSE_UNIVERSAL" = "yes"; then
44463 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
44464 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
44466 cat >>confdefs.h
<<\_ACEOF
44467 #define wxUSE_TOOLTIPS 1
44474 if test "$wxUSE_TREEBOOK" = "yes"; then
44475 cat >>confdefs.h
<<\_ACEOF
44476 #define wxUSE_TREEBOOK 1
44482 if test "$wxUSE_TOOLBOOK" = "yes"; then
44483 cat >>confdefs.h
<<\_ACEOF
44484 #define wxUSE_TOOLBOOK 1
44490 if test "$wxUSE_TREECTRL" = "yes"; then
44491 if test "$wxUSE_IMAGLIST" = "yes"; then
44492 cat >>confdefs.h
<<\_ACEOF
44493 #define wxUSE_TREECTRL 1
44497 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
44499 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
44500 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
44504 if test "$wxUSE_POPUPWIN" = "yes"; then
44505 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
44506 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
44507 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
44509 if test "$wxUSE_PM" = 1; then
44510 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
44511 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
44513 cat >>confdefs.h
<<\_ACEOF
44514 #define wxUSE_POPUPWIN 1
44517 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
44524 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
44525 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
44526 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
44527 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
44529 cat >>confdefs.h
<<\_ACEOF
44530 #define wxUSE_DIALUP_MANAGER 1
44533 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
44537 if test "$wxUSE_TIPWINDOW" = "yes"; then
44538 if test "$wxUSE_PM" = 1; then
44539 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
44540 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
44542 cat >>confdefs.h
<<\_ACEOF
44543 #define wxUSE_TIPWINDOW 1
44549 if test "$USES_CONTROLS" = 1; then
44550 cat >>confdefs.h
<<\_ACEOF
44551 #define wxUSE_CONTROLS 1
44557 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
44558 cat >>confdefs.h
<<\_ACEOF
44559 #define wxUSE_ACCESSIBILITY 1
44562 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
44565 if test "$wxUSE_DC_CACHEING" = "yes"; then
44566 cat >>confdefs.h
<<\_ACEOF
44567 #define wxUSE_DC_CACHEING 1
44572 if test "$wxUSE_DRAGIMAGE" = "yes"; then
44573 cat >>confdefs.h
<<\_ACEOF
44574 #define wxUSE_DRAGIMAGE 1
44577 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
44580 if test "$wxUSE_EXCEPTIONS" = "yes"; then
44581 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
44582 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
44583 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
44585 cat >>confdefs.h
<<\_ACEOF
44586 #define wxUSE_EXCEPTIONS 1
44589 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
44594 if test "$wxUSE_HTML" = "yes"; then
44595 cat >>confdefs.h
<<\_ACEOF
44596 #define wxUSE_HTML 1
44600 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
44601 if test "$wxUSE_MAC" = 1; then
44602 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
44605 if test "$wxUSE_WEBKIT" = "yes"; then
44606 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
44607 old_CPPFLAGS
="$CPPFLAGS"
44608 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
44609 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
44610 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
44611 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
44612 echo $ECHO_N "(cached) $ECHO_C" >&6
44614 cat >conftest.
$ac_ext <<_ACEOF
44617 cat confdefs.h
>>conftest.
$ac_ext
44618 cat >>conftest.
$ac_ext <<_ACEOF
44619 /* end confdefs.h. */
44621 #include <Carbon/Carbon.h>
44622 #include <WebKit/WebKit.h>
44625 #include <WebKit/HIWebView.h>
44627 rm -f conftest.
$ac_objext
44628 if { (ac_try
="$ac_compile"
44629 case "(($ac_try" in
44630 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44631 *) ac_try_echo=$ac_try;;
44633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44634 (eval "$ac_compile") 2>conftest.er1
44636 grep -v '^ *+' conftest.er1 >conftest.err
44638 cat conftest.err >&5
44639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44640 (exit $ac_status); } && {
44641 test -z "$ac_c_werror_flag" ||
44642 test ! -s conftest.err
44643 } && test -s conftest.$ac_objext; then
44644 ac_cv_header_WebKit_HIWebView_h=yes
44646 echo "$as_me: failed program was:" >&5
44647 sed 's/^/| /' conftest.$ac_ext >&5
44649 ac_cv_header_WebKit_HIWebView_h=no
44652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44654 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
44655 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
44656 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
44658 cat >>confdefs.h <<\_ACEOF
44659 #define wxUSE_WEBKIT 1
44662 WEBKIT_LINK="-framework WebKit"
44666 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
44667 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
44673 CPPFLAGS="$old_CPPFLAGS"
44674 elif test "$wxUSE_COCOA" = 1; then
44675 cat >>confdefs.h <<\_ACEOF
44676 #define wxUSE_WEBKIT 1
44685 if test "$wxUSE_XRC" = "yes"; then
44686 if test "$wxUSE_XML" != "yes"; then
44687 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
44688 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
44691 cat >>confdefs.h <<\_ACEOF
44692 #define wxUSE_XRC 1
44696 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
44701 if test "$wxUSE_AUI" = "yes"; then
44702 cat >>confdefs.h <<\_ACEOF
44703 #define wxUSE_AUI 1
44707 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
44711 if test "$wxUSE_STC" = "yes"; then
44712 cat >>confdefs.h <<\_ACEOF
44713 #define wxUSE_STC 1
44717 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
44720 if test "$wxUSE_MENUS" = "yes"; then
44721 cat >>confdefs.h <<\_ACEOF
44722 #define wxUSE_MENUS 1
44725 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
44728 if test "$wxUSE_METAFILE" = "yes"; then
44729 cat >>confdefs.h <<\_ACEOF
44730 #define wxUSE_METAFILE 1
44735 if test "$wxUSE_MIMETYPE" = "yes"; then
44736 cat >>confdefs.h <<\_ACEOF
44737 #define wxUSE_MIMETYPE 1
44742 if test "$wxUSE_MINIFRAME" = "yes"; then
44743 cat >>confdefs.h <<\_ACEOF
44744 #define wxUSE_MINIFRAME 1
44747 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
44750 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
44751 cat >>confdefs.h <<\_ACEOF
44752 #define wxUSE_SYSTEM_OPTIONS 1
44755 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
44756 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
44757 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
44762 if test "$wxUSE_VALIDATORS" = "yes"; then
44763 cat >>confdefs.h <<\_ACEOF
44764 #define wxUSE_VALIDATORS 1
44767 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
44770 if test "$wxUSE_PALETTE" = "yes" ; then
44771 if test "$wxUSE_DFB" = 1; then
44772 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
44773 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
44776 cat >>confdefs.h <<\_ACEOF
44777 #define wxUSE_PALETTE 1
44783 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
44784 LIBS=" -lunicows $LIBS"
44788 if test "$wxUSE_RICHTEXT" = "yes"; then
44789 cat >>confdefs.h <<\_ACEOF
44790 #define wxUSE_RICHTEXT 1
44794 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
44798 if test "$wxUSE_IMAGE" = "yes" ; then
44799 cat >>confdefs.h <<\_ACEOF
44800 #define wxUSE_IMAGE 1
44804 if test "$wxUSE_GIF" = "yes" ; then
44805 cat >>confdefs.h <<\_ACEOF
44806 #define wxUSE_GIF 1
44811 if test "$wxUSE_PCX" = "yes" ; then
44812 cat >>confdefs.h <<\_ACEOF
44813 #define wxUSE_PCX 1
44818 if test "$wxUSE_TGA" = "yes" ; then
44819 cat >>confdefs.h <<\_ACEOF
44820 #define wxUSE_TGA 1
44825 if test "$wxUSE_IFF" = "yes" ; then
44826 cat >>confdefs.h <<\_ACEOF
44827 #define wxUSE_IFF 1
44832 if test "$wxUSE_PNM" = "yes" ; then
44833 cat >>confdefs.h <<\_ACEOF
44834 #define wxUSE_PNM 1
44839 if test "$wxUSE_XPM" = "yes" ; then
44840 cat >>confdefs.h <<\_ACEOF
44841 #define wxUSE_XPM 1
44846 if test "$wxUSE_ICO_CUR" = "yes" ; then
44847 cat >>confdefs.h <<\_ACEOF
44848 #define wxUSE_ICO_CUR 1
44855 if test "$wxUSE_ABOUTDLG" = "yes"; then
44856 cat >>confdefs.h <<\_ACEOF
44857 #define wxUSE_ABOUTDLG 1
44862 if test "$wxUSE_CHOICEDLG" = "yes"; then
44863 cat >>confdefs.h <<\_ACEOF
44864 #define wxUSE_CHOICEDLG 1
44869 if test "$wxUSE_COLOURDLG" = "yes"; then
44870 cat >>confdefs.h <<\_ACEOF
44871 #define wxUSE_COLOURDLG 1
44876 if test "$wxUSE_FILEDLG" = "yes"; then
44877 cat >>confdefs.h <<\_ACEOF
44878 #define wxUSE_FILEDLG 1
44883 if test "$wxUSE_FINDREPLDLG" = "yes"; then
44884 cat >>confdefs.h <<\_ACEOF
44885 #define wxUSE_FINDREPLDLG 1
44890 if test "$wxUSE_FONTDLG" = "yes"; then
44891 cat >>confdefs.h <<\_ACEOF
44892 #define wxUSE_FONTDLG 1
44897 if test "$wxUSE_DIRDLG" = "yes"; then
44898 if test "$wxUSE_TREECTRL" != "yes"; then
44899 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
44900 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
44902 cat >>confdefs.h <<\_ACEOF
44903 #define wxUSE_DIRDLG 1
44909 if test "$wxUSE_MSGDLG" = "yes"; then
44910 cat >>confdefs.h <<\_ACEOF
44911 #define wxUSE_MSGDLG 1
44916 if test "$wxUSE_NUMBERDLG" = "yes"; then
44917 cat >>confdefs.h <<\_ACEOF
44918 #define wxUSE_NUMBERDLG 1
44923 if test "$wxUSE_PROGRESSDLG" = "yes"; then
44924 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44925 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
44926 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
44928 cat >>confdefs.h <<\_ACEOF
44929 #define wxUSE_PROGRESSDLG 1
44935 if test "$wxUSE_SPLASH" = "yes"; then
44936 cat >>confdefs.h <<\_ACEOF
44937 #define wxUSE_SPLASH 1
44940 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
44943 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
44944 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44945 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
44946 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
44948 cat >>confdefs.h <<\_ACEOF
44949 #define wxUSE_STARTUP_TIPS 1
44955 if test "$wxUSE_TEXTDLG" = "yes"; then
44956 cat >>confdefs.h <<\_ACEOF
44957 #define wxUSE_TEXTDLG 1
44962 if test "$wxUSE_WIZARDDLG" = "yes"; then
44963 cat >>confdefs.h <<\_ACEOF
44964 #define wxUSE_WIZARDDLG 1
44967 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
44971 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
44972 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
44973 cat >>confdefs.h <<\_ACEOF
44974 #define wxUSE_GRAPHICS_CONTEXT 1
44977 elif test "$wxUSE_GTK" != 1; then
44978 cat >>confdefs.h <<\_ACEOF
44979 #define wxUSE_GRAPHICS_CONTEXT 1
44985 { echo "$as_me:$LINENO: checking for CAIRO" >&5
44986 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
44988 if test -n "$PKG_CONFIG"; then
44989 if test -n "$CAIRO_CFLAGS"; then
44990 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
44992 if test -n "$PKG_CONFIG" && \
44993 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
44994 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
44996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44997 (exit $ac_status); }; then
44998 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev
/null
`
45006 if test -n "$PKG_CONFIG"; then
45007 if test -n "$CAIRO_LIBS"; then
45008 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
45010 if test -n "$PKG_CONFIG" && \
45011 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
45012 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
45014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45015 (exit $ac_status); }; then
45016 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev
/null
`
45027 if test $pkg_failed = yes; then
45029 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45030 _pkg_short_errors_supported=yes
45032 _pkg_short_errors_supported=no
45034 if test $_pkg_short_errors_supported = yes; then
45035 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
45037 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
45039 # Put the nasty error message in config.log where it belongs
45040 echo "$CAIRO_PKG_ERRORS" >&5
45042 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
45043 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
45045 elif test $pkg_failed = untried; then
45046 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
45047 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
45050 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
45051 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
45052 { echo "$as_me:$LINENO: result: yes" >&5
45053 echo "${ECHO_T}yes" >&6; }
45054 cat >>confdefs.h <<\_ACEOF
45055 #define wxUSE_GRAPHICS_CONTEXT 1
45065 if test "$wxUSE_MEDIACTRL" = "yes"; then
45068 if test "$wxUSE_GTK" = 1; then
45069 wxUSE_GSTREAMER="no"
45071 GST_VERSION_MAJOR=0
45072 GST_VERSION_MINOR=10
45073 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
45075 if test "$wxUSE_GSTREAMER8" = "no"; then
45078 { echo "$as_me:$LINENO: checking for GST" >&5
45079 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
45081 if test -n "$PKG_CONFIG"; then
45082 if test -n "$GST_CFLAGS"; then
45083 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
45085 if test -n "$PKG_CONFIG" && \
45086 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
45087 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
45089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45090 (exit $ac_status); }; then
45091 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
45099 if test -n "$PKG_CONFIG"; then
45100 if test -n "$GST_LIBS"; then
45101 pkg_cv_GST_LIBS="$GST_LIBS"
45103 if test -n "$PKG_CONFIG" && \
45104 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
45105 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
45107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45108 (exit $ac_status); }; then
45109 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
45120 if test $pkg_failed = yes; then
45122 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45123 _pkg_short_errors_supported=yes
45125 _pkg_short_errors_supported=no
45127 if test $_pkg_short_errors_supported = yes; then
45128 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
45130 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
45132 # Put the nasty error message in config.log where it belongs
45133 echo "$GST_PKG_ERRORS" >&5
45136 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
45137 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
45138 GST_VERSION_MINOR=8
45141 elif test $pkg_failed = untried; then
45143 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
45144 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
45145 GST_VERSION_MINOR=8
45149 GST_CFLAGS=$pkg_cv_GST_CFLAGS
45150 GST_LIBS=$pkg_cv_GST_LIBS
45151 { echo "$as_me:$LINENO: result: yes" >&5
45152 echo "${ECHO_T}yes" >&6; }
45154 wxUSE_GSTREAMER="yes"
45155 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
45159 GST_VERSION_MINOR=8
45162 if test $GST_VERSION_MINOR = "8"; then
45163 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
45166 { echo "$as_me:$LINENO: checking for GST" >&5
45167 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
45169 if test -n "$PKG_CONFIG"; then
45170 if test -n "$GST_CFLAGS"; then
45171 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
45173 if test -n "$PKG_CONFIG" && \
45174 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
45175 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
45177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45178 (exit $ac_status); }; then
45179 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
45187 if test -n "$PKG_CONFIG"; then
45188 if test -n "$GST_LIBS"; then
45189 pkg_cv_GST_LIBS="$GST_LIBS"
45191 if test -n "$PKG_CONFIG" && \
45192 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
45193 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
45195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45196 (exit $ac_status); }; then
45197 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
45208 if test $pkg_failed = yes; then
45210 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45211 _pkg_short_errors_supported=yes
45213 _pkg_short_errors_supported=no
45215 if test $_pkg_short_errors_supported = yes; then
45216 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45218 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45220 # Put the nasty error message in config.log where it belongs
45221 echo "$GST_PKG_ERRORS" >&5
45224 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
45225 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
45227 elif test $pkg_failed = untried; then
45229 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
45230 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
45233 GST_CFLAGS=$pkg_cv_GST_CFLAGS
45234 GST_LIBS=$pkg_cv_GST_LIBS
45235 { echo "$as_me:$LINENO: result: yes" >&5
45236 echo "${ECHO_T}yes" >&6; }
45237 wxUSE_GSTREAMER="yes"
45242 if test "$wxUSE_GSTREAMER" = "yes"; then
45245 if "$GCC" = yes; then
45246 GST_CFLAGS=`echo $GST_CFLAGS | sed 's/-mt//'`
45247 GST_LIBS=`echo $GST_LIBS | sed 's/-mt//'`
45251 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
45252 LIBS="$GST_LIBS $LIBS"
45254 cat >>confdefs.h <<\_ACEOF
45255 #define wxUSE_GSTREAMER 1
45263 if test $USE_MEDIA = 1; then
45264 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
45265 cat >>confdefs.h <<\_ACEOF
45266 #define wxUSE_MEDIACTRL 1
45273 if test "$cross_compiling" = "yes"; then
45276 OSINFO=`uname
-s -r -m`
45277 OSINFO="\"$OSINFO\""
45280 cat >>confdefs.h <<_ACEOF
45281 #define WXWIN_OS_DESCRIPTION $OSINFO
45286 if test "x$prefix" != "xNONE"; then
45289 wxPREFIX=$ac_default_prefix
45292 cat >>confdefs.h <<_ACEOF
45293 #define wxINSTALL_PREFIX "$wxPREFIX"
45299 CORE_BASE_LIBS="net base"
45300 CORE_GUI_LIBS="adv core"
45302 if test "$wxUSE_XML" = "yes" ; then
45303 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
45305 if test "$wxUSE_ODBC" != "no" ; then
45306 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
45307 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
45309 if test "$wxUSE_HTML" = "yes" ; then
45310 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
45312 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45313 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
45315 if test "$wxUSE_XRC" = "yes" ; then
45316 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
45318 if test "$wxUSE_AUI" = "yes" ; then
45319 CORE_GUI_LIBS="aui $CORE_GUI_LIBS"
45321 if test "$wxUSE_STC" = "yes" ; then
45322 CORE_GUI_LIBS="stc $CORE_GUI_LIBS"
45325 if test "$wxUSE_GUI" != "yes"; then
45334 if test "$wxUSE_MAC" = 1 ; then
45335 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
45336 if test "$USE_DARWIN" = 1; then
45337 LDFLAGS="$LDFLAGS -framework QuickTime"
45339 LDFLAGS="$LDFLAGS -lQuickTimeLib"
45342 if test "$USE_DARWIN" = 1; then
45343 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
45345 LDFLAGS="$LDFLAGS -lCarbonLib"
45348 if test "$wxUSE_COCOA" = 1 ; then
45349 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
45350 if test "$wxUSE_MEDIACTRL" = "yes"; then
45351 LDFLAGS="$LDFLAGS -framework QuickTime"
45354 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
45355 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
45358 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
45360 if test "$wxUSE_GUI" = "yes"; then
45363 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
45364 dynamic erase event exec font image minimal mobile \
45365 mobile/wxedit mobile/styles propsize render \
45366 rotate shaped svg taborder vscroll widgets"
45368 if test "$wxUSE_MONOLITHIC" != "yes"; then
45369 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
45371 if test "$TOOLKIT" = "MSW"; then
45372 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
45373 if test "$wxUSE_UNIVERSAL" != "yes"; then
45374 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
45377 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
45378 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
45381 SAMPLES_SUBDIRS="console"
45385 if test "x$INTELCC" = "xyes" ; then
45386 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
45387 elif test "$GCC" = yes ; then
45388 CWARNINGS="-Wall -Wundef"
45391 if test "x$INTELCXX" = "xyes" ; then
45392 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
45393 elif test "$GXX" = yes ; then
45394 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
45398 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
45399 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
45402 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
45403 -I\\${wx_top_builddir}/lib
/wx
/include
/${TOOLCHAIN_FULLNAME} \
45404 -I\\${top_srcdir}/include
$TOOLKIT_INCLUDE \
45407 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
45408 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
45409 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
45411 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
45414 if test "x$MWCC" = "xyes"; then
45416 CC="$CC -cwd source -I-"
45417 CXX="$CXX -cwd source -I-"
45422 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
45423 EXTRALIBS_XML="$EXPAT_LINK"
45424 EXTRALIBS_HTML="$MSPACK_LINK"
45425 EXTRALIBS_ODBC="$ODBC_LINK"
45426 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
45427 if test "$wxUSE_GUI" = "yes"; then
45428 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
45430 if test "$wxUSE_OPENGL" = "yes"; then
45431 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
45434 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
45436 WXCONFIG_LIBS="$LIBS"
45438 if test "$wxUSE_REGEX" = "builtin" ; then
45439 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
45441 if test "$wxUSE_EXPAT" = "builtin" ; then
45442 wxconfig_3rdparty="expat $wxconfig_3rdparty"
45444 if test "$wxUSE_ODBC" = "builtin" ; then
45445 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
45447 if test "$wxUSE_LIBTIFF" = "builtin" ; then
45448 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
45450 if test "$wxUSE_LIBJPEG" = "builtin" ; then
45451 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
45453 if test "$wxUSE_LIBPNG" = "builtin" ; then
45454 wxconfig_3rdparty="png $wxconfig_3rdparty"
45456 if test "$wxUSE_ZLIB" = "builtin" ; then
45457 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
45460 for i in $wxconfig_3rdparty ; do
45461 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
45465 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
45468 case "$wxUNIV_THEMES" in
45470 cat >>confdefs.h <<\_ACEOF
45471 #define wxUSE_ALL_THEMES 1
45477 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a
-z A
-Z`; do
45478 cat >>confdefs.h <<_ACEOF
45479 #define wxUSE_THEME_$t 1
45496 if test $wxUSE_MONOLITHIC = "yes" ; then
45502 if test $wxUSE_PLUGINS = "yes" ; then
45508 if test $wxUSE_ODBC != "no" ; then
45514 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45520 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
45551 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
45562 TOOLKIT_DESC="GTK+"
45563 if test "$WXGTK20" = 1; then
45564 TOOLKIT_DESC="$TOOLKIT_DESC 2"
45565 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
45566 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
45568 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
45569 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
45571 if test "$wxUSE_LIBHILDON" = "yes"; then
45572 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
45575 if test "$TOOLKIT_EXTRA" != ""; then
45576 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
45582 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
45586 TOOLKIT_DESC="base only"
45590 if test "$wxUSE_WINE" = "yes"; then
45591 BAKEFILE_FORCE_PLATFORM=win32
45594 if test "$wxUSE_MAC" = 1 ; then
45595 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
45596 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
45597 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
45599 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
45601 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
45602 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
45603 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
45604 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
45607 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
45608 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
45611 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
45613 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
45614 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
45615 if test "${wx_cv_gcc_pch_bug+set}" = set; then
45616 echo $ECHO_N "(cached) $ECHO_C" >&6
45619 echo '#include <stdio.h>
45620 const wchar_t test_var[] = L"awidetest";' > conftest.h
45622 echo '#include "conftest.h"
45625 printf("%ls", test_var);
45629 wx_cv_gcc_pch_bug="pch not supported"
45631 if $CXX conftest.h >/dev/null 2>&1
45635 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
45637 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
45638 grep awidetest >/dev/null
45640 wx_cv_gcc_pch_bug=no
45642 wx_cv_gcc_pch_bug=yes
45647 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
45650 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
45651 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
45653 if test "$wx_cv_gcc_pch_bug" = yes; then
45661 if test "x$BAKEFILE_HOST" = "x"; then
45662 if test "x${host}" = "x" ; then
45663 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
45664 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
45665 { (exit 1); exit 1; }; }
45668 BAKEFILE_HOST="${host}"
45671 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
45673 if test -n "$ac_tool_prefix"; then
45674 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
45675 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
45676 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45677 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45678 if test "${ac_cv_prog_RANLIB+set}" = set; then
45679 echo $ECHO_N "(cached) $ECHO_C" >&6
45681 if test -n "$RANLIB"; then
45682 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
45684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45685 for as_dir in $PATH
45688 test -z "$as_dir" && as_dir=.
45689 for ac_exec_ext in '' $ac_executable_extensions; do
45690 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45691 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
45692 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45701 RANLIB=$ac_cv_prog_RANLIB
45702 if test -n "$RANLIB"; then
45703 { echo "$as_me:$LINENO: result: $RANLIB" >&5
45704 echo "${ECHO_T}$RANLIB" >&6; }
45706 { echo "$as_me:$LINENO: result: no" >&5
45707 echo "${ECHO_T}no" >&6; }
45712 if test -z "$ac_cv_prog_RANLIB"; then
45713 ac_ct_RANLIB=$RANLIB
45714 # Extract the first word of "ranlib", so it can be a program name with args.
45715 set dummy ranlib; ac_word=$2
45716 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45717 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45718 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
45719 echo $ECHO_N "(cached) $ECHO_C" >&6
45721 if test -n "$ac_ct_RANLIB"; then
45722 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
45724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45725 for as_dir in $PATH
45728 test -z "$as_dir" && as_dir=.
45729 for ac_exec_ext in '' $ac_executable_extensions; do
45730 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45731 ac_cv_prog_ac_ct_RANLIB="ranlib"
45732 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45741 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
45742 if test -n "$ac_ct_RANLIB"; then
45743 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
45744 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
45746 { echo "$as_me:$LINENO: result: no" >&5
45747 echo "${ECHO_T}no" >&6; }
45750 if test "x$ac_ct_RANLIB" = x; then
45753 case $cross_compiling:$ac_tool_warned in
45755 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
45756 whose name does not start with the host triplet. If you think this
45757 configuration is useful to you, please write to autoconf@gnu.org." >&5
45758 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
45759 whose name does not start with the host triplet. If you think this
45760 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
45761 ac_tool_warned=yes ;;
45763 RANLIB=$ac_ct_RANLIB
45766 RANLIB="$ac_cv_prog_RANLIB"
45769 # Find a good install program. We prefer a C program (faster),
45770 # so one script is as good as another. But avoid the broken or
45771 # incompatible versions:
45772 # SysV /etc/install, /usr/sbin/install
45773 # SunOS /usr/etc/install
45774 # IRIX /sbin/install
45776 # AmigaOS /C/install, which installs bootblocks on floppy discs
45777 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
45778 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
45779 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
45780 # OS/2's system install, which has a completely different semantic
45781 # ./install, which can be erroneously created by make from ./install.sh.
45782 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
45783 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
45784 if test -z "$INSTALL"; then
45785 if test "${ac_cv_path_install+set}" = set; then
45786 echo $ECHO_N "(cached) $ECHO_C" >&6
45788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45789 for as_dir in $PATH
45792 test -z "$as_dir" && as_dir=.
45793 # Account for people who put trailing slashes in PATH elements.
45795 ./ | .// | /cC/* | \
45796 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
45797 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
45800 # OSF1 and SCO ODT 3.0 have their own names for install.
45801 # Don't use installbsd from OSF since it installs stuff as root
45803 for ac_prog in ginstall scoinst install; do
45804 for ac_exec_ext in '' $ac_executable_extensions; do
45805 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
45806 if test $ac_prog = install &&
45807 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
45808 # AIX install. It has an incompatible calling convention.
45810 elif test $ac_prog = install &&
45811 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
45812 # program-specific install script used by HP pwplus--don't use.
45815 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
45828 if test "${ac_cv_path_install+set}" = set; then
45829 INSTALL=$ac_cv_path_install
45831 # As a last resort, use the slow shell script. Don't cache a
45832 # value for INSTALL within a source directory, because that will
45833 # break other packages using the cache if that directory is
45834 # removed, or if the value is a relative name.
45835 INSTALL=$ac_install_sh
45838 { echo "$as_me:$LINENO: result: $INSTALL" >&5
45839 echo "${ECHO_T}$INSTALL" >&6; }
45841 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
45842 # It thinks the first close brace ends the variable substitution.
45843 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
45845 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
45847 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
45849 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
45850 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
45852 if test "$LN_S" = "ln -s"; then
45853 { echo "$as_me:$LINENO: result: yes" >&5
45854 echo "${ECHO_T}yes" >&6; }
45856 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
45857 echo "${ECHO_T}no, using $LN_S" >&6; }
45861 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
45862 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
45863 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
45864 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
45865 echo $ECHO_N "(cached) $ECHO_C" >&6
45867 cat >conftest.make <<\_ACEOF
45870 @echo '@@@%%%=$(MAKE)=@@@%%%'
45872 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
45873 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
45874 *@@@%%%=?*=@@@%%%*)
45875 eval ac_cv_prog_make_${ac_make}_set=yes;;
45877 eval ac_cv_prog_make_${ac_make}_set=no;;
45879 rm -f conftest.make
45881 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
45882 { echo "$as_me:$LINENO: result: yes" >&5
45883 echo "${ECHO_T}yes" >&6; }
45886 { echo "$as_me:$LINENO: result: no" >&5
45887 echo "${ECHO_T}no" >&6; }
45888 SET_MAKE="MAKE=${MAKE-make}"
45893 if test "x$SUNCXX" = "xyes"; then
45895 AROPTIONS="-xar -o"
45897 elif test "x$SGICC" = "xyes"; then
45902 if test -n "$ac_tool_prefix"; then
45903 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
45904 set dummy ${ac_tool_prefix}ar; ac_word=$2
45905 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45906 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45907 if test "${ac_cv_prog_AR+set}" = set; then
45908 echo $ECHO_N "(cached) $ECHO_C" >&6
45910 if test -n "$AR"; then
45911 ac_cv_prog_AR="$AR" # Let the user override the test.
45913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45914 for as_dir in $PATH
45917 test -z "$as_dir" && as_dir=.
45918 for ac_exec_ext in '' $ac_executable_extensions; do
45919 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45920 ac_cv_prog_AR="${ac_tool_prefix}ar"
45921 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45931 if test -n "$AR"; then
45932 { echo "$as_me:$LINENO: result: $AR" >&5
45933 echo "${ECHO_T}$AR" >&6; }
45935 { echo "$as_me:$LINENO: result: no" >&5
45936 echo "${ECHO_T}no" >&6; }
45941 if test -z "$ac_cv_prog_AR"; then
45943 # Extract the first word of "ar", so it can be a program name with args.
45944 set dummy ar; ac_word=$2
45945 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45946 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45947 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
45948 echo $ECHO_N "(cached) $ECHO_C" >&6
45950 if test -n "$ac_ct_AR"; then
45951 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
45953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45954 for as_dir in $PATH
45957 test -z "$as_dir" && as_dir=.
45958 for ac_exec_ext in '' $ac_executable_extensions; do
45959 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45960 ac_cv_prog_ac_ct_AR="ar"
45961 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45970 ac_ct_AR=$ac_cv_prog_ac_ct_AR
45971 if test -n "$ac_ct_AR"; then
45972 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
45973 echo "${ECHO_T}$ac_ct_AR" >&6; }
45975 { echo "$as_me:$LINENO: result: no" >&5
45976 echo "${ECHO_T}no" >&6; }
45979 if test "x$ac_ct_AR" = x; then
45982 case $cross_compiling:$ac_tool_warned in
45984 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
45985 whose name does not start with the host triplet. If you think this
45986 configuration is useful to you, please write to autoconf@gnu.org." >&5
45987 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
45988 whose name does not start with the host triplet. If you think this
45989 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
45990 ac_tool_warned=yes ;;
45995 AR="$ac_cv_prog_AR"
46002 if test -n "$ac_tool_prefix"; then
46003 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
46004 set dummy ${ac_tool_prefix}strip; ac_word=$2
46005 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46006 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46007 if test "${ac_cv_prog_STRIP+set}" = set; then
46008 echo $ECHO_N "(cached) $ECHO_C" >&6
46010 if test -n "$STRIP"; then
46011 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
46013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46014 for as_dir in $PATH
46017 test -z "$as_dir" && as_dir=.
46018 for ac_exec_ext in '' $ac_executable_extensions; do
46019 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46020 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
46021 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46030 STRIP=$ac_cv_prog_STRIP
46031 if test -n "$STRIP"; then
46032 { echo "$as_me:$LINENO: result: $STRIP" >&5
46033 echo "${ECHO_T}$STRIP" >&6; }
46035 { echo "$as_me:$LINENO: result: no" >&5
46036 echo "${ECHO_T}no" >&6; }
46041 if test -z "$ac_cv_prog_STRIP"; then
46043 # Extract the first word of "strip", so it can be a program name with args.
46044 set dummy strip; ac_word=$2
46045 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46046 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46047 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
46048 echo $ECHO_N "(cached) $ECHO_C" >&6
46050 if test -n "$ac_ct_STRIP"; then
46051 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
46053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46054 for as_dir in $PATH
46057 test -z "$as_dir" && as_dir=.
46058 for ac_exec_ext in '' $ac_executable_extensions; do
46059 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46060 ac_cv_prog_ac_ct_STRIP="strip"
46061 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46070 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
46071 if test -n "$ac_ct_STRIP"; then
46072 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
46073 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
46075 { echo "$as_me:$LINENO: result: no" >&5
46076 echo "${ECHO_T}no" >&6; }
46079 if test "x$ac_ct_STRIP" = x; then
46082 case $cross_compiling:$ac_tool_warned in
46084 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46085 whose name does not start with the host triplet. If you think this
46086 configuration is useful to you, please write to autoconf@gnu.org." >&5
46087 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46088 whose name does not start with the host triplet. If you think this
46089 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46090 ac_tool_warned=yes ;;
46095 STRIP="$ac_cv_prog_STRIP"
46098 if test -n "$ac_tool_prefix"; then
46099 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
46100 set dummy ${ac_tool_prefix}nm; ac_word=$2
46101 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46102 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46103 if test "${ac_cv_prog_NM+set}" = set; then
46104 echo $ECHO_N "(cached) $ECHO_C" >&6
46106 if test -n "$NM"; then
46107 ac_cv_prog_NM="$NM" # Let the user override the test.
46109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46110 for as_dir in $PATH
46113 test -z "$as_dir" && as_dir=.
46114 for ac_exec_ext in '' $ac_executable_extensions; do
46115 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46116 ac_cv_prog_NM="${ac_tool_prefix}nm"
46117 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46127 if test -n "$NM"; then
46128 { echo "$as_me:$LINENO: result: $NM" >&5
46129 echo "${ECHO_T}$NM" >&6; }
46131 { echo "$as_me:$LINENO: result: no" >&5
46132 echo "${ECHO_T}no" >&6; }
46137 if test -z "$ac_cv_prog_NM"; then
46139 # Extract the first word of "nm", so it can be a program name with args.
46140 set dummy nm; ac_word=$2
46141 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46142 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46143 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
46144 echo $ECHO_N "(cached) $ECHO_C" >&6
46146 if test -n "$ac_ct_NM"; then
46147 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
46149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46150 for as_dir in $PATH
46153 test -z "$as_dir" && as_dir=.
46154 for ac_exec_ext in '' $ac_executable_extensions; do
46155 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46156 ac_cv_prog_ac_ct_NM="nm"
46157 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46166 ac_ct_NM=$ac_cv_prog_ac_ct_NM
46167 if test -n "$ac_ct_NM"; then
46168 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
46169 echo "${ECHO_T}$ac_ct_NM" >&6; }
46171 { echo "$as_me:$LINENO: result: no" >&5
46172 echo "${ECHO_T}no" >&6; }
46175 if test "x$ac_ct_NM" = x; then
46178 case $cross_compiling:$ac_tool_warned in
46180 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46181 whose name does not start with the host triplet. If you think this
46182 configuration is useful to you, please write to autoconf@gnu.org." >&5
46183 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46184 whose name does not start with the host triplet. If you think this
46185 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46186 ac_tool_warned=yes ;;
46191 NM="$ac_cv_prog_NM"
46195 case ${BAKEFILE_HOST} in
46197 INSTALL_DIR="mkdir -p"
46200 INSTALL_DIR='$(INSTALL) -d'
46206 case ${BAKEFILE_HOST} in
46207 *-*-cygwin* | *-*-mingw32* )
46208 LDFLAGS_GUI="-mwindows"
46214 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
46215 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
46216 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
46217 echo $ECHO_N "(cached) $ECHO_C" >&6
46220 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
46221 egrep -s GNU > /dev/null); then
46222 bakefile_cv_prog_makeisgnu="yes"
46224 bakefile_cv_prog_makeisgnu="no"
46228 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
46229 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
46231 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
46248 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
46249 case "${BAKEFILE_HOST}" in
46256 *-pc-os2_emx | *-pc-os2-emx )
46266 powerpc-apple-macos* )
46275 case "$BAKEFILE_FORCE_PLATFORM" in
46296 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
46297 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
46298 { (exit 1); exit 1; }; }
46313 # Check whether --enable-omf was given.
46314 if test "${enable_omf+set}" = set; then
46315 enableval=$enable_omf; bk_os2_use_omf="$enableval"
46319 case "${BAKEFILE_HOST}" in
46321 if test "x$GCC" = "xyes"; then
46322 CFLAGS="$CFLAGS -fno-common"
46323 CXXFLAGS="$CXXFLAGS -fno-common"
46325 if test "x$XLCC" = "xyes"; then
46326 CFLAGS="$CFLAGS -qnocommon"
46327 CXXFLAGS="$CXXFLAGS -qnocommon"
46331 *-pc-os2_emx | *-pc-os2-emx )
46332 if test "x$bk_os2_use_omf" = "xyes" ; then
46335 LDFLAGS="-Zomf $LDFLAGS"
46336 CFLAGS="-Zomf $CFLAGS"
46337 CXXFLAGS="-Zomf $CXXFLAGS"
46345 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
46351 SO_SUFFIX_MODULE="so"
46356 DLLPREFIX_MODULE=""
46360 case "${BAKEFILE_HOST}" in
46363 SO_SUFFIX_MODULE="sl"
46367 SO_SUFFIX_MODULE="a"
46371 SO_SUFFIX_MODULE="dll"
46372 DLLIMP_SUFFIX="dll.a"
46379 SO_SUFFIX_MODULE="dll"
46380 DLLIMP_SUFFIX="dll.a"
46390 *-pc-os2_emx | *-pc-os2-emx )
46392 SO_SUFFIX_MODULE="dll"
46393 DLLIMP_SUFFIX=$OS2_LIBEXT
46397 LIBEXT=".$OS2_LIBEXT"
46402 SO_SUFFIX_MODULE="bundle"
46406 if test "x$DLLIMP_SUFFIX" = "x" ; then
46407 DLLIMP_SUFFIX="$SO_SUFFIX"
46422 if test "x$GCC" = "xyes"; then
46426 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
46427 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
46430 case "${BAKEFILE_HOST}" in
46432 if test "x$GCC" != "xyes"; then
46433 LDFLAGS="$LDFLAGS -L/usr/lib"
46435 SHARED_LD_CC="${CC} -b -o"
46436 SHARED_LD_CXX="${CXX} -b -o"
46442 if test "x$GCC" != "xyes"; then
46443 { echo "$as_me:$LINENO: checking for Intel compiler" >&5
46444 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6; }
46445 if test "${bakefile_cv_prog_icc+set}" = set; then
46446 echo $ECHO_N "(cached) $ECHO_C" >&6
46449 cat >conftest.$ac_ext <<_ACEOF
46452 cat confdefs.h >>conftest.$ac_ext
46453 cat >>conftest.$ac_ext <<_ACEOF
46454 /* end confdefs.h. */
46460 #ifndef __INTEL_COMPILER
46468 rm -f conftest.$ac_objext
46469 if { (ac_try="$ac_compile"
46470 case "(($ac_try" in
46471 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46472 *) ac_try_echo
=$ac_try;;
46474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46475 (eval "$ac_compile") 2>conftest.er1
46477 grep -v '^ *+' conftest.er1
>conftest.err
46479 cat conftest.err
>&5
46480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46481 (exit $ac_status); } && {
46482 test -z "$ac_c_werror_flag" ||
46483 test ! -s conftest.err
46484 } && test -s conftest.
$ac_objext; then
46485 bakefile_cv_prog_icc
=yes
46487 echo "$as_me: failed program was:" >&5
46488 sed 's/^/| /' conftest.
$ac_ext >&5
46490 bakefile_cv_prog_icc
=no
46494 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46497 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
46498 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6; }
46499 if test "$bakefile_cv_prog_icc" = "yes"; then
46506 if test "x$GCC" != xyes
; then
46507 SHARED_LD_CC
="${CC} -G -o"
46508 SHARED_LD_CXX
="${CXX} -G -o"
46516 cat <<EOF >shared-ld-sh
46518 #-----------------------------------------------------------------------------
46519 #-- Name: distrib/mac/shared-ld-sh
46520 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
46521 #-- Author: Gilles Depeyrot
46522 #-- Copyright: (c) 2002 Gilles Depeyrot
46523 #-- Licence: any use permitted
46524 #-----------------------------------------------------------------------------
46529 linking_flag="-dynamiclib"
46530 ldargs="-r -keep_private_externs -nostdlib"
46532 while test ${D}# -gt 0; do
46539 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
46540 # collect these options and values
46541 args="${D}{args} ${D}1 ${D}2"
46546 # collect these load args
46547 ldargs="${D}{ldargs} ${D}1"
46550 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
46551 # collect these options
46552 args="${D}{args} ${D}1"
46555 -dynamiclib|-bundle)
46556 linking_flag="${D}1"
46560 echo "shared-ld: unhandled option '${D}1'"
46564 *.o | *.a | *.dylib)
46565 # collect object files
46566 objects="${D}{objects} ${D}1"
46570 echo "shared-ld: unhandled argument '${D}1'"
46581 # Link one module containing all the others
46583 if test ${D}{verbose} = 1; then
46584 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
46586 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
46590 # Link the shared library from the single module created, but only if the
46591 # previous command didn't fail:
46593 if test ${D}{status} = 0; then
46594 if test ${D}{verbose} = 1; then
46595 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
46597 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
46602 # Remove intermediate module
46604 rm -f master.${D}${D}.o
46609 chmod +x shared
-ld-sh
46611 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
46612 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
46615 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
46616 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
46617 if test "${bakefile_cv_gcc31+set}" = set; then
46618 echo $ECHO_N "(cached) $ECHO_C" >&6
46621 cat >conftest.
$ac_ext <<_ACEOF
46624 cat confdefs.h
>>conftest.
$ac_ext
46625 cat >>conftest.
$ac_ext <<_ACEOF
46626 /* end confdefs.h. */
46632 #if (__GNUC__ < 3) || \
46633 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
46641 rm -f conftest.
$ac_objext
46642 if { (ac_try
="$ac_compile"
46643 case "(($ac_try" in
46644 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46645 *) ac_try_echo=$ac_try;;
46647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46648 (eval "$ac_compile") 2>conftest.er1
46650 grep -v '^ *+' conftest.er1 >conftest.err
46652 cat conftest.err >&5
46653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46654 (exit $ac_status); } && {
46655 test -z "$ac_c_werror_flag" ||
46656 test ! -s conftest.err
46657 } && test -s conftest.$ac_objext; then
46659 bakefile_cv_gcc31=yes
46662 echo "$as_me: failed program was:" >&5
46663 sed 's/^/| /' conftest.$ac_ext >&5
46666 bakefile_cv_gcc31=no
46671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46674 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
46675 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
46676 if test "$bakefile_cv_gcc31" = "no"; then
46677 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
46678 SHARED_LD_CXX="$SHARED_LD_CC"
46680 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
46681 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
46684 if test "x$GCC" == "xyes"; then
46685 PIC_FLAG="-dynamic -fPIC"
46687 if test "x$XLCC" = "xyes"; then
46688 PIC_FLAG="-dynamic -DPIC"
46693 if test "x$GCC" = "xyes"; then
46696 case "${BAKEFILE_HOST}" in
46698 LD_EXPFULL="-Wl,-bexpfull"
46702 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
46703 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
46705 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
46706 set dummy makeC++SharedLib; ac_word=$2
46707 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46708 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46709 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
46710 echo $ECHO_N "(cached) $ECHO_C" >&6
46712 if test -n "$AIX_CXX_LD"; then
46713 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
46715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46716 for as_dir in $PATH
46719 test -z "$as_dir" && as_dir=.
46720 for ac_exec_ext in '' $ac_executable_extensions; do
46721 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46722 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
46723 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46730 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
46733 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
46734 if test -n "$AIX_CXX_LD"; then
46735 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
46736 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
46738 { echo "$as_me:$LINENO: result: no" >&5
46739 echo "${ECHO_T}no" >&6; }
46743 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
46744 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
46749 SHARED_LD_CC="${LD} -nostart -o"
46750 SHARED_LD_CXX="${LD} -nostart -o"
46754 if test "x$GCC" != "xyes"; then
46759 *-*-cygwin* | *-*-mingw32* )
46761 SHARED_LD_CC="\$(CC) -shared -o"
46762 SHARED_LD_CXX="\$(CXX) -shared -o"
46766 *-pc-os2_emx | *-pc-os2-emx )
46767 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46768 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46772 cat <<EOF >dllar.sh
46775 # dllar - a tool to build both a .dll and an .a file
46776 # from a set of object (.o) files for EMX/OS2.
46778 # Written by Andrew Zabolotny, bit@freya.etu.ru
46779 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
46781 # This script will accept a set of files on the command line.
46782 # All the public symbols from the .o files will be exported into
46783 # a .DEF file, then linker will be run (through gcc) against them to
46784 # build a shared library consisting of all given .o files. All libraries
46785 # (.a) will be first decompressed into component .o files then act as
46786 # described above. You can optionally give a description (-d "description")
46787 # which will be put into .DLL. To see the list of accepted options (as well
46788 # as command-line format) simply run this program without options. The .DLL
46789 # is built to be imported by name (there is no guarantee that new versions
46790 # of the library you build will have same ordinals for same symbols).
46792 # dllar is free software; you can redistribute it and/or modify
46793 # it under the terms of the GNU General Public License as published by
46794 # the Free Software Foundation; either version 2, or (at your option)
46795 # any later version.
46797 # dllar is distributed in the hope that it will be useful,
46798 # but WITHOUT ANY WARRANTY; without even the implied warranty of
46799 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
46800 # GNU General Public License for more details.
46802 # You should have received a copy of the GNU General Public License
46803 # along with dllar; see the file COPYING. If not, write to the Free
46804 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
46807 # To successfuly run this program you will need:
46808 # - Current drive should have LFN support (HPFS, ext2, network, etc)
46809 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
46811 # (used to build the .dll)
46813 # (used to create .def file from .o files)
46815 # (used to create .a file from .def file)
46816 # - GNU text utilites (cat, sort, uniq)
46817 # used to process emxexp output
46818 # - GNU file utilities (mv, rm)
46820 # - lxlite (optional, see flag below)
46821 # (used for general .dll cleanup)
46828 # basnam, variant of basename, which does _not_ remove the path, _iff_
46829 # second argument (suffix to remove) is given
46833 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
46836 echo ${D}1 | sed 's/'${D}2'${D}//'
46839 echo "error in basnam ${D}*"
46845 # Cleanup temporary files and output
46848 for i in ${D}inputFiles ; do
46851 rm -rf \`basnam
${D}i
!\
`
46858 # Kill result in case of failure as there is just to many stupid make/nmake
46859 # things out there which doesn't do this.
46860 if [ ${D}# -eq 0 ]; then
46861 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
46865 # Print usage and exit script with rc=1.
46867 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
46868 echo ' [-name-mangler-script script.sh]'
46869 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
46870 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
46871 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
46872 echo ' [*.o] [*.a]'
46873 echo '*> "output_file" should have no extension.'
46874 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
46875 echo ' The import library name is derived from this and is set to "name".a,'
46876 echo ' unless overridden by -import'
46877 echo '*> "importlib_name" should have no extension.'
46878 echo ' If it has the .o, or .a extension, it is automatically removed.'
46879 echo ' This name is used as the import library name and may be longer and'
46880 echo ' more descriptive than the DLL name which has to follow the old '
46881 echo ' 8.3 convention of FAT.'
46882 echo '*> "script.sh may be given to override the output_file name by a'
46883 echo ' different name. It is mainly useful if the regular make process'
46884 echo ' of some package does not take into account OS/2 restriction of'
46885 echo ' DLL name lengths. It takes the importlib name as input and is'
46886 echo ' supposed to procude a shorter name as output. The script should'
46887 echo ' expect to get importlib_name without extension and should produce'
46888 echo ' a (max.) 8 letter name without extension.'
46889 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
46890 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
46891 echo ' These flags will be put at the start of GCC command line.'
46892 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
46893 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
46894 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
46895 echo ' If the last character of a symbol is "*", all symbols beginning'
46896 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
46897 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
46898 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
46899 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
46900 echo ' C runtime DLLs.'
46901 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
46902 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
46903 echo ' unchanged to GCC at the end of command line.'
46904 echo '*> If you create a DLL from a library and you do not specify -o,'
46905 echo ' the basename for DLL and import library will be set to library name,'
46906 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
46907 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
46908 echo ' library will be renamed into gcc_s.a.'
46911 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
46912 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
46917 # Execute a command.
46918 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
46919 # @Uses Whatever CleanUp() uses.
46925 if [ ${D}rcCmd -ne 0 ]; then
46926 echo "command failed, exit code="${D}rcCmd
46941 CFLAGS="-s -Zcrtdll"
46943 EXPORT_BY_ORDINALS=0
46948 case ${D}curDirS in
46952 curDirS=${D}{curDirS}"/"
46955 # Parse commandline
46958 while [ ${D}1 ]; do
46961 EXPORT_BY_ORDINALS=1;
46971 -name-mangler-script)
46992 exclude_symbols=${D}{exclude_symbols}${D}1" "
46996 library_flags=${D}{library_flags}${D}1" "
47015 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47018 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam
${D}1 .dll\
`"
47019 if [ ${D}omfLinking -eq 1 ]; then
47020 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
47022 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
47027 if [ ${D}libsToLink -ne 0 ]; then
47028 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47030 for file in ${D}1 ; do
47031 if [ -f ${D}file ]; then
47032 inputFiles="${D}{inputFiles} ${D}file"
47036 if [ ${D}found -eq 0 ]; then
47037 echo "ERROR: No file(s) found: "${D}1
47044 done # iterate cmdline words
47047 if [ -z "${D}inputFiles" ]; then
47048 echo "dllar: no input files"
47052 # Now extract all .o files from .a files
47054 for file in ${D}inputFiles ; do
47065 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
47070 dirname=\`basnam
${D}file ${D}suffix\
`"_%"
47072 if [ ${D}? -ne 0 ]; then
47073 echo "Failed to create subdirectory ./${D}dirname"
47077 # Append '!' to indicate archive
47078 newInputFiles="${D}newInputFiles ${D}{dirname}!"
47079 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
47082 for subfile in ${D}dirname/*.o* ; do
47083 if [ -f ${D}subfile ]; then
47085 if [ -s ${D}subfile ]; then
47086 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
47087 newInputFiles="${D}newInputFiles ${D}subfile"
47091 if [ ${D}found -eq 0 ]; then
47092 echo "WARNING: there are no files in archive \\'${D}file\\'"
47096 newInputFiles="${D}{newInputFiles} ${D}file"
47100 inputFiles="${D}newInputFiles"
47102 # Output filename(s).
47104 if [ -z ${D}outFile ]; then
47106 set outFile ${D}inputFiles; outFile=${D}2
47109 # If it is an archive, remove the '!' and the '_%' suffixes
47110 case ${D}outFile in
47112 outFile=\`basnam
${D}outFile _
%!\
`
47117 case ${D}outFile in
47119 outFile=\`basnam
${D}outFile .dll\
`
47122 outFile=\`basnam
${D}outFile .DLL\
`
47125 outFile=\`basnam
${D}outFile .o\
`
47128 outFile=\`basnam
${D}outFile .obj\
`
47131 outFile=\`basnam
${D}outFile .a\
`
47134 outFile=\`basnam
${D}outFile .lib\
`
47139 case ${D}outimpFile in
47141 outimpFile=\`basnam
${D}outimpFile .a\
`
47144 outimpFile=\`basnam
${D}outimpFile .lib\
`
47149 if [ -z ${D}outimpFile ]; then
47150 outimpFile=${D}outFile
47152 defFile="${D}{outFile}.def"
47153 arcFile="${D}{outimpFile}.a"
47154 arcFile2="${D}{outimpFile}.lib"
47156 #create ${D}dllFile as something matching 8.3 restrictions,
47157 if [ -z ${D}renameScript ] ; then
47158 dllFile="${D}outFile"
47160 dllFile=\`${D}renameScript
${D}outimpFile\
`
47163 if [ ${D}do_backup -ne 0 ] ; then
47164 if [ -f ${D}arcFile ] ; then
47165 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
47167 if [ -f ${D}arcFile2 ] ; then
47168 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
47172 # Extract public symbols from all the object files.
47173 tmpdefFile=${D}{defFile}_%
47174 rm -f ${D}tmpdefFile
47175 for file in ${D}inputFiles ; do
47180 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
47185 # Create the def file.
47187 echo "LIBRARY \`basnam
${D}dllFile\
` ${D}library_flags" >> ${D}defFile
47188 dllFile="${D}{dllFile}.dll"
47189 if [ ! -z ${D}description ]; then
47190 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
47192 echo "EXPORTS" >> ${D}defFile
47194 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
47195 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
47197 # Checks if the export is ok or not.
47198 for word in ${D}exclude_symbols; do
47199 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
47200 mv ${D}{tmpdefFile}% ${D}tmpdefFile
47204 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47205 sed "=" < ${D}tmpdefFile | \\
47209 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
47211 ' > ${D}{tmpdefFile}%
47212 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
47214 rm -f ${D}{tmpdefFile}%
47216 cat ${D}tmpdefFile >> ${D}defFile
47217 rm -f ${D}tmpdefFile
47219 # Do linking, create implib, and apply lxlite.
47221 for file in ${D}inputFiles ; do
47226 gccCmdl="${D}gccCmdl ${D}file"
47230 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
47231 touch "${D}{outFile}.dll"
47233 doCommand "emximp -o ${D}arcFile ${D}defFile"
47234 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
47236 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47239 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
47241 doCommand "emxomf -s -l ${D}arcFile"
47251 powerpc-apple-macos* | \
47252 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
47262 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
47263 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
47264 { (exit 1); exit 1; }; }
47267 if test "x$PIC_FLAG" != "x" ; then
47268 PIC_FLAG="$PIC_FLAG -DPIC"
47271 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
47272 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
47274 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
47275 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
47294 case "${BAKEFILE_HOST}" in
47295 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
47296 SONAME_FLAG="-Wl,-soname,"
47330 # Check whether --enable-dependency-tracking was given.
47331 if test "${enable_dependency_tracking+set}" = set; then
47332 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
47336 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
47337 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
47340 if test "x$bk_use_trackdeps" = "xno" ; then
47342 { echo "$as_me:$LINENO: result: disabled" >&5
47343 echo "${ECHO_T}disabled" >&6; }
47347 if test "x$GCC" = "xyes"; then
47349 case "${BAKEFILE_HOST}" in
47351 DEPSFLAG="-no-cpp-precomp -MMD"
47357 { echo "$as_me:$LINENO: result: gcc" >&5
47358 echo "${ECHO_T}gcc" >&6; }
47359 elif test "x$MWCC" = "xyes"; then
47362 { echo "$as_me:$LINENO: result: mwcc" >&5
47363 echo "${ECHO_T}mwcc" >&6; }
47364 elif test "x$SUNCC" = "xyes"; then
47367 { echo "$as_me:$LINENO: result: Sun cc" >&5
47368 echo "${ECHO_T}Sun cc" >&6; }
47369 elif test "x$SGICC" = "xyes"; then
47372 { echo "$as_me:$LINENO: result: SGI cc" >&5
47373 echo "${ECHO_T}SGI cc" >&6; }
47374 elif test "x$HPCC" = "xyes"; then
47377 { echo "$as_me:$LINENO: result: HP cc" >&5
47378 echo "${ECHO_T}HP cc" >&6; }
47379 elif test "x$COMPAQCC" = "xyes"; then
47382 { echo "$as_me:$LINENO: result: Compaq cc" >&5
47383 echo "${ECHO_T}Compaq cc" >&6; }
47386 { echo "$as_me:$LINENO: result: none" >&5
47387 echo "${ECHO_T}none" >&6; }
47390 if test $DEPS_TRACKING = 1 ; then
47396 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47397 # script. It is used to track C/C++ files dependencies in portable way.
47399 # Permission is given to use this file in any way.
47401 DEPSMODE=${DEPSMODE}
47403 DEPSFLAG="${DEPSFLAG}"
47405 mkdir -p ${D}DEPSDIR
47407 if test ${D}DEPSMODE = gcc ; then
47408 ${D}* ${D}{DEPSFLAG}
47410 if test ${D}{status} != 0 ; then
47413 # move created file to the location we want it in:
47414 while test ${D}# -gt 0; do
47428 depfile=\`basename ${D}srcfile
| sed -e 's/\\..*${D}/.d/g'\
`
47429 depobjname=\`echo ${D}depfile
|sed -e 's/\\.d/.o/g'\
`
47430 if test -f ${D}depfile ; then
47431 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47434 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
47435 depfile=\`basename ${D}objfile
| sed -e 's/\\..*${D}/.d/g'\
`
47436 if test ! -f ${D}depfile ; then
47437 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
47438 depfile="${D}objfile.d"
47440 if test -f ${D}depfile ; then
47441 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47446 elif test ${D}DEPSMODE = mwcc ; then
47447 ${D}* || exit ${D}?
47448 # Run mwcc again with -MM and redirect into the dep file we want
47449 # NOTE: We can't use shift here because we need ${D}* to be valid
47451 for arg in ${D}* ; do
47452 if test "${D}prevarg" = "-o"; then
47465 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
47467 elif test ${D}DEPSMODE = unixcc; then
47468 ${D}* || exit ${D}?
47469 # Run compiler again with deps flag and redirect into the dep file.
47470 # It doesn't work if the '-o FILE' option is used, but without it the
47471 # dependency file will contain the wrong name for the object. So it is
47472 # removed from the command line, and the dep file is fixed with sed.
47474 while test ${D}# -gt 0; do
47481 eval arg${D}#=\\${D}1
47482 cmd="${D}cmd \\${D}arg${D}#"
47487 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
47496 BK_DEPS="`pwd`/bk-deps"
47504 case ${BAKEFILE_HOST} in
47505 *-*-cygwin* | *-*-mingw32* )
47506 if test -n "$ac_tool_prefix"; then
47507 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
47508 set dummy ${ac_tool_prefix}windres; ac_word=$2
47509 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47510 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47511 if test "${ac_cv_prog_WINDRES+set}" = set; then
47512 echo $ECHO_N "(cached) $ECHO_C" >&6
47514 if test -n "$WINDRES"; then
47515 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
47517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47518 for as_dir in $PATH
47521 test -z "$as_dir" && as_dir=.
47522 for ac_exec_ext in '' $ac_executable_extensions; do
47523 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47524 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
47525 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47534 WINDRES=$ac_cv_prog_WINDRES
47535 if test -n "$WINDRES"; then
47536 { echo "$as_me:$LINENO: result: $WINDRES" >&5
47537 echo "${ECHO_T}$WINDRES" >&6; }
47539 { echo "$as_me:$LINENO: result: no" >&5
47540 echo "${ECHO_T}no" >&6; }
47545 if test -z "$ac_cv_prog_WINDRES"; then
47546 ac_ct_WINDRES=$WINDRES
47547 # Extract the first word of "windres", so it can be a program name with args.
47548 set dummy windres; ac_word=$2
47549 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47550 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47551 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
47552 echo $ECHO_N "(cached) $ECHO_C" >&6
47554 if test -n "$ac_ct_WINDRES"; then
47555 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
47557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47558 for as_dir in $PATH
47561 test -z "$as_dir" && as_dir=.
47562 for ac_exec_ext in '' $ac_executable_extensions; do
47563 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47564 ac_cv_prog_ac_ct_WINDRES="windres"
47565 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47574 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
47575 if test -n "$ac_ct_WINDRES"; then
47576 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
47577 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
47579 { echo "$as_me:$LINENO: result: no" >&5
47580 echo "${ECHO_T}no" >&6; }
47583 if test "x$ac_ct_WINDRES" = x; then
47586 case $cross_compiling:$ac_tool_warned in
47588 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47589 whose name does not start with the host triplet. If you think this
47590 configuration is useful to you, please write to autoconf@gnu.org." >&5
47591 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47592 whose name does not start with the host triplet. If you think this
47593 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47594 ac_tool_warned=yes ;;
47596 WINDRES=$ac_ct_WINDRES
47599 WINDRES="$ac_cv_prog_WINDRES"
47604 *-*-darwin* | powerpc-apple-macos* )
47605 # Extract the first word of "Rez", so it can be a program name with args.
47606 set dummy Rez; ac_word=$2
47607 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47608 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47609 if test "${ac_cv_prog_REZ+set}" = set; then
47610 echo $ECHO_N "(cached) $ECHO_C" >&6
47612 if test -n "$REZ"; then
47613 ac_cv_prog_REZ="$REZ" # Let the user override the test.
47615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47616 for as_dir in $PATH
47619 test -z "$as_dir" && as_dir=.
47620 for ac_exec_ext in '' $ac_executable_extensions; do
47621 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47622 ac_cv_prog_REZ="Rez"
47623 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47630 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
47633 REZ=$ac_cv_prog_REZ
47634 if test -n "$REZ"; then
47635 { echo "$as_me:$LINENO: result: $REZ" >&5
47636 echo "${ECHO_T}$REZ" >&6; }
47638 { echo "$as_me:$LINENO: result: no" >&5
47639 echo "${ECHO_T}no" >&6; }
47643 # Extract the first word of "SetFile", so it can be a program name with args.
47644 set dummy SetFile; ac_word=$2
47645 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47646 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47647 if test "${ac_cv_prog_SETFILE+set}" = set; then
47648 echo $ECHO_N "(cached) $ECHO_C" >&6
47650 if test -n "$SETFILE"; then
47651 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
47653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47654 for as_dir in $PATH
47657 test -z "$as_dir" && as_dir=.
47658 for ac_exec_ext in '' $ac_executable_extensions; do
47659 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47660 ac_cv_prog_SETFILE="SetFile"
47661 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47668 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
47671 SETFILE=$ac_cv_prog_SETFILE
47672 if test -n "$SETFILE"; then
47673 { echo "$as_me:$LINENO: result: $SETFILE" >&5
47674 echo "${ECHO_T}$SETFILE" >&6; }
47676 { echo "$as_me:$LINENO: result: no" >&5
47677 echo "${ECHO_T}no" >&6; }
47689 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
47692 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
47696 # Check whether --enable-precomp-headers was given.
47697 if test "${enable_precomp_headers+set}" = set; then
47698 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
47707 case ${BAKEFILE_HOST} in
47713 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
47714 if test "x$GCC" = "xyes"; then
47715 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
47716 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
47717 cat >conftest.$ac_ext <<_ACEOF
47720 cat confdefs.h >>conftest.$ac_ext
47721 cat >>conftest.$ac_ext <<_ACEOF
47722 /* end confdefs.h. */
47728 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
47729 There is no PCH support
47732 There is no PCH support
47734 #if (__GNUC__ == 3) && \
47735 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
47736 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
47737 ( defined(__INTEL_COMPILER) )
47738 There is no PCH support
47745 rm -f conftest.$ac_objext
47746 if { (ac_try="$ac_compile"
47747 case "(($ac_try" in
47748 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47749 *) ac_try_echo
=$ac_try;;
47751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47752 (eval "$ac_compile") 2>conftest.er1
47754 grep -v '^ *+' conftest.er1
>conftest.err
47756 cat conftest.err
>&5
47757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47758 (exit $ac_status); } && {
47759 test -z "$ac_c_werror_flag" ||
47760 test ! -s conftest.err
47761 } && test -s conftest.
$ac_objext; then
47763 { echo "$as_me:$LINENO: result: yes" >&5
47764 echo "${ECHO_T}yes" >&6; }
47768 echo "$as_me: failed program was:" >&5
47769 sed 's/^/| /' conftest.
$ac_ext >&5
47772 cat >conftest.
$ac_ext <<_ACEOF
47775 cat confdefs.h
>>conftest.
$ac_ext
47776 cat >>conftest.
$ac_ext <<_ACEOF
47777 /* end confdefs.h. */
47783 #if !defined(__INTEL_COMPILER) || \
47784 (__INTEL_COMPILER < 800)
47785 There is no PCH support
47792 rm -f conftest.
$ac_objext
47793 if { (ac_try
="$ac_compile"
47794 case "(($ac_try" in
47795 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47796 *) ac_try_echo=$ac_try;;
47798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47799 (eval "$ac_compile") 2>conftest.er1
47801 grep -v '^ *+' conftest.er1 >conftest.err
47803 cat conftest.err >&5
47804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47805 (exit $ac_status); } && {
47806 test -z "$ac_c_werror_flag" ||
47807 test ! -s conftest.err
47808 } && test -s conftest.$ac_objext; then
47810 { echo "$as_me:$LINENO: result: yes" >&5
47811 echo "${ECHO_T}yes" >&6; }
47815 echo "$as_me: failed program was:" >&5
47816 sed 's/^/| /' conftest.$ac_ext >&5
47819 { echo "$as_me:$LINENO: result: no" >&5
47820 echo "${ECHO_T}no" >&6; }
47824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47829 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
47833 cat <<EOF >bk-make-pch
47836 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47837 # script. It is used to generated precompiled headers.
47839 # Permission is given to use this file in any way.
47849 while test ${D}{#} -gt 0; do
47853 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\
`
47854 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
47855 headerfile="${D}{incdir}/${D}{header}"
47858 -use-pch|-use_pch )
47863 if test ${D}add_to_cmdline = 1 ; then
47864 compiler="${D}{compiler} ${D}{1}"
47869 if test "x${D}{headerfile}" = "x" ; then
47870 echo "error: can't find header ${D}{header} in include paths" >&2
47872 if test -f ${D}{outfile} ; then
47873 rm -f ${D}{outfile}
47875 mkdir -p \`dirname ${D}{outfile
}\
`
47877 depsfile=".deps/\`echo ${D}{outfile
} | tr '/.' '__'\
`.d"
47879 if test "x${GCC_PCH}" = "x1" ; then
47880 # can do this because gcc is >= 3.4:
47881 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
47882 elif test "x${ICC_PCH}" = "x1" ; then
47883 filename=pch_gen-${D}${D}
47884 file=${D}{filename}.c
47885 dfile=${D}{filename}.d
47886 cat > ${D}file <<EOT
47887 #include "${D}header"
47889 # using -MF icc complains about differing command lines in creation/use
47890 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
47891 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
47892 rm -f ${D}file ${D}dfile ${D}{filename}.o
47898 chmod +x bk-make-pch
47899 BK_MAKE_PCH="`pwd`/bk-make-pch"
47908 COND_BUILD_DEBUG="#"
47909 if test "x$BUILD" = "xdebug" ; then
47910 COND_BUILD_DEBUG=""
47913 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
47914 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
47915 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
47918 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
47919 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
47920 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
47923 COND_BUILD_DEBUG_UNICODE_0="#"
47924 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
47925 COND_BUILD_DEBUG_UNICODE_0=""
47928 COND_BUILD_DEBUG_UNICODE_1="#"
47929 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
47930 COND_BUILD_DEBUG_UNICODE_1=""
47933 COND_BUILD_RELEASE="#"
47934 if test "x$BUILD" = "xrelease" ; then
47935 COND_BUILD_RELEASE=""
47938 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
47939 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
47940 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
47943 COND_BUILD_RELEASE_UNICODE_0="#"
47944 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
47945 COND_BUILD_RELEASE_UNICODE_0=""
47948 COND_BUILD_RELEASE_UNICODE_1="#"
47949 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
47950 COND_BUILD_RELEASE_UNICODE_1=""
47953 COND_DEBUG_FLAG_1="#"
47954 if test "x$DEBUG_FLAG" = "x1" ; then
47955 COND_DEBUG_FLAG_1=""
47958 COND_DEBUG_INFO_0="#"
47959 if test "x$DEBUG_INFO" = "x0" ; then
47960 COND_DEBUG_INFO_0=""
47963 COND_DEBUG_INFO_1="#"
47964 if test "x$DEBUG_INFO" = "x1" ; then
47965 COND_DEBUG_INFO_1=""
47968 COND_DEPS_TRACKING_0="#"
47969 if test "x$DEPS_TRACKING" = "x0" ; then
47970 COND_DEPS_TRACKING_0=""
47973 COND_DEPS_TRACKING_1="#"
47974 if test "x$DEPS_TRACKING" = "x1" ; then
47975 COND_DEPS_TRACKING_1=""
47979 if test "x$GCC_PCH" = "x1" ; then
47984 if test "x$ICC_PCH" = "x1" ; then
47988 COND_MONOLITHIC_0="#"
47989 if test "x$MONOLITHIC" = "x0" ; then
47990 COND_MONOLITHIC_0=""
47993 COND_MONOLITHIC_0_SHARED_0="#"
47994 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
47995 COND_MONOLITHIC_0_SHARED_0=""
47998 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
47999 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
48000 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
48003 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
48004 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
48005 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
48008 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
48009 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48010 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
48013 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
48014 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48015 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
48018 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
48019 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48020 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
48023 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
48024 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48025 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
48028 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
48029 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
48030 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
48033 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
48034 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48035 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
48038 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
48039 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
48040 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
48043 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
48044 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48045 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
48048 COND_MONOLITHIC_0_SHARED_1="#"
48049 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
48050 COND_MONOLITHIC_0_SHARED_1=""
48053 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
48054 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
48055 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
48058 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
48059 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
48060 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
48063 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
48064 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48065 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
48068 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
48069 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48070 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
48073 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
48074 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48075 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
48078 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
48079 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48080 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
48083 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
48084 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
48085 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
48088 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
48089 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
48090 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
48093 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
48094 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
48095 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
48098 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
48099 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48100 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
48103 COND_MONOLITHIC_0_USE_AUI_1="#"
48104 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
48105 COND_MONOLITHIC_0_USE_AUI_1=""
48108 COND_MONOLITHIC_0_USE_GUI_1="#"
48109 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
48110 COND_MONOLITHIC_0_USE_GUI_1=""
48113 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
48114 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48115 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
48118 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1="#"
48119 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48120 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1=""
48123 COND_MONOLITHIC_0_USE_HTML_1="#"
48124 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
48125 COND_MONOLITHIC_0_USE_HTML_1=""
48128 COND_MONOLITHIC_0_USE_MEDIA_1="#"
48129 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
48130 COND_MONOLITHIC_0_USE_MEDIA_1=""
48133 COND_MONOLITHIC_0_USE_ODBC_1="#"
48134 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
48135 COND_MONOLITHIC_0_USE_ODBC_1=""
48138 COND_MONOLITHIC_0_USE_QA_1="#"
48139 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
48140 COND_MONOLITHIC_0_USE_QA_1=""
48143 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
48144 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48145 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
48148 COND_MONOLITHIC_0_USE_STC_1="#"
48149 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
48150 COND_MONOLITHIC_0_USE_STC_1=""
48153 COND_MONOLITHIC_0_USE_XRC_1="#"
48154 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
48155 COND_MONOLITHIC_0_USE_XRC_1=""
48158 COND_MONOLITHIC_1="#"
48159 if test "x$MONOLITHIC" = "x1" ; then
48160 COND_MONOLITHIC_1=""
48163 COND_MONOLITHIC_1_SHARED_0="#"
48164 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
48165 COND_MONOLITHIC_1_SHARED_0=""
48168 COND_MONOLITHIC_1_SHARED_1="#"
48169 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
48170 COND_MONOLITHIC_1_SHARED_1=""
48173 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
48174 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
48175 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
48178 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
48179 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
48180 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
48183 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
48184 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48185 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
48188 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
48189 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48190 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
48193 COND_PLATFORM_MACOSX_1="#"
48194 if test "x$PLATFORM_MACOSX" = "x1" ; then
48195 COND_PLATFORM_MACOSX_1=""
48198 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
48199 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
48200 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
48203 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
48204 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
48205 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
48208 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
48209 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
48210 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
48213 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
48214 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
48215 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
48218 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
48219 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48220 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
48223 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
48224 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
48225 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
48228 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
48229 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
48230 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
48233 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
48234 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
48235 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
48238 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
48239 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48240 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
48243 COND_PLATFORM_MACOS_1="#"
48244 if test "x$PLATFORM_MACOS" = "x1" ; then
48245 COND_PLATFORM_MACOS_1=""
48248 COND_PLATFORM_MAC_1="#"
48249 if test "x$PLATFORM_MAC" = "x1" ; then
48250 COND_PLATFORM_MAC_1=""
48253 COND_PLATFORM_MSDOS_0="#"
48254 if test "x$PLATFORM_MSDOS" = "x0" ; then
48255 COND_PLATFORM_MSDOS_0=""
48258 COND_PLATFORM_MSDOS_1="#"
48259 if test "x$PLATFORM_MSDOS" = "x1" ; then
48260 COND_PLATFORM_MSDOS_1=""
48263 COND_PLATFORM_OS2_1="#"
48264 if test "x$PLATFORM_OS2" = "x1" ; then
48265 COND_PLATFORM_OS2_1=""
48268 COND_PLATFORM_UNIX_0="#"
48269 if test "x$PLATFORM_UNIX" = "x0" ; then
48270 COND_PLATFORM_UNIX_0=""
48273 COND_PLATFORM_UNIX_1="#"
48274 if test "x$PLATFORM_UNIX" = "x1" ; then
48275 COND_PLATFORM_UNIX_1=""
48278 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
48279 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
48280 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
48283 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
48284 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
48285 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
48288 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
48289 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
48290 COND_PLATFORM_UNIX_1_USE_GUI_1=""
48293 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
48294 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
48295 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
48298 COND_PLATFORM_WIN32_0="#"
48299 if test "x$PLATFORM_WIN32" = "x0" ; then
48300 COND_PLATFORM_WIN32_0=""
48303 COND_PLATFORM_WIN32_1="#"
48304 if test "x$PLATFORM_WIN32" = "x1" ; then
48305 COND_PLATFORM_WIN32_1=""
48309 if test "x$SHARED" = "x0" ; then
48313 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
48314 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
48315 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
48318 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
48319 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48320 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
48323 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
48324 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
48325 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
48328 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
48329 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48330 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
48333 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
48334 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48335 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
48338 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
48339 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48340 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
48343 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
48344 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48345 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
48348 COND_SHARED_0_USE_STC_1="#"
48349 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
48350 COND_SHARED_0_USE_STC_1=""
48353 COND_SHARED_0_USE_XRC_1="#"
48354 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48355 COND_SHARED_0_USE_XRC_1=""
48358 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
48359 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
48360 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
48363 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
48364 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
48365 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
48368 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
48369 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
48370 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
48373 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
48374 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
48375 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
48379 if test "x$SHARED" = "x1" ; then
48383 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
48384 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48385 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
48388 COND_SHARED_1_USE_XRC_1="#"
48389 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48390 COND_SHARED_1_USE_XRC_1=""
48394 if test "x$TOOLKIT" = "x" ; then
48398 COND_TOOLKIT_COCOA="#"
48399 if test "x$TOOLKIT" = "xCOCOA" ; then
48400 COND_TOOLKIT_COCOA=""
48403 COND_TOOLKIT_COCOA_USE_GUI_1="#"
48404 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
48405 COND_TOOLKIT_COCOA_USE_GUI_1=""
48408 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
48409 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48410 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
48413 COND_TOOLKIT_DFB="#"
48414 if test "x$TOOLKIT" = "xDFB" ; then
48415 COND_TOOLKIT_DFB=""
48418 COND_TOOLKIT_DFB_USE_GUI_1="#"
48419 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
48420 COND_TOOLKIT_DFB_USE_GUI_1=""
48423 COND_TOOLKIT_GTK="#"
48424 if test "x$TOOLKIT" = "xGTK" ; then
48425 COND_TOOLKIT_GTK=""
48428 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
48429 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
48430 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
48433 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
48434 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
48435 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
48438 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
48439 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
48440 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
48443 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
48444 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48445 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
48448 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
48449 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
48450 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
48453 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
48454 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48455 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
48458 COND_TOOLKIT_GTK_USE_GUI_1="#"
48459 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
48460 COND_TOOLKIT_GTK_USE_GUI_1=""
48463 COND_TOOLKIT_MAC="#"
48464 if test "x$TOOLKIT" = "xMAC" ; then
48465 COND_TOOLKIT_MAC=""
48468 COND_TOOLKIT_MAC_USE_GUI_1="#"
48469 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48470 COND_TOOLKIT_MAC_USE_GUI_1=""
48473 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
48474 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48475 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
48478 COND_TOOLKIT_MGL="#"
48479 if test "x$TOOLKIT" = "xMGL" ; then
48480 COND_TOOLKIT_MGL=""
48483 COND_TOOLKIT_MGL_USE_GUI_1="#"
48484 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
48485 COND_TOOLKIT_MGL_USE_GUI_1=""
48488 COND_TOOLKIT_MOTIF="#"
48489 if test "x$TOOLKIT" = "xMOTIF" ; then
48490 COND_TOOLKIT_MOTIF=""
48493 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
48494 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
48495 COND_TOOLKIT_MOTIF_USE_GUI_1=""
48498 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
48499 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48500 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
48503 COND_TOOLKIT_MSW="#"
48504 if test "x$TOOLKIT" = "xMSW" ; then
48505 COND_TOOLKIT_MSW=""
48508 COND_TOOLKIT_MSW_USE_GUI_1="#"
48509 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
48510 COND_TOOLKIT_MSW_USE_GUI_1=""
48513 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
48514 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48515 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
48518 COND_TOOLKIT_MSW_WXUNIV_0="#"
48519 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48520 COND_TOOLKIT_MSW_WXUNIV_0=""
48523 COND_TOOLKIT_PM="#"
48524 if test "x$TOOLKIT" = "xPM" ; then
48528 COND_TOOLKIT_PM_USE_GUI_1="#"
48529 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
48530 COND_TOOLKIT_PM_USE_GUI_1=""
48533 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
48534 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48535 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
48538 COND_TOOLKIT_WINCE="#"
48539 if test "x$TOOLKIT" = "xWINCE" ; then
48540 COND_TOOLKIT_WINCE=""
48543 COND_TOOLKIT_WINCE_USE_GUI_1="#"
48544 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
48545 COND_TOOLKIT_WINCE_USE_GUI_1=""
48548 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
48549 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48550 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
48553 COND_TOOLKIT_WINCE_WXUNIV_0="#"
48554 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
48555 COND_TOOLKIT_WINCE_WXUNIV_0=""
48558 COND_TOOLKIT_X11="#"
48559 if test "x$TOOLKIT" = "xX11" ; then
48560 COND_TOOLKIT_X11=""
48563 COND_TOOLKIT_X11_USE_GUI_1="#"
48564 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
48565 COND_TOOLKIT_X11_USE_GUI_1=""
48569 if test "x$UNICODE" = "x1" ; then
48573 COND_USE_EXCEPTIONS_0="#"
48574 if test "x$USE_EXCEPTIONS" = "x0" ; then
48575 COND_USE_EXCEPTIONS_0=""
48578 COND_USE_EXCEPTIONS_1="#"
48579 if test "x$USE_EXCEPTIONS" = "x1" ; then
48580 COND_USE_EXCEPTIONS_1=""
48584 if test "x$USE_GUI" = "x0" ; then
48589 if test "x$USE_GUI" = "x1" ; then
48593 COND_USE_GUI_1_USE_OPENGL_1="#"
48594 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48595 COND_USE_GUI_1_USE_OPENGL_1=""
48598 COND_USE_GUI_1_WXUNIV_0="#"
48599 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48600 COND_USE_GUI_1_WXUNIV_0=""
48603 COND_USE_GUI_1_WXUNIV_1="#"
48604 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
48605 COND_USE_GUI_1_WXUNIV_1=""
48608 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
48609 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48610 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
48613 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
48614 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48615 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
48618 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
48619 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48620 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
48623 COND_USE_ODBC_1="#"
48624 if test "x$USE_ODBC" = "x1" ; then
48628 COND_USE_OPENGL_1="#"
48629 if test "x$USE_OPENGL" = "x1" ; then
48630 COND_USE_OPENGL_1=""
48634 if test "x$USE_PCH" = "x1" ; then
48638 COND_USE_PLUGINS_0="#"
48639 if test "x$USE_PLUGINS" = "x0" ; then
48640 COND_USE_PLUGINS_0=""
48643 COND_USE_RTTI_0="#"
48644 if test "x$USE_RTTI" = "x0" ; then
48648 COND_USE_RTTI_1="#"
48649 if test "x$USE_RTTI" = "x1" ; then
48653 COND_USE_SOSYMLINKS_1="#"
48654 if test "x$USE_SOSYMLINKS" = "x1" ; then
48655 COND_USE_SOSYMLINKS_1=""
48658 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
48659 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48660 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
48663 COND_USE_SOVERLINUX_1="#"
48664 if test "x$USE_SOVERLINUX" = "x1" ; then
48665 COND_USE_SOVERLINUX_1=""
48668 COND_USE_SOVERSION_0="#"
48669 if test "x$USE_SOVERSION" = "x0" ; then
48670 COND_USE_SOVERSION_0=""
48673 COND_USE_SOVERSOLARIS_1="#"
48674 if test "x$USE_SOVERSOLARIS" = "x1" ; then
48675 COND_USE_SOVERSOLARIS_1=""
48679 if test "x$USE_STC" = "x1" ; then
48683 COND_USE_THREADS_0="#"
48684 if test "x$USE_THREADS" = "x0" ; then
48685 COND_USE_THREADS_0=""
48688 COND_USE_THREADS_1="#"
48689 if test "x$USE_THREADS" = "x1" ; then
48690 COND_USE_THREADS_1=""
48694 if test "x$USE_XRC" = "x1" ; then
48698 COND_WINDOWS_IMPLIB_1="#"
48699 if test "x$WINDOWS_IMPLIB" = "x1" ; then
48700 COND_WINDOWS_IMPLIB_1=""
48703 COND_WITH_PLUGIN_SDL_1="#"
48704 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
48705 COND_WITH_PLUGIN_SDL_1=""
48709 if test "x$WXUNIV" = "x0" ; then
48714 if test "x$WXUNIV" = "x1" ; then
48718 COND_WXUSE_EXPAT_BUILTIN="#"
48719 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
48720 COND_WXUSE_EXPAT_BUILTIN=""
48723 COND_WXUSE_LIBJPEG_BUILTIN="#"
48724 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48725 COND_WXUSE_LIBJPEG_BUILTIN=""
48728 COND_WXUSE_LIBPNG_BUILTIN="#"
48729 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48730 COND_WXUSE_LIBPNG_BUILTIN=""
48733 COND_WXUSE_LIBTIFF_BUILTIN="#"
48734 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48735 COND_WXUSE_LIBTIFF_BUILTIN=""
48738 COND_WXUSE_ODBC_BUILTIN="#"
48739 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
48740 COND_WXUSE_ODBC_BUILTIN=""
48743 COND_WXUSE_REGEX_BUILTIN="#"
48744 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
48745 COND_WXUSE_REGEX_BUILTIN=""
48748 COND_WXUSE_ZLIB_BUILTIN="#"
48749 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
48750 COND_WXUSE_ZLIB_BUILTIN=""
48755 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
48756 { { 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
48757 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;}
48758 { (exit 1); exit 1; }; }
48761 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
48762 { { 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
48763 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;}
48764 { (exit 1); exit 1; }; }
48768 if test $GCC_PCH = 1
48770 if test "$wx_cv_gcc_pch_bug" = yes; then
48771 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
48772 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
48773 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
48774 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
48775 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
48776 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
48779 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
48783 if test "$wxUSE_MAC" = 1 ; then
48784 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
48785 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
48791 if test "$wxUSE_SHARED" = "yes"; then
48793 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
48794 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
48797 *-pc-os2_emx | *-pc-os2-emx )
48798 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48799 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48800 cp -p ${srcdir}/src/os2/dllnames.sh .
48801 cp -p ${srcdir}/src/os2/dllar.sh .
48806 EXE_LINKER="$CXX -o"
48809 if test "$wxUSE_OMF" = "yes"; then
48811 *-pc-os2_emx | *-pc-os2-emx )
48812 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
48813 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
48814 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
48819 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
48821 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
48883 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
48884 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
48885 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
48886 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
48887 echo $ECHO_N "(cached) $ECHO_C" >&6
48889 cat >conftest.make <<\_ACEOF
48892 @echo '@@@%%%=$(MAKE)=@@@%%%'
48894 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
48895 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
48896 *@@@%%%=?*=@@@%%%*)
48897 eval ac_cv_prog_make_${ac_make}_set=yes;;
48899 eval ac_cv_prog_make_${ac_make}_set=no;;
48901 rm -f conftest.make
48903 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
48904 { echo "$as_me:$LINENO: result: yes" >&5
48905 echo "${ECHO_T}yes" >&6; }
48908 { echo "$as_me:$LINENO: result: no" >&5
48909 echo "${ECHO_T}no" >&6; }
48910 SET_MAKE="MAKE=${MAKE-make}"
48915 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
48918 if test "$USE_WIN32" = 1; then
48919 ac_config_commands="$ac_config_commands
48925 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
48928 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
48931 if test "$wx_cv_version_script" = "yes"; then
48932 ac_config_files="$ac_config_files version-script"
48935 ac_config_files="$ac_config_files Makefile"
48938 ac_config_commands="$ac_config_commands wx-config"
48942 if test "$wxWITH_SUBDIRS" != "no"; then
48943 if test "$wxUSE_GUI" = "yes"; then
48944 SUBDIRS="samples demos utils"
48945 else SUBDIRS="samples utils"
48950 # Check whether --with-cppunit-prefix was given.
48951 if test "${with_cppunit_prefix+set}" = set; then
48952 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
48954 cppunit_config_prefix=""
48958 # Check whether --with-cppunit-exec-prefix was given.
48959 if test "${with_cppunit_exec_prefix+set}" = set; then
48960 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
48962 cppunit_config_exec_prefix=""
48966 if test x$cppunit_config_exec_prefix != x ; then
48967 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
48968 if test x${CPPUNIT_CONFIG+set} != xset ; then
48969 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
48972 if test x$cppunit_config_prefix != x ; then
48973 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
48974 if test x${CPPUNIT_CONFIG+set} != xset ; then
48975 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
48979 # Extract the first word of "cppunit-config", so it can be a program name with args.
48980 set dummy cppunit-config; ac_word=$2
48981 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48982 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48983 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
48984 echo $ECHO_N "(cached) $ECHO_C" >&6
48986 case $CPPUNIT_CONFIG in
48988 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
48991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48992 for as_dir in $PATH
48995 test -z "$as_dir" && as_dir=.
48996 for ac_exec_ext in '' $ac_executable_extensions; do
48997 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48998 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
48999 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49006 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
49010 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
49011 if test -n "$CPPUNIT_CONFIG"; then
49012 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
49013 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
49015 { echo "$as_me:$LINENO: result: no" >&5
49016 echo "${ECHO_T}no" >&6; }
49020 cppunit_version_min=1.8.0
49022 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
49023 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
49025 if test "$CPPUNIT_CONFIG" = "no" ; then
49026 { echo "$as_me:$LINENO: result: no" >&5
49027 echo "${ECHO_T}no" >&6; }
49030 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
49031 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
49032 cppunit_version=`$CPPUNIT_CONFIG --version`
49034 cppunit_major_version=`echo $cppunit_version | \
49035 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49036 cppunit_minor_version=`echo $cppunit_version | \
49037 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49038 cppunit_micro_version=`echo $cppunit_version | \
49039 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49041 cppunit_major_min=`echo $cppunit_version_min | \
49042 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49043 if test "x${cppunit_major_min}" = "x" ; then
49044 cppunit_major_min=0
49047 cppunit_minor_min=`echo $cppunit_version_min | \
49048 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49049 if test "x${cppunit_minor_min}" = "x" ; then
49050 cppunit_minor_min=0
49053 cppunit_micro_min=`echo $cppunit_version_min | \
49054 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49055 if test "x${cppunit_micro_min}" = "x" ; then
49056 cppunit_micro_min=0
49059 cppunit_version_proper=`expr \
49060 $cppunit_major_version \
> $cppunit_major_min \
| \
49061 $cppunit_major_version \
= $cppunit_major_min \
& \
49062 $cppunit_minor_version \
> $cppunit_minor_min \
| \
49063 $cppunit_major_version \
= $cppunit_major_min \
& \
49064 $cppunit_minor_version \
= $cppunit_minor_min \
& \
49065 $cppunit_micro_version \
>= $cppunit_micro_min `
49067 if test "$cppunit_version_proper" = "1" ; then
49068 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
49069 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
49071 { echo "$as_me:$LINENO: result: no" >&5
49072 echo "${ECHO_T}no" >&6; }
49077 if test "x$no_cppunit" = x ; then
49078 SUBDIRS="$SUBDIRS tests"
49089 for subdir in `echo $SUBDIRS`; do
49090 if test -d ${srcdir}/${subdir} ; then
49091 if test "$wxUSE_GUI" = "yes"; then
49092 if test ${subdir} = "samples"; then
49093 makefiles="samples/Makefile.in $makefiles"
49094 for sample in `echo $SAMPLES_SUBDIRS`; do
49095 if test -d $srcdir/samples/$sample; then
49096 makefiles="samples/$sample/Makefile.in $makefiles"
49100 disabled_var=DISABLED_`echo $subdir | tr [a
-z] [A
-Z]`;
49101 eval "disabled=\$$disabled_var"
49102 disabled=/`echo X
$disabled | sed 's@ @/|/@g'`/
49103 makefiles=`(cd $srcdir ; find $subdir -name Makefile.
in) | $EGREP -v "$disabled"`
49105 else if test ${subdir} = "samples"; then
49106 makefiles="samples/Makefile.in samples/console/Makefile.in"
49107 elif test ${subdir} = "utils"; then
49109 for util in HelpGen tex2rtf ; do
49110 if test -d $srcdir/utils/$util ; then
49111 makefiles="utils/$util/Makefile.in \
49112 utils/$util/src/Makefile.in \
49116 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.
in)`
49120 for mkin in $makefiles ; do
49121 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
49122 ac_config_files="$ac_config_files $mk"
49128 cat >confcache <<\_ACEOF
49129 # This file is a shell script that caches the results of configure
49130 # tests run on this system so they can be shared between configure
49131 # scripts and configure runs, see configure's option --config-cache.
49132 # It is not useful on other systems. If it contains results you don't
49133 # want to keep, you may remove or edit it.
49135 # config.status only pays attention to the cache file if you give it
49136 # the --recheck option to rerun configure.
49138 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
49139 # loading this file, other *unset* `ac_cv_foo' will be assigned the
49140 # following values.
49144 # The following way of writing the cache mishandles newlines in values,
49145 # but we know of no workaround that is simple, portable, and efficient.
49146 # So, we kill variables containing newlines.
49147 # Ultrix sh set writes to stderr and can't be redirected directly,
49148 # and sets the high bit in the cache file unless we assign to the vars.
49150 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
49151 eval ac_val
=\$
$ac_var
49155 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
49156 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
49159 _
| IFS
| as_nl
) ;; #(
49160 *) $as_unset $ac_var ;;
49166 case $as_nl`(ac_space=' '; set) 2>&1` in #(
49167 *${as_nl}ac_space
=\
*)
49168 # `set' does not quote correctly, so add quotes (double-quote
49169 # substitution turns \\\\ into \\, and sed turns \\ into \).
49172 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
49175 # `set' quotes correctly as required by POSIX, so do not add quotes.
49176 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
49185 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
49187 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
49189 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
49190 if test -w "$cache_file"; then
49191 test "x$cache_file" != "x/dev/null" &&
49192 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
49193 echo "$as_me: updating cache $cache_file" >&6;}
49194 cat confcache
>$cache_file
49196 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
49197 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
49202 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
49203 # Let make expand exec_prefix.
49204 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
49206 DEFS
=-DHAVE_CONFIG_H
49210 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
49211 # 1. Remove the extension, and $U if already installed.
49212 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
49213 ac_i
=`echo "$ac_i" | sed "$ac_script"`
49214 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
49215 # will be set to the directory where LIBOBJS objects are built.
49216 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
49217 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
49219 LIBOBJS
=$ac_libobjs
49221 LTLIBOBJS
=$ac_ltlibobjs
49225 : ${CONFIG_STATUS=./config.status}
49226 ac_clean_files_save
=$ac_clean_files
49227 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
49228 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
49229 echo "$as_me: creating $CONFIG_STATUS" >&6;}
49230 cat >$CONFIG_STATUS <<_ACEOF
49232 # Generated by $as_me.
49233 # Run this file to recreate the current configuration.
49234 # Compiler output produced by configure, useful for debugging
49235 # configure, is in config.log if it exists.
49238 ac_cs_recheck=false
49240 SHELL=\${CONFIG_SHELL-$SHELL}
49243 cat >>$CONFIG_STATUS <<\_ACEOF
49244 ## --------------------- ##
49245 ## M4sh Initialization. ##
49246 ## --------------------- ##
49248 # Be more Bourne compatible
49249 DUALCASE
=1; export DUALCASE
# for MKS sh
49250 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
49253 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
49254 # is contrary to our usage. Disable this feature.
49255 alias -g '${1+"$@"}'='"$@"'
49256 setopt NO_GLOB_SUBST
49258 case `(set -o) 2>/dev/null` in
49259 *posix
*) set -o posix
;;
49268 # Avoid depending upon Character Ranges.
49269 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
49270 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
49271 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
49272 as_cr_digits
='0123456789'
49273 as_cr_alnum
=$as_cr_Letters$as_cr_digits
49275 # The user is always right.
49276 if test "${PATH_SEPARATOR+set}" != set; then
49277 echo "#! /bin/sh" >conf$$.sh
49278 echo "exit 0" >>conf$$.sh
49280 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
49288 # Support unset when possible.
49289 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
49297 # We need space, tab and new line, in precisely that order. Quoting is
49298 # there to prevent editors from complaining about space-tab.
49299 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
49300 # splitting by setting IFS to empty value.)
49305 # Find who we are. Look in the path if we contain no directory separator.
49307 *[\\/]* ) as_myself
=$0 ;;
49308 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49309 for as_dir
in $PATH
49312 test -z "$as_dir" && as_dir
=.
49313 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
49319 # We did not find ourselves, most probably we were run as `sh COMMAND'
49320 # in which case we are not to be found in the path.
49321 if test "x$as_myself" = x
; then
49324 if test ! -f "$as_myself"; then
49325 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
49326 { (exit 1); exit 1; }
49329 # Work around bugs in pre-3.0 UWIN ksh.
49330 for as_var
in ENV MAIL MAILPATH
49331 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
49339 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
49340 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
49341 LC_TELEPHONE LC_TIME
49343 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
49344 eval $as_var=C
; export $as_var
49346 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
49350 # Required to use basename.
49351 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
49352 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
49358 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
49359 as_basename
=basename
49365 # Name of the executable.
49366 as_me
=`$as_basename -- "$0" ||
49367 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
49368 X"$0" : 'X\(//\)$' \| \
49369 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
49371 sed '/^.*\/\([^/][^/]*\)\/*$/{
49390 as_lineno_1
=$LINENO
49391 as_lineno_2
=$LINENO
49392 test "x$as_lineno_1" != "x$as_lineno_2" &&
49393 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
49395 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
49396 # uniformly replaced by the line number. The first 'sed' inserts a
49397 # line-number line after each line using $LINENO; the second 'sed'
49398 # does the real work. The second script uses 'N' to pair each
49399 # line-number line with the line containing $LINENO, and appends
49400 # trailing '-' during substitution so that $LINENO is not a special
49401 # case at line end.
49402 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
49403 # scripts with optimization help from Paolo Bonzini. Blame Lee
49404 # E. McMahon (1931-1989) for sed's syntax. :-)
49416 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
49419 ' >$as_me.lineno
&&
49420 chmod +x
"$as_me.lineno" ||
49421 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
49422 { (exit 1); exit 1; }; }
49424 # Don't try to exec as it changes $[0], causing all sort of problems
49425 # (the dirname of $[0] is not the place where we might find the
49426 # original and so on. Autoconf is especially sensitive to this).
49427 .
"./$as_me.lineno"
49428 # Exit status is that of the last command.
49433 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
49439 ECHO_C
= ECHO_N
= ECHO_T
=
49440 case `echo -n x` in
49442 case `echo 'x\c'` in
49443 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
49450 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
49451 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
49457 rm -f conf$$ conf$$.exe conf$$.
file
49458 if test -d conf$$.dir
; then
49459 rm -f conf$$.dir
/conf$$.
file
49465 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
49467 # ... but there are two gotchas:
49468 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
49469 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
49470 # In both cases, we have to default to `cp -p'.
49471 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
49473 elif ln conf$$.
file conf$$
2>/dev
/null
; then
49478 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
49479 rmdir conf$$.dir
2>/dev
/null
49481 if mkdir -p .
2>/dev
/null
; then
49484 test -d .
/-p && rmdir .
/-p
49488 if test -x / >/dev
/null
2>&1; then
49489 as_test_x
='test -x'
49491 if ls -dL / >/dev
/null
2>&1; then
49498 if test -d "$1"; then
49504 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
49505 ???[sx]*):;;*)false;;esac;fi
49509 as_executable_p
=$as_test_x
49511 # Sed expression to map a string onto a valid CPP name.
49512 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
49514 # Sed expression to map a string onto a valid variable name.
49515 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
49520 # Save the log message, to keep $[0] and so on meaningful, and to
49521 # report actual input values of CONFIG_FILES etc. instead of their
49522 # values after options handling.
49524 This file was extended by wxWidgets $as_me 2.9.0, which was
49525 generated by GNU Autoconf 2.61. Invocation command line was
49527 CONFIG_FILES = $CONFIG_FILES
49528 CONFIG_HEADERS = $CONFIG_HEADERS
49529 CONFIG_LINKS = $CONFIG_LINKS
49530 CONFIG_COMMANDS = $CONFIG_COMMANDS
49533 on `(hostname || uname -n) 2>/dev/null | sed 1q`
49538 cat >>$CONFIG_STATUS <<_ACEOF
49539 # Files that config.status was made for.
49540 config_files="$ac_config_files"
49541 config_headers="$ac_config_headers"
49542 config_commands="$ac_config_commands"
49546 cat >>$CONFIG_STATUS <<\_ACEOF
49548 \`$as_me' instantiates files from templates according to the
49549 current configuration.
49551 Usage: $0 [OPTIONS] [FILE]...
49553 -h, --help print this help, then exit
49554 -V, --version print version number and configuration settings, then exit
49555 -q, --quiet do not print progress messages
49556 -d, --debug don't remove temporary files
49557 --recheck update $as_me by reconfiguring in the same conditions
49558 --file=FILE[:TEMPLATE]
49559 instantiate the configuration file FILE
49560 --header=FILE[:TEMPLATE]
49561 instantiate the configuration header FILE
49563 Configuration files:
49566 Configuration headers:
49569 Configuration commands:
49572 Report bugs to <bug-autoconf@gnu.org>."
49575 cat >>$CONFIG_STATUS <<_ACEOF
49577 wxWidgets config.status 2.9.0
49578 configured by $0, generated by GNU Autoconf 2.61,
49579 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
49581 Copyright (C) 2006 Free Software Foundation, Inc.
49582 This config.status script is free software; the Free Software Foundation
49583 gives unlimited permission to copy, distribute and modify it."
49590 cat >>$CONFIG_STATUS <<\_ACEOF
49591 # If no file are specified by the user, then we need to provide default
49592 # value. By we need to know if files were specified by the user.
49598 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
49599 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
49610 # Handling of the options.
49611 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
49613 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
49614 echo "$ac_cs_version"; exit ;;
49615 --debug | --debu | --deb | --de | --d | -d )
49617 --file | --fil | --fi | --f )
49619 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
49620 ac_need_defaults
=false
;;
49621 --header | --heade | --head | --hea )
49623 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
49624 ac_need_defaults
=false
;;
49626 # Conflict between --help and --header
49627 { echo "$as_me: error: ambiguous option: $1
49628 Try \`$0 --help' for more information." >&2
49629 { (exit 1); exit 1; }; };;
49630 --help | --hel | -h )
49631 echo "$ac_cs_usage"; exit ;;
49632 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
49633 | -silent | --silent | --silen | --sile | --sil | --si | --s)
49636 # This is an error.
49637 -*) { echo "$as_me: error: unrecognized option: $1
49638 Try \`$0 --help' for more information." >&2
49639 { (exit 1); exit 1; }; } ;;
49641 *) ac_config_targets
="$ac_config_targets $1"
49642 ac_need_defaults
=false
;;
49648 ac_configure_extra_args
=
49650 if $ac_cs_silent; then
49652 ac_configure_extra_args
="$ac_configure_extra_args --silent"
49656 cat >>$CONFIG_STATUS <<_ACEOF
49657 if \$ac_cs_recheck; then
49658 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
49659 CONFIG_SHELL=$SHELL
49660 export CONFIG_SHELL
49661 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
49665 cat >>$CONFIG_STATUS <<\_ACEOF
49669 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
49670 ## Running $as_me. ##
49676 cat >>$CONFIG_STATUS <<_ACEOF
49682 infile="$srcdir/include/wx/msw/genrcdefs.h"
49683 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
49686 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49687 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49688 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49694 cat >>$CONFIG_STATUS <<\_ACEOF
49696 # Handling of arguments.
49697 for ac_config_target
in $ac_config_targets
49699 case $ac_config_target in
49700 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
49701 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
49702 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
49703 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
49704 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
49705 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
49706 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
49707 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
49709 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
49710 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
49711 { (exit 1); exit 1; }; };;
49716 # If the user did not use the arguments to specify the items to instantiate,
49717 # then the envvar interface is used. Set only those that are not.
49718 # We use the long form for the default assignment because of an extremely
49719 # bizarre bug on SunOS 4.1.3.
49720 if $ac_need_defaults; then
49721 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
49722 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
49723 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
49726 # Have a temporary directory for convenience. Make it in the build tree
49727 # simply because there is no reason against having it here, and in addition,
49728 # creating and moving files from /tmp can sometimes cause problems.
49729 # Hook for its removal unless debugging.
49730 # Note that there is a small window in which the directory will not be cleaned:
49731 # after its creation but before its name has been assigned to `$tmp'.
49735 trap 'exit_status=$?
49736 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
49738 trap '{ (exit 1); exit 1; }' 1 2 13 15
49740 # Create a (secure) tmp directory for tmp files.
49743 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
49744 test -n "$tmp" && test -d "$tmp"
49747 tmp
=.
/conf$$
-$RANDOM
49748 (umask 077 && mkdir "$tmp")
49751 echo "$me: cannot create a temporary directory in ." >&2
49752 { (exit 1); exit 1; }
49756 # Set up the sed scripts for CONFIG_FILES section.
49759 # No need to generate the scripts if there are no CONFIG_FILES.
49760 # This happens for instance when ./config.status config.h
49761 if test -n "$CONFIG_FILES"; then
49768 for ac_last_try
in false false false false false
:; do
49769 cat >conf$
$subs.
sed <<_ACEOF
49770 SHELL!$SHELL$ac_delim
49771 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
49772 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
49773 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
49774 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
49775 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
49776 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
49777 exec_prefix!$exec_prefix$ac_delim
49778 prefix!$prefix$ac_delim
49779 program_transform_name!$program_transform_name$ac_delim
49780 bindir!$bindir$ac_delim
49781 sbindir!$sbindir$ac_delim
49782 libexecdir!$libexecdir$ac_delim
49783 datarootdir!$datarootdir$ac_delim
49784 datadir!$datadir$ac_delim
49785 sysconfdir!$sysconfdir$ac_delim
49786 sharedstatedir!$sharedstatedir$ac_delim
49787 localstatedir!$localstatedir$ac_delim
49788 includedir!$includedir$ac_delim
49789 oldincludedir!$oldincludedir$ac_delim
49790 docdir!$docdir$ac_delim
49791 infodir!$infodir$ac_delim
49792 htmldir!$htmldir$ac_delim
49793 dvidir!$dvidir$ac_delim
49794 pdfdir!$pdfdir$ac_delim
49795 psdir!$psdir$ac_delim
49796 libdir!$libdir$ac_delim
49797 localedir!$localedir$ac_delim
49798 mandir!$mandir$ac_delim
49799 DEFS!$DEFS$ac_delim
49800 ECHO_C!$ECHO_C$ac_delim
49801 ECHO_N!$ECHO_N$ac_delim
49802 ECHO_T!$ECHO_T$ac_delim
49803 LIBS!$LIBS$ac_delim
49804 build_alias!$build_alias$ac_delim
49805 host_alias!$host_alias$ac_delim
49806 target_alias!$target_alias$ac_delim
49807 build!$build$ac_delim
49808 build_cpu!$build_cpu$ac_delim
49809 build_vendor!$build_vendor$ac_delim
49810 build_os!$build_os$ac_delim
49811 host!$host$ac_delim
49812 host_cpu!$host_cpu$ac_delim
49813 host_vendor!$host_vendor$ac_delim
49814 host_os!$host_os$ac_delim
49815 target!$target$ac_delim
49816 target_cpu!$target_cpu$ac_delim
49817 target_vendor!$target_vendor$ac_delim
49818 target_os!$target_os$ac_delim
49819 wx_top_builddir!$wx_top_builddir$ac_delim
49821 CFLAGS!$CFLAGS$ac_delim
49822 LDFLAGS!$LDFLAGS$ac_delim
49823 CPPFLAGS!$CPPFLAGS$ac_delim
49824 ac_ct_CC!$ac_ct_CC$ac_delim
49825 EXEEXT!$EXEEXT$ac_delim
49826 OBJEXT!$OBJEXT$ac_delim
49828 GREP!$GREP$ac_delim
49829 EGREP!$EGREP$ac_delim
49831 CXXFLAGS!$CXXFLAGS$ac_delim
49832 ac_ct_CXX!$ac_ct_CXX$ac_delim
49833 RANLIB!$RANLIB$ac_delim
49835 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
49836 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
49837 INSTALL_DATA!$INSTALL_DATA$ac_delim
49838 STRIP!$STRIP$ac_delim
49839 WINDRES!$WINDRES$ac_delim
49840 DLLTOOL!$DLLTOOL$ac_delim
49841 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
49842 LN_S!$LN_S$ac_delim
49843 subdirs!$subdirs$ac_delim
49844 PKG_CONFIG!$PKG_CONFIG$ac_delim
49845 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
49846 GTK_LIBS!$GTK_LIBS$ac_delim
49847 GTK_CONFIG!$GTK_CONFIG$ac_delim
49848 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
49849 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
49850 XMKMF!$XMKMF$ac_delim
49851 X_CFLAGS!$X_CFLAGS$ac_delim
49852 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
49853 X_LIBS!$X_LIBS$ac_delim
49854 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
49855 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
49856 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
49857 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
49858 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
49859 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
49860 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
49862 DEREZ!$DEREZ$ac_delim
49863 SETFILE!$SETFILE$ac_delim
49864 LIBICONV!$LIBICONV$ac_delim
49865 SDL_CONFIG!$SDL_CONFIG$ac_delim
49866 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
49869 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
49871 elif $ac_last_try; then
49872 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
49873 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
49874 { (exit 1); exit 1; }; }
49876 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
49880 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
49881 if test -n "$ac_eof"; then
49882 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
49883 ac_eof
=`expr $ac_eof + 1`
49886 cat >>$CONFIG_STATUS <<_ACEOF
49887 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
49888 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
49891 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
49892 s/^/s,@/; s/!/@,|#_!!_#|/
49895 s/'"$ac_delim"'$/,g/; t
49897 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
49898 ' >>$CONFIG_STATUS <conf$
$subs.
sed
49899 rm -f conf$
$subs.
sed
49900 cat >>$CONFIG_STATUS <<_ACEOF
49906 for ac_last_try
in false false false false false
:; do
49907 cat >conf$
$subs.
sed <<_ACEOF
49908 SDL_LIBS!$SDL_LIBS$ac_delim
49909 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
49910 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
49911 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
49912 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
49913 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
49914 HILDON_LIBS!$HILDON_LIBS$ac_delim
49915 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
49916 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
49917 GST_CFLAGS!$GST_CFLAGS$ac_delim
49918 GST_LIBS!$GST_LIBS$ac_delim
49919 CORE_BASE_LIBS!$CORE_BASE_LIBS$ac_delim
49920 CORE_GUI_LIBS!$CORE_GUI_LIBS$ac_delim
49921 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
49922 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
49923 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
49924 wxUSE_ODBC!$wxUSE_ODBC$ac_delim
49925 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
49926 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
49927 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
49928 VENDOR!$VENDOR$ac_delim
49929 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
49930 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
49931 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
49932 WXUNIV!$WXUNIV$ac_delim
49933 MONOLITHIC!$MONOLITHIC$ac_delim
49934 USE_PLUGINS!$USE_PLUGINS$ac_delim
49935 CXXWARNINGS!$CXXWARNINGS$ac_delim
49936 EXTRALIBS!$EXTRALIBS$ac_delim
49937 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
49938 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
49939 EXTRALIBS_ODBC!$EXTRALIBS_ODBC$ac_delim
49940 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
49941 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
49942 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
49943 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
49944 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
49945 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
49946 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
49947 UNICODE!$UNICODE$ac_delim
49948 BUILD!$BUILD$ac_delim
49949 DEBUG_INFO!$DEBUG_INFO$ac_delim
49950 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
49951 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
49952 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
49953 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
49954 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
49955 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
49956 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
49957 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
49958 SET_MAKE!$SET_MAKE$ac_delim
49959 MAKE_SET!$MAKE_SET$ac_delim
49960 AROPTIONS!$AROPTIONS$ac_delim
49962 INSTALL_DIR!$INSTALL_DIR$ac_delim
49963 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
49964 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
49965 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
49966 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
49967 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
49968 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
49969 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
49970 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
49971 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
49972 SO_SUFFIX!$SO_SUFFIX$ac_delim
49973 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
49974 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
49975 LIBPREFIX!$LIBPREFIX$ac_delim
49976 LIBEXT!$LIBEXT$ac_delim
49977 DLLPREFIX!$DLLPREFIX$ac_delim
49978 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
49979 dlldir!$dlldir$ac_delim
49980 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
49981 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
49982 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
49983 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
49984 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
49985 PIC_FLAG!$PIC_FLAG$ac_delim
49986 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
49987 USE_SOVERSION!$USE_SOVERSION$ac_delim
49988 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
49989 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
49990 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
49991 USE_MACVERSION!$USE_MACVERSION$ac_delim
49992 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
49993 SONAME_FLAG!$SONAME_FLAG$ac_delim
49994 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
49995 BK_DEPS!$BK_DEPS$ac_delim
49996 GCC_PCH!$GCC_PCH$ac_delim
49997 ICC_PCH!$ICC_PCH$ac_delim
49998 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
49999 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
50000 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
50001 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
50002 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
50003 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
50004 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
50007 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50009 elif $ac_last_try; then
50010 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50011 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50012 { (exit 1); exit 1; }; }
50014 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
50018 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50019 if test -n "$ac_eof"; then
50020 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
50021 ac_eof
=`expr $ac_eof + 1`
50024 cat >>$CONFIG_STATUS <<_ACEOF
50025 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
50026 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50029 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50030 s/^/s,@/; s/!/@,|#_!!_#|/
50033 s/'"$ac_delim"'$/,g/; t
50035 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50036 ' >>$CONFIG_STATUS <conf$
$subs.
sed
50037 rm -f conf$
$subs.
sed
50038 cat >>$CONFIG_STATUS <<_ACEOF
50044 for ac_last_try
in false false false false false
:; do
50045 cat >conf$
$subs.
sed <<_ACEOF
50046 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
50047 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
50048 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
50049 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
50050 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
50051 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
50052 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
50053 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
50054 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
50055 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
50056 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
50057 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
50058 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
50059 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
50060 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
50061 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
50062 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1$ac_delim
50063 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
50064 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1$ac_delim
50065 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
50066 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
50067 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
50068 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
50069 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
50070 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
50071 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
50072 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
50073 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1$ac_delim
50074 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
50075 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1$ac_delim
50076 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
50077 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
50078 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
50079 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
50080 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
50081 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
50082 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1$ac_delim
50083 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
50084 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
50085 COND_MONOLITHIC_0_USE_ODBC_1!$COND_MONOLITHIC_0_USE_ODBC_1$ac_delim
50086 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
50087 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
50088 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
50089 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
50090 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
50091 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
50092 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
50093 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
50094 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
50095 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
50096 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
50097 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
50098 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
50099 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
50100 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
50101 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
50102 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
50103 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
50104 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
50105 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
50106 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
50107 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
50108 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
50109 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
50110 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
50111 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
50112 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
50113 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
50114 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
50115 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
50116 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
50117 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
50118 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
50119 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
50120 COND_SHARED_0!$COND_SHARED_0$ac_delim
50121 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
50122 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
50123 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
50124 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
50125 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
50126 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
50127 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
50128 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
50129 COND_SHARED_0_USE_XRC_1!$COND_SHARED_0_USE_XRC_1$ac_delim
50130 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
50131 COND_SHARED_0_WXUSE_ODBC_BUILTIN!$COND_SHARED_0_WXUSE_ODBC_BUILTIN$ac_delim
50132 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
50133 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
50134 COND_SHARED_1!$COND_SHARED_1$ac_delim
50135 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
50136 COND_SHARED_1_USE_XRC_1!$COND_SHARED_1_USE_XRC_1$ac_delim
50137 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
50138 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
50139 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
50140 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
50141 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
50142 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
50145 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50147 elif $ac_last_try; then
50148 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50149 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50150 { (exit 1); exit 1; }; }
50152 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
50156 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50157 if test -n "$ac_eof"; then
50158 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
50159 ac_eof
=`expr $ac_eof + 1`
50162 cat >>$CONFIG_STATUS <<_ACEOF
50163 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
50164 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50167 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50168 s/^/s,@/; s/!/@,|#_!!_#|/
50171 s/'"$ac_delim"'$/,g/; t
50173 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50174 ' >>$CONFIG_STATUS <conf$
$subs.
sed
50175 rm -f conf$
$subs.
sed
50176 cat >>$CONFIG_STATUS <<_ACEOF
50182 for ac_last_try
in false false false false false
:; do
50183 cat >conf$
$subs.
sed <<_ACEOF
50184 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
50185 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
50186 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
50187 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
50188 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
50189 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
50190 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
50191 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
50192 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
50193 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
50194 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
50195 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
50196 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
50197 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
50198 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
50199 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
50200 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
50201 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
50202 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
50203 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
50204 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
50205 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
50206 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
50207 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
50208 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
50209 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
50210 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
50211 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
50212 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
50213 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
50214 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
50215 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
50216 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
50217 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
50218 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
50219 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
50220 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
50221 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
50222 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
50223 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
50224 COND_USE_ODBC_1!$COND_USE_ODBC_1$ac_delim
50225 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
50226 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
50227 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
50228 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
50229 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
50230 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
50231 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
50232 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
50233 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
50234 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
50235 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
50236 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
50237 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
50238 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
50239 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
50240 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
50241 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
50242 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
50243 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
50244 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
50245 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
50246 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
50247 COND_WXUSE_ODBC_BUILTIN!$COND_WXUSE_ODBC_BUILTIN$ac_delim
50248 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
50249 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
50250 SHARED!$SHARED$ac_delim
50251 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
50252 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
50253 USE_GUI!$USE_GUI$ac_delim
50254 AFMINSTALL!$AFMINSTALL$ac_delim
50255 WIN32INSTALL!$WIN32INSTALL$ac_delim
50256 TOOLKIT!$TOOLKIT$ac_delim
50257 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
50258 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
50259 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
50260 cross_compiling!$cross_compiling$ac_delim
50261 WIDGET_SET!$WIDGET_SET$ac_delim
50262 WX_RELEASE!$WX_RELEASE$ac_delim
50263 WX_VERSION!$WX_VERSION$ac_delim
50264 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
50265 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
50266 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
50267 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
50268 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
50269 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
50270 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
50271 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
50272 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
50273 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
50274 EXE_LINKER!$EXE_LINKER$ac_delim
50275 GUIDIST!$GUIDIST$ac_delim
50276 DISTDIR!$DISTDIR$ac_delim
50277 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
50278 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
50279 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
50280 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
50283 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50285 elif $ac_last_try; then
50286 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50287 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50288 { (exit 1); exit 1; }; }
50290 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
50294 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50295 if test -n "$ac_eof"; then
50296 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
50297 ac_eof
=`expr $ac_eof + 1`
50300 cat >>$CONFIG_STATUS <<_ACEOF
50301 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
50302 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50305 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50306 s/^/s,@/; s/!/@,|#_!!_#|/
50309 s/'"$ac_delim"'$/,g/; t
50311 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50312 ' >>$CONFIG_STATUS <conf$
$subs.
sed
50313 rm -f conf$
$subs.
sed
50314 cat >>$CONFIG_STATUS <<_ACEOF
50320 for ac_last_try
in false false false false false
:; do
50321 cat >conf$
$subs.
sed <<_ACEOF
50322 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
50323 RESCOMP!$RESCOMP$ac_delim
50324 RESFLAGS!$RESFLAGS$ac_delim
50325 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
50326 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
50327 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
50328 LIBWXMACRES!$LIBWXMACRES$ac_delim
50329 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
50330 MACSETFILE!$MACSETFILE$ac_delim
50332 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
50333 LIBOBJS!$LIBOBJS$ac_delim
50334 LTLIBOBJS!$LTLIBOBJS$ac_delim
50337 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 13; then
50339 elif $ac_last_try; then
50340 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50341 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50342 { (exit 1); exit 1; }; }
50344 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
50348 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50349 if test -n "$ac_eof"; then
50350 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
50351 ac_eof
=`expr $ac_eof + 1`
50354 cat >>$CONFIG_STATUS <<_ACEOF
50355 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
50356 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
50359 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50360 s/^/s,@/; s/!/@,|#_!!_#|/
50363 s/'"$ac_delim"'$/,g/; t
50365 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50366 ' >>$CONFIG_STATUS <conf$
$subs.
sed
50367 rm -f conf$
$subs.
sed
50368 cat >>$CONFIG_STATUS <<_ACEOF
50375 # VPATH may cause trouble with some makes, so we remove $(srcdir),
50376 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
50377 # trailing colons and then remove the whole line if VPATH becomes empty
50378 # (actually we leave an empty line to preserve line numbers).
50379 if test "x$srcdir" = x.
; then
50380 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
50381 s/:*\$(srcdir):*/:/
50382 s/:*\${srcdir}:*/:/
50384 s/^\([^=]*=[ ]*\):*/\1/
50390 cat >>$CONFIG_STATUS <<\_ACEOF
50391 fi # test -n "$CONFIG_FILES"
50394 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
50397 :[FHLC
]) ac_mode
=$ac_tag; continue;;
50399 case $ac_mode$ac_tag in
50401 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
50402 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
50403 { (exit 1); exit 1; }; };;
50404 :[FH
]-) ac_tag
=-:-;;
50405 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
50422 -) ac_f
="$tmp/stdin";;
50423 *) # Look for the file first in the build tree, then in the source tree
50424 # (if the path is not absolute). The absolute path cannot be DOS-style,
50425 # because $ac_f cannot contain `:'.
50429 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
50431 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
50432 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
50433 { (exit 1); exit 1; }; };;
50435 ac_file_inputs
="$ac_file_inputs $ac_f"
50438 # Let's still pretend it is `configure' which instantiates (i.e., don't
50439 # use $as_me), people would be surprised to read:
50440 # /* config.h. Generated by config.status. */
50441 configure_input
="Generated from "`IFS=:
50442 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
50443 if test x
"$ac_file" != x
-; then
50444 configure_input
="$ac_file. $configure_input"
50445 { echo "$as_me:$LINENO: creating $ac_file" >&5
50446 echo "$as_me: creating $ac_file" >&6;}
50450 *:-:* | *:-) cat >"$tmp/stdin";;
50455 ac_dir
=`$as_dirname -- "$ac_file" ||
50456 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50457 X"$ac_file" : 'X\(//\)[^/]' \| \
50458 X"$ac_file" : 'X\(//\)$' \| \
50459 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
50461 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
50465 /^X\(\/\/\)[^/].*/{
50480 -*) as_dir
=.
/$as_dir;;
50482 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
50486 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
50487 *) as_qdir
=$as_dir;;
50489 as_dirs
="'$as_qdir' $as_dirs"
50490 as_dir
=`$as_dirname -- "$as_dir" ||
50491 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50492 X"$as_dir" : 'X\(//\)[^/]' \| \
50493 X"$as_dir" : 'X\(//\)$' \| \
50494 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
50496 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
50500 /^X\(\/\/\)[^/].*/{
50513 test -d "$as_dir" && break
50515 test -z "$as_dirs" || eval "mkdir $as_dirs"
50516 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
50517 echo "$as_me: error: cannot create directory $as_dir" >&2;}
50518 { (exit 1); exit 1; }; }; }
50522 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
50524 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50525 # A ".." for each directory in $ac_dir_suffix.
50526 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
50527 case $ac_top_builddir_sub in
50528 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
50529 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
50532 ac_abs_top_builddir
=$ac_pwd
50533 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
50534 # for backward compatibility:
50535 ac_top_builddir
=$ac_top_build_prefix
50538 .
) # We are building in place.
50540 ac_top_srcdir
=$ac_top_builddir_sub
50541 ac_abs_top_srcdir
=$ac_pwd ;;
50542 [\\/]* | ?
:[\\/]* ) # Absolute name.
50543 ac_srcdir
=$srcdir$ac_dir_suffix;
50544 ac_top_srcdir
=$srcdir
50545 ac_abs_top_srcdir
=$srcdir ;;
50546 *) # Relative name.
50547 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
50548 ac_top_srcdir
=$ac_top_build_prefix$srcdir
50549 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
50551 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
50561 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
50562 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
50566 cat >>$CONFIG_STATUS <<\_ACEOF
50567 # If the template does not know about datarootdir, expand it.
50568 # FIXME: This hack should be removed a few years after 2.60.
50569 ac_datarootdir_hack
=; ac_datarootdir_seen
=
50571 case `sed -n '/datarootdir/ {
50580 ' $ac_file_inputs` in
50581 *datarootdir
*) ac_datarootdir_seen
=yes;;
50582 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
50583 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
50584 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
50586 cat >>$CONFIG_STATUS <<_ACEOF
50587 ac_datarootdir_hack='
50588 s&@datadir@&$datadir&g
50589 s&@docdir@&$docdir&g
50590 s&@infodir@&$infodir&g
50591 s&@localedir@&$localedir&g
50592 s&@mandir@&$mandir&g
50593 s&\\\${datarootdir}&$datarootdir&g' ;;
50597 # Neutralize VPATH when `$srcdir' = `.'.
50598 # Shell code in configure.ac might set extrasub.
50599 # FIXME: do we really want to maintain this feature?
50600 cat >>$CONFIG_STATUS <<_ACEOF
50604 cat >>$CONFIG_STATUS <<\_ACEOF
50606 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
50607 s
&@configure_input@
&$configure_input&;t t
50608 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
50609 s
&@srcdir@
&$ac_srcdir&;t t
50610 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
50611 s
&@top_srcdir@
&$ac_top_srcdir&;t t
50612 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
50613 s
&@builddir@
&$ac_builddir&;t t
50614 s
&@abs_builddir@
&$ac_abs_builddir&;t t
50615 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
50616 s
&@INSTALL@
&$ac_INSTALL&;t t
50617 $ac_datarootdir_hack
50618 " $ac_file_inputs | sed -f "$tmp/subs
-1.
sed" | sed -f "$tmp/subs
-2.
sed" | sed -f "$tmp/subs
-3.
sed" | sed -f "$tmp/subs
-4.
sed" | sed -f "$tmp/subs
-5.
sed" >$tmp/out
50620 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
50621 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
50622 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
50623 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
50624 which seems to be undefined. Please make sure it is defined." >&5
50625 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
50626 which seems to be undefined. Please make sure it is defined." >&2;}
50630 -) cat "$tmp/out"; rm -f "$tmp/out";;
50631 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
50640 # Transform confdefs.h into a sed script `conftest.defines', that
50641 # substitutes the proper values into config.h.in to produce config.h.
50642 rm -f conftest.defines conftest.
tail
50643 # First, append a space to every undef/define line, to ease matching.
50644 echo 's/$/ /' >conftest.defines
50645 # Then, protect against being on the right side of a sed subst, or in
50646 # an unquoted here document, in config.status. If some macros were
50647 # called several times there might be several #defines for the same
50648 # symbol, which is useless. But do not sort them, since the last
50649 # AC_DEFINE must be honored.
50650 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
50651 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
50652 # NAME is the cpp macro being defined, VALUE is the value it is being given.
50653 # PARAMS is the parameter list in the macro definition--in most cases, it's
50654 # just an empty string.
50655 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
50656 ac_dB
='\\)[ (].*,\\1define\\2'
50664 s/^[ ]*#[ ]*define[ ][ ]*//
50669 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
50670 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
50671 ' >>conftest.defines
50673 # Remove the space that was appended to ease matching.
50674 # Then replace #undef with comments. This is necessary, for
50675 # example, in the case of _POSIX_SOURCE, which is predefined and required
50676 # on some systems where configure will not decide to define it.
50677 # (The regexp can be short, since the line contains either #define or #undef.)
50679 s,^[ #]*u.*,/* & */,' >>conftest.defines
50681 # Break up conftest.defines:
50682 ac_max_sed_lines
=50
50684 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
50685 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
50686 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
50688 ac_in
='$ac_file_inputs'
50689 ac_out
='"$tmp/out1"'
50690 ac_nxt
='"$tmp/out2"'
50694 # Write a here document:
50695 cat >>$CONFIG_STATUS <<_ACEOF
50696 # First, check the format of the line:
50697 cat >"\$tmp/defines.sed" <<\\CEOF
50698 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
50699 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
50703 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
50705 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
50706 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
50707 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
50708 grep . conftest.
tail >/dev
/null
|| break
50709 rm -f conftest.defines
50710 mv conftest.
tail conftest.defines
50712 rm -f conftest.defines conftest.
tail
50714 echo "ac_result=$ac_in" >>$CONFIG_STATUS
50715 cat >>$CONFIG_STATUS <<\_ACEOF
50716 if test x
"$ac_file" != x
-; then
50717 echo "/* $configure_input */" >"$tmp/config.h"
50718 cat "$ac_result" >>"$tmp/config.h"
50719 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
50720 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
50721 echo "$as_me: $ac_file is unchanged" >&6;}
50724 mv "$tmp/config.h" $ac_file
50727 echo "/* $configure_input */"
50733 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
50734 echo "$as_me: executing $ac_file commands" >&6;}
50739 case $ac_file$ac_mode in
50741 mkdir -p $outdir &&
50742 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
50744 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
50745 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
50746 "wx-config":C
) rm -f wx
-config
50747 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
50754 { (exit 0); exit 0; }
50756 chmod +x
$CONFIG_STATUS
50757 ac_clean_files
=$ac_clean_files_save
50760 # configure is writing to config.log, and then calls config.status.
50761 # config.status does its own redirection, appending to config.log.
50762 # Unfortunately, on DOS this fails, as config.log is still kept open
50763 # by configure, so config.status won't be able to write to it; its
50764 # output is simply discarded. So we exec the FD to /dev/null,
50765 # effectively closing config.log, so it can be properly (re)opened and
50766 # appended to by config.status. When coming back to configure, we
50767 # need to make the FD available again.
50768 if test "$no_create" != yes; then
50770 ac_config_status_args
=
50771 test "$silent" = yes &&
50772 ac_config_status_args
="$ac_config_status_args --quiet"
50774 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
50776 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
50777 # would make configure fail if this is the last instruction.
50778 $ac_cs_success || { (exit 1); exit 1; }
50782 # CONFIG_SUBDIRS section.
50784 if test "$no_recursion" != yes; then
50786 # Remove --cache-file and --srcdir arguments so they do not pile up.
50787 ac_sub_configure_args
=
50789 eval "set x $ac_configure_args"
50793 if test -n "$ac_prev"; then
50798 -cache-file | --cache-file | --cache-fil | --cache-fi \
50799 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
50800 ac_prev
=cache_file
;;
50801 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
50802 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
50805 --config-cache | -C)
50807 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
50809 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
50811 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
50813 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
50817 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
50819 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
50823 # Always prepend --prefix to ensure using the same prefix
50824 # in subdir configurations.
50825 ac_arg
="--prefix=$prefix"
50827 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
50829 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
50832 if test "$silent" = yes; then
50833 ac_sub_configure_args
="--silent $ac_sub_configure_args"
50837 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
50839 # Do not complain, so a configure script can configure whichever
50840 # parts of a large source tree are present.
50841 test -d "$srcdir/$ac_dir" || continue
50843 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
50844 echo "$as_me:$LINENO: $ac_msg" >&5
50848 -*) as_dir
=.
/$as_dir;;
50850 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
50854 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
50855 *) as_qdir
=$as_dir;;
50857 as_dirs
="'$as_qdir' $as_dirs"
50858 as_dir
=`$as_dirname -- "$as_dir" ||
50859 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50860 X"$as_dir" : 'X\(//\)[^/]' \| \
50861 X"$as_dir" : 'X\(//\)$' \| \
50862 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
50864 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
50868 /^X\(\/\/\)[^/].*/{
50881 test -d "$as_dir" && break
50883 test -z "$as_dirs" || eval "mkdir $as_dirs"
50884 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
50885 echo "$as_me: error: cannot create directory $as_dir" >&2;}
50886 { (exit 1); exit 1; }; }; }
50890 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
50892 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50893 # A ".." for each directory in $ac_dir_suffix.
50894 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
50895 case $ac_top_builddir_sub in
50896 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
50897 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
50900 ac_abs_top_builddir
=$ac_pwd
50901 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
50902 # for backward compatibility:
50903 ac_top_builddir
=$ac_top_build_prefix
50906 .
) # We are building in place.
50908 ac_top_srcdir
=$ac_top_builddir_sub
50909 ac_abs_top_srcdir
=$ac_pwd ;;
50910 [\\/]* | ?
:[\\/]* ) # Absolute name.
50911 ac_srcdir
=$srcdir$ac_dir_suffix;
50912 ac_top_srcdir
=$srcdir
50913 ac_abs_top_srcdir
=$srcdir ;;
50914 *) # Relative name.
50915 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
50916 ac_top_srcdir
=$ac_top_build_prefix$srcdir
50917 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
50919 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
50924 # Check for guested configure; otherwise get Cygnus style configure.
50925 if test -f "$ac_srcdir/configure.gnu"; then
50926 ac_sub_configure
=$ac_srcdir/configure.gnu
50927 elif test -f "$ac_srcdir/configure"; then
50928 ac_sub_configure
=$ac_srcdir/configure
50929 elif test -f "$ac_srcdir/configure.in"; then
50930 # This should be Cygnus configure.
50931 ac_sub_configure
=$ac_aux_dir/configure
50933 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
50934 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
50938 # The recursion is here.
50939 if test -n "$ac_sub_configure"; then
50940 # Make the cache file name correct relative to the subdirectory.
50941 case $cache_file in
50942 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
50943 *) # Relative name.
50944 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
50947 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
50948 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
50949 # The eval makes quoting arguments work.
50950 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
50951 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
50952 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
50953 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
50954 { (exit 1); exit 1; }; }
50963 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
50965 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
50966 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
50968 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
50969 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
50970 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
50972 echo " What level of wxWidgets compatibility should be enabled?"
50973 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
50974 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
50976 echo " Which libraries should wxWidgets use?"
50977 echo " jpeg ${wxUSE_LIBJPEG-none}"
50978 echo " png ${wxUSE_LIBPNG-none}"
50979 echo " regex ${wxUSE_REGEX}"
50980 echo " tiff ${wxUSE_LIBTIFF-none}"
50981 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
50982 echo " xpm ${wxUSE_LIBXPM-none}"
50984 echo " zlib ${wxUSE_ZLIB}"
50985 echo " odbc ${wxUSE_ODBC}"
50986 echo " expat ${wxUSE_EXPAT}"
50987 echo " libmspack ${wxUSE_LIBMSPACK}"
50988 echo " sdl ${wxUSE_LIBSDL}"