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-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1695 --enable-snglinst use wxSingleInstanceChecker class
1696 --enable-std_iostreams use standard C++ stream classes
1697 --enable-std_string use standard C++ string classes
1698 --enable-stdpaths use wxStandardPaths class
1699 --enable-stopwatch use wxStopWatch class
1700 --enable-streams use wxStream etc classes
1701 --enable-sysoptions use wxSystemOptions
1702 --enable-tarstream use wxTar streams
1703 --enable-textbuf use wxTextBuffer class
1704 --enable-textfile use wxTextFile class
1705 --enable-timer use wxTimer class
1706 --enable-unicode compile wxString with Unicode support
1707 --enable-sound use wxSound class
1708 --enable-mediactrl use wxMediaCtrl class
1709 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1710 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1711 --enable-zipstream use wxZip streams
1712 --enable-url use wxURL class
1713 --enable-variant use wxVariant class
1714 --enable-protocol use wxProtocol class
1715 --enable-protocol-http HTTP support in wxProtocol
1716 --enable-protocol-ftp FTP support in wxProtocol
1717 --enable-protocol-file FILE support in wxProtocol
1718 --enable-threads use threads
1719 --enable-docview use document view architecture
1720 --enable-help use help subsystem
1721 --enable-mshtmlhelp use MS HTML Help (win32)
1722 --enable-html use wxHTML sub-library
1723 --enable-htmlhelp use wxHTML-based help
1724 --enable-xrc use XRC resources sub-library
1725 --enable-aui use AUI docking library
1726 --enable-stc use wxStyledTextCtrl library
1727 --enable-constraints use layout-constraints system
1728 --enable-printarch use printing architecture
1729 --enable-mdi use multiple document interface architecture
1730 --enable-mdidoc use docview architecture with MDI
1731 --enable-loggui use standard GUI logger
1732 --enable-logwin use wxLogWindow
1733 --enable-logdialog use wxLogDialog
1734 --enable-webkit use wxWebKitCtrl (Mac)
1735 --enable-richtext use wxRichTextCtrl
1736 --enable-graphics_ctx use graphics context 2D drawing API
1737 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1738 --enable-clipboard use wxClipboard class
1739 --enable-dnd use Drag'n
'Drop classes
1740 --enable-metafile use win32 metafiles
1741 --enable-controls use all usual controls
1742 --enable-accel use accelerators
1743 --enable-animatectrl use wxAnimationCtrl class
1744 --enable-button use wxButton class
1745 --enable-bmpbutton use wxBitmapButton class
1746 --enable-bmpcombobox use wxBitmapComboBox class
1747 --enable-calendar use wxCalendarCtrl class
1748 --enable-caret use wxCaret class
1749 --enable-checkbox use wxCheckBox class
1750 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1751 --enable-choice use wxChoice class
1752 --enable-choicebook use wxChoicebook class
1753 --enable-collpane use wxCollapsiblePane class
1754 --enable-colourpicker use wxColourPickerCtrl class
1755 --enable-combobox use wxComboBox class
1756 --enable-comboctrl use wxComboCtrl class
1757 --enable-datepick use wxDatePickerCtrl class
1758 --enable-dirpicker use wxDirPickerCtrl class
1759 --enable-display use wxDisplay class
1760 --enable-detect_sm use code to detect X11 session manager
1761 --enable-editablebox use wxEditableListBox class
1762 --enable-filepicker use wxFilePickerCtrl class
1763 --enable-fontpicker use wxFontPickerCtrl class
1764 --enable-gauge use wxGauge class
1765 --enable-grid use wxGrid class
1766 --enable-dataviewctrl use wxDataViewCtrl class
1767 --enable-hyperlink use wxHyperlinkCtrl class
1768 --enable-imaglist use wxImageList class
1769 --enable-listbook use wxListbook class
1770 --enable-listbox use wxListBox class
1771 --enable-listctrl use wxListCtrl class
1772 --enable-notebook use wxNotebook class
1773 --enable-odcombobox use wxOwnerDrawnComboBox class
1774 --enable-radiobox use wxRadioBox class
1775 --enable-radiobtn use wxRadioButton class
1776 --enable-sash use wxSashWindow class
1777 --enable-scrollbar use wxScrollBar class and scrollable windows
1778 --enable-searchctrl use wxSearchCtrl class
1779 --enable-slider use wxSlider class
1780 --enable-spinbtn use wxSpinButton class
1781 --enable-spinctrl use wxSpinCtrl class
1782 --enable-splitter use wxSplitterWindow class
1783 --enable-statbmp use wxStaticBitmap class
1784 --enable-statbox use wxStaticBox class
1785 --enable-statline use wxStaticLine class
1786 --enable-stattext use wxStaticText class
1787 --enable-statusbar use wxStatusBar class
1788 --enable-tabdialog use wxTabControl class
1789 --enable-textctrl use wxTextCtrl class
1790 --enable-togglebtn use wxToggleButton class
1791 --enable-toolbar use wxToolBar class
1792 --enable-tbarnative use native wxToolBar class
1793 --enable-treebook use wxTreebook class
1794 --enable-toolbook use wxToolbook class
1795 --enable-treectrl use wxTreeCtrl class
1796 --enable-tipwindow use wxTipWindow class
1797 --enable-popupwin use wxPopUpWindow class
1798 --enable-commondlg use all common dialogs
1799 --enable-aboutdlg use wxAboutBox
1800 --enable-choicedlg use wxChoiceDialog
1801 --enable-coldlg use wxColourDialog
1802 --enable-filedlg use wxFileDialog
1803 --enable-finddlg use wxFindReplaceDialog
1804 --enable-fontdlg use wxFontDialog
1805 --enable-dirdlg use wxDirDialog
1806 --enable-msgdlg use wxMessageDialog
1807 --enable-numberdlg use wxNumberEntryDialog
1808 --enable-splash use wxSplashScreen
1809 --enable-textdlg use wxTextDialog
1810 --enable-tipdlg use startup tips
1811 --enable-progressdlg use wxProgressDialog
1812 --enable-wizarddlg use wxWizard
1813 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1814 --enable-miniframe use wxMiniFrame class
1815 --enable-tooltips use wxToolTip class
1816 --enable-splines use spline drawing code
1817 --enable-mousewheel use mousewheel
1818 --enable-validators use wxValidator and derived classes
1819 --enable-busyinfo use wxBusyInfo
1820 --enable-joystick use wxJoystick
1821 --enable-metafiles use wxMetaFile (Win32 only)
1822 --enable-dragimage use wxDragImage
1823 --enable-accessibility enable accessibility support
1824 --enable-dccache cache temporary wxDC objects (Win32 only)
1825 --enable-palette use wxPalette class
1826 --enable-image use wxImage class
1827 --enable-gif use gif images (GIF file format)
1828 --enable-pcx use pcx images (PCX file format)
1829 --enable-tga use tga images (TGA file format)
1830 --enable-iff use iff images (IFF file format)
1831 --enable-pnm use pnm images (PNM file format)
1832 --enable-xpm use xpm images (XPM file format)
1833 --enable-icocur use Windows ICO and CUR formats
1834 --enable-official_build official build of wxWidgets (win32 DLL only)
1835 --enable-vendor=VENDOR vendor name (win32 DLL only)
1836 --disable-largefile omit support for large files
1837 --disable-gtktest do not try to compile and run a test GTK+ program
1838 --disable-gtktest Do not try to compile and run a test GTK program
1839 --disable-sdltest Do not try to compile and run a test SDL program
1840 --enable-omf use OMF object format (OS/2)
1841 --disable-dependency-tracking
1842 don't use dependency tracking even
if the compiler
1844 --disable-precomp-headers
1845 don
't use precompiled headers even if compiler can
1848 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1849 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1850 --without-subdirs don't generate makefiles
for samples
/demos
/...
1851 --with-gtk[=VERSION
] use GTK
+, VERSION can be
2 (default
), 1 or
"any"
1852 --with-motif use Motif
/Lesstif
1853 --with-mac use Mac OS X
1854 --with-cocoa use Cocoa
1855 --with-wine use Wine
1856 --with-msw use MS
-Windows
1857 --with-pm use OS
/2 Presentation Manager
1858 --with-mgl use SciTech MGL
1859 --with-directfb use DirectFB
1860 --with-microwin use MicroWindows
1862 --with-libpng use libpng
(PNG image format
)
1863 --with-libjpeg use libjpeg
(JPEG
file format
)
1864 --with-libtiff use libtiff
(TIFF
file format
)
1865 --with-libxpm use libxpm
(XPM
file format
)
1866 --with-libmspack use libmspack
(CHM
help files loading
)
1867 --with-sdl use SDL
for audio on Unix
1868 --with-gnomeprint use GNOME print
for printing under GNOME
1869 --with-gnomevfs use GNOME VFS
for associating MIME types
1870 --with-hildon use Hildon framework
for Nokia
770
1871 --with-opengl use OpenGL
(or Mesa
)
1872 --with-themes=all
|list use only the specified comma
-separated list of wxUniversal themes
1873 --with-dmalloc use dmalloc library
(http
://dmalloc.com
/)
1874 --with-regex enable support
for wxRegEx class
1875 --with-zlib use zlib
for LZW compression
1876 --with-odbc use the IODBC and wxODBC classes
1877 --with-expat enable XML support using expat parser
1878 --with-flavour=NAME specify a name to identify this build
1879 --with-gtk-prefix=PFX Prefix where GTK is installed
(optional
)
1880 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed
(optional
)
1881 --with-x use the X Window System
1882 --with-libiconv-prefix=DIR search
for libiconv
in DIR
/include and DIR
/lib
1883 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1884 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1885 --with-cppunit-prefix=PFX Prefix where CppUnit is installed
(optional
)
1886 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed
(optional
)
1888 Some influential environment variables
:
1889 CC C compiler
command
1890 CFLAGS C compiler flags
1891 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1892 nonstandard directory
<lib dir
>
1893 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1894 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1895 you have headers
in a nonstandard directory
<include dir
>
1897 CXX C
++ compiler
command
1898 CXXFLAGS C
++ compiler flags
1899 PKG_CONFIG path to pkg
-config utility
1901 C compiler flags
for DIRECTFB
, overriding pkg
-config
1903 linker flags
for DIRECTFB
, overriding pkg
-config
1904 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1906 C compiler flags
for PANGOX
, overriding pkg
-config
1907 PANGOX_LIBS linker flags
for PANGOX
, overriding pkg
-config
1909 C compiler flags
for PANGOFT2
, overriding pkg
-config
1911 linker flags
for PANGOFT2
, overriding pkg
-config
1913 C compiler flags
for PANGOXFT
, overriding pkg
-config
1915 linker flags
for PANGOXFT
, overriding pkg
-config
1916 LIBGNOMEPRINTUI_CFLAGS
1917 C compiler flags
for LIBGNOMEPRINTUI
, overriding pkg
-config
1918 LIBGNOMEPRINTUI_LIBS
1919 linker flags
for LIBGNOMEPRINTUI
, overriding pkg
-config
1921 C compiler flags
for GNOMEVFS
, overriding pkg
-config
1923 linker flags
for GNOMEVFS
, overriding pkg
-config
1925 C compiler flags
for HILDON
, overriding pkg
-config
1926 HILDON_LIBS linker flags
for HILDON
, overriding pkg
-config
1928 C compiler flags
for CAIRO
, overriding pkg
-config
1929 CAIRO_LIBS linker flags
for CAIRO
, overriding pkg
-config
1930 GST_CFLAGS C compiler flags
for GST
, overriding pkg
-config
1931 GST_LIBS linker flags
for GST
, overriding pkg
-config
1933 Use these variables to override the choices made by
`configure' or to help
1934 it to find libraries and programs with nonstandard names/locations.
1936 Report bugs to <wx-dev@lists.wxwidgets.org>.
1941 if test "$ac_init_help" = "recursive"; then
1942 # If there are subdirs, report their specific --help.
1943 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1944 test -d "$ac_dir" || continue
1948 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1950 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1951 # A ".." for each directory in $ac_dir_suffix.
1952 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1953 case $ac_top_builddir_sub in
1954 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1955 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1958 ac_abs_top_builddir=$ac_pwd
1959 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1960 # for backward compatibility:
1961 ac_top_builddir=$ac_top_build_prefix
1964 .) # We are building in place.
1966 ac_top_srcdir=$ac_top_builddir_sub
1967 ac_abs_top_srcdir=$ac_pwd ;;
1968 [\\/]* | ?:[\\/]* ) # Absolute name.
1969 ac_srcdir=$srcdir$ac_dir_suffix;
1970 ac_top_srcdir=$srcdir
1971 ac_abs_top_srcdir=$srcdir ;;
1973 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1974 ac_top_srcdir=$ac_top_build_prefix$srcdir
1975 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1977 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1979 cd "$ac_dir" || { ac_status=$?; continue; }
1980 # Check for guested configure.
1981 if test -f "$ac_srcdir/configure.gnu"; then
1983 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1984 elif test -f "$ac_srcdir/configure"; then
1986 $SHELL "$ac_srcdir/configure" --help=recursive
1988 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1990 cd "$ac_pwd" || { ac_status=$?; break; }
1994 test -n "$ac_init_help" && exit $ac_status
1995 if $ac_init_version; then
1997 wxWidgets configure 2.9.0
1998 generated by GNU Autoconf 2.61
2000 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2001 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2002 This configure script is free software; the Free Software Foundation
2003 gives unlimited permission to copy, distribute and modify it.
2007 cat >config.log <<_ACEOF
2008 This file contains any messages produced by compilers while
2009 running configure, to aid debugging if configure makes a mistake.
2011 It was created by wxWidgets $as_me 2.9.0, which was
2012 generated by GNU Autoconf 2.61. Invocation command line was
2024 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
2025 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
2026 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
2027 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
2028 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
2030 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
2031 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
2033 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
2034 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
2035 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
2036 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null
|| echo unknown
`
2037 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
2038 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
2039 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
2043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2047 test -z "$as_dir" && as_dir=.
2048 echo "PATH: $as_dir"
2064 # Keep a trace of the command line.
2065 # Strip out --no-create and --no-recursion so they do not pile up.
2066 # Strip out --silent because we don't want to record it for future runs.
2067 # Also quote any args containing shell meta-characters.
2068 # Make two passes to allow for proper duplicate-argument suppression.
2072 ac_must_keep_next=false
2078 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2079 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2080 | -silent | --silent | --silen | --sile | --sil)
2083 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2086 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2088 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2089 if test $ac_must_keep_next = true; then
2090 ac_must_keep_next=false # Got value, back to normal.
2093 *=* | --config-cache | -C | -disable-* | --disable-* \
2094 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2095 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2096 | -with-* | --with-* | -without-* | --without-* | --x)
2097 case "$ac_configure_args0 " in
2098 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2101 -* ) ac_must_keep_next=true ;;
2104 ac_configure_args="$ac_configure_args '$ac_arg'"
2109 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2110 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2112 # When interrupted or exit'd, cleanup temporary files, and complete
2113 # config.log. We remove comments because anyway the quotes in there
2114 # would cause problems or look ugly.
2115 # WARNING: Use '\'' to represent an apostrophe within the trap.
2116 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2117 trap 'exit_status=$?
2118 # Save into config.log some information that might help in debugging.
2123 ## ---------------- ##
2124 ## Cache variables. ##
2125 ## ---------------- ##
2128 # The following way of writing the cache mishandles newlines in values,
2130 for ac_var in `(set) 2>&1 | sed -n '\''s
/^\
([a
-zA-Z_][a
-zA-Z0-9_]*\
)=.
*/\
1/p
'\''`; do
2131 eval ac_val=\$$ac_var
2135 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2136 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2139 _ | IFS | as_nl) ;; #(
2140 *) $as_unset $ac_var ;;
2145 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2146 *${as_nl}ac_space=\ *)
2148 "s/'\''/'\''\\\\'\'''\''/g;
2149 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2152 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2160 ## ----------------- ##
2161 ## Output variables. ##
2162 ## ----------------- ##
2165 for ac_var in $ac_subst_vars
2167 eval ac_val=\$$ac_var
2169 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2171 echo "$ac_var='\''$ac_val'\''"
2175 if test -n "$ac_subst_files"; then
2177 ## ------------------- ##
2178 ## File substitutions. ##
2179 ## ------------------- ##
2182 for ac_var in $ac_subst_files
2184 eval ac_val=\$$ac_var
2186 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2188 echo "$ac_var='\''$ac_val'\''"
2193 if test -s confdefs.h; then
2203 test "$ac_signal" != 0 &&
2204 echo "$as_me: caught signal $ac_signal"
2205 echo "$as_me: exit $exit_status"
2207 rm -f core *.core core.conftest.* &&
2208 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2211 for ac_signal in 1 2 13 15; do
2212 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2216 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2217 rm -f -r conftest* confdefs.h
2219 # Predefined preprocessor variables.
2221 cat >>confdefs.h <<_ACEOF
2222 #define PACKAGE_NAME "$PACKAGE_NAME"
2226 cat >>confdefs.h <<_ACEOF
2227 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2231 cat >>confdefs.h <<_ACEOF
2232 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2236 cat >>confdefs.h <<_ACEOF
2237 #define PACKAGE_STRING "$PACKAGE_STRING"
2241 cat >>confdefs.h <<_ACEOF
2242 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2246 # Let the site file select an alternate cache file if it wants to.
2247 # Prefer explicitly selected file to automatically selected ones.
2248 if test -n "$CONFIG_SITE"; then
2249 set x "$CONFIG_SITE"
2250 elif test "x$prefix" != xNONE; then
2251 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2253 set x "$ac_default_prefix/share/config.site" \
2254 "$ac_default_prefix/etc/config.site"
2259 if test -r "$ac_site_file"; then
2260 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2261 echo "$as_me: loading site script $ac_site_file" >&6;}
2262 sed 's/^/| /' "$ac_site_file" >&5
2267 if test -r "$cache_file"; then
2268 # Some versions of bash will fail to source /dev/null (special
2269 # files actually), so we avoid doing that.
2270 if test -f "$cache_file"; then
2271 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2272 echo "$as_me: loading cache $cache_file" >&6;}
2274 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2275 *) . "./$cache_file";;
2279 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2280 echo "$as_me: creating cache $cache_file" >&6;}
2284 # Check that the precious variables saved in the cache have kept the same
2286 ac_cache_corrupted=false
2287 for ac_var in $ac_precious_vars; do
2288 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2289 eval ac_new_set=\$ac_env_${ac_var}_set
2290 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2291 eval ac_new_val=\$ac_env_${ac_var}_value
2292 case $ac_old_set,$ac_new_set in
2294 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2295 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2296 ac_cache_corrupted=: ;;
2298 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
2299 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2300 ac_cache_corrupted=: ;;
2303 if test "x$ac_old_val" != "x$ac_new_val"; then
2304 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2305 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2306 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
2307 echo "$as_me: former value
: $ac_old_val" >&2;}
2308 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
2309 echo "$as_me: current value
: $ac_new_val" >&2;}
2310 ac_cache_corrupted=:
2313 # Pass precious variables to config.status.
2314 if test "$ac_new_set" = set; then
2316 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2317 *) ac_arg=$ac_var=$ac_new_val ;;
2319 case " $ac_configure_args " in
2320 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2321 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2325 if $ac_cache_corrupted; then
2326 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
2327 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
2328 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
2329 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
2330 { (exit 1); exit 1; }; }
2358 ac_cpp='$CPP $CPPFLAGS'
2359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2368 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2369 if test -f "$ac_dir/install-sh"; then
2371 ac_install_sh="$ac_aux_dir/install-sh -c"
2373 elif test -f "$ac_dir/install.sh"; then
2375 ac_install_sh="$ac_aux_dir/install.sh -c"
2377 elif test -f "$ac_dir/shtool"; then
2379 ac_install_sh="$ac_aux_dir/shtool install -c"
2383 if test -z "$ac_aux_dir"; then
2384 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2385 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2386 { (exit 1); exit 1; }; }
2389 # These three variables are undocumented and unsupported,
2390 # and are intended to be withdrawn in a future Autoconf release.
2391 # They can cause serious problems if a builder's source tree is in a directory
2392 # whose full name contains unusual characters.
2393 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2394 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2395 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2398 # Make sure we can run config.sub.
2399 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2400 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2401 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2402 { (exit 1); exit 1; }; }
2404 { echo "$as_me:$LINENO: checking build system type" >&5
2405 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2406 if test "${ac_cv_build+set}" = set; then
2407 echo $ECHO_N "(cached) $ECHO_C" >&6
2409 ac_build_alias=$build_alias
2410 test "x$ac_build_alias" = x &&
2411 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2412 test "x$ac_build_alias" = x &&
2413 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2414 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2415 { (exit 1); exit 1; }; }
2416 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2417 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2418 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2419 { (exit 1); exit 1; }; }
2422 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2423 echo "${ECHO_T}$ac_cv_build" >&6; }
2424 case $ac_cv_build in
2426 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2427 echo "$as_me: error: invalid value of canonical build" >&2;}
2428 { (exit 1); exit 1; }; };;
2431 ac_save_IFS=$IFS; IFS='-'
2437 # Remember, the first character of IFS is used to create $*,
2438 # except with old shells:
2441 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2444 { echo "$as_me:$LINENO: checking host system type" >&5
2445 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2446 if test "${ac_cv_host+set}" = set; then
2447 echo $ECHO_N "(cached) $ECHO_C" >&6
2449 if test "x$host_alias" = x; then
2450 ac_cv_host=$ac_cv_build
2452 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2453 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2454 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2455 { (exit 1); exit 1; }; }
2459 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2460 echo "${ECHO_T}$ac_cv_host" >&6; }
2463 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2464 echo "$as_me: error: invalid value of canonical host" >&2;}
2465 { (exit 1); exit 1; }; };;
2468 ac_save_IFS=$IFS; IFS='-'
2474 # Remember, the first character of IFS is used to create $*,
2475 # except with old shells:
2478 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2481 { echo "$as_me:$LINENO: checking target system type" >&5
2482 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2483 if test "${ac_cv_target+set}" = set; then
2484 echo $ECHO_N "(cached) $ECHO_C" >&6
2486 if test "x$target_alias" = x; then
2487 ac_cv_target=$ac_cv_host
2489 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2490 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2491 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2492 { (exit 1); exit 1; }; }
2496 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2497 echo "${ECHO_T}$ac_cv_target" >&6; }
2498 case $ac_cv_target in
2500 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2501 echo "$as_me: error: invalid value of canonical target" >&2;}
2502 { (exit 1); exit 1; }; };;
2504 target=$ac_cv_target
2505 ac_save_IFS=$IFS; IFS='-'
2511 # Remember, the first character of IFS is used to create $*,
2512 # except with old shells:
2515 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2518 # The aliases save the names the user supplied, while $host etc.
2519 # will get canonicalized.
2520 test -n "$target_alias" &&
2521 test "$program_prefix$program_suffix$program_transform_name" = \
2523 program_prefix=${target_alias}-
2527 wx_major_version_number=2
2528 wx_minor_version_number=9
2530 wx_subrelease_number=0
2532 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2533 WX_VERSION=$WX_RELEASE.$wx_release_number
2534 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2536 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2539 wx_top_builddir="`pwd`"
2552 USE_BSD= USE_DARWIN= USE_FREEBSD=
2558 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2564 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2566 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2568 DEFAULT_wxUSE_COCOA=0
2572 DEFAULT_wxUSE_MICROWIN=0
2573 DEFAULT_wxUSE_MOTIF=0
2579 DEFAULT_DEFAULT_wxUSE_COCOA=0
2580 DEFAULT_DEFAULT_wxUSE_GTK=0
2581 DEFAULT_DEFAULT_wxUSE_MAC=0
2582 DEFAULT_DEFAULT_wxUSE_MGL=0
2583 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2584 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2585 DEFAULT_DEFAULT_wxUSE_MSW=0
2586 DEFAULT_DEFAULT_wxUSE_PM=0
2587 DEFAULT_DEFAULT_wxUSE_X11=0
2588 DEFAULT_DEFAULT_wxUSE_DFB=0
2593 SAMPLES_RPATH_POSTLINK=
2595 DEFAULT_STD_FLAG=yes
2600 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2601 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2603 cat >>confdefs.h <<\_ACEOF
2608 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2612 cat >>confdefs.h <<\_ACEOF
2617 if test "x$TMP" = "xalpha"; then
2619 cat >>confdefs.h <<\_ACEOF
2624 DEFAULT_DEFAULT_wxUSE_GTK=1
2626 *-*-gnu* | *-*-k*bsd*-gnu )
2629 if test "x$TMP" = "xalpha"; then
2631 cat >>confdefs.h <<\_ACEOF
2636 DEFAULT_DEFAULT_wxUSE_GTK=1
2638 *-*-irix5* | *-*-irix6* )
2641 cat >>confdefs.h <<\_ACEOF
2645 cat >>confdefs.h <<\_ACEOF
2649 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2655 cat >>confdefs.h <<\_ACEOF
2659 cat >>confdefs.h <<\_ACEOF
2660 #define __SOLARIS__ 1
2663 cat >>confdefs.h <<\_ACEOF
2667 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2668 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2674 cat >>confdefs.h <<\_ACEOF
2678 cat >>confdefs.h <<\_ACEOF
2682 cat >>confdefs.h <<\_ACEOF
2686 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2691 cat >>confdefs.h <<\_ACEOF
2692 #define __FREEBSD__ 1
2695 cat >>confdefs.h <<\_ACEOF
2699 DEFAULT_DEFAULT_wxUSE_GTK=1
2701 *-*-openbsd*|*-*-mirbsd*)
2704 cat >>confdefs.h <<\_ACEOF
2705 #define __OPENBSD__ 1
2708 cat >>confdefs.h <<\_ACEOF
2712 DEFAULT_DEFAULT_wxUSE_GTK=1
2717 cat >>confdefs.h <<\_ACEOF
2718 #define __NETBSD__ 1
2721 cat >>confdefs.h <<\_ACEOF
2725 DEFAULT_DEFAULT_wxUSE_GTK=1
2726 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2728 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2733 cat >>confdefs.h <<\_ACEOF
2737 cat >>confdefs.h <<\_ACEOF
2741 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2742 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2747 cat >>confdefs.h <<\_ACEOF
2751 cat >>confdefs.h <<\_ACEOF
2755 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2760 cat >>confdefs.h <<\_ACEOF
2764 cat >>confdefs.h <<\_ACEOF
2768 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2775 cat >>confdefs.h <<\_ACEOF
2779 cat >>confdefs.h <<\_ACEOF
2783 cat >>confdefs.h <<\_ACEOF
2787 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2794 cat >>confdefs.h <<\_ACEOF
2795 #define __UNIXWARE__ 1
2800 *-*-cygwin* | *-*-mingw32* )
2803 DEFAULT_DEFAULT_wxUSE_MSW=1
2809 cat >>confdefs.h <<\_ACEOF
2814 DEFAULT_DEFAULT_wxUSE_MGL=1
2817 *-pc-os2_emx | *-pc-os2-emx )
2818 cat >>confdefs.h <<\_ACEOF
2823 cat >>confdefs.h <<\_ACEOF
2828 DEFAULT_DEFAULT_wxUSE_PM=1
2830 LDFLAGS="$LDFLAGS -Zcrtdll"
2831 ac_executable_extensions=".exe"
2832 export ac_executable_extensions
2836 for ac_dir in $PATH; do
2838 if test -z "$ac_TEMP_PATH"; then
2839 ac_TEMP_PATH="$ac_dir"
2841 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2844 export PATH="$ac_TEMP_PATH"
2853 cat >>confdefs.h <<\_ACEOF
2857 cat >>confdefs.h <<\_ACEOF
2858 #define __DARWIN__ 1
2861 cat >>confdefs.h <<\_ACEOF
2862 #define TARGET_CARBON 1
2865 DEFAULT_DEFAULT_wxUSE_MAC=1
2868 powerpc-apple-macos* )
2870 ac_cv_c_bigendian=yes
2872 DEFAULT_DEFAULT_wxUSE_MAC=1
2878 cat >>confdefs.h <<\_ACEOF
2885 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2886 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2887 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2888 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2890 DEFAULT_DEFAULT_wxUSE_X11=1
2891 DEFAULT_wxUSE_SHARED=no
2897 wx_arg_cache_file="configarg.cache"
2898 echo "loading argument cache $wx_arg_cache_file"
2899 rm -f ${wx_arg_cache_file}.tmp
2900 touch ${wx_arg_cache_file}.tmp
2901 touch ${wx_arg_cache_file}
2905 if test $DEBUG_CONFIGURE = 1; then
2906 DEFAULT_wxUSE_UNIVERSAL=no
2907 DEFAULT_wxUSE_STL=no
2908 DEFAULT_wxUSE_EXTENDED_RTTI=no
2910 DEFAULT_wxUSE_NANOX=no
2912 DEFAULT_wxUSE_THREADS=yes
2914 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2915 DEFAULT_wxUSE_OPTIMISE=no
2916 DEFAULT_wxUSE_PROFILE=no
2917 DEFAULT_wxUSE_NO_DEPS=no
2918 DEFAULT_wxUSE_VARARG_MACROS=no
2919 DEFAULT_wxUSE_NO_RTTI=no
2920 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2921 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2922 DEFAULT_wxUSE_RPATH=yes
2923 DEFAULT_wxUSE_PERMISSIVE=no
2924 DEFAULT_wxUSE_DEBUG_FLAG=yes
2925 DEFAULT_wxUSE_DEBUG_INFO=yes
2926 DEFAULT_wxUSE_DEBUG_GDB=yes
2927 DEFAULT_wxUSE_MEM_TRACING=no
2928 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2929 DEFAULT_wxUSE_DMALLOC=no
2930 DEFAULT_wxUSE_APPLE_IEEE=no
2932 DEFAULT_wxUSE_EXCEPTIONS=no
2933 DEFAULT_wxUSE_LOG=yes
2934 DEFAULT_wxUSE_LOGWINDOW=no
2935 DEFAULT_wxUSE_LOGGUI=no
2936 DEFAULT_wxUSE_LOGDIALOG=no
2938 DEFAULT_wxUSE_GUI=yes
2939 DEFAULT_wxUSE_CONTROLS=no
2941 DEFAULT_wxUSE_REGEX=no
2942 DEFAULT_wxUSE_XML=no
2943 DEFAULT_wxUSE_EXPAT=no
2944 DEFAULT_wxUSE_ZLIB=no
2945 DEFAULT_wxUSE_LIBPNG=no
2946 DEFAULT_wxUSE_LIBJPEG=no
2947 DEFAULT_wxUSE_LIBTIFF=no
2948 DEFAULT_wxUSE_LIBXPM=no
2949 DEFAULT_wxUSE_LIBMSPACK=no
2950 DEFAULT_wxUSE_LIBSDL=no
2951 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2952 DEFAULT_wxUSE_LIBGNOMEVFS=no
2953 DEFAULT_wxUSE_LIBHILDON=no
2954 DEFAULT_wxUSE_ODBC=no
2955 DEFAULT_wxUSE_OPENGL=no
2957 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2958 DEFAULT_wxUSE_STACKWALKER=no
2959 DEFAULT_wxUSE_DEBUGREPORT=no
2960 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2961 DEFAULT_wxUSE_STD_IOSTREAM=no
2962 DEFAULT_wxUSE_STD_STRING=no
2963 DEFAULT_wxUSE_CMDLINE_PARSER=no
2964 DEFAULT_wxUSE_DATETIME=no
2965 DEFAULT_wxUSE_TIMER=no
2966 DEFAULT_wxUSE_STOPWATCH=no
2967 DEFAULT_wxUSE_FILE=no
2968 DEFAULT_wxUSE_FFILE=no
2969 DEFAULT_wxUSE_STDPATHS=no
2970 DEFAULT_wxUSE_TEXTBUFFER=no
2971 DEFAULT_wxUSE_TEXTFILE=no
2972 DEFAULT_wxUSE_SOUND=no
2973 DEFAULT_wxUSE_MEDIACTRL=no
2974 DEFAULT_wxUSE_GSTREAMER8=no
2975 DEFAULT_wxUSE_PRINTF_POS_PARAMS=no
2976 DEFAULT_wxUSE_INTL=no
2977 DEFAULT_wxUSE_CONFIG=no
2978 DEFAULT_wxUSE_FONTMAP=no
2979 DEFAULT_wxUSE_STREAMS=no
2980 DEFAULT_wxUSE_SOCKETS=no
2981 DEFAULT_wxUSE_OLE=no
2982 DEFAULT_wxUSE_DATAOBJ=no
2983 DEFAULT_wxUSE_DIALUP_MANAGER=no
2984 DEFAULT_wxUSE_JOYSTICK=no
2985 DEFAULT_wxUSE_DYNLIB_CLASS=no
2986 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2987 DEFAULT_wxUSE_LONGLONG=no
2988 DEFAULT_wxUSE_GEOMETRY=no
2990 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2991 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2992 DEFAULT_wxUSE_POSTSCRIPT=no
2994 DEFAULT_wxUSE_CLIPBOARD=no
2995 DEFAULT_wxUSE_TOOLTIPS=no
2996 DEFAULT_wxUSE_DRAG_AND_DROP=no
2997 DEFAULT_wxUSE_DRAGIMAGE=no
2998 DEFAULT_wxUSE_SPLINES=no
2999 DEFAULT_wxUSE_MOUSEWHEEL=no
3001 DEFAULT_wxUSE_MDI=no
3002 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
3003 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
3004 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
3006 DEFAULT_wxUSE_CONSTRAINTS=no
3007 DEFAULT_wxUSE_IPC=no
3008 DEFAULT_wxUSE_HELP=no
3009 DEFAULT_wxUSE_MS_HTML_HELP=no
3010 DEFAULT_wxUSE_WXHTML_HELP=no
3011 DEFAULT_wxUSE_TREELAYOUT=no
3012 DEFAULT_wxUSE_METAFILE=no
3013 DEFAULT_wxUSE_MIMETYPE=no
3014 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
3015 DEFAULT_wxUSE_PROTOCOL=no
3016 DEFAULT_wxUSE_PROTOCOL_HTTP=no
3017 DEFAULT_wxUSE_PROTOCOL_FTP=no
3018 DEFAULT_wxUSE_PROTOCOL_FILE=no
3019 DEFAULT_wxUSE_URL=no
3020 DEFAULT_wxUSE_VARIANT=no
3022 DEFAULT_wxUSE_ABOUTDLG=no
3023 DEFAULT_wxUSE_COMMONDLGS=no
3024 DEFAULT_wxUSE_CHOICEDLG=no
3025 DEFAULT_wxUSE_COLOURDLG=no
3026 DEFAULT_wxUSE_DIRDLG=no
3027 DEFAULT_wxUSE_FILEDLG=no
3028 DEFAULT_wxUSE_FINDREPLDLG=no
3029 DEFAULT_wxUSE_FONTDLG=no
3030 DEFAULT_wxUSE_MSGDLG=no
3031 DEFAULT_wxUSE_NUMBERDLG=no
3032 DEFAULT_wxUSE_TEXTDLG=no
3033 DEFAULT_wxUSE_SPLASH=no
3034 DEFAULT_wxUSE_STARTUP_TIPS=no
3035 DEFAULT_wxUSE_PROGRESSDLG=no
3036 DEFAULT_wxUSE_WIZARDDLG=no
3038 DEFAULT_wxUSE_MENUS=no
3039 DEFAULT_wxUSE_MINIFRAME=no
3040 DEFAULT_wxUSE_HTML=no
3041 DEFAULT_wxUSE_RICHTEXT=no
3042 DEFAULT_wxUSE_XRC=no
3043 DEFAULT_wxUSE_AUI=no
3044 DEFAULT_wxUSE_STC=no
3045 DEFAULT_wxUSE_WEBKIT=no
3046 DEFAULT_wxUSE_FILESYSTEM=no
3047 DEFAULT_wxUSE_FS_INET=no
3048 DEFAULT_wxUSE_FS_ZIP=no
3049 DEFAULT_wxUSE_FS_ARCHIVE=no
3050 DEFAULT_wxUSE_BUSYINFO=no
3051 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
3052 DEFAULT_wxUSE_ZIPSTREAM=no
3053 DEFAULT_wxUSE_TARSTREAM=no
3054 DEFAULT_wxUSE_VALIDATORS=no
3056 DEFAULT_wxUSE_ACCEL=no
3057 DEFAULT_wxUSE_ANIMATIONCTRL=no
3058 DEFAULT_wxUSE_BUTTON=no
3059 DEFAULT_wxUSE_BMPBUTTON=no
3060 DEFAULT_wxUSE_BITMAPCOMBOBOX=no
3061 DEFAULT_wxUSE_CALCTRL=no
3062 DEFAULT_wxUSE_CARET=no
3063 DEFAULT_wxUSE_CHECKBOX=no
3064 DEFAULT_wxUSE_CHECKLST=no
3065 DEFAULT_wxUSE_CHOICE=no
3066 DEFAULT_wxUSE_CHOICEBOOK=no
3067 DEFAULT_wxUSE_COLLPANE=no
3068 DEFAULT_wxUSE_COLOURPICKERCTRL=no
3069 DEFAULT_wxUSE_COMBOBOX=no
3070 DEFAULT_wxUSE_COMBOCTRL=no
3071 DEFAULT_wxUSE_DATEPICKCTRL=no
3072 DEFAULT_wxUSE_DISPLAY=no
3073 DEFAULT_wxUSE_DETECT_SM=no
3074 DEFAULT_wxUSE_DIRPICKERCTRL=no
3075 DEFAULT_wxUSE_EDITABLELISTBOX=no
3076 DEFAULT_wxUSE_FILEPICKERCTRL=no
3077 DEFAULT_wxUSE_FONTPICKERCTRL=no
3078 DEFAULT_wxUSE_GAUGE=no
3079 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
3080 DEFAULT_wxUSE_GRID=no
3081 DEFAULT_wxUSE_HYPERLINKCTRL=no
3082 DEFAULT_wxUSE_DATAVIEWCTRL=no
3083 DEFAULT_wxUSE_IMAGLIST=no
3084 DEFAULT_wxUSE_LISTBOOK=no
3085 DEFAULT_wxUSE_LISTBOX=no
3086 DEFAULT_wxUSE_LISTCTRL=no
3087 DEFAULT_wxUSE_NOTEBOOK=no
3088 DEFAULT_wxUSE_ODCOMBOBOX=no
3089 DEFAULT_wxUSE_RADIOBOX=no
3090 DEFAULT_wxUSE_RADIOBTN=no
3091 DEFAULT_wxUSE_SASH=no
3092 DEFAULT_wxUSE_SCROLLBAR=no
3093 DEFAULT_wxUSE_SEARCHCTRL=no
3094 DEFAULT_wxUSE_SLIDER=no
3095 DEFAULT_wxUSE_SPINBTN=no
3096 DEFAULT_wxUSE_SPINCTRL=no
3097 DEFAULT_wxUSE_SPLITTER=no
3098 DEFAULT_wxUSE_STATBMP=no
3099 DEFAULT_wxUSE_STATBOX=no
3100 DEFAULT_wxUSE_STATLINE=no
3101 DEFAULT_wxUSE_STATTEXT=no
3102 DEFAULT_wxUSE_STATUSBAR=yes
3103 DEFAULT_wxUSE_TAB_DIALOG=no
3104 DEFAULT_wxUSE_TEXTCTRL=no
3105 DEFAULT_wxUSE_TOGGLEBTN=no
3106 DEFAULT_wxUSE_TOOLBAR=no
3107 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
3108 DEFAULT_wxUSE_TREEBOOK=no
3109 DEFAULT_wxUSE_TOOLBOOK=no
3110 DEFAULT_wxUSE_TREECTRL=no
3111 DEFAULT_wxUSE_POPUPWIN=no
3112 DEFAULT_wxUSE_TIPWINDOW=no
3114 DEFAULT_wxUSE_UNICODE=no
3115 DEFAULT_wxUSE_UNICODE_MSLU=no
3116 DEFAULT_wxUSE_UNICODE_UTF8=auto
3117 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
3118 DEFAULT_wxUSE_WCSRTOMBS=no
3120 DEFAULT_wxUSE_PALETTE=no
3121 DEFAULT_wxUSE_IMAGE=no
3122 DEFAULT_wxUSE_GIF=no
3123 DEFAULT_wxUSE_PCX=no
3124 DEFAULT_wxUSE_TGA=no
3125 DEFAULT_wxUSE_PNM=no
3126 DEFAULT_wxUSE_IFF=no
3127 DEFAULT_wxUSE_XPM=no
3128 DEFAULT_wxUSE_ICO_CUR=no
3129 DEFAULT_wxUSE_ACCESSIBILITY=no
3131 DEFAULT_wxUSE_MONOLITHIC=no
3132 DEFAULT_wxUSE_PLUGINS=no
3133 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3135 DEFAULT_wxUSE_UNIVERSAL=no
3136 DEFAULT_wxUSE_STL=no
3137 DEFAULT_wxUSE_EXTENDED_RTTI=no
3139 DEFAULT_wxUSE_NANOX=no
3141 DEFAULT_wxUSE_THREADS=yes
3143 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
3144 DEFAULT_wxUSE_OPTIMISE=yes
3145 DEFAULT_wxUSE_PROFILE=no
3146 DEFAULT_wxUSE_NO_DEPS=no
3147 DEFAULT_wxUSE_VARARG_MACROS=yes
3148 DEFAULT_wxUSE_NO_RTTI=no
3149 DEFAULT_wxUSE_NO_EXCEPTIONS=no
3150 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
3151 DEFAULT_wxUSE_RPATH=yes
3152 DEFAULT_wxUSE_PERMISSIVE=no
3153 DEFAULT_wxUSE_DEBUG_FLAG=no
3154 DEFAULT_wxUSE_DEBUG_INFO=no
3155 DEFAULT_wxUSE_DEBUG_GDB=no
3156 DEFAULT_wxUSE_MEM_TRACING=no
3157 DEFAULT_wxUSE_DEBUG_CONTEXT=no
3158 DEFAULT_wxUSE_DMALLOC=no
3159 DEFAULT_wxUSE_APPLE_IEEE=yes
3161 DEFAULT_wxUSE_EXCEPTIONS=yes
3162 DEFAULT_wxUSE_LOG=yes
3163 DEFAULT_wxUSE_LOGWINDOW=yes
3164 DEFAULT_wxUSE_LOGGUI=yes
3165 DEFAULT_wxUSE_LOGDIALOG=yes
3167 DEFAULT_wxUSE_GUI=yes
3169 DEFAULT_wxUSE_REGEX=yes
3170 DEFAULT_wxUSE_XML=yes
3171 DEFAULT_wxUSE_EXPAT=yes
3172 DEFAULT_wxUSE_ZLIB=yes
3173 DEFAULT_wxUSE_LIBPNG=yes
3174 DEFAULT_wxUSE_LIBJPEG=yes
3175 DEFAULT_wxUSE_LIBTIFF=yes
3176 DEFAULT_wxUSE_LIBXPM=yes
3177 DEFAULT_wxUSE_LIBMSPACK=yes
3178 DEFAULT_wxUSE_LIBSDL=no
3179 DEFAULT_wxUSE_LIBGNOMEPRINT=yes
3180 DEFAULT_wxUSE_LIBGNOMEVFS=no
3181 DEFAULT_wxUSE_LIBHILDON=no
3182 DEFAULT_wxUSE_ODBC=no
3183 DEFAULT_wxUSE_OPENGL=no
3185 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
3186 DEFAULT_wxUSE_STACKWALKER=yes
3187 DEFAULT_wxUSE_DEBUGREPORT=yes
3188 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
3189 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
3190 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
3191 DEFAULT_wxUSE_CMDLINE_PARSER=yes
3192 DEFAULT_wxUSE_DATETIME=yes
3193 DEFAULT_wxUSE_TIMER=yes
3194 DEFAULT_wxUSE_STOPWATCH=yes
3195 DEFAULT_wxUSE_FILE=yes
3196 DEFAULT_wxUSE_FFILE=yes
3197 DEFAULT_wxUSE_STDPATHS=yes
3198 DEFAULT_wxUSE_TEXTBUFFER=yes
3199 DEFAULT_wxUSE_TEXTFILE=yes
3200 DEFAULT_wxUSE_SOUND=yes
3201 DEFAULT_wxUSE_MEDIACTRL=no
3202 DEFAULT_wxUSE_GSTREAMER8=no
3203 DEFAULT_wxUSE_PRINTF_POS_PARAMS=yes
3204 DEFAULT_wxUSE_INTL=yes
3205 DEFAULT_wxUSE_CONFIG=yes
3206 DEFAULT_wxUSE_FONTMAP=yes
3207 DEFAULT_wxUSE_STREAMS=yes
3208 DEFAULT_wxUSE_SOCKETS=yes
3209 DEFAULT_wxUSE_OLE=yes
3210 DEFAULT_wxUSE_DATAOBJ=yes
3211 DEFAULT_wxUSE_DIALUP_MANAGER=yes
3212 DEFAULT_wxUSE_JOYSTICK=yes
3213 DEFAULT_wxUSE_DYNLIB_CLASS=yes
3214 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
3215 DEFAULT_wxUSE_LONGLONG=yes
3216 DEFAULT_wxUSE_GEOMETRY=yes
3218 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
3219 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
3220 DEFAULT_wxUSE_POSTSCRIPT=yes
3222 DEFAULT_wxUSE_CLIPBOARD=yes
3223 DEFAULT_wxUSE_TOOLTIPS=yes
3224 DEFAULT_wxUSE_DRAG_AND_DROP=yes
3225 DEFAULT_wxUSE_DRAGIMAGE=yes
3226 DEFAULT_wxUSE_SPLINES=yes
3227 DEFAULT_wxUSE_MOUSEWHEEL=yes
3229 DEFAULT_wxUSE_MDI=yes
3230 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
3231 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
3232 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
3234 DEFAULT_wxUSE_CONSTRAINTS=yes
3235 DEFAULT_wxUSE_IPC=yes
3236 DEFAULT_wxUSE_HELP=yes
3237 DEFAULT_wxUSE_MS_HTML_HELP=yes
3238 DEFAULT_wxUSE_WXHTML_HELP=yes
3239 DEFAULT_wxUSE_TREELAYOUT=yes
3240 DEFAULT_wxUSE_METAFILE=yes
3241 DEFAULT_wxUSE_MIMETYPE=yes
3242 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
3243 DEFAULT_wxUSE_PROTOCOL=yes
3244 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
3245 DEFAULT_wxUSE_PROTOCOL_FTP=yes
3246 DEFAULT_wxUSE_PROTOCOL_FILE=yes
3247 DEFAULT_wxUSE_URL=yes
3248 DEFAULT_wxUSE_VARIANT=yes
3250 DEFAULT_wxUSE_ABOUTDLG=yes
3251 DEFAULT_wxUSE_COMMONDLGS=yes
3252 DEFAULT_wxUSE_CHOICEDLG=yes
3253 DEFAULT_wxUSE_COLOURDLG=yes
3254 DEFAULT_wxUSE_DIRDLG=yes
3255 DEFAULT_wxUSE_FILEDLG=yes
3256 DEFAULT_wxUSE_FINDREPLDLG=yes
3257 DEFAULT_wxUSE_FONTDLG=yes
3258 DEFAULT_wxUSE_MSGDLG=yes
3259 DEFAULT_wxUSE_NUMBERDLG=yes
3260 DEFAULT_wxUSE_TEXTDLG=yes
3261 DEFAULT_wxUSE_SPLASH=yes
3262 DEFAULT_wxUSE_STARTUP_TIPS=yes
3263 DEFAULT_wxUSE_PROGRESSDLG=yes
3264 DEFAULT_wxUSE_WIZARDDLG=yes
3266 DEFAULT_wxUSE_MENUS=yes
3267 DEFAULT_wxUSE_MINIFRAME=yes
3268 DEFAULT_wxUSE_HTML=yes
3269 DEFAULT_wxUSE_RICHTEXT=yes
3270 DEFAULT_wxUSE_XRC=yes
3271 DEFAULT_wxUSE_AUI=yes
3272 DEFAULT_wxUSE_STC=yes
3273 DEFAULT_wxUSE_WEBKIT=yes
3274 DEFAULT_wxUSE_FILESYSTEM=yes
3275 DEFAULT_wxUSE_FS_INET=yes
3276 DEFAULT_wxUSE_FS_ZIP=yes
3277 DEFAULT_wxUSE_FS_ARCHIVE=yes
3278 DEFAULT_wxUSE_BUSYINFO=yes
3279 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
3280 DEFAULT_wxUSE_ZIPSTREAM=yes
3281 DEFAULT_wxUSE_TARSTREAM=yes
3282 DEFAULT_wxUSE_VALIDATORS=yes
3284 DEFAULT_wxUSE_ACCEL=yes
3285 DEFAULT_wxUSE_ANIMATIONCTRL=yes
3286 DEFAULT_wxUSE_BUTTON=yes
3287 DEFAULT_wxUSE_BMPBUTTON=yes
3288 DEFAULT_wxUSE_BITMAPCOMBOBOX=yes
3289 DEFAULT_wxUSE_CALCTRL=yes
3290 DEFAULT_wxUSE_CARET=yes
3291 DEFAULT_wxUSE_CHECKBOX=yes
3292 DEFAULT_wxUSE_CHECKLST=yes
3293 DEFAULT_wxUSE_CHOICE=yes
3294 DEFAULT_wxUSE_CHOICEBOOK=yes
3295 DEFAULT_wxUSE_COLLPANE=yes
3296 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
3297 DEFAULT_wxUSE_COMBOBOX=yes
3298 DEFAULT_wxUSE_COMBOCTRL=yes
3299 DEFAULT_wxUSE_DATEPICKCTRL=yes
3300 DEFAULT_wxUSE_DISPLAY=yes
3301 DEFAULT_wxUSE_DETECT_SM=yes
3302 DEFAULT_wxUSE_DIRPICKERCTRL=yes
3303 DEFAULT_wxUSE_EDITABLELISTBOX=yes
3304 DEFAULT_wxUSE_FILEPICKERCTRL=yes
3305 DEFAULT_wxUSE_FONTPICKERCTRL=yes
3306 DEFAULT_wxUSE_GAUGE=yes
3307 DEFAULT_wxUSE_GRID=yes
3308 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
3309 DEFAULT_wxUSE_HYPERLINKCTRL=yes
3310 DEFAULT_wxUSE_DATAVIEWCTRL=no
3311 DEFAULT_wxUSE_IMAGLIST=yes
3312 DEFAULT_wxUSE_LISTBOOK=yes
3313 DEFAULT_wxUSE_LISTBOX=yes
3314 DEFAULT_wxUSE_LISTCTRL=yes
3315 DEFAULT_wxUSE_NOTEBOOK=yes
3316 DEFAULT_wxUSE_ODCOMBOBOX=yes
3317 DEFAULT_wxUSE_RADIOBOX=yes
3318 DEFAULT_wxUSE_RADIOBTN=yes
3319 DEFAULT_wxUSE_SASH=yes
3320 DEFAULT_wxUSE_SCROLLBAR=yes
3321 DEFAULT_wxUSE_SEARCHCTRL=yes
3322 DEFAULT_wxUSE_SLIDER=yes
3323 DEFAULT_wxUSE_SPINBTN=yes
3324 DEFAULT_wxUSE_SPINCTRL=yes
3325 DEFAULT_wxUSE_SPLITTER=yes
3326 DEFAULT_wxUSE_STATBMP=yes
3327 DEFAULT_wxUSE_STATBOX=yes
3328 DEFAULT_wxUSE_STATLINE=yes
3329 DEFAULT_wxUSE_STATTEXT=yes
3330 DEFAULT_wxUSE_STATUSBAR=yes
3331 DEFAULT_wxUSE_TAB_DIALOG=no
3332 DEFAULT_wxUSE_TEXTCTRL=yes
3333 DEFAULT_wxUSE_TOGGLEBTN=yes
3334 DEFAULT_wxUSE_TOOLBAR=yes
3335 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
3336 DEFAULT_wxUSE_TREEBOOK=yes
3337 DEFAULT_wxUSE_TOOLBOOK=yes
3338 DEFAULT_wxUSE_TREECTRL=yes
3339 DEFAULT_wxUSE_POPUPWIN=yes
3340 DEFAULT_wxUSE_TIPWINDOW=yes
3342 DEFAULT_wxUSE_UNICODE=no
3343 DEFAULT_wxUSE_UNICODE_MSLU=yes
3344 DEFAULT_wxUSE_UNICODE_UTF8=auto
3345 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
3346 DEFAULT_wxUSE_WCSRTOMBS=no
3348 DEFAULT_wxUSE_PALETTE=yes
3349 DEFAULT_wxUSE_IMAGE=yes
3350 DEFAULT_wxUSE_GIF=yes
3351 DEFAULT_wxUSE_PCX=yes
3352 DEFAULT_wxUSE_TGA=yes
3353 DEFAULT_wxUSE_IFF=no DEFAULT_wxUSE_PNM=yes
3354 DEFAULT_wxUSE_XPM=yes
3355 DEFAULT_wxUSE_ICO_CUR=yes
3356 DEFAULT_wxUSE_ACCESSIBILITY=no
3358 DEFAULT_wxUSE_MONOLITHIC=no
3359 DEFAULT_wxUSE_PLUGINS=no
3360 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3362 DEFAULT_wxUSE_GTK2=yes
3368 for toolkit in `echo $ALL_TOOLKITS`; do
3369 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
3370 if test "x$LINE" != "x" ; then
3371 has_toolkit_in_cache=1
3372 eval "DEFAULT_$LINE"
3373 eval "CACHE_$toolkit=1"
3375 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
3376 if test "x$LINE" != "x" ; then
3377 eval "DEFAULT_$LINE"
3385 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3386 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3388 # Check whether --enable-gui was given.
3389 if test "${enable_gui+set}" = set; then
3390 enableval=$enable_gui;
3391 if test "$enableval" = yes; then
3392 ac_cv_use_gui='wxUSE_GUI=yes'
3394 ac_cv_use_gui='wxUSE_GUI=no'
3399 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
3400 if test "x$LINE" != x ; then
3401 eval "DEFAULT_$LINE"
3406 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
3411 eval "$ac_cv_use_gui"
3412 if test "$no_cache" != 1; then
3413 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
3416 if test "$wxUSE_GUI" = yes; then
3417 { echo "$as_me:$LINENO: result: yes" >&5
3418 echo "${ECHO_T}yes" >&6; }
3420 { echo "$as_me:$LINENO: result: no" >&5
3421 echo "${ECHO_T}no" >&6; }
3426 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3427 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3429 # Check whether --enable-monolithic was given.
3430 if test "${enable_monolithic+set}" = set; then
3431 enableval=$enable_monolithic;
3432 if test "$enableval" = yes; then
3433 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3435 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3440 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
3441 if test "x$LINE" != x ; then
3442 eval "DEFAULT_$LINE"
3447 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
3452 eval "$ac_cv_use_monolithic"
3453 if test "$no_cache" != 1; then
3454 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
3457 if test "$wxUSE_MONOLITHIC" = yes; then
3458 { echo "$as_me:$LINENO: result: yes" >&5
3459 echo "${ECHO_T}yes" >&6; }
3461 { echo "$as_me:$LINENO: result: no" >&5
3462 echo "${ECHO_T}no" >&6; }
3467 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3468 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3470 # Check whether --enable-plugins was given.
3471 if test "${enable_plugins+set}" = set; then
3472 enableval=$enable_plugins;
3473 if test "$enableval" = yes; then
3474 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
3476 ac_cv_use_plugins='wxUSE_PLUGINS=no'
3481 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
3482 if test "x$LINE" != x ; then
3483 eval "DEFAULT_$LINE"
3488 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
3493 eval "$ac_cv_use_plugins"
3494 if test "$no_cache" != 1; then
3495 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
3498 if test "$wxUSE_PLUGINS" = yes; then
3499 { echo "$as_me:$LINENO: result: yes" >&5
3500 echo "${ECHO_T}yes" >&6; }
3502 { echo "$as_me:$LINENO: result: no" >&5
3503 echo "${ECHO_T}no" >&6; }
3508 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3509 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3512 # Check whether --with-subdirs was given.
3513 if test "${with_subdirs+set}" = set; then
3514 withval=$with_subdirs;
3515 if test "$withval" = yes; then
3516 ac_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3518 ac_cv_use_subdirs='wxWITH_SUBDIRS=no'
3523 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
3524 if test "x$LINE" != x ; then
3525 eval "DEFAULT_$LINE"
3530 ac_cv_use_subdirs='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
3535 eval "$ac_cv_use_subdirs"
3536 if test "$no_cache" != 1; then
3537 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
3540 if test "$wxWITH_SUBDIRS" = yes; then
3541 { echo "$as_me:$LINENO: result: yes" >&5
3542 echo "${ECHO_T}yes" >&6; }
3544 { echo "$as_me:$LINENO: result: no" >&5
3545 echo "${ECHO_T}no" >&6; }
3549 if test "$wxUSE_GUI" = "yes"; then
3553 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3554 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3556 # Check whether --enable-universal was given.
3557 if test "${enable_universal+set}" = set; then
3558 enableval=$enable_universal;
3559 if test "$enableval" = yes; then
3560 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
3562 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
3567 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
3568 if test "x$LINE" != x ; then
3569 eval "DEFAULT_$LINE"
3574 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
3579 eval "$ac_cv_use_universal"
3580 if test "$no_cache" != 1; then
3581 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
3584 if test "$wxUSE_UNIVERSAL" = yes; then
3585 { echo "$as_me:$LINENO: result: yes" >&5
3586 echo "${ECHO_T}yes" >&6; }
3588 { echo "$as_me:$LINENO: result: no" >&5
3589 echo "${ECHO_T}no" >&6; }
3593 # Check whether --with-gtk was given.
3594 if test "${with_gtk+set}" = set; then
3595 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3599 # Check whether --with-motif was given.
3600 if test "${with_motif+set}" = set; then
3601 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3605 # Check whether --with-mac was given.
3606 if test "${with_mac+set}" = set; then
3607 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3611 # Check whether --with-cocoa was given.
3612 if test "${with_cocoa+set}" = set; then
3613 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3617 # Check whether --with-wine was given.
3618 if test "${with_wine+set}" = set; then
3619 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3623 # Check whether --with-msw was given.
3624 if test "${with_msw+set}" = set; then
3625 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3629 # Check whether --with-pm was given.
3630 if test "${with_pm+set}" = set; then
3631 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3635 # Check whether --with-mgl was given.
3636 if test "${with_mgl+set}" = set; then
3637 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3641 # Check whether --with-directfb was given.
3642 if test "${with_directfb+set}" = set; then
3643 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3647 # Check whether --with-microwin was given.
3648 if test "${with_microwin+set}" = set; then
3649 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3653 # Check whether --with-x11 was given.
3654 if test "${with_x11+set}" = set; then
3655 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3660 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3661 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3663 # Check whether --enable-nanox was given.
3664 if test "${enable_nanox+set}" = set; then
3665 enableval=$enable_nanox;
3666 if test "$enableval" = yes; then
3667 ac_cv_use_nanox='wxUSE_NANOX=yes'
3669 ac_cv_use_nanox='wxUSE_NANOX=no'
3674 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
3675 if test "x$LINE" != x ; then
3676 eval "DEFAULT_$LINE"
3681 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
3686 eval "$ac_cv_use_nanox"
3687 if test "$no_cache" != 1; then
3688 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
3691 if test "$wxUSE_NANOX" = yes; then
3692 { echo "$as_me:$LINENO: result: yes" >&5
3693 echo "${ECHO_T}yes" >&6; }
3695 { echo "$as_me:$LINENO: result: no" >&5
3696 echo "${ECHO_T}no" >&6; }
3700 # Check whether --enable-gtk2 was given.
3701 if test "${enable_gtk2+set}" = set; then
3702 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3707 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3708 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3710 # Check whether --enable-gpe was given.
3711 if test "${enable_gpe+set}" = set; then
3712 enableval=$enable_gpe;
3713 if test "$enableval" = yes; then
3714 ac_cv_use_gpe='wxUSE_GPE=yes'
3716 ac_cv_use_gpe='wxUSE_GPE=no'
3721 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
3722 if test "x$LINE" != x ; then
3723 eval "DEFAULT_$LINE"
3728 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
3733 eval "$ac_cv_use_gpe"
3734 if test "$no_cache" != 1; then
3735 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
3738 if test "$wxUSE_GPE" = yes; then
3739 { echo "$as_me:$LINENO: result: yes" >&5
3740 echo "${ECHO_T}yes" >&6; }
3742 { echo "$as_me:$LINENO: result: no" >&5
3743 echo "${ECHO_T}no" >&6; }
3748 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3749 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3752 # Check whether --with-libpng was given.
3753 if test "${with_libpng+set}" = set; then
3754 withval=$with_libpng;
3755 if test "$withval" = yes; then
3756 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
3757 elif test "$withval" = no; then
3758 ac_cv_use_libpng='wxUSE_LIBPNG=no'
3759 elif test "$withval" = sys; then
3760 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
3761 elif test "$withval" = builtin; then
3762 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
3764 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3765 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3766 { (exit 1); exit 1; }; }
3771 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
3772 if test "x$LINE" != x ; then
3773 eval "DEFAULT_$LINE"
3778 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3783 eval "$ac_cv_use_libpng"
3784 if test "$no_cache" != 1; then
3785 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3788 if test "$wxUSE_LIBPNG" = yes; then
3789 { echo "$as_me:$LINENO: result: yes" >&5
3790 echo "${ECHO_T}yes" >&6; }
3791 elif test "$wxUSE_LIBPNG" = no; then
3792 { echo "$as_me:$LINENO: result: no" >&5
3793 echo "${ECHO_T}no" >&6; }
3794 elif test "$wxUSE_LIBPNG" = sys; then
3795 { echo "$as_me:$LINENO: result: system version" >&5
3796 echo "${ECHO_T}system version" >&6; }
3797 elif test "$wxUSE_LIBPNG" = builtin; then
3798 { echo "$as_me:$LINENO: result: builtin version" >&5
3799 echo "${ECHO_T}builtin version" >&6; }
3801 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3802 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3803 { (exit 1); exit 1; }; }
3807 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3808 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3811 # Check whether --with-libjpeg was given.
3812 if test "${with_libjpeg+set}" = set; then
3813 withval=$with_libjpeg;
3814 if test "$withval" = yes; then
3815 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3816 elif test "$withval" = no; then
3817 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3818 elif test "$withval" = sys; then
3819 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3820 elif test "$withval" = builtin; then
3821 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3823 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3824 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3825 { (exit 1); exit 1; }; }
3830 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3831 if test "x$LINE" != x ; then
3832 eval "DEFAULT_$LINE"
3837 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3842 eval "$ac_cv_use_libjpeg"
3843 if test "$no_cache" != 1; then
3844 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3847 if test "$wxUSE_LIBJPEG" = yes; then
3848 { echo "$as_me:$LINENO: result: yes" >&5
3849 echo "${ECHO_T}yes" >&6; }
3850 elif test "$wxUSE_LIBJPEG" = no; then
3851 { echo "$as_me:$LINENO: result: no" >&5
3852 echo "${ECHO_T}no" >&6; }
3853 elif test "$wxUSE_LIBJPEG" = sys; then
3854 { echo "$as_me:$LINENO: result: system version" >&5
3855 echo "${ECHO_T}system version" >&6; }
3856 elif test "$wxUSE_LIBJPEG" = builtin; then
3857 { echo "$as_me:$LINENO: result: builtin version" >&5
3858 echo "${ECHO_T}builtin version" >&6; }
3860 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3861 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3862 { (exit 1); exit 1; }; }
3866 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3867 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3870 # Check whether --with-libtiff was given.
3871 if test "${with_libtiff+set}" = set; then
3872 withval=$with_libtiff;
3873 if test "$withval" = yes; then
3874 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3875 elif test "$withval" = no; then
3876 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
3877 elif test "$withval" = sys; then
3878 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3879 elif test "$withval" = builtin; then
3880 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3882 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3883 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3884 { (exit 1); exit 1; }; }
3889 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3890 if test "x$LINE" != x ; then
3891 eval "DEFAULT_$LINE"
3896 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3901 eval "$ac_cv_use_libtiff"
3902 if test "$no_cache" != 1; then
3903 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3906 if test "$wxUSE_LIBTIFF" = yes; then
3907 { echo "$as_me:$LINENO: result: yes" >&5
3908 echo "${ECHO_T}yes" >&6; }
3909 elif test "$wxUSE_LIBTIFF" = no; then
3910 { echo "$as_me:$LINENO: result: no" >&5
3911 echo "${ECHO_T}no" >&6; }
3912 elif test "$wxUSE_LIBTIFF" = sys; then
3913 { echo "$as_me:$LINENO: result: system version" >&5
3914 echo "${ECHO_T}system version" >&6; }
3915 elif test "$wxUSE_LIBTIFF" = builtin; then
3916 { echo "$as_me:$LINENO: result: builtin version" >&5
3917 echo "${ECHO_T}builtin version" >&6; }
3919 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3920 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3921 { (exit 1); exit 1; }; }
3925 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3926 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3929 # Check whether --with-libxpm was given.
3930 if test "${with_libxpm+set}" = set; then
3931 withval=$with_libxpm;
3932 if test "$withval" = yes; then
3933 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
3934 elif test "$withval" = no; then
3935 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
3936 elif test "$withval" = sys; then
3937 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
3938 elif test "$withval" = builtin; then
3939 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3941 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3942 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3943 { (exit 1); exit 1; }; }
3948 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3949 if test "x$LINE" != x ; then
3950 eval "DEFAULT_$LINE"
3955 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3960 eval "$ac_cv_use_libxpm"
3961 if test "$no_cache" != 1; then
3962 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3965 if test "$wxUSE_LIBXPM" = yes; then
3966 { echo "$as_me:$LINENO: result: yes" >&5
3967 echo "${ECHO_T}yes" >&6; }
3968 elif test "$wxUSE_LIBXPM" = no; then
3969 { echo "$as_me:$LINENO: result: no" >&5
3970 echo "${ECHO_T}no" >&6; }
3971 elif test "$wxUSE_LIBXPM" = sys; then
3972 { echo "$as_me:$LINENO: result: system version" >&5
3973 echo "${ECHO_T}system version" >&6; }
3974 elif test "$wxUSE_LIBXPM" = builtin; then
3975 { echo "$as_me:$LINENO: result: builtin version" >&5
3976 echo "${ECHO_T}builtin version" >&6; }
3978 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3979 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3980 { (exit 1); exit 1; }; }
3985 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3986 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3989 # Check whether --with-libmspack was given.
3990 if test "${with_libmspack+set}" = set; then
3991 withval=$with_libmspack;
3992 if test "$withval" = yes; then
3993 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3995 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
4000 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
4001 if test "x$LINE" != x ; then
4002 eval "DEFAULT_$LINE"
4007 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
4012 eval "$ac_cv_use_libmspack"
4013 if test "$no_cache" != 1; then
4014 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
4017 if test "$wxUSE_LIBMSPACK" = yes; then
4018 { echo "$as_me:$LINENO: result: yes" >&5
4019 echo "${ECHO_T}yes" >&6; }
4021 { echo "$as_me:$LINENO: result: no" >&5
4022 echo "${ECHO_T}no" >&6; }
4027 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4028 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4031 # Check whether --with-sdl was given.
4032 if test "${with_sdl+set}" = set; then
4034 if test "$withval" = yes; then
4035 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
4037 ac_cv_use_sdl='wxUSE_LIBSDL=no'
4042 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
4043 if test "x$LINE" != x ; then
4044 eval "DEFAULT_$LINE"
4049 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
4054 eval "$ac_cv_use_sdl"
4055 if test "$no_cache" != 1; then
4056 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
4059 if test "$wxUSE_LIBSDL" = yes; then
4060 { echo "$as_me:$LINENO: result: yes" >&5
4061 echo "${ECHO_T}yes" >&6; }
4063 { echo "$as_me:$LINENO: result: no" >&5
4064 echo "${ECHO_T}no" >&6; }
4069 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
4070 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
4073 # Check whether --with-gnomeprint was given.
4074 if test "${with_gnomeprint+set}" = set; then
4075 withval=$with_gnomeprint;
4076 if test "$withval" = yes; then
4077 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
4079 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
4084 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
4085 if test "x$LINE" != x ; then
4086 eval "DEFAULT_$LINE"
4091 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
4096 eval "$ac_cv_use_gnomeprint"
4097 if test "$no_cache" != 1; then
4098 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
4101 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
4102 { echo "$as_me:$LINENO: result: yes" >&5
4103 echo "${ECHO_T}yes" >&6; }
4105 { echo "$as_me:$LINENO: result: no" >&5
4106 echo "${ECHO_T}no" >&6; }
4111 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
4112 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
4115 # Check whether --with-gnomevfs was given.
4116 if test "${with_gnomevfs+set}" = set; then
4117 withval=$with_gnomevfs;
4118 if test "$withval" = yes; then
4119 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4121 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4126 LINE=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
4127 if test "x$LINE" != x ; then
4128 eval "DEFAULT_$LINE"
4133 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
4138 eval "$ac_cv_use_gnomevfs"
4139 if test "$no_cache" != 1; then
4140 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
4143 if test "$wxUSE_LIBGNOMEVFS" = yes; then
4144 { echo "$as_me:$LINENO: result: yes" >&5
4145 echo "${ECHO_T}yes" >&6; }
4147 { echo "$as_me:$LINENO: result: no" >&5
4148 echo "${ECHO_T}no" >&6; }
4153 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4154 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4157 # Check whether --with-hildon was given.
4158 if test "${with_hildon+set}" = set; then
4159 withval=$with_hildon;
4160 if test "$withval" = yes; then
4161 ac_cv_use_hildon='wxUSE_LIBHILDON=yes'
4163 ac_cv_use_hildon='wxUSE_LIBHILDON=no'
4168 LINE=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
4169 if test "x$LINE" != x ; then
4170 eval "DEFAULT_$LINE"
4175 ac_cv_use_hildon='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
4180 eval "$ac_cv_use_hildon"
4181 if test "$no_cache" != 1; then
4182 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
4185 if test "$wxUSE_LIBHILDON" = yes; then
4186 { echo "$as_me:$LINENO: result: yes" >&5
4187 echo "${ECHO_T}yes" >&6; }
4189 { echo "$as_me:$LINENO: result: no" >&5
4190 echo "${ECHO_T}no" >&6; }
4195 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4196 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4199 # Check whether --with-opengl was given.
4200 if test "${with_opengl+set}" = set; then
4201 withval=$with_opengl;
4202 if test "$withval" = yes; then
4203 ac_cv_use_opengl='wxUSE_OPENGL=yes'
4205 ac_cv_use_opengl='wxUSE_OPENGL=no'
4210 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
4211 if test "x$LINE" != x ; then
4212 eval "DEFAULT_$LINE"
4217 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
4222 eval "$ac_cv_use_opengl"
4223 if test "$no_cache" != 1; then
4224 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
4227 if test "$wxUSE_OPENGL" = yes; then
4228 { echo "$as_me:$LINENO: result: yes" >&5
4229 echo "${ECHO_T}yes" >&6; }
4231 { echo "$as_me:$LINENO: result: no" >&5
4232 echo "${ECHO_T}no" >&6; }
4236 if test "$wxUSE_UNIVERSAL" = "yes"; then
4238 # Check whether --with-themes was given.
4239 if test "${with_themes+set}" = set; then
4240 withval=$with_themes; wxUNIV_THEMES="$withval"
4249 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4250 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4253 # Check whether --with-dmalloc was given.
4254 if test "${with_dmalloc+set}" = set; then
4255 withval=$with_dmalloc;
4256 if test "$withval" = yes; then
4257 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4259 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
4264 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
4265 if test "x$LINE" != x ; then
4266 eval "DEFAULT_$LINE"
4271 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
4276 eval "$ac_cv_use_dmalloc"
4277 if test "$no_cache" != 1; then
4278 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
4281 if test "$wxUSE_DMALLOC" = yes; then
4282 { echo "$as_me:$LINENO: result: yes" >&5
4283 echo "${ECHO_T}yes" >&6; }
4285 { echo "$as_me:$LINENO: result: no" >&5
4286 echo "${ECHO_T}no" >&6; }
4290 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4291 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4294 # Check whether --with-regex was given.
4295 if test "${with_regex+set}" = set; then
4296 withval=$with_regex;
4297 if test "$withval" = yes; then
4298 ac_cv_use_regex='wxUSE_REGEX=yes'
4299 elif test "$withval" = no; then
4300 ac_cv_use_regex='wxUSE_REGEX=no'
4301 elif test "$withval" = sys; then
4302 ac_cv_use_regex='wxUSE_REGEX=sys'
4303 elif test "$withval" = builtin; then
4304 ac_cv_use_regex='wxUSE_REGEX=builtin'
4306 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4307 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4308 { (exit 1); exit 1; }; }
4313 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
4314 if test "x$LINE" != x ; then
4315 eval "DEFAULT_$LINE"
4320 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
4325 eval "$ac_cv_use_regex"
4326 if test "$no_cache" != 1; then
4327 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
4330 if test "$wxUSE_REGEX" = yes; then
4331 { echo "$as_me:$LINENO: result: yes" >&5
4332 echo "${ECHO_T}yes" >&6; }
4333 elif test "$wxUSE_REGEX" = no; then
4334 { echo "$as_me:$LINENO: result: no" >&5
4335 echo "${ECHO_T}no" >&6; }
4336 elif test "$wxUSE_REGEX" = sys; then
4337 { echo "$as_me:$LINENO: result: system version" >&5
4338 echo "${ECHO_T}system version" >&6; }
4339 elif test "$wxUSE_REGEX" = builtin; then
4340 { echo "$as_me:$LINENO: result: builtin version" >&5
4341 echo "${ECHO_T}builtin version" >&6; }
4343 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4344 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4345 { (exit 1); exit 1; }; }
4349 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4350 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4353 # Check whether --with-zlib was given.
4354 if test "${with_zlib+set}" = set; then
4356 if test "$withval" = yes; then
4357 ac_cv_use_zlib='wxUSE_ZLIB=yes'
4358 elif test "$withval" = no; then
4359 ac_cv_use_zlib='wxUSE_ZLIB=no'
4360 elif test "$withval" = sys; then
4361 ac_cv_use_zlib='wxUSE_ZLIB=sys'
4362 elif test "$withval" = builtin; then
4363 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
4365 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4366 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4367 { (exit 1); exit 1; }; }
4372 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
4373 if test "x$LINE" != x ; then
4374 eval "DEFAULT_$LINE"
4379 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
4384 eval "$ac_cv_use_zlib"
4385 if test "$no_cache" != 1; then
4386 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
4389 if test "$wxUSE_ZLIB" = yes; then
4390 { echo "$as_me:$LINENO: result: yes" >&5
4391 echo "${ECHO_T}yes" >&6; }
4392 elif test "$wxUSE_ZLIB" = no; then
4393 { echo "$as_me:$LINENO: result: no" >&5
4394 echo "${ECHO_T}no" >&6; }
4395 elif test "$wxUSE_ZLIB" = sys; then
4396 { echo "$as_me:$LINENO: result: system version" >&5
4397 echo "${ECHO_T}system version" >&6; }
4398 elif test "$wxUSE_ZLIB" = builtin; then
4399 { echo "$as_me:$LINENO: result: builtin version" >&5
4400 echo "${ECHO_T}builtin version" >&6; }
4402 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4403 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4404 { (exit 1); exit 1; }; }
4408 { echo "$as_me:$LINENO: checking for --with-odbc" >&5
4409 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6; }
4412 # Check whether --with-odbc was given.
4413 if test "${with_odbc+set}" = set; then
4415 if test "$withval" = yes; then
4416 ac_cv_use_odbc='wxUSE_ODBC=yes'
4417 elif test "$withval" = no; then
4418 ac_cv_use_odbc='wxUSE_ODBC=no'
4419 elif test "$withval" = sys; then
4420 ac_cv_use_odbc='wxUSE_ODBC=sys'
4421 elif test "$withval" = builtin; then
4422 ac_cv_use_odbc='wxUSE_ODBC=builtin'
4424 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4425 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4426 { (exit 1); exit 1; }; }
4431 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
4432 if test "x$LINE" != x ; then
4433 eval "DEFAULT_$LINE"
4438 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
4443 eval "$ac_cv_use_odbc"
4444 if test "$no_cache" != 1; then
4445 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
4448 if test "$wxUSE_ODBC" = yes; then
4449 { echo "$as_me:$LINENO: result: yes" >&5
4450 echo "${ECHO_T}yes" >&6; }
4451 elif test "$wxUSE_ODBC" = no; then
4452 { echo "$as_me:$LINENO: result: no" >&5
4453 echo "${ECHO_T}no" >&6; }
4454 elif test "$wxUSE_ODBC" = sys; then
4455 { echo "$as_me:$LINENO: result: system version" >&5
4456 echo "${ECHO_T}system version" >&6; }
4457 elif test "$wxUSE_ODBC" = builtin; then
4458 { echo "$as_me:$LINENO: result: builtin version" >&5
4459 echo "${ECHO_T}builtin version" >&6; }
4461 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4462 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4463 { (exit 1); exit 1; }; }
4467 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4468 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4471 # Check whether --with-expat was given.
4472 if test "${with_expat+set}" = set; then
4473 withval=$with_expat;
4474 if test "$withval" = yes; then
4475 ac_cv_use_expat='wxUSE_EXPAT=yes'
4476 elif test "$withval" = no; then
4477 ac_cv_use_expat='wxUSE_EXPAT=no'
4478 elif test "$withval" = sys; then
4479 ac_cv_use_expat='wxUSE_EXPAT=sys'
4480 elif test "$withval" = builtin; then
4481 ac_cv_use_expat='wxUSE_EXPAT=builtin'
4483 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4484 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4485 { (exit 1); exit 1; }; }
4490 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
4491 if test "x$LINE" != x ; then
4492 eval "DEFAULT_$LINE"
4497 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
4502 eval "$ac_cv_use_expat"
4503 if test "$no_cache" != 1; then
4504 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
4507 if test "$wxUSE_EXPAT" = yes; then
4508 { echo "$as_me:$LINENO: result: yes" >&5
4509 echo "${ECHO_T}yes" >&6; }
4510 elif test "$wxUSE_EXPAT" = no; then
4511 { echo "$as_me:$LINENO: result: no" >&5
4512 echo "${ECHO_T}no" >&6; }
4513 elif test "$wxUSE_EXPAT" = sys; then
4514 { echo "$as_me:$LINENO: result: system version" >&5
4515 echo "${ECHO_T}system version" >&6; }
4516 elif test "$wxUSE_EXPAT" = builtin; then
4517 { echo "$as_me:$LINENO: result: builtin version" >&5
4518 echo "${ECHO_T}builtin version" >&6; }
4520 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4521 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4522 { (exit 1); exit 1; }; }
4529 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4530 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4532 # Check whether --enable-shared was given.
4533 if test "${enable_shared+set}" = set; then
4534 enableval=$enable_shared;
4535 if test "$enableval" = yes; then
4536 ac_cv_use_shared='wxUSE_SHARED=yes'
4538 ac_cv_use_shared='wxUSE_SHARED=no'
4543 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
4544 if test "x$LINE" != x ; then
4545 eval "DEFAULT_$LINE"
4550 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
4555 eval "$ac_cv_use_shared"
4556 if test "$no_cache" != 1; then
4557 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
4560 if test "$wxUSE_SHARED" = yes; then
4561 { echo "$as_me:$LINENO: result: yes" >&5
4562 echo "${ECHO_T}yes" >&6; }
4564 { echo "$as_me:$LINENO: result: no" >&5
4565 echo "${ECHO_T}no" >&6; }
4570 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4571 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4573 # Check whether --enable-optimise was given.
4574 if test "${enable_optimise+set}" = set; then
4575 enableval=$enable_optimise;
4576 if test "$enableval" = yes; then
4577 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
4579 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
4584 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
4585 if test "x$LINE" != x ; then
4586 eval "DEFAULT_$LINE"
4591 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
4596 eval "$ac_cv_use_optimise"
4597 if test "$no_cache" != 1; then
4598 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
4601 if test "$wxUSE_OPTIMISE" = yes; then
4602 { echo "$as_me:$LINENO: result: yes" >&5
4603 echo "${ECHO_T}yes" >&6; }
4605 { echo "$as_me:$LINENO: result: no" >&5
4606 echo "${ECHO_T}no" >&6; }
4611 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4612 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4614 # Check whether --enable-debug was given.
4615 if test "${enable_debug+set}" = set; then
4616 enableval=$enable_debug;
4617 if test "$enableval" = yes; then
4618 ac_cv_use_debug='wxUSE_DEBUG=yes'
4620 ac_cv_use_debug='wxUSE_DEBUG=no'
4625 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
4626 if test "x$LINE" != x ; then
4627 eval "DEFAULT_$LINE"
4632 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
4637 eval "$ac_cv_use_debug"
4638 if test "$no_cache" != 1; then
4639 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
4642 if test "$wxUSE_DEBUG" = yes; then
4643 { echo "$as_me:$LINENO: result: yes" >&5
4644 echo "${ECHO_T}yes" >&6; }
4646 { echo "$as_me:$LINENO: result: no" >&5
4647 echo "${ECHO_T}no" >&6; }
4652 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4653 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4655 # Check whether --enable-stl was given.
4656 if test "${enable_stl+set}" = set; then
4657 enableval=$enable_stl;
4658 if test "$enableval" = yes; then
4659 ac_cv_use_stl='wxUSE_STL=yes'
4661 ac_cv_use_stl='wxUSE_STL=no'
4666 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
4667 if test "x$LINE" != x ; then
4668 eval "DEFAULT_$LINE"
4673 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
4678 eval "$ac_cv_use_stl"
4679 if test "$no_cache" != 1; then
4680 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
4683 if test "$wxUSE_STL" = yes; then
4684 { echo "$as_me:$LINENO: result: yes" >&5
4685 echo "${ECHO_T}yes" >&6; }
4687 { echo "$as_me:$LINENO: result: no" >&5
4688 echo "${ECHO_T}no" >&6; }
4693 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4694 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4696 # Check whether --enable-extended_rtti was given.
4697 if test "${enable_extended_rtti+set}" = set; then
4698 enableval=$enable_extended_rtti;
4699 if test "$enableval" = yes; then
4700 ac_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4702 ac_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4707 LINE=`grep "wxUSE_EXTENDED_RTTI" ${wx_arg_cache_file}`
4708 if test "x$LINE" != x ; then
4709 eval "DEFAULT_$LINE"
4714 ac_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI='$DEFAULT_wxUSE_EXTENDED_RTTI
4719 eval "$ac_cv_use_extended_rtti"
4720 if test "$no_cache" != 1; then
4721 echo $ac_cv_use_extended_rtti >> ${wx_arg_cache_file}.tmp
4724 if test "$wxUSE_EXTENDED_RTTI" = yes; then
4725 { echo "$as_me:$LINENO: result: yes" >&5
4726 echo "${ECHO_T}yes" >&6; }
4728 { echo "$as_me:$LINENO: result: no" >&5
4729 echo "${ECHO_T}no" >&6; }
4732 if test "$USE_OS2" = "1"; then
4733 DEFAULT_wxUSE_OMF=no
4736 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4737 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4739 # Check whether --enable-omf was given.
4740 if test "${enable_omf+set}" = set; then
4741 enableval=$enable_omf;
4742 if test "$enableval" = yes; then
4743 ac_cv_use_omf='wxUSE_OMF=yes'
4745 ac_cv_use_omf='wxUSE_OMF=no'
4750 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
4751 if test "x$LINE" != x ; then
4752 eval "DEFAULT_$LINE"
4757 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
4762 eval "$ac_cv_use_omf"
4763 if test "$no_cache" != 1; then
4764 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
4767 if test "$wxUSE_OMF" = yes; then
4768 { echo "$as_me:$LINENO: result: yes" >&5
4769 echo "${ECHO_T}yes" >&6; }
4771 { echo "$as_me:$LINENO: result: no" >&5
4772 echo "${ECHO_T}no" >&6; }
4777 if test "$wxUSE_DEBUG" = "yes"; then
4778 DEFAULT_wxUSE_DEBUG_FLAG=yes
4779 DEFAULT_wxUSE_DEBUG_INFO=yes
4781 elif test "$wxUSE_DEBUG" = "no"; then
4782 DEFAULT_wxUSE_DEBUG_FLAG=no
4783 DEFAULT_wxUSE_DEBUG_INFO=no
4789 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4790 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4792 # Check whether --enable-debug_flag was given.
4793 if test "${enable_debug_flag+set}" = set; then
4794 enableval=$enable_debug_flag;
4795 if test "$enableval" = yes; then
4796 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4798 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4803 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
4804 if test "x$LINE" != x ; then
4805 eval "DEFAULT_$LINE"
4810 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
4815 eval "$ac_cv_use_debug_flag"
4816 if test "$no_cache" != 1; then
4817 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4820 if test "$wxUSE_DEBUG_FLAG" = yes; then
4821 { echo "$as_me:$LINENO: result: yes" >&5
4822 echo "${ECHO_T}yes" >&6; }
4824 { echo "$as_me:$LINENO: result: no" >&5
4825 echo "${ECHO_T}no" >&6; }
4830 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4831 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4833 # Check whether --enable-debug_info was given.
4834 if test "${enable_debug_info+set}" = set; then
4835 enableval=$enable_debug_info;
4836 if test "$enableval" = yes; then
4837 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4839 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4844 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
4845 if test "x$LINE" != x ; then
4846 eval "DEFAULT_$LINE"
4851 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4856 eval "$ac_cv_use_debug_info"
4857 if test "$no_cache" != 1; then
4858 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4861 if test "$wxUSE_DEBUG_INFO" = yes; then
4862 { echo "$as_me:$LINENO: result: yes" >&5
4863 echo "${ECHO_T}yes" >&6; }
4865 { echo "$as_me:$LINENO: result: no" >&5
4866 echo "${ECHO_T}no" >&6; }
4871 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4872 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4874 # Check whether --enable-debug_gdb was given.
4875 if test "${enable_debug_gdb+set}" = set; then
4876 enableval=$enable_debug_gdb;
4877 if test "$enableval" = yes; then
4878 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4880 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4885 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
4886 if test "x$LINE" != x ; then
4887 eval "DEFAULT_$LINE"
4892 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4897 eval "$ac_cv_use_debug_gdb"
4898 if test "$no_cache" != 1; then
4899 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4902 if test "$wxUSE_DEBUG_GDB" = yes; then
4903 { echo "$as_me:$LINENO: result: yes" >&5
4904 echo "${ECHO_T}yes" >&6; }
4906 { echo "$as_me:$LINENO: result: no" >&5
4907 echo "${ECHO_T}no" >&6; }
4912 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4913 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4915 # Check whether --enable-debug_cntxt was given.
4916 if test "${enable_debug_cntxt+set}" = set; then
4917 enableval=$enable_debug_cntxt;
4918 if test "$enableval" = yes; then
4919 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4921 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4926 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
4927 if test "x$LINE" != x ; then
4928 eval "DEFAULT_$LINE"
4933 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4938 eval "$ac_cv_use_debug_cntxt"
4939 if test "$no_cache" != 1; then
4940 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4943 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4944 { echo "$as_me:$LINENO: result: yes" >&5
4945 echo "${ECHO_T}yes" >&6; }
4947 { echo "$as_me:$LINENO: result: no" >&5
4948 echo "${ECHO_T}no" >&6; }
4953 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4954 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4956 # Check whether --enable-mem_tracing was given.
4957 if test "${enable_mem_tracing+set}" = set; then
4958 enableval=$enable_mem_tracing;
4959 if test "$enableval" = yes; then
4960 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4962 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4967 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4968 if test "x$LINE" != x ; then
4969 eval "DEFAULT_$LINE"
4974 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4979 eval "$ac_cv_use_mem_tracing"
4980 if test "$no_cache" != 1; then
4981 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4984 if test "$wxUSE_MEM_TRACING" = yes; then
4985 { echo "$as_me:$LINENO: result: yes" >&5
4986 echo "${ECHO_T}yes" >&6; }
4988 { echo "$as_me:$LINENO: result: no" >&5
4989 echo "${ECHO_T}no" >&6; }
4994 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4995 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
4997 # Check whether --enable-profile was given.
4998 if test "${enable_profile+set}" = set; then
4999 enableval=$enable_profile;
5000 if test "$enableval" = yes; then
5001 ac_cv_use_profile='wxUSE_PROFILE=yes'
5003 ac_cv_use_profile='wxUSE_PROFILE=no'
5008 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
5009 if test "x$LINE" != x ; then
5010 eval "DEFAULT_$LINE"
5015 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
5020 eval "$ac_cv_use_profile"
5021 if test "$no_cache" != 1; then
5022 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
5025 if test "$wxUSE_PROFILE" = yes; then
5026 { echo "$as_me:$LINENO: result: yes" >&5
5027 echo "${ECHO_T}yes" >&6; }
5029 { echo "$as_me:$LINENO: result: no" >&5
5030 echo "${ECHO_T}no" >&6; }
5035 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5036 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5038 # Check whether --enable-no_rtti was given.
5039 if test "${enable_no_rtti+set}" = set; then
5040 enableval=$enable_no_rtti;
5041 if test "$enableval" = yes; then
5042 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5044 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5049 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
5050 if test "x$LINE" != x ; then
5051 eval "DEFAULT_$LINE"
5056 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
5061 eval "$ac_cv_use_no_rtti"
5062 if test "$no_cache" != 1; then
5063 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
5066 if test "$wxUSE_NO_RTTI" = yes; then
5067 { echo "$as_me:$LINENO: result: yes" >&5
5068 echo "${ECHO_T}yes" >&6; }
5070 { echo "$as_me:$LINENO: result: no" >&5
5071 echo "${ECHO_T}no" >&6; }
5076 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5077 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5079 # Check whether --enable-no_exceptions was given.
5080 if test "${enable_no_exceptions+set}" = set; then
5081 enableval=$enable_no_exceptions;
5082 if test "$enableval" = yes; then
5083 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5085 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5090 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
5091 if test "x$LINE" != x ; then
5092 eval "DEFAULT_$LINE"
5097 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
5102 eval "$ac_cv_use_no_exceptions"
5103 if test "$no_cache" != 1; then
5104 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
5107 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
5108 { echo "$as_me:$LINENO: result: yes" >&5
5109 echo "${ECHO_T}yes" >&6; }
5111 { echo "$as_me:$LINENO: result: no" >&5
5112 echo "${ECHO_T}no" >&6; }
5117 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5118 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5120 # Check whether --enable-permissive was given.
5121 if test "${enable_permissive+set}" = set; then
5122 enableval=$enable_permissive;
5123 if test "$enableval" = yes; then
5124 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5126 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
5131 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
5132 if test "x$LINE" != x ; then
5133 eval "DEFAULT_$LINE"
5138 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
5143 eval "$ac_cv_use_permissive"
5144 if test "$no_cache" != 1; then
5145 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
5148 if test "$wxUSE_PERMISSIVE" = yes; then
5149 { echo "$as_me:$LINENO: result: yes" >&5
5150 echo "${ECHO_T}yes" >&6; }
5152 { echo "$as_me:$LINENO: result: no" >&5
5153 echo "${ECHO_T}no" >&6; }
5158 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5159 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5161 # Check whether --enable-no_deps was given.
5162 if test "${enable_no_deps+set}" = set; then
5163 enableval=$enable_no_deps;
5164 if test "$enableval" = yes; then
5165 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5167 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
5172 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
5173 if test "x$LINE" != x ; then
5174 eval "DEFAULT_$LINE"
5179 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
5184 eval "$ac_cv_use_no_deps"
5185 if test "$no_cache" != 1; then
5186 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
5189 if test "$wxUSE_NO_DEPS" = yes; then
5190 { echo "$as_me:$LINENO: result: yes" >&5
5191 echo "${ECHO_T}yes" >&6; }
5193 { echo "$as_me:$LINENO: result: no" >&5
5194 echo "${ECHO_T}no" >&6; }
5199 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5200 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5202 # Check whether --enable-vararg_macros was given.
5203 if test "${enable_vararg_macros+set}" = set; then
5204 enableval=$enable_vararg_macros;
5205 if test "$enableval" = yes; then
5206 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5208 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5213 LINE=`grep "wxUSE_VARARG_MACROS" ${wx_arg_cache_file}`
5214 if test "x$LINE" != x ; then
5215 eval "DEFAULT_$LINE"
5220 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS='$DEFAULT_wxUSE_VARARG_MACROS
5225 eval "$ac_cv_use_vararg_macros"
5226 if test "$no_cache" != 1; then
5227 echo $ac_cv_use_vararg_macros >> ${wx_arg_cache_file}.tmp
5230 if test "$wxUSE_VARARG_MACROS" = yes; then
5231 { echo "$as_me:$LINENO: result: yes" >&5
5232 echo "${ECHO_T}yes" >&6; }
5234 { echo "$as_me:$LINENO: result: no" >&5
5235 echo "${ECHO_T}no" >&6; }
5240 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5241 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5243 # Check whether --enable-universal_binary was given.
5244 if test "${enable_universal_binary+set}" = set; then
5245 enableval=$enable_universal_binary;
5246 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5250 LINE=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
5251 if test "x$LINE" != x ; then
5252 eval "DEFAULT_$LINE"
5257 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5262 eval "$wx_cv_use_universal_binary"
5263 if test "$no_cache" != 1; then
5264 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
5267 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5268 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5273 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5274 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5276 # Check whether --enable-compat26 was given.
5277 if test "${enable_compat26+set}" = set; then
5278 enableval=$enable_compat26;
5279 if test "$enableval" = yes; then
5280 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5282 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5287 LINE=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
5288 if test "x$LINE" != x ; then
5289 eval "DEFAULT_$LINE"
5294 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
5299 eval "$ac_cv_use_compat26"
5300 if test "$no_cache" != 1; then
5301 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
5304 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
5305 { echo "$as_me:$LINENO: result: yes" >&5
5306 echo "${ECHO_T}yes" >&6; }
5308 { echo "$as_me:$LINENO: result: no" >&5
5309 echo "${ECHO_T}no" >&6; }
5313 enablestring=disable
5314 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5315 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5317 # Check whether --enable-compat28 was given.
5318 if test "${enable_compat28+set}" = set; then
5319 enableval=$enable_compat28;
5320 if test "$enableval" = yes; then
5321 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5323 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5328 LINE=`grep "WXWIN_COMPATIBILITY_2_8" ${wx_arg_cache_file}`
5329 if test "x$LINE" != x ; then
5330 eval "DEFAULT_$LINE"
5335 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8='$DEFAULT_WXWIN_COMPATIBILITY_2_8
5340 eval "$ac_cv_use_compat28"
5341 if test "$no_cache" != 1; then
5342 echo $ac_cv_use_compat28 >> ${wx_arg_cache_file}.tmp
5345 if test "$WXWIN_COMPATIBILITY_2_8" = yes; then
5346 { echo "$as_me:$LINENO: result: yes" >&5
5347 echo "${ECHO_T}yes" >&6; }
5349 { echo "$as_me:$LINENO: result: no" >&5
5350 echo "${ECHO_T}no" >&6; }
5356 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5357 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5359 # Check whether --enable-rpath was given.
5360 if test "${enable_rpath+set}" = set; then
5361 enableval=$enable_rpath;
5362 if test "$enableval" = yes; then
5363 ac_cv_use_rpath='wxUSE_RPATH=yes'
5365 ac_cv_use_rpath='wxUSE_RPATH=no'
5370 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
5371 if test "x$LINE" != x ; then
5372 eval "DEFAULT_$LINE"
5377 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
5382 eval "$ac_cv_use_rpath"
5383 if test "$no_cache" != 1; then
5384 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
5387 if test "$wxUSE_RPATH" = yes; then
5388 { echo "$as_me:$LINENO: result: yes" >&5
5389 echo "${ECHO_T}yes" >&6; }
5391 { echo "$as_me:$LINENO: result: no" >&5
5392 echo "${ECHO_T}no" >&6; }
5400 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5401 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5403 # Check whether --enable-intl was given.
5404 if test "${enable_intl+set}" = set; then
5405 enableval=$enable_intl;
5406 if test "$enableval" = yes; then
5407 ac_cv_use_intl='wxUSE_INTL=yes'
5409 ac_cv_use_intl='wxUSE_INTL=no'
5414 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
5415 if test "x$LINE" != x ; then
5416 eval "DEFAULT_$LINE"
5421 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
5426 eval "$ac_cv_use_intl"
5427 if test "$no_cache" != 1; then
5428 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
5431 if test "$wxUSE_INTL" = yes; then
5432 { echo "$as_me:$LINENO: result: yes" >&5
5433 echo "${ECHO_T}yes" >&6; }
5435 { echo "$as_me:$LINENO: result: no" >&5
5436 echo "${ECHO_T}no" >&6; }
5441 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5442 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5444 # Check whether --enable-config was given.
5445 if test "${enable_config+set}" = set; then
5446 enableval=$enable_config;
5447 if test "$enableval" = yes; then
5448 ac_cv_use_config='wxUSE_CONFIG=yes'
5450 ac_cv_use_config='wxUSE_CONFIG=no'
5455 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
5456 if test "x$LINE" != x ; then
5457 eval "DEFAULT_$LINE"
5462 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
5467 eval "$ac_cv_use_config"
5468 if test "$no_cache" != 1; then
5469 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
5472 if test "$wxUSE_CONFIG" = yes; then
5473 { echo "$as_me:$LINENO: result: yes" >&5
5474 echo "${ECHO_T}yes" >&6; }
5476 { echo "$as_me:$LINENO: result: no" >&5
5477 echo "${ECHO_T}no" >&6; }
5483 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5484 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5486 # Check whether --enable-protocols was given.
5487 if test "${enable_protocols+set}" = set; then
5488 enableval=$enable_protocols;
5489 if test "$enableval" = yes; then
5490 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
5492 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
5497 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5498 if test "x$LINE" != x ; then
5499 eval "DEFAULT_$LINE"
5504 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5509 eval "$ac_cv_use_protocols"
5510 if test "$no_cache" != 1; then
5511 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
5514 if test "$wxUSE_PROTOCOL" = yes; then
5515 { echo "$as_me:$LINENO: result: yes" >&5
5516 echo "${ECHO_T}yes" >&6; }
5518 { echo "$as_me:$LINENO: result: no" >&5
5519 echo "${ECHO_T}no" >&6; }
5524 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5525 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5527 # Check whether --enable-ftp was given.
5528 if test "${enable_ftp+set}" = set; then
5529 enableval=$enable_ftp;
5530 if test "$enableval" = yes; then
5531 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5533 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5538 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5539 if test "x$LINE" != x ; then
5540 eval "DEFAULT_$LINE"
5545 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5550 eval "$ac_cv_use_ftp"
5551 if test "$no_cache" != 1; then
5552 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
5555 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5556 { echo "$as_me:$LINENO: result: yes" >&5
5557 echo "${ECHO_T}yes" >&6; }
5559 { echo "$as_me:$LINENO: result: no" >&5
5560 echo "${ECHO_T}no" >&6; }
5565 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5566 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5568 # Check whether --enable-http was given.
5569 if test "${enable_http+set}" = set; then
5570 enableval=$enable_http;
5571 if test "$enableval" = yes; then
5572 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5574 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5579 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5580 if test "x$LINE" != x ; then
5581 eval "DEFAULT_$LINE"
5586 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5591 eval "$ac_cv_use_http"
5592 if test "$no_cache" != 1; then
5593 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
5596 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5597 { echo "$as_me:$LINENO: result: yes" >&5
5598 echo "${ECHO_T}yes" >&6; }
5600 { echo "$as_me:$LINENO: result: no" >&5
5601 echo "${ECHO_T}no" >&6; }
5606 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5607 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5609 # Check whether --enable-fileproto was given.
5610 if test "${enable_fileproto+set}" = set; then
5611 enableval=$enable_fileproto;
5612 if test "$enableval" = yes; then
5613 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5615 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5620 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5621 if test "x$LINE" != x ; then
5622 eval "DEFAULT_$LINE"
5627 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5632 eval "$ac_cv_use_fileproto"
5633 if test "$no_cache" != 1; then
5634 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
5637 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5638 { echo "$as_me:$LINENO: result: yes" >&5
5639 echo "${ECHO_T}yes" >&6; }
5641 { echo "$as_me:$LINENO: result: no" >&5
5642 echo "${ECHO_T}no" >&6; }
5647 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5648 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5650 # Check whether --enable-sockets was given.
5651 if test "${enable_sockets+set}" = set; then
5652 enableval=$enable_sockets;
5653 if test "$enableval" = yes; then
5654 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
5656 ac_cv_use_sockets='wxUSE_SOCKETS=no'
5661 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
5662 if test "x$LINE" != x ; then
5663 eval "DEFAULT_$LINE"
5668 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
5673 eval "$ac_cv_use_sockets"
5674 if test "$no_cache" != 1; then
5675 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
5678 if test "$wxUSE_SOCKETS" = yes; then
5679 { echo "$as_me:$LINENO: result: yes" >&5
5680 echo "${ECHO_T}yes" >&6; }
5682 { echo "$as_me:$LINENO: result: no" >&5
5683 echo "${ECHO_T}no" >&6; }
5688 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
5689 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
5691 # Check whether --enable-ole was given.
5692 if test "${enable_ole+set}" = set; then
5693 enableval=$enable_ole;
5694 if test "$enableval" = yes; then
5695 ac_cv_use_ole='wxUSE_OLE=yes'
5697 ac_cv_use_ole='wxUSE_OLE=no'
5702 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
5703 if test "x$LINE" != x ; then
5704 eval "DEFAULT_$LINE"
5709 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
5714 eval "$ac_cv_use_ole"
5715 if test "$no_cache" != 1; then
5716 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
5719 if test "$wxUSE_OLE" = yes; then
5720 { echo "$as_me:$LINENO: result: yes" >&5
5721 echo "${ECHO_T}yes" >&6; }
5723 { echo "$as_me:$LINENO: result: no" >&5
5724 echo "${ECHO_T}no" >&6; }
5729 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
5730 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
5732 # Check whether --enable-dataobj was given.
5733 if test "${enable_dataobj+set}" = set; then
5734 enableval=$enable_dataobj;
5735 if test "$enableval" = yes; then
5736 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
5738 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
5743 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
5744 if test "x$LINE" != x ; then
5745 eval "DEFAULT_$LINE"
5750 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
5755 eval "$ac_cv_use_dataobj"
5756 if test "$no_cache" != 1; then
5757 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
5760 if test "$wxUSE_DATAOBJ" = yes; then
5761 { echo "$as_me:$LINENO: result: yes" >&5
5762 echo "${ECHO_T}yes" >&6; }
5764 { echo "$as_me:$LINENO: result: no" >&5
5765 echo "${ECHO_T}no" >&6; }
5771 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
5772 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
5774 # Check whether --enable-ipc was given.
5775 if test "${enable_ipc+set}" = set; then
5776 enableval=$enable_ipc;
5777 if test "$enableval" = yes; then
5778 ac_cv_use_ipc='wxUSE_IPC=yes'
5780 ac_cv_use_ipc='wxUSE_IPC=no'
5785 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
5786 if test "x$LINE" != x ; then
5787 eval "DEFAULT_$LINE"
5792 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
5797 eval "$ac_cv_use_ipc"
5798 if test "$no_cache" != 1; then
5799 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
5802 if test "$wxUSE_IPC" = yes; then
5803 { echo "$as_me:$LINENO: result: yes" >&5
5804 echo "${ECHO_T}yes" >&6; }
5806 { echo "$as_me:$LINENO: result: no" >&5
5807 echo "${ECHO_T}no" >&6; }
5813 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
5814 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
5816 # Check whether --enable-apple_ieee was given.
5817 if test "${enable_apple_ieee+set}" = set; then
5818 enableval=$enable_apple_ieee;
5819 if test "$enableval" = yes; then
5820 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
5822 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
5827 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
5828 if test "x$LINE" != x ; then
5829 eval "DEFAULT_$LINE"
5834 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
5839 eval "$ac_cv_use_apple_ieee"
5840 if test "$no_cache" != 1; then
5841 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
5844 if test "$wxUSE_APPLE_IEEE" = yes; then
5845 { echo "$as_me:$LINENO: result: yes" >&5
5846 echo "${ECHO_T}yes" >&6; }
5848 { echo "$as_me:$LINENO: result: no" >&5
5849 echo "${ECHO_T}no" >&6; }
5854 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5855 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
5857 # Check whether --enable-arcstream was given.
5858 if test "${enable_arcstream+set}" = set; then
5859 enableval=$enable_arcstream;
5860 if test "$enableval" = yes; then
5861 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
5863 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
5868 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
5869 if test "x$LINE" != x ; then
5870 eval "DEFAULT_$LINE"
5875 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5880 eval "$ac_cv_use_arcstream"
5881 if test "$no_cache" != 1; then
5882 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5885 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5886 { echo "$as_me:$LINENO: result: yes" >&5
5887 echo "${ECHO_T}yes" >&6; }
5889 { echo "$as_me:$LINENO: result: no" >&5
5890 echo "${ECHO_T}no" >&6; }
5895 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5896 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
5898 # Check whether --enable-backtrace was given.
5899 if test "${enable_backtrace+set}" = set; then
5900 enableval=$enable_backtrace;
5901 if test "$enableval" = yes; then
5902 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
5904 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
5909 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
5910 if test "x$LINE" != x ; then
5911 eval "DEFAULT_$LINE"
5916 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5921 eval "$ac_cv_use_backtrace"
5922 if test "$no_cache" != 1; then
5923 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5926 if test "$wxUSE_STACKWALKER" = yes; then
5927 { echo "$as_me:$LINENO: result: yes" >&5
5928 echo "${ECHO_T}yes" >&6; }
5930 { echo "$as_me:$LINENO: result: no" >&5
5931 echo "${ECHO_T}no" >&6; }
5936 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5937 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
5939 # Check whether --enable-catch_segvs was given.
5940 if test "${enable_catch_segvs+set}" = set; then
5941 enableval=$enable_catch_segvs;
5942 if test "$enableval" = yes; then
5943 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5945 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5950 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5951 if test "x$LINE" != x ; then
5952 eval "DEFAULT_$LINE"
5957 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5962 eval "$ac_cv_use_catch_segvs"
5963 if test "$no_cache" != 1; then
5964 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5967 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5968 { echo "$as_me:$LINENO: result: yes" >&5
5969 echo "${ECHO_T}yes" >&6; }
5971 { echo "$as_me:$LINENO: result: no" >&5
5972 echo "${ECHO_T}no" >&6; }
5977 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5978 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
5980 # Check whether --enable-cmdline was given.
5981 if test "${enable_cmdline+set}" = set; then
5982 enableval=$enable_cmdline;
5983 if test "$enableval" = yes; then
5984 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
5986 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
5991 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5992 if test "x$LINE" != x ; then
5993 eval "DEFAULT_$LINE"
5998 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
6003 eval "$ac_cv_use_cmdline"
6004 if test "$no_cache" != 1; then
6005 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
6008 if test "$wxUSE_CMDLINE_PARSER" = yes; then
6009 { echo "$as_me:$LINENO: result: yes" >&5
6010 echo "${ECHO_T}yes" >&6; }
6012 { echo "$as_me:$LINENO: result: no" >&5
6013 echo "${ECHO_T}no" >&6; }
6018 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6019 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6021 # Check whether --enable-datetime was given.
6022 if test "${enable_datetime+set}" = set; then
6023 enableval=$enable_datetime;
6024 if test "$enableval" = yes; then
6025 ac_cv_use_datetime='wxUSE_DATETIME=yes'
6027 ac_cv_use_datetime='wxUSE_DATETIME=no'
6032 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
6033 if test "x$LINE" != x ; then
6034 eval "DEFAULT_$LINE"
6039 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
6044 eval "$ac_cv_use_datetime"
6045 if test "$no_cache" != 1; then
6046 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
6049 if test "$wxUSE_DATETIME" = yes; then
6050 { echo "$as_me:$LINENO: result: yes" >&5
6051 echo "${ECHO_T}yes" >&6; }
6053 { echo "$as_me:$LINENO: result: no" >&5
6054 echo "${ECHO_T}no" >&6; }
6059 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6060 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6062 # Check whether --enable-debugreport was given.
6063 if test "${enable_debugreport+set}" = set; then
6064 enableval=$enable_debugreport;
6065 if test "$enableval" = yes; then
6066 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6068 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6073 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
6074 if test "x$LINE" != x ; then
6075 eval "DEFAULT_$LINE"
6080 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
6085 eval "$ac_cv_use_debugreport"
6086 if test "$no_cache" != 1; then
6087 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
6090 if test "$wxUSE_DEBUGREPORT" = yes; then
6091 { echo "$as_me:$LINENO: result: yes" >&5
6092 echo "${ECHO_T}yes" >&6; }
6094 { echo "$as_me:$LINENO: result: no" >&5
6095 echo "${ECHO_T}no" >&6; }
6100 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6101 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6103 # Check whether --enable-dialupman was given.
6104 if test "${enable_dialupman+set}" = set; then
6105 enableval=$enable_dialupman;
6106 if test "$enableval" = yes; then
6107 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6109 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6114 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
6115 if test "x$LINE" != x ; then
6116 eval "DEFAULT_$LINE"
6121 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
6126 eval "$ac_cv_use_dialupman"
6127 if test "$no_cache" != 1; then
6128 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
6131 if test "$wxUSE_DIALUP_MANAGER" = yes; then
6132 { echo "$as_me:$LINENO: result: yes" >&5
6133 echo "${ECHO_T}yes" >&6; }
6135 { echo "$as_me:$LINENO: result: no" >&5
6136 echo "${ECHO_T}no" >&6; }
6141 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6142 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6144 # Check whether --enable-dynlib was given.
6145 if test "${enable_dynlib+set}" = set; then
6146 enableval=$enable_dynlib;
6147 if test "$enableval" = yes; then
6148 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6150 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6155 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
6156 if test "x$LINE" != x ; then
6157 eval "DEFAULT_$LINE"
6162 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
6167 eval "$ac_cv_use_dynlib"
6168 if test "$no_cache" != 1; then
6169 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
6172 if test "$wxUSE_DYNLIB_CLASS" = yes; then
6173 { echo "$as_me:$LINENO: result: yes" >&5
6174 echo "${ECHO_T}yes" >&6; }
6176 { echo "$as_me:$LINENO: result: no" >&5
6177 echo "${ECHO_T}no" >&6; }
6182 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6183 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6185 # Check whether --enable-dynamicloader was given.
6186 if test "${enable_dynamicloader+set}" = set; then
6187 enableval=$enable_dynamicloader;
6188 if test "$enableval" = yes; then
6189 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6191 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6196 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
6197 if test "x$LINE" != x ; then
6198 eval "DEFAULT_$LINE"
6203 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
6208 eval "$ac_cv_use_dynamicloader"
6209 if test "$no_cache" != 1; then
6210 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
6213 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
6214 { echo "$as_me:$LINENO: result: yes" >&5
6215 echo "${ECHO_T}yes" >&6; }
6217 { echo "$as_me:$LINENO: result: no" >&5
6218 echo "${ECHO_T}no" >&6; }
6223 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6224 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6226 # Check whether --enable-exceptions was given.
6227 if test "${enable_exceptions+set}" = set; then
6228 enableval=$enable_exceptions;
6229 if test "$enableval" = yes; then
6230 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6232 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6237 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
6238 if test "x$LINE" != x ; then
6239 eval "DEFAULT_$LINE"
6244 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
6249 eval "$ac_cv_use_exceptions"
6250 if test "$no_cache" != 1; then
6251 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
6254 if test "$wxUSE_EXCEPTIONS" = yes; then
6255 { echo "$as_me:$LINENO: result: yes" >&5
6256 echo "${ECHO_T}yes" >&6; }
6258 { echo "$as_me:$LINENO: result: no" >&5
6259 echo "${ECHO_T}no" >&6; }
6264 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6265 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6267 # Check whether --enable-ffile was given.
6268 if test "${enable_ffile+set}" = set; then
6269 enableval=$enable_ffile;
6270 if test "$enableval" = yes; then
6271 ac_cv_use_ffile='wxUSE_FFILE=yes'
6273 ac_cv_use_ffile='wxUSE_FFILE=no'
6278 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
6279 if test "x$LINE" != x ; then
6280 eval "DEFAULT_$LINE"
6285 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
6290 eval "$ac_cv_use_ffile"
6291 if test "$no_cache" != 1; then
6292 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
6295 if test "$wxUSE_FFILE" = yes; then
6296 { echo "$as_me:$LINENO: result: yes" >&5
6297 echo "${ECHO_T}yes" >&6; }
6299 { echo "$as_me:$LINENO: result: no" >&5
6300 echo "${ECHO_T}no" >&6; }
6305 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6306 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6308 # Check whether --enable-file was given.
6309 if test "${enable_file+set}" = set; then
6310 enableval=$enable_file;
6311 if test "$enableval" = yes; then
6312 ac_cv_use_file='wxUSE_FILE=yes'
6314 ac_cv_use_file='wxUSE_FILE=no'
6319 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
6320 if test "x$LINE" != x ; then
6321 eval "DEFAULT_$LINE"
6326 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
6331 eval "$ac_cv_use_file"
6332 if test "$no_cache" != 1; then
6333 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
6336 if test "$wxUSE_FILE" = yes; then
6337 { echo "$as_me:$LINENO: result: yes" >&5
6338 echo "${ECHO_T}yes" >&6; }
6340 { echo "$as_me:$LINENO: result: no" >&5
6341 echo "${ECHO_T}no" >&6; }
6346 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6347 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6349 # Check whether --enable-filesystem was given.
6350 if test "${enable_filesystem+set}" = set; then
6351 enableval=$enable_filesystem;
6352 if test "$enableval" = yes; then
6353 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6355 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6360 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
6361 if test "x$LINE" != x ; then
6362 eval "DEFAULT_$LINE"
6367 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
6372 eval "$ac_cv_use_filesystem"
6373 if test "$no_cache" != 1; then
6374 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
6377 if test "$wxUSE_FILESYSTEM" = yes; then
6378 { echo "$as_me:$LINENO: result: yes" >&5
6379 echo "${ECHO_T}yes" >&6; }
6381 { echo "$as_me:$LINENO: result: no" >&5
6382 echo "${ECHO_T}no" >&6; }
6387 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
6388 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
6390 # Check whether --enable-fontmap was given.
6391 if test "${enable_fontmap+set}" = set; then
6392 enableval=$enable_fontmap;
6393 if test "$enableval" = yes; then
6394 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
6396 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
6401 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
6402 if test "x$LINE" != x ; then
6403 eval "DEFAULT_$LINE"
6408 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
6413 eval "$ac_cv_use_fontmap"
6414 if test "$no_cache" != 1; then
6415 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
6418 if test "$wxUSE_FONTMAP" = yes; then
6419 { echo "$as_me:$LINENO: result: yes" >&5
6420 echo "${ECHO_T}yes" >&6; }
6422 { echo "$as_me:$LINENO: result: no" >&5
6423 echo "${ECHO_T}no" >&6; }
6428 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
6429 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
6431 # Check whether --enable-fs_archive was given.
6432 if test "${enable_fs_archive+set}" = set; then
6433 enableval=$enable_fs_archive;
6434 if test "$enableval" = yes; then
6435 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
6437 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
6442 LINE=`grep "wxUSE_FS_ARCHIVE" ${wx_arg_cache_file}`
6443 if test "x$LINE" != x ; then
6444 eval "DEFAULT_$LINE"
6449 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE='$DEFAULT_wxUSE_FS_ARCHIVE
6454 eval "$ac_cv_use_fs_archive"
6455 if test "$no_cache" != 1; then
6456 echo $ac_cv_use_fs_archive >> ${wx_arg_cache_file}.tmp
6459 if test "$wxUSE_FS_ARCHIVE" = yes; then
6460 { echo "$as_me:$LINENO: result: yes" >&5
6461 echo "${ECHO_T}yes" >&6; }
6463 { echo "$as_me:$LINENO: result: no" >&5
6464 echo "${ECHO_T}no" >&6; }
6469 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
6470 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
6472 # Check whether --enable-fs_inet was given.
6473 if test "${enable_fs_inet+set}" = set; then
6474 enableval=$enable_fs_inet;
6475 if test "$enableval" = yes; then
6476 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
6478 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
6483 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
6484 if test "x$LINE" != x ; then
6485 eval "DEFAULT_$LINE"
6490 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
6495 eval "$ac_cv_use_fs_inet"
6496 if test "$no_cache" != 1; then
6497 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
6500 if test "$wxUSE_FS_INET" = yes; then
6501 { echo "$as_me:$LINENO: result: yes" >&5
6502 echo "${ECHO_T}yes" >&6; }
6504 { echo "$as_me:$LINENO: result: no" >&5
6505 echo "${ECHO_T}no" >&6; }
6510 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
6511 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
6513 # Check whether --enable-fs_zip was given.
6514 if test "${enable_fs_zip+set}" = set; then
6515 enableval=$enable_fs_zip;
6516 if test "$enableval" = yes; then
6517 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
6519 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
6524 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
6525 if test "x$LINE" != x ; then
6526 eval "DEFAULT_$LINE"
6531 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
6536 eval "$ac_cv_use_fs_zip"
6537 if test "$no_cache" != 1; then
6538 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
6541 if test "$wxUSE_FS_ZIP" = yes; then
6542 { echo "$as_me:$LINENO: result: yes" >&5
6543 echo "${ECHO_T}yes" >&6; }
6545 { echo "$as_me:$LINENO: result: no" >&5
6546 echo "${ECHO_T}no" >&6; }
6551 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
6552 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
6554 # Check whether --enable-geometry was given.
6555 if test "${enable_geometry+set}" = set; then
6556 enableval=$enable_geometry;
6557 if test "$enableval" = yes; then
6558 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
6560 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
6565 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
6566 if test "x$LINE" != x ; then
6567 eval "DEFAULT_$LINE"
6572 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
6577 eval "$ac_cv_use_geometry"
6578 if test "$no_cache" != 1; then
6579 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
6582 if test "$wxUSE_GEOMETRY" = yes; then
6583 { echo "$as_me:$LINENO: result: yes" >&5
6584 echo "${ECHO_T}yes" >&6; }
6586 { echo "$as_me:$LINENO: result: no" >&5
6587 echo "${ECHO_T}no" >&6; }
6592 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
6593 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
6595 # Check whether --enable-log was given.
6596 if test "${enable_log+set}" = set; then
6597 enableval=$enable_log;
6598 if test "$enableval" = yes; then
6599 ac_cv_use_log='wxUSE_LOG=yes'
6601 ac_cv_use_log='wxUSE_LOG=no'
6606 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
6607 if test "x$LINE" != x ; then
6608 eval "DEFAULT_$LINE"
6613 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
6618 eval "$ac_cv_use_log"
6619 if test "$no_cache" != 1; then
6620 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
6623 if test "$wxUSE_LOG" = yes; then
6624 { echo "$as_me:$LINENO: result: yes" >&5
6625 echo "${ECHO_T}yes" >&6; }
6627 { echo "$as_me:$LINENO: result: no" >&5
6628 echo "${ECHO_T}no" >&6; }
6633 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
6634 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
6636 # Check whether --enable-longlong was given.
6637 if test "${enable_longlong+set}" = set; then
6638 enableval=$enable_longlong;
6639 if test "$enableval" = yes; then
6640 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
6642 ac_cv_use_longlong='wxUSE_LONGLONG=no'
6647 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
6648 if test "x$LINE" != x ; then
6649 eval "DEFAULT_$LINE"
6654 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
6659 eval "$ac_cv_use_longlong"
6660 if test "$no_cache" != 1; then
6661 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
6664 if test "$wxUSE_LONGLONG" = yes; then
6665 { echo "$as_me:$LINENO: result: yes" >&5
6666 echo "${ECHO_T}yes" >&6; }
6668 { echo "$as_me:$LINENO: result: no" >&5
6669 echo "${ECHO_T}no" >&6; }
6674 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
6675 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
6677 # Check whether --enable-mimetype was given.
6678 if test "${enable_mimetype+set}" = set; then
6679 enableval=$enable_mimetype;
6680 if test "$enableval" = yes; then
6681 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
6683 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
6688 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
6689 if test "x$LINE" != x ; then
6690 eval "DEFAULT_$LINE"
6695 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
6700 eval "$ac_cv_use_mimetype"
6701 if test "$no_cache" != 1; then
6702 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
6705 if test "$wxUSE_MIMETYPE" = yes; then
6706 { echo "$as_me:$LINENO: result: yes" >&5
6707 echo "${ECHO_T}yes" >&6; }
6709 { echo "$as_me:$LINENO: result: no" >&5
6710 echo "${ECHO_T}no" >&6; }
6715 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
6716 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
6718 # Check whether --enable-mslu was given.
6719 if test "${enable_mslu+set}" = set; then
6720 enableval=$enable_mslu;
6721 if test "$enableval" = yes; then
6722 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
6724 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
6729 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
6730 if test "x$LINE" != x ; then
6731 eval "DEFAULT_$LINE"
6736 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
6741 eval "$ac_cv_use_mslu"
6742 if test "$no_cache" != 1; then
6743 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
6746 if test "$wxUSE_UNICODE_MSLU" = yes; then
6747 { echo "$as_me:$LINENO: result: yes" >&5
6748 echo "${ECHO_T}yes" >&6; }
6750 { echo "$as_me:$LINENO: result: no" >&5
6751 echo "${ECHO_T}no" >&6; }
6756 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
6757 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
6759 # Check whether --enable-utf8 was given.
6760 if test "${enable_utf8+set}" = set; then
6761 enableval=$enable_utf8;
6762 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
6766 LINE=`grep "wxUSE_UNICODE_UTF8" ${wx_arg_cache_file}`
6767 if test "x$LINE" != x ; then
6768 eval "DEFAULT_$LINE"
6773 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
6778 eval "$wx_cv_use_utf8"
6779 if test "$no_cache" != 1; then
6780 echo $wx_cv_use_utf8 >> ${wx_arg_cache_file}.tmp
6783 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
6784 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
6788 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
6789 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
6791 # Check whether --enable-utf8only was given.
6792 if test "${enable_utf8only+set}" = set; then
6793 enableval=$enable_utf8only;
6794 if test "$enableval" = yes; then
6795 ac_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
6797 ac_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
6802 LINE=`grep "wxUSE_UNICODE_UTF8_LOCALE" ${wx_arg_cache_file}`
6803 if test "x$LINE" != x ; then
6804 eval "DEFAULT_$LINE"
6809 ac_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE='$DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
6814 eval "$ac_cv_use_utf8only"
6815 if test "$no_cache" != 1; then
6816 echo $ac_cv_use_utf8only >> ${wx_arg_cache_file}.tmp
6819 if test "$wxUSE_UNICODE_UTF8_LOCALE" = yes; then
6820 { echo "$as_me:$LINENO: result: yes" >&5
6821 echo "${ECHO_T}yes" >&6; }
6823 { echo "$as_me:$LINENO: result: no" >&5
6824 echo "${ECHO_T}no" >&6; }
6829 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
6830 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
6832 # Check whether --enable-snglinst was given.
6833 if test "${enable_snglinst+set}" = set; then
6834 enableval=$enable_snglinst;
6835 if test "$enableval" = yes; then
6836 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
6838 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
6843 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
6844 if test "x$LINE" != x ; then
6845 eval "DEFAULT_$LINE"
6850 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
6855 eval "$ac_cv_use_snglinst"
6856 if test "$no_cache" != 1; then
6857 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
6860 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
6861 { echo "$as_me:$LINENO: result: yes" >&5
6862 echo "${ECHO_T}yes" >&6; }
6864 { echo "$as_me:$LINENO: result: no" >&5
6865 echo "${ECHO_T}no" >&6; }
6870 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
6871 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
6873 # Check whether --enable-std_iostreams was given.
6874 if test "${enable_std_iostreams+set}" = set; then
6875 enableval=$enable_std_iostreams;
6876 if test "$enableval" = yes; then
6877 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
6879 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
6884 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
6885 if test "x$LINE" != x ; then
6886 eval "DEFAULT_$LINE"
6891 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
6896 eval "$ac_cv_use_std_iostreams"
6897 if test "$no_cache" != 1; then
6898 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
6901 if test "$wxUSE_STD_IOSTREAM" = yes; then
6902 { echo "$as_me:$LINENO: result: yes" >&5
6903 echo "${ECHO_T}yes" >&6; }
6905 { echo "$as_me:$LINENO: result: no" >&5
6906 echo "${ECHO_T}no" >&6; }
6911 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
6912 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
6914 # Check whether --enable-std_string was given.
6915 if test "${enable_std_string+set}" = set; then
6916 enableval=$enable_std_string;
6917 if test "$enableval" = yes; then
6918 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
6920 ac_cv_use_std_string='wxUSE_STD_STRING=no'
6925 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
6926 if test "x$LINE" != x ; then
6927 eval "DEFAULT_$LINE"
6932 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
6937 eval "$ac_cv_use_std_string"
6938 if test "$no_cache" != 1; then
6939 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
6942 if test "$wxUSE_STD_STRING" = yes; then
6943 { echo "$as_me:$LINENO: result: yes" >&5
6944 echo "${ECHO_T}yes" >&6; }
6946 { echo "$as_me:$LINENO: result: no" >&5
6947 echo "${ECHO_T}no" >&6; }
6952 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
6953 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
6955 # Check whether --enable-stdpaths was given.
6956 if test "${enable_stdpaths+set}" = set; then
6957 enableval=$enable_stdpaths;
6958 if test "$enableval" = yes; then
6959 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
6961 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
6966 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
6967 if test "x$LINE" != x ; then
6968 eval "DEFAULT_$LINE"
6973 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
6978 eval "$ac_cv_use_stdpaths"
6979 if test "$no_cache" != 1; then
6980 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
6983 if test "$wxUSE_STDPATHS" = yes; then
6984 { echo "$as_me:$LINENO: result: yes" >&5
6985 echo "${ECHO_T}yes" >&6; }
6987 { echo "$as_me:$LINENO: result: no" >&5
6988 echo "${ECHO_T}no" >&6; }
6993 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6994 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
6996 # Check whether --enable-stopwatch was given.
6997 if test "${enable_stopwatch+set}" = set; then
6998 enableval=$enable_stopwatch;
6999 if test "$enableval" = yes; then
7000 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7002 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7007 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
7008 if test "x$LINE" != x ; then
7009 eval "DEFAULT_$LINE"
7014 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
7019 eval "$ac_cv_use_stopwatch"
7020 if test "$no_cache" != 1; then
7021 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
7024 if test "$wxUSE_STOPWATCH" = yes; then
7025 { echo "$as_me:$LINENO: result: yes" >&5
7026 echo "${ECHO_T}yes" >&6; }
7028 { echo "$as_me:$LINENO: result: no" >&5
7029 echo "${ECHO_T}no" >&6; }
7034 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7035 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7037 # Check whether --enable-streams was given.
7038 if test "${enable_streams+set}" = set; then
7039 enableval=$enable_streams;
7040 if test "$enableval" = yes; then
7041 ac_cv_use_streams='wxUSE_STREAMS=yes'
7043 ac_cv_use_streams='wxUSE_STREAMS=no'
7048 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
7049 if test "x$LINE" != x ; then
7050 eval "DEFAULT_$LINE"
7055 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
7060 eval "$ac_cv_use_streams"
7061 if test "$no_cache" != 1; then
7062 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
7065 if test "$wxUSE_STREAMS" = yes; then
7066 { echo "$as_me:$LINENO: result: yes" >&5
7067 echo "${ECHO_T}yes" >&6; }
7069 { echo "$as_me:$LINENO: result: no" >&5
7070 echo "${ECHO_T}no" >&6; }
7075 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7076 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7078 # Check whether --enable-system_options was given.
7079 if test "${enable_system_options+set}" = set; then
7080 enableval=$enable_system_options;
7081 if test "$enableval" = yes; then
7082 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
7084 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
7089 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
7090 if test "x$LINE" != x ; then
7091 eval "DEFAULT_$LINE"
7096 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
7101 eval "$ac_cv_use_system_options"
7102 if test "$no_cache" != 1; then
7103 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
7106 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
7107 { echo "$as_me:$LINENO: result: yes" >&5
7108 echo "${ECHO_T}yes" >&6; }
7110 { echo "$as_me:$LINENO: result: no" >&5
7111 echo "${ECHO_T}no" >&6; }
7116 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7117 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7119 # Check whether --enable-tarstream was given.
7120 if test "${enable_tarstream+set}" = set; then
7121 enableval=$enable_tarstream;
7122 if test "$enableval" = yes; then
7123 ac_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7125 ac_cv_use_tarstream='wxUSE_TARSTREAM=no'
7130 LINE=`grep "wxUSE_TARSTREAM" ${wx_arg_cache_file}`
7131 if test "x$LINE" != x ; then
7132 eval "DEFAULT_$LINE"
7137 ac_cv_use_tarstream='wxUSE_TARSTREAM='$DEFAULT_wxUSE_TARSTREAM
7142 eval "$ac_cv_use_tarstream"
7143 if test "$no_cache" != 1; then
7144 echo $ac_cv_use_tarstream >> ${wx_arg_cache_file}.tmp
7147 if test "$wxUSE_TARSTREAM" = yes; then
7148 { echo "$as_me:$LINENO: result: yes" >&5
7149 echo "${ECHO_T}yes" >&6; }
7151 { echo "$as_me:$LINENO: result: no" >&5
7152 echo "${ECHO_T}no" >&6; }
7157 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7158 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7160 # Check whether --enable-textbuf was given.
7161 if test "${enable_textbuf+set}" = set; then
7162 enableval=$enable_textbuf;
7163 if test "$enableval" = yes; then
7164 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7166 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7171 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
7172 if test "x$LINE" != x ; then
7173 eval "DEFAULT_$LINE"
7178 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
7183 eval "$ac_cv_use_textbuf"
7184 if test "$no_cache" != 1; then
7185 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
7188 if test "$wxUSE_TEXTBUFFER" = yes; then
7189 { echo "$as_me:$LINENO: result: yes" >&5
7190 echo "${ECHO_T}yes" >&6; }
7192 { echo "$as_me:$LINENO: result: no" >&5
7193 echo "${ECHO_T}no" >&6; }
7198 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7199 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7201 # Check whether --enable-textfile was given.
7202 if test "${enable_textfile+set}" = set; then
7203 enableval=$enable_textfile;
7204 if test "$enableval" = yes; then
7205 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
7207 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
7212 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
7213 if test "x$LINE" != x ; then
7214 eval "DEFAULT_$LINE"
7219 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
7224 eval "$ac_cv_use_textfile"
7225 if test "$no_cache" != 1; then
7226 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
7229 if test "$wxUSE_TEXTFILE" = yes; then
7230 { echo "$as_me:$LINENO: result: yes" >&5
7231 echo "${ECHO_T}yes" >&6; }
7233 { echo "$as_me:$LINENO: result: no" >&5
7234 echo "${ECHO_T}no" >&6; }
7239 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7240 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7242 # Check whether --enable-timer was given.
7243 if test "${enable_timer+set}" = set; then
7244 enableval=$enable_timer;
7245 if test "$enableval" = yes; then
7246 ac_cv_use_timer='wxUSE_TIMER=yes'
7248 ac_cv_use_timer='wxUSE_TIMER=no'
7253 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
7254 if test "x$LINE" != x ; then
7255 eval "DEFAULT_$LINE"
7260 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
7265 eval "$ac_cv_use_timer"
7266 if test "$no_cache" != 1; then
7267 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
7270 if test "$wxUSE_TIMER" = yes; then
7271 { echo "$as_me:$LINENO: result: yes" >&5
7272 echo "${ECHO_T}yes" >&6; }
7274 { echo "$as_me:$LINENO: result: no" >&5
7275 echo "${ECHO_T}no" >&6; }
7280 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
7281 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
7283 # Check whether --enable-unicode was given.
7284 if test "${enable_unicode+set}" = set; then
7285 enableval=$enable_unicode;
7286 if test "$enableval" = yes; then
7287 ac_cv_use_unicode='wxUSE_UNICODE=yes'
7289 ac_cv_use_unicode='wxUSE_UNICODE=no'
7294 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
7295 if test "x$LINE" != x ; then
7296 eval "DEFAULT_$LINE"
7301 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
7306 eval "$ac_cv_use_unicode"
7307 if test "$no_cache" != 1; then
7308 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
7311 if test "$wxUSE_UNICODE" = yes; then
7312 { echo "$as_me:$LINENO: result: yes" >&5
7313 echo "${ECHO_T}yes" >&6; }
7315 { echo "$as_me:$LINENO: result: no" >&5
7316 echo "${ECHO_T}no" >&6; }
7321 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7322 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7324 # Check whether --enable-sound was given.
7325 if test "${enable_sound+set}" = set; then
7326 enableval=$enable_sound;
7327 if test "$enableval" = yes; then
7328 ac_cv_use_sound='wxUSE_SOUND=yes'
7330 ac_cv_use_sound='wxUSE_SOUND=no'
7335 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
7336 if test "x$LINE" != x ; then
7337 eval "DEFAULT_$LINE"
7342 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
7347 eval "$ac_cv_use_sound"
7348 if test "$no_cache" != 1; then
7349 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
7352 if test "$wxUSE_SOUND" = yes; then
7353 { echo "$as_me:$LINENO: result: yes" >&5
7354 echo "${ECHO_T}yes" >&6; }
7356 { echo "$as_me:$LINENO: result: no" >&5
7357 echo "${ECHO_T}no" >&6; }
7362 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
7363 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
7365 # Check whether --enable-mediactrl was given.
7366 if test "${enable_mediactrl+set}" = set; then
7367 enableval=$enable_mediactrl;
7368 if test "$enableval" = yes; then
7369 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
7371 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
7376 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
7377 if test "x$LINE" != x ; then
7378 eval "DEFAULT_$LINE"
7383 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
7388 eval "$ac_cv_use_mediactrl"
7389 if test "$no_cache" != 1; then
7390 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
7393 if test "$wxUSE_MEDIACTRL" = yes; then
7394 { echo "$as_me:$LINENO: result: yes" >&5
7395 echo "${ECHO_T}yes" >&6; }
7397 { echo "$as_me:$LINENO: result: no" >&5
7398 echo "${ECHO_T}no" >&6; }
7403 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
7404 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
7406 # Check whether --enable-gstreamer8 was given.
7407 if test "${enable_gstreamer8+set}" = set; then
7408 enableval=$enable_gstreamer8;
7409 if test "$enableval" = yes; then
7410 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
7412 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
7417 LINE=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
7418 if test "x$LINE" != x ; then
7419 eval "DEFAULT_$LINE"
7424 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
7429 eval "$ac_cv_use_gstreamer8"
7430 if test "$no_cache" != 1; then
7431 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
7434 if test "$wxUSE_GSTREAMER8" = yes; then
7435 { echo "$as_me:$LINENO: result: yes" >&5
7436 echo "${ECHO_T}yes" >&6; }
7438 { echo "$as_me:$LINENO: result: no" >&5
7439 echo "${ECHO_T}no" >&6; }
7444 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7445 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7447 # Check whether --enable-printfposparam was given.
7448 if test "${enable_printfposparam+set}" = set; then
7449 enableval=$enable_printfposparam;
7450 if test "$enableval" = yes; then
7451 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7453 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7458 LINE=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
7459 if test "x$LINE" != x ; then
7460 eval "DEFAULT_$LINE"
7465 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
7470 eval "$ac_cv_use_printfposparam"
7471 if test "$no_cache" != 1; then
7472 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
7475 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
7476 { echo "$as_me:$LINENO: result: yes" >&5
7477 echo "${ECHO_T}yes" >&6; }
7479 { echo "$as_me:$LINENO: result: no" >&5
7480 echo "${ECHO_T}no" >&6; }
7485 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7486 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7488 # Check whether --enable-zipstream was given.
7489 if test "${enable_zipstream+set}" = set; then
7490 enableval=$enable_zipstream;
7491 if test "$enableval" = yes; then
7492 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7494 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7499 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
7500 if test "x$LINE" != x ; then
7501 eval "DEFAULT_$LINE"
7506 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
7511 eval "$ac_cv_use_zipstream"
7512 if test "$no_cache" != 1; then
7513 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
7516 if test "$wxUSE_ZIPSTREAM" = yes; then
7517 { echo "$as_me:$LINENO: result: yes" >&5
7518 echo "${ECHO_T}yes" >&6; }
7520 { echo "$as_me:$LINENO: result: no" >&5
7521 echo "${ECHO_T}no" >&6; }
7527 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7528 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7530 # Check whether --enable-url was given.
7531 if test "${enable_url+set}" = set; then
7532 enableval=$enable_url;
7533 if test "$enableval" = yes; then
7534 ac_cv_use_url='wxUSE_URL=yes'
7536 ac_cv_use_url='wxUSE_URL=no'
7541 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
7542 if test "x$LINE" != x ; then
7543 eval "DEFAULT_$LINE"
7548 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
7553 eval "$ac_cv_use_url"
7554 if test "$no_cache" != 1; then
7555 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
7558 if test "$wxUSE_URL" = yes; then
7559 { echo "$as_me:$LINENO: result: yes" >&5
7560 echo "${ECHO_T}yes" >&6; }
7562 { echo "$as_me:$LINENO: result: no" >&5
7563 echo "${ECHO_T}no" >&6; }
7568 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7569 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7571 # Check whether --enable-variant was given.
7572 if test "${enable_variant+set}" = set; then
7573 enableval=$enable_variant;
7574 if test "$enableval" = yes; then
7575 ac_cv_use_variant='wxUSE_VARIANT=yes'
7577 ac_cv_use_variant='wxUSE_VARIANT=no'
7582 LINE=`grep "wxUSE_VARIANT" ${wx_arg_cache_file}`
7583 if test "x$LINE" != x ; then
7584 eval "DEFAULT_$LINE"
7589 ac_cv_use_variant='wxUSE_VARIANT='$DEFAULT_wxUSE_VARIANT
7594 eval "$ac_cv_use_variant"
7595 if test "$no_cache" != 1; then
7596 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
7599 if test "$wxUSE_VARIANT" = yes; then
7600 { echo "$as_me:$LINENO: result: yes" >&5
7601 echo "${ECHO_T}yes" >&6; }
7603 { echo "$as_me:$LINENO: result: no" >&5
7604 echo "${ECHO_T}no" >&6; }
7609 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7610 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7612 # Check whether --enable-protocol was given.
7613 if test "${enable_protocol+set}" = set; then
7614 enableval=$enable_protocol;
7615 if test "$enableval" = yes; then
7616 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
7618 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
7623 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
7624 if test "x$LINE" != x ; then
7625 eval "DEFAULT_$LINE"
7630 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
7635 eval "$ac_cv_use_protocol"
7636 if test "$no_cache" != 1; then
7637 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
7640 if test "$wxUSE_PROTOCOL" = yes; then
7641 { echo "$as_me:$LINENO: result: yes" >&5
7642 echo "${ECHO_T}yes" >&6; }
7644 { echo "$as_me:$LINENO: result: no" >&5
7645 echo "${ECHO_T}no" >&6; }
7650 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
7651 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
7653 # Check whether --enable-protocol_http was given.
7654 if test "${enable_protocol_http+set}" = set; then
7655 enableval=$enable_protocol_http;
7656 if test "$enableval" = yes; then
7657 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
7659 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
7664 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
7665 if test "x$LINE" != x ; then
7666 eval "DEFAULT_$LINE"
7671 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
7676 eval "$ac_cv_use_protocol_http"
7677 if test "$no_cache" != 1; then
7678 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
7681 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
7682 { echo "$as_me:$LINENO: result: yes" >&5
7683 echo "${ECHO_T}yes" >&6; }
7685 { echo "$as_me:$LINENO: result: no" >&5
7686 echo "${ECHO_T}no" >&6; }
7691 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
7692 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
7694 # Check whether --enable-protocol_ftp was given.
7695 if test "${enable_protocol_ftp+set}" = set; then
7696 enableval=$enable_protocol_ftp;
7697 if test "$enableval" = yes; then
7698 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
7700 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
7705 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
7706 if test "x$LINE" != x ; then
7707 eval "DEFAULT_$LINE"
7712 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
7717 eval "$ac_cv_use_protocol_ftp"
7718 if test "$no_cache" != 1; then
7719 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
7722 if test "$wxUSE_PROTOCOL_FTP" = yes; then
7723 { echo "$as_me:$LINENO: result: yes" >&5
7724 echo "${ECHO_T}yes" >&6; }
7726 { echo "$as_me:$LINENO: result: no" >&5
7727 echo "${ECHO_T}no" >&6; }
7732 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
7733 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
7735 # Check whether --enable-protocol_file was given.
7736 if test "${enable_protocol_file+set}" = set; then
7737 enableval=$enable_protocol_file;
7738 if test "$enableval" = yes; then
7739 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
7741 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
7746 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
7747 if test "x$LINE" != x ; then
7748 eval "DEFAULT_$LINE"
7753 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
7758 eval "$ac_cv_use_protocol_file"
7759 if test "$no_cache" != 1; then
7760 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
7763 if test "$wxUSE_PROTOCOL_FILE" = yes; then
7764 { echo "$as_me:$LINENO: result: yes" >&5
7765 echo "${ECHO_T}yes" >&6; }
7767 { echo "$as_me:$LINENO: result: no" >&5
7768 echo "${ECHO_T}no" >&6; }
7776 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
7777 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
7779 # Check whether --enable-threads was given.
7780 if test "${enable_threads+set}" = set; then
7781 enableval=$enable_threads;
7782 if test "$enableval" = yes; then
7783 ac_cv_use_threads='wxUSE_THREADS=yes'
7785 ac_cv_use_threads='wxUSE_THREADS=no'
7790 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
7791 if test "x$LINE" != x ; then
7792 eval "DEFAULT_$LINE"
7797 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
7802 eval "$ac_cv_use_threads"
7803 if test "$no_cache" != 1; then
7804 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
7807 if test "$wxUSE_THREADS" = yes; then
7808 { echo "$as_me:$LINENO: result: yes" >&5
7809 echo "${ECHO_T}yes" >&6; }
7811 { echo "$as_me:$LINENO: result: no" >&5
7812 echo "${ECHO_T}no" >&6; }
7816 if test "$wxUSE_GUI" = "yes"; then
7821 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
7822 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
7824 # Check whether --enable-docview was given.
7825 if test "${enable_docview+set}" = set; then
7826 enableval=$enable_docview;
7827 if test "$enableval" = yes; then
7828 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
7830 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
7835 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
7836 if test "x$LINE" != x ; then
7837 eval "DEFAULT_$LINE"
7842 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
7847 eval "$ac_cv_use_docview"
7848 if test "$no_cache" != 1; then
7849 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
7852 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
7853 { echo "$as_me:$LINENO: result: yes" >&5
7854 echo "${ECHO_T}yes" >&6; }
7856 { echo "$as_me:$LINENO: result: no" >&5
7857 echo "${ECHO_T}no" >&6; }
7862 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
7863 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
7865 # Check whether --enable-help was given.
7866 if test "${enable_help+set}" = set; then
7867 enableval=$enable_help;
7868 if test "$enableval" = yes; then
7869 ac_cv_use_help='wxUSE_HELP=yes'
7871 ac_cv_use_help='wxUSE_HELP=no'
7876 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
7877 if test "x$LINE" != x ; then
7878 eval "DEFAULT_$LINE"
7883 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
7888 eval "$ac_cv_use_help"
7889 if test "$no_cache" != 1; then
7890 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
7893 if test "$wxUSE_HELP" = yes; then
7894 { echo "$as_me:$LINENO: result: yes" >&5
7895 echo "${ECHO_T}yes" >&6; }
7897 { echo "$as_me:$LINENO: result: no" >&5
7898 echo "${ECHO_T}no" >&6; }
7903 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
7904 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
7906 # Check whether --enable-mshtmlhelp was given.
7907 if test "${enable_mshtmlhelp+set}" = set; then
7908 enableval=$enable_mshtmlhelp;
7909 if test "$enableval" = yes; then
7910 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
7912 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
7917 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
7918 if test "x$LINE" != x ; then
7919 eval "DEFAULT_$LINE"
7924 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
7929 eval "$ac_cv_use_mshtmlhelp"
7930 if test "$no_cache" != 1; then
7931 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
7934 if test "$wxUSE_MS_HTML_HELP" = yes; then
7935 { echo "$as_me:$LINENO: result: yes" >&5
7936 echo "${ECHO_T}yes" >&6; }
7938 { echo "$as_me:$LINENO: result: no" >&5
7939 echo "${ECHO_T}no" >&6; }
7944 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7945 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
7947 # Check whether --enable-html was given.
7948 if test "${enable_html+set}" = set; then
7949 enableval=$enable_html;
7950 if test "$enableval" = yes; then
7951 ac_cv_use_html='wxUSE_HTML=yes'
7953 ac_cv_use_html='wxUSE_HTML=no'
7958 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
7959 if test "x$LINE" != x ; then
7960 eval "DEFAULT_$LINE"
7965 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
7970 eval "$ac_cv_use_html"
7971 if test "$no_cache" != 1; then
7972 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7975 if test "$wxUSE_HTML" = yes; then
7976 { echo "$as_me:$LINENO: result: yes" >&5
7977 echo "${ECHO_T}yes" >&6; }
7979 { echo "$as_me:$LINENO: result: no" >&5
7980 echo "${ECHO_T}no" >&6; }
7985 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
7986 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
7988 # Check whether --enable-htmlhelp was given.
7989 if test "${enable_htmlhelp+set}" = set; then
7990 enableval=$enable_htmlhelp;
7991 if test "$enableval" = yes; then
7992 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
7994 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
7999 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
8000 if test "x$LINE" != x ; then
8001 eval "DEFAULT_$LINE"
8006 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
8011 eval "$ac_cv_use_htmlhelp"
8012 if test "$no_cache" != 1; then
8013 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
8016 if test "$wxUSE_WXHTML_HELP" = yes; then
8017 { echo "$as_me:$LINENO: result: yes" >&5
8018 echo "${ECHO_T}yes" >&6; }
8020 { echo "$as_me:$LINENO: result: no" >&5
8021 echo "${ECHO_T}no" >&6; }
8026 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8027 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8029 # Check whether --enable-xrc was given.
8030 if test "${enable_xrc+set}" = set; then
8031 enableval=$enable_xrc;
8032 if test "$enableval" = yes; then
8033 ac_cv_use_xrc='wxUSE_XRC=yes'
8035 ac_cv_use_xrc='wxUSE_XRC=no'
8040 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
8041 if test "x$LINE" != x ; then
8042 eval "DEFAULT_$LINE"
8047 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
8052 eval "$ac_cv_use_xrc"
8053 if test "$no_cache" != 1; then
8054 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
8057 if test "$wxUSE_XRC" = yes; then
8058 { echo "$as_me:$LINENO: result: yes" >&5
8059 echo "${ECHO_T}yes" >&6; }
8061 { echo "$as_me:$LINENO: result: no" >&5
8062 echo "${ECHO_T}no" >&6; }
8067 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8068 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8070 # Check whether --enable-aui was given.
8071 if test "${enable_aui+set}" = set; then
8072 enableval=$enable_aui;
8073 if test "$enableval" = yes; then
8074 ac_cv_use_aui='wxUSE_AUI=yes'
8076 ac_cv_use_aui='wxUSE_AUI=no'
8081 LINE=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
8082 if test "x$LINE" != x ; then
8083 eval "DEFAULT_$LINE"
8088 ac_cv_use_aui='wxUSE_AUI='$DEFAULT_wxUSE_AUI
8093 eval "$ac_cv_use_aui"
8094 if test "$no_cache" != 1; then
8095 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
8098 if test "$wxUSE_AUI" = yes; then
8099 { echo "$as_me:$LINENO: result: yes" >&5
8100 echo "${ECHO_T}yes" >&6; }
8102 { echo "$as_me:$LINENO: result: no" >&5
8103 echo "${ECHO_T}no" >&6; }
8108 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8109 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8111 # Check whether --enable-stc was given.
8112 if test "${enable_stc+set}" = set; then
8113 enableval=$enable_stc;
8114 if test "$enableval" = yes; then
8115 ac_cv_use_stc='wxUSE_STC=yes'
8117 ac_cv_use_stc='wxUSE_STC=no'
8122 LINE=`grep "wxUSE_STC" ${wx_arg_cache_file}`
8123 if test "x$LINE" != x ; then
8124 eval "DEFAULT_$LINE"
8129 ac_cv_use_stc='wxUSE_STC='$DEFAULT_wxUSE_STC
8134 eval "$ac_cv_use_stc"
8135 if test "$no_cache" != 1; then
8136 echo $ac_cv_use_stc >> ${wx_arg_cache_file}.tmp
8139 if test "$wxUSE_STC" = yes; then
8140 { echo "$as_me:$LINENO: result: yes" >&5
8141 echo "${ECHO_T}yes" >&6; }
8143 { echo "$as_me:$LINENO: result: no" >&5
8144 echo "${ECHO_T}no" >&6; }
8149 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8150 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8152 # Check whether --enable-constraints was given.
8153 if test "${enable_constraints+set}" = set; then
8154 enableval=$enable_constraints;
8155 if test "$enableval" = yes; then
8156 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8158 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8163 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
8164 if test "x$LINE" != x ; then
8165 eval "DEFAULT_$LINE"
8170 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
8175 eval "$ac_cv_use_constraints"
8176 if test "$no_cache" != 1; then
8177 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
8180 if test "$wxUSE_CONSTRAINTS" = yes; then
8181 { echo "$as_me:$LINENO: result: yes" >&5
8182 echo "${ECHO_T}yes" >&6; }
8184 { echo "$as_me:$LINENO: result: no" >&5
8185 echo "${ECHO_T}no" >&6; }
8190 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
8191 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
8193 # Check whether --enable-printarch was given.
8194 if test "${enable_printarch+set}" = set; then
8195 enableval=$enable_printarch;
8196 if test "$enableval" = yes; then
8197 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
8199 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
8204 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
8205 if test "x$LINE" != x ; then
8206 eval "DEFAULT_$LINE"
8211 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
8216 eval "$ac_cv_use_printarch"
8217 if test "$no_cache" != 1; then
8218 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
8221 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
8222 { echo "$as_me:$LINENO: result: yes" >&5
8223 echo "${ECHO_T}yes" >&6; }
8225 { echo "$as_me:$LINENO: result: no" >&5
8226 echo "${ECHO_T}no" >&6; }
8231 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8232 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8234 # Check whether --enable-mdi was given.
8235 if test "${enable_mdi+set}" = set; then
8236 enableval=$enable_mdi;
8237 if test "$enableval" = yes; then
8238 ac_cv_use_mdi='wxUSE_MDI=yes'
8240 ac_cv_use_mdi='wxUSE_MDI=no'
8245 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
8246 if test "x$LINE" != x ; then
8247 eval "DEFAULT_$LINE"
8252 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
8257 eval "$ac_cv_use_mdi"
8258 if test "$no_cache" != 1; then
8259 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
8262 if test "$wxUSE_MDI" = yes; then
8263 { echo "$as_me:$LINENO: result: yes" >&5
8264 echo "${ECHO_T}yes" >&6; }
8266 { echo "$as_me:$LINENO: result: no" >&5
8267 echo "${ECHO_T}no" >&6; }
8272 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8273 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8275 # Check whether --enable-mdidoc was given.
8276 if test "${enable_mdidoc+set}" = set; then
8277 enableval=$enable_mdidoc;
8278 if test "$enableval" = yes; then
8279 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8281 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8286 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
8287 if test "x$LINE" != x ; then
8288 eval "DEFAULT_$LINE"
8293 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
8298 eval "$ac_cv_use_mdidoc"
8299 if test "$no_cache" != 1; then
8300 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
8303 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
8304 { echo "$as_me:$LINENO: result: yes" >&5
8305 echo "${ECHO_T}yes" >&6; }
8307 { echo "$as_me:$LINENO: result: no" >&5
8308 echo "${ECHO_T}no" >&6; }
8313 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8314 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8316 # Check whether --enable-loggui was given.
8317 if test "${enable_loggui+set}" = set; then
8318 enableval=$enable_loggui;
8319 if test "$enableval" = yes; then
8320 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
8322 ac_cv_use_loggui='wxUSE_LOGGUI=no'
8327 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
8328 if test "x$LINE" != x ; then
8329 eval "DEFAULT_$LINE"
8334 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
8339 eval "$ac_cv_use_loggui"
8340 if test "$no_cache" != 1; then
8341 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
8344 if test "$wxUSE_LOGGUI" = yes; then
8345 { echo "$as_me:$LINENO: result: yes" >&5
8346 echo "${ECHO_T}yes" >&6; }
8348 { echo "$as_me:$LINENO: result: no" >&5
8349 echo "${ECHO_T}no" >&6; }
8354 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8355 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8357 # Check whether --enable-logwin was given.
8358 if test "${enable_logwin+set}" = set; then
8359 enableval=$enable_logwin;
8360 if test "$enableval" = yes; then
8361 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8363 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
8368 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
8369 if test "x$LINE" != x ; then
8370 eval "DEFAULT_$LINE"
8375 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
8380 eval "$ac_cv_use_logwin"
8381 if test "$no_cache" != 1; then
8382 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
8385 if test "$wxUSE_LOGWINDOW" = yes; then
8386 { echo "$as_me:$LINENO: result: yes" >&5
8387 echo "${ECHO_T}yes" >&6; }
8389 { echo "$as_me:$LINENO: result: no" >&5
8390 echo "${ECHO_T}no" >&6; }
8395 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8396 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8398 # Check whether --enable-logdialog was given.
8399 if test "${enable_logdialog+set}" = set; then
8400 enableval=$enable_logdialog;
8401 if test "$enableval" = yes; then
8402 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8404 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8409 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
8410 if test "x$LINE" != x ; then
8411 eval "DEFAULT_$LINE"
8416 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
8421 eval "$ac_cv_use_logdialog"
8422 if test "$no_cache" != 1; then
8423 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
8426 if test "$wxUSE_LOGDIALOG" = yes; then
8427 { echo "$as_me:$LINENO: result: yes" >&5
8428 echo "${ECHO_T}yes" >&6; }
8430 { echo "$as_me:$LINENO: result: no" >&5
8431 echo "${ECHO_T}no" >&6; }
8436 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
8437 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
8439 # Check whether --enable-webkit was given.
8440 if test "${enable_webkit+set}" = set; then
8441 enableval=$enable_webkit;
8442 if test "$enableval" = yes; then
8443 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
8445 ac_cv_use_webkit='wxUSE_WEBKIT=no'
8450 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
8451 if test "x$LINE" != x ; then
8452 eval "DEFAULT_$LINE"
8457 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
8462 eval "$ac_cv_use_webkit"
8463 if test "$no_cache" != 1; then
8464 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
8467 if test "$wxUSE_WEBKIT" = yes; then
8468 { echo "$as_me:$LINENO: result: yes" >&5
8469 echo "${ECHO_T}yes" >&6; }
8471 { echo "$as_me:$LINENO: result: no" >&5
8472 echo "${ECHO_T}no" >&6; }
8477 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
8478 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
8480 # Check whether --enable-richtext was given.
8481 if test "${enable_richtext+set}" = set; then
8482 enableval=$enable_richtext;
8483 if test "$enableval" = yes; then
8484 ac_cv_use_richtext='wxUSE_RICHTEXT=yes'
8486 ac_cv_use_richtext='wxUSE_RICHTEXT=no'
8491 LINE=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
8492 if test "x$LINE" != x ; then
8493 eval "DEFAULT_$LINE"
8498 ac_cv_use_richtext='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
8503 eval "$ac_cv_use_richtext"
8504 if test "$no_cache" != 1; then
8505 echo $ac_cv_use_richtext >> ${wx_arg_cache_file}.tmp
8508 if test "$wxUSE_RICHTEXT" = yes; then
8509 { echo "$as_me:$LINENO: result: yes" >&5
8510 echo "${ECHO_T}yes" >&6; }
8512 { echo "$as_me:$LINENO: result: no" >&5
8513 echo "${ECHO_T}no" >&6; }
8518 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
8519 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
8521 # Check whether --enable-graphics_ctx was given.
8522 if test "${enable_graphics_ctx+set}" = set; then
8523 enableval=$enable_graphics_ctx;
8524 if test "$enableval" = yes; then
8525 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
8527 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
8532 LINE=`grep "wxUSE_GRAPHICS_CONTEXT" ${wx_arg_cache_file}`
8533 if test "x$LINE" != x ; then
8534 eval "DEFAULT_$LINE"
8539 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT='$DEFAULT_wxUSE_GRAPHICS_CONTEXT
8544 eval "$ac_cv_use_graphics_ctx"
8545 if test "$no_cache" != 1; then
8546 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
8549 if test "$wxUSE_GRAPHICS_CONTEXT" = yes; then
8550 { echo "$as_me:$LINENO: result: yes" >&5
8551 echo "${ECHO_T}yes" >&6; }
8553 { echo "$as_me:$LINENO: result: no" >&5
8554 echo "${ECHO_T}no" >&6; }
8560 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
8561 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
8563 # Check whether --enable-postscript was given.
8564 if test "${enable_postscript+set}" = set; then
8565 enableval=$enable_postscript;
8566 if test "$enableval" = yes; then
8567 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
8569 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
8574 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
8575 if test "x$LINE" != x ; then
8576 eval "DEFAULT_$LINE"
8581 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
8586 eval "$ac_cv_use_postscript"
8587 if test "$no_cache" != 1; then
8588 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
8591 if test "$wxUSE_POSTSCRIPT" = yes; then
8592 { echo "$as_me:$LINENO: result: yes" >&5
8593 echo "${ECHO_T}yes" >&6; }
8595 { echo "$as_me:$LINENO: result: no" >&5
8596 echo "${ECHO_T}no" >&6; }
8604 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
8605 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
8607 # Check whether --enable-clipboard was given.
8608 if test "${enable_clipboard+set}" = set; then
8609 enableval=$enable_clipboard;
8610 if test "$enableval" = yes; then
8611 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
8613 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
8618 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
8619 if test "x$LINE" != x ; then
8620 eval "DEFAULT_$LINE"
8625 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
8630 eval "$ac_cv_use_clipboard"
8631 if test "$no_cache" != 1; then
8632 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
8635 if test "$wxUSE_CLIPBOARD" = yes; then
8636 { echo "$as_me:$LINENO: result: yes" >&5
8637 echo "${ECHO_T}yes" >&6; }
8639 { echo "$as_me:$LINENO: result: no" >&5
8640 echo "${ECHO_T}no" >&6; }
8645 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
8646 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
8648 # Check whether --enable-dnd was given.
8649 if test "${enable_dnd+set}" = set; then
8650 enableval=$enable_dnd;
8651 if test "$enableval" = yes; then
8652 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
8654 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
8659 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
8660 if test "x$LINE" != x ; then
8661 eval "DEFAULT_$LINE"
8666 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
8671 eval "$ac_cv_use_dnd"
8672 if test "$no_cache" != 1; then
8673 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
8676 if test "$wxUSE_DRAG_AND_DROP" = yes; then
8677 { echo "$as_me:$LINENO: result: yes" >&5
8678 echo "${ECHO_T}yes" >&6; }
8680 { echo "$as_me:$LINENO: result: no" >&5
8681 echo "${ECHO_T}no" >&6; }
8686 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
8687 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
8689 # Check whether --enable-metafile was given.
8690 if test "${enable_metafile+set}" = set; then
8691 enableval=$enable_metafile;
8692 if test "$enableval" = yes; then
8693 ac_cv_use_metafile='wxUSE_METAFILE=yes'
8695 ac_cv_use_metafile='wxUSE_METAFILE=no'
8700 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8701 if test "x$LINE" != x ; then
8702 eval "DEFAULT_$LINE"
8707 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8712 eval "$ac_cv_use_metafile"
8713 if test "$no_cache" != 1; then
8714 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8717 if test "$wxUSE_METAFILE" = yes; then
8718 { echo "$as_me:$LINENO: result: yes" >&5
8719 echo "${ECHO_T}yes" >&6; }
8721 { echo "$as_me:$LINENO: result: no" >&5
8722 echo "${ECHO_T}no" >&6; }
8730 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
8731 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
8733 # Check whether --enable-controls was given.
8734 if test "${enable_controls+set}" = set; then
8735 enableval=$enable_controls;
8736 if test "$enableval" = yes; then
8737 ac_cv_use_controls='wxUSE_CONTROLS=yes'
8739 ac_cv_use_controls='wxUSE_CONTROLS=no'
8744 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
8745 if test "x$LINE" != x ; then
8746 eval "DEFAULT_$LINE"
8751 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
8756 eval "$ac_cv_use_controls"
8757 if test "$no_cache" != 1; then
8758 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
8761 if test "$wxUSE_CONTROLS" = yes; then
8762 { echo "$as_me:$LINENO: result: yes" >&5
8763 echo "${ECHO_T}yes" >&6; }
8765 { echo "$as_me:$LINENO: result: no" >&5
8766 echo "${ECHO_T}no" >&6; }
8770 if test "$wxUSE_CONTROLS" = "yes"; then
8771 DEFAULT_wxUSE_ACCEL=yes
8772 DEFAULT_wxUSE_ANIMATIONCTRL=yes
8773 DEFAULT_wxUSE_BMPBUTTON=yes
8774 DEFAULT_wxUSE_BUTTON=yes
8775 DEFAULT_wxUSE_CALCTRL=yes
8776 DEFAULT_wxUSE_CARET=yes
8777 DEFAULT_wxUSE_COMBOBOX=yes
8778 DEFAULT_wxUSE_CHECKBOX=yes
8779 DEFAULT_wxUSE_CHECKLISTBOX=yes
8780 DEFAULT_wxUSE_CHOICE=yes
8781 DEFAULT_wxUSE_CHOICEBOOK=yes
8782 DEFAULT_wxUSE_COLLPANE=yes
8783 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
8784 DEFAULT_wxUSE_COMBOBOX=yes
8785 DEFAULT_wxUSE_DATEPICKCTRL=yes
8786 DEFAULT_wxUSE_DISPLAY=yes
8787 DEFAULT_wxUSE_DETECT_SM=yes
8788 DEFAULT_wxUSE_DIRPICKERCTRL=yes
8789 DEFAULT_wxUSE_FILEPICKERCTRL=yes
8790 DEFAULT_wxUSE_FONTPICKERCTRL=yes
8791 DEFAULT_wxUSE_GAUGE=yes
8792 DEFAULT_wxUSE_GRID=yes
8793 DEFAULT_wxUSE_HYPERLINKCTRL=yes
8794 DEFAULT_wxUSE_DATAVIEWCTRL=no
8795 DEFAULT_wxUSE_IMAGLIST=yes
8796 DEFAULT_wxUSE_LISTBOOK=yes
8797 DEFAULT_wxUSE_LISTBOX=yes
8798 DEFAULT_wxUSE_LISTCTRL=yes
8799 DEFAULT_wxUSE_NOTEBOOK=yes
8800 DEFAULT_wxUSE_RADIOBOX=yes
8801 DEFAULT_wxUSE_RADIOBTN=yes
8802 DEFAULT_wxUSE_SASH=yes
8803 DEFAULT_wxUSE_SCROLLBAR=yes
8804 DEFAULT_wxUSE_SEARCHCTRL=yes
8805 DEFAULT_wxUSE_SLIDER=yes
8806 DEFAULT_wxUSE_SPINBTN=yes
8807 DEFAULT_wxUSE_SPINCTRL=yes
8808 DEFAULT_wxUSE_SPLITTER=yes
8809 DEFAULT_wxUSE_STATBMP=yes
8810 DEFAULT_wxUSE_STATBOX=yes
8811 DEFAULT_wxUSE_STATLINE=yes
8812 DEFAULT_wxUSE_STATUSBAR=yes
8813 DEFAULT_wxUSE_TAB_DIALOG=yes
8814 DEFAULT_wxUSE_TOGGLEBTN=yes
8815 DEFAULT_wxUSE_TOOLBAR=yes
8816 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
8817 DEFAULT_wxUSE_TOOLTIPS=yes
8818 DEFAULT_wxUSE_TREEBOOK=yes
8819 DEFAULT_wxUSE_TOOLBOOK=yes
8820 DEFAULT_wxUSE_TREECTRL=yes
8821 DEFAULT_wxUSE_POPUPWIN=yes
8822 DEFAULT_wxUSE_TIPWINDOW=yes
8823 elif test "$wxUSE_CONTROLS" = "no"; then
8824 DEFAULT_wxUSE_ACCEL=no
8825 DEFAULT_wxUSE_ANIMATIONCTRL=no
8826 DEFAULT_wxUSE_BMPBUTTON=no
8827 DEFAULT_wxUSE_BUTTON=no
8828 DEFAULT_wxUSE_CALCTRL=no
8829 DEFAULT_wxUSE_CARET=no
8830 DEFAULT_wxUSE_COLLPANE=no
8831 DEFAULT_wxUSE_COMBOBOX=no
8832 DEFAULT_wxUSE_CHECKBOX=no
8833 DEFAULT_wxUSE_CHECKLISTBOX=no
8834 DEFAULT_wxUSE_CHOICE=no
8835 DEFAULT_wxUSE_CHOICEBOOK=no
8836 DEFAULT_wxUSE_COLOURPICKERCTRL=no
8837 DEFAULT_wxUSE_COMBOBOX=no
8838 DEFAULT_wxUSE_DATEPICKCTRL=no
8839 DEFAULT_wxUSE_DISPLAY=no
8840 DEFAULT_wxUSE_DETECT_SM=no
8841 DEFAULT_wxUSE_DIRPICKERCTRL=no
8842 DEFAULT_wxUSE_FILEPICKERCTRL=no
8843 DEFAULT_wxUSE_FONTPICKERCTRL=no
8844 DEFAULT_wxUSE_GAUGE=no
8845 DEFAULT_wxUSE_GRID=no
8846 DEFAULT_wxUSE_HYPERLINKCTRL=no
8847 DEFAULT_wxUSE_DATAVIEWCTRL=no
8848 DEFAULT_wxUSE_IMAGLIST=no
8849 DEFAULT_wxUSE_LISTBOOK=no
8850 DEFAULT_wxUSE_LISTBOX=no
8851 DEFAULT_wxUSE_LISTCTRL=no
8852 DEFAULT_wxUSE_NOTEBOOK=no
8853 DEFAULT_wxUSE_RADIOBOX=no
8854 DEFAULT_wxUSE_RADIOBTN=no
8855 DEFAULT_wxUSE_SASH=no
8856 DEFAULT_wxUSE_SCROLLBAR=no
8857 DEFAULT_wxUSE_SEARCHCTRL=no
8858 DEFAULT_wxUSE_SLIDER=no
8859 DEFAULT_wxUSE_SPINBTN=no
8860 DEFAULT_wxUSE_SPINCTRL=no
8861 DEFAULT_wxUSE_SPLITTER=no
8862 DEFAULT_wxUSE_STATBMP=no
8863 DEFAULT_wxUSE_STATBOX=no
8864 DEFAULT_wxUSE_STATLINE=no
8865 DEFAULT_wxUSE_STATUSBAR=no
8866 DEFAULT_wxUSE_TAB_DIALOG=no
8867 DEFAULT_wxUSE_TOGGLEBTN=no
8868 DEFAULT_wxUSE_TOOLBAR=no
8869 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
8870 DEFAULT_wxUSE_TOOLTIPS=no
8871 DEFAULT_wxUSE_TREEBOOK=no
8872 DEFAULT_wxUSE_TOOLBOOK=no
8873 DEFAULT_wxUSE_TREECTRL=no
8874 DEFAULT_wxUSE_POPUPWIN=no
8875 DEFAULT_wxUSE_TIPWINDOW=no
8880 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
8881 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
8883 # Check whether --enable-accel was given.
8884 if test "${enable_accel+set}" = set; then
8885 enableval=$enable_accel;
8886 if test "$enableval" = yes; then
8887 ac_cv_use_accel='wxUSE_ACCEL=yes'
8889 ac_cv_use_accel='wxUSE_ACCEL=no'
8894 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
8895 if test "x$LINE" != x ; then
8896 eval "DEFAULT_$LINE"
8901 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
8906 eval "$ac_cv_use_accel"
8907 if test "$no_cache" != 1; then
8908 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
8911 if test "$wxUSE_ACCEL" = yes; then
8912 { echo "$as_me:$LINENO: result: yes" >&5
8913 echo "${ECHO_T}yes" >&6; }
8915 { echo "$as_me:$LINENO: result: no" >&5
8916 echo "${ECHO_T}no" >&6; }
8921 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
8922 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
8924 # Check whether --enable-animatectrl was given.
8925 if test "${enable_animatectrl+set}" = set; then
8926 enableval=$enable_animatectrl;
8927 if test "$enableval" = yes; then
8928 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
8930 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
8935 LINE=`grep "wxUSE_ANIMATIONCTRL" ${wx_arg_cache_file}`
8936 if test "x$LINE" != x ; then
8937 eval "DEFAULT_$LINE"
8942 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL='$DEFAULT_wxUSE_ANIMATIONCTRL
8947 eval "$ac_cv_use_animatectrl"
8948 if test "$no_cache" != 1; then
8949 echo $ac_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
8952 if test "$wxUSE_ANIMATIONCTRL" = yes; then
8953 { echo "$as_me:$LINENO: result: yes" >&5
8954 echo "${ECHO_T}yes" >&6; }
8956 { echo "$as_me:$LINENO: result: no" >&5
8957 echo "${ECHO_T}no" >&6; }
8962 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
8963 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
8965 # Check whether --enable-button was given.
8966 if test "${enable_button+set}" = set; then
8967 enableval=$enable_button;
8968 if test "$enableval" = yes; then
8969 ac_cv_use_button='wxUSE_BUTTON=yes'
8971 ac_cv_use_button='wxUSE_BUTTON=no'
8976 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
8977 if test "x$LINE" != x ; then
8978 eval "DEFAULT_$LINE"
8983 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
8988 eval "$ac_cv_use_button"
8989 if test "$no_cache" != 1; then
8990 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
8993 if test "$wxUSE_BUTTON" = yes; then
8994 { echo "$as_me:$LINENO: result: yes" >&5
8995 echo "${ECHO_T}yes" >&6; }
8997 { echo "$as_me:$LINENO: result: no" >&5
8998 echo "${ECHO_T}no" >&6; }
9003 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9004 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9006 # Check whether --enable-bmpbutton was given.
9007 if test "${enable_bmpbutton+set}" = set; then
9008 enableval=$enable_bmpbutton;
9009 if test "$enableval" = yes; then
9010 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
9012 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
9017 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
9018 if test "x$LINE" != x ; then
9019 eval "DEFAULT_$LINE"
9024 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
9029 eval "$ac_cv_use_bmpbutton"
9030 if test "$no_cache" != 1; then
9031 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
9034 if test "$wxUSE_BMPBUTTON" = yes; then
9035 { echo "$as_me:$LINENO: result: yes" >&5
9036 echo "${ECHO_T}yes" >&6; }
9038 { echo "$as_me:$LINENO: result: no" >&5
9039 echo "${ECHO_T}no" >&6; }
9044 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9045 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9047 # Check whether --enable-bmpcombobox was given.
9048 if test "${enable_bmpcombobox+set}" = set; then
9049 enableval=$enable_bmpcombobox;
9050 if test "$enableval" = yes; then
9051 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9053 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9058 LINE=`grep "wxUSE_BITMAPCOMBOBOX" ${wx_arg_cache_file}`
9059 if test "x$LINE" != x ; then
9060 eval "DEFAULT_$LINE"
9065 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX='$DEFAULT_wxUSE_BITMAPCOMBOBOX
9070 eval "$ac_cv_use_bmpcombobox"
9071 if test "$no_cache" != 1; then
9072 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
9075 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
9076 { echo "$as_me:$LINENO: result: yes" >&5
9077 echo "${ECHO_T}yes" >&6; }
9079 { echo "$as_me:$LINENO: result: no" >&5
9080 echo "${ECHO_T}no" >&6; }
9085 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9086 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9088 # Check whether --enable-calendar was given.
9089 if test "${enable_calendar+set}" = set; then
9090 enableval=$enable_calendar;
9091 if test "$enableval" = yes; then
9092 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
9094 ac_cv_use_calendar='wxUSE_CALCTRL=no'
9099 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
9100 if test "x$LINE" != x ; then
9101 eval "DEFAULT_$LINE"
9106 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
9111 eval "$ac_cv_use_calendar"
9112 if test "$no_cache" != 1; then
9113 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
9116 if test "$wxUSE_CALCTRL" = yes; then
9117 { echo "$as_me:$LINENO: result: yes" >&5
9118 echo "${ECHO_T}yes" >&6; }
9120 { echo "$as_me:$LINENO: result: no" >&5
9121 echo "${ECHO_T}no" >&6; }
9126 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9127 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9129 # Check whether --enable-caret was given.
9130 if test "${enable_caret+set}" = set; then
9131 enableval=$enable_caret;
9132 if test "$enableval" = yes; then
9133 ac_cv_use_caret='wxUSE_CARET=yes'
9135 ac_cv_use_caret='wxUSE_CARET=no'
9140 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
9141 if test "x$LINE" != x ; then
9142 eval "DEFAULT_$LINE"
9147 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
9152 eval "$ac_cv_use_caret"
9153 if test "$no_cache" != 1; then
9154 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
9157 if test "$wxUSE_CARET" = yes; then
9158 { echo "$as_me:$LINENO: result: yes" >&5
9159 echo "${ECHO_T}yes" >&6; }
9161 { echo "$as_me:$LINENO: result: no" >&5
9162 echo "${ECHO_T}no" >&6; }
9167 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9168 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9170 # Check whether --enable-checkbox was given.
9171 if test "${enable_checkbox+set}" = set; then
9172 enableval=$enable_checkbox;
9173 if test "$enableval" = yes; then
9174 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9176 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
9181 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
9182 if test "x$LINE" != x ; then
9183 eval "DEFAULT_$LINE"
9188 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
9193 eval "$ac_cv_use_checkbox"
9194 if test "$no_cache" != 1; then
9195 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
9198 if test "$wxUSE_CHECKBOX" = yes; then
9199 { echo "$as_me:$LINENO: result: yes" >&5
9200 echo "${ECHO_T}yes" >&6; }
9202 { echo "$as_me:$LINENO: result: no" >&5
9203 echo "${ECHO_T}no" >&6; }
9208 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9209 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9211 # Check whether --enable-checklst was given.
9212 if test "${enable_checklst+set}" = set; then
9213 enableval=$enable_checklst;
9214 if test "$enableval" = yes; then
9215 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
9217 ac_cv_use_checklst='wxUSE_CHECKLST=no'
9222 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
9223 if test "x$LINE" != x ; then
9224 eval "DEFAULT_$LINE"
9229 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
9234 eval "$ac_cv_use_checklst"
9235 if test "$no_cache" != 1; then
9236 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
9239 if test "$wxUSE_CHECKLST" = yes; then
9240 { echo "$as_me:$LINENO: result: yes" >&5
9241 echo "${ECHO_T}yes" >&6; }
9243 { echo "$as_me:$LINENO: result: no" >&5
9244 echo "${ECHO_T}no" >&6; }
9249 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9250 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9252 # Check whether --enable-choice was given.
9253 if test "${enable_choice+set}" = set; then
9254 enableval=$enable_choice;
9255 if test "$enableval" = yes; then
9256 ac_cv_use_choice='wxUSE_CHOICE=yes'
9258 ac_cv_use_choice='wxUSE_CHOICE=no'
9263 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
9264 if test "x$LINE" != x ; then
9265 eval "DEFAULT_$LINE"
9270 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
9275 eval "$ac_cv_use_choice"
9276 if test "$no_cache" != 1; then
9277 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
9280 if test "$wxUSE_CHOICE" = yes; then
9281 { echo "$as_me:$LINENO: result: yes" >&5
9282 echo "${ECHO_T}yes" >&6; }
9284 { echo "$as_me:$LINENO: result: no" >&5
9285 echo "${ECHO_T}no" >&6; }
9290 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
9291 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
9293 # Check whether --enable-choicebook was given.
9294 if test "${enable_choicebook+set}" = set; then
9295 enableval=$enable_choicebook;
9296 if test "$enableval" = yes; then
9297 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
9299 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
9304 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
9305 if test "x$LINE" != x ; then
9306 eval "DEFAULT_$LINE"
9311 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
9316 eval "$ac_cv_use_choicebook"
9317 if test "$no_cache" != 1; then
9318 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
9321 if test "$wxUSE_CHOICEBOOK" = yes; then
9322 { echo "$as_me:$LINENO: result: yes" >&5
9323 echo "${ECHO_T}yes" >&6; }
9325 { echo "$as_me:$LINENO: result: no" >&5
9326 echo "${ECHO_T}no" >&6; }
9331 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
9332 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
9334 # Check whether --enable-collpane was given.
9335 if test "${enable_collpane+set}" = set; then
9336 enableval=$enable_collpane;
9337 if test "$enableval" = yes; then
9338 ac_cv_use_collpane='wxUSE_COLLPANE=yes'
9340 ac_cv_use_collpane='wxUSE_COLLPANE=no'
9345 LINE=`grep "wxUSE_COLLPANE" ${wx_arg_cache_file}`
9346 if test "x$LINE" != x ; then
9347 eval "DEFAULT_$LINE"
9352 ac_cv_use_collpane='wxUSE_COLLPANE='$DEFAULT_wxUSE_COLLPANE
9357 eval "$ac_cv_use_collpane"
9358 if test "$no_cache" != 1; then
9359 echo $ac_cv_use_collpane >> ${wx_arg_cache_file}.tmp
9362 if test "$wxUSE_COLLPANE" = yes; then
9363 { echo "$as_me:$LINENO: result: yes" >&5
9364 echo "${ECHO_T}yes" >&6; }
9366 { echo "$as_me:$LINENO: result: no" >&5
9367 echo "${ECHO_T}no" >&6; }
9372 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
9373 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
9375 # Check whether --enable-colourpicker was given.
9376 if test "${enable_colourpicker+set}" = set; then
9377 enableval=$enable_colourpicker;
9378 if test "$enableval" = yes; then
9379 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
9381 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
9386 LINE=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
9387 if test "x$LINE" != x ; then
9388 eval "DEFAULT_$LINE"
9393 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
9398 eval "$ac_cv_use_colourpicker"
9399 if test "$no_cache" != 1; then
9400 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
9403 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
9404 { echo "$as_me:$LINENO: result: yes" >&5
9405 echo "${ECHO_T}yes" >&6; }
9407 { echo "$as_me:$LINENO: result: no" >&5
9408 echo "${ECHO_T}no" >&6; }
9413 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
9414 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
9416 # Check whether --enable-combobox was given.
9417 if test "${enable_combobox+set}" = set; then
9418 enableval=$enable_combobox;
9419 if test "$enableval" = yes; then
9420 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
9422 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
9427 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
9428 if test "x$LINE" != x ; then
9429 eval "DEFAULT_$LINE"
9434 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
9439 eval "$ac_cv_use_combobox"
9440 if test "$no_cache" != 1; then
9441 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
9444 if test "$wxUSE_COMBOBOX" = yes; then
9445 { echo "$as_me:$LINENO: result: yes" >&5
9446 echo "${ECHO_T}yes" >&6; }
9448 { echo "$as_me:$LINENO: result: no" >&5
9449 echo "${ECHO_T}no" >&6; }
9454 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
9455 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
9457 # Check whether --enable-comboctrl was given.
9458 if test "${enable_comboctrl+set}" = set; then
9459 enableval=$enable_comboctrl;
9460 if test "$enableval" = yes; then
9461 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
9463 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
9468 LINE=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
9469 if test "x$LINE" != x ; then
9470 eval "DEFAULT_$LINE"
9475 ac_cv_use_comboctrl='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
9480 eval "$ac_cv_use_comboctrl"
9481 if test "$no_cache" != 1; then
9482 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
9485 if test "$wxUSE_COMBOCTRL" = yes; then
9486 { echo "$as_me:$LINENO: result: yes" >&5
9487 echo "${ECHO_T}yes" >&6; }
9489 { echo "$as_me:$LINENO: result: no" >&5
9490 echo "${ECHO_T}no" >&6; }
9495 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
9496 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
9498 # Check whether --enable-datepick was given.
9499 if test "${enable_datepick+set}" = set; then
9500 enableval=$enable_datepick;
9501 if test "$enableval" = yes; then
9502 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
9504 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
9509 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
9510 if test "x$LINE" != x ; then
9511 eval "DEFAULT_$LINE"
9516 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
9521 eval "$ac_cv_use_datepick"
9522 if test "$no_cache" != 1; then
9523 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
9526 if test "$wxUSE_DATEPICKCTRL" = yes; then
9527 { echo "$as_me:$LINENO: result: yes" >&5
9528 echo "${ECHO_T}yes" >&6; }
9530 { echo "$as_me:$LINENO: result: no" >&5
9531 echo "${ECHO_T}no" >&6; }
9536 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
9537 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
9539 # Check whether --enable-dirpicker was given.
9540 if test "${enable_dirpicker+set}" = set; then
9541 enableval=$enable_dirpicker;
9542 if test "$enableval" = yes; then
9543 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
9545 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
9550 LINE=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
9551 if test "x$LINE" != x ; then
9552 eval "DEFAULT_$LINE"
9557 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
9562 eval "$ac_cv_use_dirpicker"
9563 if test "$no_cache" != 1; then
9564 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
9567 if test "$wxUSE_DIRPICKERCTRL" = yes; then
9568 { echo "$as_me:$LINENO: result: yes" >&5
9569 echo "${ECHO_T}yes" >&6; }
9571 { echo "$as_me:$LINENO: result: no" >&5
9572 echo "${ECHO_T}no" >&6; }
9577 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
9578 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
9580 # Check whether --enable-display was given.
9581 if test "${enable_display+set}" = set; then
9582 enableval=$enable_display;
9583 if test "$enableval" = yes; then
9584 ac_cv_use_display='wxUSE_DISPLAY=yes'
9586 ac_cv_use_display='wxUSE_DISPLAY=no'
9591 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
9592 if test "x$LINE" != x ; then
9593 eval "DEFAULT_$LINE"
9598 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
9603 eval "$ac_cv_use_display"
9604 if test "$no_cache" != 1; then
9605 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
9608 if test "$wxUSE_DISPLAY" = yes; then
9609 { echo "$as_me:$LINENO: result: yes" >&5
9610 echo "${ECHO_T}yes" >&6; }
9612 { echo "$as_me:$LINENO: result: no" >&5
9613 echo "${ECHO_T}no" >&6; }
9618 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
9619 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
9621 # Check whether --enable-detect_sm was given.
9622 if test "${enable_detect_sm+set}" = set; then
9623 enableval=$enable_detect_sm;
9624 if test "$enableval" = yes; then
9625 ac_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
9627 ac_cv_use_detect_sm='wxUSE_DETECT_SM=no'
9632 LINE=`grep "wxUSE_DETECT_SM" ${wx_arg_cache_file}`
9633 if test "x$LINE" != x ; then
9634 eval "DEFAULT_$LINE"
9639 ac_cv_use_detect_sm='wxUSE_DETECT_SM='$DEFAULT_wxUSE_DETECT_SM
9644 eval "$ac_cv_use_detect_sm"
9645 if test "$no_cache" != 1; then
9646 echo $ac_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
9649 if test "$wxUSE_DETECT_SM" = yes; then
9650 { echo "$as_me:$LINENO: result: yes" >&5
9651 echo "${ECHO_T}yes" >&6; }
9653 { echo "$as_me:$LINENO: result: no" >&5
9654 echo "${ECHO_T}no" >&6; }
9659 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
9660 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
9662 # Check whether --enable-editablebox was given.
9663 if test "${enable_editablebox+set}" = set; then
9664 enableval=$enable_editablebox;
9665 if test "$enableval" = yes; then
9666 ac_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
9668 ac_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
9673 LINE=`grep "wxUSE_EDITABLELISTBOX" ${wx_arg_cache_file}`
9674 if test "x$LINE" != x ; then
9675 eval "DEFAULT_$LINE"
9680 ac_cv_use_editablebox='wxUSE_EDITABLELISTBOX='$DEFAULT_wxUSE_EDITABLELISTBOX
9685 eval "$ac_cv_use_editablebox"
9686 if test "$no_cache" != 1; then
9687 echo $ac_cv_use_editablebox >> ${wx_arg_cache_file}.tmp
9690 if test "$wxUSE_EDITABLELISTBOX" = yes; then
9691 { echo "$as_me:$LINENO: result: yes" >&5
9692 echo "${ECHO_T}yes" >&6; }
9694 { echo "$as_me:$LINENO: result: no" >&5
9695 echo "${ECHO_T}no" >&6; }
9700 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
9701 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
9703 # Check whether --enable-filepicker was given.
9704 if test "${enable_filepicker+set}" = set; then
9705 enableval=$enable_filepicker;
9706 if test "$enableval" = yes; then
9707 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
9709 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
9714 LINE=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
9715 if test "x$LINE" != x ; then
9716 eval "DEFAULT_$LINE"
9721 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
9726 eval "$ac_cv_use_filepicker"
9727 if test "$no_cache" != 1; then
9728 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
9731 if test "$wxUSE_FILEPICKERCTRL" = yes; then
9732 { echo "$as_me:$LINENO: result: yes" >&5
9733 echo "${ECHO_T}yes" >&6; }
9735 { echo "$as_me:$LINENO: result: no" >&5
9736 echo "${ECHO_T}no" >&6; }
9741 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
9742 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
9744 # Check whether --enable-fontpicker was given.
9745 if test "${enable_fontpicker+set}" = set; then
9746 enableval=$enable_fontpicker;
9747 if test "$enableval" = yes; then
9748 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
9750 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
9755 LINE=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
9756 if test "x$LINE" != x ; then
9757 eval "DEFAULT_$LINE"
9762 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
9767 eval "$ac_cv_use_fontpicker"
9768 if test "$no_cache" != 1; then
9769 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
9772 if test "$wxUSE_FONTPICKERCTRL" = yes; then
9773 { echo "$as_me:$LINENO: result: yes" >&5
9774 echo "${ECHO_T}yes" >&6; }
9776 { echo "$as_me:$LINENO: result: no" >&5
9777 echo "${ECHO_T}no" >&6; }
9782 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
9783 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
9785 # Check whether --enable-gauge was given.
9786 if test "${enable_gauge+set}" = set; then
9787 enableval=$enable_gauge;
9788 if test "$enableval" = yes; then
9789 ac_cv_use_gauge='wxUSE_GAUGE=yes'
9791 ac_cv_use_gauge='wxUSE_GAUGE=no'
9796 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
9797 if test "x$LINE" != x ; then
9798 eval "DEFAULT_$LINE"
9803 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
9808 eval "$ac_cv_use_gauge"
9809 if test "$no_cache" != 1; then
9810 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
9813 if test "$wxUSE_GAUGE" = yes; then
9814 { echo "$as_me:$LINENO: result: yes" >&5
9815 echo "${ECHO_T}yes" >&6; }
9817 { echo "$as_me:$LINENO: result: no" >&5
9818 echo "${ECHO_T}no" >&6; }
9823 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
9824 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
9826 # Check whether --enable-grid was given.
9827 if test "${enable_grid+set}" = set; then
9828 enableval=$enable_grid;
9829 if test "$enableval" = yes; then
9830 ac_cv_use_grid='wxUSE_GRID=yes'
9832 ac_cv_use_grid='wxUSE_GRID=no'
9837 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
9838 if test "x$LINE" != x ; then
9839 eval "DEFAULT_$LINE"
9844 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
9849 eval "$ac_cv_use_grid"
9850 if test "$no_cache" != 1; then
9851 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
9854 if test "$wxUSE_GRID" = yes; then
9855 { echo "$as_me:$LINENO: result: yes" >&5
9856 echo "${ECHO_T}yes" >&6; }
9858 { echo "$as_me:$LINENO: result: no" >&5
9859 echo "${ECHO_T}no" >&6; }
9864 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
9865 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
9867 # Check whether --enable-dataviewctrl was given.
9868 if test "${enable_dataviewctrl+set}" = set; then
9869 enableval=$enable_dataviewctrl;
9870 if test "$enableval" = yes; then
9871 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
9873 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
9878 LINE=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
9879 if test "x$LINE" != x ; then
9880 eval "DEFAULT_$LINE"
9885 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
9890 eval "$ac_cv_use_dataviewctrl"
9891 if test "$no_cache" != 1; then
9892 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
9895 if test "$wxUSE_DATAVIEWCTRL" = yes; then
9896 { echo "$as_me:$LINENO: result: yes" >&5
9897 echo "${ECHO_T}yes" >&6; }
9899 { echo "$as_me:$LINENO: result: no" >&5
9900 echo "${ECHO_T}no" >&6; }
9905 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
9906 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
9908 # Check whether --enable-hyperlink was given.
9909 if test "${enable_hyperlink+set}" = set; then
9910 enableval=$enable_hyperlink;
9911 if test "$enableval" = yes; then
9912 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
9914 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
9919 LINE=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
9920 if test "x$LINE" != x ; then
9921 eval "DEFAULT_$LINE"
9926 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
9931 eval "$ac_cv_use_hyperlink"
9932 if test "$no_cache" != 1; then
9933 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
9936 if test "$wxUSE_HYPERLINKCTRL" = yes; then
9937 { echo "$as_me:$LINENO: result: yes" >&5
9938 echo "${ECHO_T}yes" >&6; }
9940 { echo "$as_me:$LINENO: result: no" >&5
9941 echo "${ECHO_T}no" >&6; }
9946 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
9947 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
9949 # Check whether --enable-imaglist was given.
9950 if test "${enable_imaglist+set}" = set; then
9951 enableval=$enable_imaglist;
9952 if test "$enableval" = yes; then
9953 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
9955 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
9960 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
9961 if test "x$LINE" != x ; then
9962 eval "DEFAULT_$LINE"
9967 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
9972 eval "$ac_cv_use_imaglist"
9973 if test "$no_cache" != 1; then
9974 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
9977 if test "$wxUSE_IMAGLIST" = yes; then
9978 { echo "$as_me:$LINENO: result: yes" >&5
9979 echo "${ECHO_T}yes" >&6; }
9981 { echo "$as_me:$LINENO: result: no" >&5
9982 echo "${ECHO_T}no" >&6; }
9987 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
9988 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
9990 # Check whether --enable-listbook was given.
9991 if test "${enable_listbook+set}" = set; then
9992 enableval=$enable_listbook;
9993 if test "$enableval" = yes; then
9994 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
9996 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
10001 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
10002 if test "x$LINE" != x ; then
10003 eval "DEFAULT_$LINE"
10008 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
10013 eval "$ac_cv_use_listbook"
10014 if test "$no_cache" != 1; then
10015 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
10018 if test "$wxUSE_LISTBOOK" = yes; then
10019 { echo "$as_me:$LINENO: result: yes" >&5
10020 echo "${ECHO_T}yes" >&6; }
10022 { echo "$as_me:$LINENO: result: no" >&5
10023 echo "${ECHO_T}no" >&6; }
10028 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
10029 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
10031 # Check whether --enable-listbox was given.
10032 if test "${enable_listbox+set}" = set; then
10033 enableval=$enable_listbox;
10034 if test "$enableval" = yes; then
10035 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
10037 ac_cv_use_listbox='wxUSE_LISTBOX=no'
10042 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
10043 if test "x$LINE" != x ; then
10044 eval "DEFAULT_$LINE"
10049 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
10054 eval "$ac_cv_use_listbox"
10055 if test "$no_cache" != 1; then
10056 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
10059 if test "$wxUSE_LISTBOX" = yes; then
10060 { echo "$as_me:$LINENO: result: yes" >&5
10061 echo "${ECHO_T}yes" >&6; }
10063 { echo "$as_me:$LINENO: result: no" >&5
10064 echo "${ECHO_T}no" >&6; }
10069 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
10070 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
10072 # Check whether --enable-listctrl was given.
10073 if test "${enable_listctrl+set}" = set; then
10074 enableval=$enable_listctrl;
10075 if test "$enableval" = yes; then
10076 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
10078 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
10083 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
10084 if test "x$LINE" != x ; then
10085 eval "DEFAULT_$LINE"
10090 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
10095 eval "$ac_cv_use_listctrl"
10096 if test "$no_cache" != 1; then
10097 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
10100 if test "$wxUSE_LISTCTRL" = yes; then
10101 { echo "$as_me:$LINENO: result: yes" >&5
10102 echo "${ECHO_T}yes" >&6; }
10104 { echo "$as_me:$LINENO: result: no" >&5
10105 echo "${ECHO_T}no" >&6; }
10110 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
10111 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
10113 # Check whether --enable-notebook was given.
10114 if test "${enable_notebook+set}" = set; then
10115 enableval=$enable_notebook;
10116 if test "$enableval" = yes; then
10117 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
10119 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
10124 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
10125 if test "x$LINE" != x ; then
10126 eval "DEFAULT_$LINE"
10131 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
10136 eval "$ac_cv_use_notebook"
10137 if test "$no_cache" != 1; then
10138 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
10141 if test "$wxUSE_NOTEBOOK" = yes; then
10142 { echo "$as_me:$LINENO: result: yes" >&5
10143 echo "${ECHO_T}yes" >&6; }
10145 { echo "$as_me:$LINENO: result: no" >&5
10146 echo "${ECHO_T}no" >&6; }
10151 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
10152 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
10154 # Check whether --enable-odcombobox was given.
10155 if test "${enable_odcombobox+set}" = set; then
10156 enableval=$enable_odcombobox;
10157 if test "$enableval" = yes; then
10158 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
10160 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
10165 LINE=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
10166 if test "x$LINE" != x ; then
10167 eval "DEFAULT_$LINE"
10172 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
10177 eval "$ac_cv_use_odcombobox"
10178 if test "$no_cache" != 1; then
10179 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
10182 if test "$wxUSE_ODCOMBOBOX" = yes; then
10183 { echo "$as_me:$LINENO: result: yes" >&5
10184 echo "${ECHO_T}yes" >&6; }
10186 { echo "$as_me:$LINENO: result: no" >&5
10187 echo "${ECHO_T}no" >&6; }
10192 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
10193 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
10195 # Check whether --enable-radiobox was given.
10196 if test "${enable_radiobox+set}" = set; then
10197 enableval=$enable_radiobox;
10198 if test "$enableval" = yes; then
10199 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
10201 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
10206 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
10207 if test "x$LINE" != x ; then
10208 eval "DEFAULT_$LINE"
10213 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
10218 eval "$ac_cv_use_radiobox"
10219 if test "$no_cache" != 1; then
10220 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
10223 if test "$wxUSE_RADIOBOX" = yes; then
10224 { echo "$as_me:$LINENO: result: yes" >&5
10225 echo "${ECHO_T}yes" >&6; }
10227 { echo "$as_me:$LINENO: result: no" >&5
10228 echo "${ECHO_T}no" >&6; }
10233 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
10234 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
10236 # Check whether --enable-radiobtn was given.
10237 if test "${enable_radiobtn+set}" = set; then
10238 enableval=$enable_radiobtn;
10239 if test "$enableval" = yes; then
10240 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
10242 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
10247 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
10248 if test "x$LINE" != x ; then
10249 eval "DEFAULT_$LINE"
10254 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
10259 eval "$ac_cv_use_radiobtn"
10260 if test "$no_cache" != 1; then
10261 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
10264 if test "$wxUSE_RADIOBTN" = yes; then
10265 { echo "$as_me:$LINENO: result: yes" >&5
10266 echo "${ECHO_T}yes" >&6; }
10268 { echo "$as_me:$LINENO: result: no" >&5
10269 echo "${ECHO_T}no" >&6; }
10274 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
10275 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
10277 # Check whether --enable-sash was given.
10278 if test "${enable_sash+set}" = set; then
10279 enableval=$enable_sash;
10280 if test "$enableval" = yes; then
10281 ac_cv_use_sash='wxUSE_SASH=yes'
10283 ac_cv_use_sash='wxUSE_SASH=no'
10288 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
10289 if test "x$LINE" != x ; then
10290 eval "DEFAULT_$LINE"
10295 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
10300 eval "$ac_cv_use_sash"
10301 if test "$no_cache" != 1; then
10302 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
10305 if test "$wxUSE_SASH" = yes; then
10306 { echo "$as_me:$LINENO: result: yes" >&5
10307 echo "${ECHO_T}yes" >&6; }
10309 { echo "$as_me:$LINENO: result: no" >&5
10310 echo "${ECHO_T}no" >&6; }
10315 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
10316 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
10318 # Check whether --enable-scrollbar was given.
10319 if test "${enable_scrollbar+set}" = set; then
10320 enableval=$enable_scrollbar;
10321 if test "$enableval" = yes; then
10322 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
10324 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
10329 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
10330 if test "x$LINE" != x ; then
10331 eval "DEFAULT_$LINE"
10336 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
10341 eval "$ac_cv_use_scrollbar"
10342 if test "$no_cache" != 1; then
10343 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
10346 if test "$wxUSE_SCROLLBAR" = yes; then
10347 { echo "$as_me:$LINENO: result: yes" >&5
10348 echo "${ECHO_T}yes" >&6; }
10350 { echo "$as_me:$LINENO: result: no" >&5
10351 echo "${ECHO_T}no" >&6; }
10356 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
10357 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
10359 # Check whether --enable-searchctrl was given.
10360 if test "${enable_searchctrl+set}" = set; then
10361 enableval=$enable_searchctrl;
10362 if test "$enableval" = yes; then
10363 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
10365 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
10370 LINE=`grep "wxUSE_SEARCHCTRL" ${wx_arg_cache_file}`
10371 if test "x$LINE" != x ; then
10372 eval "DEFAULT_$LINE"
10377 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL='$DEFAULT_wxUSE_SEARCHCTRL
10382 eval "$ac_cv_use_searchctrl"
10383 if test "$no_cache" != 1; then
10384 echo $ac_cv_use_searchctrl >> ${wx_arg_cache_file}.tmp
10387 if test "$wxUSE_SEARCHCTRL" = yes; then
10388 { echo "$as_me:$LINENO: result: yes" >&5
10389 echo "${ECHO_T}yes" >&6; }
10391 { echo "$as_me:$LINENO: result: no" >&5
10392 echo "${ECHO_T}no" >&6; }
10397 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
10398 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
10400 # Check whether --enable-slider was given.
10401 if test "${enable_slider+set}" = set; then
10402 enableval=$enable_slider;
10403 if test "$enableval" = yes; then
10404 ac_cv_use_slider='wxUSE_SLIDER=yes'
10406 ac_cv_use_slider='wxUSE_SLIDER=no'
10411 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
10412 if test "x$LINE" != x ; then
10413 eval "DEFAULT_$LINE"
10418 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
10423 eval "$ac_cv_use_slider"
10424 if test "$no_cache" != 1; then
10425 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
10428 if test "$wxUSE_SLIDER" = yes; then
10429 { echo "$as_me:$LINENO: result: yes" >&5
10430 echo "${ECHO_T}yes" >&6; }
10432 { echo "$as_me:$LINENO: result: no" >&5
10433 echo "${ECHO_T}no" >&6; }
10438 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
10439 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
10441 # Check whether --enable-spinbtn was given.
10442 if test "${enable_spinbtn+set}" = set; then
10443 enableval=$enable_spinbtn;
10444 if test "$enableval" = yes; then
10445 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
10447 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
10452 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
10453 if test "x$LINE" != x ; then
10454 eval "DEFAULT_$LINE"
10459 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
10464 eval "$ac_cv_use_spinbtn"
10465 if test "$no_cache" != 1; then
10466 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
10469 if test "$wxUSE_SPINBTN" = yes; then
10470 { echo "$as_me:$LINENO: result: yes" >&5
10471 echo "${ECHO_T}yes" >&6; }
10473 { echo "$as_me:$LINENO: result: no" >&5
10474 echo "${ECHO_T}no" >&6; }
10479 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
10480 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
10482 # Check whether --enable-spinctrl was given.
10483 if test "${enable_spinctrl+set}" = set; then
10484 enableval=$enable_spinctrl;
10485 if test "$enableval" = yes; then
10486 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
10488 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
10493 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
10494 if test "x$LINE" != x ; then
10495 eval "DEFAULT_$LINE"
10500 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
10505 eval "$ac_cv_use_spinctrl"
10506 if test "$no_cache" != 1; then
10507 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
10510 if test "$wxUSE_SPINCTRL" = yes; then
10511 { echo "$as_me:$LINENO: result: yes" >&5
10512 echo "${ECHO_T}yes" >&6; }
10514 { echo "$as_me:$LINENO: result: no" >&5
10515 echo "${ECHO_T}no" >&6; }
10520 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
10521 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
10523 # Check whether --enable-splitter was given.
10524 if test "${enable_splitter+set}" = set; then
10525 enableval=$enable_splitter;
10526 if test "$enableval" = yes; then
10527 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
10529 ac_cv_use_splitter='wxUSE_SPLITTER=no'
10534 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
10535 if test "x$LINE" != x ; then
10536 eval "DEFAULT_$LINE"
10541 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
10546 eval "$ac_cv_use_splitter"
10547 if test "$no_cache" != 1; then
10548 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
10551 if test "$wxUSE_SPLITTER" = yes; then
10552 { echo "$as_me:$LINENO: result: yes" >&5
10553 echo "${ECHO_T}yes" >&6; }
10555 { echo "$as_me:$LINENO: result: no" >&5
10556 echo "${ECHO_T}no" >&6; }
10561 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
10562 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
10564 # Check whether --enable-statbmp was given.
10565 if test "${enable_statbmp+set}" = set; then
10566 enableval=$enable_statbmp;
10567 if test "$enableval" = yes; then
10568 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
10570 ac_cv_use_statbmp='wxUSE_STATBMP=no'
10575 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
10576 if test "x$LINE" != x ; then
10577 eval "DEFAULT_$LINE"
10582 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
10587 eval "$ac_cv_use_statbmp"
10588 if test "$no_cache" != 1; then
10589 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
10592 if test "$wxUSE_STATBMP" = yes; then
10593 { echo "$as_me:$LINENO: result: yes" >&5
10594 echo "${ECHO_T}yes" >&6; }
10596 { echo "$as_me:$LINENO: result: no" >&5
10597 echo "${ECHO_T}no" >&6; }
10602 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
10603 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
10605 # Check whether --enable-statbox was given.
10606 if test "${enable_statbox+set}" = set; then
10607 enableval=$enable_statbox;
10608 if test "$enableval" = yes; then
10609 ac_cv_use_statbox='wxUSE_STATBOX=yes'
10611 ac_cv_use_statbox='wxUSE_STATBOX=no'
10616 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
10617 if test "x$LINE" != x ; then
10618 eval "DEFAULT_$LINE"
10623 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
10628 eval "$ac_cv_use_statbox"
10629 if test "$no_cache" != 1; then
10630 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
10633 if test "$wxUSE_STATBOX" = yes; then
10634 { echo "$as_me:$LINENO: result: yes" >&5
10635 echo "${ECHO_T}yes" >&6; }
10637 { echo "$as_me:$LINENO: result: no" >&5
10638 echo "${ECHO_T}no" >&6; }
10643 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
10644 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
10646 # Check whether --enable-statline was given.
10647 if test "${enable_statline+set}" = set; then
10648 enableval=$enable_statline;
10649 if test "$enableval" = yes; then
10650 ac_cv_use_statline='wxUSE_STATLINE=yes'
10652 ac_cv_use_statline='wxUSE_STATLINE=no'
10657 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
10658 if test "x$LINE" != x ; then
10659 eval "DEFAULT_$LINE"
10664 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
10669 eval "$ac_cv_use_statline"
10670 if test "$no_cache" != 1; then
10671 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
10674 if test "$wxUSE_STATLINE" = yes; then
10675 { echo "$as_me:$LINENO: result: yes" >&5
10676 echo "${ECHO_T}yes" >&6; }
10678 { echo "$as_me:$LINENO: result: no" >&5
10679 echo "${ECHO_T}no" >&6; }
10684 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
10685 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
10687 # Check whether --enable-stattext was given.
10688 if test "${enable_stattext+set}" = set; then
10689 enableval=$enable_stattext;
10690 if test "$enableval" = yes; then
10691 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
10693 ac_cv_use_stattext='wxUSE_STATTEXT=no'
10698 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
10699 if test "x$LINE" != x ; then
10700 eval "DEFAULT_$LINE"
10705 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
10710 eval "$ac_cv_use_stattext"
10711 if test "$no_cache" != 1; then
10712 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
10715 if test "$wxUSE_STATTEXT" = yes; then
10716 { echo "$as_me:$LINENO: result: yes" >&5
10717 echo "${ECHO_T}yes" >&6; }
10719 { echo "$as_me:$LINENO: result: no" >&5
10720 echo "${ECHO_T}no" >&6; }
10725 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
10726 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
10728 # Check whether --enable-statusbar was given.
10729 if test "${enable_statusbar+set}" = set; then
10730 enableval=$enable_statusbar;
10731 if test "$enableval" = yes; then
10732 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
10734 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
10739 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
10740 if test "x$LINE" != x ; then
10741 eval "DEFAULT_$LINE"
10746 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
10751 eval "$ac_cv_use_statusbar"
10752 if test "$no_cache" != 1; then
10753 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
10756 if test "$wxUSE_STATUSBAR" = yes; then
10757 { echo "$as_me:$LINENO: result: yes" >&5
10758 echo "${ECHO_T}yes" >&6; }
10760 { echo "$as_me:$LINENO: result: no" >&5
10761 echo "${ECHO_T}no" >&6; }
10766 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
10767 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
10769 # Check whether --enable-tabdialog was given.
10770 if test "${enable_tabdialog+set}" = set; then
10771 enableval=$enable_tabdialog;
10772 if test "$enableval" = yes; then
10773 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
10775 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
10780 LINE=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
10781 if test "x$LINE" != x ; then
10782 eval "DEFAULT_$LINE"
10787 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
10792 eval "$ac_cv_use_tabdialog"
10793 if test "$no_cache" != 1; then
10794 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
10797 if test "$wxUSE_TAB_DIALOG" = yes; then
10798 { echo "$as_me:$LINENO: result: yes" >&5
10799 echo "${ECHO_T}yes" >&6; }
10801 { echo "$as_me:$LINENO: result: no" >&5
10802 echo "${ECHO_T}no" >&6; }
10807 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
10808 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
10810 # Check whether --enable-textctrl was given.
10811 if test "${enable_textctrl+set}" = set; then
10812 enableval=$enable_textctrl;
10813 if test "$enableval" = yes; then
10814 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
10816 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
10821 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
10822 if test "x$LINE" != x ; then
10823 eval "DEFAULT_$LINE"
10828 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
10833 eval "$ac_cv_use_textctrl"
10834 if test "$no_cache" != 1; then
10835 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
10838 if test "$wxUSE_TEXTCTRL" = yes; then
10839 { echo "$as_me:$LINENO: result: yes" >&5
10840 echo "${ECHO_T}yes" >&6; }
10842 { echo "$as_me:$LINENO: result: no" >&5
10843 echo "${ECHO_T}no" >&6; }
10848 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
10849 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
10851 # Check whether --enable-togglebtn was given.
10852 if test "${enable_togglebtn+set}" = set; then
10853 enableval=$enable_togglebtn;
10854 if test "$enableval" = yes; then
10855 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
10857 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
10862 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
10863 if test "x$LINE" != x ; then
10864 eval "DEFAULT_$LINE"
10869 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
10874 eval "$ac_cv_use_togglebtn"
10875 if test "$no_cache" != 1; then
10876 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
10879 if test "$wxUSE_TOGGLEBTN" = yes; then
10880 { echo "$as_me:$LINENO: result: yes" >&5
10881 echo "${ECHO_T}yes" >&6; }
10883 { echo "$as_me:$LINENO: result: no" >&5
10884 echo "${ECHO_T}no" >&6; }
10889 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
10890 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
10892 # Check whether --enable-toolbar was given.
10893 if test "${enable_toolbar+set}" = set; then
10894 enableval=$enable_toolbar;
10895 if test "$enableval" = yes; then
10896 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
10898 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
10903 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
10904 if test "x$LINE" != x ; then
10905 eval "DEFAULT_$LINE"
10910 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
10915 eval "$ac_cv_use_toolbar"
10916 if test "$no_cache" != 1; then
10917 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
10920 if test "$wxUSE_TOOLBAR" = yes; then
10921 { echo "$as_me:$LINENO: result: yes" >&5
10922 echo "${ECHO_T}yes" >&6; }
10924 { echo "$as_me:$LINENO: result: no" >&5
10925 echo "${ECHO_T}no" >&6; }
10930 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
10931 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
10933 # Check whether --enable-tbarnative was given.
10934 if test "${enable_tbarnative+set}" = set; then
10935 enableval=$enable_tbarnative;
10936 if test "$enableval" = yes; then
10937 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
10939 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
10944 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
10945 if test "x$LINE" != x ; then
10946 eval "DEFAULT_$LINE"
10951 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
10956 eval "$ac_cv_use_tbarnative"
10957 if test "$no_cache" != 1; then
10958 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
10961 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
10962 { echo "$as_me:$LINENO: result: yes" >&5
10963 echo "${ECHO_T}yes" >&6; }
10965 { echo "$as_me:$LINENO: result: no" >&5
10966 echo "${ECHO_T}no" >&6; }
10971 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
10972 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
10974 # Check whether --enable-treebook was given.
10975 if test "${enable_treebook+set}" = set; then
10976 enableval=$enable_treebook;
10977 if test "$enableval" = yes; then
10978 ac_cv_use_treebook='wxUSE_TREEBOOK=yes'
10980 ac_cv_use_treebook='wxUSE_TREEBOOK=no'
10985 LINE=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
10986 if test "x$LINE" != x ; then
10987 eval "DEFAULT_$LINE"
10992 ac_cv_use_treebook='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
10997 eval "$ac_cv_use_treebook"
10998 if test "$no_cache" != 1; then
10999 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
11002 if test "$wxUSE_TREEBOOK" = yes; then
11003 { echo "$as_me:$LINENO: result: yes" >&5
11004 echo "${ECHO_T}yes" >&6; }
11006 { echo "$as_me:$LINENO: result: no" >&5
11007 echo "${ECHO_T}no" >&6; }
11012 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
11013 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
11015 # Check whether --enable-toolbook was given.
11016 if test "${enable_toolbook+set}" = set; then
11017 enableval=$enable_toolbook;
11018 if test "$enableval" = yes; then
11019 ac_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
11021 ac_cv_use_toolbook='wxUSE_TOOLBOOK=no'
11026 LINE=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
11027 if test "x$LINE" != x ; then
11028 eval "DEFAULT_$LINE"
11033 ac_cv_use_toolbook='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
11038 eval "$ac_cv_use_toolbook"
11039 if test "$no_cache" != 1; then
11040 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
11043 if test "$wxUSE_TOOLBOOK" = yes; then
11044 { echo "$as_me:$LINENO: result: yes" >&5
11045 echo "${ECHO_T}yes" >&6; }
11047 { echo "$as_me:$LINENO: result: no" >&5
11048 echo "${ECHO_T}no" >&6; }
11053 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
11054 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
11056 # Check whether --enable-treectrl was given.
11057 if test "${enable_treectrl+set}" = set; then
11058 enableval=$enable_treectrl;
11059 if test "$enableval" = yes; then
11060 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
11062 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
11067 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
11068 if test "x$LINE" != x ; then
11069 eval "DEFAULT_$LINE"
11074 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
11079 eval "$ac_cv_use_treectrl"
11080 if test "$no_cache" != 1; then
11081 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
11084 if test "$wxUSE_TREECTRL" = yes; then
11085 { echo "$as_me:$LINENO: result: yes" >&5
11086 echo "${ECHO_T}yes" >&6; }
11088 { echo "$as_me:$LINENO: result: no" >&5
11089 echo "${ECHO_T}no" >&6; }
11094 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
11095 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
11097 # Check whether --enable-tipwindow was given.
11098 if test "${enable_tipwindow+set}" = set; then
11099 enableval=$enable_tipwindow;
11100 if test "$enableval" = yes; then
11101 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
11103 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
11108 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
11109 if test "x$LINE" != x ; then
11110 eval "DEFAULT_$LINE"
11115 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
11120 eval "$ac_cv_use_tipwindow"
11121 if test "$no_cache" != 1; then
11122 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
11125 if test "$wxUSE_TIPWINDOW" = yes; then
11126 { echo "$as_me:$LINENO: result: yes" >&5
11127 echo "${ECHO_T}yes" >&6; }
11129 { echo "$as_me:$LINENO: result: no" >&5
11130 echo "${ECHO_T}no" >&6; }
11135 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11136 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11138 # Check whether --enable-popupwin was given.
11139 if test "${enable_popupwin+set}" = set; then
11140 enableval=$enable_popupwin;
11141 if test "$enableval" = yes; then
11142 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11144 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
11149 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
11150 if test "x$LINE" != x ; then
11151 eval "DEFAULT_$LINE"
11156 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
11161 eval "$ac_cv_use_popupwin"
11162 if test "$no_cache" != 1; then
11163 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
11166 if test "$wxUSE_POPUPWIN" = yes; then
11167 { echo "$as_me:$LINENO: result: yes" >&5
11168 echo "${ECHO_T}yes" >&6; }
11170 { echo "$as_me:$LINENO: result: no" >&5
11171 echo "${ECHO_T}no" >&6; }
11178 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
11179 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
11181 # Check whether --enable-commondlg was given.
11182 if test "${enable_commondlg+set}" = set; then
11183 enableval=$enable_commondlg;
11184 if test "$enableval" = yes; then
11185 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
11187 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
11192 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
11193 if test "x$LINE" != x ; then
11194 eval "DEFAULT_$LINE"
11199 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
11204 eval "$ac_cv_use_commondlg"
11205 if test "$no_cache" != 1; then
11206 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
11209 if test "$wxUSE_COMMONDLGS" = yes; then
11210 { echo "$as_me:$LINENO: result: yes" >&5
11211 echo "${ECHO_T}yes" >&6; }
11213 { echo "$as_me:$LINENO: result: no" >&5
11214 echo "${ECHO_T}no" >&6; }
11219 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
11220 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
11222 # Check whether --enable-aboutdlg was given.
11223 if test "${enable_aboutdlg+set}" = set; then
11224 enableval=$enable_aboutdlg;
11225 if test "$enableval" = yes; then
11226 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
11228 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
11233 LINE=`grep "wxUSE_ABOUTDLG" ${wx_arg_cache_file}`
11234 if test "x$LINE" != x ; then
11235 eval "DEFAULT_$LINE"
11240 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG='$DEFAULT_wxUSE_ABOUTDLG
11245 eval "$ac_cv_use_aboutdlg"
11246 if test "$no_cache" != 1; then
11247 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
11250 if test "$wxUSE_ABOUTDLG" = yes; then
11251 { echo "$as_me:$LINENO: result: yes" >&5
11252 echo "${ECHO_T}yes" >&6; }
11254 { echo "$as_me:$LINENO: result: no" >&5
11255 echo "${ECHO_T}no" >&6; }
11260 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
11261 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
11263 # Check whether --enable-choicedlg was given.
11264 if test "${enable_choicedlg+set}" = set; then
11265 enableval=$enable_choicedlg;
11266 if test "$enableval" = yes; then
11267 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
11269 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
11274 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
11275 if test "x$LINE" != x ; then
11276 eval "DEFAULT_$LINE"
11281 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
11286 eval "$ac_cv_use_choicedlg"
11287 if test "$no_cache" != 1; then
11288 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
11291 if test "$wxUSE_CHOICEDLG" = yes; then
11292 { echo "$as_me:$LINENO: result: yes" >&5
11293 echo "${ECHO_T}yes" >&6; }
11295 { echo "$as_me:$LINENO: result: no" >&5
11296 echo "${ECHO_T}no" >&6; }
11301 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
11302 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
11304 # Check whether --enable-coldlg was given.
11305 if test "${enable_coldlg+set}" = set; then
11306 enableval=$enable_coldlg;
11307 if test "$enableval" = yes; then
11308 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
11310 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
11315 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
11316 if test "x$LINE" != x ; then
11317 eval "DEFAULT_$LINE"
11322 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
11327 eval "$ac_cv_use_coldlg"
11328 if test "$no_cache" != 1; then
11329 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
11332 if test "$wxUSE_COLOURDLG" = yes; then
11333 { echo "$as_me:$LINENO: result: yes" >&5
11334 echo "${ECHO_T}yes" >&6; }
11336 { echo "$as_me:$LINENO: result: no" >&5
11337 echo "${ECHO_T}no" >&6; }
11342 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
11343 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
11345 # Check whether --enable-filedlg was given.
11346 if test "${enable_filedlg+set}" = set; then
11347 enableval=$enable_filedlg;
11348 if test "$enableval" = yes; then
11349 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
11351 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
11356 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
11357 if test "x$LINE" != x ; then
11358 eval "DEFAULT_$LINE"
11363 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
11368 eval "$ac_cv_use_filedlg"
11369 if test "$no_cache" != 1; then
11370 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
11373 if test "$wxUSE_FILEDLG" = yes; then
11374 { echo "$as_me:$LINENO: result: yes" >&5
11375 echo "${ECHO_T}yes" >&6; }
11377 { echo "$as_me:$LINENO: result: no" >&5
11378 echo "${ECHO_T}no" >&6; }
11383 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
11384 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
11386 # Check whether --enable-finddlg was given.
11387 if test "${enable_finddlg+set}" = set; then
11388 enableval=$enable_finddlg;
11389 if test "$enableval" = yes; then
11390 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
11392 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
11397 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
11398 if test "x$LINE" != x ; then
11399 eval "DEFAULT_$LINE"
11404 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
11409 eval "$ac_cv_use_finddlg"
11410 if test "$no_cache" != 1; then
11411 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
11414 if test "$wxUSE_FINDREPLDLG" = yes; then
11415 { echo "$as_me:$LINENO: result: yes" >&5
11416 echo "${ECHO_T}yes" >&6; }
11418 { echo "$as_me:$LINENO: result: no" >&5
11419 echo "${ECHO_T}no" >&6; }
11424 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
11425 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
11427 # Check whether --enable-fontdlg was given.
11428 if test "${enable_fontdlg+set}" = set; then
11429 enableval=$enable_fontdlg;
11430 if test "$enableval" = yes; then
11431 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
11433 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
11438 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
11439 if test "x$LINE" != x ; then
11440 eval "DEFAULT_$LINE"
11445 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
11450 eval "$ac_cv_use_fontdlg"
11451 if test "$no_cache" != 1; then
11452 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
11455 if test "$wxUSE_FONTDLG" = yes; then
11456 { echo "$as_me:$LINENO: result: yes" >&5
11457 echo "${ECHO_T}yes" >&6; }
11459 { echo "$as_me:$LINENO: result: no" >&5
11460 echo "${ECHO_T}no" >&6; }
11465 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
11466 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
11468 # Check whether --enable-dirdlg was given.
11469 if test "${enable_dirdlg+set}" = set; then
11470 enableval=$enable_dirdlg;
11471 if test "$enableval" = yes; then
11472 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
11474 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
11479 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
11480 if test "x$LINE" != x ; then
11481 eval "DEFAULT_$LINE"
11486 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
11491 eval "$ac_cv_use_dirdlg"
11492 if test "$no_cache" != 1; then
11493 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
11496 if test "$wxUSE_DIRDLG" = yes; then
11497 { echo "$as_me:$LINENO: result: yes" >&5
11498 echo "${ECHO_T}yes" >&6; }
11500 { echo "$as_me:$LINENO: result: no" >&5
11501 echo "${ECHO_T}no" >&6; }
11506 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
11507 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
11509 # Check whether --enable-msgdlg was given.
11510 if test "${enable_msgdlg+set}" = set; then
11511 enableval=$enable_msgdlg;
11512 if test "$enableval" = yes; then
11513 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
11515 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
11520 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
11521 if test "x$LINE" != x ; then
11522 eval "DEFAULT_$LINE"
11527 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
11532 eval "$ac_cv_use_msgdlg"
11533 if test "$no_cache" != 1; then
11534 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
11537 if test "$wxUSE_MSGDLG" = yes; then
11538 { echo "$as_me:$LINENO: result: yes" >&5
11539 echo "${ECHO_T}yes" >&6; }
11541 { echo "$as_me:$LINENO: result: no" >&5
11542 echo "${ECHO_T}no" >&6; }
11547 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
11548 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
11550 # Check whether --enable-numberdlg was given.
11551 if test "${enable_numberdlg+set}" = set; then
11552 enableval=$enable_numberdlg;
11553 if test "$enableval" = yes; then
11554 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
11556 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
11561 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
11562 if test "x$LINE" != x ; then
11563 eval "DEFAULT_$LINE"
11568 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
11573 eval "$ac_cv_use_numberdlg"
11574 if test "$no_cache" != 1; then
11575 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
11578 if test "$wxUSE_NUMBERDLG" = yes; then
11579 { echo "$as_me:$LINENO: result: yes" >&5
11580 echo "${ECHO_T}yes" >&6; }
11582 { echo "$as_me:$LINENO: result: no" >&5
11583 echo "${ECHO_T}no" >&6; }
11588 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
11589 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
11591 # Check whether --enable-splash was given.
11592 if test "${enable_splash+set}" = set; then
11593 enableval=$enable_splash;
11594 if test "$enableval" = yes; then
11595 ac_cv_use_splash='wxUSE_SPLASH=yes'
11597 ac_cv_use_splash='wxUSE_SPLASH=no'
11602 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
11603 if test "x$LINE" != x ; then
11604 eval "DEFAULT_$LINE"
11609 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
11614 eval "$ac_cv_use_splash"
11615 if test "$no_cache" != 1; then
11616 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
11619 if test "$wxUSE_SPLASH" = yes; then
11620 { echo "$as_me:$LINENO: result: yes" >&5
11621 echo "${ECHO_T}yes" >&6; }
11623 { echo "$as_me:$LINENO: result: no" >&5
11624 echo "${ECHO_T}no" >&6; }
11629 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
11630 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
11632 # Check whether --enable-textdlg was given.
11633 if test "${enable_textdlg+set}" = set; then
11634 enableval=$enable_textdlg;
11635 if test "$enableval" = yes; then
11636 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
11638 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
11643 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
11644 if test "x$LINE" != x ; then
11645 eval "DEFAULT_$LINE"
11650 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
11655 eval "$ac_cv_use_textdlg"
11656 if test "$no_cache" != 1; then
11657 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
11660 if test "$wxUSE_TEXTDLG" = yes; then
11661 { echo "$as_me:$LINENO: result: yes" >&5
11662 echo "${ECHO_T}yes" >&6; }
11664 { echo "$as_me:$LINENO: result: no" >&5
11665 echo "${ECHO_T}no" >&6; }
11670 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
11671 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
11673 # Check whether --enable-tipdlg was given.
11674 if test "${enable_tipdlg+set}" = set; then
11675 enableval=$enable_tipdlg;
11676 if test "$enableval" = yes; then
11677 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
11679 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
11684 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
11685 if test "x$LINE" != x ; then
11686 eval "DEFAULT_$LINE"
11691 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
11696 eval "$ac_cv_use_tipdlg"
11697 if test "$no_cache" != 1; then
11698 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
11701 if test "$wxUSE_STARTUP_TIPS" = yes; then
11702 { echo "$as_me:$LINENO: result: yes" >&5
11703 echo "${ECHO_T}yes" >&6; }
11705 { echo "$as_me:$LINENO: result: no" >&5
11706 echo "${ECHO_T}no" >&6; }
11711 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
11712 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
11714 # Check whether --enable-progressdlg was given.
11715 if test "${enable_progressdlg+set}" = set; then
11716 enableval=$enable_progressdlg;
11717 if test "$enableval" = yes; then
11718 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
11720 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
11725 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
11726 if test "x$LINE" != x ; then
11727 eval "DEFAULT_$LINE"
11732 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
11737 eval "$ac_cv_use_progressdlg"
11738 if test "$no_cache" != 1; then
11739 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
11742 if test "$wxUSE_PROGRESSDLG" = yes; then
11743 { echo "$as_me:$LINENO: result: yes" >&5
11744 echo "${ECHO_T}yes" >&6; }
11746 { echo "$as_me:$LINENO: result: no" >&5
11747 echo "${ECHO_T}no" >&6; }
11752 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
11753 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
11755 # Check whether --enable-wizarddlg was given.
11756 if test "${enable_wizarddlg+set}" = set; then
11757 enableval=$enable_wizarddlg;
11758 if test "$enableval" = yes; then
11759 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
11761 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
11766 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
11767 if test "x$LINE" != x ; then
11768 eval "DEFAULT_$LINE"
11773 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
11778 eval "$ac_cv_use_wizarddlg"
11779 if test "$no_cache" != 1; then
11780 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
11783 if test "$wxUSE_WIZARDDLG" = yes; then
11784 { echo "$as_me:$LINENO: result: yes" >&5
11785 echo "${ECHO_T}yes" >&6; }
11787 { echo "$as_me:$LINENO: result: no" >&5
11788 echo "${ECHO_T}no" >&6; }
11795 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
11796 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
11798 # Check whether --enable-menus was given.
11799 if test "${enable_menus+set}" = set; then
11800 enableval=$enable_menus;
11801 if test "$enableval" = yes; then
11802 ac_cv_use_menus='wxUSE_MENUS=yes'
11804 ac_cv_use_menus='wxUSE_MENUS=no'
11809 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
11810 if test "x$LINE" != x ; then
11811 eval "DEFAULT_$LINE"
11816 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
11821 eval "$ac_cv_use_menus"
11822 if test "$no_cache" != 1; then
11823 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
11826 if test "$wxUSE_MENUS" = yes; then
11827 { echo "$as_me:$LINENO: result: yes" >&5
11828 echo "${ECHO_T}yes" >&6; }
11830 { echo "$as_me:$LINENO: result: no" >&5
11831 echo "${ECHO_T}no" >&6; }
11836 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
11837 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
11839 # Check whether --enable-miniframe was given.
11840 if test "${enable_miniframe+set}" = set; then
11841 enableval=$enable_miniframe;
11842 if test "$enableval" = yes; then
11843 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
11845 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
11850 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
11851 if test "x$LINE" != x ; then
11852 eval "DEFAULT_$LINE"
11857 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
11862 eval "$ac_cv_use_miniframe"
11863 if test "$no_cache" != 1; then
11864 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
11867 if test "$wxUSE_MINIFRAME" = yes; then
11868 { echo "$as_me:$LINENO: result: yes" >&5
11869 echo "${ECHO_T}yes" >&6; }
11871 { echo "$as_me:$LINENO: result: no" >&5
11872 echo "${ECHO_T}no" >&6; }
11877 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
11878 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
11880 # Check whether --enable-tooltips was given.
11881 if test "${enable_tooltips+set}" = set; then
11882 enableval=$enable_tooltips;
11883 if test "$enableval" = yes; then
11884 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
11886 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
11891 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
11892 if test "x$LINE" != x ; then
11893 eval "DEFAULT_$LINE"
11898 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
11903 eval "$ac_cv_use_tooltips"
11904 if test "$no_cache" != 1; then
11905 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
11908 if test "$wxUSE_TOOLTIPS" = yes; then
11909 { echo "$as_me:$LINENO: result: yes" >&5
11910 echo "${ECHO_T}yes" >&6; }
11912 { echo "$as_me:$LINENO: result: no" >&5
11913 echo "${ECHO_T}no" >&6; }
11918 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
11919 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
11921 # Check whether --enable-splines was given.
11922 if test "${enable_splines+set}" = set; then
11923 enableval=$enable_splines;
11924 if test "$enableval" = yes; then
11925 ac_cv_use_splines='wxUSE_SPLINES=yes'
11927 ac_cv_use_splines='wxUSE_SPLINES=no'
11932 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
11933 if test "x$LINE" != x ; then
11934 eval "DEFAULT_$LINE"
11939 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
11944 eval "$ac_cv_use_splines"
11945 if test "$no_cache" != 1; then
11946 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
11949 if test "$wxUSE_SPLINES" = yes; then
11950 { echo "$as_me:$LINENO: result: yes" >&5
11951 echo "${ECHO_T}yes" >&6; }
11953 { echo "$as_me:$LINENO: result: no" >&5
11954 echo "${ECHO_T}no" >&6; }
11959 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
11960 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
11962 # Check whether --enable-mousewheel was given.
11963 if test "${enable_mousewheel+set}" = set; then
11964 enableval=$enable_mousewheel;
11965 if test "$enableval" = yes; then
11966 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
11968 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
11973 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
11974 if test "x$LINE" != x ; then
11975 eval "DEFAULT_$LINE"
11980 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
11985 eval "$ac_cv_use_mousewheel"
11986 if test "$no_cache" != 1; then
11987 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
11990 if test "$wxUSE_MOUSEWHEEL" = yes; then
11991 { echo "$as_me:$LINENO: result: yes" >&5
11992 echo "${ECHO_T}yes" >&6; }
11994 { echo "$as_me:$LINENO: result: no" >&5
11995 echo "${ECHO_T}no" >&6; }
12000 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
12001 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
12003 # Check whether --enable-validators was given.
12004 if test "${enable_validators+set}" = set; then
12005 enableval=$enable_validators;
12006 if test "$enableval" = yes; then
12007 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
12009 ac_cv_use_validators='wxUSE_VALIDATORS=no'
12014 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
12015 if test "x$LINE" != x ; then
12016 eval "DEFAULT_$LINE"
12021 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
12026 eval "$ac_cv_use_validators"
12027 if test "$no_cache" != 1; then
12028 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
12031 if test "$wxUSE_VALIDATORS" = yes; then
12032 { echo "$as_me:$LINENO: result: yes" >&5
12033 echo "${ECHO_T}yes" >&6; }
12035 { echo "$as_me:$LINENO: result: no" >&5
12036 echo "${ECHO_T}no" >&6; }
12041 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
12042 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
12044 # Check whether --enable-busyinfo was given.
12045 if test "${enable_busyinfo+set}" = set; then
12046 enableval=$enable_busyinfo;
12047 if test "$enableval" = yes; then
12048 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
12050 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
12055 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
12056 if test "x$LINE" != x ; then
12057 eval "DEFAULT_$LINE"
12062 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
12067 eval "$ac_cv_use_busyinfo"
12068 if test "$no_cache" != 1; then
12069 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
12072 if test "$wxUSE_BUSYINFO" = yes; then
12073 { echo "$as_me:$LINENO: result: yes" >&5
12074 echo "${ECHO_T}yes" >&6; }
12076 { echo "$as_me:$LINENO: result: no" >&5
12077 echo "${ECHO_T}no" >&6; }
12082 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
12083 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
12085 # Check whether --enable-joystick was given.
12086 if test "${enable_joystick+set}" = set; then
12087 enableval=$enable_joystick;
12088 if test "$enableval" = yes; then
12089 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
12091 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
12096 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
12097 if test "x$LINE" != x ; then
12098 eval "DEFAULT_$LINE"
12103 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
12108 eval "$ac_cv_use_joystick"
12109 if test "$no_cache" != 1; then
12110 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
12113 if test "$wxUSE_JOYSTICK" = yes; then
12114 { echo "$as_me:$LINENO: result: yes" >&5
12115 echo "${ECHO_T}yes" >&6; }
12117 { echo "$as_me:$LINENO: result: no" >&5
12118 echo "${ECHO_T}no" >&6; }
12123 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
12124 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
12126 # Check whether --enable-metafile was given.
12127 if test "${enable_metafile+set}" = set; then
12128 enableval=$enable_metafile;
12129 if test "$enableval" = yes; then
12130 ac_cv_use_metafile='wxUSE_METAFILE=yes'
12132 ac_cv_use_metafile='wxUSE_METAFILE=no'
12137 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
12138 if test "x$LINE" != x ; then
12139 eval "DEFAULT_$LINE"
12144 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
12149 eval "$ac_cv_use_metafile"
12150 if test "$no_cache" != 1; then
12151 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
12154 if test "$wxUSE_METAFILE" = yes; then
12155 { echo "$as_me:$LINENO: result: yes" >&5
12156 echo "${ECHO_T}yes" >&6; }
12158 { echo "$as_me:$LINENO: result: no" >&5
12159 echo "${ECHO_T}no" >&6; }
12164 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
12165 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
12167 # Check whether --enable-dragimage was given.
12168 if test "${enable_dragimage+set}" = set; then
12169 enableval=$enable_dragimage;
12170 if test "$enableval" = yes; then
12171 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
12173 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
12178 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
12179 if test "x$LINE" != x ; then
12180 eval "DEFAULT_$LINE"
12185 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
12190 eval "$ac_cv_use_dragimage"
12191 if test "$no_cache" != 1; then
12192 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
12195 if test "$wxUSE_DRAGIMAGE" = yes; then
12196 { echo "$as_me:$LINENO: result: yes" >&5
12197 echo "${ECHO_T}yes" >&6; }
12199 { echo "$as_me:$LINENO: result: no" >&5
12200 echo "${ECHO_T}no" >&6; }
12205 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
12206 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
12208 # Check whether --enable-accessibility was given.
12209 if test "${enable_accessibility+set}" = set; then
12210 enableval=$enable_accessibility;
12211 if test "$enableval" = yes; then
12212 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
12214 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
12219 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
12220 if test "x$LINE" != x ; then
12221 eval "DEFAULT_$LINE"
12226 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
12231 eval "$ac_cv_use_accessibility"
12232 if test "$no_cache" != 1; then
12233 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
12236 if test "$wxUSE_ACCESSIBILITY" = yes; then
12237 { echo "$as_me:$LINENO: result: yes" >&5
12238 echo "${ECHO_T}yes" >&6; }
12240 { echo "$as_me:$LINENO: result: no" >&5
12241 echo "${ECHO_T}no" >&6; }
12245 if test "$wxUSE_MSW" = "1"; then
12248 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
12249 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
12251 # Check whether --enable-dccache was given.
12252 if test "${enable_dccache+set}" = set; then
12253 enableval=$enable_dccache;
12254 if test "$enableval" = yes; then
12255 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
12257 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
12262 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
12263 if test "x$LINE" != x ; then
12264 eval "DEFAULT_$LINE"
12269 ac_cv_use_dccache='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
12274 eval "$ac_cv_use_dccache"
12275 if test "$no_cache" != 1; then
12276 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
12279 if test "$wxUSE_DC_CACHEING" = yes; then
12280 { echo "$as_me:$LINENO: result: yes" >&5
12281 echo "${ECHO_T}yes" >&6; }
12283 { echo "$as_me:$LINENO: result: no" >&5
12284 echo "${ECHO_T}no" >&6; }
12292 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
12293 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
12295 # Check whether --enable-palette was given.
12296 if test "${enable_palette+set}" = set; then
12297 enableval=$enable_palette;
12298 if test "$enableval" = yes; then
12299 ac_cv_use_palette='wxUSE_PALETTE=yes'
12301 ac_cv_use_palette='wxUSE_PALETTE=no'
12306 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
12307 if test "x$LINE" != x ; then
12308 eval "DEFAULT_$LINE"
12313 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
12318 eval "$ac_cv_use_palette"
12319 if test "$no_cache" != 1; then
12320 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
12323 if test "$wxUSE_PALETTE" = yes; then
12324 { echo "$as_me:$LINENO: result: yes" >&5
12325 echo "${ECHO_T}yes" >&6; }
12327 { echo "$as_me:$LINENO: result: no" >&5
12328 echo "${ECHO_T}no" >&6; }
12333 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
12334 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
12336 # Check whether --enable-image was given.
12337 if test "${enable_image+set}" = set; then
12338 enableval=$enable_image;
12339 if test "$enableval" = yes; then
12340 ac_cv_use_image='wxUSE_IMAGE=yes'
12342 ac_cv_use_image='wxUSE_IMAGE=no'
12347 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
12348 if test "x$LINE" != x ; then
12349 eval "DEFAULT_$LINE"
12354 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
12359 eval "$ac_cv_use_image"
12360 if test "$no_cache" != 1; then
12361 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
12364 if test "$wxUSE_IMAGE" = yes; then
12365 { echo "$as_me:$LINENO: result: yes" >&5
12366 echo "${ECHO_T}yes" >&6; }
12368 { echo "$as_me:$LINENO: result: no" >&5
12369 echo "${ECHO_T}no" >&6; }
12374 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
12375 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
12377 # Check whether --enable-gif was given.
12378 if test "${enable_gif+set}" = set; then
12379 enableval=$enable_gif;
12380 if test "$enableval" = yes; then
12381 ac_cv_use_gif='wxUSE_GIF=yes'
12383 ac_cv_use_gif='wxUSE_GIF=no'
12388 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
12389 if test "x$LINE" != x ; then
12390 eval "DEFAULT_$LINE"
12395 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
12400 eval "$ac_cv_use_gif"
12401 if test "$no_cache" != 1; then
12402 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
12405 if test "$wxUSE_GIF" = yes; then
12406 { echo "$as_me:$LINENO: result: yes" >&5
12407 echo "${ECHO_T}yes" >&6; }
12409 { echo "$as_me:$LINENO: result: no" >&5
12410 echo "${ECHO_T}no" >&6; }
12415 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
12416 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
12418 # Check whether --enable-pcx was given.
12419 if test "${enable_pcx+set}" = set; then
12420 enableval=$enable_pcx;
12421 if test "$enableval" = yes; then
12422 ac_cv_use_pcx='wxUSE_PCX=yes'
12424 ac_cv_use_pcx='wxUSE_PCX=no'
12429 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
12430 if test "x$LINE" != x ; then
12431 eval "DEFAULT_$LINE"
12436 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
12441 eval "$ac_cv_use_pcx"
12442 if test "$no_cache" != 1; then
12443 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
12446 if test "$wxUSE_PCX" = yes; then
12447 { echo "$as_me:$LINENO: result: yes" >&5
12448 echo "${ECHO_T}yes" >&6; }
12450 { echo "$as_me:$LINENO: result: no" >&5
12451 echo "${ECHO_T}no" >&6; }
12456 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
12457 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
12459 # Check whether --enable-tga was given.
12460 if test "${enable_tga+set}" = set; then
12461 enableval=$enable_tga;
12462 if test "$enableval" = yes; then
12463 ac_cv_use_tga='wxUSE_TGA=yes'
12465 ac_cv_use_tga='wxUSE_TGA=no'
12470 LINE=`grep "wxUSE_TGA" ${wx_arg_cache_file}`
12471 if test "x$LINE" != x ; then
12472 eval "DEFAULT_$LINE"
12477 ac_cv_use_tga='wxUSE_TGA='$DEFAULT_wxUSE_TGA
12482 eval "$ac_cv_use_tga"
12483 if test "$no_cache" != 1; then
12484 echo $ac_cv_use_tga >> ${wx_arg_cache_file}.tmp
12487 if test "$wxUSE_TGA" = yes; then
12488 { echo "$as_me:$LINENO: result: yes" >&5
12489 echo "${ECHO_T}yes" >&6; }
12491 { echo "$as_me:$LINENO: result: no" >&5
12492 echo "${ECHO_T}no" >&6; }
12497 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
12498 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
12500 # Check whether --enable-iff was given.
12501 if test "${enable_iff+set}" = set; then
12502 enableval=$enable_iff;
12503 if test "$enableval" = yes; then
12504 ac_cv_use_iff='wxUSE_IFF=yes'
12506 ac_cv_use_iff='wxUSE_IFF=no'
12511 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
12512 if test "x$LINE" != x ; then
12513 eval "DEFAULT_$LINE"
12518 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
12523 eval "$ac_cv_use_iff"
12524 if test "$no_cache" != 1; then
12525 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
12528 if test "$wxUSE_IFF" = yes; then
12529 { echo "$as_me:$LINENO: result: yes" >&5
12530 echo "${ECHO_T}yes" >&6; }
12532 { echo "$as_me:$LINENO: result: no" >&5
12533 echo "${ECHO_T}no" >&6; }
12538 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
12539 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
12541 # Check whether --enable-pnm was given.
12542 if test "${enable_pnm+set}" = set; then
12543 enableval=$enable_pnm;
12544 if test "$enableval" = yes; then
12545 ac_cv_use_pnm='wxUSE_PNM=yes'
12547 ac_cv_use_pnm='wxUSE_PNM=no'
12552 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
12553 if test "x$LINE" != x ; then
12554 eval "DEFAULT_$LINE"
12559 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
12564 eval "$ac_cv_use_pnm"
12565 if test "$no_cache" != 1; then
12566 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
12569 if test "$wxUSE_PNM" = yes; then
12570 { echo "$as_me:$LINENO: result: yes" >&5
12571 echo "${ECHO_T}yes" >&6; }
12573 { echo "$as_me:$LINENO: result: no" >&5
12574 echo "${ECHO_T}no" >&6; }
12579 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
12580 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
12582 # Check whether --enable-xpm was given.
12583 if test "${enable_xpm+set}" = set; then
12584 enableval=$enable_xpm;
12585 if test "$enableval" = yes; then
12586 ac_cv_use_xpm='wxUSE_XPM=yes'
12588 ac_cv_use_xpm='wxUSE_XPM=no'
12593 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
12594 if test "x$LINE" != x ; then
12595 eval "DEFAULT_$LINE"
12600 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
12605 eval "$ac_cv_use_xpm"
12606 if test "$no_cache" != 1; then
12607 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
12610 if test "$wxUSE_XPM" = yes; then
12611 { echo "$as_me:$LINENO: result: yes" >&5
12612 echo "${ECHO_T}yes" >&6; }
12614 { echo "$as_me:$LINENO: result: no" >&5
12615 echo "${ECHO_T}no" >&6; }
12620 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
12621 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
12623 # Check whether --enable-ico_cur was given.
12624 if test "${enable_ico_cur+set}" = set; then
12625 enableval=$enable_ico_cur;
12626 if test "$enableval" = yes; then
12627 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
12629 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
12634 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
12635 if test "x$LINE" != x ; then
12636 eval "DEFAULT_$LINE"
12641 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
12646 eval "$ac_cv_use_ico_cur"
12647 if test "$no_cache" != 1; then
12648 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
12651 if test "$wxUSE_ICO_CUR" = yes; then
12652 { echo "$as_me:$LINENO: result: yes" >&5
12653 echo "${ECHO_T}yes" >&6; }
12655 { echo "$as_me:$LINENO: result: no" >&5
12656 echo "${ECHO_T}no" >&6; }
12664 # Check whether --with-flavour was given.
12665 if test "${with_flavour+set}" = set; then
12666 withval=$with_flavour; WX_FLAVOUR="$withval"
12673 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
12674 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
12676 # Check whether --enable-official_build was given.
12677 if test "${enable_official_build+set}" = set; then
12678 enableval=$enable_official_build;
12679 if test "$enableval" = yes; then
12680 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
12682 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
12687 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
12688 if test "x$LINE" != x ; then
12689 eval "DEFAULT_$LINE"
12694 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
12699 eval "$ac_cv_use_official_build"
12700 if test "$no_cache" != 1; then
12701 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
12704 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
12705 { echo "$as_me:$LINENO: result: yes" >&5
12706 echo "${ECHO_T}yes" >&6; }
12708 { echo "$as_me:$LINENO: result: no" >&5
12709 echo "${ECHO_T}no" >&6; }
12712 # Check whether --enable-vendor was given.
12713 if test "${enable_vendor+set}" = set; then
12714 enableval=$enable_vendor; VENDOR="$enableval"
12717 if test "x$VENDOR" = "x"; then
12724 echo "saving argument cache $wx_arg_cache_file"
12725 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
12729 { echo "$as_me:$LINENO: checking for toolkit" >&5
12730 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
12732 # In Wine, we need to default to MSW, not GTK or MOTIF
12733 if test "$wxUSE_WINE" = "yes"; then
12734 DEFAULT_DEFAULT_wxUSE_GTK=0
12735 DEFAULT_DEFAULT_wxUSE_MOTIF=0
12736 DEFAULT_DEFAULT_wxUSE_MSW=1
12739 CXX=${CXX:-wineg++}
12743 if test "$wxUSE_GUI" = "yes"; then
12745 if test "$USE_BEOS" = 1; then
12746 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
12747 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
12748 { (exit 1); exit 1; }; }
12751 if test "$TOOLKIT_GIVEN" = 1; then
12752 for toolkit in `echo $ALL_TOOLKITS`; do
12754 eval "value=\$${var}"
12755 if test "x$value" = "xno"; then
12757 elif test "x$value" != "x"; then
12761 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
12762 eval "wx${toolkit}_VERSION=$value"
12766 for toolkit in `echo $ALL_TOOLKITS`; do
12767 if test "$has_toolkit_in_cache" != 1; then
12768 var=DEFAULT_DEFAULT_wxUSE_$toolkit
12770 var=DEFAULT_wxUSE_$toolkit
12772 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
12773 if test "x$version" != "x"; then
12774 eval "wx${toolkit}_VERSION=$version"
12777 eval "wxUSE_$toolkit=\$${var}"
12781 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
12782 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
12783 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
12786 *-pc-os2_emx | *-pc-os2-emx )
12787 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
12790 case "$NUM_TOOLKITS" in
12794 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
12795 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
12796 { (exit 1); exit 1; }; }
12799 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
12800 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
12801 { (exit 1); exit 1; }; }
12804 # to be removed when --disable-gtk2 isn't needed
12805 if test "x$wxUSE_GTK2" = "xyes"; then
12807 elif test "x$wxUSE_GTK2" = "xno"; then
12811 for toolkit in `echo $ALL_TOOLKITS`; do
12813 eval "value=\$${var}"
12814 if test "x$value" != x; then
12815 cache_var=CACHE_$toolkit
12816 eval "cache=\$${cache_var}"
12817 if test "$cache" = 1; then
12818 echo "$var=$value" >> ${wx_arg_cache_file}
12819 eval "version=\$wx${toolkit}_VERSION"
12820 if test "x$version" != "x"; then
12821 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
12824 if test "$value" = 1; then
12825 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
12826 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
12827 echo "${ECHO_T}$toolkit_echo" >&6; }
12832 if test "x$host_alias" != "x"; then
12833 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
12834 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
12836 { echo "$as_me:$LINENO: result: base only" >&5
12837 echo "${ECHO_T}base only" >&6; }
12842 cat >confcache <<\_ACEOF
12843 # This file is a shell script that caches the results of configure
12844 # tests run on this system so they can be shared between configure
12845 # scripts and configure runs, see configure's option --config-cache.
12846 # It is not useful on other systems. If it contains results you don't
12847 # want to keep, you may remove or edit it.
12849 # config.status only pays attention to the cache file if you give it
12850 # the --recheck option to rerun configure.
12852 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
12853 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12854 # following values.
12858 # The following way of writing the cache mishandles newlines in values,
12859 # but we know of no workaround that is simple, portable, and efficient.
12860 # So, we kill variables containing newlines.
12861 # Ultrix sh set writes to stderr and can't be redirected directly,
12862 # and sets the high bit in the cache file unless we assign to the vars.
12864 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12865 eval ac_val
=\$
$ac_var
12869 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
12870 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
12873 _
| IFS
| as_nl
) ;; #(
12874 *) $as_unset $ac_var ;;
12880 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12881 *${as_nl}ac_space
=\
*)
12882 # `set' does not quote correctly, so add quotes (double-quote
12883 # substitution turns \\\\ into \\, and sed turns \\ into \).
12886 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12889 # `set' quotes correctly as required by POSIX, so do not add quotes.
12890 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12899 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12901 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12903 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
12904 if test -w "$cache_file"; then
12905 test "x$cache_file" != "x/dev/null" &&
12906 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
12907 echo "$as_me: updating cache $cache_file" >&6;}
12908 cat confcache
>$cache_file
12910 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
12911 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12921 ac_cpp
='$CPP $CPPFLAGS'
12922 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12923 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12924 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12925 if test -n "$ac_tool_prefix"; then
12926 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12927 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
12928 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12929 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12930 if test "${ac_cv_prog_CC+set}" = set; then
12931 echo $ECHO_N "(cached) $ECHO_C" >&6
12933 if test -n "$CC"; then
12934 ac_cv_prog_CC
="$CC" # Let the user override the test.
12936 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12937 for as_dir
in $PATH
12940 test -z "$as_dir" && as_dir
=.
12941 for ac_exec_ext
in '' $ac_executable_extensions; do
12942 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12943 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
12944 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12954 if test -n "$CC"; then
12955 { echo "$as_me:$LINENO: result: $CC" >&5
12956 echo "${ECHO_T}$CC" >&6; }
12958 { echo "$as_me:$LINENO: result: no" >&5
12959 echo "${ECHO_T}no" >&6; }
12964 if test -z "$ac_cv_prog_CC"; then
12966 # Extract the first word of "gcc", so it can be a program name with args.
12967 set dummy gcc
; ac_word
=$2
12968 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12969 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12970 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12971 echo $ECHO_N "(cached) $ECHO_C" >&6
12973 if test -n "$ac_ct_CC"; then
12974 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
12976 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12977 for as_dir
in $PATH
12980 test -z "$as_dir" && as_dir
=.
12981 for ac_exec_ext
in '' $ac_executable_extensions; do
12982 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12983 ac_cv_prog_ac_ct_CC
="gcc"
12984 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12993 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
12994 if test -n "$ac_ct_CC"; then
12995 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12996 echo "${ECHO_T}$ac_ct_CC" >&6; }
12998 { echo "$as_me:$LINENO: result: no" >&5
12999 echo "${ECHO_T}no" >&6; }
13002 if test "x$ac_ct_CC" = x
; then
13005 case $cross_compiling:$ac_tool_warned in
13007 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13008 whose name does not start with the host triplet. If you think this
13009 configuration is useful to you, please write to autoconf@gnu.org." >&5
13010 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13011 whose name does not start with the host triplet. If you think this
13012 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13013 ac_tool_warned
=yes ;;
13018 CC
="$ac_cv_prog_CC"
13021 if test -z "$CC"; then
13022 if test -n "$ac_tool_prefix"; then
13023 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
13024 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
13025 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13026 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13027 if test "${ac_cv_prog_CC+set}" = set; then
13028 echo $ECHO_N "(cached) $ECHO_C" >&6
13030 if test -n "$CC"; then
13031 ac_cv_prog_CC
="$CC" # Let the user override the test.
13033 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13034 for as_dir
in $PATH
13037 test -z "$as_dir" && as_dir
=.
13038 for ac_exec_ext
in '' $ac_executable_extensions; do
13039 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13040 ac_cv_prog_CC
="${ac_tool_prefix}cc"
13041 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13051 if test -n "$CC"; then
13052 { echo "$as_me:$LINENO: result: $CC" >&5
13053 echo "${ECHO_T}$CC" >&6; }
13055 { echo "$as_me:$LINENO: result: no" >&5
13056 echo "${ECHO_T}no" >&6; }
13062 if test -z "$CC"; then
13063 # Extract the first word of "cc", so it can be a program name with args.
13064 set dummy cc
; ac_word
=$2
13065 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13066 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13067 if test "${ac_cv_prog_CC+set}" = set; then
13068 echo $ECHO_N "(cached) $ECHO_C" >&6
13070 if test -n "$CC"; then
13071 ac_cv_prog_CC
="$CC" # Let the user override the test.
13073 ac_prog_rejected
=no
13074 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13075 for as_dir
in $PATH
13078 test -z "$as_dir" && as_dir
=.
13079 for ac_exec_ext
in '' $ac_executable_extensions; do
13080 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13081 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
13082 ac_prog_rejected
=yes
13086 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13093 if test $ac_prog_rejected = yes; then
13094 # We found a bogon in the path, so make sure we never use it.
13095 set dummy
$ac_cv_prog_CC
13097 if test $# != 0; then
13098 # We chose a different compiler from the bogus one.
13099 # However, it has the same basename, so the bogon will be chosen
13100 # first if we set CC to just the basename; use the full file name.
13102 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
13108 if test -n "$CC"; then
13109 { echo "$as_me:$LINENO: result: $CC" >&5
13110 echo "${ECHO_T}$CC" >&6; }
13112 { echo "$as_me:$LINENO: result: no" >&5
13113 echo "${ECHO_T}no" >&6; }
13118 if test -z "$CC"; then
13119 if test -n "$ac_tool_prefix"; then
13120 for ac_prog
in cl.exe
13122 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13123 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
13124 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13125 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13126 if test "${ac_cv_prog_CC+set}" = set; then
13127 echo $ECHO_N "(cached) $ECHO_C" >&6
13129 if test -n "$CC"; then
13130 ac_cv_prog_CC
="$CC" # Let the user override the test.
13132 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13133 for as_dir
in $PATH
13136 test -z "$as_dir" && as_dir
=.
13137 for ac_exec_ext
in '' $ac_executable_extensions; do
13138 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13139 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
13140 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13150 if test -n "$CC"; then
13151 { echo "$as_me:$LINENO: result: $CC" >&5
13152 echo "${ECHO_T}$CC" >&6; }
13154 { echo "$as_me:$LINENO: result: no" >&5
13155 echo "${ECHO_T}no" >&6; }
13159 test -n "$CC" && break
13162 if test -z "$CC"; then
13164 for ac_prog
in cl.exe
13166 # Extract the first word of "$ac_prog", so it can be a program name with args.
13167 set dummy
$ac_prog; ac_word
=$2
13168 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13169 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13170 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
13171 echo $ECHO_N "(cached) $ECHO_C" >&6
13173 if test -n "$ac_ct_CC"; then
13174 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
13176 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13177 for as_dir
in $PATH
13180 test -z "$as_dir" && as_dir
=.
13181 for ac_exec_ext
in '' $ac_executable_extensions; do
13182 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13183 ac_cv_prog_ac_ct_CC
="$ac_prog"
13184 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13193 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
13194 if test -n "$ac_ct_CC"; then
13195 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
13196 echo "${ECHO_T}$ac_ct_CC" >&6; }
13198 { echo "$as_me:$LINENO: result: no" >&5
13199 echo "${ECHO_T}no" >&6; }
13203 test -n "$ac_ct_CC" && break
13206 if test "x$ac_ct_CC" = x
; then
13209 case $cross_compiling:$ac_tool_warned in
13211 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13212 whose name does not start with the host triplet. If you think this
13213 configuration is useful to you, please write to autoconf@gnu.org." >&5
13214 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13215 whose name does not start with the host triplet. If you think this
13216 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13217 ac_tool_warned
=yes ;;
13226 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
13227 See \`config.log' for more details." >&5
13228 echo "$as_me: error: no acceptable C compiler found in \$PATH
13229 See \`config.log' for more details." >&2;}
13230 { (exit 1); exit 1; }; }
13232 # Provide some information about the compiler.
13233 echo "$as_me:$LINENO: checking for C compiler version" >&5
13234 ac_compiler
=`set X $ac_compile; echo $2`
13235 { (ac_try
="$ac_compiler --version >&5"
13236 case "(($ac_try" in
13237 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
13238 *) ac_try_echo=$ac_try;;
13240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13241 (eval "$ac_compiler --version >&5") 2>&5
13243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13244 (exit $ac_status); }
13245 { (ac_try="$ac_compiler -v >&5"
13246 case "(($ac_try" in
13247 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
13248 *) ac_try_echo
=$ac_try;;
13250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13251 (eval "$ac_compiler -v >&5") 2>&5
13253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13254 (exit $ac_status); }
13255 { (ac_try
="$ac_compiler -V >&5"
13256 case "(($ac_try" in
13257 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
13258 *) ac_try_echo=$ac_try;;
13260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13261 (eval "$ac_compiler -V >&5") 2>&5
13263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13264 (exit $ac_status); }
13266 cat >conftest.$ac_ext <<_ACEOF
13269 cat confdefs.h >>conftest.$ac_ext
13270 cat >>conftest.$ac_ext <<_ACEOF
13271 /* end confdefs.h. */
13281 ac_clean_files_save=$ac_clean_files
13282 ac_clean_files="$ac_clean_files a.out a.exe b.out"
13283 # Try to create an executable without -o first, disregard a.out.
13284 # It will help us diagnose broken compilers, and finding out an intuition
13286 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
13287 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
13288 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
13290 # List of possible output files, starting from the most likely.
13291 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
13292 # only as a last resort. b.out is created by i960 compilers.
13293 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
13295 # The IRIX 6 linker writes into existing files which may not be
13296 # executable, retaining their permissions. Remove them first so a
13297 # subsequent execution test works.
13299 for ac_file in $ac_files
13302 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
13303 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
13308 if { (ac_try="$ac_link_default"
13309 case "(($ac_try" in
13310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13311 *) ac_try_echo=$ac_try;;
13313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13314 (eval "$ac_link_default") 2>&5
13316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13317 (exit $ac_status); }; then
13318 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
13319 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
13320 # in a Makefile. We should not override ac_cv_exeext if it was cached,
13321 # so that the user can short-circuit this test for compilers unknown to
13323 for ac_file
in $ac_files ''
13325 test -f "$ac_file" || continue
13327 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
)
13330 # We found the default executable, but exeext='' is most
13334 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
13336 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
13338 # We set ac_cv_exeext here because the later test for it is not
13339 # safe: cross compilers may not add the suffix if given an `-o'
13340 # argument, so we may need to know it at that point already.
13341 # Even if this section looks crufty: it has the advantage of
13342 # actually working.
13348 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
13354 { echo "$as_me:$LINENO: result: $ac_file" >&5
13355 echo "${ECHO_T}$ac_file" >&6; }
13356 if test -z "$ac_file"; then
13357 echo "$as_me: failed program was:" >&5
13358 sed 's/^/| /' conftest.
$ac_ext >&5
13360 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
13361 See \`config.log' for more details." >&5
13362 echo "$as_me: error: C compiler cannot create executables
13363 See \`config.log' for more details." >&2;}
13364 { (exit 77); exit 77; }; }
13367 ac_exeext
=$ac_cv_exeext
13369 # Check that the compiler produces executables we can run. If not, either
13370 # the compiler is broken, or we cross compile.
13371 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
13372 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
13373 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
13374 # If not cross compiling, check that we can run a simple program.
13375 if test "$cross_compiling" != yes; then
13376 if { ac_try
='./$ac_file'
13377 { (case "(($ac_try" in
13378 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
13379 *) ac_try_echo=$ac_try;;
13381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13382 (eval "$ac_try") 2>&5
13384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13385 (exit $ac_status); }; }; then
13388 if test "$cross_compiling" = maybe; then
13389 cross_compiling=yes
13391 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
13392 If you meant to cross compile, use \`--host'.
13393 See \`config.log' for more details.
" >&5
13394 echo "$as_me: error
: cannot run C compiled programs.
13395 If you meant to cross compile
, use \
`--host'.
13396 See \`config.log
' for more details." >&2;}
13397 { (exit 1); exit 1; }; }
13401 { echo "$as_me:$LINENO: result: yes" >&5
13402 echo "${ECHO_T}yes" >&6; }
13404 rm -f a.out a.exe conftest$ac_cv_exeext b.out
13405 ac_clean_files=$ac_clean_files_save
13406 # Check that the compiler produces executables we can run. If not, either
13407 # the compiler is broken, or we cross compile.
13408 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
13409 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
13410 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
13411 echo "${ECHO_T}$cross_compiling" >&6; }
13413 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
13414 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
13415 if { (ac_try="$ac_link"
13416 case "(($ac_try" in
13417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13418 *) ac_try_echo=$ac_try;;
13420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13421 (eval "$ac_link") 2>&5
13423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13424 (exit $ac_status); }; then
13425 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
13426 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
13427 # work properly (i.e., refer to `conftest.exe
'), while it won't with
13429 for ac_file
in conftest.exe conftest conftest.
*; do
13430 test -f "$ac_file" || continue
13432 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
13433 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
13439 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
13440 See \`config.log' for more details." >&5
13441 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
13442 See \`config.log' for more details." >&2;}
13443 { (exit 1); exit 1; }; }
13446 rm -f conftest
$ac_cv_exeext
13447 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
13448 echo "${ECHO_T}$ac_cv_exeext" >&6; }
13450 rm -f conftest.
$ac_ext
13451 EXEEXT
=$ac_cv_exeext
13453 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
13454 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
13455 if test "${ac_cv_objext+set}" = set; then
13456 echo $ECHO_N "(cached) $ECHO_C" >&6
13458 cat >conftest.
$ac_ext <<_ACEOF
13461 cat confdefs.h
>>conftest.
$ac_ext
13462 cat >>conftest.
$ac_ext <<_ACEOF
13463 /* end confdefs.h. */
13473 rm -f conftest.o conftest.obj
13474 if { (ac_try
="$ac_compile"
13475 case "(($ac_try" in
13476 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
13477 *) ac_try_echo=$ac_try;;
13479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13480 (eval "$ac_compile") 2>&5
13482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13483 (exit $ac_status); }; then
13484 for ac_file in conftest.o conftest.obj conftest.*; do
13485 test -f "$ac_file" || continue;
13487 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
13488 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
13493 echo "$as_me: failed program was:" >&5
13494 sed 's/^/| /' conftest.$ac_ext >&5
13496 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
13497 See \`config.log
' for more details." >&5
13498 echo "$as_me: error: cannot compute suffix of object files: cannot compile
13499 See \`config.log' for more details.
" >&2;}
13500 { (exit 1); exit 1; }; }
13503 rm -f conftest.$ac_cv_objext conftest.$ac_ext
13505 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
13506 echo "${ECHO_T}$ac_cv_objext" >&6; }
13507 OBJEXT=$ac_cv_objext
13509 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
13510 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
13511 if test "${ac_cv_c_compiler_gnu+set}" = set; then
13512 echo $ECHO_N "(cached
) $ECHO_C" >&6
13514 cat >conftest.$ac_ext <<_ACEOF
13517 cat confdefs.h >>conftest.$ac_ext
13518 cat >>conftest.$ac_ext <<_ACEOF
13519 /* end confdefs.h. */
13532 rm -f conftest.$ac_objext
13533 if { (ac_try="$ac_compile"
13534 case "(($ac_try" in
13535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13536 *) ac_try_echo=$ac_try;;
13538 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13539 (eval "$ac_compile") 2>conftest.er1
13541 grep -v '^ *+' conftest.er1 >conftest.err
13543 cat conftest.err >&5
13544 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13545 (exit $ac_status); } && {
13546 test -z "$ac_c_werror_flag" ||
13547 test ! -s conftest.err
13548 } && test -s conftest.$ac_objext; then
13549 ac_compiler_gnu=yes
13551 echo "$as_me: failed program was
:" >&5
13552 sed 's/^/| /' conftest.$ac_ext >&5
13557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13558 ac_cv_c_compiler_gnu=$ac_compiler_gnu
13561 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
13562 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
13563 GCC=`test $ac_compiler_gnu = yes && echo yes`
13564 ac_test_CFLAGS=${CFLAGS+set}
13565 ac_save_CFLAGS=$CFLAGS
13566 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
13567 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
13568 if test "${ac_cv_prog_cc_g+set}" = set; then
13569 echo $ECHO_N "(cached
) $ECHO_C" >&6
13571 ac_save_c_werror_flag=$ac_c_werror_flag
13572 ac_c_werror_flag=yes
13575 cat >conftest.$ac_ext <<_ACEOF
13578 cat confdefs.h >>conftest.$ac_ext
13579 cat >>conftest.$ac_ext <<_ACEOF
13580 /* end confdefs.h. */
13590 rm -f conftest.$ac_objext
13591 if { (ac_try="$ac_compile"
13592 case "(($ac_try" in
13593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13594 *) ac_try_echo=$ac_try;;
13596 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13597 (eval "$ac_compile") 2>conftest.er1
13599 grep -v '^ *+' conftest.er1 >conftest.err
13601 cat conftest.err >&5
13602 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13603 (exit $ac_status); } && {
13604 test -z "$ac_c_werror_flag" ||
13605 test ! -s conftest.err
13606 } && test -s conftest.$ac_objext; then
13607 ac_cv_prog_cc_g=yes
13609 echo "$as_me: failed program was
:" >&5
13610 sed 's/^/| /' conftest.$ac_ext >&5
13613 cat >conftest.$ac_ext <<_ACEOF
13616 cat confdefs.h >>conftest.$ac_ext
13617 cat >>conftest.$ac_ext <<_ACEOF
13618 /* end confdefs.h. */
13628 rm -f conftest.$ac_objext
13629 if { (ac_try="$ac_compile"
13630 case "(($ac_try" in
13631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13632 *) ac_try_echo=$ac_try;;
13634 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13635 (eval "$ac_compile") 2>conftest.er1
13637 grep -v '^ *+' conftest.er1 >conftest.err
13639 cat conftest.err >&5
13640 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13641 (exit $ac_status); } && {
13642 test -z "$ac_c_werror_flag" ||
13643 test ! -s conftest.err
13644 } && test -s conftest.$ac_objext; then
13647 echo "$as_me: failed program was
:" >&5
13648 sed 's/^/| /' conftest.$ac_ext >&5
13650 ac_c_werror_flag=$ac_save_c_werror_flag
13652 cat >conftest.$ac_ext <<_ACEOF
13655 cat confdefs.h >>conftest.$ac_ext
13656 cat >>conftest.$ac_ext <<_ACEOF
13657 /* end confdefs.h. */
13667 rm -f conftest.$ac_objext
13668 if { (ac_try="$ac_compile"
13669 case "(($ac_try" in
13670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13671 *) ac_try_echo=$ac_try;;
13673 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13674 (eval "$ac_compile") 2>conftest.er1
13676 grep -v '^ *+' conftest.er1 >conftest.err
13678 cat conftest.err >&5
13679 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13680 (exit $ac_status); } && {
13681 test -z "$ac_c_werror_flag" ||
13682 test ! -s conftest.err
13683 } && test -s conftest.$ac_objext; then
13684 ac_cv_prog_cc_g=yes
13686 echo "$as_me: failed program was
:" >&5
13687 sed 's/^/| /' conftest.$ac_ext >&5
13692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13699 ac_c_werror_flag=$ac_save_c_werror_flag
13701 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
13702 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
13703 if test "$ac_test_CFLAGS" = set; then
13704 CFLAGS=$ac_save_CFLAGS
13705 elif test $ac_cv_prog_cc_g = yes; then
13706 if test "$GCC" = yes; then
13712 if test "$GCC" = yes; then
13718 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
13719 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
13720 if test "${ac_cv_prog_cc_c89+set}" = set; then
13721 echo $ECHO_N "(cached
) $ECHO_C" >&6
13723 ac_cv_prog_cc_c89=no
13725 cat >conftest.$ac_ext <<_ACEOF
13728 cat confdefs.h >>conftest.$ac_ext
13729 cat >>conftest.$ac_ext <<_ACEOF
13730 /* end confdefs.h. */
13731 #include <stdarg.h>
13733 #include <sys/types.h>
13734 #include <sys/stat.h>
13735 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
13736 struct buf { int x; };
13737 FILE * (*rcsopen) (struct buf *, struct stat *, int);
13738 static char *e (p, i)
13744 static char *f (char * (*g) (char **, int), char **p, ...)
13749 s = g (p, va_arg (v,int));
13754 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
13755 function prototypes and stuff, but not '\xHH' hex character constants.
13756 These don't provoke an error unfortunately, instead are silently treated
13757 as 'x'. The following induces an error, until -std is added to get
13758 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
13759 array size at least. It's necessary to write '\x00'==0 to get something
13760 that's true only with -std. */
13761 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13763 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13764 inside strings and character constants. */
13766 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13768 int test (int i, double x);
13769 struct s1 {int (*f) (int a);};
13770 struct s2 {int (*f) (double a);};
13771 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13777 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
13782 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13783 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13785 CC="$ac_save_CC $ac_arg"
13786 rm -f conftest.$ac_objext
13787 if { (ac_try="$ac_compile"
13788 case "(($ac_try" in
13789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13790 *) ac_try_echo=$ac_try;;
13792 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13793 (eval "$ac_compile") 2>conftest.er1
13795 grep -v '^ *+' conftest.er1 >conftest.err
13797 cat conftest.err >&5
13798 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13799 (exit $ac_status); } && {
13800 test -z "$ac_c_werror_flag" ||
13801 test ! -s conftest.err
13802 } && test -s conftest.$ac_objext; then
13803 ac_cv_prog_cc_c89=$ac_arg
13805 echo "$as_me: failed program was
:" >&5
13806 sed 's/^/| /' conftest.$ac_ext >&5
13811 rm -f core conftest.err conftest.$ac_objext
13812 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
13814 rm -f conftest.$ac_ext
13819 case "x
$ac_cv_prog_cc_c89" in
13821 { echo "$as_me:$LINENO: result
: none needed
" >&5
13822 echo "${ECHO_T}none needed
" >&6; } ;;
13824 { echo "$as_me:$LINENO: result
: unsupported
" >&5
13825 echo "${ECHO_T}unsupported
" >&6; } ;;
13827 CC="$CC $ac_cv_prog_cc_c89"
13828 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
13829 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
13834 ac_cpp='$CPP $CPPFLAGS'
13835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13842 ac_cpp='$CPP $CPPFLAGS'
13843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13847 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler
" >&5
13848 echo $ECHO_N "checking whether we are using the Intel C compiler...
$ECHO_C" >&6; }
13849 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
13850 echo $ECHO_N "(cached
) $ECHO_C" >&6
13852 cat >conftest.$ac_ext <<_ACEOF
13855 cat confdefs.h >>conftest.$ac_ext
13856 cat >>conftest.$ac_ext <<_ACEOF
13857 /* end confdefs.h. */
13863 #ifndef __INTEL_COMPILER
13871 rm -f conftest.$ac_objext
13872 if { (ac_try="$ac_compile"
13873 case "(($ac_try" in
13874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13875 *) ac_try_echo=$ac_try;;
13877 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13878 (eval "$ac_compile") 2>conftest.er1
13880 grep -v '^ *+' conftest.er1 >conftest.err
13882 cat conftest.err >&5
13883 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13884 (exit $ac_status); } && {
13885 test -z "$ac_c_werror_flag" ||
13886 test ! -s conftest.err
13887 } && test -s conftest.$ac_objext; then
13888 bakefile_cv_c_compiler___INTEL_COMPILER=yes
13890 echo "$as_me: failed program was
:" >&5
13891 sed 's/^/| /' conftest.$ac_ext >&5
13893 bakefile_cv_c_compiler___INTEL_COMPILER=no
13897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13901 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
13902 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
13904 ac_cpp='$CPP $CPPFLAGS'
13905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13909 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes
"; then
13916 if test "x
$GCC" != "xyes
"; then
13917 if test "xCC
" = "xC
"; then
13918 { echo "$as_me:$LINENO: checking
if the C compiler requires
-ext o
" >&5
13919 echo $ECHO_N "checking
if the C compiler requires
-ext o...
$ECHO_C" >&6; }
13920 if test "${bakefile_cv_c_exto+set}" = set; then
13921 echo $ECHO_N "(cached
) $ECHO_C" >&6
13923 cat >conftest.$ac_ext <<_ACEOF
13926 cat confdefs.h >>conftest.$ac_ext
13927 cat >>conftest.$ac_ext <<_ACEOF
13928 /* end confdefs.h. */
13938 rm -f conftest.$ac_objext conftest.$ac_ext.o
13939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13940 (eval $ac_compile) 2>&5
13942 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13943 (exit $ac_status); }; then
13944 for ac_file in `(ls conftest.* 2>/dev/null)`; do
13946 conftest.$ac_ext.o)
13947 bakefile_cv_c_exto="-ext o
"
13954 { { echo "$as_me:$LINENO: error
: cannot figure out
if compiler needs
-ext o
: cannot compile
13955 See \
`config.log' for more details." >&5
13956 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13957 See \`config.log
' for more details." >&2;}
13958 { (exit 1); exit 1; }; }
13962 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
13965 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
13966 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
13967 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13968 if test "c" = "c"; then
13969 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
13971 if test "c" = "cxx"; then
13972 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
13976 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13977 unset ac_cv_prog_cc_g
13978 ac_test_CFLAGS=${CFLAGS+set}
13979 ac_save_CFLAGS=$CFLAGS
13980 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13981 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
13982 if test "${ac_cv_prog_cc_g+set}" = set; then
13983 echo $ECHO_N "(cached) $ECHO_C" >&6
13985 ac_save_c_werror_flag=$ac_c_werror_flag
13986 ac_c_werror_flag=yes
13989 cat >conftest.$ac_ext <<_ACEOF
13992 cat confdefs.h >>conftest.$ac_ext
13993 cat >>conftest.$ac_ext <<_ACEOF
13994 /* end confdefs.h. */
14004 rm -f conftest.$ac_objext
14005 if { (ac_try="$ac_compile"
14006 case "(($ac_try" in
14007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14008 *) ac_try_echo=$ac_try;;
14010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14011 (eval "$ac_compile") 2>conftest.er1
14013 grep -v '^
*+' conftest.er1 >conftest.err
14015 cat conftest.err >&5
14016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14017 (exit $ac_status); } && {
14018 test -z "$ac_c_werror_flag" ||
14019 test ! -s conftest.err
14020 } && test -s conftest.$ac_objext; then
14021 ac_cv_prog_cc_g=yes
14023 echo "$as_me: failed program was:" >&5
14024 sed 's
/^
/| /' conftest.$ac_ext >&5
14027 cat >conftest.$ac_ext <<_ACEOF
14030 cat confdefs.h >>conftest.$ac_ext
14031 cat >>conftest.$ac_ext <<_ACEOF
14032 /* end confdefs.h. */
14042 rm -f conftest.$ac_objext
14043 if { (ac_try="$ac_compile"
14044 case "(($ac_try" in
14045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14046 *) ac_try_echo=$ac_try;;
14048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14049 (eval "$ac_compile") 2>conftest.er1
14051 grep -v '^
*+' conftest.er1 >conftest.err
14053 cat conftest.err >&5
14054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14055 (exit $ac_status); } && {
14056 test -z "$ac_c_werror_flag" ||
14057 test ! -s conftest.err
14058 } && test -s conftest.$ac_objext; then
14061 echo "$as_me: failed program was:" >&5
14062 sed 's
/^
/| /' conftest.$ac_ext >&5
14064 ac_c_werror_flag=$ac_save_c_werror_flag
14066 cat >conftest.$ac_ext <<_ACEOF
14069 cat confdefs.h >>conftest.$ac_ext
14070 cat >>conftest.$ac_ext <<_ACEOF
14071 /* end confdefs.h. */
14081 rm -f conftest.$ac_objext
14082 if { (ac_try="$ac_compile"
14083 case "(($ac_try" in
14084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14085 *) ac_try_echo=$ac_try;;
14087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14088 (eval "$ac_compile") 2>conftest.er1
14090 grep -v '^
*+' conftest.er1 >conftest.err
14092 cat conftest.err >&5
14093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14094 (exit $ac_status); } && {
14095 test -z "$ac_c_werror_flag" ||
14096 test ! -s conftest.err
14097 } && test -s conftest.$ac_objext; then
14098 ac_cv_prog_cc_g=yes
14100 echo "$as_me: failed program was:" >&5
14101 sed 's
/^
/| /' conftest.$ac_ext >&5
14106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14113 ac_c_werror_flag=$ac_save_c_werror_flag
14115 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14116 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14117 if test "$ac_test_CFLAGS" = set; then
14118 CFLAGS=$ac_save_CFLAGS
14119 elif test $ac_cv_prog_cc_g = yes; then
14120 if test "$GCC" = yes; then
14126 if test "$GCC" = yes; then
14138 ac_cpp='$CPP $CPPFLAGS'
14139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14140 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14143 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
14144 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
14145 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
14146 echo $ECHO_N "(cached) $ECHO_C" >&6
14148 cat >conftest.$ac_ext <<_ACEOF
14151 cat confdefs.h >>conftest.$ac_ext
14152 cat >>conftest.$ac_ext <<_ACEOF
14153 /* end confdefs.h. */
14166 rm -f conftest.$ac_objext
14167 if { (ac_try="$ac_compile"
14168 case "(($ac_try" in
14169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14170 *) ac_try_echo=$ac_try;;
14172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14173 (eval "$ac_compile") 2>conftest.er1
14175 grep -v '^
*+' conftest.er1 >conftest.err
14177 cat conftest.err >&5
14178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14179 (exit $ac_status); } && {
14180 test -z "$ac_c_werror_flag" ||
14181 test ! -s conftest.err
14182 } && test -s conftest.$ac_objext; then
14183 bakefile_compiler_xlc=yes
14185 echo "$as_me: failed program was:" >&5
14186 sed 's
/^
/| /' conftest.$ac_ext >&5
14188 bakefile_compiler_xlc=no
14191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14192 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
14195 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
14196 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6; }
14198 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
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
14210 ac_cpp='$CPP $CPPFLAGS'
14211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14212 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14215 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
14216 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
14217 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
14218 echo $ECHO_N "(cached) $ECHO_C" >&6
14220 cat >conftest.$ac_ext <<_ACEOF
14223 cat confdefs.h >>conftest.$ac_ext
14224 cat >>conftest.$ac_ext <<_ACEOF
14225 /* end confdefs.h. */
14238 rm -f conftest.$ac_objext
14239 if { (ac_try="$ac_compile"
14240 case "(($ac_try" in
14241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14242 *) ac_try_echo=$ac_try;;
14244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14245 (eval "$ac_compile") 2>conftest.er1
14247 grep -v '^
*+' conftest.er1 >conftest.err
14249 cat conftest.err >&5
14250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14251 (exit $ac_status); } && {
14252 test -z "$ac_c_werror_flag" ||
14253 test ! -s conftest.err
14254 } && test -s conftest.$ac_objext; then
14255 bakefile_compiler_mwerks=yes
14257 echo "$as_me: failed program was:" >&5
14258 sed 's
/^
/| /' conftest.$ac_ext >&5
14260 bakefile_compiler_mwerks=no
14263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14264 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
14267 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
14268 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6; }
14270 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
14272 ac_cpp='$CPP $CPPFLAGS'
14273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14274 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14279 ac_cpp='$CPP $CPPFLAGS'
14280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14281 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14284 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
14285 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
14286 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
14287 echo $ECHO_N "(cached) $ECHO_C" >&6
14289 cat >conftest.$ac_ext <<_ACEOF
14292 cat confdefs.h >>conftest.$ac_ext
14293 cat >>conftest.$ac_ext <<_ACEOF
14294 /* end confdefs.h. */
14307 rm -f conftest.$ac_objext
14308 if { (ac_try="$ac_compile"
14309 case "(($ac_try" in
14310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14311 *) ac_try_echo=$ac_try;;
14313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14314 (eval "$ac_compile") 2>conftest.er1
14316 grep -v '^
*+' conftest.er1 >conftest.err
14318 cat conftest.err >&5
14319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14320 (exit $ac_status); } && {
14321 test -z "$ac_c_werror_flag" ||
14322 test ! -s conftest.err
14323 } && test -s conftest.$ac_objext; then
14324 bakefile_compiler_xlc=yes
14326 echo "$as_me: failed program was:" >&5
14327 sed 's
/^
/| /' conftest.$ac_ext >&5
14329 bakefile_compiler_xlc=no
14332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14333 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
14336 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
14337 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6; }
14339 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
14341 ac_cpp='$CPP $CPPFLAGS'
14342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14343 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14353 ac_cpp='$CPP $CPPFLAGS'
14354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14355 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14358 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
14359 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
14360 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
14361 echo $ECHO_N "(cached) $ECHO_C" >&6
14363 cat >conftest.$ac_ext <<_ACEOF
14366 cat confdefs.h >>conftest.$ac_ext
14367 cat >>conftest.$ac_ext <<_ACEOF
14368 /* end confdefs.h. */
14374 #ifndef _SGI_COMPILER_VERSION
14382 rm -f conftest.$ac_objext
14383 if { (ac_try="$ac_compile"
14384 case "(($ac_try" in
14385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14386 *) ac_try_echo=$ac_try;;
14388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14389 (eval "$ac_compile") 2>conftest.er1
14391 grep -v '^
*+' conftest.er1 >conftest.err
14393 cat conftest.err >&5
14394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14395 (exit $ac_status); } && {
14396 test -z "$ac_c_werror_flag" ||
14397 test ! -s conftest.err
14398 } && test -s conftest.$ac_objext; then
14399 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
14401 echo "$as_me: failed program was:" >&5
14402 sed 's
/^
/| /' conftest.$ac_ext >&5
14404 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
14408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14412 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
14413 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
14415 ac_cpp='$CPP $CPPFLAGS'
14416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14417 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14420 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14433 ac_cpp='$CPP $CPPFLAGS'
14434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14435 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14438 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
14439 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
14440 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
14441 echo $ECHO_N "(cached) $ECHO_C" >&6
14443 cat >conftest.$ac_ext <<_ACEOF
14446 cat confdefs.h >>conftest.$ac_ext
14447 cat >>conftest.$ac_ext <<_ACEOF
14448 /* end confdefs.h. */
14462 rm -f conftest.$ac_objext
14463 if { (ac_try="$ac_compile"
14464 case "(($ac_try" in
14465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14466 *) ac_try_echo=$ac_try;;
14468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14469 (eval "$ac_compile") 2>conftest.er1
14471 grep -v '^
*+' conftest.er1 >conftest.err
14473 cat conftest.err >&5
14474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14475 (exit $ac_status); } && {
14476 test -z "$ac_c_werror_flag" ||
14477 test ! -s conftest.err
14478 } && test -s conftest.$ac_objext; then
14479 bakefile_cv_c_compiler___HP_cc=yes
14481 echo "$as_me: failed program was:" >&5
14482 sed 's
/^
/| /' conftest.$ac_ext >&5
14484 bakefile_cv_c_compiler___HP_cc=no
14488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14492 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
14493 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
14495 ac_cpp='$CPP $CPPFLAGS'
14496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14497 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14500 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
14513 ac_cpp='$CPP $CPPFLAGS'
14514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14515 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14518 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
14519 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
14520 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
14521 echo $ECHO_N "(cached) $ECHO_C" >&6
14523 cat >conftest.$ac_ext <<_ACEOF
14526 cat confdefs.h >>conftest.$ac_ext
14527 cat >>conftest.$ac_ext <<_ACEOF
14528 /* end confdefs.h. */
14542 rm -f conftest.$ac_objext
14543 if { (ac_try="$ac_compile"
14544 case "(($ac_try" in
14545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14546 *) ac_try_echo=$ac_try;;
14548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14549 (eval "$ac_compile") 2>conftest.er1
14551 grep -v '^
*+' conftest.er1 >conftest.err
14553 cat conftest.err >&5
14554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14555 (exit $ac_status); } && {
14556 test -z "$ac_c_werror_flag" ||
14557 test ! -s conftest.err
14558 } && test -s conftest.$ac_objext; then
14559 bakefile_cv_c_compiler___DECC=yes
14561 echo "$as_me: failed program was:" >&5
14562 sed 's
/^
/| /' conftest.$ac_ext >&5
14564 bakefile_cv_c_compiler___DECC=no
14568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14572 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
14573 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
14575 ac_cpp='$CPP $CPPFLAGS'
14576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14577 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14580 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
14593 ac_cpp='$CPP $CPPFLAGS'
14594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14595 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14598 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
14599 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
14600 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
14601 echo $ECHO_N "(cached) $ECHO_C" >&6
14603 cat >conftest.$ac_ext <<_ACEOF
14606 cat confdefs.h >>conftest.$ac_ext
14607 cat >>conftest.$ac_ext <<_ACEOF
14608 /* end confdefs.h. */
14622 rm -f conftest.$ac_objext
14623 if { (ac_try="$ac_compile"
14624 case "(($ac_try" in
14625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14626 *) ac_try_echo=$ac_try;;
14628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14629 (eval "$ac_compile") 2>conftest.er1
14631 grep -v '^
*+' conftest.er1 >conftest.err
14633 cat conftest.err >&5
14634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14635 (exit $ac_status); } && {
14636 test -z "$ac_c_werror_flag" ||
14637 test ! -s conftest.err
14638 } && test -s conftest.$ac_objext; then
14639 bakefile_cv_c_compiler___SUNPRO_C=yes
14641 echo "$as_me: failed program was:" >&5
14642 sed 's
/^
/| /' conftest.$ac_ext >&5
14644 bakefile_cv_c_compiler___SUNPRO_C=no
14648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14652 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
14653 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
14655 ac_cpp='$CPP $CPPFLAGS'
14656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14657 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14660 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
14674 ac_cpp='$CPP $CPPFLAGS'
14675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14676 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14678 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
14679 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
14680 # On Suns, sometimes $CPP names a directory.
14681 if test -n "$CPP" && test -d "$CPP"; then
14684 if test -z "$CPP"; then
14685 if test "${ac_cv_prog_CPP+set}" = set; then
14686 echo $ECHO_N "(cached) $ECHO_C" >&6
14688 # Double quotes because CPP needs to be expanded
14689 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
14691 ac_preproc_ok=false
14692 for ac_c_preproc_warn_flag in '' yes
14694 # Use a header file that comes with gcc, so configuring glibc
14695 # with a fresh cross-compiler works.
14696 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14697 # <limits.h> exists even on freestanding compilers.
14698 # On the NeXT, cc -E runs the code through the compiler's parser
,
14699 # not just through cpp. "Syntax error" is here to catch this case.
14700 cat >conftest.
$ac_ext <<_ACEOF
14703 cat confdefs.h
>>conftest.
$ac_ext
14704 cat >>conftest.
$ac_ext <<_ACEOF
14705 /* end confdefs.h. */
14707 # include <limits.h>
14709 # include <assert.h>
14713 if { (ac_try
="$ac_cpp conftest.$ac_ext"
14714 case "(($ac_try" in
14715 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14716 *) ac_try_echo=$ac_try;;
14718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14719 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14721 grep -v '^ *+' conftest.er1 >conftest.err
14723 cat conftest.err >&5
14724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14725 (exit $ac_status); } >/dev/null && {
14726 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14727 test ! -s conftest.err
14731 echo "$as_me: failed program was:" >&5
14732 sed 's/^/| /' conftest.$ac_ext >&5
14734 # Broken: fails on valid input.
14738 rm -f conftest.err conftest.$ac_ext
14740 # OK, works on sane cases. Now check whether nonexistent headers
14741 # can be detected and how.
14742 cat >conftest.$ac_ext <<_ACEOF
14745 cat confdefs.h >>conftest.$ac_ext
14746 cat >>conftest.$ac_ext <<_ACEOF
14747 /* end confdefs.h. */
14748 #include <ac_nonexistent.h>
14750 if { (ac_try="$ac_cpp conftest.$ac_ext"
14751 case "(($ac_try" in
14752 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
14753 *) ac_try_echo
=$ac_try;;
14755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14756 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14758 grep -v '^ *+' conftest.er1
>conftest.err
14760 cat conftest.err
>&5
14761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14762 (exit $ac_status); } >/dev
/null
&& {
14763 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14764 test ! -s conftest.err
14766 # Broken: success on invalid input.
14769 echo "$as_me: failed program was:" >&5
14770 sed 's/^/| /' conftest.
$ac_ext >&5
14772 # Passes both tests.
14777 rm -f conftest.err conftest.
$ac_ext
14780 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14781 rm -f conftest.err conftest.
$ac_ext
14782 if $ac_preproc_ok; then
14787 ac_cv_prog_CPP
=$CPP
14790 CPP
=$ac_cv_prog_CPP
14792 ac_cv_prog_CPP
=$CPP
14794 { echo "$as_me:$LINENO: result: $CPP" >&5
14795 echo "${ECHO_T}$CPP" >&6; }
14796 ac_preproc_ok
=false
14797 for ac_c_preproc_warn_flag
in '' yes
14799 # Use a header file that comes with gcc, so configuring glibc
14800 # with a fresh cross-compiler works.
14801 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14802 # <limits.h> exists even on freestanding compilers.
14803 # On the NeXT, cc -E runs the code through the compiler's parser,
14804 # not just through cpp. "Syntax error" is here to catch this case.
14805 cat >conftest.
$ac_ext <<_ACEOF
14808 cat confdefs.h
>>conftest.
$ac_ext
14809 cat >>conftest.
$ac_ext <<_ACEOF
14810 /* end confdefs.h. */
14812 # include <limits.h>
14814 # include <assert.h>
14818 if { (ac_try
="$ac_cpp conftest.$ac_ext"
14819 case "(($ac_try" in
14820 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14821 *) ac_try_echo=$ac_try;;
14823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14824 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14826 grep -v '^ *+' conftest.er1 >conftest.err
14828 cat conftest.err >&5
14829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14830 (exit $ac_status); } >/dev/null && {
14831 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14832 test ! -s conftest.err
14836 echo "$as_me: failed program was:" >&5
14837 sed 's/^/| /' conftest.$ac_ext >&5
14839 # Broken: fails on valid input.
14843 rm -f conftest.err conftest.$ac_ext
14845 # OK, works on sane cases. Now check whether nonexistent headers
14846 # can be detected and how.
14847 cat >conftest.$ac_ext <<_ACEOF
14850 cat confdefs.h >>conftest.$ac_ext
14851 cat >>conftest.$ac_ext <<_ACEOF
14852 /* end confdefs.h. */
14853 #include <ac_nonexistent.h>
14855 if { (ac_try="$ac_cpp conftest.$ac_ext"
14856 case "(($ac_try" in
14857 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
14858 *) ac_try_echo
=$ac_try;;
14860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14861 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14863 grep -v '^ *+' conftest.er1
>conftest.err
14865 cat conftest.err
>&5
14866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14867 (exit $ac_status); } >/dev
/null
&& {
14868 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14869 test ! -s conftest.err
14871 # Broken: success on invalid input.
14874 echo "$as_me: failed program was:" >&5
14875 sed 's/^/| /' conftest.
$ac_ext >&5
14877 # Passes both tests.
14882 rm -f conftest.err conftest.
$ac_ext
14885 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14886 rm -f conftest.err conftest.
$ac_ext
14887 if $ac_preproc_ok; then
14890 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
14891 See \`config.log' for more details." >&5
14892 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
14893 See \`config.log' for more details." >&2;}
14894 { (exit 1); exit 1; }; }
14898 ac_cpp
='$CPP $CPPFLAGS'
14899 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14900 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14901 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14904 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
14905 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
14906 if test "${ac_cv_path_GREP+set}" = set; then
14907 echo $ECHO_N "(cached) $ECHO_C" >&6
14909 # Extract the first word of "grep ggrep" to use in msg output
14910 if test -z "$GREP"; then
14911 set dummy
grep ggrep
; ac_prog_name
=$2
14912 if test "${ac_cv_path_GREP+set}" = set; then
14913 echo $ECHO_N "(cached) $ECHO_C" >&6
14915 ac_path_GREP_found
=false
14916 # Loop through the user's path and test for each of PROGNAME-LIST
14917 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14918 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
14921 test -z "$as_dir" && as_dir
=.
14922 for ac_prog
in grep ggrep
; do
14923 for ac_exec_ext
in '' $ac_executable_extensions; do
14924 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
14925 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
14926 # Check for GNU ac_path_GREP and select it if it is found.
14927 # Check for GNU $ac_path_GREP
14928 case `"$ac_path_GREP" --version 2>&1` in
14930 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
14933 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
14936 cat "conftest.in" "conftest.in" >"conftest.tmp"
14937 mv "conftest.tmp" "conftest.in"
14938 cp "conftest.in" "conftest.nl"
14939 echo 'GREP' >> "conftest.nl"
14940 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
14941 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
14942 ac_count
=`expr $ac_count + 1`
14943 if test $ac_count -gt ${ac_path_GREP_max-0}; then
14944 # Best one so far, save it but keep looking for a better one
14945 ac_cv_path_GREP
="$ac_path_GREP"
14946 ac_path_GREP_max
=$ac_count
14948 # 10*(2^10) chars as input seems more than enough
14949 test $ac_count -gt 10 && break
14951 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
14955 $ac_path_GREP_found && break 3
14965 GREP
="$ac_cv_path_GREP"
14966 if test -z "$GREP"; then
14967 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
14968 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
14969 { (exit 1); exit 1; }; }
14973 ac_cv_path_GREP
=$GREP
14978 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
14979 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
14980 GREP
="$ac_cv_path_GREP"
14983 { echo "$as_me:$LINENO: checking for egrep" >&5
14984 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
14985 if test "${ac_cv_path_EGREP+set}" = set; then
14986 echo $ECHO_N "(cached) $ECHO_C" >&6
14988 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
14989 then ac_cv_path_EGREP
="$GREP -E"
14991 # Extract the first word of "egrep" to use in msg output
14992 if test -z "$EGREP"; then
14993 set dummy
egrep; ac_prog_name
=$2
14994 if test "${ac_cv_path_EGREP+set}" = set; then
14995 echo $ECHO_N "(cached) $ECHO_C" >&6
14997 ac_path_EGREP_found
=false
14998 # Loop through the user's path and test for each of PROGNAME-LIST
14999 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15000 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
15003 test -z "$as_dir" && as_dir
=.
15004 for ac_prog
in egrep; do
15005 for ac_exec_ext
in '' $ac_executable_extensions; do
15006 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
15007 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
15008 # Check for GNU ac_path_EGREP and select it if it is found.
15009 # Check for GNU $ac_path_EGREP
15010 case `"$ac_path_EGREP" --version 2>&1` in
15012 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
15015 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
15018 cat "conftest.in" "conftest.in" >"conftest.tmp"
15019 mv "conftest.tmp" "conftest.in"
15020 cp "conftest.in" "conftest.nl"
15021 echo 'EGREP' >> "conftest.nl"
15022 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
15023 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
15024 ac_count
=`expr $ac_count + 1`
15025 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
15026 # Best one so far, save it but keep looking for a better one
15027 ac_cv_path_EGREP
="$ac_path_EGREP"
15028 ac_path_EGREP_max
=$ac_count
15030 # 10*(2^10) chars as input seems more than enough
15031 test $ac_count -gt 10 && break
15033 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
15037 $ac_path_EGREP_found && break 3
15047 EGREP
="$ac_cv_path_EGREP"
15048 if test -z "$EGREP"; then
15049 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
15050 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
15051 { (exit 1); exit 1; }; }
15055 ac_cv_path_EGREP
=$EGREP
15061 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
15062 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
15063 EGREP
="$ac_cv_path_EGREP"
15066 if test $ac_cv_c_compiler_gnu = yes; then
15067 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
15068 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
15069 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
15070 echo $ECHO_N "(cached) $ECHO_C" >&6
15072 ac_pattern
="Autoconf.*'x'"
15073 cat >conftest.
$ac_ext <<_ACEOF
15076 cat confdefs.h
>>conftest.
$ac_ext
15077 cat >>conftest.
$ac_ext <<_ACEOF
15078 /* end confdefs.h. */
15082 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15083 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
15084 ac_cv_prog_gcc_traditional
=yes
15086 ac_cv_prog_gcc_traditional
=no
15091 if test $ac_cv_prog_gcc_traditional = no
; then
15092 cat >conftest.
$ac_ext <<_ACEOF
15095 cat confdefs.h
>>conftest.
$ac_ext
15096 cat >>conftest.
$ac_ext <<_ACEOF
15097 /* end confdefs.h. */
15098 #include <termio.h>
15101 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15102 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
15103 ac_cv_prog_gcc_traditional
=yes
15109 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
15110 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
15111 if test $ac_cv_prog_gcc_traditional = yes; then
15112 CC
="$CC -traditional"
15117 CXXFLAGS
=${CXXFLAGS:=}
15122 ac_cpp
='$CXXCPP $CPPFLAGS'
15123 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15124 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15125 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15126 if test -z "$CXX"; then
15127 if test -n "$CCC"; then
15130 if test -n "$ac_tool_prefix"; then
15131 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
15133 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15134 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
15135 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15136 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15137 if test "${ac_cv_prog_CXX+set}" = set; then
15138 echo $ECHO_N "(cached) $ECHO_C" >&6
15140 if test -n "$CXX"; then
15141 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
15143 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15144 for as_dir
in $PATH
15147 test -z "$as_dir" && as_dir
=.
15148 for ac_exec_ext
in '' $ac_executable_extensions; do
15149 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15150 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
15151 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15160 CXX
=$ac_cv_prog_CXX
15161 if test -n "$CXX"; then
15162 { echo "$as_me:$LINENO: result: $CXX" >&5
15163 echo "${ECHO_T}$CXX" >&6; }
15165 { echo "$as_me:$LINENO: result: no" >&5
15166 echo "${ECHO_T}no" >&6; }
15170 test -n "$CXX" && break
15173 if test -z "$CXX"; then
15175 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
15177 # Extract the first word of "$ac_prog", so it can be a program name with args.
15178 set dummy
$ac_prog; ac_word
=$2
15179 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15180 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15181 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
15182 echo $ECHO_N "(cached) $ECHO_C" >&6
15184 if test -n "$ac_ct_CXX"; then
15185 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
15187 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15188 for as_dir
in $PATH
15191 test -z "$as_dir" && as_dir
=.
15192 for ac_exec_ext
in '' $ac_executable_extensions; do
15193 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15194 ac_cv_prog_ac_ct_CXX
="$ac_prog"
15195 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15204 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
15205 if test -n "$ac_ct_CXX"; then
15206 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
15207 echo "${ECHO_T}$ac_ct_CXX" >&6; }
15209 { echo "$as_me:$LINENO: result: no" >&5
15210 echo "${ECHO_T}no" >&6; }
15214 test -n "$ac_ct_CXX" && break
15217 if test "x$ac_ct_CXX" = x
; then
15220 case $cross_compiling:$ac_tool_warned in
15222 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15223 whose name does not start with the host triplet. If you think this
15224 configuration is useful to you, please write to autoconf@gnu.org." >&5
15225 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15226 whose name does not start with the host triplet. If you think this
15227 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15228 ac_tool_warned
=yes ;;
15236 # Provide some information about the compiler.
15237 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
15238 ac_compiler
=`set X $ac_compile; echo $2`
15239 { (ac_try
="$ac_compiler --version >&5"
15240 case "(($ac_try" in
15241 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15242 *) ac_try_echo=$ac_try;;
15244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15245 (eval "$ac_compiler --version >&5") 2>&5
15247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15248 (exit $ac_status); }
15249 { (ac_try="$ac_compiler -v >&5"
15250 case "(($ac_try" in
15251 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15252 *) ac_try_echo
=$ac_try;;
15254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15255 (eval "$ac_compiler -v >&5") 2>&5
15257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15258 (exit $ac_status); }
15259 { (ac_try
="$ac_compiler -V >&5"
15260 case "(($ac_try" in
15261 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15262 *) ac_try_echo=$ac_try;;
15264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15265 (eval "$ac_compiler -V >&5") 2>&5
15267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15268 (exit $ac_status); }
15270 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
15271 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
15272 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
15273 echo $ECHO_N "(cached) $ECHO_C" >&6
15275 cat >conftest.$ac_ext <<_ACEOF
15278 cat confdefs.h >>conftest.$ac_ext
15279 cat >>conftest.$ac_ext <<_ACEOF
15280 /* end confdefs.h. */
15293 rm -f conftest.$ac_objext
15294 if { (ac_try="$ac_compile"
15295 case "(($ac_try" in
15296 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15297 *) ac_try_echo
=$ac_try;;
15299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15300 (eval "$ac_compile") 2>conftest.er1
15302 grep -v '^ *+' conftest.er1
>conftest.err
15304 cat conftest.err
>&5
15305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15306 (exit $ac_status); } && {
15307 test -z "$ac_cxx_werror_flag" ||
15308 test ! -s conftest.err
15309 } && test -s conftest.
$ac_objext; then
15310 ac_compiler_gnu
=yes
15312 echo "$as_me: failed program was:" >&5
15313 sed 's/^/| /' conftest.
$ac_ext >&5
15318 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15319 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
15322 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
15323 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
15324 GXX
=`test $ac_compiler_gnu = yes && echo yes`
15325 ac_test_CXXFLAGS
=${CXXFLAGS+set}
15326 ac_save_CXXFLAGS
=$CXXFLAGS
15327 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
15328 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
15329 if test "${ac_cv_prog_cxx_g+set}" = set; then
15330 echo $ECHO_N "(cached) $ECHO_C" >&6
15332 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
15333 ac_cxx_werror_flag
=yes
15334 ac_cv_prog_cxx_g
=no
15336 cat >conftest.
$ac_ext <<_ACEOF
15339 cat confdefs.h
>>conftest.
$ac_ext
15340 cat >>conftest.
$ac_ext <<_ACEOF
15341 /* end confdefs.h. */
15351 rm -f conftest.
$ac_objext
15352 if { (ac_try
="$ac_compile"
15353 case "(($ac_try" in
15354 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15355 *) ac_try_echo=$ac_try;;
15357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15358 (eval "$ac_compile") 2>conftest.er1
15360 grep -v '^ *+' conftest.er1 >conftest.err
15362 cat conftest.err >&5
15363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15364 (exit $ac_status); } && {
15365 test -z "$ac_cxx_werror_flag" ||
15366 test ! -s conftest.err
15367 } && test -s conftest.$ac_objext; then
15368 ac_cv_prog_cxx_g=yes
15370 echo "$as_me: failed program was:" >&5
15371 sed 's/^/| /' conftest.$ac_ext >&5
15374 cat >conftest.$ac_ext <<_ACEOF
15377 cat confdefs.h >>conftest.$ac_ext
15378 cat >>conftest.$ac_ext <<_ACEOF
15379 /* end confdefs.h. */
15389 rm -f conftest.$ac_objext
15390 if { (ac_try="$ac_compile"
15391 case "(($ac_try" in
15392 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15393 *) ac_try_echo
=$ac_try;;
15395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15396 (eval "$ac_compile") 2>conftest.er1
15398 grep -v '^ *+' conftest.er1
>conftest.err
15400 cat conftest.err
>&5
15401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15402 (exit $ac_status); } && {
15403 test -z "$ac_cxx_werror_flag" ||
15404 test ! -s conftest.err
15405 } && test -s conftest.
$ac_objext; then
15408 echo "$as_me: failed program was:" >&5
15409 sed 's/^/| /' conftest.
$ac_ext >&5
15411 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
15413 cat >conftest.
$ac_ext <<_ACEOF
15416 cat confdefs.h
>>conftest.
$ac_ext
15417 cat >>conftest.
$ac_ext <<_ACEOF
15418 /* end confdefs.h. */
15428 rm -f conftest.
$ac_objext
15429 if { (ac_try
="$ac_compile"
15430 case "(($ac_try" in
15431 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15432 *) ac_try_echo=$ac_try;;
15434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15435 (eval "$ac_compile") 2>conftest.er1
15437 grep -v '^ *+' conftest.er1 >conftest.err
15439 cat conftest.err >&5
15440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15441 (exit $ac_status); } && {
15442 test -z "$ac_cxx_werror_flag" ||
15443 test ! -s conftest.err
15444 } && test -s conftest.$ac_objext; then
15445 ac_cv_prog_cxx_g=yes
15447 echo "$as_me: failed program was:" >&5
15448 sed 's/^/| /' conftest.$ac_ext >&5
15453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15460 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15462 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
15463 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
15464 if test "$ac_test_CXXFLAGS" = set; then
15465 CXXFLAGS=$ac_save_CXXFLAGS
15466 elif test $ac_cv_prog_cxx_g = yes; then
15467 if test "$GXX" = yes; then
15473 if test "$GXX" = yes; then
15480 ac_cpp='$CPP $CPPFLAGS'
15481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15488 ac_cpp='$CXXCPP $CPPFLAGS'
15489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15493 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
15494 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
15495 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
15496 echo $ECHO_N "(cached) $ECHO_C" >&6
15498 cat >conftest.$ac_ext <<_ACEOF
15501 cat confdefs.h >>conftest.$ac_ext
15502 cat >>conftest.$ac_ext <<_ACEOF
15503 /* end confdefs.h. */
15509 #ifndef __INTEL_COMPILER
15517 rm -f conftest.$ac_objext
15518 if { (ac_try="$ac_compile"
15519 case "(($ac_try" in
15520 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15521 *) ac_try_echo
=$ac_try;;
15523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15524 (eval "$ac_compile") 2>conftest.er1
15526 grep -v '^ *+' conftest.er1
>conftest.err
15528 cat conftest.err
>&5
15529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15530 (exit $ac_status); } && {
15531 test -z "$ac_cxx_werror_flag" ||
15532 test ! -s conftest.err
15533 } && test -s conftest.
$ac_objext; then
15534 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
15536 echo "$as_me: failed program was:" >&5
15537 sed 's/^/| /' conftest.
$ac_ext >&5
15539 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
15543 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15547 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
15548 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
15550 ac_cpp
='$CPP $CPPFLAGS'
15551 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15552 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15553 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15555 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15562 if test "x$GCXX" != "xyes"; then
15563 if test "xCXX" = "xC"; then
15564 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15565 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15566 if test "${bakefile_cv_c_exto+set}" = set; then
15567 echo $ECHO_N "(cached) $ECHO_C" >&6
15569 cat >conftest.
$ac_ext <<_ACEOF
15572 cat confdefs.h
>>conftest.
$ac_ext
15573 cat >>conftest.
$ac_ext <<_ACEOF
15574 /* end confdefs.h. */
15584 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
15585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15586 (eval $ac_compile) 2>&5
15588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15589 (exit $ac_status); }; then
15590 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
15592 conftest.
$ac_ext.o
)
15593 bakefile_cv_c_exto
="-ext o"
15600 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15601 See \`config.log' for more details." >&5
15602 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15603 See \`config.log' for more details." >&2;}
15604 { (exit 1); exit 1; }; }
15608 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
15611 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15612 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15613 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15614 if test "c" = "c"; then
15615 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
15617 if test "c" = "cxx"; then
15618 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
15622 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15623 unset ac_cv_prog_cc_g
15624 ac_test_CFLAGS
=${CFLAGS+set}
15625 ac_save_CFLAGS
=$CFLAGS
15626 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15627 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15628 if test "${ac_cv_prog_cc_g+set}" = set; then
15629 echo $ECHO_N "(cached) $ECHO_C" >&6
15631 ac_save_c_werror_flag
=$ac_c_werror_flag
15632 ac_c_werror_flag
=yes
15635 cat >conftest.
$ac_ext <<_ACEOF
15638 cat confdefs.h
>>conftest.
$ac_ext
15639 cat >>conftest.
$ac_ext <<_ACEOF
15640 /* end confdefs.h. */
15650 rm -f conftest.
$ac_objext
15651 if { (ac_try
="$ac_compile"
15652 case "(($ac_try" in
15653 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15654 *) ac_try_echo=$ac_try;;
15656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15657 (eval "$ac_compile") 2>conftest.er1
15659 grep -v '^ *+' conftest.er1 >conftest.err
15661 cat conftest.err >&5
15662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15663 (exit $ac_status); } && {
15664 test -z "$ac_c_werror_flag" ||
15665 test ! -s conftest.err
15666 } && test -s conftest.$ac_objext; then
15667 ac_cv_prog_cc_g=yes
15669 echo "$as_me: failed program was:" >&5
15670 sed 's/^/| /' conftest.$ac_ext >&5
15673 cat >conftest.$ac_ext <<_ACEOF
15676 cat confdefs.h >>conftest.$ac_ext
15677 cat >>conftest.$ac_ext <<_ACEOF
15678 /* end confdefs.h. */
15688 rm -f conftest.$ac_objext
15689 if { (ac_try="$ac_compile"
15690 case "(($ac_try" in
15691 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15692 *) ac_try_echo
=$ac_try;;
15694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15695 (eval "$ac_compile") 2>conftest.er1
15697 grep -v '^ *+' conftest.er1
>conftest.err
15699 cat conftest.err
>&5
15700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15701 (exit $ac_status); } && {
15702 test -z "$ac_c_werror_flag" ||
15703 test ! -s conftest.err
15704 } && test -s conftest.
$ac_objext; then
15707 echo "$as_me: failed program was:" >&5
15708 sed 's/^/| /' conftest.
$ac_ext >&5
15710 ac_c_werror_flag
=$ac_save_c_werror_flag
15712 cat >conftest.
$ac_ext <<_ACEOF
15715 cat confdefs.h
>>conftest.
$ac_ext
15716 cat >>conftest.
$ac_ext <<_ACEOF
15717 /* end confdefs.h. */
15727 rm -f conftest.
$ac_objext
15728 if { (ac_try
="$ac_compile"
15729 case "(($ac_try" in
15730 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15731 *) ac_try_echo=$ac_try;;
15733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15734 (eval "$ac_compile") 2>conftest.er1
15736 grep -v '^ *+' conftest.er1 >conftest.err
15738 cat conftest.err >&5
15739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15740 (exit $ac_status); } && {
15741 test -z "$ac_c_werror_flag" ||
15742 test ! -s conftest.err
15743 } && test -s conftest.$ac_objext; then
15744 ac_cv_prog_cc_g=yes
15746 echo "$as_me: failed program was:" >&5
15747 sed 's/^/| /' conftest.$ac_ext >&5
15752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15759 ac_c_werror_flag=$ac_save_c_werror_flag
15761 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15762 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15763 if test "$ac_test_CFLAGS" = set; then
15764 CFLAGS=$ac_save_CFLAGS
15765 elif test $ac_cv_prog_cc_g = yes; then
15766 if test "$GCC" = yes; then
15772 if test "$GCC" = yes; then
15784 ac_cpp='$CXXCPP $CPPFLAGS'
15785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15789 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
15790 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
15791 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
15792 echo $ECHO_N "(cached) $ECHO_C" >&6
15794 cat >conftest.$ac_ext <<_ACEOF
15797 cat confdefs.h >>conftest.$ac_ext
15798 cat >>conftest.$ac_ext <<_ACEOF
15799 /* end confdefs.h. */
15812 rm -f conftest.$ac_objext
15813 if { (ac_try="$ac_compile"
15814 case "(($ac_try" in
15815 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15816 *) ac_try_echo
=$ac_try;;
15818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15819 (eval "$ac_compile") 2>conftest.er1
15821 grep -v '^ *+' conftest.er1
>conftest.err
15823 cat conftest.err
>&5
15824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15825 (exit $ac_status); } && {
15826 test -z "$ac_cxx_werror_flag" ||
15827 test ! -s conftest.err
15828 } && test -s conftest.
$ac_objext; then
15829 bakefile_compiler_xlc
=yes
15831 echo "$as_me: failed program was:" >&5
15832 sed 's/^/| /' conftest.
$ac_ext >&5
15834 bakefile_compiler_xlc
=no
15837 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15838 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
15841 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
15842 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6; }
15844 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
15846 ac_cpp
='$CPP $CPPFLAGS'
15847 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15848 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15849 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15856 ac_cpp
='$CXXCPP $CPPFLAGS'
15857 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15858 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15859 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15861 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
15862 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
15863 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
15864 echo $ECHO_N "(cached) $ECHO_C" >&6
15866 cat >conftest.
$ac_ext <<_ACEOF
15869 cat confdefs.h
>>conftest.
$ac_ext
15870 cat >>conftest.
$ac_ext <<_ACEOF
15871 /* end confdefs.h. */
15884 rm -f conftest.
$ac_objext
15885 if { (ac_try
="$ac_compile"
15886 case "(($ac_try" in
15887 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15888 *) ac_try_echo=$ac_try;;
15890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15891 (eval "$ac_compile") 2>conftest.er1
15893 grep -v '^ *+' conftest.er1 >conftest.err
15895 cat conftest.err >&5
15896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15897 (exit $ac_status); } && {
15898 test -z "$ac_cxx_werror_flag" ||
15899 test ! -s conftest.err
15900 } && test -s conftest.$ac_objext; then
15901 bakefile_compiler_mwerks=yes
15903 echo "$as_me: failed program was:" >&5
15904 sed 's/^/| /' conftest.$ac_ext >&5
15906 bakefile_compiler_mwerks=no
15909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15910 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
15913 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
15914 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6; }
15916 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
15918 ac_cpp='$CPP $CPPFLAGS'
15919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15925 ac_cpp='$CXXCPP $CPPFLAGS'
15926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15930 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
15931 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
15932 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
15933 echo $ECHO_N "(cached) $ECHO_C" >&6
15935 cat >conftest.$ac_ext <<_ACEOF
15938 cat confdefs.h >>conftest.$ac_ext
15939 cat >>conftest.$ac_ext <<_ACEOF
15940 /* end confdefs.h. */
15953 rm -f conftest.$ac_objext
15954 if { (ac_try="$ac_compile"
15955 case "(($ac_try" in
15956 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15957 *) ac_try_echo
=$ac_try;;
15959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15960 (eval "$ac_compile") 2>conftest.er1
15962 grep -v '^ *+' conftest.er1
>conftest.err
15964 cat conftest.err
>&5
15965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15966 (exit $ac_status); } && {
15967 test -z "$ac_cxx_werror_flag" ||
15968 test ! -s conftest.err
15969 } && test -s conftest.
$ac_objext; then
15970 bakefile_compiler_xlc
=yes
15972 echo "$as_me: failed program was:" >&5
15973 sed 's/^/| /' conftest.
$ac_ext >&5
15975 bakefile_compiler_xlc
=no
15978 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15979 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
15982 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
15983 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6; }
15985 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
15987 ac_cpp
='$CPP $CPPFLAGS'
15988 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15989 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15990 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15999 ac_cpp
='$CXXCPP $CPPFLAGS'
16000 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16001 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16002 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16004 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
16005 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
16006 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
16007 echo $ECHO_N "(cached) $ECHO_C" >&6
16009 cat >conftest.
$ac_ext <<_ACEOF
16012 cat confdefs.h
>>conftest.
$ac_ext
16013 cat >>conftest.
$ac_ext <<_ACEOF
16014 /* end confdefs.h. */
16020 #ifndef _SGI_COMPILER_VERSION
16028 rm -f conftest.
$ac_objext
16029 if { (ac_try
="$ac_compile"
16030 case "(($ac_try" in
16031 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16032 *) ac_try_echo=$ac_try;;
16034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16035 (eval "$ac_compile") 2>conftest.er1
16037 grep -v '^ *+' conftest.er1 >conftest.err
16039 cat conftest.err >&5
16040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16041 (exit $ac_status); } && {
16042 test -z "$ac_cxx_werror_flag" ||
16043 test ! -s conftest.err
16044 } && test -s conftest.$ac_objext; then
16045 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
16047 echo "$as_me: failed program was:" >&5
16048 sed 's/^/| /' conftest.$ac_ext >&5
16050 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
16054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16058 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
16059 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
16061 ac_cpp='$CPP $CPPFLAGS'
16062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16066 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
16079 ac_cpp='$CXXCPP $CPPFLAGS'
16080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16084 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
16085 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
16086 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
16087 echo $ECHO_N "(cached) $ECHO_C" >&6
16089 cat >conftest.$ac_ext <<_ACEOF
16092 cat confdefs.h >>conftest.$ac_ext
16093 cat >>conftest.$ac_ext <<_ACEOF
16094 /* end confdefs.h. */
16108 rm -f conftest.$ac_objext
16109 if { (ac_try="$ac_compile"
16110 case "(($ac_try" in
16111 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16112 *) ac_try_echo
=$ac_try;;
16114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16115 (eval "$ac_compile") 2>conftest.er1
16117 grep -v '^ *+' conftest.er1
>conftest.err
16119 cat conftest.err
>&5
16120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16121 (exit $ac_status); } && {
16122 test -z "$ac_cxx_werror_flag" ||
16123 test ! -s conftest.err
16124 } && test -s conftest.
$ac_objext; then
16125 bakefile_cv_cxx_compiler___HP_aCC
=yes
16127 echo "$as_me: failed program was:" >&5
16128 sed 's/^/| /' conftest.
$ac_ext >&5
16130 bakefile_cv_cxx_compiler___HP_aCC
=no
16134 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16138 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
16139 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
16141 ac_cpp
='$CPP $CPPFLAGS'
16142 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16143 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16144 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16146 if test "x$bakefile_cv_c_compiler___HP_aCC" = "xyes"; then
16159 ac_cpp
='$CXXCPP $CPPFLAGS'
16160 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16161 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16162 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16164 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
16165 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
16166 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
16167 echo $ECHO_N "(cached) $ECHO_C" >&6
16169 cat >conftest.
$ac_ext <<_ACEOF
16172 cat confdefs.h
>>conftest.
$ac_ext
16173 cat >>conftest.
$ac_ext <<_ACEOF
16174 /* end confdefs.h. */
16188 rm -f conftest.
$ac_objext
16189 if { (ac_try
="$ac_compile"
16190 case "(($ac_try" in
16191 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16192 *) ac_try_echo=$ac_try;;
16194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16195 (eval "$ac_compile") 2>conftest.er1
16197 grep -v '^ *+' conftest.er1 >conftest.err
16199 cat conftest.err >&5
16200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16201 (exit $ac_status); } && {
16202 test -z "$ac_cxx_werror_flag" ||
16203 test ! -s conftest.err
16204 } && test -s conftest.$ac_objext; then
16205 bakefile_cv_cxx_compiler___DECCXX=yes
16207 echo "$as_me: failed program was:" >&5
16208 sed 's/^/| /' conftest.$ac_ext >&5
16210 bakefile_cv_cxx_compiler___DECCXX=no
16214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16218 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
16219 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
16221 ac_cpp='$CPP $CPPFLAGS'
16222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16226 if test "x$bakefile_cv_c_compiler___DECCXX" = "xyes"; then
16239 ac_cpp='$CXXCPP $CPPFLAGS'
16240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16244 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
16245 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
16246 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
16247 echo $ECHO_N "(cached) $ECHO_C" >&6
16249 cat >conftest.$ac_ext <<_ACEOF
16252 cat confdefs.h >>conftest.$ac_ext
16253 cat >>conftest.$ac_ext <<_ACEOF
16254 /* end confdefs.h. */
16260 #ifndef __SUNPRO_CC
16268 rm -f conftest.$ac_objext
16269 if { (ac_try="$ac_compile"
16270 case "(($ac_try" in
16271 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16272 *) ac_try_echo
=$ac_try;;
16274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16275 (eval "$ac_compile") 2>conftest.er1
16277 grep -v '^ *+' conftest.er1
>conftest.err
16279 cat conftest.err
>&5
16280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16281 (exit $ac_status); } && {
16282 test -z "$ac_cxx_werror_flag" ||
16283 test ! -s conftest.err
16284 } && test -s conftest.
$ac_objext; then
16285 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
16287 echo "$as_me: failed program was:" >&5
16288 sed 's/^/| /' conftest.
$ac_ext >&5
16290 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
16294 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16298 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
16299 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
16301 ac_cpp
='$CPP $CPPFLAGS'
16302 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16303 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16304 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16306 if test "x$bakefile_cv_c_compiler___SUNPRO_CC" = "xyes"; then
16319 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
16320 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
16321 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
16322 { (exit 1); exit 1; }; }
16325 if test -n "$ac_tool_prefix"; then
16326 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
16327 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
16328 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16329 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16330 if test "${ac_cv_prog_RANLIB+set}" = set; then
16331 echo $ECHO_N "(cached) $ECHO_C" >&6
16333 if test -n "$RANLIB"; then
16334 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
16336 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16337 for as_dir
in $PATH
16340 test -z "$as_dir" && as_dir
=.
16341 for ac_exec_ext
in '' $ac_executable_extensions; do
16342 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16343 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
16344 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16353 RANLIB
=$ac_cv_prog_RANLIB
16354 if test -n "$RANLIB"; then
16355 { echo "$as_me:$LINENO: result: $RANLIB" >&5
16356 echo "${ECHO_T}$RANLIB" >&6; }
16358 { echo "$as_me:$LINENO: result: no" >&5
16359 echo "${ECHO_T}no" >&6; }
16364 if test -z "$ac_cv_prog_RANLIB"; then
16365 ac_ct_RANLIB
=$RANLIB
16366 # Extract the first word of "ranlib", so it can be a program name with args.
16367 set dummy ranlib
; ac_word
=$2
16368 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16369 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16370 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
16371 echo $ECHO_N "(cached) $ECHO_C" >&6
16373 if test -n "$ac_ct_RANLIB"; then
16374 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
16376 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16377 for as_dir
in $PATH
16380 test -z "$as_dir" && as_dir
=.
16381 for ac_exec_ext
in '' $ac_executable_extensions; do
16382 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16383 ac_cv_prog_ac_ct_RANLIB
="ranlib"
16384 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16393 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
16394 if test -n "$ac_ct_RANLIB"; then
16395 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
16396 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
16398 { echo "$as_me:$LINENO: result: no" >&5
16399 echo "${ECHO_T}no" >&6; }
16402 if test "x$ac_ct_RANLIB" = x
; then
16405 case $cross_compiling:$ac_tool_warned in
16407 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16408 whose name does not start with the host triplet. If you think this
16409 configuration is useful to you, please write to autoconf@gnu.org." >&5
16410 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16411 whose name does not start with the host triplet. If you think this
16412 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16413 ac_tool_warned
=yes ;;
16415 RANLIB
=$ac_ct_RANLIB
16418 RANLIB
="$ac_cv_prog_RANLIB"
16422 if test "x$SUNCXX" != xyes
; then
16423 if test -n "$ac_tool_prefix"; then
16424 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
16425 set dummy
${ac_tool_prefix}ar; ac_word
=$2
16426 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16427 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16428 if test "${ac_cv_prog_AR+set}" = set; then
16429 echo $ECHO_N "(cached) $ECHO_C" >&6
16431 if test -n "$AR"; then
16432 ac_cv_prog_AR
="$AR" # Let the user override the test.
16434 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16435 for as_dir
in $PATH
16438 test -z "$as_dir" && as_dir
=.
16439 for ac_exec_ext
in '' $ac_executable_extensions; do
16440 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16441 ac_cv_prog_AR
="${ac_tool_prefix}ar"
16442 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16452 if test -n "$AR"; then
16453 { echo "$as_me:$LINENO: result: $AR" >&5
16454 echo "${ECHO_T}$AR" >&6; }
16456 { echo "$as_me:$LINENO: result: no" >&5
16457 echo "${ECHO_T}no" >&6; }
16462 if test -z "$ac_cv_prog_AR"; then
16464 # Extract the first word of "ar", so it can be a program name with args.
16465 set dummy
ar; ac_word
=$2
16466 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16467 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16468 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
16469 echo $ECHO_N "(cached) $ECHO_C" >&6
16471 if test -n "$ac_ct_AR"; then
16472 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
16474 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16475 for as_dir
in $PATH
16478 test -z "$as_dir" && as_dir
=.
16479 for ac_exec_ext
in '' $ac_executable_extensions; do
16480 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16481 ac_cv_prog_ac_ct_AR
="ar"
16482 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16491 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
16492 if test -n "$ac_ct_AR"; then
16493 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
16494 echo "${ECHO_T}$ac_ct_AR" >&6; }
16496 { echo "$as_me:$LINENO: result: no" >&5
16497 echo "${ECHO_T}no" >&6; }
16500 if test "x$ac_ct_AR" = x
; then
16503 case $cross_compiling:$ac_tool_warned in
16505 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16506 whose name does not start with the host triplet. If you think this
16507 configuration is useful to you, please write to autoconf@gnu.org." >&5
16508 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16509 whose name does not start with the host triplet. If you think this
16510 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16511 ac_tool_warned
=yes ;;
16516 AR
="$ac_cv_prog_AR"
16519 if test "x$AR" = "x" ; then
16520 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
16521 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
16522 { (exit 1); exit 1; }; }
16526 # Find a good install program. We prefer a C program (faster),
16527 # so one script is as good as another. But avoid the broken or
16528 # incompatible versions:
16529 # SysV /etc/install, /usr/sbin/install
16530 # SunOS /usr/etc/install
16531 # IRIX /sbin/install
16533 # AmigaOS /C/install, which installs bootblocks on floppy discs
16534 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
16535 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
16536 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
16537 # OS/2's system install, which has a completely different semantic
16538 # ./install, which can be erroneously created by make from ./install.sh.
16539 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
16540 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
16541 if test -z "$INSTALL"; then
16542 if test "${ac_cv_path_install+set}" = set; then
16543 echo $ECHO_N "(cached) $ECHO_C" >&6
16545 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16546 for as_dir
in $PATH
16549 test -z "$as_dir" && as_dir
=.
16550 # Account for people who put trailing slashes in PATH elements.
16552 .
/ | .
// | /cC
/* | \
16553 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
16554 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
16557 # OSF1 and SCO ODT 3.0 have their own names for install.
16558 # Don't use installbsd from OSF since it installs stuff as root
16560 for ac_prog
in ginstall scoinst
install; do
16561 for ac_exec_ext
in '' $ac_executable_extensions; do
16562 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
16563 if test $ac_prog = install &&
16564 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
16565 # AIX install. It has an incompatible calling convention.
16567 elif test $ac_prog = install &&
16568 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
16569 # program-specific install script used by HP pwplus--don't use.
16572 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
16585 if test "${ac_cv_path_install+set}" = set; then
16586 INSTALL
=$ac_cv_path_install
16588 # As a last resort, use the slow shell script. Don't cache a
16589 # value for INSTALL within a source directory, because that will
16590 # break other packages using the cache if that directory is
16591 # removed, or if the value is a relative name.
16592 INSTALL
=$ac_install_sh
16595 { echo "$as_me:$LINENO: result: $INSTALL" >&5
16596 echo "${ECHO_T}$INSTALL" >&6; }
16598 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
16599 # It thinks the first close brace ends the variable substitution.
16600 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
16602 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
16604 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
16610 ?
:* ) # Drive letter, considered as absolute.
16613 INSTALL
=`pwd`/${INSTALL} ;;
16620 INSTALL_PROGRAM
="cp -fp"
16621 INSTALL_DATA
="cp -fp"
16627 if test -n "$ac_tool_prefix"; then
16628 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
16629 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
16630 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16631 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16632 if test "${ac_cv_prog_STRIP+set}" = set; then
16633 echo $ECHO_N "(cached) $ECHO_C" >&6
16635 if test -n "$STRIP"; then
16636 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
16638 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16639 for as_dir
in $PATH
16642 test -z "$as_dir" && as_dir
=.
16643 for ac_exec_ext
in '' $ac_executable_extensions; do
16644 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16645 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
16646 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16655 STRIP
=$ac_cv_prog_STRIP
16656 if test -n "$STRIP"; then
16657 { echo "$as_me:$LINENO: result: $STRIP" >&5
16658 echo "${ECHO_T}$STRIP" >&6; }
16660 { echo "$as_me:$LINENO: result: no" >&5
16661 echo "${ECHO_T}no" >&6; }
16666 if test -z "$ac_cv_prog_STRIP"; then
16668 # Extract the first word of "strip", so it can be a program name with args.
16669 set dummy strip
; ac_word
=$2
16670 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16671 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16672 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
16673 echo $ECHO_N "(cached) $ECHO_C" >&6
16675 if test -n "$ac_ct_STRIP"; then
16676 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
16678 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16679 for as_dir
in $PATH
16682 test -z "$as_dir" && as_dir
=.
16683 for ac_exec_ext
in '' $ac_executable_extensions; do
16684 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16685 ac_cv_prog_ac_ct_STRIP
="strip"
16686 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16695 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
16696 if test -n "$ac_ct_STRIP"; then
16697 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
16698 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
16700 { echo "$as_me:$LINENO: result: no" >&5
16701 echo "${ECHO_T}no" >&6; }
16704 if test "x$ac_ct_STRIP" = x
; then
16707 case $cross_compiling:$ac_tool_warned in
16709 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16710 whose name does not start with the host triplet. If you think this
16711 configuration is useful to you, please write to autoconf@gnu.org." >&5
16712 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16713 whose name does not start with the host triplet. If you think this
16714 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16715 ac_tool_warned
=yes ;;
16720 STRIP
="$ac_cv_prog_STRIP"
16724 if test "$wxUSE_WINE" = "yes"; then
16725 if test -n "$ac_tool_prefix"; then
16726 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
16727 set dummy
${ac_tool_prefix}wrc
; ac_word
=$2
16728 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16729 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16730 if test "${ac_cv_prog_WINDRES+set}" = set; then
16731 echo $ECHO_N "(cached) $ECHO_C" >&6
16733 if test -n "$WINDRES"; then
16734 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
16736 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16737 for as_dir
in $PATH
16740 test -z "$as_dir" && as_dir
=.
16741 for ac_exec_ext
in '' $ac_executable_extensions; do
16742 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16743 ac_cv_prog_WINDRES
="${ac_tool_prefix}wrc"
16744 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16753 WINDRES
=$ac_cv_prog_WINDRES
16754 if test -n "$WINDRES"; then
16755 { echo "$as_me:$LINENO: result: $WINDRES" >&5
16756 echo "${ECHO_T}$WINDRES" >&6; }
16758 { echo "$as_me:$LINENO: result: no" >&5
16759 echo "${ECHO_T}no" >&6; }
16764 if test -z "$ac_cv_prog_WINDRES"; then
16765 ac_ct_WINDRES
=$WINDRES
16766 # Extract the first word of "wrc", so it can be a program name with args.
16767 set dummy wrc
; ac_word
=$2
16768 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16769 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16770 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
16771 echo $ECHO_N "(cached) $ECHO_C" >&6
16773 if test -n "$ac_ct_WINDRES"; then
16774 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
16776 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16777 for as_dir
in $PATH
16780 test -z "$as_dir" && as_dir
=.
16781 for ac_exec_ext
in '' $ac_executable_extensions; do
16782 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16783 ac_cv_prog_ac_ct_WINDRES
="wrc"
16784 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16793 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
16794 if test -n "$ac_ct_WINDRES"; then
16795 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
16796 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
16798 { echo "$as_me:$LINENO: result: no" >&5
16799 echo "${ECHO_T}no" >&6; }
16802 if test "x$ac_ct_WINDRES" = x
; then
16805 case $cross_compiling:$ac_tool_warned in
16807 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16808 whose name does not start with the host triplet. If you think this
16809 configuration is useful to you, please write to autoconf@gnu.org." >&5
16810 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16811 whose name does not start with the host triplet. If you think this
16812 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16813 ac_tool_warned
=yes ;;
16815 WINDRES
=$ac_ct_WINDRES
16818 WINDRES
="$ac_cv_prog_WINDRES"
16824 *-*-cygwin* | *-*-mingw32* )
16825 if test -n "$ac_tool_prefix"; then
16826 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
16827 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
16828 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16829 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16830 if test "${ac_cv_prog_WINDRES+set}" = set; then
16831 echo $ECHO_N "(cached) $ECHO_C" >&6
16833 if test -n "$WINDRES"; then
16834 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
16836 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16837 for as_dir
in $PATH
16840 test -z "$as_dir" && as_dir
=.
16841 for ac_exec_ext
in '' $ac_executable_extensions; do
16842 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16843 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
16844 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16853 WINDRES
=$ac_cv_prog_WINDRES
16854 if test -n "$WINDRES"; then
16855 { echo "$as_me:$LINENO: result: $WINDRES" >&5
16856 echo "${ECHO_T}$WINDRES" >&6; }
16858 { echo "$as_me:$LINENO: result: no" >&5
16859 echo "${ECHO_T}no" >&6; }
16864 if test -z "$ac_cv_prog_WINDRES"; then
16865 ac_ct_WINDRES
=$WINDRES
16866 # Extract the first word of "windres", so it can be a program name with args.
16867 set dummy windres
; ac_word
=$2
16868 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16870 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
16871 echo $ECHO_N "(cached) $ECHO_C" >&6
16873 if test -n "$ac_ct_WINDRES"; then
16874 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
16876 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16877 for as_dir
in $PATH
16880 test -z "$as_dir" && as_dir
=.
16881 for ac_exec_ext
in '' $ac_executable_extensions; do
16882 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16883 ac_cv_prog_ac_ct_WINDRES
="windres"
16884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16893 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
16894 if test -n "$ac_ct_WINDRES"; then
16895 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
16896 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
16898 { echo "$as_me:$LINENO: result: no" >&5
16899 echo "${ECHO_T}no" >&6; }
16902 if test "x$ac_ct_WINDRES" = x
; then
16905 case $cross_compiling:$ac_tool_warned in
16907 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16908 whose name does not start with the host triplet. If you think this
16909 configuration is useful to you, please write to autoconf@gnu.org." >&5
16910 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16911 whose name does not start with the host triplet. If you think this
16912 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16913 ac_tool_warned
=yes ;;
16915 WINDRES
=$ac_ct_WINDRES
16918 WINDRES
="$ac_cv_prog_WINDRES"
16922 if test -n "$ac_tool_prefix"; then
16923 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
16924 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
16925 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16926 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16927 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
16928 echo $ECHO_N "(cached) $ECHO_C" >&6
16930 if test -n "$DLLTOOL"; then
16931 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
16933 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16934 for as_dir
in $PATH
16937 test -z "$as_dir" && as_dir
=.
16938 for ac_exec_ext
in '' $ac_executable_extensions; do
16939 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16940 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
16941 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16950 DLLTOOL
=$ac_cv_prog_DLLTOOL
16951 if test -n "$DLLTOOL"; then
16952 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
16953 echo "${ECHO_T}$DLLTOOL" >&6; }
16955 { echo "$as_me:$LINENO: result: no" >&5
16956 echo "${ECHO_T}no" >&6; }
16961 if test -z "$ac_cv_prog_DLLTOOL"; then
16962 ac_ct_DLLTOOL
=$DLLTOOL
16963 # Extract the first word of "dlltool", so it can be a program name with args.
16964 set dummy dlltool
; ac_word
=$2
16965 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16966 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16967 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
16968 echo $ECHO_N "(cached) $ECHO_C" >&6
16970 if test -n "$ac_ct_DLLTOOL"; then
16971 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
16973 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16974 for as_dir
in $PATH
16977 test -z "$as_dir" && as_dir
=.
16978 for ac_exec_ext
in '' $ac_executable_extensions; do
16979 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16980 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
16981 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16990 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
16991 if test -n "$ac_ct_DLLTOOL"; then
16992 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
16993 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
16995 { echo "$as_me:$LINENO: result: no" >&5
16996 echo "${ECHO_T}no" >&6; }
16999 if test "x$ac_ct_DLLTOOL" = x
; then
17002 case $cross_compiling:$ac_tool_warned in
17004 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17005 whose name does not start with the host triplet. If you think this
17006 configuration is useful to you, please write to autoconf@gnu.org." >&5
17007 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17008 whose name does not start with the host triplet. If you think this
17009 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17010 ac_tool_warned
=yes ;;
17012 DLLTOOL
=$ac_ct_DLLTOOL
17015 DLLTOOL
="$ac_cv_prog_DLLTOOL"
17022 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
17023 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
17024 if test "${wx_cv_prog_makeisgnu+set}" = set; then
17025 echo $ECHO_N "(cached) $ECHO_C" >&6
17028 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
17029 $EGREP -s GNU
> /dev
/null
); then
17030 wx_cv_prog_makeisgnu
="yes"
17032 wx_cv_prog_makeisgnu
="no"
17036 { echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
17037 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6; }
17039 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
17047 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
17048 { echo "$as_me:$LINENO: checking if make supports VPATH" >&5
17049 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6; }
17050 if test "${wx_cv_prog_makevpath+set}" = set; then
17051 echo $ECHO_N "(cached) $ECHO_C" >&6
17054 cat - << EOF > confMake
17060 if test ! -d sub
; then
17063 echo dummy
> sub
/file
17064 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
17066 rm -f sub
/file check final_file confMake
17068 if test "$RESULT" = 0; then
17069 wx_cv_prog_makevpath
="yes"
17071 wx_cv_prog_makevpath
="no"
17075 { echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
17076 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6; }
17078 if test "x$wx_cv_prog_makevpath" != "xyes"; then
17079 { { echo "$as_me:$LINENO: error:
17080 You need a make-utility that is able to use the variable
17082 If your version of make does not support VPATH correctly,
17083 please install GNU-make (possibly as gmake), and start
17084 configure with the following command:
17085 export MAKE=gmake; ./configure for sh-type shells
17086 setenv MAKE gmake; ./configure for csh-type shells
17087 Also please do remember to use gmake in this case every time
17088 you are trying to compile.
17090 echo "$as_me: error:
17091 You need a make-utility that is able to use the variable
17093 If your version of make does not support VPATH correctly,
17094 please install GNU-make (possibly as gmake), and start
17095 configure with the following command:
17096 export MAKE=gmake; ./configure for sh-type shells
17097 setenv MAKE gmake; ./configure for csh-type shells
17098 Also please do remember to use gmake in this case every time
17099 you are trying to compile.
17101 { (exit 1); exit 1; }; }
17103 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
17104 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
17106 if test "$LN_S" = "ln -s"; then
17107 { echo "$as_me:$LINENO: result: yes" >&5
17108 echo "${ECHO_T}yes" >&6; }
17110 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
17111 echo "${ECHO_T}no, using $LN_S" >&6; }
17117 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
17118 CXXFLAGS
="-qunique $CXXFLAGS"
17122 powerpc
-*-darwin* )
17123 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
17124 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
17125 cat >conftest.
$ac_ext <<_ACEOF
17128 cat confdefs.h
>>conftest.
$ac_ext
17129 cat >>conftest.
$ac_ext <<_ACEOF
17130 /* end confdefs.h. */
17135 #ifndef __POWERPC__
17136 choke me for lack of PowerPC
17143 rm -f conftest.
$ac_objext
17144 if { (ac_try
="$ac_compile"
17145 case "(($ac_try" in
17146 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17147 *) ac_try_echo=$ac_try;;
17149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17150 (eval "$ac_compile") 2>conftest.er1
17152 grep -v '^ *+' conftest.er1 >conftest.err
17154 cat conftest.err >&5
17155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17156 (exit $ac_status); } && {
17157 test -z "$ac_c_werror_flag" ||
17158 test ! -s conftest.err
17159 } && test -s conftest.$ac_objext; then
17160 { echo "$as_me:$LINENO: result: yes" >&5
17161 echo "${ECHO_T}yes" >&6; }
17163 echo "$as_me: failed program was:" >&5
17164 sed 's/^/| /' conftest.$ac_ext >&5
17166 { echo "$as_me:$LINENO: result: no" >&5
17167 echo "${ECHO_T}no" >&6; }
17168 cat >>confdefs.h <<\_ACEOF
17169 #define __POWERPC__ 1
17175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17181 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
17182 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
17183 cat >conftest.$ac_ext <<_ACEOF
17186 cat confdefs.h >>conftest.$ac_ext
17187 cat >>conftest.$ac_ext <<_ACEOF
17188 /* end confdefs.h. */
17189 #include <CoreFoundation/CFBase.h>
17199 rm -f conftest.$ac_objext
17200 if { (ac_try="$ac_compile"
17201 case "(($ac_try" in
17202 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17203 *) ac_try_echo
=$ac_try;;
17205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17206 (eval "$ac_compile") 2>conftest.er1
17208 grep -v '^ *+' conftest.er1
>conftest.err
17210 cat conftest.err
>&5
17211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17212 (exit $ac_status); } && {
17213 test -z "$ac_c_werror_flag" ||
17214 test ! -s conftest.err
17215 } && test -s conftest.
$ac_objext; then
17216 { echo "$as_me:$LINENO: result: yes" >&5
17217 echo "${ECHO_T}yes" >&6; }
17219 echo "$as_me: failed program was:" >&5
17220 sed 's/^/| /' conftest.
$ac_ext >&5
17222 { echo "$as_me:$LINENO: result: no" >&5
17223 echo "${ECHO_T}no" >&6; }
17224 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
17225 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
17226 cat >conftest.
$ac_ext <<_ACEOF
17229 cat confdefs.h
>>conftest.
$ac_ext
17230 cat >>conftest.
$ac_ext <<_ACEOF
17231 /* end confdefs.h. */
17232 #define __CF_USE_FRAMEWORK_INCLUDES__
17233 #include <CoreFoundation/CFBase.h>
17243 rm -f conftest.
$ac_objext
17244 if { (ac_try
="$ac_compile"
17245 case "(($ac_try" in
17246 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17247 *) ac_try_echo=$ac_try;;
17249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17250 (eval "$ac_compile") 2>conftest.er1
17252 grep -v '^ *+' conftest.er1 >conftest.err
17254 cat conftest.err >&5
17255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17256 (exit $ac_status); } && {
17257 test -z "$ac_c_werror_flag" ||
17258 test ! -s conftest.err
17259 } && test -s conftest.$ac_objext; then
17260 { echo "$as_me:$LINENO: result: yes" >&5
17261 echo "${ECHO_T}yes" >&6; }
17262 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
17264 echo "$as_me: failed program was:" >&5
17265 sed 's/^/| /' conftest.$ac_ext >&5
17267 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
17268 See \`config.log
' for more details." >&5
17269 echo "$as_me: error: no. CoreFoundation not available.
17270 See \`config.log' for more details.
" >&2;}
17271 { (exit 1); exit 1; }; }
17275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17285 doesnt_want_win32=0
17288 if test "$wxUSE_MSW" = 1 ; then
17291 { echo "$as_me:$LINENO: checking
if -mno-cygwin is
in effect
" >&5
17292 echo $ECHO_N "checking
if -mno-cygwin is
in effect...
$ECHO_C" >&6; }
17293 if test "${wx_cv_nocygwin+set}" = set; then
17294 echo $ECHO_N "(cached
) $ECHO_C" >&6
17297 cat >conftest.$ac_ext <<_ACEOF
17300 cat confdefs.h >>conftest.$ac_ext
17301 cat >>conftest.$ac_ext <<_ACEOF
17302 /* end confdefs.h. */
17316 rm -f conftest.$ac_objext
17317 if { (ac_try="$ac_compile"
17318 case "(($ac_try" in
17319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17320 *) ac_try_echo=$ac_try;;
17322 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17323 (eval "$ac_compile") 2>conftest.er1
17325 grep -v '^ *+' conftest.er1 >conftest.err
17327 cat conftest.err >&5
17328 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17329 (exit $ac_status); } && {
17330 test -z "$ac_c_werror_flag" ||
17331 test ! -s conftest.err
17332 } && test -s conftest.$ac_objext; then
17335 echo "$as_me: failed program was
:" >&5
17336 sed 's/^/| /' conftest.$ac_ext >&5
17342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17346 { echo "$as_me:$LINENO: result
: $wx_cv_nocygwin" >&5
17347 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
17349 if test "$wx_cv_nocygwin" = "yes"; then
17352 doesnt_want_win32=1
17355 if test "$wants_win32" = 1 ; then
17356 BAKEFILE_FORCE_PLATFORM=win32
17364 if test "$wxUSE_WINE" = "yes"; then
17366 LDFLAGS_GUI="-mwindows"
17369 if test "$wants_win32" = 1 ; then
17372 cat >>confdefs.h <<\_ACEOF
17373 #define __WIN32__ 1
17376 cat >>confdefs.h <<\_ACEOF
17377 #define __WIN95__ 1
17380 cat >>confdefs.h <<\_ACEOF
17381 #define __WINDOWS__ 1
17384 cat >>confdefs.h <<\_ACEOF
17385 #define __GNUWIN32__ 1
17388 cat >>confdefs.h <<\_ACEOF
17393 if test "$doesnt_want_win32" = 1 ; then
17398 if test "$USE_UNIX" = 1 ; then
17400 cat >>confdefs.h <<\_ACEOF
17407 *-pc-os2_emx | *-pc-os2-emx )
17408 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
17409 { echo "$as_me:$LINENO: checking
for drand48
in -lcExt" >&5
17410 echo $ECHO_N "checking
for drand48
in -lcExt...
$ECHO_C" >&6; }
17411 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
17412 echo $ECHO_N "(cached
) $ECHO_C" >&6
17414 ac_check_lib_save_LIBS=$LIBS
17415 LIBS="-lcExt $LIBS"
17416 cat >conftest.$ac_ext <<_ACEOF
17419 cat confdefs.h >>conftest.$ac_ext
17420 cat >>conftest.$ac_ext <<_ACEOF
17421 /* end confdefs.h. */
17423 /* Override any GCC internal prototype to avoid an error.
17424 Use char because int might match the return type of a GCC
17425 builtin and then its argument prototype would still apply. */
17438 rm -f conftest.$ac_objext conftest$ac_exeext
17439 if { (ac_try="$ac_link"
17440 case "(($ac_try" in
17441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17442 *) ac_try_echo=$ac_try;;
17444 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17445 (eval "$ac_link") 2>conftest.er1
17447 grep -v '^ *+' conftest.er1 >conftest.err
17449 cat conftest.err >&5
17450 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17451 (exit $ac_status); } && {
17452 test -z "$ac_c_werror_flag" ||
17453 test ! -s conftest.err
17454 } && test -s conftest$ac_exeext &&
17455 $as_test_x conftest$ac_exeext; then
17456 ac_cv_lib_cExt_drand48=yes
17458 echo "$as_me: failed program was
:" >&5
17459 sed 's/^/| /' conftest.$ac_ext >&5
17461 ac_cv_lib_cExt_drand48=no
17464 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17465 conftest$ac_exeext conftest.$ac_ext
17466 LIBS=$ac_check_lib_save_LIBS
17468 { echo "$as_me:$LINENO: result
: $ac_cv_lib_cExt_drand48" >&5
17469 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
17470 if test $ac_cv_lib_cExt_drand48 = yes; then
17471 LIBS="$LIBS -lcExt"
17475 RESPROGRAMOBJ="\
${top_srcdir}/include
/wx
/os
2/wx.res
"
17477 { echo "$as_me:$LINENO: checking
for gcc
/libc version
" >&5
17478 echo $ECHO_N "checking
for gcc
/libc version...
$ECHO_C" >&6; }
17479 if test "${wx_cv_gccversion+set}" = set; then
17480 echo $ECHO_N "(cached
) $ECHO_C" >&6
17483 if test "$cross_compiling" = yes; then
17484 wx_cv_gccversion="EMX2
"
17487 cat >conftest.$ac_ext <<_ACEOF
17490 cat confdefs.h >>conftest.$ac_ext
17491 cat >>conftest.$ac_ext <<_ACEOF
17492 /* end confdefs.h. */
17498 FILE *f=fopen("conftestval
", "w
");
17503 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
17505 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
17515 rm -f conftest$ac_exeext
17516 if { (ac_try="$ac_link"
17517 case "(($ac_try" in
17518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17519 *) ac_try_echo=$ac_try;;
17521 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17522 (eval "$ac_link") 2>&5
17524 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17525 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17526 { (case "(($ac_try" in
17527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17528 *) ac_try_echo=$ac_try;;
17530 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17531 (eval "$ac_try") 2>&5
17533 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17534 (exit $ac_status); }; }; then
17535 wx_cv_gccversion=`cat conftestval`
17537 echo "$as_me: program exited with status
$ac_status" >&5
17538 echo "$as_me: failed program was
:" >&5
17539 sed 's/^/| /' conftest.$ac_ext >&5
17541 ( exit $ac_status )
17542 wx_cv_gccversion="EMX2
"
17544 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17550 { echo "$as_me:$LINENO: result
: $wx_cv_gccversion" >&5
17551 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
17552 if test "$wx_cv_gccversion" = "EMX2
"; then
17553 LIBS="$LIBS -lstdcpp"
17554 LDFLAGS="$LDFLAGS -Zsysv-signals"
17556 if test "$wx_cv_gccversion" = "EMX3
"; then
17557 LIBS="$LIBS -lstdcxx -lgcc"
17558 LDFLAGS="$LDFLAGS -Zsysv-signals"
17560 LIBS="$LIBS -lstdc++"
17563 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no
"; then
17564 { echo "$as_me:$LINENO: WARNING
: Building DLLs requires OMF mode
, enabled
" >&5
17565 echo "$as_me: WARNING
: Building DLLs requires OMF mode
, enabled
" >&2;}
17572 { echo "$as_me:$LINENO: checking
for strcasecmp
() in string.h
" >&5
17573 echo $ECHO_N "checking
for strcasecmp
() in string.h...
$ECHO_C" >&6; }
17574 if test "${ac_cv_string_strcasecmp+set}" = set; then
17575 echo $ECHO_N "(cached
) $ECHO_C" >&6
17578 cat >conftest.$ac_ext <<_ACEOF
17581 cat confdefs.h >>conftest.$ac_ext
17582 cat >>conftest.$ac_ext <<_ACEOF
17583 /* end confdefs.h. */
17585 #include <string.h>
17591 strcasecmp("foo
", "bar
");
17597 rm -f conftest.$ac_objext conftest$ac_exeext
17598 if { (ac_try="$ac_link"
17599 case "(($ac_try" in
17600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17601 *) ac_try_echo=$ac_try;;
17603 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17604 (eval "$ac_link") 2>conftest.er1
17606 grep -v '^ *+' conftest.er1 >conftest.err
17608 cat conftest.err >&5
17609 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17610 (exit $ac_status); } && {
17611 test -z "$ac_c_werror_flag" ||
17612 test ! -s conftest.err
17613 } && test -s conftest$ac_exeext &&
17614 $as_test_x conftest$ac_exeext; then
17615 ac_cv_string_strcasecmp=yes
17617 echo "$as_me: failed program was
:" >&5
17618 sed 's/^/| /' conftest.$ac_ext >&5
17620 ac_cv_string_strcasecmp=no
17624 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17625 conftest$ac_exeext conftest.$ac_ext
17628 { echo "$as_me:$LINENO: result
: $ac_cv_string_strcasecmp" >&5
17629 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
17631 if test x"$ac_cv_string_strcasecmp" = "xyes
"; then
17632 cat >>confdefs.h <<\_ACEOF
17633 #define HAVE_STRCASECMP_IN_STRING_H 1
17637 { echo "$as_me:$LINENO: checking
for strcasecmp
() in strings.h
" >&5
17638 echo $ECHO_N "checking
for strcasecmp
() in strings.h...
$ECHO_C" >&6; }
17639 if test "${ac_cv_strings_strcasecmp+set}" = set; then
17640 echo $ECHO_N "(cached
) $ECHO_C" >&6
17643 cat >conftest.$ac_ext <<_ACEOF
17646 cat confdefs.h >>conftest.$ac_ext
17647 cat >>conftest.$ac_ext <<_ACEOF
17648 /* end confdefs.h. */
17650 #include <strings.h>
17656 strcasecmp("foo
", "bar
");
17662 rm -f conftest.$ac_objext conftest$ac_exeext
17663 if { (ac_try="$ac_link"
17664 case "(($ac_try" in
17665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17666 *) ac_try_echo=$ac_try;;
17668 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17669 (eval "$ac_link") 2>conftest.er1
17671 grep -v '^ *+' conftest.er1 >conftest.err
17673 cat conftest.err >&5
17674 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17675 (exit $ac_status); } && {
17676 test -z "$ac_c_werror_flag" ||
17677 test ! -s conftest.err
17678 } && test -s conftest$ac_exeext &&
17679 $as_test_x conftest$ac_exeext; then
17680 ac_cv_strings_strcasecmp=yes
17682 echo "$as_me: failed program was
:" >&5
17683 sed 's/^/| /' conftest.$ac_ext >&5
17685 ac_cv_strings_strcasecmp=no
17689 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17690 conftest$ac_exeext conftest.$ac_ext
17693 { echo "$as_me:$LINENO: result
: $ac_cv_strings_strcasecmp" >&5
17694 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
17696 if test x"$ac_cv_strings_strcasecmp" = "xyes
"; then
17697 cat >>confdefs.h <<\_ACEOF
17698 #define HAVE_STRCASECMP_IN_STRINGS_H 1
17702 { { echo "$as_me:$LINENO: error
: No
case-insensitive string comparison
function found.
" >&5
17703 echo "$as_me: error
: No
case-insensitive string comparison
function found.
" >&2;}
17704 { (exit 1); exit 1; }; }
17712 { echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
17713 echo $ECHO_N "checking
for ANSI C header files...
$ECHO_C" >&6; }
17714 if test "${ac_cv_header_stdc+set}" = set; then
17715 echo $ECHO_N "(cached
) $ECHO_C" >&6
17717 cat >conftest.$ac_ext <<_ACEOF
17720 cat confdefs.h >>conftest.$ac_ext
17721 cat >>conftest.$ac_ext <<_ACEOF
17722 /* end confdefs.h. */
17723 #include <stdlib.h>
17724 #include <stdarg.h>
17725 #include <string.h>
17736 rm -f conftest.$ac_objext
17737 if { (ac_try="$ac_compile"
17738 case "(($ac_try" in
17739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17740 *) ac_try_echo=$ac_try;;
17742 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17743 (eval "$ac_compile") 2>conftest.er1
17745 grep -v '^ *+' conftest.er1 >conftest.err
17747 cat conftest.err >&5
17748 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17749 (exit $ac_status); } && {
17750 test -z "$ac_c_werror_flag" ||
17751 test ! -s conftest.err
17752 } && test -s conftest.$ac_objext; then
17753 ac_cv_header_stdc=yes
17755 echo "$as_me: failed program was
:" >&5
17756 sed 's/^/| /' conftest.$ac_ext >&5
17758 ac_cv_header_stdc=no
17761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17763 if test $ac_cv_header_stdc = yes; then
17764 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
17765 cat >conftest.$ac_ext <<_ACEOF
17768 cat confdefs.h >>conftest.$ac_ext
17769 cat >>conftest.$ac_ext <<_ACEOF
17770 /* end confdefs.h. */
17771 #include <string.h>
17774 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
17775 $EGREP "memchr
" >/dev/null 2>&1; then
17778 ac_cv_header_stdc=no
17784 if test $ac_cv_header_stdc = yes; then
17785 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
17786 cat >conftest.$ac_ext <<_ACEOF
17789 cat confdefs.h >>conftest.$ac_ext
17790 cat >>conftest.$ac_ext <<_ACEOF
17791 /* end confdefs.h. */
17792 #include <stdlib.h>
17795 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
17796 $EGREP "free
" >/dev/null 2>&1; then
17799 ac_cv_header_stdc=no
17805 if test $ac_cv_header_stdc = yes; then
17806 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
17807 if test "$cross_compiling" = yes; then
17810 cat >conftest.$ac_ext <<_ACEOF
17813 cat confdefs.h >>conftest.$ac_ext
17814 cat >>conftest.$ac_ext <<_ACEOF
17815 /* end confdefs.h. */
17817 #include <stdlib.h>
17818 #if ((' ' & 0x0FF) == 0x020)
17819 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
17820 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
17822 # define ISLOWER(c) \
17823 (('a' <= (c) && (c) <= 'i') \
17824 || ('j' <= (c) && (c) <= 'r') \
17825 || ('s' <= (c) && (c) <= 'z'))
17826 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
17829 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
17834 for (i = 0; i < 256; i++)
17835 if (XOR (islower (i), ISLOWER (i))
17836 || toupper (i) != TOUPPER (i))
17841 rm -f conftest$ac_exeext
17842 if { (ac_try="$ac_link"
17843 case "(($ac_try" in
17844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17845 *) ac_try_echo=$ac_try;;
17847 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17848 (eval "$ac_link") 2>&5
17850 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17851 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17852 { (case "(($ac_try" in
17853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17854 *) ac_try_echo=$ac_try;;
17856 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17857 (eval "$ac_try") 2>&5
17859 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17860 (exit $ac_status); }; }; then
17863 echo "$as_me: program exited with status
$ac_status" >&5
17864 echo "$as_me: failed program was
:" >&5
17865 sed 's/^/| /' conftest.$ac_ext >&5
17867 ( exit $ac_status )
17868 ac_cv_header_stdc=no
17870 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17876 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
17877 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
17878 if test $ac_cv_header_stdc = yes; then
17880 cat >>confdefs.h <<\_ACEOF
17881 #define STDC_HEADERS 1
17886 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
17896 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
17897 inttypes.h stdint.h unistd.h
17899 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
17900 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
17901 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
17902 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
17903 echo $ECHO_N "(cached
) $ECHO_C" >&6
17905 cat >conftest.$ac_ext <<_ACEOF
17908 cat confdefs.h >>conftest.$ac_ext
17909 cat >>conftest.$ac_ext <<_ACEOF
17910 /* end confdefs.h. */
17911 $ac_includes_default
17913 #include <$ac_header>
17915 rm -f conftest.$ac_objext
17916 if { (ac_try="$ac_compile"
17917 case "(($ac_try" in
17918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17919 *) ac_try_echo=$ac_try;;
17921 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17922 (eval "$ac_compile") 2>conftest.er1
17924 grep -v '^ *+' conftest.er1 >conftest.err
17926 cat conftest.err >&5
17927 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17928 (exit $ac_status); } && {
17929 test -z "$ac_c_werror_flag" ||
17930 test ! -s conftest.err
17931 } && test -s conftest.$ac_objext; then
17932 eval "$as_ac_Header=yes"
17934 echo "$as_me: failed program was
:" >&5
17935 sed 's/^/| /' conftest.$ac_ext >&5
17937 eval "$as_ac_Header=no
"
17940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17942 ac_res=`eval echo '${'$as_ac_Header'}'`
17943 { echo "$as_me:$LINENO: result
: $ac_res" >&5
17944 echo "${ECHO_T}$ac_res" >&6; }
17945 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17946 cat >>confdefs.h <<_ACEOF
17947 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
17961 for ac_header in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
17963 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
17964 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
17965 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
17966 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
17967 echo $ECHO_N "(cached
) $ECHO_C" >&6
17969 cat >conftest.$ac_ext <<_ACEOF
17972 cat confdefs.h >>conftest.$ac_ext
17973 cat >>conftest.$ac_ext <<_ACEOF
17974 /* end confdefs.h. */
17975 $ac_includes_default
17977 #include <$ac_header>
17979 rm -f conftest.$ac_objext
17980 if { (ac_try="$ac_compile"
17981 case "(($ac_try" in
17982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17983 *) ac_try_echo=$ac_try;;
17985 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17986 (eval "$ac_compile") 2>conftest.er1
17988 grep -v '^ *+' conftest.er1 >conftest.err
17990 cat conftest.err >&5
17991 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17992 (exit $ac_status); } && {
17993 test -z "$ac_c_werror_flag" ||
17994 test ! -s conftest.err
17995 } && test -s conftest.$ac_objext; then
17996 eval "$as_ac_Header=yes"
17998 echo "$as_me: failed program was
:" >&5
17999 sed 's/^/| /' conftest.$ac_ext >&5
18001 eval "$as_ac_Header=no
"
18004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18006 ac_res=`eval echo '${'$as_ac_Header'}'`
18007 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18008 echo "${ECHO_T}$ac_res" >&6; }
18009 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18010 cat >>confdefs.h <<_ACEOF
18011 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
18019 if test "$ac_cv_header_wchar_h" != "yes"; then
18020 { echo "$as_me:$LINENO: checking
for wcstr.h
" >&5
18021 echo $ECHO_N "checking
for wcstr.h...
$ECHO_C" >&6; }
18022 if test "${ac_cv_header_wcstr_h+set}" = set; then
18023 echo $ECHO_N "(cached
) $ECHO_C" >&6
18025 cat >conftest.$ac_ext <<_ACEOF
18028 cat confdefs.h >>conftest.$ac_ext
18029 cat >>conftest.$ac_ext <<_ACEOF
18030 /* end confdefs.h. */
18031 $ac_includes_default
18035 rm -f conftest.$ac_objext
18036 if { (ac_try="$ac_compile"
18037 case "(($ac_try" in
18038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18039 *) ac_try_echo=$ac_try;;
18041 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18042 (eval "$ac_compile") 2>conftest.er1
18044 grep -v '^ *+' conftest.er1 >conftest.err
18046 cat conftest.err >&5
18047 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18048 (exit $ac_status); } && {
18049 test -z "$ac_c_werror_flag" ||
18050 test ! -s conftest.err
18051 } && test -s conftest.$ac_objext; then
18052 ac_cv_header_wcstr_h=yes
18054 echo "$as_me: failed program was
:" >&5
18055 sed 's/^/| /' conftest.$ac_ext >&5
18057 ac_cv_header_wcstr_h=no
18060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18062 { echo "$as_me:$LINENO: result
: $ac_cv_header_wcstr_h" >&5
18063 echo "${ECHO_T}$ac_cv_header_wcstr_h" >&6; }
18069 *-pc-os2_emx | *-pc-os2-emx )
18070 if test $ac_cv_header_langinfo_h = "yes" \
18071 -a \( "$wx_cv_gccversion" = "EMX2
" \
18072 -o "$wx_cv_gccversion" = "EMX3
" \
18073 -o "$wx_cv_gccversion" = "Innotek5
" \); then
18074 LIBS="$LIBS -lintl"
18079 if test "$USE_UNIX" = 1 ; then
18080 { echo "$as_me:$LINENO: checking
for sys
/select.h
" >&5
18081 echo $ECHO_N "checking
for sys
/select.h...
$ECHO_C" >&6; }
18082 if test "${ac_cv_header_sys_select_h+set}" = set; then
18083 echo $ECHO_N "(cached
) $ECHO_C" >&6
18085 cat >conftest.$ac_ext <<_ACEOF
18088 cat confdefs.h >>conftest.$ac_ext
18089 cat >>conftest.$ac_ext <<_ACEOF
18090 /* end confdefs.h. */
18091 $ac_includes_default
18093 #include <sys/select.h>
18095 rm -f conftest.$ac_objext
18096 if { (ac_try="$ac_compile"
18097 case "(($ac_try" in
18098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18099 *) ac_try_echo=$ac_try;;
18101 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18102 (eval "$ac_compile") 2>conftest.er1
18104 grep -v '^ *+' conftest.er1 >conftest.err
18106 cat conftest.err >&5
18107 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18108 (exit $ac_status); } && {
18109 test -z "$ac_c_werror_flag" ||
18110 test ! -s conftest.err
18111 } && test -s conftest.$ac_objext; then
18112 ac_cv_header_sys_select_h=yes
18114 echo "$as_me: failed program was
:" >&5
18115 sed 's/^/| /' conftest.$ac_ext >&5
18117 ac_cv_header_sys_select_h=no
18120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18122 { echo "$as_me:$LINENO: result
: $ac_cv_header_sys_select_h" >&5
18123 echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6; }
18129 { echo "$as_me:$LINENO: checking
for an ANSI C
-conforming const
" >&5
18130 echo $ECHO_N "checking
for an ANSI C
-conforming const...
$ECHO_C" >&6; }
18131 if test "${ac_cv_c_const+set}" = set; then
18132 echo $ECHO_N "(cached
) $ECHO_C" >&6
18134 cat >conftest.$ac_ext <<_ACEOF
18137 cat confdefs.h >>conftest.$ac_ext
18138 cat >>conftest.$ac_ext <<_ACEOF
18139 /* end confdefs.h. */
18144 /* FIXME: Include the comments suggested by Paul. */
18145 #ifndef __cplusplus
18146 /* Ultrix mips cc rejects this. */
18147 typedef int charset[2];
18149 /* SunOS 4.1.1 cc rejects this. */
18150 char const *const *pcpcc;
18152 /* NEC SVR4.0.2 mips cc rejects this. */
18153 struct point {int x, y;};
18154 static struct point const zero = {0,0};
18155 /* AIX XL C 1.02.0.0 rejects this.
18156 It does not let you subtract one const X* pointer from another in
18157 an arm of an if-expression whose if-part is not a constant
18159 const char *g = "string
";
18160 pcpcc = &g + (g ? g-g : 0);
18161 /* HPUX 7.0 cc rejects these. */
18163 ppc = (char**) pcpcc;
18164 pcpcc = (char const *const *) ppc;
18165 { /* SCO 3.2v4 cc rejects this. */
18167 char const *s = 0 ? (char *) 0 : (char const *) 0;
18172 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18173 int x[] = {25, 17};
18174 const int *foo = &x[0];
18177 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18178 typedef const int *iptr;
18182 { /* AIX XL C 1.02.0.0 rejects this saying
18183 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18184 struct s { int j; const int *ap[3]; };
18185 struct s *b; b->j = 5;
18187 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18188 const int foo = 10;
18189 if (!foo) return 0;
18191 return !cs[0] && !zero.x;
18198 rm -f conftest.$ac_objext
18199 if { (ac_try="$ac_compile"
18200 case "(($ac_try" in
18201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18202 *) ac_try_echo=$ac_try;;
18204 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18205 (eval "$ac_compile") 2>conftest.er1
18207 grep -v '^ *+' conftest.er1 >conftest.err
18209 cat conftest.err >&5
18210 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18211 (exit $ac_status); } && {
18212 test -z "$ac_c_werror_flag" ||
18213 test ! -s conftest.err
18214 } && test -s conftest.$ac_objext; then
18217 echo "$as_me: failed program was
:" >&5
18218 sed 's/^/| /' conftest.$ac_ext >&5
18223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18225 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
18226 echo "${ECHO_T}$ac_cv_c_const" >&6; }
18227 if test $ac_cv_c_const = no; then
18229 cat >>confdefs.h <<\_ACEOF
18235 { echo "$as_me:$LINENO: checking
for inline
" >&5
18236 echo $ECHO_N "checking
for inline...
$ECHO_C" >&6; }
18237 if test "${ac_cv_c_inline+set}" = set; then
18238 echo $ECHO_N "(cached
) $ECHO_C" >&6
18241 for ac_kw in inline __inline__ __inline; do
18242 cat >conftest.$ac_ext <<_ACEOF
18245 cat confdefs.h >>conftest.$ac_ext
18246 cat >>conftest.$ac_ext <<_ACEOF
18247 /* end confdefs.h. */
18248 #ifndef __cplusplus
18250 static $ac_kw foo_t static_foo () {return 0; }
18251 $ac_kw foo_t foo () {return 0; }
18255 rm -f conftest.$ac_objext
18256 if { (ac_try="$ac_compile"
18257 case "(($ac_try" in
18258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18259 *) ac_try_echo=$ac_try;;
18261 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18262 (eval "$ac_compile") 2>conftest.er1
18264 grep -v '^ *+' conftest.er1 >conftest.err
18266 cat conftest.err >&5
18267 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18268 (exit $ac_status); } && {
18269 test -z "$ac_c_werror_flag" ||
18270 test ! -s conftest.err
18271 } && test -s conftest.$ac_objext; then
18272 ac_cv_c_inline=$ac_kw
18274 echo "$as_me: failed program was
:" >&5
18275 sed 's/^/| /' conftest.$ac_ext >&5
18280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18281 test "$ac_cv_c_inline" != no && break
18285 { echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
18286 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
18289 case $ac_cv_c_inline in
18292 case $ac_cv_c_inline in
18294 *) ac_val=$ac_cv_c_inline;;
18296 cat >>confdefs.h <<_ACEOF
18297 #ifndef __cplusplus
18298 #define inline $ac_val
18305 { echo "$as_me:$LINENO: checking
for short
" >&5
18306 echo $ECHO_N "checking
for short...
$ECHO_C" >&6; }
18307 if test "${ac_cv_type_short+set}" = set; then
18308 echo $ECHO_N "(cached
) $ECHO_C" >&6
18310 cat >conftest.$ac_ext <<_ACEOF
18313 cat confdefs.h >>conftest.$ac_ext
18314 cat >>conftest.$ac_ext <<_ACEOF
18315 /* end confdefs.h. */
18316 $ac_includes_default
18317 typedef short ac__type_new_;
18321 if ((ac__type_new_ *) 0)
18323 if (sizeof (ac__type_new_))
18329 rm -f conftest.$ac_objext
18330 if { (ac_try="$ac_compile"
18331 case "(($ac_try" in
18332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18333 *) ac_try_echo=$ac_try;;
18335 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18336 (eval "$ac_compile") 2>conftest.er1
18338 grep -v '^ *+' conftest.er1 >conftest.err
18340 cat conftest.err >&5
18341 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18342 (exit $ac_status); } && {
18343 test -z "$ac_c_werror_flag" ||
18344 test ! -s conftest.err
18345 } && test -s conftest.$ac_objext; then
18346 ac_cv_type_short=yes
18348 echo "$as_me: failed program was
:" >&5
18349 sed 's/^/| /' conftest.$ac_ext >&5
18351 ac_cv_type_short=no
18354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18356 { echo "$as_me:$LINENO: result
: $ac_cv_type_short" >&5
18357 echo "${ECHO_T}$ac_cv_type_short" >&6; }
18359 # The cast to long int works around a bug in the HP C Compiler
18360 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18361 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18362 # This bug is HP SR number 8606223364.
18363 { echo "$as_me:$LINENO: checking size of short
" >&5
18364 echo $ECHO_N "checking size of short...
$ECHO_C" >&6; }
18365 if test "${ac_cv_sizeof_short+set}" = set; then
18366 echo $ECHO_N "(cached
) $ECHO_C" >&6
18368 if test "$cross_compiling" = yes; then
18369 # Depending upon the size, compute the lo and hi bounds.
18370 cat >conftest.$ac_ext <<_ACEOF
18373 cat confdefs.h >>conftest.$ac_ext
18374 cat >>conftest.$ac_ext <<_ACEOF
18375 /* end confdefs.h. */
18376 $ac_includes_default
18377 typedef short ac__type_sizeof_;
18381 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
18388 rm -f conftest.$ac_objext
18389 if { (ac_try="$ac_compile"
18390 case "(($ac_try" in
18391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18392 *) ac_try_echo=$ac_try;;
18394 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18395 (eval "$ac_compile") 2>conftest.er1
18397 grep -v '^ *+' conftest.er1 >conftest.err
18399 cat conftest.err >&5
18400 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18401 (exit $ac_status); } && {
18402 test -z "$ac_c_werror_flag" ||
18403 test ! -s conftest.err
18404 } && test -s conftest.$ac_objext; then
18407 cat >conftest.$ac_ext <<_ACEOF
18410 cat confdefs.h >>conftest.$ac_ext
18411 cat >>conftest.$ac_ext <<_ACEOF
18412 /* end confdefs.h. */
18413 $ac_includes_default
18414 typedef short ac__type_sizeof_;
18418 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18425 rm -f conftest.$ac_objext
18426 if { (ac_try="$ac_compile"
18427 case "(($ac_try" in
18428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18429 *) ac_try_echo=$ac_try;;
18431 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18432 (eval "$ac_compile") 2>conftest.er1
18434 grep -v '^ *+' conftest.er1 >conftest.err
18436 cat conftest.err >&5
18437 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18438 (exit $ac_status); } && {
18439 test -z "$ac_c_werror_flag" ||
18440 test ! -s conftest.err
18441 } && test -s conftest.$ac_objext; then
18442 ac_hi=$ac_mid; break
18444 echo "$as_me: failed program was
:" >&5
18445 sed 's/^/| /' conftest.$ac_ext >&5
18447 ac_lo=`expr $ac_mid + 1`
18448 if test $ac_lo -le $ac_mid; then
18452 ac_mid=`expr 2 '*' $ac_mid + 1`
18455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18458 echo "$as_me: failed program was
:" >&5
18459 sed 's/^/| /' conftest.$ac_ext >&5
18461 cat >conftest.$ac_ext <<_ACEOF
18464 cat confdefs.h >>conftest.$ac_ext
18465 cat >>conftest.$ac_ext <<_ACEOF
18466 /* end confdefs.h. */
18467 $ac_includes_default
18468 typedef short ac__type_sizeof_;
18472 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
18479 rm -f conftest.$ac_objext
18480 if { (ac_try="$ac_compile"
18481 case "(($ac_try" in
18482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18483 *) ac_try_echo=$ac_try;;
18485 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18486 (eval "$ac_compile") 2>conftest.er1
18488 grep -v '^ *+' conftest.er1 >conftest.err
18490 cat conftest.err >&5
18491 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18492 (exit $ac_status); } && {
18493 test -z "$ac_c_werror_flag" ||
18494 test ! -s conftest.err
18495 } && test -s conftest.$ac_objext; then
18498 cat >conftest.$ac_ext <<_ACEOF
18501 cat confdefs.h >>conftest.$ac_ext
18502 cat >>conftest.$ac_ext <<_ACEOF
18503 /* end confdefs.h. */
18504 $ac_includes_default
18505 typedef short ac__type_sizeof_;
18509 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
18516 rm -f conftest.$ac_objext
18517 if { (ac_try="$ac_compile"
18518 case "(($ac_try" in
18519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18520 *) ac_try_echo=$ac_try;;
18522 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18523 (eval "$ac_compile") 2>conftest.er1
18525 grep -v '^ *+' conftest.er1 >conftest.err
18527 cat conftest.err >&5
18528 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18529 (exit $ac_status); } && {
18530 test -z "$ac_c_werror_flag" ||
18531 test ! -s conftest.err
18532 } && test -s conftest.$ac_objext; then
18533 ac_lo=$ac_mid; break
18535 echo "$as_me: failed program was
:" >&5
18536 sed 's/^/| /' conftest.$ac_ext >&5
18538 ac_hi=`expr '(' $ac_mid ')' - 1`
18539 if test $ac_mid -le $ac_hi; then
18543 ac_mid=`expr 2 '*' $ac_mid`
18546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18549 echo "$as_me: failed program was
:" >&5
18550 sed 's/^/| /' conftest.$ac_ext >&5
18555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18559 # Binary search between lo and hi bounds.
18560 while test "x
$ac_lo" != "x
$ac_hi"; do
18561 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18562 cat >conftest.$ac_ext <<_ACEOF
18565 cat confdefs.h >>conftest.$ac_ext
18566 cat >>conftest.$ac_ext <<_ACEOF
18567 /* end confdefs.h. */
18568 $ac_includes_default
18569 typedef short ac__type_sizeof_;
18573 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18580 rm -f conftest.$ac_objext
18581 if { (ac_try="$ac_compile"
18582 case "(($ac_try" in
18583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18584 *) ac_try_echo=$ac_try;;
18586 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18587 (eval "$ac_compile") 2>conftest.er1
18589 grep -v '^ *+' conftest.er1 >conftest.err
18591 cat conftest.err >&5
18592 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18593 (exit $ac_status); } && {
18594 test -z "$ac_c_werror_flag" ||
18595 test ! -s conftest.err
18596 } && test -s conftest.$ac_objext; then
18599 echo "$as_me: failed program was
:" >&5
18600 sed 's/^/| /' conftest.$ac_ext >&5
18602 ac_lo=`expr '(' $ac_mid ')' + 1`
18605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18608 ?*) ac_cv_sizeof_short=$ac_lo;;
18609 '') if test "$ac_cv_type_short" = yes; then
18610 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
18611 See \
`config.log' for more details." >&5
18612 echo "$as_me: error: cannot compute sizeof (short)
18613 See \`config.log
' for more details." >&2;}
18614 { (exit 77); exit 77; }; }
18616 ac_cv_sizeof_short=0
18620 cat >conftest.$ac_ext <<_ACEOF
18623 cat confdefs.h >>conftest.$ac_ext
18624 cat >>conftest.$ac_ext <<_ACEOF
18625 /* end confdefs.h. */
18626 $ac_includes_default
18627 typedef short ac__type_sizeof_;
18628 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
18629 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
18631 #include <stdlib.h>
18636 FILE *f = fopen ("conftest.val", "w");
18639 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
18641 long int i = longval ();
18642 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18644 fprintf (f, "%ld\n", i);
18648 unsigned long int i = ulongval ();
18649 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18651 fprintf (f, "%lu\n", i);
18653 return ferror (f) || fclose (f) != 0;
18659 rm -f conftest$ac_exeext
18660 if { (ac_try="$ac_link"
18661 case "(($ac_try" in
18662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18663 *) ac_try_echo=$ac_try;;
18665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18666 (eval "$ac_link") 2>&5
18668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18669 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
18670 { (case "(($ac_try" in
18671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18672 *) ac_try_echo=$ac_try;;
18674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18675 (eval "$ac_try") 2>&5
18677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18678 (exit $ac_status); }; }; then
18679 ac_cv_sizeof_short=`cat conftest.val`
18681 echo "$as_me: program exited with status $ac_status" >&5
18682 echo "$as_me: failed program was:" >&5
18683 sed 's
/^
/| /' conftest.$ac_ext >&5
18685 ( exit $ac_status )
18686 if test "$ac_cv_type_short" = yes; then
18687 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
18688 See \`config.log' for more details.
" >&5
18689 echo "$as_me: error
: cannot compute sizeof
(short
)
18690 See \
`config.log' for more details." >&2;}
18691 { (exit 77); exit 77; }; }
18693 ac_cv_sizeof_short=0
18696 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18700 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18701 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
18705 cat >>confdefs.h <<_ACEOF
18706 #define SIZEOF_SHORT $ac_cv_sizeof_short
18710 { echo "$as_me:$LINENO: checking for void *" >&5
18711 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
18712 if test "${ac_cv_type_void_p+set}" = set; then
18713 echo $ECHO_N "(cached) $ECHO_C" >&6
18715 cat >conftest.$ac_ext <<_ACEOF
18718 cat confdefs.h >>conftest.$ac_ext
18719 cat >>conftest.$ac_ext <<_ACEOF
18720 /* end confdefs.h. */
18721 $ac_includes_default
18722 typedef void * ac__type_new_;
18726 if ((ac__type_new_ *) 0)
18728 if (sizeof (ac__type_new_))
18734 rm -f conftest.$ac_objext
18735 if { (ac_try="$ac_compile"
18736 case "(($ac_try" in
18737 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18738 *) ac_try_echo
=$ac_try;;
18740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18741 (eval "$ac_compile") 2>conftest.er1
18743 grep -v '^ *+' conftest.er1
>conftest.err
18745 cat conftest.err
>&5
18746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18747 (exit $ac_status); } && {
18748 test -z "$ac_c_werror_flag" ||
18749 test ! -s conftest.err
18750 } && test -s conftest.
$ac_objext; then
18751 ac_cv_type_void_p
=yes
18753 echo "$as_me: failed program was:" >&5
18754 sed 's/^/| /' conftest.
$ac_ext >&5
18756 ac_cv_type_void_p
=no
18759 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18761 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
18762 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
18764 # The cast to long int works around a bug in the HP C Compiler
18765 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18766 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18767 # This bug is HP SR number 8606223364.
18768 { echo "$as_me:$LINENO: checking size of void *" >&5
18769 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
18770 if test "${ac_cv_sizeof_void_p+set}" = set; then
18771 echo $ECHO_N "(cached) $ECHO_C" >&6
18773 if test "$cross_compiling" = yes; then
18774 # Depending upon the size, compute the lo and hi bounds.
18775 cat >conftest.
$ac_ext <<_ACEOF
18778 cat confdefs.h
>>conftest.
$ac_ext
18779 cat >>conftest.
$ac_ext <<_ACEOF
18780 /* end confdefs.h. */
18781 $ac_includes_default
18782 typedef void * ac__type_sizeof_;
18786 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
18793 rm -f conftest.
$ac_objext
18794 if { (ac_try
="$ac_compile"
18795 case "(($ac_try" in
18796 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18797 *) ac_try_echo=$ac_try;;
18799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18800 (eval "$ac_compile") 2>conftest.er1
18802 grep -v '^ *+' conftest.er1 >conftest.err
18804 cat conftest.err >&5
18805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18806 (exit $ac_status); } && {
18807 test -z "$ac_c_werror_flag" ||
18808 test ! -s conftest.err
18809 } && test -s conftest.$ac_objext; then
18812 cat >conftest.$ac_ext <<_ACEOF
18815 cat confdefs.h >>conftest.$ac_ext
18816 cat >>conftest.$ac_ext <<_ACEOF
18817 /* end confdefs.h. */
18818 $ac_includes_default
18819 typedef void * ac__type_sizeof_;
18823 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18830 rm -f conftest.$ac_objext
18831 if { (ac_try="$ac_compile"
18832 case "(($ac_try" in
18833 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18834 *) ac_try_echo
=$ac_try;;
18836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18837 (eval "$ac_compile") 2>conftest.er1
18839 grep -v '^ *+' conftest.er1
>conftest.err
18841 cat conftest.err
>&5
18842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18843 (exit $ac_status); } && {
18844 test -z "$ac_c_werror_flag" ||
18845 test ! -s conftest.err
18846 } && test -s conftest.
$ac_objext; then
18847 ac_hi
=$ac_mid; break
18849 echo "$as_me: failed program was:" >&5
18850 sed 's/^/| /' conftest.
$ac_ext >&5
18852 ac_lo
=`expr $ac_mid + 1`
18853 if test $ac_lo -le $ac_mid; then
18857 ac_mid
=`expr 2 '*' $ac_mid + 1`
18860 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18863 echo "$as_me: failed program was:" >&5
18864 sed 's/^/| /' conftest.
$ac_ext >&5
18866 cat >conftest.
$ac_ext <<_ACEOF
18869 cat confdefs.h
>>conftest.
$ac_ext
18870 cat >>conftest.
$ac_ext <<_ACEOF
18871 /* end confdefs.h. */
18872 $ac_includes_default
18873 typedef void * ac__type_sizeof_;
18877 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
18884 rm -f conftest.
$ac_objext
18885 if { (ac_try
="$ac_compile"
18886 case "(($ac_try" in
18887 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18888 *) ac_try_echo=$ac_try;;
18890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18891 (eval "$ac_compile") 2>conftest.er1
18893 grep -v '^ *+' conftest.er1 >conftest.err
18895 cat conftest.err >&5
18896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18897 (exit $ac_status); } && {
18898 test -z "$ac_c_werror_flag" ||
18899 test ! -s conftest.err
18900 } && test -s conftest.$ac_objext; then
18903 cat >conftest.$ac_ext <<_ACEOF
18906 cat confdefs.h >>conftest.$ac_ext
18907 cat >>conftest.$ac_ext <<_ACEOF
18908 /* end confdefs.h. */
18909 $ac_includes_default
18910 typedef void * ac__type_sizeof_;
18914 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
18921 rm -f conftest.$ac_objext
18922 if { (ac_try="$ac_compile"
18923 case "(($ac_try" in
18924 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18925 *) ac_try_echo
=$ac_try;;
18927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18928 (eval "$ac_compile") 2>conftest.er1
18930 grep -v '^ *+' conftest.er1
>conftest.err
18932 cat conftest.err
>&5
18933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18934 (exit $ac_status); } && {
18935 test -z "$ac_c_werror_flag" ||
18936 test ! -s conftest.err
18937 } && test -s conftest.
$ac_objext; then
18938 ac_lo
=$ac_mid; break
18940 echo "$as_me: failed program was:" >&5
18941 sed 's/^/| /' conftest.
$ac_ext >&5
18943 ac_hi
=`expr '(' $ac_mid ')' - 1`
18944 if test $ac_mid -le $ac_hi; then
18948 ac_mid
=`expr 2 '*' $ac_mid`
18951 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18954 echo "$as_me: failed program was:" >&5
18955 sed 's/^/| /' conftest.
$ac_ext >&5
18960 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18963 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18964 # Binary search between lo and hi bounds.
18965 while test "x$ac_lo" != "x$ac_hi"; do
18966 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18967 cat >conftest.
$ac_ext <<_ACEOF
18970 cat confdefs.h
>>conftest.
$ac_ext
18971 cat >>conftest.
$ac_ext <<_ACEOF
18972 /* end confdefs.h. */
18973 $ac_includes_default
18974 typedef void * ac__type_sizeof_;
18978 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18985 rm -f conftest.
$ac_objext
18986 if { (ac_try
="$ac_compile"
18987 case "(($ac_try" in
18988 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18989 *) ac_try_echo=$ac_try;;
18991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18992 (eval "$ac_compile") 2>conftest.er1
18994 grep -v '^ *+' conftest.er1 >conftest.err
18996 cat conftest.err >&5
18997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18998 (exit $ac_status); } && {
18999 test -z "$ac_c_werror_flag" ||
19000 test ! -s conftest.err
19001 } && test -s conftest.$ac_objext; then
19004 echo "$as_me: failed program was:" >&5
19005 sed 's/^/| /' conftest.$ac_ext >&5
19007 ac_lo=`expr '(' $ac_mid ')' + 1`
19010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19013 ?*) ac_cv_sizeof_void_p=$ac_lo;;
19014 '') if test "$ac_cv_type_void_p" = yes; then
19015 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19016 See \`config.log
' for more details." >&5
19017 echo "$as_me: error: cannot compute sizeof (void *)
19018 See \`config.log' for more details.
" >&2;}
19019 { (exit 77); exit 77; }; }
19021 ac_cv_sizeof_void_p=0
19025 cat >conftest.$ac_ext <<_ACEOF
19028 cat confdefs.h >>conftest.$ac_ext
19029 cat >>conftest.$ac_ext <<_ACEOF
19030 /* end confdefs.h. */
19031 $ac_includes_default
19032 typedef void * ac__type_sizeof_;
19033 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19034 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19036 #include <stdlib.h>
19041 FILE *f = fopen ("conftest.val
", "w
");
19044 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19046 long int i = longval ();
19047 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19049 fprintf (f, "%ld
\n", i);
19053 unsigned long int i = ulongval ();
19054 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19056 fprintf (f, "%lu
\n", i);
19058 return ferror (f) || fclose (f) != 0;
19064 rm -f conftest$ac_exeext
19065 if { (ac_try="$ac_link"
19066 case "(($ac_try" in
19067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19068 *) ac_try_echo=$ac_try;;
19070 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19071 (eval "$ac_link") 2>&5
19073 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19074 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19075 { (case "(($ac_try" in
19076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19077 *) ac_try_echo=$ac_try;;
19079 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19080 (eval "$ac_try") 2>&5
19082 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19083 (exit $ac_status); }; }; then
19084 ac_cv_sizeof_void_p=`cat conftest.val`
19086 echo "$as_me: program exited with status
$ac_status" >&5
19087 echo "$as_me: failed program was
:" >&5
19088 sed 's/^/| /' conftest.$ac_ext >&5
19090 ( exit $ac_status )
19091 if test "$ac_cv_type_void_p" = yes; then
19092 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
19093 See \
`config.log' for more details." >&5
19094 echo "$as_me: error: cannot compute sizeof (void *)
19095 See \`config.log
' for more details." >&2;}
19096 { (exit 77); exit 77; }; }
19098 ac_cv_sizeof_void_p=0
19101 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19105 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19106 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
19110 cat >>confdefs.h <<_ACEOF
19111 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19115 { echo "$as_me:$LINENO: checking for int" >&5
19116 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
19117 if test "${ac_cv_type_int+set}" = set; then
19118 echo $ECHO_N "(cached) $ECHO_C" >&6
19120 cat >conftest.$ac_ext <<_ACEOF
19123 cat confdefs.h >>conftest.$ac_ext
19124 cat >>conftest.$ac_ext <<_ACEOF
19125 /* end confdefs.h. */
19126 $ac_includes_default
19127 typedef int ac__type_new_;
19131 if ((ac__type_new_ *) 0)
19133 if (sizeof (ac__type_new_))
19139 rm -f conftest.$ac_objext
19140 if { (ac_try="$ac_compile"
19141 case "(($ac_try" in
19142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19143 *) ac_try_echo=$ac_try;;
19145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19146 (eval "$ac_compile") 2>conftest.er1
19148 grep -v '^
*+' conftest.er1 >conftest.err
19150 cat conftest.err >&5
19151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19152 (exit $ac_status); } && {
19153 test -z "$ac_c_werror_flag" ||
19154 test ! -s conftest.err
19155 } && test -s conftest.$ac_objext; then
19158 echo "$as_me: failed program was:" >&5
19159 sed 's
/^
/| /' conftest.$ac_ext >&5
19164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19166 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19167 echo "${ECHO_T}$ac_cv_type_int" >&6; }
19169 # The cast to long int works around a bug in the HP C Compiler
19170 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19171 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19172 # This bug is HP SR number 8606223364.
19173 { echo "$as_me:$LINENO: checking size of int" >&5
19174 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
19175 if test "${ac_cv_sizeof_int+set}" = set; then
19176 echo $ECHO_N "(cached) $ECHO_C" >&6
19178 if test "$cross_compiling" = yes; then
19179 # Depending upon the size, compute the lo and hi bounds.
19180 cat >conftest.
$ac_ext <<_ACEOF
19183 cat confdefs.h
>>conftest.
$ac_ext
19184 cat >>conftest.
$ac_ext <<_ACEOF
19185 /* end confdefs.h. */
19186 $ac_includes_default
19187 typedef int ac__type_sizeof_;
19191 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19198 rm -f conftest.
$ac_objext
19199 if { (ac_try
="$ac_compile"
19200 case "(($ac_try" in
19201 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19202 *) ac_try_echo=$ac_try;;
19204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19205 (eval "$ac_compile") 2>conftest.er1
19207 grep -v '^ *+' conftest.er1 >conftest.err
19209 cat conftest.err >&5
19210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19211 (exit $ac_status); } && {
19212 test -z "$ac_c_werror_flag" ||
19213 test ! -s conftest.err
19214 } && test -s conftest.$ac_objext; then
19217 cat >conftest.$ac_ext <<_ACEOF
19220 cat confdefs.h >>conftest.$ac_ext
19221 cat >>conftest.$ac_ext <<_ACEOF
19222 /* end confdefs.h. */
19223 $ac_includes_default
19224 typedef int ac__type_sizeof_;
19228 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19235 rm -f conftest.$ac_objext
19236 if { (ac_try="$ac_compile"
19237 case "(($ac_try" in
19238 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19239 *) ac_try_echo
=$ac_try;;
19241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19242 (eval "$ac_compile") 2>conftest.er1
19244 grep -v '^ *+' conftest.er1
>conftest.err
19246 cat conftest.err
>&5
19247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19248 (exit $ac_status); } && {
19249 test -z "$ac_c_werror_flag" ||
19250 test ! -s conftest.err
19251 } && test -s conftest.
$ac_objext; then
19252 ac_hi
=$ac_mid; break
19254 echo "$as_me: failed program was:" >&5
19255 sed 's/^/| /' conftest.
$ac_ext >&5
19257 ac_lo
=`expr $ac_mid + 1`
19258 if test $ac_lo -le $ac_mid; then
19262 ac_mid
=`expr 2 '*' $ac_mid + 1`
19265 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19268 echo "$as_me: failed program was:" >&5
19269 sed 's/^/| /' conftest.
$ac_ext >&5
19271 cat >conftest.
$ac_ext <<_ACEOF
19274 cat confdefs.h
>>conftest.
$ac_ext
19275 cat >>conftest.
$ac_ext <<_ACEOF
19276 /* end confdefs.h. */
19277 $ac_includes_default
19278 typedef int ac__type_sizeof_;
19282 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19289 rm -f conftest.
$ac_objext
19290 if { (ac_try
="$ac_compile"
19291 case "(($ac_try" in
19292 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19293 *) ac_try_echo=$ac_try;;
19295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19296 (eval "$ac_compile") 2>conftest.er1
19298 grep -v '^ *+' conftest.er1 >conftest.err
19300 cat conftest.err >&5
19301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19302 (exit $ac_status); } && {
19303 test -z "$ac_c_werror_flag" ||
19304 test ! -s conftest.err
19305 } && test -s conftest.$ac_objext; then
19308 cat >conftest.$ac_ext <<_ACEOF
19311 cat confdefs.h >>conftest.$ac_ext
19312 cat >>conftest.$ac_ext <<_ACEOF
19313 /* end confdefs.h. */
19314 $ac_includes_default
19315 typedef int ac__type_sizeof_;
19319 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19326 rm -f conftest.$ac_objext
19327 if { (ac_try="$ac_compile"
19328 case "(($ac_try" in
19329 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19330 *) ac_try_echo
=$ac_try;;
19332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19333 (eval "$ac_compile") 2>conftest.er1
19335 grep -v '^ *+' conftest.er1
>conftest.err
19337 cat conftest.err
>&5
19338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19339 (exit $ac_status); } && {
19340 test -z "$ac_c_werror_flag" ||
19341 test ! -s conftest.err
19342 } && test -s conftest.
$ac_objext; then
19343 ac_lo
=$ac_mid; break
19345 echo "$as_me: failed program was:" >&5
19346 sed 's/^/| /' conftest.
$ac_ext >&5
19348 ac_hi
=`expr '(' $ac_mid ')' - 1`
19349 if test $ac_mid -le $ac_hi; then
19353 ac_mid
=`expr 2 '*' $ac_mid`
19356 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19359 echo "$as_me: failed program was:" >&5
19360 sed 's/^/| /' conftest.
$ac_ext >&5
19365 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19368 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19369 # Binary search between lo and hi bounds.
19370 while test "x$ac_lo" != "x$ac_hi"; do
19371 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19372 cat >conftest.
$ac_ext <<_ACEOF
19375 cat confdefs.h
>>conftest.
$ac_ext
19376 cat >>conftest.
$ac_ext <<_ACEOF
19377 /* end confdefs.h. */
19378 $ac_includes_default
19379 typedef int ac__type_sizeof_;
19383 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19390 rm -f conftest.
$ac_objext
19391 if { (ac_try
="$ac_compile"
19392 case "(($ac_try" in
19393 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19394 *) ac_try_echo=$ac_try;;
19396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19397 (eval "$ac_compile") 2>conftest.er1
19399 grep -v '^ *+' conftest.er1 >conftest.err
19401 cat conftest.err >&5
19402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19403 (exit $ac_status); } && {
19404 test -z "$ac_c_werror_flag" ||
19405 test ! -s conftest.err
19406 } && test -s conftest.$ac_objext; then
19409 echo "$as_me: failed program was:" >&5
19410 sed 's/^/| /' conftest.$ac_ext >&5
19412 ac_lo=`expr '(' $ac_mid ')' + 1`
19415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19418 ?*) ac_cv_sizeof_int=$ac_lo;;
19419 '') if test "$ac_cv_type_int" = yes; then
19420 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
19421 See \`config.log
' for more details." >&5
19422 echo "$as_me: error: cannot compute sizeof (int)
19423 See \`config.log' for more details.
" >&2;}
19424 { (exit 77); exit 77; }; }
19430 cat >conftest.$ac_ext <<_ACEOF
19433 cat confdefs.h >>conftest.$ac_ext
19434 cat >>conftest.$ac_ext <<_ACEOF
19435 /* end confdefs.h. */
19436 $ac_includes_default
19437 typedef int ac__type_sizeof_;
19438 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19439 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19441 #include <stdlib.h>
19446 FILE *f = fopen ("conftest.val
", "w
");
19449 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19451 long int i = longval ();
19452 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19454 fprintf (f, "%ld
\n", i);
19458 unsigned long int i = ulongval ();
19459 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19461 fprintf (f, "%lu
\n", i);
19463 return ferror (f) || fclose (f) != 0;
19469 rm -f conftest$ac_exeext
19470 if { (ac_try="$ac_link"
19471 case "(($ac_try" in
19472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19473 *) ac_try_echo=$ac_try;;
19475 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19476 (eval "$ac_link") 2>&5
19478 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19479 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19480 { (case "(($ac_try" in
19481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19482 *) ac_try_echo=$ac_try;;
19484 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19485 (eval "$ac_try") 2>&5
19487 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19488 (exit $ac_status); }; }; then
19489 ac_cv_sizeof_int=`cat conftest.val`
19491 echo "$as_me: program exited with status
$ac_status" >&5
19492 echo "$as_me: failed program was
:" >&5
19493 sed 's/^/| /' conftest.$ac_ext >&5
19495 ( exit $ac_status )
19496 if test "$ac_cv_type_int" = yes; then
19497 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
19498 See \
`config.log' for more details." >&5
19499 echo "$as_me: error: cannot compute sizeof (int)
19500 See \`config.log
' for more details." >&2;}
19501 { (exit 77); exit 77; }; }
19506 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19510 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
19511 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
19515 cat >>confdefs.h <<_ACEOF
19516 #define SIZEOF_INT $ac_cv_sizeof_int
19520 { echo "$as_me:$LINENO: checking for long" >&5
19521 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
19522 if test "${ac_cv_type_long+set}" = set; then
19523 echo $ECHO_N "(cached) $ECHO_C" >&6
19525 cat >conftest.$ac_ext <<_ACEOF
19528 cat confdefs.h >>conftest.$ac_ext
19529 cat >>conftest.$ac_ext <<_ACEOF
19530 /* end confdefs.h. */
19531 $ac_includes_default
19532 typedef long ac__type_new_;
19536 if ((ac__type_new_ *) 0)
19538 if (sizeof (ac__type_new_))
19544 rm -f conftest.$ac_objext
19545 if { (ac_try="$ac_compile"
19546 case "(($ac_try" in
19547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19548 *) ac_try_echo=$ac_try;;
19550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19551 (eval "$ac_compile") 2>conftest.er1
19553 grep -v '^
*+' conftest.er1 >conftest.err
19555 cat conftest.err >&5
19556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19557 (exit $ac_status); } && {
19558 test -z "$ac_c_werror_flag" ||
19559 test ! -s conftest.err
19560 } && test -s conftest.$ac_objext; then
19561 ac_cv_type_long=yes
19563 echo "$as_me: failed program was:" >&5
19564 sed 's
/^
/| /' conftest.$ac_ext >&5
19569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19571 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
19572 echo "${ECHO_T}$ac_cv_type_long" >&6; }
19574 # The cast to long int works around a bug in the HP C Compiler
19575 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19576 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19577 # This bug is HP SR number 8606223364.
19578 { echo "$as_me:$LINENO: checking size of long" >&5
19579 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
19580 if test "${ac_cv_sizeof_long+set}" = set; then
19581 echo $ECHO_N "(cached) $ECHO_C" >&6
19583 if test "$cross_compiling" = yes; then
19584 # Depending upon the size, compute the lo and hi bounds.
19585 cat >conftest.
$ac_ext <<_ACEOF
19588 cat confdefs.h
>>conftest.
$ac_ext
19589 cat >>conftest.
$ac_ext <<_ACEOF
19590 /* end confdefs.h. */
19591 $ac_includes_default
19592 typedef long ac__type_sizeof_;
19596 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19603 rm -f conftest.
$ac_objext
19604 if { (ac_try
="$ac_compile"
19605 case "(($ac_try" in
19606 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19607 *) ac_try_echo=$ac_try;;
19609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19610 (eval "$ac_compile") 2>conftest.er1
19612 grep -v '^ *+' conftest.er1 >conftest.err
19614 cat conftest.err >&5
19615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19616 (exit $ac_status); } && {
19617 test -z "$ac_c_werror_flag" ||
19618 test ! -s conftest.err
19619 } && test -s conftest.$ac_objext; then
19622 cat >conftest.$ac_ext <<_ACEOF
19625 cat confdefs.h >>conftest.$ac_ext
19626 cat >>conftest.$ac_ext <<_ACEOF
19627 /* end confdefs.h. */
19628 $ac_includes_default
19629 typedef long ac__type_sizeof_;
19633 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19640 rm -f conftest.$ac_objext
19641 if { (ac_try="$ac_compile"
19642 case "(($ac_try" in
19643 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19644 *) ac_try_echo
=$ac_try;;
19646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19647 (eval "$ac_compile") 2>conftest.er1
19649 grep -v '^ *+' conftest.er1
>conftest.err
19651 cat conftest.err
>&5
19652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19653 (exit $ac_status); } && {
19654 test -z "$ac_c_werror_flag" ||
19655 test ! -s conftest.err
19656 } && test -s conftest.
$ac_objext; then
19657 ac_hi
=$ac_mid; break
19659 echo "$as_me: failed program was:" >&5
19660 sed 's/^/| /' conftest.
$ac_ext >&5
19662 ac_lo
=`expr $ac_mid + 1`
19663 if test $ac_lo -le $ac_mid; then
19667 ac_mid
=`expr 2 '*' $ac_mid + 1`
19670 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19673 echo "$as_me: failed program was:" >&5
19674 sed 's/^/| /' conftest.
$ac_ext >&5
19676 cat >conftest.
$ac_ext <<_ACEOF
19679 cat confdefs.h
>>conftest.
$ac_ext
19680 cat >>conftest.
$ac_ext <<_ACEOF
19681 /* end confdefs.h. */
19682 $ac_includes_default
19683 typedef long ac__type_sizeof_;
19687 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19694 rm -f conftest.
$ac_objext
19695 if { (ac_try
="$ac_compile"
19696 case "(($ac_try" in
19697 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19698 *) ac_try_echo=$ac_try;;
19700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19701 (eval "$ac_compile") 2>conftest.er1
19703 grep -v '^ *+' conftest.er1 >conftest.err
19705 cat conftest.err >&5
19706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19707 (exit $ac_status); } && {
19708 test -z "$ac_c_werror_flag" ||
19709 test ! -s conftest.err
19710 } && test -s conftest.$ac_objext; then
19713 cat >conftest.$ac_ext <<_ACEOF
19716 cat confdefs.h >>conftest.$ac_ext
19717 cat >>conftest.$ac_ext <<_ACEOF
19718 /* end confdefs.h. */
19719 $ac_includes_default
19720 typedef long ac__type_sizeof_;
19724 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19731 rm -f conftest.$ac_objext
19732 if { (ac_try="$ac_compile"
19733 case "(($ac_try" in
19734 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19735 *) ac_try_echo
=$ac_try;;
19737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19738 (eval "$ac_compile") 2>conftest.er1
19740 grep -v '^ *+' conftest.er1
>conftest.err
19742 cat conftest.err
>&5
19743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19744 (exit $ac_status); } && {
19745 test -z "$ac_c_werror_flag" ||
19746 test ! -s conftest.err
19747 } && test -s conftest.
$ac_objext; then
19748 ac_lo
=$ac_mid; break
19750 echo "$as_me: failed program was:" >&5
19751 sed 's/^/| /' conftest.
$ac_ext >&5
19753 ac_hi
=`expr '(' $ac_mid ')' - 1`
19754 if test $ac_mid -le $ac_hi; then
19758 ac_mid
=`expr 2 '*' $ac_mid`
19761 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19764 echo "$as_me: failed program was:" >&5
19765 sed 's/^/| /' conftest.
$ac_ext >&5
19770 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19773 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19774 # Binary search between lo and hi bounds.
19775 while test "x$ac_lo" != "x$ac_hi"; do
19776 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19777 cat >conftest.
$ac_ext <<_ACEOF
19780 cat confdefs.h
>>conftest.
$ac_ext
19781 cat >>conftest.
$ac_ext <<_ACEOF
19782 /* end confdefs.h. */
19783 $ac_includes_default
19784 typedef long ac__type_sizeof_;
19788 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19795 rm -f conftest.
$ac_objext
19796 if { (ac_try
="$ac_compile"
19797 case "(($ac_try" in
19798 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19799 *) ac_try_echo=$ac_try;;
19801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19802 (eval "$ac_compile") 2>conftest.er1
19804 grep -v '^ *+' conftest.er1 >conftest.err
19806 cat conftest.err >&5
19807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19808 (exit $ac_status); } && {
19809 test -z "$ac_c_werror_flag" ||
19810 test ! -s conftest.err
19811 } && test -s conftest.$ac_objext; then
19814 echo "$as_me: failed program was:" >&5
19815 sed 's/^/| /' conftest.$ac_ext >&5
19817 ac_lo=`expr '(' $ac_mid ')' + 1`
19820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19823 ?*) ac_cv_sizeof_long=$ac_lo;;
19824 '') if test "$ac_cv_type_long" = yes; then
19825 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
19826 See \`config.log
' for more details." >&5
19827 echo "$as_me: error: cannot compute sizeof (long)
19828 See \`config.log' for more details.
" >&2;}
19829 { (exit 77); exit 77; }; }
19831 ac_cv_sizeof_long=0
19835 cat >conftest.$ac_ext <<_ACEOF
19838 cat confdefs.h >>conftest.$ac_ext
19839 cat >>conftest.$ac_ext <<_ACEOF
19840 /* end confdefs.h. */
19841 $ac_includes_default
19842 typedef long ac__type_sizeof_;
19843 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19844 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19846 #include <stdlib.h>
19851 FILE *f = fopen ("conftest.val
", "w
");
19854 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19856 long int i = longval ();
19857 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19859 fprintf (f, "%ld
\n", i);
19863 unsigned long int i = ulongval ();
19864 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19866 fprintf (f, "%lu
\n", i);
19868 return ferror (f) || fclose (f) != 0;
19874 rm -f conftest$ac_exeext
19875 if { (ac_try="$ac_link"
19876 case "(($ac_try" in
19877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19878 *) ac_try_echo=$ac_try;;
19880 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19881 (eval "$ac_link") 2>&5
19883 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19884 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19885 { (case "(($ac_try" in
19886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19887 *) ac_try_echo=$ac_try;;
19889 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19890 (eval "$ac_try") 2>&5
19892 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19893 (exit $ac_status); }; }; then
19894 ac_cv_sizeof_long=`cat conftest.val`
19896 echo "$as_me: program exited with status
$ac_status" >&5
19897 echo "$as_me: failed program was
:" >&5
19898 sed 's/^/| /' conftest.$ac_ext >&5
19900 ( exit $ac_status )
19901 if test "$ac_cv_type_long" = yes; then
19902 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
19903 See \
`config.log' for more details." >&5
19904 echo "$as_me: error: cannot compute sizeof (long)
19905 See \`config.log
' for more details." >&2;}
19906 { (exit 77); exit 77; }; }
19908 ac_cv_sizeof_long=0
19911 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19915 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
19916 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
19920 cat >>confdefs.h <<_ACEOF
19921 #define SIZEOF_LONG $ac_cv_sizeof_long
19925 { echo "$as_me:$LINENO: checking for size_t" >&5
19926 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
19927 if test "${ac_cv_type_size_t+set}" = set; then
19928 echo $ECHO_N "(cached) $ECHO_C" >&6
19930 cat >conftest.$ac_ext <<_ACEOF
19933 cat confdefs.h >>conftest.$ac_ext
19934 cat >>conftest.$ac_ext <<_ACEOF
19935 /* end confdefs.h. */
19936 $ac_includes_default
19937 typedef size_t ac__type_new_;
19941 if ((ac__type_new_ *) 0)
19943 if (sizeof (ac__type_new_))
19949 rm -f conftest.$ac_objext
19950 if { (ac_try="$ac_compile"
19951 case "(($ac_try" in
19952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19953 *) ac_try_echo=$ac_try;;
19955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19956 (eval "$ac_compile") 2>conftest.er1
19958 grep -v '^
*+' conftest.er1 >conftest.err
19960 cat conftest.err >&5
19961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19962 (exit $ac_status); } && {
19963 test -z "$ac_c_werror_flag" ||
19964 test ! -s conftest.err
19965 } && test -s conftest.$ac_objext; then
19966 ac_cv_type_size_t=yes
19968 echo "$as_me: failed program was:" >&5
19969 sed 's
/^
/| /' conftest.$ac_ext >&5
19971 ac_cv_type_size_t=no
19974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19976 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19977 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
19979 # The cast to long int works around a bug in the HP C Compiler
19980 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19981 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19982 # This bug is HP SR number 8606223364.
19983 { echo "$as_me:$LINENO: checking size of size_t" >&5
19984 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
19985 if test "${ac_cv_sizeof_size_t+set}" = set; then
19986 echo $ECHO_N "(cached) $ECHO_C" >&6
19988 if test "$cross_compiling" = yes; then
19989 # Depending upon the size, compute the lo and hi bounds.
19990 cat >conftest.
$ac_ext <<_ACEOF
19993 cat confdefs.h
>>conftest.
$ac_ext
19994 cat >>conftest.
$ac_ext <<_ACEOF
19995 /* end confdefs.h. */
19996 $ac_includes_default
19997 typedef size_t ac__type_sizeof_;
20001 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20008 rm -f conftest.
$ac_objext
20009 if { (ac_try
="$ac_compile"
20010 case "(($ac_try" in
20011 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20012 *) ac_try_echo=$ac_try;;
20014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20015 (eval "$ac_compile") 2>conftest.er1
20017 grep -v '^ *+' conftest.er1 >conftest.err
20019 cat conftest.err >&5
20020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20021 (exit $ac_status); } && {
20022 test -z "$ac_c_werror_flag" ||
20023 test ! -s conftest.err
20024 } && test -s conftest.$ac_objext; then
20027 cat >conftest.$ac_ext <<_ACEOF
20030 cat confdefs.h >>conftest.$ac_ext
20031 cat >>conftest.$ac_ext <<_ACEOF
20032 /* end confdefs.h. */
20033 $ac_includes_default
20034 typedef size_t ac__type_sizeof_;
20038 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20045 rm -f conftest.$ac_objext
20046 if { (ac_try="$ac_compile"
20047 case "(($ac_try" in
20048 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20049 *) ac_try_echo
=$ac_try;;
20051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20052 (eval "$ac_compile") 2>conftest.er1
20054 grep -v '^ *+' conftest.er1
>conftest.err
20056 cat conftest.err
>&5
20057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20058 (exit $ac_status); } && {
20059 test -z "$ac_c_werror_flag" ||
20060 test ! -s conftest.err
20061 } && test -s conftest.
$ac_objext; then
20062 ac_hi
=$ac_mid; break
20064 echo "$as_me: failed program was:" >&5
20065 sed 's/^/| /' conftest.
$ac_ext >&5
20067 ac_lo
=`expr $ac_mid + 1`
20068 if test $ac_lo -le $ac_mid; then
20072 ac_mid
=`expr 2 '*' $ac_mid + 1`
20075 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20078 echo "$as_me: failed program was:" >&5
20079 sed 's/^/| /' conftest.
$ac_ext >&5
20081 cat >conftest.
$ac_ext <<_ACEOF
20084 cat confdefs.h
>>conftest.
$ac_ext
20085 cat >>conftest.
$ac_ext <<_ACEOF
20086 /* end confdefs.h. */
20087 $ac_includes_default
20088 typedef size_t ac__type_sizeof_;
20092 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20099 rm -f conftest.
$ac_objext
20100 if { (ac_try
="$ac_compile"
20101 case "(($ac_try" in
20102 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20103 *) ac_try_echo=$ac_try;;
20105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20106 (eval "$ac_compile") 2>conftest.er1
20108 grep -v '^ *+' conftest.er1 >conftest.err
20110 cat conftest.err >&5
20111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20112 (exit $ac_status); } && {
20113 test -z "$ac_c_werror_flag" ||
20114 test ! -s conftest.err
20115 } && test -s conftest.$ac_objext; then
20118 cat >conftest.$ac_ext <<_ACEOF
20121 cat confdefs.h >>conftest.$ac_ext
20122 cat >>conftest.$ac_ext <<_ACEOF
20123 /* end confdefs.h. */
20124 $ac_includes_default
20125 typedef size_t ac__type_sizeof_;
20129 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20136 rm -f conftest.$ac_objext
20137 if { (ac_try="$ac_compile"
20138 case "(($ac_try" in
20139 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20140 *) ac_try_echo
=$ac_try;;
20142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20143 (eval "$ac_compile") 2>conftest.er1
20145 grep -v '^ *+' conftest.er1
>conftest.err
20147 cat conftest.err
>&5
20148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20149 (exit $ac_status); } && {
20150 test -z "$ac_c_werror_flag" ||
20151 test ! -s conftest.err
20152 } && test -s conftest.
$ac_objext; then
20153 ac_lo
=$ac_mid; break
20155 echo "$as_me: failed program was:" >&5
20156 sed 's/^/| /' conftest.
$ac_ext >&5
20158 ac_hi
=`expr '(' $ac_mid ')' - 1`
20159 if test $ac_mid -le $ac_hi; then
20163 ac_mid
=`expr 2 '*' $ac_mid`
20166 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20169 echo "$as_me: failed program was:" >&5
20170 sed 's/^/| /' conftest.
$ac_ext >&5
20175 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20178 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20179 # Binary search between lo and hi bounds.
20180 while test "x$ac_lo" != "x$ac_hi"; do
20181 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20182 cat >conftest.
$ac_ext <<_ACEOF
20185 cat confdefs.h
>>conftest.
$ac_ext
20186 cat >>conftest.
$ac_ext <<_ACEOF
20187 /* end confdefs.h. */
20188 $ac_includes_default
20189 typedef size_t ac__type_sizeof_;
20193 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20200 rm -f conftest.
$ac_objext
20201 if { (ac_try
="$ac_compile"
20202 case "(($ac_try" in
20203 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20204 *) ac_try_echo=$ac_try;;
20206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20207 (eval "$ac_compile") 2>conftest.er1
20209 grep -v '^ *+' conftest.er1 >conftest.err
20211 cat conftest.err >&5
20212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20213 (exit $ac_status); } && {
20214 test -z "$ac_c_werror_flag" ||
20215 test ! -s conftest.err
20216 } && test -s conftest.$ac_objext; then
20219 echo "$as_me: failed program was:" >&5
20220 sed 's/^/| /' conftest.$ac_ext >&5
20222 ac_lo=`expr '(' $ac_mid ')' + 1`
20225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20228 ?*) ac_cv_sizeof_size_t=$ac_lo;;
20229 '') if test "$ac_cv_type_size_t" = yes; then
20230 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
20231 See \`config.log
' for more details." >&5
20232 echo "$as_me: error: cannot compute sizeof (size_t)
20233 See \`config.log' for more details.
" >&2;}
20234 { (exit 77); exit 77; }; }
20236 ac_cv_sizeof_size_t=0
20240 cat >conftest.$ac_ext <<_ACEOF
20243 cat confdefs.h >>conftest.$ac_ext
20244 cat >>conftest.$ac_ext <<_ACEOF
20245 /* end confdefs.h. */
20246 $ac_includes_default
20247 typedef size_t ac__type_sizeof_;
20248 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20249 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20251 #include <stdlib.h>
20256 FILE *f = fopen ("conftest.val
", "w
");
20259 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20261 long int i = longval ();
20262 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20264 fprintf (f, "%ld
\n", i);
20268 unsigned long int i = ulongval ();
20269 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20271 fprintf (f, "%lu
\n", i);
20273 return ferror (f) || fclose (f) != 0;
20279 rm -f conftest$ac_exeext
20280 if { (ac_try="$ac_link"
20281 case "(($ac_try" in
20282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20283 *) ac_try_echo=$ac_try;;
20285 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20286 (eval "$ac_link") 2>&5
20288 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20289 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20290 { (case "(($ac_try" in
20291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20292 *) ac_try_echo=$ac_try;;
20294 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20295 (eval "$ac_try") 2>&5
20297 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20298 (exit $ac_status); }; }; then
20299 ac_cv_sizeof_size_t=`cat conftest.val`
20301 echo "$as_me: program exited with status
$ac_status" >&5
20302 echo "$as_me: failed program was
:" >&5
20303 sed 's/^/| /' conftest.$ac_ext >&5
20305 ( exit $ac_status )
20306 if test "$ac_cv_type_size_t" = yes; then
20307 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(size_t
)
20308 See \
`config.log' for more details." >&5
20309 echo "$as_me: error: cannot compute sizeof (size_t)
20310 See \`config.log
' for more details." >&2;}
20311 { (exit 77); exit 77; }; }
20313 ac_cv_sizeof_size_t=0
20316 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20320 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
20321 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
20325 cat >>confdefs.h <<_ACEOF
20326 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20333 { echo "$as_me:$LINENO: checking for long long" >&5
20334 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
20335 if test "${ac_cv_type_long_long+set}" = set; then
20336 echo $ECHO_N "(cached) $ECHO_C" >&6
20338 cat >conftest.$ac_ext <<_ACEOF
20341 cat confdefs.h >>conftest.$ac_ext
20342 cat >>conftest.$ac_ext <<_ACEOF
20343 /* end confdefs.h. */
20344 $ac_includes_default
20345 typedef long long ac__type_new_;
20349 if ((ac__type_new_ *) 0)
20351 if (sizeof (ac__type_new_))
20357 rm -f conftest.$ac_objext
20358 if { (ac_try="$ac_compile"
20359 case "(($ac_try" in
20360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20361 *) ac_try_echo=$ac_try;;
20363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20364 (eval "$ac_compile") 2>conftest.er1
20366 grep -v '^
*+' conftest.er1 >conftest.err
20368 cat conftest.err >&5
20369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20370 (exit $ac_status); } && {
20371 test -z "$ac_c_werror_flag" ||
20372 test ! -s conftest.err
20373 } && test -s conftest.$ac_objext; then
20374 ac_cv_type_long_long=yes
20376 echo "$as_me: failed program was:" >&5
20377 sed 's
/^
/| /' conftest.$ac_ext >&5
20379 ac_cv_type_long_long=no
20382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20384 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20385 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
20387 # The cast to long int works around a bug in the HP C Compiler
20388 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20389 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20390 # This bug is HP SR number 8606223364.
20391 { echo "$as_me:$LINENO: checking size of long long" >&5
20392 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
20393 if test "${ac_cv_sizeof_long_long+set}" = set; then
20394 echo $ECHO_N "(cached) $ECHO_C" >&6
20396 if test "$cross_compiling" = yes; then
20397 # Depending upon the size, compute the lo and hi bounds.
20398 cat >conftest.
$ac_ext <<_ACEOF
20401 cat confdefs.h
>>conftest.
$ac_ext
20402 cat >>conftest.
$ac_ext <<_ACEOF
20403 /* end confdefs.h. */
20404 $ac_includes_default
20405 typedef long long ac__type_sizeof_;
20409 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20416 rm -f conftest.
$ac_objext
20417 if { (ac_try
="$ac_compile"
20418 case "(($ac_try" in
20419 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20420 *) ac_try_echo=$ac_try;;
20422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20423 (eval "$ac_compile") 2>conftest.er1
20425 grep -v '^ *+' conftest.er1 >conftest.err
20427 cat conftest.err >&5
20428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20429 (exit $ac_status); } && {
20430 test -z "$ac_c_werror_flag" ||
20431 test ! -s conftest.err
20432 } && test -s conftest.$ac_objext; then
20435 cat >conftest.$ac_ext <<_ACEOF
20438 cat confdefs.h >>conftest.$ac_ext
20439 cat >>conftest.$ac_ext <<_ACEOF
20440 /* end confdefs.h. */
20441 $ac_includes_default
20442 typedef long long ac__type_sizeof_;
20446 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20453 rm -f conftest.$ac_objext
20454 if { (ac_try="$ac_compile"
20455 case "(($ac_try" in
20456 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20457 *) ac_try_echo
=$ac_try;;
20459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20460 (eval "$ac_compile") 2>conftest.er1
20462 grep -v '^ *+' conftest.er1
>conftest.err
20464 cat conftest.err
>&5
20465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20466 (exit $ac_status); } && {
20467 test -z "$ac_c_werror_flag" ||
20468 test ! -s conftest.err
20469 } && test -s conftest.
$ac_objext; then
20470 ac_hi
=$ac_mid; break
20472 echo "$as_me: failed program was:" >&5
20473 sed 's/^/| /' conftest.
$ac_ext >&5
20475 ac_lo
=`expr $ac_mid + 1`
20476 if test $ac_lo -le $ac_mid; then
20480 ac_mid
=`expr 2 '*' $ac_mid + 1`
20483 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20486 echo "$as_me: failed program was:" >&5
20487 sed 's/^/| /' conftest.
$ac_ext >&5
20489 cat >conftest.
$ac_ext <<_ACEOF
20492 cat confdefs.h
>>conftest.
$ac_ext
20493 cat >>conftest.
$ac_ext <<_ACEOF
20494 /* end confdefs.h. */
20495 $ac_includes_default
20496 typedef long long ac__type_sizeof_;
20500 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20507 rm -f conftest.
$ac_objext
20508 if { (ac_try
="$ac_compile"
20509 case "(($ac_try" in
20510 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20511 *) ac_try_echo=$ac_try;;
20513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20514 (eval "$ac_compile") 2>conftest.er1
20516 grep -v '^ *+' conftest.er1 >conftest.err
20518 cat conftest.err >&5
20519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20520 (exit $ac_status); } && {
20521 test -z "$ac_c_werror_flag" ||
20522 test ! -s conftest.err
20523 } && test -s conftest.$ac_objext; then
20526 cat >conftest.$ac_ext <<_ACEOF
20529 cat confdefs.h >>conftest.$ac_ext
20530 cat >>conftest.$ac_ext <<_ACEOF
20531 /* end confdefs.h. */
20532 $ac_includes_default
20533 typedef long long ac__type_sizeof_;
20537 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20544 rm -f conftest.$ac_objext
20545 if { (ac_try="$ac_compile"
20546 case "(($ac_try" in
20547 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20548 *) ac_try_echo
=$ac_try;;
20550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20551 (eval "$ac_compile") 2>conftest.er1
20553 grep -v '^ *+' conftest.er1
>conftest.err
20555 cat conftest.err
>&5
20556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20557 (exit $ac_status); } && {
20558 test -z "$ac_c_werror_flag" ||
20559 test ! -s conftest.err
20560 } && test -s conftest.
$ac_objext; then
20561 ac_lo
=$ac_mid; break
20563 echo "$as_me: failed program was:" >&5
20564 sed 's/^/| /' conftest.
$ac_ext >&5
20566 ac_hi
=`expr '(' $ac_mid ')' - 1`
20567 if test $ac_mid -le $ac_hi; then
20571 ac_mid
=`expr 2 '*' $ac_mid`
20574 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20577 echo "$as_me: failed program was:" >&5
20578 sed 's/^/| /' conftest.
$ac_ext >&5
20583 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20586 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20587 # Binary search between lo and hi bounds.
20588 while test "x$ac_lo" != "x$ac_hi"; do
20589 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20590 cat >conftest.
$ac_ext <<_ACEOF
20593 cat confdefs.h
>>conftest.
$ac_ext
20594 cat >>conftest.
$ac_ext <<_ACEOF
20595 /* end confdefs.h. */
20596 $ac_includes_default
20597 typedef long long ac__type_sizeof_;
20601 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20608 rm -f conftest.
$ac_objext
20609 if { (ac_try
="$ac_compile"
20610 case "(($ac_try" in
20611 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20612 *) ac_try_echo=$ac_try;;
20614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20615 (eval "$ac_compile") 2>conftest.er1
20617 grep -v '^ *+' conftest.er1 >conftest.err
20619 cat conftest.err >&5
20620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20621 (exit $ac_status); } && {
20622 test -z "$ac_c_werror_flag" ||
20623 test ! -s conftest.err
20624 } && test -s conftest.$ac_objext; then
20627 echo "$as_me: failed program was:" >&5
20628 sed 's/^/| /' conftest.$ac_ext >&5
20630 ac_lo=`expr '(' $ac_mid ')' + 1`
20633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20636 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20637 '') if test "$ac_cv_type_long_long" = yes; then
20638 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
20639 See \`config.log
' for more details." >&5
20640 echo "$as_me: error: cannot compute sizeof (long long)
20641 See \`config.log' for more details.
" >&2;}
20642 { (exit 77); exit 77; }; }
20644 ac_cv_sizeof_long_long=0
20648 cat >conftest.$ac_ext <<_ACEOF
20651 cat confdefs.h >>conftest.$ac_ext
20652 cat >>conftest.$ac_ext <<_ACEOF
20653 /* end confdefs.h. */
20654 $ac_includes_default
20655 typedef long long ac__type_sizeof_;
20656 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20657 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20659 #include <stdlib.h>
20664 FILE *f = fopen ("conftest.val
", "w
");
20667 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20669 long int i = longval ();
20670 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20672 fprintf (f, "%ld
\n", i);
20676 unsigned long int i = ulongval ();
20677 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20679 fprintf (f, "%lu
\n", i);
20681 return ferror (f) || fclose (f) != 0;
20687 rm -f conftest$ac_exeext
20688 if { (ac_try="$ac_link"
20689 case "(($ac_try" in
20690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20691 *) ac_try_echo=$ac_try;;
20693 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20694 (eval "$ac_link") 2>&5
20696 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20697 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20698 { (case "(($ac_try" in
20699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20700 *) ac_try_echo=$ac_try;;
20702 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20703 (eval "$ac_try") 2>&5
20705 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20706 (exit $ac_status); }; }; then
20707 ac_cv_sizeof_long_long=`cat conftest.val`
20709 echo "$as_me: program exited with status
$ac_status" >&5
20710 echo "$as_me: failed program was
:" >&5
20711 sed 's/^/| /' conftest.$ac_ext >&5
20713 ( exit $ac_status )
20714 if test "$ac_cv_type_long_long" = yes; then
20715 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
20716 See \
`config.log' for more details." >&5
20717 echo "$as_me: error: cannot compute sizeof (long long)
20718 See \`config.log
' for more details." >&2;}
20719 { (exit 77); exit 77; }; }
20721 ac_cv_sizeof_long_long=0
20724 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20728 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20729 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
20733 cat >>confdefs.h <<_ACEOF
20734 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20740 { echo "$as_me:$LINENO: checking for long long" >&5
20741 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
20742 if test "${ac_cv_type_long_long+set}" = set; then
20743 echo $ECHO_N "(cached) $ECHO_C" >&6
20745 cat >conftest.$ac_ext <<_ACEOF
20748 cat confdefs.h >>conftest.$ac_ext
20749 cat >>conftest.$ac_ext <<_ACEOF
20750 /* end confdefs.h. */
20751 $ac_includes_default
20752 typedef long long ac__type_new_;
20756 if ((ac__type_new_ *) 0)
20758 if (sizeof (ac__type_new_))
20764 rm -f conftest.$ac_objext
20765 if { (ac_try="$ac_compile"
20766 case "(($ac_try" in
20767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20768 *) ac_try_echo=$ac_try;;
20770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20771 (eval "$ac_compile") 2>conftest.er1
20773 grep -v '^
*+' conftest.er1 >conftest.err
20775 cat conftest.err >&5
20776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20777 (exit $ac_status); } && {
20778 test -z "$ac_c_werror_flag" ||
20779 test ! -s conftest.err
20780 } && test -s conftest.$ac_objext; then
20781 ac_cv_type_long_long=yes
20783 echo "$as_me: failed program was:" >&5
20784 sed 's
/^
/| /' conftest.$ac_ext >&5
20786 ac_cv_type_long_long=no
20789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20791 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20792 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
20794 # The cast to long int works around a bug in the HP C Compiler
20795 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20796 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20797 # This bug is HP SR number 8606223364.
20798 { echo "$as_me:$LINENO: checking size of long long" >&5
20799 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
20800 if test "${ac_cv_sizeof_long_long+set}" = set; then
20801 echo $ECHO_N "(cached) $ECHO_C" >&6
20803 if test "$cross_compiling" = yes; then
20804 # Depending upon the size, compute the lo and hi bounds.
20805 cat >conftest.
$ac_ext <<_ACEOF
20808 cat confdefs.h
>>conftest.
$ac_ext
20809 cat >>conftest.
$ac_ext <<_ACEOF
20810 /* end confdefs.h. */
20811 $ac_includes_default
20812 typedef long long ac__type_sizeof_;
20816 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20823 rm -f conftest.
$ac_objext
20824 if { (ac_try
="$ac_compile"
20825 case "(($ac_try" in
20826 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20827 *) ac_try_echo=$ac_try;;
20829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20830 (eval "$ac_compile") 2>conftest.er1
20832 grep -v '^ *+' conftest.er1 >conftest.err
20834 cat conftest.err >&5
20835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20836 (exit $ac_status); } && {
20837 test -z "$ac_c_werror_flag" ||
20838 test ! -s conftest.err
20839 } && test -s conftest.$ac_objext; then
20842 cat >conftest.$ac_ext <<_ACEOF
20845 cat confdefs.h >>conftest.$ac_ext
20846 cat >>conftest.$ac_ext <<_ACEOF
20847 /* end confdefs.h. */
20848 $ac_includes_default
20849 typedef long long ac__type_sizeof_;
20853 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20860 rm -f conftest.$ac_objext
20861 if { (ac_try="$ac_compile"
20862 case "(($ac_try" in
20863 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20864 *) ac_try_echo
=$ac_try;;
20866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20867 (eval "$ac_compile") 2>conftest.er1
20869 grep -v '^ *+' conftest.er1
>conftest.err
20871 cat conftest.err
>&5
20872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20873 (exit $ac_status); } && {
20874 test -z "$ac_c_werror_flag" ||
20875 test ! -s conftest.err
20876 } && test -s conftest.
$ac_objext; then
20877 ac_hi
=$ac_mid; break
20879 echo "$as_me: failed program was:" >&5
20880 sed 's/^/| /' conftest.
$ac_ext >&5
20882 ac_lo
=`expr $ac_mid + 1`
20883 if test $ac_lo -le $ac_mid; then
20887 ac_mid
=`expr 2 '*' $ac_mid + 1`
20890 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20893 echo "$as_me: failed program was:" >&5
20894 sed 's/^/| /' conftest.
$ac_ext >&5
20896 cat >conftest.
$ac_ext <<_ACEOF
20899 cat confdefs.h
>>conftest.
$ac_ext
20900 cat >>conftest.
$ac_ext <<_ACEOF
20901 /* end confdefs.h. */
20902 $ac_includes_default
20903 typedef long long ac__type_sizeof_;
20907 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20914 rm -f conftest.
$ac_objext
20915 if { (ac_try
="$ac_compile"
20916 case "(($ac_try" in
20917 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20918 *) ac_try_echo=$ac_try;;
20920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20921 (eval "$ac_compile") 2>conftest.er1
20923 grep -v '^ *+' conftest.er1 >conftest.err
20925 cat conftest.err >&5
20926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20927 (exit $ac_status); } && {
20928 test -z "$ac_c_werror_flag" ||
20929 test ! -s conftest.err
20930 } && test -s conftest.$ac_objext; then
20933 cat >conftest.$ac_ext <<_ACEOF
20936 cat confdefs.h >>conftest.$ac_ext
20937 cat >>conftest.$ac_ext <<_ACEOF
20938 /* end confdefs.h. */
20939 $ac_includes_default
20940 typedef long long ac__type_sizeof_;
20944 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20951 rm -f conftest.$ac_objext
20952 if { (ac_try="$ac_compile"
20953 case "(($ac_try" in
20954 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20955 *) ac_try_echo
=$ac_try;;
20957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20958 (eval "$ac_compile") 2>conftest.er1
20960 grep -v '^ *+' conftest.er1
>conftest.err
20962 cat conftest.err
>&5
20963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20964 (exit $ac_status); } && {
20965 test -z "$ac_c_werror_flag" ||
20966 test ! -s conftest.err
20967 } && test -s conftest.
$ac_objext; then
20968 ac_lo
=$ac_mid; break
20970 echo "$as_me: failed program was:" >&5
20971 sed 's/^/| /' conftest.
$ac_ext >&5
20973 ac_hi
=`expr '(' $ac_mid ')' - 1`
20974 if test $ac_mid -le $ac_hi; then
20978 ac_mid
=`expr 2 '*' $ac_mid`
20981 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20984 echo "$as_me: failed program was:" >&5
20985 sed 's/^/| /' conftest.
$ac_ext >&5
20990 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20993 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20994 # Binary search between lo and hi bounds.
20995 while test "x$ac_lo" != "x$ac_hi"; do
20996 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20997 cat >conftest.
$ac_ext <<_ACEOF
21000 cat confdefs.h
>>conftest.
$ac_ext
21001 cat >>conftest.
$ac_ext <<_ACEOF
21002 /* end confdefs.h. */
21003 $ac_includes_default
21004 typedef long long ac__type_sizeof_;
21008 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21015 rm -f conftest.
$ac_objext
21016 if { (ac_try
="$ac_compile"
21017 case "(($ac_try" in
21018 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21019 *) ac_try_echo=$ac_try;;
21021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21022 (eval "$ac_compile") 2>conftest.er1
21024 grep -v '^ *+' conftest.er1 >conftest.err
21026 cat conftest.err >&5
21027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21028 (exit $ac_status); } && {
21029 test -z "$ac_c_werror_flag" ||
21030 test ! -s conftest.err
21031 } && test -s conftest.$ac_objext; then
21034 echo "$as_me: failed program was:" >&5
21035 sed 's/^/| /' conftest.$ac_ext >&5
21037 ac_lo=`expr '(' $ac_mid ')' + 1`
21040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21043 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21044 '') if test "$ac_cv_type_long_long" = yes; then
21045 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21046 See \`config.log
' for more details." >&5
21047 echo "$as_me: error: cannot compute sizeof (long long)
21048 See \`config.log' for more details.
" >&2;}
21049 { (exit 77); exit 77; }; }
21051 ac_cv_sizeof_long_long=0
21055 cat >conftest.$ac_ext <<_ACEOF
21058 cat confdefs.h >>conftest.$ac_ext
21059 cat >>conftest.$ac_ext <<_ACEOF
21060 /* end confdefs.h. */
21061 $ac_includes_default
21062 typedef long long ac__type_sizeof_;
21063 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21064 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21066 #include <stdlib.h>
21071 FILE *f = fopen ("conftest.val
", "w
");
21074 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21076 long int i = longval ();
21077 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21079 fprintf (f, "%ld
\n", i);
21083 unsigned long int i = ulongval ();
21084 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21086 fprintf (f, "%lu
\n", i);
21088 return ferror (f) || fclose (f) != 0;
21094 rm -f conftest$ac_exeext
21095 if { (ac_try="$ac_link"
21096 case "(($ac_try" in
21097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21098 *) ac_try_echo=$ac_try;;
21100 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21101 (eval "$ac_link") 2>&5
21103 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21104 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21105 { (case "(($ac_try" in
21106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21107 *) ac_try_echo=$ac_try;;
21109 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21110 (eval "$ac_try") 2>&5
21112 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21113 (exit $ac_status); }; }; then
21114 ac_cv_sizeof_long_long=`cat conftest.val`
21116 echo "$as_me: program exited with status
$ac_status" >&5
21117 echo "$as_me: failed program was
:" >&5
21118 sed 's/^/| /' conftest.$ac_ext >&5
21120 ( exit $ac_status )
21121 if test "$ac_cv_type_long_long" = yes; then
21122 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
21123 See \
`config.log' for more details." >&5
21124 echo "$as_me: error: cannot compute sizeof (long long)
21125 See \`config.log
' for more details." >&2;}
21126 { (exit 77); exit 77; }; }
21128 ac_cv_sizeof_long_long=0
21131 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21135 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21136 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21140 cat >>confdefs.h <<_ACEOF
21141 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21145 if test "$ac_cv_sizeof_long_long" != "0"; then
21146 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
21150 { echo "$as_me:$LINENO: checking for long long" >&5
21151 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21152 if test "${ac_cv_type_long_long+set}" = set; then
21153 echo $ECHO_N "(cached) $ECHO_C" >&6
21155 cat >conftest.$ac_ext <<_ACEOF
21158 cat confdefs.h >>conftest.$ac_ext
21159 cat >>conftest.$ac_ext <<_ACEOF
21160 /* end confdefs.h. */
21161 $ac_includes_default
21162 typedef long long ac__type_new_;
21166 if ((ac__type_new_ *) 0)
21168 if (sizeof (ac__type_new_))
21174 rm -f conftest.$ac_objext
21175 if { (ac_try="$ac_compile"
21176 case "(($ac_try" in
21177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21178 *) ac_try_echo=$ac_try;;
21180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21181 (eval "$ac_compile") 2>conftest.er1
21183 grep -v '^
*+' conftest.er1 >conftest.err
21185 cat conftest.err >&5
21186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21187 (exit $ac_status); } && {
21188 test -z "$ac_c_werror_flag" ||
21189 test ! -s conftest.err
21190 } && test -s conftest.$ac_objext; then
21191 ac_cv_type_long_long=yes
21193 echo "$as_me: failed program was:" >&5
21194 sed 's
/^
/| /' conftest.$ac_ext >&5
21196 ac_cv_type_long_long=no
21199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21201 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21202 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21204 # The cast to long int works around a bug in the HP C Compiler
21205 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21206 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21207 # This bug is HP SR number 8606223364.
21208 { echo "$as_me:$LINENO: checking size of long long" >&5
21209 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21210 if test "${ac_cv_sizeof_long_long+set}" = set; then
21211 echo $ECHO_N "(cached) $ECHO_C" >&6
21213 if test "$cross_compiling" = yes; then
21214 # Depending upon the size, compute the lo and hi bounds.
21215 cat >conftest.
$ac_ext <<_ACEOF
21218 cat confdefs.h
>>conftest.
$ac_ext
21219 cat >>conftest.
$ac_ext <<_ACEOF
21220 /* end confdefs.h. */
21221 $ac_includes_default
21222 typedef long long ac__type_sizeof_;
21226 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21233 rm -f conftest.
$ac_objext
21234 if { (ac_try
="$ac_compile"
21235 case "(($ac_try" in
21236 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21237 *) ac_try_echo=$ac_try;;
21239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21240 (eval "$ac_compile") 2>conftest.er1
21242 grep -v '^ *+' conftest.er1 >conftest.err
21244 cat conftest.err >&5
21245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21246 (exit $ac_status); } && {
21247 test -z "$ac_c_werror_flag" ||
21248 test ! -s conftest.err
21249 } && test -s conftest.$ac_objext; then
21252 cat >conftest.$ac_ext <<_ACEOF
21255 cat confdefs.h >>conftest.$ac_ext
21256 cat >>conftest.$ac_ext <<_ACEOF
21257 /* end confdefs.h. */
21258 $ac_includes_default
21259 typedef long long ac__type_sizeof_;
21263 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21270 rm -f conftest.$ac_objext
21271 if { (ac_try="$ac_compile"
21272 case "(($ac_try" in
21273 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21274 *) ac_try_echo
=$ac_try;;
21276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21277 (eval "$ac_compile") 2>conftest.er1
21279 grep -v '^ *+' conftest.er1
>conftest.err
21281 cat conftest.err
>&5
21282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21283 (exit $ac_status); } && {
21284 test -z "$ac_c_werror_flag" ||
21285 test ! -s conftest.err
21286 } && test -s conftest.
$ac_objext; then
21287 ac_hi
=$ac_mid; break
21289 echo "$as_me: failed program was:" >&5
21290 sed 's/^/| /' conftest.
$ac_ext >&5
21292 ac_lo
=`expr $ac_mid + 1`
21293 if test $ac_lo -le $ac_mid; then
21297 ac_mid
=`expr 2 '*' $ac_mid + 1`
21300 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21303 echo "$as_me: failed program was:" >&5
21304 sed 's/^/| /' conftest.
$ac_ext >&5
21306 cat >conftest.
$ac_ext <<_ACEOF
21309 cat confdefs.h
>>conftest.
$ac_ext
21310 cat >>conftest.
$ac_ext <<_ACEOF
21311 /* end confdefs.h. */
21312 $ac_includes_default
21313 typedef long long ac__type_sizeof_;
21317 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21324 rm -f conftest.
$ac_objext
21325 if { (ac_try
="$ac_compile"
21326 case "(($ac_try" in
21327 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21328 *) ac_try_echo=$ac_try;;
21330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21331 (eval "$ac_compile") 2>conftest.er1
21333 grep -v '^ *+' conftest.er1 >conftest.err
21335 cat conftest.err >&5
21336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21337 (exit $ac_status); } && {
21338 test -z "$ac_c_werror_flag" ||
21339 test ! -s conftest.err
21340 } && test -s conftest.$ac_objext; then
21343 cat >conftest.$ac_ext <<_ACEOF
21346 cat confdefs.h >>conftest.$ac_ext
21347 cat >>conftest.$ac_ext <<_ACEOF
21348 /* end confdefs.h. */
21349 $ac_includes_default
21350 typedef long long ac__type_sizeof_;
21354 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21361 rm -f conftest.$ac_objext
21362 if { (ac_try="$ac_compile"
21363 case "(($ac_try" in
21364 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21365 *) ac_try_echo
=$ac_try;;
21367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21368 (eval "$ac_compile") 2>conftest.er1
21370 grep -v '^ *+' conftest.er1
>conftest.err
21372 cat conftest.err
>&5
21373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21374 (exit $ac_status); } && {
21375 test -z "$ac_c_werror_flag" ||
21376 test ! -s conftest.err
21377 } && test -s conftest.
$ac_objext; then
21378 ac_lo
=$ac_mid; break
21380 echo "$as_me: failed program was:" >&5
21381 sed 's/^/| /' conftest.
$ac_ext >&5
21383 ac_hi
=`expr '(' $ac_mid ')' - 1`
21384 if test $ac_mid -le $ac_hi; then
21388 ac_mid
=`expr 2 '*' $ac_mid`
21391 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21394 echo "$as_me: failed program was:" >&5
21395 sed 's/^/| /' conftest.
$ac_ext >&5
21400 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21403 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21404 # Binary search between lo and hi bounds.
21405 while test "x$ac_lo" != "x$ac_hi"; do
21406 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21407 cat >conftest.
$ac_ext <<_ACEOF
21410 cat confdefs.h
>>conftest.
$ac_ext
21411 cat >>conftest.
$ac_ext <<_ACEOF
21412 /* end confdefs.h. */
21413 $ac_includes_default
21414 typedef long long ac__type_sizeof_;
21418 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21425 rm -f conftest.
$ac_objext
21426 if { (ac_try
="$ac_compile"
21427 case "(($ac_try" in
21428 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21429 *) ac_try_echo=$ac_try;;
21431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21432 (eval "$ac_compile") 2>conftest.er1
21434 grep -v '^ *+' conftest.er1 >conftest.err
21436 cat conftest.err >&5
21437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21438 (exit $ac_status); } && {
21439 test -z "$ac_c_werror_flag" ||
21440 test ! -s conftest.err
21441 } && test -s conftest.$ac_objext; then
21444 echo "$as_me: failed program was:" >&5
21445 sed 's/^/| /' conftest.$ac_ext >&5
21447 ac_lo=`expr '(' $ac_mid ')' + 1`
21450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21453 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21454 '') if test "$ac_cv_type_long_long" = yes; then
21455 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21456 See \`config.log
' for more details." >&5
21457 echo "$as_me: error: cannot compute sizeof (long long)
21458 See \`config.log' for more details.
" >&2;}
21459 { (exit 77); exit 77; }; }
21461 ac_cv_sizeof_long_long=0
21465 cat >conftest.$ac_ext <<_ACEOF
21468 cat confdefs.h >>conftest.$ac_ext
21469 cat >>conftest.$ac_ext <<_ACEOF
21470 /* end confdefs.h. */
21471 $ac_includes_default
21472 typedef long long ac__type_sizeof_;
21473 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21474 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21476 #include <stdlib.h>
21481 FILE *f = fopen ("conftest.val
", "w
");
21484 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21486 long int i = longval ();
21487 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21489 fprintf (f, "%ld
\n", i);
21493 unsigned long int i = ulongval ();
21494 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21496 fprintf (f, "%lu
\n", i);
21498 return ferror (f) || fclose (f) != 0;
21504 rm -f conftest$ac_exeext
21505 if { (ac_try="$ac_link"
21506 case "(($ac_try" in
21507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21508 *) ac_try_echo=$ac_try;;
21510 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21511 (eval "$ac_link") 2>&5
21513 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21514 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
21522 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21523 (exit $ac_status); }; }; then
21524 ac_cv_sizeof_long_long=`cat conftest.val`
21526 echo "$as_me: program exited with status
$ac_status" >&5
21527 echo "$as_me: failed program was
:" >&5
21528 sed 's/^/| /' conftest.$ac_ext >&5
21530 ( exit $ac_status )
21531 if test "$ac_cv_type_long_long" = yes; then
21532 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
21533 See \
`config.log' for more details." >&5
21534 echo "$as_me: error: cannot compute sizeof (long long)
21535 See \`config.log
' for more details." >&2;}
21536 { (exit 77); exit 77; }; }
21538 ac_cv_sizeof_long_long=0
21541 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21545 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21546 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21550 cat >>confdefs.h <<_ACEOF
21551 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21557 { echo "$as_me:$LINENO: checking for wchar_t" >&5
21558 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
21559 if test "${ac_cv_type_wchar_t+set}" = set; then
21560 echo $ECHO_N "(cached) $ECHO_C" >&6
21562 cat >conftest.$ac_ext <<_ACEOF
21565 cat confdefs.h >>conftest.$ac_ext
21566 cat >>conftest.$ac_ext <<_ACEOF
21567 /* end confdefs.h. */
21569 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
21570 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21571 # error "fake wchar_t"
21573 #ifdef HAVE_WCHAR_H
21575 # include <stddef.h>
21577 # include <wchar.h>
21579 #ifdef HAVE_STDLIB_H
21580 # include <stdlib.h>
21586 typedef wchar_t ac__type_new_
;
21590 if ((ac__type_new_
*) 0)
21592 if (sizeof
(ac__type_new_
))
21598 rm -f conftest.
$ac_objext
21599 if { (ac_try
="$ac_compile"
21600 case "(($ac_try" in
21601 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21602 *) ac_try_echo=$ac_try;;
21604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21605 (eval "$ac_compile") 2>conftest.er1
21607 grep -v '^ *+' conftest.er1 >conftest.err
21609 cat conftest.err >&5
21610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21611 (exit $ac_status); } && {
21612 test -z "$ac_c_werror_flag" ||
21613 test ! -s conftest.err
21614 } && test -s conftest.$ac_objext; then
21615 ac_cv_type_wchar_t=yes
21617 echo "$as_me: failed program was:" >&5
21618 sed 's/^/| /' conftest.$ac_ext >&5
21620 ac_cv_type_wchar_t=no
21623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21625 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
21626 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
21628 # The cast to long int works around a bug in the HP C Compiler
21629 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21630 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
21631 # This bug is HP SR number 8606223364.
21632 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
21633 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
21634 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
21635 echo $ECHO_N "(cached) $ECHO_C" >&6
21637 if test "$cross_compiling" = yes; then
21638 # Depending upon the size, compute the lo and hi bounds.
21639 cat >conftest.$ac_ext <<_ACEOF
21642 cat confdefs.h >>conftest.$ac_ext
21643 cat >>conftest.$ac_ext <<_ACEOF
21644 /* end confdefs.h. */
21646 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
21647 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21648 # error "fake wchar_t"
21650 #ifdef HAVE_WCHAR_H
21652 # include <stddef.h>
21654 # include <wchar.h>
21656 #ifdef HAVE_STDLIB_H
21657 # include <stdlib.h>
21663 typedef wchar_t ac__type_sizeof_
;
21667 static int test_array
[1 - 2 * !(((long int
) (sizeof
(ac__type_sizeof_
))) >= 0)];
21674 rm -f conftest.
$ac_objext
21675 if { (ac_try
="$ac_compile"
21676 case "(($ac_try" in
21677 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21678 *) ac_try_echo=$ac_try;;
21680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21681 (eval "$ac_compile") 2>conftest.er1
21683 grep -v '^ *+' conftest.er1 >conftest.err
21685 cat conftest.err >&5
21686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21687 (exit $ac_status); } && {
21688 test -z "$ac_c_werror_flag" ||
21689 test ! -s conftest.err
21690 } && test -s conftest.$ac_objext; then
21693 cat >conftest.$ac_ext <<_ACEOF
21696 cat confdefs.h >>conftest.$ac_ext
21697 cat >>conftest.$ac_ext <<_ACEOF
21698 /* end confdefs.h. */
21700 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21701 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21702 # error "fake wchar_t"
21704 #ifdef HAVE_WCHAR_H
21706 # include <stddef.h>
21708 # include <wchar.h>
21710 #ifdef HAVE_STDLIB_H
21711 # include <stdlib.h>
21717 typedef wchar_t ac__type_sizeof_;
21721 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21728 rm -f conftest.$ac_objext
21729 if { (ac_try="$ac_compile"
21730 case "(($ac_try" in
21731 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21732 *) ac_try_echo
=$ac_try;;
21734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21735 (eval "$ac_compile") 2>conftest.er1
21737 grep -v '^ *+' conftest.er1
>conftest.err
21739 cat conftest.err
>&5
21740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21741 (exit $ac_status); } && {
21742 test -z "$ac_c_werror_flag" ||
21743 test ! -s conftest.err
21744 } && test -s conftest.
$ac_objext; then
21745 ac_hi
=$ac_mid; break
21747 echo "$as_me: failed program was:" >&5
21748 sed 's/^/| /' conftest.
$ac_ext >&5
21750 ac_lo
=`expr $ac_mid + 1`
21751 if test $ac_lo -le $ac_mid; then
21755 ac_mid
=`expr 2 '*' $ac_mid + 1`
21758 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21761 echo "$as_me: failed program was:" >&5
21762 sed 's/^/| /' conftest.
$ac_ext >&5
21764 cat >conftest.
$ac_ext <<_ACEOF
21767 cat confdefs.h
>>conftest.
$ac_ext
21768 cat >>conftest.
$ac_ext <<_ACEOF
21769 /* end confdefs.h. */
21771 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21772 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21773 # error "fake wchar_t"
21775 #ifdef HAVE_WCHAR_H
21777 # include <stddef.h>
21779 # include <wchar.h>
21781 #ifdef HAVE_STDLIB_H
21782 # include <stdlib.h>
21788 typedef wchar_t ac__type_sizeof_;
21792 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21799 rm -f conftest.
$ac_objext
21800 if { (ac_try
="$ac_compile"
21801 case "(($ac_try" in
21802 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21803 *) ac_try_echo=$ac_try;;
21805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21806 (eval "$ac_compile") 2>conftest.er1
21808 grep -v '^ *+' conftest.er1 >conftest.err
21810 cat conftest.err >&5
21811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21812 (exit $ac_status); } && {
21813 test -z "$ac_c_werror_flag" ||
21814 test ! -s conftest.err
21815 } && test -s conftest.$ac_objext; then
21818 cat >conftest.$ac_ext <<_ACEOF
21821 cat confdefs.h >>conftest.$ac_ext
21822 cat >>conftest.$ac_ext <<_ACEOF
21823 /* end confdefs.h. */
21825 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21826 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21827 # error "fake wchar_t"
21829 #ifdef HAVE_WCHAR_H
21831 # include <stddef.h>
21833 # include <wchar.h>
21835 #ifdef HAVE_STDLIB_H
21836 # include <stdlib.h>
21842 typedef wchar_t ac__type_sizeof_;
21846 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21853 rm -f conftest.$ac_objext
21854 if { (ac_try="$ac_compile"
21855 case "(($ac_try" in
21856 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21857 *) ac_try_echo
=$ac_try;;
21859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21860 (eval "$ac_compile") 2>conftest.er1
21862 grep -v '^ *+' conftest.er1
>conftest.err
21864 cat conftest.err
>&5
21865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21866 (exit $ac_status); } && {
21867 test -z "$ac_c_werror_flag" ||
21868 test ! -s conftest.err
21869 } && test -s conftest.
$ac_objext; then
21870 ac_lo
=$ac_mid; break
21872 echo "$as_me: failed program was:" >&5
21873 sed 's/^/| /' conftest.
$ac_ext >&5
21875 ac_hi
=`expr '(' $ac_mid ')' - 1`
21876 if test $ac_mid -le $ac_hi; then
21880 ac_mid
=`expr 2 '*' $ac_mid`
21883 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21886 echo "$as_me: failed program was:" >&5
21887 sed 's/^/| /' conftest.
$ac_ext >&5
21892 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21895 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21896 # Binary search between lo and hi bounds.
21897 while test "x$ac_lo" != "x$ac_hi"; do
21898 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21899 cat >conftest.
$ac_ext <<_ACEOF
21902 cat confdefs.h
>>conftest.
$ac_ext
21903 cat >>conftest.
$ac_ext <<_ACEOF
21904 /* end confdefs.h. */
21906 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21907 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21908 # error "fake wchar_t"
21910 #ifdef HAVE_WCHAR_H
21912 # include <stddef.h>
21914 # include <wchar.h>
21916 #ifdef HAVE_STDLIB_H
21917 # include <stdlib.h>
21923 typedef wchar_t ac__type_sizeof_;
21927 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21934 rm -f conftest.
$ac_objext
21935 if { (ac_try
="$ac_compile"
21936 case "(($ac_try" in
21937 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21938 *) ac_try_echo=$ac_try;;
21940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21941 (eval "$ac_compile") 2>conftest.er1
21943 grep -v '^ *+' conftest.er1 >conftest.err
21945 cat conftest.err >&5
21946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21947 (exit $ac_status); } && {
21948 test -z "$ac_c_werror_flag" ||
21949 test ! -s conftest.err
21950 } && test -s conftest.$ac_objext; then
21953 echo "$as_me: failed program was:" >&5
21954 sed 's/^/| /' conftest.$ac_ext >&5
21956 ac_lo=`expr '(' $ac_mid ')' + 1`
21959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21962 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
21963 '') if test "$ac_cv_type_wchar_t" = yes; then
21964 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
21965 See \`config.log
' for more details." >&5
21966 echo "$as_me: error: cannot compute sizeof (wchar_t)
21967 See \`config.log' for more details.
" >&2;}
21968 { (exit 77); exit 77; }; }
21970 ac_cv_sizeof_wchar_t=0
21974 cat >conftest.$ac_ext <<_ACEOF
21977 cat confdefs.h >>conftest.$ac_ext
21978 cat >>conftest.$ac_ext <<_ACEOF
21979 /* end confdefs.h. */
21981 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21982 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21983 # error "fake wchar_t
"
21985 #ifdef HAVE_WCHAR_H
21987 # include <stddef.h>
21989 # include <wchar.h>
21991 #ifdef HAVE_STDLIB_H
21992 # include <stdlib.h>
21998 typedef wchar_t ac__type_sizeof_;
21999 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22000 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22002 #include <stdlib.h>
22007 FILE *f = fopen ("conftest.val
", "w
");
22010 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22012 long int i = longval ();
22013 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22015 fprintf (f, "%ld
\n", i);
22019 unsigned long int i = ulongval ();
22020 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22022 fprintf (f, "%lu
\n", i);
22024 return ferror (f) || fclose (f) != 0;
22030 rm -f conftest$ac_exeext
22031 if { (ac_try="$ac_link"
22032 case "(($ac_try" in
22033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22034 *) ac_try_echo=$ac_try;;
22036 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22037 (eval "$ac_link") 2>&5
22039 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22040 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22041 { (case "(($ac_try" in
22042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22043 *) ac_try_echo=$ac_try;;
22045 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22046 (eval "$ac_try") 2>&5
22048 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22049 (exit $ac_status); }; }; then
22050 ac_cv_sizeof_wchar_t=`cat conftest.val`
22052 echo "$as_me: program exited with status
$ac_status" >&5
22053 echo "$as_me: failed program was
:" >&5
22054 sed 's/^/| /' conftest.$ac_ext >&5
22056 ( exit $ac_status )
22057 if test "$ac_cv_type_wchar_t" = yes; then
22058 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(wchar_t
)
22059 See \
`config.log' for more details." >&5
22060 echo "$as_me: error: cannot compute sizeof (wchar_t)
22061 See \`config.log
' for more details." >&2;}
22062 { (exit 77); exit 77; }; }
22064 ac_cv_sizeof_wchar_t=0
22067 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22071 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22072 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
22076 cat >>confdefs.h <<_ACEOF
22077 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22081 if test "$ac_cv_sizeof_wchar_t" != "0"; then
22087 { echo "$as_me:$LINENO: checking for va_copy" >&5
22088 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
22089 if test "${wx_cv_func_va_copy+set}" = set; then
22090 echo $ECHO_N "(cached) $ECHO_C" >&6
22093 cat >conftest.$ac_ext <<_ACEOF
22095 #include <stdarg.h>
22096 void foo(char *f, ...)
22110 rm -f conftest.$ac_objext conftest$ac_exeext
22111 if { (ac_try="$ac_link"
22112 case "(($ac_try" in
22113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22114 *) ac_try_echo=$ac_try;;
22116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22117 (eval "$ac_link") 2>conftest.er1
22119 grep -v '^
*+' conftest.er1 >conftest.err
22121 cat conftest.err >&5
22122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22123 (exit $ac_status); } && {
22124 test -z "$ac_c_werror_flag" ||
22125 test ! -s conftest.err
22126 } && test -s conftest$ac_exeext &&
22127 $as_test_x conftest$ac_exeext; then
22128 wx_cv_func_va_copy=yes
22130 echo "$as_me: failed program was:" >&5
22131 sed 's
/^
/| /' conftest.$ac_ext >&5
22133 wx_cv_func_va_copy=no
22137 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22138 conftest$ac_exeext conftest.$ac_ext
22142 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22143 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
22145 if test $wx_cv_func_va_copy = "yes"; then
22146 cat >>confdefs.h <<\_ACEOF
22147 #define HAVE_VA_COPY 1
22151 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22152 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
22153 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22154 echo $ECHO_N "(cached) $ECHO_C" >&6
22157 if test "$cross_compiling" = yes; then
22158 wx_cv_type_va_list_lvalue=yes
22161 cat >conftest.$ac_ext <<_ACEOF
22163 #include <stdarg.h>
22164 int foo(char *f, ...)
22169 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22177 return foo("hi", 17);
22180 rm -f conftest$ac_exeext
22181 if { (ac_try="$ac_link"
22182 case "(($ac_try" in
22183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22184 *) ac_try_echo=$ac_try;;
22186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22187 (eval "$ac_link") 2>&5
22189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22190 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
22191 { (case "(($ac_try" in
22192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22193 *) ac_try_echo=$ac_try;;
22195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22196 (eval "$ac_try") 2>&5
22198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22199 (exit $ac_status); }; }; then
22200 wx_cv_type_va_list_lvalue=yes
22202 echo "$as_me: program exited with status $ac_status" >&5
22203 echo "$as_me: failed program was:" >&5
22204 sed 's
/^
/| /' conftest.$ac_ext >&5
22206 ( exit $ac_status )
22207 wx_cv_type_va_list_lvalue=no
22209 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22216 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22217 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
22219 if test $wx_cv_type_va_list_lvalue != "yes"; then
22220 cat >>confdefs.h <<\_ACEOF
22221 #define VA_LIST_IS_ARRAY 1
22227 if test "$wxUSE_VARARG_MACROS" = "yes"; then
22229 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
22230 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
22231 if test "${wx_cv_have_variadic_macros+set}" = set; then
22232 echo $ECHO_N "(cached) $ECHO_C" >&6
22236 ac_cpp='$CXXCPP $CPPFLAGS'
22237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22238 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22241 cat >conftest.$ac_ext <<_ACEOF
22244 cat confdefs.h >>conftest.$ac_ext
22245 cat >>conftest.$ac_ext <<_ACEOF
22246 /* end confdefs.h. */
22249 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
22255 test("%s %d %p", "test", 1, 0);
22262 rm -f conftest.$ac_objext
22263 if { (ac_try="$ac_compile"
22264 case "(($ac_try" in
22265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22266 *) ac_try_echo=$ac_try;;
22268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22269 (eval "$ac_compile") 2>conftest.er1
22271 grep -v '^
*+' conftest.er1 >conftest.err
22273 cat conftest.err >&5
22274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22275 (exit $ac_status); } && {
22276 test -z "$ac_cxx_werror_flag" ||
22277 test ! -s conftest.err
22278 } && test -s conftest.$ac_objext; then
22279 wx_cv_have_variadic_macros=yes
22281 echo "$as_me: failed program was:" >&5
22282 sed 's
/^
/| /' conftest.$ac_ext >&5
22284 wx_cv_have_variadic_macros=no
22288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22290 ac_cpp='$CPP $CPPFLAGS'
22291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22292 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22298 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
22299 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
22301 if test $wx_cv_have_variadic_macros = "yes"; then
22302 cat >>confdefs.h <<\_ACEOF
22303 #define HAVE_VARIADIC_MACROS 1
22309 # Check whether --enable-largefile was given.
22310 if test "${enable_largefile+set}" = set; then
22311 enableval=$enable_largefile;
22314 if test "$enable_largefile" != no; then
22317 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
22318 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
22319 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
22320 echo $ECHO_N "(cached) $ECHO_C" >&6
22323 cat >conftest.$ac_ext <<_ACEOF
22326 cat confdefs.h >>conftest.$ac_ext
22327 cat >>conftest.$ac_ext <<_ACEOF
22328 /* end confdefs.h. */
22329 #define _FILE_OFFSET_BITS 64
22330 #include <sys/types.h>
22335 unsigned int field: sizeof(off_t) == 8;
22342 rm -f conftest.$ac_objext
22343 if { (ac_try="$ac_compile"
22344 case "(($ac_try" in
22345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22346 *) ac_try_echo=$ac_try;;
22348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22349 (eval "$ac_compile") 2>conftest.er1
22351 grep -v '^
*+' conftest.er1 >conftest.err
22353 cat conftest.err >&5
22354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22355 (exit $ac_status); } && {
22356 test -z "$ac_c_werror_flag" ||
22357 test ! -s conftest.err
22358 } && test -s conftest.$ac_objext; then
22359 ac_cv_sys_file_offset_bits=64
22361 echo "$as_me: failed program was:" >&5
22362 sed 's
/^
/| /' conftest.$ac_ext >&5
22364 ac_cv_sys_file_offset_bits=no
22367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22371 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
22372 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
22374 if test "$ac_cv_sys_file_offset_bits" != no; then
22376 cat >>confdefs.h <<_ACEOF
22377 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
22382 if test "x$wx_largefile" != "xyes"; then
22384 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
22385 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
22386 if test "${ac_cv_sys_large_files+set}" = set; then
22387 echo $ECHO_N "(cached) $ECHO_C" >&6
22390 cat >conftest.$ac_ext <<_ACEOF
22393 cat confdefs.h >>conftest.$ac_ext
22394 cat >>conftest.$ac_ext <<_ACEOF
22395 /* end confdefs.h. */
22396 #define _LARGE_FILES 1
22397 #include <sys/types.h>
22402 unsigned int field: sizeof(off_t) == 8;
22409 rm -f conftest.$ac_objext
22410 if { (ac_try="$ac_compile"
22411 case "(($ac_try" in
22412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22413 *) ac_try_echo=$ac_try;;
22415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22416 (eval "$ac_compile") 2>conftest.er1
22418 grep -v '^
*+' conftest.er1 >conftest.err
22420 cat conftest.err >&5
22421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22422 (exit $ac_status); } && {
22423 test -z "$ac_c_werror_flag" ||
22424 test ! -s conftest.err
22425 } && test -s conftest.$ac_objext; then
22426 ac_cv_sys_large_files=1
22428 echo "$as_me: failed program was:" >&5
22429 sed 's
/^
/| /' conftest.$ac_ext >&5
22431 ac_cv_sys_large_files=no
22434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22438 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
22439 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
22441 if test "$ac_cv_sys_large_files" != no; then
22443 cat >>confdefs.h <<_ACEOF
22444 #define _LARGE_FILES $ac_cv_sys_large_files
22451 { echo "$as_me:$LINENO: checking if large file support is available" >&5
22452 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
22453 if test "x$wx_largefile" = "xyes"; then
22454 cat >>confdefs.h <<\_ACEOF
22455 #define HAVE_LARGEFILE_SUPPORT 1
22459 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
22460 echo "${ECHO_T}$wx_largefile" >&6; }
22464 if test "x$wx_largefile" = "xyes"; then
22465 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
22466 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
22468 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
22469 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
22470 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
22471 if test "${wx_cv_STDC_EXT_required+set}" = set; then
22472 echo $ECHO_N "(cached) $ECHO_C" >&6
22476 ac_cpp='$CXXCPP $CPPFLAGS'
22477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22478 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22481 cat >conftest.$ac_ext <<_ACEOF
22484 cat confdefs.h >>conftest.$ac_ext
22485 cat >>conftest.$ac_ext <<_ACEOF
22486 /* end confdefs.h. */
22492 #ifndef __STDC_EXT__
22500 rm -f conftest.$ac_objext
22501 if { (ac_try="$ac_compile"
22502 case "(($ac_try" in
22503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22504 *) ac_try_echo=$ac_try;;
22506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22507 (eval "$ac_compile") 2>conftest.er1
22509 grep -v '^
*+' conftest.er1 >conftest.err
22511 cat conftest.err >&5
22512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22513 (exit $ac_status); } && {
22514 test -z "$ac_cxx_werror_flag" ||
22515 test ! -s conftest.err
22516 } && test -s conftest.$ac_objext; then
22517 wx_cv_STDC_EXT_required=no
22519 echo "$as_me: failed program was:" >&5
22520 sed 's
/^
/| /' conftest.$ac_ext >&5
22522 wx_cv_STDC_EXT_required=yes
22526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22528 ac_cpp='$CPP $CPPFLAGS'
22529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22530 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22536 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
22537 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
22538 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
22539 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
22543 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
22545 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
22546 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
22547 if test "${ac_cv_sys_largefile_source+set}" = set; then
22548 echo $ECHO_N "(cached) $ECHO_C" >&6
22551 cat >conftest.$ac_ext <<_ACEOF
22554 cat confdefs.h >>conftest.$ac_ext
22555 cat >>conftest.$ac_ext <<_ACEOF
22556 /* end confdefs.h. */
22557 #include <sys/types.h> /* for off_t */
22562 int (*fp) (FILE *, off_t, int) = fseeko;
22563 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
22568 rm -f conftest.$ac_objext conftest$ac_exeext
22569 if { (ac_try="$ac_link"
22570 case "(($ac_try" in
22571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22572 *) ac_try_echo=$ac_try;;
22574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22575 (eval "$ac_link") 2>conftest.er1
22577 grep -v '^
*+' conftest.er1 >conftest.err
22579 cat conftest.err >&5
22580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22581 (exit $ac_status); } && {
22582 test -z "$ac_c_werror_flag" ||
22583 test ! -s conftest.err
22584 } && test -s conftest$ac_exeext &&
22585 $as_test_x conftest$ac_exeext; then
22586 ac_cv_sys_largefile_source=no; break
22588 echo "$as_me: failed program was:" >&5
22589 sed 's
/^
/| /' conftest.$ac_ext >&5
22594 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22595 conftest$ac_exeext conftest.$ac_ext
22596 cat >conftest.$ac_ext <<_ACEOF
22599 cat confdefs.h >>conftest.$ac_ext
22600 cat >>conftest.$ac_ext <<_ACEOF
22601 /* end confdefs.h. */
22602 #define _LARGEFILE_SOURCE 1
22603 #include <sys/types.h> /* for off_t */
22608 int (*fp) (FILE *, off_t, int) = fseeko;
22609 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
22614 rm -f conftest.$ac_objext conftest$ac_exeext
22615 if { (ac_try="$ac_link"
22616 case "(($ac_try" in
22617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22618 *) ac_try_echo=$ac_try;;
22620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22621 (eval "$ac_link") 2>conftest.er1
22623 grep -v '^
*+' conftest.er1 >conftest.err
22625 cat conftest.err >&5
22626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22627 (exit $ac_status); } && {
22628 test -z "$ac_c_werror_flag" ||
22629 test ! -s conftest.err
22630 } && test -s conftest$ac_exeext &&
22631 $as_test_x conftest$ac_exeext; then
22632 ac_cv_sys_largefile_source=1; break
22634 echo "$as_me: failed program was:" >&5
22635 sed 's
/^
/| /' conftest.$ac_ext >&5
22640 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22641 conftest$ac_exeext conftest.$ac_ext
22642 ac_cv_sys_largefile_source=unknown
22646 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22647 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
22648 case $ac_cv_sys_largefile_source in #(
22651 cat >>confdefs.h <<_ACEOF
22652 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22658 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22659 # in glibc 2.1.3, but that breaks too many other things.
22660 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22661 if test $ac_cv_sys_largefile_source != unknown; then
22663 cat >>confdefs.h <<\_ACEOF
22664 #define HAVE_FSEEKO 1
22669 if test "$ac_cv_sys_largefile_source" != no; then
22670 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
22674 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22675 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
22676 if test "${ac_cv_c_bigendian+set}" = set; then
22677 echo $ECHO_N "(cached) $ECHO_C" >&6
22679 ac_cv_c_bigendian=unknown
22680 # See if sys/param.h defines the BYTE_ORDER macro.
22681 cat >conftest.$ac_ext <<_ACEOF
22684 cat confdefs.h >>conftest.$ac_ext
22685 cat >>conftest.$ac_ext <<_ACEOF
22686 /* end confdefs.h. */
22687 #include <sys/types.h>
22688 #include <sys/param.h>
22693 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22694 bogus endian macros
22700 rm -f conftest.$ac_objext
22701 if { (ac_try="$ac_compile"
22702 case "(($ac_try" in
22703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22704 *) ac_try_echo=$ac_try;;
22706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22707 (eval "$ac_compile") 2>conftest.er1
22709 grep -v '^
*+' conftest.er1 >conftest.err
22711 cat conftest.err >&5
22712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22713 (exit $ac_status); } && {
22714 test -z "$ac_c_werror_flag" ||
22715 test ! -s conftest.err
22716 } && test -s conftest.$ac_objext; then
22717 # It does; now see whether it defined to BIG_ENDIAN or not.
22718 cat >conftest.$ac_ext <<_ACEOF
22721 cat confdefs.h >>conftest.$ac_ext
22722 cat >>conftest.$ac_ext <<_ACEOF
22723 /* end confdefs.h. */
22724 #include <sys/types.h>
22725 #include <sys/param.h>
22730 #if BYTE_ORDER != BIG_ENDIAN
22737 rm -f conftest.$ac_objext
22738 if { (ac_try="$ac_compile"
22739 case "(($ac_try" in
22740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22741 *) ac_try_echo=$ac_try;;
22743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22744 (eval "$ac_compile") 2>conftest.er1
22746 grep -v '^
*+' conftest.er1 >conftest.err
22748 cat conftest.err >&5
22749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22750 (exit $ac_status); } && {
22751 test -z "$ac_c_werror_flag" ||
22752 test ! -s conftest.err
22753 } && test -s conftest.$ac_objext; then
22754 ac_cv_c_bigendian=yes
22756 echo "$as_me: failed program was:" >&5
22757 sed 's
/^
/| /' conftest.$ac_ext >&5
22759 ac_cv_c_bigendian=no
22762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22764 echo "$as_me: failed program was:" >&5
22765 sed 's
/^
/| /' conftest.$ac_ext >&5
22770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22771 if test $ac_cv_c_bigendian = unknown; then
22772 if test "$cross_compiling" = yes; then
22773 ac_cv_c_bigendian=unknown
22775 cat >conftest.$ac_ext <<_ACEOF
22778 cat confdefs.h >>conftest.$ac_ext
22779 cat >>conftest.$ac_ext <<_ACEOF
22780 /* end confdefs.h. */
22782 /* Are we little or big endian? From Harbison&Steele. */
22786 char c[sizeof (long)];
22789 exit (u.c[sizeof (long) - 1] == 1);
22792 rm -f conftest$ac_exeext
22793 if { (ac_try="$ac_link"
22794 case "(($ac_try" in
22795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22796 *) ac_try_echo=$ac_try;;
22798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22799 (eval "$ac_link") 2>&5
22801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22802 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
22803 { (case "(($ac_try" in
22804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22805 *) ac_try_echo=$ac_try;;
22807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22808 (eval "$ac_try") 2>&5
22810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22811 (exit $ac_status); }; }; then
22812 ac_cv_c_bigendian=no
22814 echo "$as_me: program exited with status $ac_status" >&5
22815 echo "$as_me: failed program was:" >&5
22816 sed 's
/^
/| /' conftest.$ac_ext >&5
22818 ( exit $ac_status )
22819 ac_cv_c_bigendian=yes
22821 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22827 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
22828 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
22829 if test $ac_cv_c_bigendian = unknown; then
22830 { 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
22831 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;}
22833 if test $ac_cv_c_bigendian = yes; then
22834 cat >>confdefs.h <<\_ACEOF
22835 #define WORDS_BIGENDIAN 1
22844 ac_cpp='$CXXCPP $CPPFLAGS'
22845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22846 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22850 { echo "$as_me:$LINENO: checking for iostream" >&5
22851 echo $ECHO_N "checking for iostream... $ECHO_C" >&6; }
22852 if test "${ac_cv_header_iostream+set}" = set; then
22853 echo $ECHO_N "(cached) $ECHO_C" >&6
22855 cat >conftest.$ac_ext <<_ACEOF
22858 cat confdefs.h >>conftest.$ac_ext
22859 cat >>conftest.$ac_ext <<_ACEOF
22860 /* end confdefs.h. */
22863 #include <iostream>
22865 rm -f conftest.$ac_objext
22866 if { (ac_try="$ac_compile"
22867 case "(($ac_try" in
22868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22869 *) ac_try_echo=$ac_try;;
22871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22872 (eval "$ac_compile") 2>conftest.er1
22874 grep -v '^
*+' conftest.er1 >conftest.err
22876 cat conftest.err >&5
22877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22878 (exit $ac_status); } && {
22879 test -z "$ac_cxx_werror_flag" ||
22880 test ! -s conftest.err
22881 } && test -s conftest.$ac_objext; then
22882 ac_cv_header_iostream=yes
22884 echo "$as_me: failed program was:" >&5
22885 sed 's
/^
/| /' conftest.$ac_ext >&5
22887 ac_cv_header_iostream=no
22890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22892 { echo "$as_me:$LINENO: result: $ac_cv_header_iostream" >&5
22893 echo "${ECHO_T}$ac_cv_header_iostream" >&6; }
22897 if test "$ac_cv_header_iostream" = "yes" ; then
22900 cat >>confdefs.h <<\_ACEOF
22901 #define wxUSE_IOSTREAMH 1
22907 ac_cpp='$CPP $CPPFLAGS'
22908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22909 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22915 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
22916 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
22917 if test "${wx_cv_cpp_bool+set}" = set; then
22918 echo $ECHO_N "(cached) $ECHO_C" >&6
22923 ac_cpp='$CXXCPP $CPPFLAGS'
22924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22925 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22929 cat >conftest.$ac_ext <<_ACEOF
22932 cat confdefs.h >>conftest.$ac_ext
22933 cat >>conftest.$ac_ext <<_ACEOF
22934 /* end confdefs.h. */
22949 rm -f conftest.$ac_objext
22950 if { (ac_try="$ac_compile"
22951 case "(($ac_try" in
22952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22953 *) ac_try_echo=$ac_try;;
22955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22956 (eval "$ac_compile") 2>conftest.er1
22958 grep -v '^
*+' conftest.er1 >conftest.err
22960 cat conftest.err >&5
22961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22962 (exit $ac_status); } && {
22963 test -z "$ac_cxx_werror_flag" ||
22964 test ! -s conftest.err
22965 } && test -s conftest.$ac_objext; then
22970 echo "$as_me: failed program was:" >&5
22971 sed 's
/^
/| /' conftest.$ac_ext >&5
22979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22982 ac_cpp='$CPP $CPPFLAGS'
22983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22984 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22989 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
22990 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
22992 if test "$wx_cv_cpp_bool" = "yes"; then
22993 cat >>confdefs.h <<\_ACEOF
22994 #define HAVE_BOOL 1
23001 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23002 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
23003 if test "${wx_cv_explicit+set}" = set; then
23004 echo $ECHO_N "(cached) $ECHO_C" >&6
23009 ac_cpp='$CXXCPP $CPPFLAGS'
23010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23011 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23015 cat >conftest.$ac_ext <<_ACEOF
23018 cat confdefs.h >>conftest.$ac_ext
23019 cat >>conftest.$ac_ext <<_ACEOF
23020 /* end confdefs.h. */
23022 class Foo { public: explicit Foo(int) {} };
23034 rm -f conftest.$ac_objext
23035 if { (ac_try="$ac_compile"
23036 case "(($ac_try" in
23037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23038 *) ac_try_echo=$ac_try;;
23040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23041 (eval "$ac_compile") 2>conftest.er1
23043 grep -v '^
*+' conftest.er1 >conftest.err
23045 cat conftest.err >&5
23046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23047 (exit $ac_status); } && {
23048 test -z "$ac_cxx_werror_flag" ||
23049 test ! -s conftest.err
23050 } && test -s conftest.$ac_objext; then
23052 cat >conftest.$ac_ext <<_ACEOF
23055 cat confdefs.h >>conftest.$ac_ext
23056 cat >>conftest.$ac_ext <<_ACEOF
23057 /* end confdefs.h. */
23059 class Foo { public: explicit Foo(int) {} };
23060 static void TakeFoo(const Foo& foo) { }
23073 rm -f conftest.$ac_objext
23074 if { (ac_try="$ac_compile"
23075 case "(($ac_try" in
23076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23077 *) ac_try_echo=$ac_try;;
23079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23080 (eval "$ac_compile") 2>conftest.er1
23082 grep -v '^
*+' conftest.er1 >conftest.err
23084 cat conftest.err >&5
23085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23086 (exit $ac_status); } && {
23087 test -z "$ac_cxx_werror_flag" ||
23088 test ! -s conftest.err
23089 } && test -s conftest.$ac_objext; then
23092 echo "$as_me: failed program was:" >&5
23093 sed 's
/^
/| /' conftest.$ac_ext >&5
23099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23102 echo "$as_me: failed program was:" >&5
23103 sed 's
/^
/| /' conftest.$ac_ext >&5
23109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23112 ac_cpp='$CPP $CPPFLAGS'
23113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23114 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23119 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23120 echo "${ECHO_T}$wx_cv_explicit" >&6; }
23122 if test "$wx_cv_explicit" = "yes"; then
23123 cat >>confdefs.h <<\_ACEOF
23124 #define HAVE_EXPLICIT 1
23130 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
23131 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
23132 if test "${ac_cv_cxx_const_cast+set}" = set; then
23133 echo $ECHO_N "(cached) $ECHO_C" >&6
23137 ac_cpp='$CXXCPP $CPPFLAGS'
23138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23139 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23142 cat >conftest.$ac_ext <<_ACEOF
23145 cat confdefs.h >>conftest.$ac_ext
23146 cat >>conftest.$ac_ext <<_ACEOF
23147 /* end confdefs.h. */
23152 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23157 rm -f conftest.$ac_objext
23158 if { (ac_try="$ac_compile"
23159 case "(($ac_try" in
23160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23161 *) ac_try_echo=$ac_try;;
23163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23164 (eval "$ac_compile") 2>conftest.er1
23166 grep -v '^
*+' conftest.er1 >conftest.err
23168 cat conftest.err >&5
23169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23170 (exit $ac_status); } && {
23171 test -z "$ac_cxx_werror_flag" ||
23172 test ! -s conftest.err
23173 } && test -s conftest.$ac_objext; then
23174 ac_cv_cxx_const_cast=yes
23176 echo "$as_me: failed program was:" >&5
23177 sed 's
/^
/| /' conftest.$ac_ext >&5
23179 ac_cv_cxx_const_cast=no
23182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23184 ac_cpp='$CPP $CPPFLAGS'
23185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23186 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23191 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23192 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
23193 if test "$ac_cv_cxx_const_cast" = yes; then
23195 cat >>confdefs.h <<\_ACEOF
23196 #define HAVE_CONST_CAST
23201 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23202 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
23203 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23204 echo $ECHO_N "(cached) $ECHO_C" >&6
23208 ac_cpp='$CXXCPP $CPPFLAGS'
23209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23210 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23213 cat >conftest.$ac_ext <<_ACEOF
23216 cat confdefs.h >>conftest.$ac_ext
23217 cat >>conftest.$ac_ext <<_ACEOF
23218 /* end confdefs.h. */
23219 #include <typeinfo>
23220 class Base { public : Base () {} virtual void f () = 0;};
23221 class Derived : public Base { public : Derived () {} virtual void f () {} };
23222 class Unrelated { public : Unrelated () {} };
23223 int g (Unrelated&) { return 0; }
23228 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23233 rm -f conftest.$ac_objext
23234 if { (ac_try="$ac_compile"
23235 case "(($ac_try" in
23236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23237 *) ac_try_echo=$ac_try;;
23239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23240 (eval "$ac_compile") 2>conftest.er1
23242 grep -v '^
*+' conftest.er1 >conftest.err
23244 cat conftest.err >&5
23245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23246 (exit $ac_status); } && {
23247 test -z "$ac_cxx_werror_flag" ||
23248 test ! -s conftest.err
23249 } && test -s conftest.$ac_objext; then
23250 ac_cv_cxx_reinterpret_cast=yes
23252 echo "$as_me: failed program was:" >&5
23253 sed 's
/^
/| /' conftest.$ac_ext >&5
23255 ac_cv_cxx_reinterpret_cast=no
23258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23260 ac_cpp='$CPP $CPPFLAGS'
23261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23262 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23267 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23268 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
23269 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23271 cat >>confdefs.h <<\_ACEOF
23272 #define HAVE_REINTERPRET_CAST
23277 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23278 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
23279 if test "${ac_cv_cxx_static_cast+set}" = set; then
23280 echo $ECHO_N "(cached) $ECHO_C" >&6
23284 ac_cpp='$CXXCPP $CPPFLAGS'
23285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23286 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23289 cat >conftest.$ac_ext <<_ACEOF
23292 cat confdefs.h >>conftest.$ac_ext
23293 cat >>conftest.$ac_ext <<_ACEOF
23294 /* end confdefs.h. */
23295 #include <typeinfo>
23296 class Base { public : Base () {} virtual void f () = 0; };
23297 class Derived : public Base { public : Derived () {} virtual void f () {} };
23298 int g (Derived&) { return 0; }
23303 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23308 rm -f conftest.$ac_objext
23309 if { (ac_try="$ac_compile"
23310 case "(($ac_try" in
23311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23312 *) ac_try_echo=$ac_try;;
23314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23315 (eval "$ac_compile") 2>conftest.er1
23317 grep -v '^
*+' conftest.er1 >conftest.err
23319 cat conftest.err >&5
23320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23321 (exit $ac_status); } && {
23322 test -z "$ac_cxx_werror_flag" ||
23323 test ! -s conftest.err
23324 } && test -s conftest.$ac_objext; then
23325 ac_cv_cxx_static_cast=yes
23327 echo "$as_me: failed program was:" >&5
23328 sed 's
/^
/| /' conftest.$ac_ext >&5
23330 ac_cv_cxx_static_cast=no
23333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23335 ac_cpp='$CPP $CPPFLAGS'
23336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23337 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23342 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23343 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
23344 if test "$ac_cv_cxx_static_cast" = yes; then
23346 cat >>confdefs.h <<\_ACEOF
23347 #define HAVE_STATIC_CAST
23353 if test "x$SUNCXX" = xyes; then
23354 CXXFLAGS="-features=tmplife $CXXFLAGS"
23357 if test "x$SUNCC" = xyes; then
23358 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23361 if test "x$SGICC" = "xyes"; then
23362 CFLAGS="-woff 3970 $CFLAGS"
23364 if test "x$SGICXX" = "xyes"; then
23365 CXXFLAGS="-woff 3970 $CXXFLAGS"
23368 if test "x$HPCC" = "xyes"; then
23369 CFLAGS="+W 2011,2450 $CFLAGS"
23371 if test "x$HPCXX" = "xyes"; then
23372 CXXFLAGS="+W 2340 $CXXFLAGS"
23375 if test "x$COMPAQCXX" = "xyes"; then
23376 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23380 ac_cpp='$CXXCPP $CPPFLAGS'
23381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23382 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23386 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23387 if test "$wxUSE_UNICODE" = "yes"; then
23388 std_string="std::wstring"
23389 char_type="wchar_t"
23391 std_string="std::string"
23395 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23396 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
23397 if test "${wx_cv_class_stdstring+set}" = set; then
23398 echo $ECHO_N "(cached) $ECHO_C" >&6
23401 cat >conftest.$ac_ext <<_ACEOF
23404 cat confdefs.h >>conftest.$ac_ext
23405 cat >>conftest.$ac_ext <<_ACEOF
23406 /* end confdefs.h. */
23416 rm -f conftest.$ac_objext
23417 if { (ac_try="$ac_compile"
23418 case "(($ac_try" in
23419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23420 *) ac_try_echo=$ac_try;;
23422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23423 (eval "$ac_compile") 2>conftest.er1
23425 grep -v '^
*+' conftest.er1 >conftest.err
23427 cat conftest.err >&5
23428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23429 (exit $ac_status); } && {
23430 test -z "$ac_cxx_werror_flag" ||
23431 test ! -s conftest.err
23432 } && test -s conftest.$ac_objext; then
23433 wx_cv_class_stdstring=yes
23435 echo "$as_me: failed program was:" >&5
23436 sed 's
/^
/| /' conftest.$ac_ext >&5
23438 wx_cv_class_stdstring=no
23442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23446 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
23447 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
23449 if test "$wx_cv_class_stdstring" = yes; then
23450 if test "$wxUSE_UNICODE" = "yes"; then
23451 cat >>confdefs.h <<\_ACEOF
23452 #define HAVE_STD_WSTRING 1
23457 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23458 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
23459 if test "${wx_cv_class_stdbasicstring+set}" = set; then
23460 echo $ECHO_N "(cached) $ECHO_C" >&6
23463 cat >conftest.$ac_ext <<_ACEOF
23466 cat confdefs.h >>conftest.$ac_ext
23467 cat >>conftest.$ac_ext <<_ACEOF
23468 /* end confdefs.h. */
23470 #ifdef HAVE_WCHAR_H
23472 # include <stddef.h>
23474 # include <wchar.h>
23476 #ifdef HAVE_STDLIB_H
23477 # include <stdlib.h>
23485 std::basic_string<$char_type> foo;
23486 const $char_type* dummy = foo.c_str();
23491 rm -f conftest.$ac_objext
23492 if { (ac_try="$ac_compile"
23493 case "(($ac_try" in
23494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23495 *) ac_try_echo=$ac_try;;
23497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23498 (eval "$ac_compile") 2>conftest.er1
23500 grep -v '^
*+' conftest.er1 >conftest.err
23502 cat conftest.err >&5
23503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23504 (exit $ac_status); } && {
23505 test -z "$ac_cxx_werror_flag" ||
23506 test ! -s conftest.err
23507 } && test -s conftest.$ac_objext; then
23508 wx_cv_class_stdbasicstring=yes
23510 echo "$as_me: failed program was:" >&5
23511 sed 's
/^
/| /' conftest.$ac_ext >&5
23513 wx_cv_class_stdbasicstring=no
23517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23521 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
23522 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
23524 if test "$wx_cv_class_stdbasicstring" != yes; then
23525 if test "$wxUSE_STL" = "yes"; then
23526 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl without
$std_string or std
::basic_string
<$char_type>" >&5
23527 echo "$as_me: error
: Can
't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
23528 { (exit 1); exit 1; }; }
23529 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
23530 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_string without
$std_string or std
::basic_string
<$char_type>" >&5
23531 echo "$as_me: error
: Can
't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
23532 { (exit 1); exit 1; }; }
23534 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
23535 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
23536 wxUSE_STD_STRING=no
23542 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23543 { echo "$as_me:$LINENO: checking for std::istream" >&5
23544 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
23545 if test "${ac_cv_type_std__istream+set}" = set; then
23546 echo $ECHO_N "(cached) $ECHO_C" >&6
23548 cat >conftest.$ac_ext <<_ACEOF
23551 cat confdefs.h >>conftest.$ac_ext
23552 cat >>conftest.$ac_ext <<_ACEOF
23553 /* end confdefs.h. */
23554 #include <iostream>
23556 typedef std::istream ac__type_new_;
23560 if ((ac__type_new_ *) 0)
23562 if (sizeof (ac__type_new_))
23568 rm -f conftest.$ac_objext
23569 if { (ac_try="$ac_compile"
23570 case "(($ac_try" in
23571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23572 *) ac_try_echo=$ac_try;;
23574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23575 (eval "$ac_compile") 2>conftest.er1
23577 grep -v '^
*+' conftest.er1 >conftest.err
23579 cat conftest.err >&5
23580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23581 (exit $ac_status); } && {
23582 test -z "$ac_cxx_werror_flag" ||
23583 test ! -s conftest.err
23584 } && test -s conftest.$ac_objext; then
23585 ac_cv_type_std__istream=yes
23587 echo "$as_me: failed program was:" >&5
23588 sed 's
/^
/| /' conftest.$ac_ext >&5
23590 ac_cv_type_std__istream=no
23593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23595 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
23596 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
23597 if test $ac_cv_type_std__istream = yes; then
23599 cat >>confdefs.h <<_ACEOF
23600 #define HAVE_STD__ISTREAM 1
23605 wxUSE_STD_IOSTREAM=no
23607 { echo "$as_me:$LINENO: checking for std::ostream" >&5
23608 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
23609 if test "${ac_cv_type_std__ostream+set}" = set; then
23610 echo $ECHO_N "(cached) $ECHO_C" >&6
23612 cat >conftest.$ac_ext <<_ACEOF
23615 cat confdefs.h >>conftest.$ac_ext
23616 cat >>conftest.$ac_ext <<_ACEOF
23617 /* end confdefs.h. */
23618 #include <iostream>
23620 typedef std::ostream ac__type_new_;
23624 if ((ac__type_new_ *) 0)
23626 if (sizeof (ac__type_new_))
23632 rm -f conftest.$ac_objext
23633 if { (ac_try="$ac_compile"
23634 case "(($ac_try" in
23635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23636 *) ac_try_echo=$ac_try;;
23638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23639 (eval "$ac_compile") 2>conftest.er1
23641 grep -v '^
*+' conftest.er1 >conftest.err
23643 cat conftest.err >&5
23644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23645 (exit $ac_status); } && {
23646 test -z "$ac_cxx_werror_flag" ||
23647 test ! -s conftest.err
23648 } && test -s conftest.$ac_objext; then
23649 ac_cv_type_std__ostream=yes
23651 echo "$as_me: failed program was:" >&5
23652 sed 's
/^
/| /' conftest.$ac_ext >&5
23654 ac_cv_type_std__ostream=no
23657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23659 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
23660 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
23661 if test $ac_cv_type_std__ostream = yes; then
23663 cat >>confdefs.h <<_ACEOF
23664 #define HAVE_STD__OSTREAM 1
23669 wxUSE_STD_IOSTREAM=no
23673 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
23674 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
23675 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_iostreams without std
::istream and std
::ostream
" >&5
23676 echo "$as_me: error
: Can
't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
23677 { (exit 1); exit 1; }; }
23679 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
23680 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
23685 if test "$wxUSE_STL" = "yes"; then
23686 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
23687 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
23688 if test "${wx_cv_lib_stl+set}" = set; then
23689 echo $ECHO_N "(cached) $ECHO_C" >&6
23691 cat >conftest.$ac_ext <<_ACEOF
23694 cat confdefs.h >>conftest.$ac_ext
23695 cat >>conftest.$ac_ext <<_ACEOF
23696 /* end confdefs.h. */
23698 #include <functional>
23699 #include <algorithm>
23705 std::vector<int> moo;
23706 std::list<int> foo;
23707 std::vector<int>::iterator it =
23708 std::find_if(moo.begin(), moo.end(),
23709 std::bind2nd(std::less<int>(), 3));
23714 rm -f conftest.$ac_objext
23715 if { (ac_try="$ac_compile"
23716 case "(($ac_try" in
23717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23718 *) ac_try_echo=$ac_try;;
23720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23721 (eval "$ac_compile") 2>conftest.er1
23723 grep -v '^
*+' conftest.er1 >conftest.err
23725 cat conftest.err >&5
23726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23727 (exit $ac_status); } && {
23728 test -z "$ac_cxx_werror_flag" ||
23729 test ! -s conftest.err
23730 } && test -s conftest.$ac_objext; then
23733 echo "$as_me: failed program was:" >&5
23734 sed 's
/^
/| /' conftest.$ac_ext >&5
23740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23743 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
23744 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
23746 if test "$wx_cv_lib_stl" != yes; then
23747 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl as basic STL functionality is missing
" >&5
23748 echo "$as_me: error
: Can
't use --enable-stl as basic STL functionality is missing" >&2;}
23749 { (exit 1); exit 1; }; }
23752 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
23753 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
23754 if test "${wx_cv_func_stdstring_compare+set}" = set; then
23755 echo $ECHO_N "(cached) $ECHO_C" >&6
23757 cat >conftest.$ac_ext <<_ACEOF
23760 cat confdefs.h >>conftest.$ac_ext
23761 cat >>conftest.$ac_ext <<_ACEOF
23762 /* end confdefs.h. */
23767 std::string foo, bar;
23769 foo.compare(1, 1, bar);
23770 foo.compare(1, 1, bar, 1, 1);
23772 foo.compare(1, 1, "");
23773 foo.compare(1, 1, "", 2);
23778 rm -f conftest.$ac_objext
23779 if { (ac_try="$ac_compile"
23780 case "(($ac_try" in
23781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23782 *) ac_try_echo=$ac_try;;
23784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23785 (eval "$ac_compile") 2>conftest.er1
23787 grep -v '^
*+' conftest.er1 >conftest.err
23789 cat conftest.err >&5
23790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23791 (exit $ac_status); } && {
23792 test -z "$ac_cxx_werror_flag" ||
23793 test ! -s conftest.err
23794 } && test -s conftest.$ac_objext; then
23795 wx_cv_func_stdstring_compare=yes
23797 echo "$as_me: failed program was:" >&5
23798 sed 's
/^
/| /' conftest.$ac_ext >&5
23800 wx_cv_func_stdstring_compare=no
23804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23807 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
23808 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
23810 if test "$wx_cv_func_stdstring_compare" = yes; then
23811 cat >>confdefs.h <<\_ACEOF
23812 #define HAVE_STD_STRING_COMPARE 1
23817 { echo "$as_me:$LINENO: checking for hash_map" >&5
23818 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
23819 if test "${ac_cv_header_hash_map+set}" = set; then
23820 echo $ECHO_N "(cached) $ECHO_C" >&6
23822 cat >conftest.$ac_ext <<_ACEOF
23825 cat confdefs.h >>conftest.$ac_ext
23826 cat >>conftest.$ac_ext <<_ACEOF
23827 /* end confdefs.h. */
23831 #include <hash_map>
23833 rm -f conftest.$ac_objext
23834 if { (ac_try="$ac_compile"
23835 case "(($ac_try" in
23836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23837 *) ac_try_echo=$ac_try;;
23839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23840 (eval "$ac_compile") 2>conftest.er1
23842 grep -v '^
*+' conftest.er1 >conftest.err
23844 cat conftest.err >&5
23845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23846 (exit $ac_status); } && {
23847 test -z "$ac_cxx_werror_flag" ||
23848 test ! -s conftest.err
23849 } && test -s conftest.$ac_objext; then
23850 ac_cv_header_hash_map=yes
23852 echo "$as_me: failed program was:" >&5
23853 sed 's
/^
/| /' conftest.$ac_ext >&5
23855 ac_cv_header_hash_map=no
23858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23860 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23861 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
23862 if test $ac_cv_header_hash_map = yes; then
23863 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
23864 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
23865 if test "${wx_cv_class_stdhashmapset+set}" = set; then
23866 echo $ECHO_N "(cached) $ECHO_C" >&6
23868 cat >conftest.$ac_ext <<_ACEOF
23871 cat confdefs.h >>conftest.$ac_ext
23872 cat >>conftest.$ac_ext <<_ACEOF
23873 /* end confdefs.h. */
23874 #include <hash_map>
23875 #include <hash_set>
23879 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
23880 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
23885 rm -f conftest.$ac_objext
23886 if { (ac_try="$ac_compile"
23887 case "(($ac_try" in
23888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23889 *) ac_try_echo=$ac_try;;
23891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23892 (eval "$ac_compile") 2>conftest.er1
23894 grep -v '^
*+' conftest.er1 >conftest.err
23896 cat conftest.err >&5
23897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23898 (exit $ac_status); } && {
23899 test -z "$ac_cxx_werror_flag" ||
23900 test ! -s conftest.err
23901 } && test -s conftest.$ac_objext; then
23902 wx_cv_class_stdhashmapset=yes
23904 echo "$as_me: failed program was:" >&5
23905 sed 's
/^
/| /' conftest.$ac_ext >&5
23907 wx_cv_class_stdhashmapset=no
23910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23914 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
23915 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
23920 if test "$wx_cv_class_stdhashmapset" = yes; then
23921 cat >>confdefs.h <<\_ACEOF
23922 #define HAVE_HASH_MAP 1
23925 cat >>confdefs.h <<\_ACEOF
23926 #define HAVE_STD_HASH_MAP 1
23931 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23932 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
23933 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23934 echo $ECHO_N "(cached) $ECHO_C" >&6
23936 cat >conftest.$ac_ext <<_ACEOF
23939 cat confdefs.h >>conftest.$ac_ext
23940 cat >>conftest.$ac_ext <<_ACEOF
23941 /* end confdefs.h. */
23945 #include <ext/hash_map>
23947 rm -f conftest.$ac_objext
23948 if { (ac_try="$ac_compile"
23949 case "(($ac_try" in
23950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23951 *) ac_try_echo=$ac_try;;
23953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23954 (eval "$ac_compile") 2>conftest.er1
23956 grep -v '^
*+' conftest.er1 >conftest.err
23958 cat conftest.err >&5
23959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23960 (exit $ac_status); } && {
23961 test -z "$ac_cxx_werror_flag" ||
23962 test ! -s conftest.err
23963 } && test -s conftest.$ac_objext; then
23964 ac_cv_header_ext_hash_map=yes
23966 echo "$as_me: failed program was:" >&5
23967 sed 's
/^
/| /' conftest.$ac_ext >&5
23969 ac_cv_header_ext_hash_map=no
23972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23974 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23975 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
23976 if test $ac_cv_header_ext_hash_map = yes; then
23977 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
23978 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
23979 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
23980 echo $ECHO_N "(cached) $ECHO_C" >&6
23982 cat >conftest.$ac_ext <<_ACEOF
23985 cat confdefs.h >>conftest.$ac_ext
23986 cat >>conftest.$ac_ext <<_ACEOF
23987 /* end confdefs.h. */
23988 #include <ext/hash_map>
23989 #include <ext/hash_set>
23993 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
23994 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
23999 rm -f conftest.$ac_objext
24000 if { (ac_try="$ac_compile"
24001 case "(($ac_try" in
24002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24003 *) ac_try_echo=$ac_try;;
24005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24006 (eval "$ac_compile") 2>conftest.er1
24008 grep -v '^
*+' conftest.er1 >conftest.err
24010 cat conftest.err >&5
24011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24012 (exit $ac_status); } && {
24013 test -z "$ac_cxx_werror_flag" ||
24014 test ! -s conftest.err
24015 } && test -s conftest.$ac_objext; then
24016 wx_cv_class_gnuhashmapset=yes
24018 echo "$as_me: failed program was:" >&5
24019 sed 's
/^
/| /' conftest.$ac_ext >&5
24021 wx_cv_class_gnuhashmapset=no
24024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24028 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
24029 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
24034 if test "$wx_cv_class_gnuhashmapset" = yes; then
24035 cat >>confdefs.h <<\_ACEOF
24036 #define HAVE_EXT_HASH_MAP 1
24039 cat >>confdefs.h <<\_ACEOF
24040 #define HAVE_GNU_CXX_HASH_MAP 1
24047 ac_cpp='$CPP $CPPFLAGS'
24048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24049 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24055 /usr/local/include \
24057 /usr/Motif-2.1/include \
24058 /usr/Motif-1.2/include \
24059 /usr/include/Motif1.2 \
24062 /usr/openwin/include \
24066 /usr/X11R6/include \
24067 /usr/X11R6.4/include \
24068 /usr/X11R5/include \
24069 /usr/X11R4/include \
24071 /usr/include/X11R6 \
24072 /usr/include/X11R5 \
24073 /usr/include/X11R4 \
24075 /usr/local/X11R6/include \
24076 /usr/local/X11R5/include \
24077 /usr/local/X11R4/include \
24079 /usr/local/include/X11R6 \
24080 /usr/local/include/X11R5 \
24081 /usr/local/include/X11R4 \
24085 /usr/local/X11/include \
24086 /usr/local/include/X11 \
24088 /usr/XFree86/include/X11 \
24091 /usr/openwin/share/include"
24093 { echo "$as_me:$LINENO: checking for libraries directory" >&5
24094 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
24098 if test "${wx_cv_std_libpath+set}" = set; then
24099 echo $ECHO_N "(cached) $ECHO_C" >&6
24102 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
24103 for e in a so sl dylib dll.a; do
24105 if test -f $libc; then
24108 cat >conftest.$ac_ext <<_ACEOF
24109 int main() { return 0; }
24111 rm -f conftest.$ac_objext conftest$ac_exeext
24112 if { (ac_try="$ac_link"
24113 case "(($ac_try" in
24114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24115 *) ac_try_echo=$ac_try;;
24117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24118 (eval "$ac_link") 2>conftest.er1
24120 grep -v '^
*+' conftest.er1 >conftest.err
24122 cat conftest.err >&5
24123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24124 (exit $ac_status); } && {
24125 test -z "$ac_c_werror_flag" ||
24126 test ! -s conftest.err
24127 } && test -s conftest$ac_exeext &&
24128 $as_test_x conftest$ac_exeext; then
24129 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
24131 echo "$as_me: failed program was:" >&5
24132 sed 's
/^
/| /' conftest.$ac_ext >&5
24137 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24138 conftest$ac_exeext conftest.$ac_ext
24140 if test "x$wx_cv_std_libpath" != "x"; then
24146 if test "x$wx_cv_std_libpath" = "x"; then
24147 wx_cv_std_libpath="lib"
24156 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24157 wx_cv_std_libpath="lib/64"
24159 wx_cv_std_libpath="lib"
24164 if test "$ac_cv_sizeof_void_p" = 8 -a \
24165 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24166 wx_cv_std_libpath="lib64"
24168 wx_cv_std_libpath="lib"
24173 wx_cv_std_libpath="lib";
24177 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24178 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
24180 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24182 if test "$build" != "$host" -a "$GCC" = yes; then
24183 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
24184 cross_root=`dirname $cross_root`
24185 cross_root=`dirname $cross_root`
24187 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24188 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24189 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
24191 if test -z "$PKG_CONFIG_PATH"; then
24192 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24193 export PKG_CONFIG_PATH
24196 if test -z "$x_includes" -o "$x_includes" = NONE; then
24199 for ac_dir in $SEARCH_INCLUDE /usr/include;
24201 if test -f "$ac_dir/X11/Intrinsic.h"; then
24202 ac_find_includes=$ac_dir
24207 x_includes=$ac_find_includes
24209 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
24212 for ac_dir in $SEARCH_LIB;
24214 for ac_extension in a so sl dylib dll.a; do
24215 if test -f "$ac_dir/libXt.$ac_extension"; then
24216 ac_find_libraries=$ac_dir
24222 x_libraries=$ac_find_libraries
24228 cat >confcache <<\_ACEOF
24229 # This file is a shell script that caches the results of configure
24230 # tests run on this system so they can be shared between configure
24231 # scripts and configure runs, see configure's option
--config-cache.
24232 # It is not useful on other systems. If it contains results you don't
24233 # want to keep, you may remove or edit it.
24235 # config.status only pays attention to the cache file if you give it
24236 # the --recheck option to rerun configure.
24238 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24239 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24240 # following values.
24244 # The following way of writing the cache mishandles newlines in values,
24245 # but we know of no workaround that is simple, portable, and efficient.
24246 # So, we kill variables containing newlines.
24247 # Ultrix sh set writes to stderr and can't be redirected directly,
24248 # and sets the high bit in the cache file unless we assign to the vars.
24250 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24251 eval ac_val
=\$
$ac_var
24255 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
24256 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
24259 _
| IFS
| as_nl
) ;; #(
24260 *) $as_unset $ac_var ;;
24266 case $as_nl`(ac_space=' '; set) 2>&1` in #(
24267 *${as_nl}ac_space
=\
*)
24268 # `set' does not quote correctly, so add quotes (double-quote
24269 # substitution turns \\\\ into \\, and sed turns \\ into \).
24272 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24275 # `set' quotes correctly as required by POSIX, so do not add quotes.
24276 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
24285 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24287 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24289 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
24290 if test -w "$cache_file"; then
24291 test "x$cache_file" != "x/dev/null" &&
24292 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
24293 echo "$as_me: updating cache $cache_file" >&6;}
24294 cat confcache
>$cache_file
24296 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
24297 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
24302 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24303 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24304 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
24305 if test "${wx_cv_lib_glibc21+set}" = set; then
24306 echo $ECHO_N "(cached) $ECHO_C" >&6
24309 cat >conftest.
$ac_ext <<_ACEOF
24312 cat confdefs.h
>>conftest.
$ac_ext
24313 cat >>conftest.
$ac_ext <<_ACEOF
24314 /* end confdefs.h. */
24315 #include <features.h>
24320 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24328 rm -f conftest.
$ac_objext
24329 if { (ac_try
="$ac_compile"
24330 case "(($ac_try" in
24331 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24332 *) ac_try_echo=$ac_try;;
24334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24335 (eval "$ac_compile") 2>conftest.er1
24337 grep -v '^ *+' conftest.er1 >conftest.err
24339 cat conftest.err >&5
24340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24341 (exit $ac_status); } && {
24342 test -z "$ac_c_werror_flag" ||
24343 test ! -s conftest.err
24344 } && test -s conftest.$ac_objext; then
24346 wx_cv_lib_glibc21=yes
24349 echo "$as_me: failed program was:" >&5
24350 sed 's/^/| /' conftest.$ac_ext >&5
24353 wx_cv_lib_glibc21=no
24358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24361 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24362 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
24363 if test "$wx_cv_lib_glibc21" = "yes"; then
24364 cat >>confdefs.h <<\_ACEOF
24365 #define wxHAVE_GLIBC2 1
24371 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24372 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24373 cat >>confdefs.h <<\_ACEOF
24374 #define _GNU_SOURCE 1
24385 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24386 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24387 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24388 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24389 echo $ECHO_N "(cached) $ECHO_C" >&6
24391 cat >conftest.$ac_ext <<_ACEOF
24394 cat confdefs.h >>conftest.$ac_ext
24395 cat >>conftest.$ac_ext <<_ACEOF
24396 /* end confdefs.h. */
24397 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24398 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24399 #define $ac_func innocuous_$ac_func
24401 /* System header to define __stub macros and hopefully few prototypes,
24402 which can conflict with char $ac_func (); below.
24403 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24404 <limits.h> exists even on freestanding compilers. */
24407 # include <limits.h>
24409 # include <assert.h>
24414 /* Override any GCC internal prototype to avoid an error.
24415 Use char because int might match the return type of a GCC
24416 builtin and then its argument prototype would still apply. */
24421 /* The GNU C library defines this for functions which it implements
24422 to always fail with ENOSYS. Some functions are actually named
24423 something starting with __ and the normal name is an alias. */
24424 #if defined __stub_$ac_func || defined __stub___$ac_func
24431 return $ac_func ();
24436 rm -f conftest.$ac_objext conftest$ac_exeext
24437 if { (ac_try="$ac_link"
24438 case "(($ac_try" in
24439 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24440 *) ac_try_echo
=$ac_try;;
24442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24443 (eval "$ac_link") 2>conftest.er1
24445 grep -v '^ *+' conftest.er1
>conftest.err
24447 cat conftest.err
>&5
24448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24449 (exit $ac_status); } && {
24450 test -z "$ac_c_werror_flag" ||
24451 test ! -s conftest.err
24452 } && test -s conftest
$ac_exeext &&
24453 $as_test_x conftest
$ac_exeext; then
24454 eval "$as_ac_var=yes"
24456 echo "$as_me: failed program was:" >&5
24457 sed 's/^/| /' conftest.
$ac_ext >&5
24459 eval "$as_ac_var=no"
24462 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
24463 conftest
$ac_exeext conftest.
$ac_ext
24465 ac_res
=`eval echo '${'$as_ac_var'}'`
24466 { echo "$as_me:$LINENO: result: $ac_res" >&5
24467 echo "${ECHO_T}$ac_res" >&6; }
24468 if test `eval echo '${'$as_ac_var'}'` = yes; then
24469 cat >>confdefs.h
<<_ACEOF
24470 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24477 for ac_func
in floor
24479 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24480 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24481 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24482 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24483 echo $ECHO_N "(cached) $ECHO_C" >&6
24485 cat >conftest.
$ac_ext <<_ACEOF
24488 cat confdefs.h
>>conftest.
$ac_ext
24489 cat >>conftest.
$ac_ext <<_ACEOF
24490 /* end confdefs.h. */
24491 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24492 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24493 #define $ac_func innocuous_$ac_func
24495 /* System header to define __stub macros and hopefully few prototypes,
24496 which can conflict with char $ac_func (); below.
24497 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24498 <limits.h> exists even on freestanding compilers. */
24501 # include <limits.h>
24503 # include <assert.h>
24508 /* Override any GCC internal prototype to avoid an error.
24509 Use char because int might match the return type of a GCC
24510 builtin and then its argument prototype would still apply. */
24515 /* The GNU C library defines this for functions which it implements
24516 to always fail with ENOSYS. Some functions are actually named
24517 something starting with __ and the normal name is an alias. */
24518 #if defined __stub_$ac_func || defined __stub___$ac_func
24525 return $ac_func ();
24530 rm -f conftest.
$ac_objext conftest
$ac_exeext
24531 if { (ac_try
="$ac_link"
24532 case "(($ac_try" in
24533 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24534 *) ac_try_echo=$ac_try;;
24536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24537 (eval "$ac_link") 2>conftest.er1
24539 grep -v '^ *+' conftest.er1 >conftest.err
24541 cat conftest.err >&5
24542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24543 (exit $ac_status); } && {
24544 test -z "$ac_c_werror_flag" ||
24545 test ! -s conftest.err
24546 } && test -s conftest$ac_exeext &&
24547 $as_test_x conftest$ac_exeext; then
24548 eval "$as_ac_var=yes"
24550 echo "$as_me: failed program was:" >&5
24551 sed 's/^/| /' conftest.$ac_ext >&5
24553 eval "$as_ac_var=no"
24556 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24557 conftest$ac_exeext conftest.$ac_ext
24559 ac_res=`eval echo '${'$as_ac_var'}'`
24560 { echo "$as_me:$LINENO: result: $ac_res" >&5
24561 echo "${ECHO_T}$ac_res" >&6; }
24562 if test `eval echo '${'$as_ac_var'}'` = yes; then
24563 cat >>confdefs.h <<_ACEOF
24564 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24570 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
24571 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
24572 if test "$have_cos" = 1 -a "$have_floor" = 1; then
24573 { echo "$as_me:$LINENO: result: yes" >&5
24574 echo "${ECHO_T}yes" >&6; }
24576 { echo "$as_me:$LINENO: result: no" >&5
24577 echo "${ECHO_T}no" >&6; }
24579 # use different functions to avoid configure caching
24585 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24586 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24587 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24588 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24589 echo $ECHO_N "(cached) $ECHO_C" >&6
24591 cat >conftest.$ac_ext <<_ACEOF
24594 cat confdefs.h >>conftest.$ac_ext
24595 cat >>conftest.$ac_ext <<_ACEOF
24596 /* end confdefs.h. */
24597 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24598 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24599 #define $ac_func innocuous_$ac_func
24601 /* System header to define __stub macros and hopefully few prototypes,
24602 which can conflict with char $ac_func (); below.
24603 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24604 <limits.h> exists even on freestanding compilers. */
24607 # include <limits.h>
24609 # include <assert.h>
24614 /* Override any GCC internal prototype to avoid an error.
24615 Use char because int might match the return type of a GCC
24616 builtin and then its argument prototype would still apply. */
24621 /* The GNU C library defines this for functions which it implements
24622 to always fail with ENOSYS. Some functions are actually named
24623 something starting with __ and the normal name is an alias. */
24624 #if defined __stub_$ac_func || defined __stub___$ac_func
24631 return $ac_func ();
24636 rm -f conftest.$ac_objext conftest$ac_exeext
24637 if { (ac_try="$ac_link"
24638 case "(($ac_try" in
24639 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24640 *) ac_try_echo
=$ac_try;;
24642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24643 (eval "$ac_link") 2>conftest.er1
24645 grep -v '^ *+' conftest.er1
>conftest.err
24647 cat conftest.err
>&5
24648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24649 (exit $ac_status); } && {
24650 test -z "$ac_c_werror_flag" ||
24651 test ! -s conftest.err
24652 } && test -s conftest
$ac_exeext &&
24653 $as_test_x conftest
$ac_exeext; then
24654 eval "$as_ac_var=yes"
24656 echo "$as_me: failed program was:" >&5
24657 sed 's/^/| /' conftest.
$ac_ext >&5
24659 eval "$as_ac_var=no"
24662 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
24663 conftest
$ac_exeext conftest.
$ac_ext
24665 ac_res
=`eval echo '${'$as_ac_var'}'`
24666 { echo "$as_me:$LINENO: result: $ac_res" >&5
24667 echo "${ECHO_T}$ac_res" >&6; }
24668 if test `eval echo '${'$as_ac_var'}'` = yes; then
24669 cat >>confdefs.h
<<_ACEOF
24670 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24677 for ac_func
in ceil
24679 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24680 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24681 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24682 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24683 echo $ECHO_N "(cached) $ECHO_C" >&6
24685 cat >conftest.
$ac_ext <<_ACEOF
24688 cat confdefs.h
>>conftest.
$ac_ext
24689 cat >>conftest.
$ac_ext <<_ACEOF
24690 /* end confdefs.h. */
24691 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24692 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24693 #define $ac_func innocuous_$ac_func
24695 /* System header to define __stub macros and hopefully few prototypes,
24696 which can conflict with char $ac_func (); below.
24697 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24698 <limits.h> exists even on freestanding compilers. */
24701 # include <limits.h>
24703 # include <assert.h>
24708 /* Override any GCC internal prototype to avoid an error.
24709 Use char because int might match the return type of a GCC
24710 builtin and then its argument prototype would still apply. */
24715 /* The GNU C library defines this for functions which it implements
24716 to always fail with ENOSYS. Some functions are actually named
24717 something starting with __ and the normal name is an alias. */
24718 #if defined __stub_$ac_func || defined __stub___$ac_func
24725 return $ac_func ();
24730 rm -f conftest.
$ac_objext conftest
$ac_exeext
24731 if { (ac_try
="$ac_link"
24732 case "(($ac_try" in
24733 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24734 *) ac_try_echo=$ac_try;;
24736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24737 (eval "$ac_link") 2>conftest.er1
24739 grep -v '^ *+' conftest.er1 >conftest.err
24741 cat conftest.err >&5
24742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24743 (exit $ac_status); } && {
24744 test -z "$ac_c_werror_flag" ||
24745 test ! -s conftest.err
24746 } && test -s conftest$ac_exeext &&
24747 $as_test_x conftest$ac_exeext; then
24748 eval "$as_ac_var=yes"
24750 echo "$as_me: failed program was:" >&5
24751 sed 's/^/| /' conftest.$ac_ext >&5
24753 eval "$as_ac_var=no"
24756 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24757 conftest$ac_exeext conftest.$ac_ext
24759 ac_res=`eval echo '${'$as_ac_var'}'`
24760 { echo "$as_me:$LINENO: result: $ac_res" >&5
24761 echo "${ECHO_T}$ac_res" >&6; }
24762 if test `eval echo '${'$as_ac_var'}'` = yes; then
24763 cat >>confdefs.h <<_ACEOF
24764 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24770 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
24771 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
24772 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
24773 { echo "$as_me:$LINENO: result: yes" >&5
24774 echo "${ECHO_T}yes" >&6; }
24776 { echo "$as_me:$LINENO: result: no" >&5
24777 echo "${ECHO_T}no" >&6; }
24778 # not sure we should warn the user, crash, etc.
24783 ac_cpp='$CXXCPP $CPPFLAGS'
24784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24788 if test "wxUSE_UNICODE" = "yes"; then
24790 for wx_func in wcstoull
24792 { echo "$as_me:$LINENO: checking for $wx_func" >&5
24793 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
24794 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
24795 echo $ECHO_N "(cached) $ECHO_C" >&6
24798 cat >conftest.$ac_ext <<_ACEOF
24802 cat confdefs.h >>conftest.$ac_ext
24803 cat >>conftest.$ac_ext <<_ACEOF
24804 /* end confdefs.h. */
24807 $ac_includes_default
24823 rm -f conftest.$ac_objext conftest$ac_exeext
24824 if { (ac_try="$ac_link"
24825 case "(($ac_try" in
24826 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24827 *) ac_try_echo
=$ac_try;;
24829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24830 (eval "$ac_link") 2>conftest.er1
24832 grep -v '^ *+' conftest.er1
>conftest.err
24834 cat conftest.err
>&5
24835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24836 (exit $ac_status); } && {
24837 test -z "$ac_cxx_werror_flag" ||
24838 test ! -s conftest.err
24839 } && test -s conftest
$ac_exeext &&
24840 $as_test_x conftest
$ac_exeext; then
24841 eval wx_cv_func_
$wx_func=yes
24843 echo "$as_me: failed program was:" >&5
24844 sed 's/^/| /' conftest.
$ac_ext >&5
24846 eval wx_cv_func_
$wx_func=no
24849 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
24850 conftest
$ac_exeext conftest.
$ac_ext
24853 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
24854 { echo "$as_me:$LINENO: result: $ac_res" >&5
24855 echo "${ECHO_T}$ac_res" >&6; }
24857 if eval test \
$wx_cv_func_$wx_func = yes
24859 cat >>confdefs.h
<<_ACEOF
24860 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
24872 for wx_func
in strtoull
24874 { echo "$as_me:$LINENO: checking for $wx_func" >&5
24875 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
24876 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
24877 echo $ECHO_N "(cached) $ECHO_C" >&6
24880 cat >conftest.
$ac_ext <<_ACEOF
24884 cat confdefs.h
>>conftest.
$ac_ext
24885 cat >>conftest.
$ac_ext <<_ACEOF
24886 /* end confdefs.h. */
24889 $ac_includes_default
24905 rm -f conftest.
$ac_objext conftest
$ac_exeext
24906 if { (ac_try
="$ac_link"
24907 case "(($ac_try" in
24908 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24909 *) ac_try_echo=$ac_try;;
24911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24912 (eval "$ac_link") 2>conftest.er1
24914 grep -v '^ *+' conftest.er1 >conftest.err
24916 cat conftest.err >&5
24917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24918 (exit $ac_status); } && {
24919 test -z "$ac_cxx_werror_flag" ||
24920 test ! -s conftest.err
24921 } && test -s conftest$ac_exeext &&
24922 $as_test_x conftest$ac_exeext; then
24923 eval wx_cv_func_$wx_func=yes
24925 echo "$as_me: failed program was:" >&5
24926 sed 's/^/| /' conftest.$ac_ext >&5
24928 eval wx_cv_func_$wx_func=no
24931 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24932 conftest$ac_exeext conftest.$ac_ext
24935 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
24936 { echo "$as_me:$LINENO: result: $ac_res" >&5
24937 echo "${ECHO_T}$ac_res" >&6; }
24939 if eval test \$wx_cv_func_$wx_func = yes
24941 cat >>confdefs.h <<_ACEOF
24942 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
24954 ac_cpp='$CPP $CPPFLAGS'
24955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24962 if test "$wxUSE_REGEX" != "no"; then
24963 cat >>confdefs.h <<\_ACEOF
24964 #define wxUSE_REGEX 1
24968 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
24969 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
24970 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
24971 wxUSE_REGEX=builtin
24974 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
24975 { echo "$as_me:$LINENO: checking for regex.h" >&5
24976 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
24977 if test "${ac_cv_header_regex_h+set}" = set; then
24978 echo $ECHO_N "(cached) $ECHO_C" >&6
24980 cat >conftest.$ac_ext <<_ACEOF
24983 cat confdefs.h >>conftest.$ac_ext
24984 cat >>conftest.$ac_ext <<_ACEOF
24985 /* end confdefs.h. */
24990 rm -f conftest.$ac_objext
24991 if { (ac_try="$ac_compile"
24992 case "(($ac_try" in
24993 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24994 *) ac_try_echo
=$ac_try;;
24996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24997 (eval "$ac_compile") 2>conftest.er1
24999 grep -v '^ *+' conftest.er1
>conftest.err
25001 cat conftest.err
>&5
25002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25003 (exit $ac_status); } && {
25004 test -z "$ac_c_werror_flag" ||
25005 test ! -s conftest.err
25006 } && test -s conftest.
$ac_objext; then
25007 ac_cv_header_regex_h
=yes
25009 echo "$as_me: failed program was:" >&5
25010 sed 's/^/| /' conftest.
$ac_ext >&5
25012 ac_cv_header_regex_h
=no
25015 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25017 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25018 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
25019 if test $ac_cv_header_regex_h = yes; then
25022 for ac_func
in regcomp re_search
25024 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25025 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25026 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25027 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25028 echo $ECHO_N "(cached) $ECHO_C" >&6
25030 cat >conftest.
$ac_ext <<_ACEOF
25033 cat confdefs.h
>>conftest.
$ac_ext
25034 cat >>conftest.
$ac_ext <<_ACEOF
25035 /* end confdefs.h. */
25036 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25037 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25038 #define $ac_func innocuous_$ac_func
25040 /* System header to define __stub macros and hopefully few prototypes,
25041 which can conflict with char $ac_func (); below.
25042 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25043 <limits.h> exists even on freestanding compilers. */
25046 # include <limits.h>
25048 # include <assert.h>
25053 /* Override any GCC internal prototype to avoid an error.
25054 Use char because int might match the return type of a GCC
25055 builtin and then its argument prototype would still apply. */
25060 /* The GNU C library defines this for functions which it implements
25061 to always fail with ENOSYS. Some functions are actually named
25062 something starting with __ and the normal name is an alias. */
25063 #if defined __stub_$ac_func || defined __stub___$ac_func
25070 return $ac_func ();
25075 rm -f conftest.
$ac_objext conftest
$ac_exeext
25076 if { (ac_try
="$ac_link"
25077 case "(($ac_try" in
25078 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25079 *) ac_try_echo=$ac_try;;
25081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25082 (eval "$ac_link") 2>conftest.er1
25084 grep -v '^ *+' conftest.er1 >conftest.err
25086 cat conftest.err >&5
25087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25088 (exit $ac_status); } && {
25089 test -z "$ac_c_werror_flag" ||
25090 test ! -s conftest.err
25091 } && test -s conftest$ac_exeext &&
25092 $as_test_x conftest$ac_exeext; then
25093 eval "$as_ac_var=yes"
25095 echo "$as_me: failed program was:" >&5
25096 sed 's/^/| /' conftest.$ac_ext >&5
25098 eval "$as_ac_var=no"
25101 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25102 conftest$ac_exeext conftest.$ac_ext
25104 ac_res=`eval echo '${'$as_ac_var'}'`
25105 { echo "$as_me:$LINENO: result: $ac_res" >&5
25106 echo "${ECHO_T}$ac_res" >&6; }
25107 if test `eval echo '${'$as_ac_var'}'` = yes; then
25108 cat >>confdefs.h <<_ACEOF
25109 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25119 if test "x$ac_cv_func_regcomp" != "xyes"; then
25120 if test "$wxUSE_REGEX" = "sys" ; then
25121 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25122 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25123 { (exit 1); exit 1; }; }
25125 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25126 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25127 wxUSE_REGEX=builtin
25131 cat >>confdefs.h <<\_ACEOF
25132 #define WX_NO_REGEX_ADVANCED 1
25141 if test "$wxUSE_ZLIB" != "no" ; then
25142 cat >>confdefs.h <<\_ACEOF
25143 #define wxUSE_ZLIB 1
25147 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25148 if test "$USE_DARWIN" = 1; then
25149 system_zlib_h_ok="yes"
25151 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25152 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
25153 if test "${ac_cv_header_zlib_h+set}" = set; then
25154 echo $ECHO_N "(cached) $ECHO_C" >&6
25156 if test "$cross_compiling" = yes; then
25157 unset ac_cv_header_zlib_h
25160 cat >conftest.$ac_ext <<_ACEOF
25163 cat confdefs.h >>conftest.$ac_ext
25164 cat >>conftest.$ac_ext <<_ACEOF
25165 /* end confdefs.h. */
25172 FILE *f=fopen("conftestval", "w");
25175 ZLIB_VERSION[0] == '1' &&
25176 (ZLIB_VERSION[2] > '1' ||
25177 (ZLIB_VERSION[2] == '1' &&
25178 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25183 rm -f conftest$ac_exeext
25184 if { (ac_try="$ac_link"
25185 case "(($ac_try" in
25186 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25187 *) ac_try_echo
=$ac_try;;
25189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25190 (eval "$ac_link") 2>&5
25192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25193 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25194 { (case "(($ac_try" in
25195 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25196 *) ac_try_echo=$ac_try;;
25198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25199 (eval "$ac_try") 2>&5
25201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25202 (exit $ac_status); }; }; then
25203 ac_cv_header_zlib_h=`cat conftestval
`
25205 echo "$as_me: program exited with status $ac_status" >&5
25206 echo "$as_me: failed program was:" >&5
25207 sed 's/^/| /' conftest.$ac_ext >&5
25209 ( exit $ac_status )
25210 ac_cv_header_zlib_h=no
25212 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25218 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25219 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
25220 { echo "$as_me:$LINENO: checking for zlib.h" >&5
25221 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
25222 if test "${ac_cv_header_zlib_h+set}" = set; then
25223 echo $ECHO_N "(cached) $ECHO_C" >&6
25225 cat >conftest.$ac_ext <<_ACEOF
25228 cat confdefs.h >>conftest.$ac_ext
25229 cat >>conftest.$ac_ext <<_ACEOF
25230 /* end confdefs.h. */
25235 rm -f conftest.$ac_objext
25236 if { (ac_try="$ac_compile"
25237 case "(($ac_try" in
25238 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25239 *) ac_try_echo
=$ac_try;;
25241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25242 (eval "$ac_compile") 2>conftest.er1
25244 grep -v '^ *+' conftest.er1
>conftest.err
25246 cat conftest.err
>&5
25247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25248 (exit $ac_status); } && {
25249 test -z "$ac_c_werror_flag" ||
25250 test ! -s conftest.err
25251 } && test -s conftest.
$ac_objext; then
25252 ac_cv_header_zlib_h
=yes
25254 echo "$as_me: failed program was:" >&5
25255 sed 's/^/| /' conftest.
$ac_ext >&5
25257 ac_cv_header_zlib_h
=no
25260 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25262 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25263 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
25267 system_zlib_h_ok
=$ac_cv_header_zlib_h
25270 if test "$system_zlib_h_ok" = "yes"; then
25271 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
25272 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
25273 if test "${ac_cv_lib_z_deflate+set}" = set; then
25274 echo $ECHO_N "(cached) $ECHO_C" >&6
25276 ac_check_lib_save_LIBS
=$LIBS
25278 cat >conftest.
$ac_ext <<_ACEOF
25281 cat confdefs.h
>>conftest.
$ac_ext
25282 cat >>conftest.
$ac_ext <<_ACEOF
25283 /* end confdefs.h. */
25285 /* Override any GCC internal prototype to avoid an error.
25286 Use char because int might match the return type of a GCC
25287 builtin and then its argument prototype would still apply. */
25300 rm -f conftest.
$ac_objext conftest
$ac_exeext
25301 if { (ac_try
="$ac_link"
25302 case "(($ac_try" in
25303 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25304 *) ac_try_echo=$ac_try;;
25306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25307 (eval "$ac_link") 2>conftest.er1
25309 grep -v '^ *+' conftest.er1 >conftest.err
25311 cat conftest.err >&5
25312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25313 (exit $ac_status); } && {
25314 test -z "$ac_c_werror_flag" ||
25315 test ! -s conftest.err
25316 } && test -s conftest$ac_exeext &&
25317 $as_test_x conftest$ac_exeext; then
25318 ac_cv_lib_z_deflate=yes
25320 echo "$as_me: failed program was:" >&5
25321 sed 's/^/| /' conftest.$ac_ext >&5
25323 ac_cv_lib_z_deflate=no
25326 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25327 conftest$ac_exeext conftest.$ac_ext
25328 LIBS=$ac_check_lib_save_LIBS
25330 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
25331 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
25332 if test $ac_cv_lib_z_deflate = yes; then
25338 if test "x$ZLIB_LINK" = "x" ; then
25339 if test "$wxUSE_ZLIB" = "sys" ; then
25340 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
25341 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
25342 { (exit 1); exit 1; }; }
25344 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
25345 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
25356 if test "$wxUSE_LIBPNG" != "no" ; then
25357 cat >>confdefs.h <<\_ACEOF
25358 #define wxUSE_LIBPNG 1
25362 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
25363 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
25364 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
25368 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
25369 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
25370 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
25371 wxUSE_LIBPNG=builtin
25374 if test "$wxUSE_MGL" != 1 ; then
25375 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
25376 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
25377 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
25378 if test "${ac_cv_header_png_h+set}" = set; then
25379 echo $ECHO_N "(cached) $ECHO_C" >&6
25381 if test "$cross_compiling" = yes; then
25382 unset ac_cv_header_png_h
25385 cat >conftest.$ac_ext <<_ACEOF
25388 cat confdefs.h >>conftest.$ac_ext
25389 cat >>conftest.$ac_ext <<_ACEOF
25390 /* end confdefs.h. */
25397 FILE *f=fopen("conftestval", "w");
25400 PNG_LIBPNG_VER > 90 ? "yes" : "no");
25405 rm -f conftest$ac_exeext
25406 if { (ac_try="$ac_link"
25407 case "(($ac_try" in
25408 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25409 *) ac_try_echo
=$ac_try;;
25411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25412 (eval "$ac_link") 2>&5
25414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25415 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25416 { (case "(($ac_try" in
25417 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25418 *) ac_try_echo=$ac_try;;
25420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25421 (eval "$ac_try") 2>&5
25423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25424 (exit $ac_status); }; }; then
25425 ac_cv_header_png_h=`cat conftestval
`
25427 echo "$as_me: program exited with status $ac_status" >&5
25428 echo "$as_me: failed program was:" >&5
25429 sed 's/^/| /' conftest.$ac_ext >&5
25431 ( exit $ac_status )
25432 ac_cv_header_png_h=no
25434 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25440 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25441 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
25442 { echo "$as_me:$LINENO: checking for png.h" >&5
25443 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
25444 if test "${ac_cv_header_png_h+set}" = set; then
25445 echo $ECHO_N "(cached) $ECHO_C" >&6
25447 cat >conftest.$ac_ext <<_ACEOF
25450 cat confdefs.h >>conftest.$ac_ext
25451 cat >>conftest.$ac_ext <<_ACEOF
25452 /* end confdefs.h. */
25457 rm -f conftest.$ac_objext
25458 if { (ac_try="$ac_compile"
25459 case "(($ac_try" in
25460 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25461 *) ac_try_echo
=$ac_try;;
25463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25464 (eval "$ac_compile") 2>conftest.er1
25466 grep -v '^ *+' conftest.er1
>conftest.err
25468 cat conftest.err
>&5
25469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25470 (exit $ac_status); } && {
25471 test -z "$ac_c_werror_flag" ||
25472 test ! -s conftest.err
25473 } && test -s conftest.
$ac_objext; then
25474 ac_cv_header_png_h
=yes
25476 echo "$as_me: failed program was:" >&5
25477 sed 's/^/| /' conftest.
$ac_ext >&5
25479 ac_cv_header_png_h
=no
25482 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25484 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25485 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
25489 if test "$ac_cv_header_png_h" = "yes"; then
25490 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
25491 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
25492 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
25493 echo $ECHO_N "(cached) $ECHO_C" >&6
25495 ac_check_lib_save_LIBS
=$LIBS
25496 LIBS
="-lpng -lz -lm $LIBS"
25497 cat >conftest.
$ac_ext <<_ACEOF
25500 cat confdefs.h
>>conftest.
$ac_ext
25501 cat >>conftest.
$ac_ext <<_ACEOF
25502 /* end confdefs.h. */
25504 /* Override any GCC internal prototype to avoid an error.
25505 Use char because int might match the return type of a GCC
25506 builtin and then its argument prototype would still apply. */
25510 char png_check_sig ();
25514 return png_check_sig ();
25519 rm -f conftest.
$ac_objext conftest
$ac_exeext
25520 if { (ac_try
="$ac_link"
25521 case "(($ac_try" in
25522 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25523 *) ac_try_echo=$ac_try;;
25525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25526 (eval "$ac_link") 2>conftest.er1
25528 grep -v '^ *+' conftest.er1 >conftest.err
25530 cat conftest.err >&5
25531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25532 (exit $ac_status); } && {
25533 test -z "$ac_c_werror_flag" ||
25534 test ! -s conftest.err
25535 } && test -s conftest$ac_exeext &&
25536 $as_test_x conftest$ac_exeext; then
25537 ac_cv_lib_png_png_check_sig=yes
25539 echo "$as_me: failed program was:" >&5
25540 sed 's/^/| /' conftest.$ac_ext >&5
25542 ac_cv_lib_png_png_check_sig=no
25545 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25546 conftest$ac_exeext conftest.$ac_ext
25547 LIBS=$ac_check_lib_save_LIBS
25549 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
25550 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
25551 if test $ac_cv_lib_png_png_check_sig = yes; then
25552 PNG_LINK=" -lpng -lz"
25557 if test "x$PNG_LINK" = "x" ; then
25558 if test "$wxUSE_LIBPNG" = "sys" ; then
25559 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
25560 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
25561 { (exit 1); exit 1; }; }
25563 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
25564 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
25565 wxUSE_LIBPNG=builtin
25573 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
25578 if test "$wxUSE_LIBJPEG" != "no" ; then
25579 cat >>confdefs.h <<\_ACEOF
25580 #define wxUSE_LIBJPEG 1
25584 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
25585 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
25586 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
25590 if test "$wxUSE_MGL" != 1 ; then
25591 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
25592 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
25593 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
25594 if test "${ac_cv_header_jpeglib_h+set}" = set; then
25595 echo $ECHO_N "(cached) $ECHO_C" >&6
25597 cat >conftest.$ac_ext <<_ACEOF
25600 cat confdefs.h >>conftest.$ac_ext
25601 cat >>conftest.$ac_ext <<_ACEOF
25602 /* end confdefs.h. */
25604 #undef HAVE_STDLIB_H
25606 #include <jpeglib.h>
25617 rm -f conftest.$ac_objext
25618 if { (ac_try="$ac_compile"
25619 case "(($ac_try" in
25620 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25621 *) ac_try_echo
=$ac_try;;
25623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25624 (eval "$ac_compile") 2>conftest.er1
25626 grep -v '^ *+' conftest.er1
>conftest.err
25628 cat conftest.err
>&5
25629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25630 (exit $ac_status); } && {
25631 test -z "$ac_c_werror_flag" ||
25632 test ! -s conftest.err
25633 } && test -s conftest.
$ac_objext; then
25634 ac_cv_header_jpeglib_h
=yes
25636 echo "$as_me: failed program was:" >&5
25637 sed 's/^/| /' conftest.
$ac_ext >&5
25639 ac_cv_header_jpeglib_h
=no
25643 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25647 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
25648 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
25650 if test "$ac_cv_header_jpeglib_h" = "yes"; then
25651 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
25652 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
25653 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
25654 echo $ECHO_N "(cached) $ECHO_C" >&6
25656 ac_check_lib_save_LIBS
=$LIBS
25657 LIBS
="-ljpeg $LIBS"
25658 cat >conftest.
$ac_ext <<_ACEOF
25661 cat confdefs.h
>>conftest.
$ac_ext
25662 cat >>conftest.
$ac_ext <<_ACEOF
25663 /* end confdefs.h. */
25665 /* Override any GCC internal prototype to avoid an error.
25666 Use char because int might match the return type of a GCC
25667 builtin and then its argument prototype would still apply. */
25671 char jpeg_read_header ();
25675 return jpeg_read_header ();
25680 rm -f conftest.
$ac_objext conftest
$ac_exeext
25681 if { (ac_try
="$ac_link"
25682 case "(($ac_try" in
25683 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25684 *) ac_try_echo=$ac_try;;
25686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25687 (eval "$ac_link") 2>conftest.er1
25689 grep -v '^ *+' conftest.er1 >conftest.err
25691 cat conftest.err >&5
25692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25693 (exit $ac_status); } && {
25694 test -z "$ac_c_werror_flag" ||
25695 test ! -s conftest.err
25696 } && test -s conftest$ac_exeext &&
25697 $as_test_x conftest$ac_exeext; then
25698 ac_cv_lib_jpeg_jpeg_read_header=yes
25700 echo "$as_me: failed program was:" >&5
25701 sed 's/^/| /' conftest.$ac_ext >&5
25703 ac_cv_lib_jpeg_jpeg_read_header=no
25706 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25707 conftest$ac_exeext conftest.$ac_ext
25708 LIBS=$ac_check_lib_save_LIBS
25710 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
25711 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
25712 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
25713 JPEG_LINK=" -ljpeg"
25718 if test "x$JPEG_LINK" = "x" ; then
25719 if test "$wxUSE_LIBJPEG" = "sys" ; then
25720 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
25721 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
25722 { (exit 1); exit 1; }; }
25724 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
25725 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
25726 wxUSE_LIBJPEG=builtin
25731 if test "$wxUSE_MSW" = 1; then
25732 { echo "$as_me:$LINENO: checking for boolean" >&5
25733 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
25734 if test "${ac_cv_type_boolean+set}" = set; then
25735 echo $ECHO_N "(cached) $ECHO_C" >&6
25737 cat >conftest.$ac_ext <<_ACEOF
25740 cat confdefs.h >>conftest.$ac_ext
25741 cat >>conftest.$ac_ext <<_ACEOF
25742 /* end confdefs.h. */
25743 #include <windows.h>
25745 typedef boolean ac__type_new_;
25749 if ((ac__type_new_ *) 0)
25751 if (sizeof (ac__type_new_))
25757 rm -f conftest.$ac_objext
25758 if { (ac_try="$ac_compile"
25759 case "(($ac_try" in
25760 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25761 *) ac_try_echo
=$ac_try;;
25763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25764 (eval "$ac_compile") 2>conftest.er1
25766 grep -v '^ *+' conftest.er1
>conftest.err
25768 cat conftest.err
>&5
25769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25770 (exit $ac_status); } && {
25771 test -z "$ac_c_werror_flag" ||
25772 test ! -s conftest.err
25773 } && test -s conftest.
$ac_objext; then
25774 ac_cv_type_boolean
=yes
25776 echo "$as_me: failed program was:" >&5
25777 sed 's/^/| /' conftest.
$ac_ext >&5
25779 ac_cv_type_boolean
=no
25782 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25784 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
25785 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
25786 if test $ac_cv_type_boolean = yes; then
25788 cat >>confdefs.h
<<_ACEOF
25789 #define HAVE_BOOLEAN 1
25793 { echo "$as_me:$LINENO: checking for boolean" >&5
25794 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
25795 if test "${ac_cv_type_boolean+set}" = set; then
25796 echo $ECHO_N "(cached) $ECHO_C" >&6
25798 cat >conftest.
$ac_ext <<_ACEOF
25801 cat confdefs.h
>>conftest.
$ac_ext
25802 cat >>conftest.
$ac_ext <<_ACEOF
25803 /* end confdefs.h. */
25805 #undef HAVE_BOOLEAN
25807 #include <jpeglib.h>
25810 typedef boolean ac__type_new_;
25814 if ((ac__type_new_ *) 0)
25816 if (sizeof (ac__type_new_))
25822 rm -f conftest.
$ac_objext
25823 if { (ac_try
="$ac_compile"
25824 case "(($ac_try" in
25825 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25826 *) ac_try_echo=$ac_try;;
25828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25829 (eval "$ac_compile") 2>conftest.er1
25831 grep -v '^ *+' conftest.er1 >conftest.err
25833 cat conftest.err >&5
25834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25835 (exit $ac_status); } && {
25836 test -z "$ac_c_werror_flag" ||
25837 test ! -s conftest.err
25838 } && test -s conftest.$ac_objext; then
25839 ac_cv_type_boolean=yes
25841 echo "$as_me: failed program was:" >&5
25842 sed 's/^/| /' conftest.$ac_ext >&5
25844 ac_cv_type_boolean=no
25847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25849 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
25850 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
25852 # The cast to long int works around a bug in the HP C Compiler
25853 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25854 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
25855 # This bug is HP SR number 8606223364.
25856 { echo "$as_me:$LINENO: checking size of boolean" >&5
25857 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
25858 if test "${ac_cv_sizeof_boolean+set}" = set; then
25859 echo $ECHO_N "(cached) $ECHO_C" >&6
25861 if test "$cross_compiling" = yes; then
25862 # Depending upon the size, compute the lo and hi bounds.
25863 cat >conftest.$ac_ext <<_ACEOF
25866 cat confdefs.h >>conftest.$ac_ext
25867 cat >>conftest.$ac_ext <<_ACEOF
25868 /* end confdefs.h. */
25870 #undef HAVE_BOOLEAN
25872 #include <jpeglib.h>
25875 typedef boolean ac__type_sizeof_;
25879 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
25886 rm -f conftest.$ac_objext
25887 if { (ac_try="$ac_compile"
25888 case "(($ac_try" in
25889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25890 *) ac_try_echo=$ac_try;;
25892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25893 (eval "$ac_compile") 2>conftest.er1
25895 grep -v '^
*+' conftest.er1 >conftest.err
25897 cat conftest.err >&5
25898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25899 (exit $ac_status); } && {
25900 test -z "$ac_c_werror_flag" ||
25901 test ! -s conftest.err
25902 } && test -s conftest.$ac_objext; then
25905 cat >conftest.$ac_ext <<_ACEOF
25908 cat confdefs.h >>conftest.$ac_ext
25909 cat >>conftest.$ac_ext <<_ACEOF
25910 /* end confdefs.h. */
25912 #undef HAVE_BOOLEAN
25914 #include <jpeglib.h>
25917 typedef boolean ac__type_sizeof_;
25921 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25928 rm -f conftest.$ac_objext
25929 if { (ac_try="$ac_compile"
25930 case "(($ac_try" in
25931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25932 *) ac_try_echo=$ac_try;;
25934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25935 (eval "$ac_compile") 2>conftest.er1
25937 grep -v '^
*+' conftest.er1 >conftest.err
25939 cat conftest.err >&5
25940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25941 (exit $ac_status); } && {
25942 test -z "$ac_c_werror_flag" ||
25943 test ! -s conftest.err
25944 } && test -s conftest.$ac_objext; then
25945 ac_hi=$ac_mid; break
25947 echo "$as_me: failed program was:" >&5
25948 sed 's
/^
/| /' conftest.$ac_ext >&5
25950 ac_lo=`expr $ac_mid + 1`
25951 if test $ac_lo -le $ac_mid; then
25955 ac_mid=`expr 2 '*' $ac_mid + 1`
25958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25961 echo "$as_me: failed program was:" >&5
25962 sed 's
/^
/| /' conftest.$ac_ext >&5
25964 cat >conftest.$ac_ext <<_ACEOF
25967 cat confdefs.h >>conftest.$ac_ext
25968 cat >>conftest.$ac_ext <<_ACEOF
25969 /* end confdefs.h. */
25971 #undef HAVE_BOOLEAN
25973 #include <jpeglib.h>
25976 typedef boolean ac__type_sizeof_;
25980 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
25987 rm -f conftest.$ac_objext
25988 if { (ac_try="$ac_compile"
25989 case "(($ac_try" in
25990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25991 *) ac_try_echo=$ac_try;;
25993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25994 (eval "$ac_compile") 2>conftest.er1
25996 grep -v '^
*+' conftest.er1 >conftest.err
25998 cat conftest.err >&5
25999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26000 (exit $ac_status); } && {
26001 test -z "$ac_c_werror_flag" ||
26002 test ! -s conftest.err
26003 } && test -s conftest.$ac_objext; then
26006 cat >conftest.$ac_ext <<_ACEOF
26009 cat confdefs.h >>conftest.$ac_ext
26010 cat >>conftest.$ac_ext <<_ACEOF
26011 /* end confdefs.h. */
26013 #undef HAVE_BOOLEAN
26015 #include <jpeglib.h>
26018 typedef boolean ac__type_sizeof_;
26022 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
26029 rm -f conftest.$ac_objext
26030 if { (ac_try="$ac_compile"
26031 case "(($ac_try" in
26032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26033 *) ac_try_echo=$ac_try;;
26035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26036 (eval "$ac_compile") 2>conftest.er1
26038 grep -v '^
*+' conftest.er1 >conftest.err
26040 cat conftest.err >&5
26041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26042 (exit $ac_status); } && {
26043 test -z "$ac_c_werror_flag" ||
26044 test ! -s conftest.err
26045 } && test -s conftest.$ac_objext; then
26046 ac_lo=$ac_mid; break
26048 echo "$as_me: failed program was:" >&5
26049 sed 's
/^
/| /' conftest.$ac_ext >&5
26051 ac_hi=`expr '(' $ac_mid ')' - 1`
26052 if test $ac_mid -le $ac_hi; then
26056 ac_mid=`expr 2 '*' $ac_mid`
26059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26062 echo "$as_me: failed program was:" >&5
26063 sed 's
/^
/| /' conftest.$ac_ext >&5
26068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26072 # Binary search between lo and hi bounds.
26073 while test "x$ac_lo" != "x$ac_hi"; do
26074 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26075 cat >conftest.$ac_ext <<_ACEOF
26078 cat confdefs.h >>conftest.$ac_ext
26079 cat >>conftest.$ac_ext <<_ACEOF
26080 /* end confdefs.h. */
26082 #undef HAVE_BOOLEAN
26084 #include <jpeglib.h>
26087 typedef boolean ac__type_sizeof_;
26091 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26098 rm -f conftest.$ac_objext
26099 if { (ac_try="$ac_compile"
26100 case "(($ac_try" in
26101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26102 *) ac_try_echo=$ac_try;;
26104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26105 (eval "$ac_compile") 2>conftest.er1
26107 grep -v '^
*+' conftest.er1 >conftest.err
26109 cat conftest.err >&5
26110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26111 (exit $ac_status); } && {
26112 test -z "$ac_c_werror_flag" ||
26113 test ! -s conftest.err
26114 } && test -s conftest.$ac_objext; then
26117 echo "$as_me: failed program was:" >&5
26118 sed 's
/^
/| /' conftest.$ac_ext >&5
26120 ac_lo=`expr '(' $ac_mid ')' + 1`
26123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26126 ?*) ac_cv_sizeof_boolean=$ac_lo;;
26127 '') if test "$ac_cv_type_boolean" = yes; then
26128 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
26129 See \`config.log' for more details.
" >&5
26130 echo "$as_me: error
: cannot compute sizeof
(boolean
)
26131 See \
`config.log' for more details." >&2;}
26132 { (exit 77); exit 77; }; }
26134 ac_cv_sizeof_boolean=0
26138 cat >conftest.$ac_ext <<_ACEOF
26141 cat confdefs.h >>conftest.$ac_ext
26142 cat >>conftest.$ac_ext <<_ACEOF
26143 /* end confdefs.h. */
26145 #undef HAVE_BOOLEAN
26147 #include <jpeglib.h>
26150 typedef boolean ac__type_sizeof_;
26151 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
26152 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
26154 #include <stdlib.h>
26159 FILE *f = fopen ("conftest.val", "w");
26162 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
26164 long int i = longval ();
26165 if (i != ((long int) (sizeof (ac__type_sizeof_))))
26167 fprintf (f, "%ld\n", i);
26171 unsigned long int i = ulongval ();
26172 if (i != ((long int) (sizeof (ac__type_sizeof_))))
26174 fprintf (f, "%lu\n", i);
26176 return ferror (f) || fclose (f) != 0;
26182 rm -f conftest$ac_exeext
26183 if { (ac_try="$ac_link"
26184 case "(($ac_try" in
26185 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26186 *) ac_try_echo
=$ac_try;;
26188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26189 (eval "$ac_link") 2>&5
26191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26192 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26193 { (case "(($ac_try" in
26194 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26195 *) ac_try_echo=$ac_try;;
26197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26198 (eval "$ac_try") 2>&5
26200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26201 (exit $ac_status); }; }; then
26202 ac_cv_sizeof_boolean=`cat conftest.val
`
26204 echo "$as_me: program exited with status $ac_status" >&5
26205 echo "$as_me: failed program was:" >&5
26206 sed 's/^/| /' conftest.$ac_ext >&5
26208 ( exit $ac_status )
26209 if test "$ac_cv_type_boolean" = yes; then
26210 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
26211 See \`config.log
' for more details." >&5
26212 echo "$as_me: error: cannot compute sizeof (boolean)
26213 See \`config.log' for more details.
" >&2;}
26214 { (exit 77); exit 77; }; }
26216 ac_cv_sizeof_boolean=0
26219 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26223 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_boolean" >&5
26224 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
26228 cat >>confdefs.h <<_ACEOF
26229 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
26233 cat >>confdefs.h <<_ACEOF
26234 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
26248 TIFF_PREREQ_LINKS=-lm
26249 if test "$wxUSE_LIBTIFF" != "no
" ; then
26250 cat >>confdefs.h <<\_ACEOF
26251 #define wxUSE_LIBTIFF 1
26255 if test "$wxUSE_LIBTIFF" = "sys
" -o "$wxUSE_LIBTIFF" = "yes" ; then
26256 if test "$wxUSE_LIBJPEG" = "sys
"; then
26257 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
26259 if test "$wxUSE_ZLIB" = "sys
"; then
26260 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
26262 { echo "$as_me:$LINENO: checking
for tiffio.h
" >&5
26263 echo $ECHO_N "checking
for tiffio.h...
$ECHO_C" >&6; }
26264 if test "${ac_cv_header_tiffio_h+set}" = set; then
26265 echo $ECHO_N "(cached
) $ECHO_C" >&6
26267 cat >conftest.$ac_ext <<_ACEOF
26270 cat confdefs.h >>conftest.$ac_ext
26271 cat >>conftest.$ac_ext <<_ACEOF
26272 /* end confdefs.h. */
26276 #include <tiffio.h>
26278 rm -f conftest.$ac_objext
26279 if { (ac_try="$ac_compile"
26280 case "(($ac_try" in
26281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26282 *) ac_try_echo=$ac_try;;
26284 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26285 (eval "$ac_compile") 2>conftest.er1
26287 grep -v '^ *+' conftest.er1 >conftest.err
26289 cat conftest.err >&5
26290 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26291 (exit $ac_status); } && {
26292 test -z "$ac_c_werror_flag" ||
26293 test ! -s conftest.err
26294 } && test -s conftest.$ac_objext; then
26295 ac_cv_header_tiffio_h=yes
26297 echo "$as_me: failed program was
:" >&5
26298 sed 's/^/| /' conftest.$ac_ext >&5
26300 ac_cv_header_tiffio_h=no
26303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26305 { echo "$as_me:$LINENO: result
: $ac_cv_header_tiffio_h" >&5
26306 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
26307 if test $ac_cv_header_tiffio_h = yes; then
26309 { echo "$as_me:$LINENO: checking
for TIFFError
in -ltiff" >&5
26310 echo $ECHO_N "checking
for TIFFError
in -ltiff...
$ECHO_C" >&6; }
26311 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
26312 echo $ECHO_N "(cached
) $ECHO_C" >&6
26314 ac_check_lib_save_LIBS=$LIBS
26315 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
26316 cat >conftest.$ac_ext <<_ACEOF
26319 cat confdefs.h >>conftest.$ac_ext
26320 cat >>conftest.$ac_ext <<_ACEOF
26321 /* end confdefs.h. */
26323 /* Override any GCC internal prototype to avoid an error.
26324 Use char because int might match the return type of a GCC
26325 builtin and then its argument prototype would still apply. */
26333 return TIFFError ();
26338 rm -f conftest.$ac_objext conftest$ac_exeext
26339 if { (ac_try="$ac_link"
26340 case "(($ac_try" in
26341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26342 *) ac_try_echo=$ac_try;;
26344 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26345 (eval "$ac_link") 2>conftest.er1
26347 grep -v '^ *+' conftest.er1 >conftest.err
26349 cat conftest.err >&5
26350 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26351 (exit $ac_status); } && {
26352 test -z "$ac_c_werror_flag" ||
26353 test ! -s conftest.err
26354 } && test -s conftest$ac_exeext &&
26355 $as_test_x conftest$ac_exeext; then
26356 ac_cv_lib_tiff_TIFFError=yes
26358 echo "$as_me: failed program was
:" >&5
26359 sed 's/^/| /' conftest.$ac_ext >&5
26361 ac_cv_lib_tiff_TIFFError=no
26364 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26365 conftest$ac_exeext conftest.$ac_ext
26366 LIBS=$ac_check_lib_save_LIBS
26368 { echo "$as_me:$LINENO: result
: $ac_cv_lib_tiff_TIFFError" >&5
26369 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
26370 if test $ac_cv_lib_tiff_TIFFError = yes; then
26371 TIFF_LINK=" -ltiff"
26379 if test "x
$TIFF_LINK" = "x
" ; then
26380 if test "$wxUSE_LIBTIFF" = "sys
" ; then
26381 { { echo "$as_me:$LINENO: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&5
26382 echo "$as_me: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&2;}
26383 { (exit 1); exit 1; }; }
26385 { echo "$as_me:$LINENO: WARNING
: system tiff library not found
, will use built
-in instead
" >&5
26386 echo "$as_me: WARNING
: system tiff library not found
, will use built
-in instead
" >&2;}
26387 wxUSE_LIBTIFF=builtin
26396 if test "$wxUSE_WCHAR_T" != "yes"; then
26397 if test "$wxUSE_EXPAT" != "no
"; then
26398 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&5
26399 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&2;}
26402 if test "$wxUSE_XML" != "no
"; then
26403 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&5
26404 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&2;}
26409 if test "$wxUSE_EXPAT" != "no
"; then
26411 cat >>confdefs.h <<\_ACEOF
26412 #define wxUSE_EXPAT 1
26415 cat >>confdefs.h <<\_ACEOF
26416 #define wxUSE_XML 1
26420 if test "$wxUSE_EXPAT" = "sys
" -o "$wxUSE_EXPAT" = "yes" ; then
26421 { echo "$as_me:$LINENO: checking
for expat.h
" >&5
26422 echo $ECHO_N "checking
for expat.h...
$ECHO_C" >&6; }
26423 if test "${ac_cv_header_expat_h+set}" = set; then
26424 echo $ECHO_N "(cached
) $ECHO_C" >&6
26426 cat >conftest.$ac_ext <<_ACEOF
26429 cat confdefs.h >>conftest.$ac_ext
26430 cat >>conftest.$ac_ext <<_ACEOF
26431 /* end confdefs.h. */
26436 rm -f conftest.$ac_objext
26437 if { (ac_try="$ac_compile"
26438 case "(($ac_try" in
26439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26440 *) ac_try_echo=$ac_try;;
26442 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26443 (eval "$ac_compile") 2>conftest.er1
26445 grep -v '^ *+' conftest.er1 >conftest.err
26447 cat conftest.err >&5
26448 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26449 (exit $ac_status); } && {
26450 test -z "$ac_c_werror_flag" ||
26451 test ! -s conftest.err
26452 } && test -s conftest.$ac_objext; then
26453 ac_cv_header_expat_h=yes
26455 echo "$as_me: failed program was
:" >&5
26456 sed 's/^/| /' conftest.$ac_ext >&5
26458 ac_cv_header_expat_h=no
26461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26463 { echo "$as_me:$LINENO: result
: $ac_cv_header_expat_h" >&5
26464 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
26465 if test $ac_cv_header_expat_h = yes; then
26470 if test "x
$found_expat_h" = "x1
"; then
26471 { echo "$as_me:$LINENO: checking
if expat.h is valid C
++ header
" >&5
26472 echo $ECHO_N "checking
if expat.h is valid C
++ header...
$ECHO_C" >&6; }
26473 if test "${wx_cv_expat_is_not_broken+set}" = set; then
26474 echo $ECHO_N "(cached
) $ECHO_C" >&6
26478 ac_cpp='$CXXCPP $CPPFLAGS'
26479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26483 cat >conftest.$ac_ext <<_ACEOF
26486 cat confdefs.h >>conftest.$ac_ext
26487 cat >>conftest.$ac_ext <<_ACEOF
26488 /* end confdefs.h. */
26498 rm -f conftest.$ac_objext
26499 if { (ac_try="$ac_compile"
26500 case "(($ac_try" in
26501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26502 *) ac_try_echo=$ac_try;;
26504 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26505 (eval "$ac_compile") 2>conftest.er1
26507 grep -v '^ *+' conftest.er1 >conftest.err
26509 cat conftest.err >&5
26510 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26511 (exit $ac_status); } && {
26512 test -z "$ac_cxx_werror_flag" ||
26513 test ! -s conftest.err
26514 } && test -s conftest.$ac_objext; then
26515 wx_cv_expat_is_not_broken=yes
26517 echo "$as_me: failed program was
:" >&5
26518 sed 's/^/| /' conftest.$ac_ext >&5
26520 wx_cv_expat_is_not_broken=no
26524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26526 ac_cpp='$CPP $CPPFLAGS'
26527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26534 { echo "$as_me:$LINENO: result
: $wx_cv_expat_is_not_broken" >&5
26535 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
26536 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
26537 { echo "$as_me:$LINENO: checking
for XML_ParserCreate
in -lexpat" >&5
26538 echo $ECHO_N "checking
for XML_ParserCreate
in -lexpat...
$ECHO_C" >&6; }
26539 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
26540 echo $ECHO_N "(cached
) $ECHO_C" >&6
26542 ac_check_lib_save_LIBS=$LIBS
26543 LIBS="-lexpat $LIBS"
26544 cat >conftest.$ac_ext <<_ACEOF
26547 cat confdefs.h >>conftest.$ac_ext
26548 cat >>conftest.$ac_ext <<_ACEOF
26549 /* end confdefs.h. */
26551 /* Override any GCC internal prototype to avoid an error.
26552 Use char because int might match the return type of a GCC
26553 builtin and then its argument prototype would still apply. */
26557 char XML_ParserCreate ();
26561 return XML_ParserCreate ();
26566 rm -f conftest.$ac_objext conftest$ac_exeext
26567 if { (ac_try="$ac_link"
26568 case "(($ac_try" in
26569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26570 *) ac_try_echo=$ac_try;;
26572 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26573 (eval "$ac_link") 2>conftest.er1
26575 grep -v '^ *+' conftest.er1 >conftest.err
26577 cat conftest.err >&5
26578 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26579 (exit $ac_status); } && {
26580 test -z "$ac_c_werror_flag" ||
26581 test ! -s conftest.err
26582 } && test -s conftest$ac_exeext &&
26583 $as_test_x conftest$ac_exeext; then
26584 ac_cv_lib_expat_XML_ParserCreate=yes
26586 echo "$as_me: failed program was
:" >&5
26587 sed 's/^/| /' conftest.$ac_ext >&5
26589 ac_cv_lib_expat_XML_ParserCreate=no
26592 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26593 conftest$ac_exeext conftest.$ac_ext
26594 LIBS=$ac_check_lib_save_LIBS
26596 { echo "$as_me:$LINENO: result
: $ac_cv_lib_expat_XML_ParserCreate" >&5
26597 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
26598 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
26599 EXPAT_LINK=" -lexpat"
26604 if test "x
$EXPAT_LINK" = "x
" ; then
26605 if test "$wxUSE_EXPAT" = "sys
" ; then
26606 { { echo "$as_me:$LINENO: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&5
26607 echo "$as_me: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&2;}
26608 { (exit 1); exit 1; }; }
26610 { echo "$as_me:$LINENO: WARNING
: system expat library not found
, will use built
-in instead
" >&5
26611 echo "$as_me: WARNING
: system expat library not found
, will use built
-in instead
" >&2;}
26612 wxUSE_EXPAT=builtin
26618 if test "$wxUSE_EXPAT" = "builtin" ; then
26619 subdirs="$subdirs src
/expat
"
26626 if test "$wxUSE_LIBMSPACK" != "no
"; then
26627 { echo "$as_me:$LINENO: checking
for mspack.h
" >&5
26628 echo $ECHO_N "checking
for mspack.h...
$ECHO_C" >&6; }
26629 if test "${ac_cv_header_mspack_h+set}" = set; then
26630 echo $ECHO_N "(cached
) $ECHO_C" >&6
26632 cat >conftest.$ac_ext <<_ACEOF
26635 cat confdefs.h >>conftest.$ac_ext
26636 cat >>conftest.$ac_ext <<_ACEOF
26637 /* end confdefs.h. */
26640 #include <mspack.h>
26642 rm -f conftest.$ac_objext
26643 if { (ac_try="$ac_compile"
26644 case "(($ac_try" in
26645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26646 *) ac_try_echo=$ac_try;;
26648 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26649 (eval "$ac_compile") 2>conftest.er1
26651 grep -v '^ *+' conftest.er1 >conftest.err
26653 cat conftest.err >&5
26654 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26655 (exit $ac_status); } && {
26656 test -z "$ac_c_werror_flag" ||
26657 test ! -s conftest.err
26658 } && test -s conftest.$ac_objext; then
26659 ac_cv_header_mspack_h=yes
26661 echo "$as_me: failed program was
:" >&5
26662 sed 's/^/| /' conftest.$ac_ext >&5
26664 ac_cv_header_mspack_h=no
26667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26669 { echo "$as_me:$LINENO: result
: $ac_cv_header_mspack_h" >&5
26670 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
26671 if test $ac_cv_header_mspack_h = yes; then
26676 if test "x
$found_mspack_h" = "x1
"; then
26677 { echo "$as_me:$LINENO: checking
for mspack_create_chm_decompressor
in -lmspack" >&5
26678 echo $ECHO_N "checking
for mspack_create_chm_decompressor
in -lmspack...
$ECHO_C" >&6; }
26679 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
26680 echo $ECHO_N "(cached
) $ECHO_C" >&6
26682 ac_check_lib_save_LIBS=$LIBS
26683 LIBS="-lmspack $LIBS"
26684 cat >conftest.$ac_ext <<_ACEOF
26687 cat confdefs.h >>conftest.$ac_ext
26688 cat >>conftest.$ac_ext <<_ACEOF
26689 /* end confdefs.h. */
26691 /* Override any GCC internal prototype to avoid an error.
26692 Use char because int might match the return type of a GCC
26693 builtin and then its argument prototype would still apply. */
26697 char mspack_create_chm_decompressor ();
26701 return mspack_create_chm_decompressor ();
26706 rm -f conftest.$ac_objext conftest$ac_exeext
26707 if { (ac_try="$ac_link"
26708 case "(($ac_try" in
26709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26710 *) ac_try_echo=$ac_try;;
26712 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26713 (eval "$ac_link") 2>conftest.er1
26715 grep -v '^ *+' conftest.er1 >conftest.err
26717 cat conftest.err >&5
26718 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26719 (exit $ac_status); } && {
26720 test -z "$ac_c_werror_flag" ||
26721 test ! -s conftest.err
26722 } && test -s conftest$ac_exeext &&
26723 $as_test_x conftest$ac_exeext; then
26724 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
26726 echo "$as_me: failed program was
:" >&5
26727 sed 's/^/| /' conftest.$ac_ext >&5
26729 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
26732 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26733 conftest$ac_exeext conftest.$ac_ext
26734 LIBS=$ac_check_lib_save_LIBS
26736 { echo "$as_me:$LINENO: result
: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
26737 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
26738 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
26739 MSPACK_LINK=" -lmspack"
26743 if test "x
$MSPACK_LINK" = "x
" ; then
26748 if test "$wxUSE_LIBMSPACK" != "no
"; then
26749 cat >>confdefs.h <<\_ACEOF
26750 #define wxUSE_LIBMSPACK 1
26764 if test "$USE_WIN32" = 1 ; then
26765 { echo "$as_me:$LINENO: checking
for w32api.h
" >&5
26766 echo $ECHO_N "checking
for w32api.h...
$ECHO_C" >&6; }
26767 if test "${ac_cv_header_w32api_h+set}" = set; then
26768 echo $ECHO_N "(cached
) $ECHO_C" >&6
26770 cat >conftest.$ac_ext <<_ACEOF
26773 cat confdefs.h >>conftest.$ac_ext
26774 cat >>conftest.$ac_ext <<_ACEOF
26775 /* end confdefs.h. */
26778 #include <w32api.h>
26780 rm -f conftest.$ac_objext
26781 if { (ac_try="$ac_compile"
26782 case "(($ac_try" in
26783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26784 *) ac_try_echo=$ac_try;;
26786 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26787 (eval "$ac_compile") 2>conftest.er1
26789 grep -v '^ *+' conftest.er1 >conftest.err
26791 cat conftest.err >&5
26792 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26793 (exit $ac_status); } && {
26794 test -z "$ac_c_werror_flag" ||
26795 test ! -s conftest.err
26796 } && test -s conftest.$ac_objext; then
26797 ac_cv_header_w32api_h=yes
26799 echo "$as_me: failed program was
:" >&5
26800 sed 's/^/| /' conftest.$ac_ext >&5
26802 ac_cv_header_w32api_h=no
26805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26807 { echo "$as_me:$LINENO: result
: $ac_cv_header_w32api_h" >&5
26808 echo "${ECHO_T}$ac_cv_header_w32api_h" >&6; }
26811 { echo "$as_me:$LINENO: checking
for windows.h
" >&5
26812 echo $ECHO_N "checking
for windows.h...
$ECHO_C" >&6; }
26813 if test "${ac_cv_header_windows_h+set}" = set; then
26814 echo $ECHO_N "(cached
) $ECHO_C" >&6
26816 cat >conftest.$ac_ext <<_ACEOF
26819 cat confdefs.h >>conftest.$ac_ext
26820 cat >>conftest.$ac_ext <<_ACEOF
26821 /* end confdefs.h. */
26824 #include <windows.h>
26826 rm -f conftest.$ac_objext
26827 if { (ac_try="$ac_compile"
26828 case "(($ac_try" in
26829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26830 *) ac_try_echo=$ac_try;;
26832 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26833 (eval "$ac_compile") 2>conftest.er1
26835 grep -v '^ *+' conftest.er1 >conftest.err
26837 cat conftest.err >&5
26838 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26839 (exit $ac_status); } && {
26840 test -z "$ac_c_werror_flag" ||
26841 test ! -s conftest.err
26842 } && test -s conftest.$ac_objext; then
26843 ac_cv_header_windows_h=yes
26845 echo "$as_me: failed program was
:" >&5
26846 sed 's/^/| /' conftest.$ac_ext >&5
26848 ac_cv_header_windows_h=no
26851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26853 { echo "$as_me:$LINENO: result
: $ac_cv_header_windows_h" >&5
26854 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
26855 if test $ac_cv_header_windows_h = yes; then
26859 { { echo "$as_me:$LINENO: error
: please
set CFLAGS to contain the location of windows.h
" >&5
26860 echo "$as_me: error
: please
set CFLAGS to contain the location of windows.h
" >&2;}
26861 { (exit 1); exit 1; }; }
26867 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
26869 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
26870 LIBS="$LIBS -loleacc"
26875 LIBS="$LIBS -lkernel32 -luser32"
26878 if test "$wxUSE_ODBC" = "sys
" ; then
26881 if test "$wxUSE_ODBC" = "yes" ; then
26882 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
26883 cat >>confdefs.h <<\_ACEOF
26884 #define wxUSE_ODBC 1
26889 RESFLAGS="--include-dir \
$(top_srcdir)/include
--include-dir \
$(top_srcdir)/\
$(program_dir) --define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
26890 RESPROGRAMOBJ="\
$(PROGRAM)_resources.o
"
26892 WXCONFIG_RESFLAGS="--define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
26894 WIN32INSTALL=win32install
26896 { echo "$as_me:$LINENO: checking
for pbt.h
" >&5
26897 echo $ECHO_N "checking
for pbt.h...
$ECHO_C" >&6; }
26898 if test "${ac_cv_header_pbt_h+set}" = set; then
26899 echo $ECHO_N "(cached
) $ECHO_C" >&6
26901 cat >conftest.$ac_ext <<_ACEOF
26904 cat confdefs.h >>conftest.$ac_ext
26905 cat >>conftest.$ac_ext <<_ACEOF
26906 /* end confdefs.h. */
26911 rm -f conftest.$ac_objext
26912 if { (ac_try="$ac_compile"
26913 case "(($ac_try" in
26914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26915 *) ac_try_echo=$ac_try;;
26917 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26918 (eval "$ac_compile") 2>conftest.er1
26920 grep -v '^ *+' conftest.er1 >conftest.err
26922 cat conftest.err >&5
26923 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26924 (exit $ac_status); } && {
26925 test -z "$ac_c_werror_flag" ||
26926 test ! -s conftest.err
26927 } && test -s conftest.$ac_objext; then
26928 ac_cv_header_pbt_h=yes
26930 echo "$as_me: failed program was
:" >&5
26931 sed 's/^/| /' conftest.$ac_ext >&5
26933 ac_cv_header_pbt_h=no
26936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26938 { echo "$as_me:$LINENO: result
: $ac_cv_header_pbt_h" >&5
26939 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
26940 if test $ac_cv_header_pbt_h = yes; then
26943 cat >>confdefs.h <<\_ACEOF
26944 #define NEED_PBT_H 1
26952 if test "$wxUSE_GUI" = "yes"; then
26962 if test "$wxUSE_COCOA" = 1 ; then
26963 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
26964 { echo "$as_me:$LINENO: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&5
26965 echo "$as_me: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&2;}
26966 wxUSE_PRINTING_ARCHITECTURE=no
26968 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
26969 { echo "$as_me:$LINENO: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&5
26970 echo "$as_me: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&2;}
26971 wxUSE_DRAG_AND_DROP=no
26973 if test "$wxUSE_DRAGIMAGE" = "yes"; then
26974 { echo "$as_me:$LINENO: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&5
26975 echo "$as_me: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&2;}
26980 if test "$wxUSE_MSW" = 1 ; then
26986 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows
-mwindows"
26990 if test "$wxUSE_GTK" = 1; then
26991 { echo "$as_me:$LINENO: checking
for GTK
+ version
" >&5
26992 echo $ECHO_N "checking
for GTK
+ version...
$ECHO_C" >&6; }
26994 gtk_version_cached=1
26995 if test "${wx_cv_lib_gtk+set}" = set; then
26996 echo $ECHO_N "(cached
) $ECHO_C" >&6
26999 gtk_version_cached=0
27000 { echo "$as_me:$LINENO: result
: " >&5
27001 echo "${ECHO_T}" >&6; }
27004 if test "$wxUSE_THREADS" = "yes"; then
27005 GTK_MODULES=gthread
27009 if test "x
$wxGTK_VERSION" != "x1
"
27013 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27018 # Check whether --enable-gtktest was given.
27019 if test "${enable_gtktest+set}" = set; then
27020 enableval=$enable_gtktest;
27026 pkg_config_args=gtk+-2.0
27027 for module in . $GTK_MODULES
27031 pkg_config_args="$pkg_config_args gthread
-2.0
"
27038 # Extract the first word of "pkg
-config", so it can be a program name with args.
27039 set dummy pkg-config; ac_word=$2
27040 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
27041 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
27042 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27043 echo $ECHO_N "(cached
) $ECHO_C" >&6
27045 case $PKG_CONFIG in
27047 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27051 for as_dir in $PATH
27054 test -z "$as_dir" && as_dir=.
27055 for ac_exec_ext in '' $ac_executable_extensions; do
27056 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27057 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27058 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
27065 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no
"
27069 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27070 if test -n "$PKG_CONFIG"; then
27071 { echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
27072 echo "${ECHO_T}$PKG_CONFIG" >&6; }
27074 { echo "$as_me:$LINENO: result
: no
" >&5
27075 echo "${ECHO_T}no
" >&6; }
27080 if test x$PKG_CONFIG != xno ; then
27081 if pkg-config --atleast-pkgconfig-version 0.7 ; then
27084 echo "*** pkg
-config too old
; version
0.7 or better required.
"
27092 min_gtk_version=2.0.0
27093 { echo "$as_me:$LINENO: checking
for GTK
+ - version
>= $min_gtk_version" >&5
27094 echo $ECHO_N "checking
for GTK
+ - version
>= $min_gtk_version...
$ECHO_C" >&6; }
27096 if test x$PKG_CONFIG != xno ; then
27097 ## don't try to run the test against uninstalled libtool libs
27098 if $PKG_CONFIG --uninstalled $pkg_config_args; then
27099 echo "Will use uninstalled version of GTK
+ found
in PKG_CONFIG_PATH
"
27103 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
27110 if test x"$no_gtk" = x ; then
27111 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
27112 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
27113 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27114 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27115 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27116 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27117 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27118 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27119 if test "x
$enable_gtktest" = "xyes
" ; then
27120 ac_save_CFLAGS="$CFLAGS"
27121 ac_save_LIBS="$LIBS"
27122 CFLAGS="$CFLAGS $GTK_CFLAGS"
27123 LIBS="$GTK_LIBS $LIBS"
27125 if test "$cross_compiling" = yes; then
27126 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
27128 cat >conftest.$ac_ext <<_ACEOF
27131 cat confdefs.h >>conftest.$ac_ext
27132 cat >>conftest.$ac_ext <<_ACEOF
27133 /* end confdefs.h. */
27135 #include <gtk/gtk.h>
27137 #include <stdlib.h>
27142 int major, minor, micro;
27145 system ("touch conf.gtktest
");
27147 /* HP/UX 9 (%@#!) writes to sscanf strings */
27148 tmp_version = g_strdup("$min_gtk_version");
27149 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
27150 printf("%s
, bad version string
\n", "$min_gtk_version");
27154 if ((gtk_major_version != $gtk_config_major_version) ||
27155 (gtk_minor_version != $gtk_config_minor_version) ||
27156 (gtk_micro_version != $gtk_config_micro_version))
27158 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
27159 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27160 gtk_major_version, gtk_minor_version, gtk_micro_version);
27161 printf ("*** was found
! If pkg
-config was correct
, then it is best
\n");
27162 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
27163 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
27164 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
27165 printf("*** required on your system.
\n");
27166 printf("*** If pkg
-config was wrong
, set the environment variable PKG_CONFIG_PATH
\n");
27167 printf("*** to point to the correct configuration files
\n");
27169 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27170 (gtk_minor_version != GTK_MINOR_VERSION) ||
27171 (gtk_micro_version != GTK_MICRO_VERSION))
27173 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
27174 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27175 printf("*** library
(version
%d.
%d.
%d
)\n",
27176 gtk_major_version, gtk_minor_version, gtk_micro_version);
27180 if ((gtk_major_version > major) ||
27181 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27182 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27188 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
27189 gtk_major_version, gtk_minor_version, gtk_micro_version);
27190 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
27191 major, minor, micro);
27192 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
27194 printf("*** If you have already installed a sufficiently new version
, this error
\n");
27195 printf("*** probably means that the wrong copy of the pkg
-config shell
script is
\n");
27196 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
27197 printf("*** of GTK
+, but you can also
set the PKG_CONFIG environment to point to the
\n");
27198 printf("*** correct copy of pkg
-config.
(In this
case, you will have to
\n");
27199 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
27200 printf("*** so that the correct libraries are found
at run
-time))\n");
27207 rm -f conftest$ac_exeext
27208 if { (ac_try="$ac_link"
27209 case "(($ac_try" in
27210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27211 *) ac_try_echo=$ac_try;;
27213 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27214 (eval "$ac_link") 2>&5
27216 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27217 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27218 { (case "(($ac_try" in
27219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27220 *) ac_try_echo=$ac_try;;
27222 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27223 (eval "$ac_try") 2>&5
27225 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27226 (exit $ac_status); }; }; then
27229 echo "$as_me: program exited with status
$ac_status" >&5
27230 echo "$as_me: failed program was
:" >&5
27231 sed 's/^/| /' conftest.$ac_ext >&5
27233 ( exit $ac_status )
27236 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27240 CFLAGS="$ac_save_CFLAGS"
27241 LIBS="$ac_save_LIBS"
27244 if test "x
$no_gtk" = x ; then
27245 { echo "$as_me:$LINENO: result
: yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&5
27246 echo "${ECHO_T}yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&6; }
27249 { echo "$as_me:$LINENO: result
: no
" >&5
27250 echo "${ECHO_T}no
" >&6; }
27251 if test "$PKG_CONFIG" = "no
" ; then
27252 echo "*** A new enough version of pkg
-config was not found.
"
27253 echo "*** See http
://pkgconfig.sourceforge.net
"
27255 if test -f conf.gtktest ; then
27258 echo "*** Could not run GTK
+ test program
, checking why...
"
27259 ac_save_CFLAGS="$CFLAGS"
27260 ac_save_LIBS="$LIBS"
27261 CFLAGS="$CFLAGS $GTK_CFLAGS"
27262 LIBS="$LIBS $GTK_LIBS"
27263 cat >conftest.$ac_ext <<_ACEOF
27266 cat confdefs.h >>conftest.$ac_ext
27267 cat >>conftest.$ac_ext <<_ACEOF
27268 /* end confdefs.h. */
27270 #include <gtk/gtk.h>
27276 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27281 rm -f conftest.$ac_objext conftest$ac_exeext
27282 if { (ac_try="$ac_link"
27283 case "(($ac_try" in
27284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27285 *) ac_try_echo=$ac_try;;
27287 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27288 (eval "$ac_link") 2>conftest.er1
27290 grep -v '^ *+' conftest.er1 >conftest.err
27292 cat conftest.err >&5
27293 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27294 (exit $ac_status); } && {
27295 test -z "$ac_c_werror_flag" ||
27296 test ! -s conftest.err
27297 } && test -s conftest$ac_exeext &&
27298 $as_test_x conftest$ac_exeext; then
27299 echo "*** The
test program compiled
, but did not run. This usually means
"
27300 echo "*** that the run
-time linker is not finding GTK
+ or finding the wrong
"
27301 echo "*** version of GTK
+. If it is not finding GTK
+, you
'll need to set your"
27302 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27303 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27304 echo "*** is required on your system"
27306 echo "*** If you have an old version installed, it is best to remove it, although"
27307 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27309 echo "$as_me: failed program was:" >&5
27310 sed 's
/^
/| /' conftest.$ac_ext >&5
27312 echo "*** The test program failed to compile or link. See the file config.log for the"
27313 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
27316 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27317 conftest$ac_exeext conftest.$ac_ext
27318 CFLAGS="$ac_save_CFLAGS"
27319 LIBS="$ac_save_LIBS"
27333 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27334 GTK_CFLAGS=`echo $GTK_CFLAGS | sed 's
/-mt//'`
27335 GTK_LIBS=`echo $GTK_LIBS | sed 's
/-mt//'`
27337 if test "$wxUSE_SHARED" != "yes"; then
27338 GTK_LIBS="$GTK_LIBS -lX11"
27343 if test -z "$wx_cv_lib_gtk"; then
27344 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
27346 # Check whether --with-gtk-prefix was given.
27347 if test "${with_gtk_prefix+set}" = set; then
27348 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
27350 gtk_config_prefix=""
27354 # Check whether --with-gtk-exec-prefix was given.
27355 if test "${with_gtk_exec_prefix+set}" = set; then
27356 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
27358 gtk_config_exec_prefix=""
27361 # Check whether --enable-gtktest was given.
27362 if test "${enable_gtktest+set}" = set; then
27363 enableval=$enable_gtktest;
27369 for module in . $GTK_MODULES
27373 gtk_config_args="$gtk_config_args gthread"
27378 if test x$gtk_config_exec_prefix != x ; then
27379 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27380 if test x${GTK_CONFIG+set} != xset ; then
27381 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
27384 if test x$gtk_config_prefix != x ; then
27385 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
27386 if test x${GTK_CONFIG+set} != xset ; then
27387 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
27391 # Extract the first word of "gtk-config", so it can be a program name with args.
27392 set dummy gtk-config; ac_word=$2
27393 { echo "$as_me:$LINENO: checking for $ac_word" >&5
27394 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27395 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27396 echo $ECHO_N "(cached) $ECHO_C" >&6
27398 case $GTK_CONFIG in
27400 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
27403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27404 for as_dir in $PATH
27407 test -z "$as_dir" && as_dir=.
27408 for ac_exec_ext in '' $ac_executable_extensions; do
27409 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27410 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27411 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27418 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
27422 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
27423 if test -n "$GTK_CONFIG"; then
27424 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27425 echo "${ECHO_T}$GTK_CONFIG" >&6; }
27427 { echo "$as_me:$LINENO: result: no" >&5
27428 echo "${ECHO_T}no" >&6; }
27432 min_gtk_version=1.2.7
27433 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27434 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
27436 if test "$GTK_CONFIG" = "no" ; then
27439 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
27440 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
27441 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
27442 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
1/'`
27443 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
27444 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
2/'`
27445 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
27446 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
3/'`
27447 if test "x$enable_gtktest" = "xyes" ; then
27448 ac_save_CFLAGS="$CFLAGS"
27449 ac_save_LIBS="$LIBS"
27450 CFLAGS="$CFLAGS $GTK_CFLAGS"
27451 LIBS="$GTK_LIBS $LIBS"
27453 if test "$cross_compiling" = yes; then
27454 echo $ac_n "cross compiling; assumed OK... $ac_c"
27456 cat >conftest.$ac_ext <<_ACEOF
27459 cat confdefs.h >>conftest.$ac_ext
27460 cat >>conftest.$ac_ext <<_ACEOF
27461 /* end confdefs.h. */
27463 #include <gtk/gtk.h>
27465 #include <stdlib.h>
27470 int major, minor, micro;
27473 system ("touch conf.gtktest");
27475 /* HP/UX 9 (%@#!) writes to sscanf strings */
27476 tmp_version = g_strdup("$min_gtk_version");
27477 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
27478 printf("%s, bad version string\n", "$min_gtk_version");
27482 if ((gtk_major_version != $gtk_config_major_version) ||
27483 (gtk_minor_version != $gtk_config_minor_version) ||
27484 (gtk_micro_version != $gtk_config_micro_version))
27486 printf("\n*** 'gtk
-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27487 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27488 gtk_major_version, gtk_minor_version, gtk_micro_version);
27489 printf ("*** was found! If gtk-config was correct, then it is best\n");
27490 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27491 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27492 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27493 printf("*** required on your system.\n");
27494 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27495 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27496 printf("*** before re-running configure\n");
27498 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27499 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27500 (gtk_minor_version != GTK_MINOR_VERSION) ||
27501 (gtk_micro_version != GTK_MICRO_VERSION))
27503 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27504 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27505 printf("*** library (version %d.%d.%d)\n",
27506 gtk_major_version, gtk_minor_version, gtk_micro_version);
27508 #endif /* defined (GTK_MAJOR_VERSION) ... */
27511 if ((gtk_major_version > major) ||
27512 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27513 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27519 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27520 gtk_major_version, gtk_minor_version, gtk_micro_version);
27521 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27522 major, minor, micro);
27523 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27525 printf("*** If you have already installed a sufficiently new version, this error\n");
27526 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27527 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27528 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27529 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27530 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27531 printf("*** so that the correct libraries are found at run-time))\n");
27538 rm -f conftest$ac_exeext
27539 if { (ac_try="$ac_link"
27540 case "(($ac_try" in
27541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27542 *) ac_try_echo=$ac_try;;
27544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27545 (eval "$ac_link") 2>&5
27547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27548 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
27549 { (case "(($ac_try" in
27550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27551 *) ac_try_echo=$ac_try;;
27553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27554 (eval "$ac_try") 2>&5
27556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27557 (exit $ac_status); }; }; then
27560 echo "$as_me: program exited with status $ac_status" >&5
27561 echo "$as_me: failed program was:" >&5
27562 sed 's
/^
/| /' conftest.$ac_ext >&5
27564 ( exit $ac_status )
27567 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27571 CFLAGS="$ac_save_CFLAGS"
27572 LIBS="$ac_save_LIBS"
27575 if test "x$no_gtk" = x ; then
27576 { echo "$as_me:$LINENO: result: yes" >&5
27577 echo "${ECHO_T}yes" >&6; }
27578 wx_cv_lib_gtk=1.2.7
27580 { echo "$as_me:$LINENO: result: no" >&5
27581 echo "${ECHO_T}no" >&6; }
27582 if test "$GTK_CONFIG" = "no" ; then
27583 echo "*** The gtk-config script installed by GTK could not be found"
27584 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27585 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27586 echo "*** full path to gtk-config."
27588 if test -f conf.gtktest ; then
27591 echo "*** Could not run GTK test program, checking why..."
27592 CFLAGS="$CFLAGS $GTK_CFLAGS"
27593 LIBS="$LIBS $GTK_LIBS"
27594 cat >conftest.$ac_ext <<_ACEOF
27597 cat confdefs.h >>conftest.$ac_ext
27598 cat >>conftest.$ac_ext <<_ACEOF
27599 /* end confdefs.h. */
27601 #include <gtk/gtk.h>
27607 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27612 rm -f conftest.$ac_objext conftest$ac_exeext
27613 if { (ac_try="$ac_link"
27614 case "(($ac_try" in
27615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27616 *) ac_try_echo=$ac_try;;
27618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27619 (eval "$ac_link") 2>conftest.er1
27621 grep -v '^
*+' conftest.er1 >conftest.err
27623 cat conftest.err >&5
27624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27625 (exit $ac_status); } && {
27626 test -z "$ac_c_werror_flag" ||
27627 test ! -s conftest.err
27628 } && test -s conftest$ac_exeext &&
27629 $as_test_x conftest$ac_exeext; then
27630 echo "*** The test program compiled, but did not run. This usually means"
27631 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27632 echo "*** version of GTK. If it is not finding GTK, you'll need to
set your
"
27633 echo "*** LD_LIBRARY_PATH environment variable
, or edit
/etc
/ld.so.conf to point
"
27634 echo "*** to the installed location Also
, make sure you have run ldconfig
if that
"
27635 echo "*** is required on your system
"
27637 echo "*** If you have an old version installed
, it is best to remove it
, although
"
27638 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
"
27640 echo "*** If you have a RedHat
5.0 system
, you should remove the GTK package that
"
27641 echo "*** came with the system with the
command"
27643 echo "*** rpm
--erase --nodeps gtk gtk
-devel"
27645 echo "$as_me: failed program was
:" >&5
27646 sed 's/^/| /' conftest.$ac_ext >&5
27648 echo "*** The
test program failed to compile or link. See the
file config.log
for the
"
27649 echo "*** exact error that occured. This usually means GTK was incorrectly installed
"
27650 echo "*** or that you have moved GTK since it was installed. In the latter
case, you
"
27651 echo "*** may want to edit the gtk
-config script: $GTK_CONFIG"
27654 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27655 conftest$ac_exeext conftest.$ac_ext
27656 CFLAGS="$ac_save_CFLAGS"
27657 LIBS="$ac_save_LIBS"
27669 if test -z "$wx_cv_lib_gtk"; then
27671 # Check whether --with-gtk-prefix was given.
27672 if test "${with_gtk_prefix+set}" = set; then
27673 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
27675 gtk_config_prefix=""
27679 # Check whether --with-gtk-exec-prefix was given.
27680 if test "${with_gtk_exec_prefix+set}" = set; then
27681 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
27683 gtk_config_exec_prefix=""
27686 # Check whether --enable-gtktest was given.
27687 if test "${enable_gtktest+set}" = set; then
27688 enableval=$enable_gtktest;
27694 for module in . $GTK_MODULES
27698 gtk_config_args="$gtk_config_args gthread
"
27703 if test x$gtk_config_exec_prefix != x ; then
27704 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27705 if test x${GTK_CONFIG+set} != xset ; then
27706 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
27709 if test x$gtk_config_prefix != x ; then
27710 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
27711 if test x${GTK_CONFIG+set} != xset ; then
27712 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
27716 # Extract the first word of "gtk
-config", so it can be a program name with args.
27717 set dummy gtk-config; ac_word=$2
27718 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
27719 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
27720 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27721 echo $ECHO_N "(cached
) $ECHO_C" >&6
27723 case $GTK_CONFIG in
27725 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
27728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27729 for as_dir in $PATH
27732 test -z "$as_dir" && as_dir=.
27733 for ac_exec_ext in '' $ac_executable_extensions; do
27734 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27735 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27736 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
27743 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no
"
27747 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
27748 if test -n "$GTK_CONFIG"; then
27749 { echo "$as_me:$LINENO: result
: $GTK_CONFIG" >&5
27750 echo "${ECHO_T}$GTK_CONFIG" >&6; }
27752 { echo "$as_me:$LINENO: result
: no
" >&5
27753 echo "${ECHO_T}no
" >&6; }
27757 min_gtk_version=1.2.3
27758 { echo "$as_me:$LINENO: checking
for GTK
- version
>= $min_gtk_version" >&5
27759 echo $ECHO_N "checking
for GTK
- version
>= $min_gtk_version...
$ECHO_C" >&6; }
27761 if test "$GTK_CONFIG" = "no
" ; then
27764 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
27765 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
27766 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
27767 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27768 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
27769 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27770 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
27771 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27772 if test "x
$enable_gtktest" = "xyes
" ; then
27773 ac_save_CFLAGS="$CFLAGS"
27774 ac_save_LIBS="$LIBS"
27775 CFLAGS="$CFLAGS $GTK_CFLAGS"
27776 LIBS="$GTK_LIBS $LIBS"
27778 if test "$cross_compiling" = yes; then
27779 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
27781 cat >conftest.$ac_ext <<_ACEOF
27784 cat confdefs.h >>conftest.$ac_ext
27785 cat >>conftest.$ac_ext <<_ACEOF
27786 /* end confdefs.h. */
27788 #include <gtk/gtk.h>
27790 #include <stdlib.h>
27795 int major, minor, micro;
27798 system ("touch conf.gtktest
");
27800 /* HP/UX 9 (%@#!) writes to sscanf strings */
27801 tmp_version = g_strdup("$min_gtk_version");
27802 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
27803 printf("%s
, bad version string
\n", "$min_gtk_version");
27807 if ((gtk_major_version != $gtk_config_major_version) ||
27808 (gtk_minor_version != $gtk_config_minor_version) ||
27809 (gtk_micro_version != $gtk_config_micro_version))
27811 printf("\n*** 'gtk-config --version' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
27812 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27813 gtk_major_version, gtk_minor_version, gtk_micro_version);
27814 printf ("*** was found
! If gtk
-config was correct
, then it is best
\n");
27815 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
27816 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
27817 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
27818 printf("*** required on your system.
\n");
27819 printf("*** If gtk
-config was wrong
, set the environment variable GTK_CONFIG
\n");
27820 printf("*** to point to the correct copy of gtk
-config, and remove the
file config.cache
\n");
27821 printf("*** before re
-running configure
\n");
27823 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27824 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27825 (gtk_minor_version != GTK_MINOR_VERSION) ||
27826 (gtk_micro_version != GTK_MICRO_VERSION))
27828 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
27829 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27830 printf("*** library
(version
%d.
%d.
%d
)\n",
27831 gtk_major_version, gtk_minor_version, gtk_micro_version);
27833 #endif /* defined (GTK_MAJOR_VERSION) ... */
27836 if ((gtk_major_version > major) ||
27837 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27838 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27844 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
27845 gtk_major_version, gtk_minor_version, gtk_micro_version);
27846 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
27847 major, minor, micro);
27848 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
27850 printf("*** If you have already installed a sufficiently new version
, this error
\n");
27851 printf("*** probably means that the wrong copy of the gtk
-config shell
script is
\n");
27852 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
27853 printf("*** of GTK
+, but you can also
set the GTK_CONFIG environment to point to the
\n");
27854 printf("*** correct copy of gtk
-config.
(In this
case, you will have to
\n");
27855 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
27856 printf("*** so that the correct libraries are found
at run
-time))\n");
27863 rm -f conftest$ac_exeext
27864 if { (ac_try="$ac_link"
27865 case "(($ac_try" in
27866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27867 *) ac_try_echo=$ac_try;;
27869 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27870 (eval "$ac_link") 2>&5
27872 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27873 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27874 { (case "(($ac_try" in
27875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27876 *) ac_try_echo=$ac_try;;
27878 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27879 (eval "$ac_try") 2>&5
27881 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27882 (exit $ac_status); }; }; then
27885 echo "$as_me: program exited with status
$ac_status" >&5
27886 echo "$as_me: failed program was
:" >&5
27887 sed 's/^/| /' conftest.$ac_ext >&5
27889 ( exit $ac_status )
27892 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27896 CFLAGS="$ac_save_CFLAGS"
27897 LIBS="$ac_save_LIBS"
27900 if test "x
$no_gtk" = x ; then
27901 { echo "$as_me:$LINENO: result
: yes" >&5
27902 echo "${ECHO_T}yes" >&6; }
27903 wx_cv_lib_gtk=1.2.3
27905 { echo "$as_me:$LINENO: result
: no
" >&5
27906 echo "${ECHO_T}no
" >&6; }
27907 if test "$GTK_CONFIG" = "no
" ; then
27908 echo "*** The gtk
-config script installed by GTK could not be found
"
27909 echo "*** If GTK was installed
in PREFIX
, make sure PREFIX
/bin is
in"
27910 echo "*** your path
, or
set the GTK_CONFIG environment variable to the
"
27911 echo "*** full path to gtk
-config.
"
27913 if test -f conf.gtktest ; then
27916 echo "*** Could not run GTK
test program
, checking why...
"
27917 CFLAGS="$CFLAGS $GTK_CFLAGS"
27918 LIBS="$LIBS $GTK_LIBS"
27919 cat >conftest.$ac_ext <<_ACEOF
27922 cat confdefs.h >>conftest.$ac_ext
27923 cat >>conftest.$ac_ext <<_ACEOF
27924 /* end confdefs.h. */
27926 #include <gtk/gtk.h>
27932 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27937 rm -f conftest.$ac_objext conftest$ac_exeext
27938 if { (ac_try="$ac_link"
27939 case "(($ac_try" in
27940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27941 *) ac_try_echo=$ac_try;;
27943 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27944 (eval "$ac_link") 2>conftest.er1
27946 grep -v '^ *+' conftest.er1 >conftest.err
27948 cat conftest.err >&5
27949 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27950 (exit $ac_status); } && {
27951 test -z "$ac_c_werror_flag" ||
27952 test ! -s conftest.err
27953 } && test -s conftest$ac_exeext &&
27954 $as_test_x conftest$ac_exeext; then
27955 echo "*** The
test program compiled
, but did not run. This usually means
"
27956 echo "*** that the run
-time linker is not finding GTK or finding the wrong
"
27957 echo "*** version of GTK. If it is not finding GTK
, you
'll need to set your"
27958 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27959 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27960 echo "*** is required on your system"
27962 echo "*** If you have an old version installed, it is best to remove it, although"
27963 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27965 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27966 echo "*** came with the system with the command"
27968 echo "*** rpm --erase --nodeps gtk gtk-devel"
27970 echo "$as_me: failed program was:" >&5
27971 sed 's
/^
/| /' conftest.$ac_ext >&5
27973 echo "*** The test program failed to compile or link. See the file config.log for the"
27974 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27975 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27976 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27979 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27980 conftest$ac_exeext conftest.$ac_ext
27981 CFLAGS="$ac_save_CFLAGS"
27982 LIBS="$ac_save_LIBS"
27997 if test -z "$wx_cv_lib_gtk"; then
28000 wx_cv_cflags_gtk=$GTK_CFLAGS
28001 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's
/ -l[^
]*cairo
[^
]*//g
'`
28008 if test "$gtk_version_cached" = 1; then
28009 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28010 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
28013 case "$wx_cv_lib_gtk" in
28022 *) { { echo "$as_me:$LINENO: error:
28023 The development files for GTK+ were not found. For GTK+ 2, please
28024 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28025 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28026 and that the version is 1.2.3 or above. Also check that the
28027 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
28028 --libs' are in the LD_LIBRARY_PATH or equivalent.
28030 echo "$as_me: error:
28031 The development files for GTK+ were not found. For GTK+ 2, please
28032 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28033 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28034 and that the version is 1.2.3 or above. Also check that the
28035 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
28036 --libs' are in the LD_LIBRARY_PATH or equivalent.
28038 { (exit 1); exit 1; }; }
28042 if test "$WXGTK20" = 1; then
28043 save_CFLAGS="$CFLAGS"
28045 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
28046 LIBS="$LIBS $wx_cv_libs_gtk"
28048 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
28049 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
28050 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
28051 echo $ECHO_N "(cached) $ECHO_C" >&6
28053 cat >conftest.$ac_ext <<_ACEOF
28056 cat confdefs.h >>conftest.$ac_ext
28057 cat >>conftest.$ac_ext <<_ACEOF
28058 /* end confdefs.h. */
28059 #include <gtk/gtk.h>
28064 #ifndef gtk_icon_size_lookup
28065 (void) gtk_icon_size_lookup;
28072 rm -f conftest.$ac_objext
28073 if { (ac_try="$ac_compile"
28074 case "(($ac_try" in
28075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28076 *) ac_try_echo=$ac_try;;
28078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28079 (eval "$ac_compile") 2>conftest.er1
28081 grep -v '^
*+' conftest.er1 >conftest.err
28083 cat conftest.err >&5
28084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28085 (exit $ac_status); } && {
28086 test -z "$ac_c_werror_flag" ||
28087 test ! -s conftest.err
28088 } && test -s conftest.$ac_objext; then
28089 ac_cv_have_decl_gtk_icon_size_lookup=yes
28091 echo "$as_me: failed program was:" >&5
28092 sed 's
/^
/| /' conftest.$ac_ext >&5
28094 ac_cv_have_decl_gtk_icon_size_lookup=no
28097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28099 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
28100 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
28101 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
28103 cat >>confdefs.h <<_ACEOF
28104 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
28109 cat >>confdefs.h <<_ACEOF
28110 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
28113 cat >>confdefs.h <<\_ACEOF
28114 #define NEED_GTK_ICON_SIZE_LOOKUP 1
28122 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
28123 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
28124 cat >conftest.$ac_ext <<_ACEOF
28127 cat confdefs.h >>conftest.$ac_ext
28128 cat >>conftest.$ac_ext <<_ACEOF
28129 /* end confdefs.h. */
28131 #include <gtk/gtk.h>
28137 #if !GTK_CHECK_VERSION(2,10,0)
28145 rm -f conftest.$ac_objext
28146 if { (ac_try="$ac_compile"
28147 case "(($ac_try" in
28148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28149 *) ac_try_echo=$ac_try;;
28151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28152 (eval "$ac_compile") 2>conftest.er1
28154 grep -v '^
*+' conftest.er1 >conftest.err
28156 cat conftest.err >&5
28157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28158 (exit $ac_status); } && {
28159 test -z "$ac_c_werror_flag" ||
28160 test ! -s conftest.err
28161 } && test -s conftest.$ac_objext; then
28163 cat >>confdefs.h <<\_ACEOF
28164 #define __WXGTK210__ 1
28167 cat >>confdefs.h <<\_ACEOF
28168 #define __WXGTK26__ 1
28171 cat >>confdefs.h <<\_ACEOF
28172 #define __WXGTK24__ 1
28175 { echo "$as_me:$LINENO: result: yes" >&5
28176 echo "${ECHO_T}yes" >&6; }
28180 echo "$as_me: failed program was:" >&5
28181 sed 's
/^
/| /' conftest.$ac_ext >&5
28184 { echo "$as_me:$LINENO: result: no" >&5
28185 echo "${ECHO_T}no" >&6; }
28190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28192 if test "$ac_wxgtk210" = 0; then
28193 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28194 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
28195 cat >conftest.$ac_ext <<_ACEOF
28198 cat confdefs.h >>conftest.$ac_ext
28199 cat >>conftest.$ac_ext <<_ACEOF
28200 /* end confdefs.h. */
28202 #include <gtk/gtk.h>
28208 #if !GTK_CHECK_VERSION(2,6,0)
28216 rm -f conftest.$ac_objext
28217 if { (ac_try="$ac_compile"
28218 case "(($ac_try" in
28219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28220 *) ac_try_echo=$ac_try;;
28222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28223 (eval "$ac_compile") 2>conftest.er1
28225 grep -v '^
*+' conftest.er1 >conftest.err
28227 cat conftest.err >&5
28228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28229 (exit $ac_status); } && {
28230 test -z "$ac_c_werror_flag" ||
28231 test ! -s conftest.err
28232 } && test -s conftest.$ac_objext; then
28234 cat >>confdefs.h <<\_ACEOF
28235 #define __WXGTK26__ 1
28238 cat >>confdefs.h <<\_ACEOF
28239 #define __WXGTK24__ 1
28242 { echo "$as_me:$LINENO: result: yes" >&5
28243 echo "${ECHO_T}yes" >&6; }
28247 echo "$as_me: failed program was:" >&5
28248 sed 's
/^
/| /' conftest.$ac_ext >&5
28251 { echo "$as_me:$LINENO: result: no" >&5
28252 echo "${ECHO_T}no" >&6; }
28257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28260 if test "$ac_wxgtk26" = 0; then
28261 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
28262 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
28263 cat >conftest.$ac_ext <<_ACEOF
28266 cat confdefs.h >>conftest.$ac_ext
28267 cat >>conftest.$ac_ext <<_ACEOF
28268 /* end confdefs.h. */
28270 #include <gtk/gtk.h>
28276 #if !GTK_CHECK_VERSION(2,4,0)
28284 rm -f conftest.$ac_objext
28285 if { (ac_try="$ac_compile"
28286 case "(($ac_try" in
28287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28288 *) ac_try_echo=$ac_try;;
28290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28291 (eval "$ac_compile") 2>conftest.er1
28293 grep -v '^
*+' conftest.er1 >conftest.err
28295 cat conftest.err >&5
28296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28297 (exit $ac_status); } && {
28298 test -z "$ac_c_werror_flag" ||
28299 test ! -s conftest.err
28300 } && test -s conftest.$ac_objext; then
28302 cat >>confdefs.h <<\_ACEOF
28303 #define __WXGTK24__ 1
28306 { echo "$as_me:$LINENO: result: yes" >&5
28307 echo "${ECHO_T}yes" >&6; }
28310 echo "$as_me: failed program was:" >&5
28311 sed 's
/^
/| /' conftest.$ac_ext >&5
28314 { echo "$as_me:$LINENO: result: no" >&5
28315 echo "${ECHO_T}no" >&6; }
28319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28322 CFLAGS="$save_CFLAGS"
28325 if test "$wxUSE_UNICODE" = "yes"; then
28326 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
28327 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
28331 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
28332 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
28333 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
28334 echo $ECHO_N "(cached) $ECHO_C" >&6
28336 ac_check_lib_save_LIBS=$LIBS
28338 cat >conftest.$ac_ext <<_ACEOF
28341 cat confdefs.h >>conftest.$ac_ext
28342 cat >>conftest.$ac_ext <<_ACEOF
28343 /* end confdefs.h. */
28345 /* Override any GCC internal prototype to avoid an error.
28346 Use char because int might match the return type of a GCC
28347 builtin and then its argument prototype would still apply. */
28351 char gdk_im_open ();
28355 return gdk_im_open ();
28360 rm -f conftest.$ac_objext conftest$ac_exeext
28361 if { (ac_try="$ac_link"
28362 case "(($ac_try" in
28363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28364 *) ac_try_echo=$ac_try;;
28366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28367 (eval "$ac_link") 2>conftest.er1
28369 grep -v '^
*+' conftest.er1 >conftest.err
28371 cat conftest.err >&5
28372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28373 (exit $ac_status); } && {
28374 test -z "$ac_c_werror_flag" ||
28375 test ! -s conftest.err
28376 } && test -s conftest$ac_exeext &&
28377 $as_test_x conftest$ac_exeext; then
28378 ac_cv_lib_gdk_gdk_im_open=yes
28380 echo "$as_me: failed program was:" >&5
28381 sed 's
/^
/| /' conftest.$ac_ext >&5
28383 ac_cv_lib_gdk_gdk_im_open=no
28386 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28387 conftest$ac_exeext conftest.$ac_ext
28388 LIBS=$ac_check_lib_save_LIBS
28390 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
28391 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
28392 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
28393 cat >>confdefs.h <<\_ACEOF
28400 if test "$USE_DARWIN" != 1; then
28402 for ac_func in poll
28404 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28405 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28406 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28407 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28408 echo $ECHO_N "(cached) $ECHO_C" >&6
28410 cat >conftest.$ac_ext <<_ACEOF
28413 cat confdefs.h >>conftest.$ac_ext
28414 cat >>conftest.$ac_ext <<_ACEOF
28415 /* end confdefs.h. */
28416 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28417 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28418 #define $ac_func innocuous_$ac_func
28420 /* System header to define __stub macros and hopefully few prototypes,
28421 which can conflict with char $ac_func (); below.
28422 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28423 <limits.h> exists even on freestanding compilers. */
28426 # include <limits.h>
28428 # include <assert.h>
28433 /* Override any GCC internal prototype to avoid an error.
28434 Use char because int might match the return type of a GCC
28435 builtin and then its argument prototype would still apply. */
28440 /* The GNU C library defines this for functions which it implements
28441 to always fail with ENOSYS. Some functions are actually named
28442 something starting with __ and the normal name is an alias. */
28443 #if defined __stub_$ac_func || defined __stub___$ac_func
28450 return $ac_func ();
28455 rm -f conftest.$ac_objext conftest$ac_exeext
28456 if { (ac_try="$ac_link"
28457 case "(($ac_try" in
28458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28459 *) ac_try_echo=$ac_try;;
28461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28462 (eval "$ac_link") 2>conftest.er1
28464 grep -v '^
*+' conftest.er1 >conftest.err
28466 cat conftest.err >&5
28467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28468 (exit $ac_status); } && {
28469 test -z "$ac_c_werror_flag" ||
28470 test ! -s conftest.err
28471 } && test -s conftest$ac_exeext &&
28472 $as_test_x conftest$ac_exeext; then
28473 eval "$as_ac_var=yes"
28475 echo "$as_me: failed program was:" >&5
28476 sed 's
/^
/| /' conftest.$ac_ext >&5
28478 eval "$as_ac_var=no"
28481 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28482 conftest$ac_exeext conftest.$ac_ext
28484 ac_res=`eval echo '${'$as_ac_var'}'`
28485 { echo "$as_me:$LINENO: result: $ac_res" >&5
28486 echo "${ECHO_T}$ac_res" >&6; }
28487 if test `eval echo '${'$as_ac_var'}'` = yes; then
28488 cat >>confdefs.h <<_ACEOF
28489 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28498 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
28499 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
28501 AFMINSTALL=afminstall
28505 if test "$wxUSE_GPE" = "yes"; then
28506 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
28507 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
28510 for ac_dir in $SEARCH_LIB;
28512 for ac_extension in a so sl dylib dll.a; do
28513 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
28514 ac_find_libraries=$ac_dir
28520 if test "$ac_find_libraries" != "" ; then
28522 if test "$ac_find_libraries" = "default location"; then
28525 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
28527 if test $result = 0; then
28530 ac_path_to_link=" -L$ac_find_libraries"
28534 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
28536 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
28537 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
28539 { echo "$as_me:$LINENO: result: not found" >&5
28540 echo "${ECHO_T}not found" >&6; }
28546 if test "$wxUSE_MGL" = 1; then
28547 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
28548 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
28549 if test "x$MGL_ROOT" = x ; then
28550 { echo "$as_me:$LINENO: result: not found" >&5
28551 echo "${ECHO_T}not found" >&6; }
28552 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
28553 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
28554 { (exit 1); exit 1; }; }
28556 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
28557 echo "${ECHO_T}$MGL_ROOT" >&6; }
28560 { echo "$as_me:$LINENO: checking for libmgl location" >&5
28561 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
28564 if test "x$wxUSE_SHARED" = xyes ; then
28565 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
28567 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
28571 mgl_os_candidates="dos32/dj2"
28574 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
28575 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
28576 { (exit 1); exit 1; }; }
28582 for mgl_os_i in $mgl_os_candidates ; do
28583 if test "x$mgl_os" = x ; then
28584 if test "$wxUSE_DEBUG_FLAG" = yes ; then
28585 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
28586 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
28591 if test "x$mgl_lib_type" = x ; then
28592 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
28593 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
28594 mgl_lib_type=release
28601 if test "x$mgl_os" = x ; then
28602 { echo "$as_me:$LINENO: result: not found" >&5
28603 echo "${ECHO_T}not found" >&6; }
28604 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
28605 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
28606 { (exit 1); exit 1; }; }
28608 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
28609 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
28611 wxUSE_UNIVERSAL="yes"
28613 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
28614 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
28616 AFMINSTALL=afminstall
28621 if test "$wxUSE_DFB" = 1; then
28624 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28625 if test -n "$ac_tool_prefix"; then
28626 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28627 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
28628 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28629 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28630 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28631 echo $ECHO_N "(cached) $ECHO_C" >&6
28633 case $PKG_CONFIG in
28635 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28639 for as_dir in $PATH
28642 test -z "$as_dir" && as_dir=.
28643 for ac_exec_ext in '' $ac_executable_extensions; do
28644 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28645 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28646 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28656 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28657 if test -n "$PKG_CONFIG"; then
28658 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28659 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28661 { echo "$as_me:$LINENO: result: no" >&5
28662 echo "${ECHO_T}no" >&6; }
28667 if test -z "$ac_cv_path_PKG_CONFIG"; then
28668 ac_pt_PKG_CONFIG=$PKG_CONFIG
28669 # Extract the first word of "pkg-config", so it can be a program name with args.
28670 set dummy pkg-config; ac_word=$2
28671 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28672 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28673 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
28674 echo $ECHO_N "(cached) $ECHO_C" >&6
28676 case $ac_pt_PKG_CONFIG in
28678 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28682 for as_dir in $PATH
28685 test -z "$as_dir" && as_dir=.
28686 for ac_exec_ext in '' $ac_executable_extensions; do
28687 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28688 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28689 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28699 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
28700 if test -n "$ac_pt_PKG_CONFIG"; then
28701 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
28702 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
28704 { echo "$as_me:$LINENO: result: no" >&5
28705 echo "${ECHO_T}no" >&6; }
28708 if test "x$ac_pt_PKG_CONFIG" = x; then
28711 case $cross_compiling:$ac_tool_warned in
28713 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
28714 whose name does not start with the host triplet. If you think this
28715 configuration is useful to you, please write to autoconf@gnu.org." >&5
28716 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
28717 whose name does not start with the host triplet. If you think this
28718 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
28719 ac_tool_warned=yes ;;
28721 PKG_CONFIG=$ac_pt_PKG_CONFIG
28724 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
28728 if test -n "$PKG_CONFIG"; then
28729 _pkg_min_version=0.9.0
28730 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
28731 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
28732 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28733 { echo "$as_me:$LINENO: result: yes" >&5
28734 echo "${ECHO_T}yes" >&6; }
28736 { echo "$as_me:$LINENO: result: no" >&5
28737 echo "${ECHO_T}no" >&6; }
28745 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
28746 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
28748 if test -n "$PKG_CONFIG"; then
28749 if test -n "$DIRECTFB_CFLAGS"; then
28750 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
28752 if test -n "$PKG_CONFIG" && \
28753 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
28754 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
28756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28757 (exit $ac_status); }; then
28758 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
28766 if test -n "$PKG_CONFIG"; then
28767 if test -n "$DIRECTFB_LIBS"; then
28768 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
28770 if test -n "$PKG_CONFIG" && \
28771 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
28772 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
28774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28775 (exit $ac_status); }; then
28776 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
28787 if test $pkg_failed = yes; then
28789 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28790 _pkg_short_errors_supported=yes
28792 _pkg_short_errors_supported=no
28794 if test $_pkg_short_errors_supported = yes; then
28795 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
28797 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
28799 # Put the nasty error message in config.log where it belongs
28800 echo "$DIRECTFB_PKG_ERRORS" >&5
28803 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
28804 echo "$as_me: error: DirectFB not found." >&2;}
28805 { (exit 1); exit 1; }; }
28808 elif test $pkg_failed = untried; then
28810 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
28811 echo "$as_me: error: DirectFB not found." >&2;}
28812 { (exit 1); exit 1; }; }
28816 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
28817 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
28818 { echo "$as_me:$LINENO: result: yes" >&5
28819 echo "${ECHO_T}yes" >&6; }
28821 wxUSE_UNIVERSAL="yes"
28822 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
28823 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
28830 if test "$wxUSE_MICROWIN" = 1; then
28831 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
28832 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
28833 if test "x$MICROWINDOWS" = x ; then
28834 { echo "$as_me:$LINENO: result: not found" >&5
28835 echo "${ECHO_T}not found" >&6; }
28836 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
28837 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
28838 { (exit 1); exit 1; }; }
28840 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
28841 echo "${ECHO_T}$MICROWINDOWS" >&6; }
28844 if test -f $MICROWINDOWS/lib/libmwin.a; then
28845 { echo "$as_me:$LINENO: result: MicroWindows' libraries found.
" >&5
28846 echo "${ECHO_T}MicroWindows
' libraries found." >&6; }
28848 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
28849 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
28850 { (exit 1); exit 1; }; }
28853 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
28854 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
28856 wxUSE_UNIVERSAL="yes"
28858 AFMINSTALL=afminstall
28860 GUIDIST=MICROWIN_DIST
28862 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
28865 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
28866 { echo "$as_me:$LINENO: checking for X" >&5
28867 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
28870 # Check whether --with-x was given.
28871 if test "${with_x+set}" = set; then
28875 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
28876 if test "x$with_x" = xno; then
28877 # The user explicitly disabled X.
28880 case $x_includes,$x_libraries in #(
28881 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
28882 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
28883 { (exit 1); exit 1; }; };; #(
28884 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
28885 echo $ECHO_N "(cached) $ECHO_C" >&6
28887 # One or both of the vars are not set, and there is no cached value.
28888 ac_x_includes=no ac_x_libraries=no
28889 rm -f -r conftest.dir
28890 if mkdir conftest.dir; then
28892 cat >Imakefile <<'_ACEOF'
28894 @echo incroot='${INCROOT}'
28896 @echo usrlibdir='${USRLIBDIR}'
28898 @echo libdir='${LIBDIR}'
28900 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
28901 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
28902 for ac_var in incroot usrlibdir libdir; do
28903 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
28905 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
28906 for ac_extension in a so sl; do
28907 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
28908 test -f "$ac_im_libdir/libX11.$ac_extension"; then
28909 ac_im_usrlibdir=$ac_im_libdir; break
28912 # Screen out bogus values from the imake configuration. They are
28913 # bogus both because they are the default anyway, and because
28914 # using them would break gcc on systems where it needs fixed includes.
28915 case $ac_im_incroot in
28916 /usr/include) ac_x_includes= ;;
28917 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
28919 case $ac_im_usrlibdir in
28920 /usr/lib | /lib) ;;
28921 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
28925 rm -f -r conftest.dir
28928 # Standard set of common directories for X headers.
28929 # Check X11 before X11Rn because it is often a symlink to the current release.
28941 /usr
/local
/X
11/include
28942 /usr
/local
/X
11R
6/include
28943 /usr
/local
/X
11R
5/include
28944 /usr
/local
/X
11R
4/include
28946 /usr
/local
/include
/X11
28947 /usr
/local
/include
/X11R6
28948 /usr
/local
/include
/X11R5
28949 /usr
/local
/include
/X11R4
28953 /usr
/XFree
86/include
/X11
28957 /usr
/unsupported
/include
28958 /usr
/athena
/include
28959 /usr
/local
/x
11r
5/include
28960 /usr
/lpp
/Xamples
/include
28962 /usr
/openwin
/include
28963 /usr
/openwin
/share
/include
'
28965 if test "$ac_x_includes" = no; then
28966 # Guess where to find include files, by looking for Xlib.h.
28967 # First, try using that file with no special directory specified.
28968 cat >conftest.$ac_ext <<_ACEOF
28971 cat confdefs.h >>conftest.$ac_ext
28972 cat >>conftest.$ac_ext <<_ACEOF
28973 /* end confdefs.h. */
28974 #include <X11/Xlib.h>
28976 if { (ac_try="$ac_cpp conftest.$ac_ext"
28977 case "(($ac_try" in
28978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28979 *) ac_try_echo=$ac_try;;
28981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28982 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28984 grep -v '^
*+' conftest.er1 >conftest.err
28986 cat conftest.err >&5
28987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28988 (exit $ac_status); } >/dev/null && {
28989 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28990 test ! -s conftest.err
28992 # We can compile using X headers with no special include directory.
28995 echo "$as_me: failed program was:" >&5
28996 sed 's
/^
/| /' conftest.$ac_ext >&5
28998 for ac_dir in $ac_x_header_dirs; do
28999 if test -r "$ac_dir/X11/Xlib.h"; then
29000 ac_x_includes=$ac_dir
29006 rm -f conftest.err conftest.$ac_ext
29007 fi # $ac_x_includes = no
29009 if test "$ac_x_libraries" = no; then
29010 # Check for the libraries.
29011 # See if we find them without any special options.
29012 # Don't add to
$LIBS permanently.
29015 cat >conftest.
$ac_ext <<_ACEOF
29018 cat confdefs.h
>>conftest.
$ac_ext
29019 cat >>conftest.
$ac_ext <<_ACEOF
29020 /* end confdefs.h. */
29021 #include <X11/Xlib.h>
29030 rm -f conftest.
$ac_objext conftest
$ac_exeext
29031 if { (ac_try
="$ac_link"
29032 case "(($ac_try" in
29033 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29034 *) ac_try_echo=$ac_try;;
29036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29037 (eval "$ac_link") 2>conftest.er1
29039 grep -v '^ *+' conftest.er1 >conftest.err
29041 cat conftest.err >&5
29042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29043 (exit $ac_status); } && {
29044 test -z "$ac_c_werror_flag" ||
29045 test ! -s conftest.err
29046 } && test -s conftest$ac_exeext &&
29047 $as_test_x conftest$ac_exeext; then
29049 # We can link X programs with no special library path.
29052 echo "$as_me: failed program was:" >&5
29053 sed 's/^/| /' conftest.$ac_ext >&5
29056 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s
/include
/lib
/g
`
29058 # Don't even attempt the hair of trying to link an X program!
29059 for ac_extension in a so sl; do
29060 if test -r "$ac_dir/libX11.$ac_extension"; then
29061 ac_x_libraries=$ac_dir
29068 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29069 conftest$ac_exeext conftest.$ac_ext
29070 fi # $ac_x_libraries = no
29072 case $ac_x_includes,$ac_x_libraries in #(
29073 no,* | *,no | *\'*)
29074 # Didn't find X, or a directory has "'" in its name.
29075 ac_cv_have_x="have_x=no";; #(
29077 # Record where we found X for the cache.
29078 ac_cv_have_x="have_x=yes\
29079 ac_x_includes='$ac_x_includes'\
29080 ac_x_libraries='$ac_x_libraries'"
29086 eval "$ac_cv_have_x"
29089 if test "$have_x" != yes; then
29090 { echo "$as_me:$LINENO: result: $have_x" >&5
29091 echo "${ECHO_T}$have_x" >&6; }
29094 # If each of the values was on the command line, it overrides each guess.
29095 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
29096 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
29097 # Update the cache value to reflect the command line values.
29098 ac_cv_have_x="have_x=yes\
29099 ac_x_includes='$x_includes'\
29100 ac_x_libraries='$x_libraries'"
29101 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
29102 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
29105 if test "$no_x" = yes; then
29106 # Not all programs may use this symbol, but it does not hurt to define it.
29108 cat >>confdefs.h <<\_ACEOF
29109 #define X_DISPLAY_MISSING 1
29112 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
29114 if test -n "$x_includes"; then
29115 X_CFLAGS="$X_CFLAGS -I$x_includes"
29118 # It would also be nice to do this for all -L options, not just this one.
29119 if test -n "$x_libraries"; then
29120 X_LIBS="$X_LIBS -L$x_libraries"
29121 # For Solaris; some versions of Sun CC require a space after -R and
29122 # others require no space. Words are not sufficient . . . .
29123 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29124 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
29125 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
29126 ac_xsave_c_werror_flag=$ac_c_werror_flag
29127 ac_c_werror_flag=yes
29128 cat >conftest.$ac_ext <<_ACEOF
29131 cat confdefs.h >>conftest.$ac_ext
29132 cat >>conftest.$ac_ext <<_ACEOF
29133 /* end confdefs.h. */
29143 rm -f conftest.$ac_objext conftest$ac_exeext
29144 if { (ac_try="$ac_link"
29145 case "(($ac_try" in
29146 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29147 *) ac_try_echo
=$ac_try;;
29149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29150 (eval "$ac_link") 2>conftest.er1
29152 grep -v '^ *+' conftest.er1
>conftest.err
29154 cat conftest.err
>&5
29155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29156 (exit $ac_status); } && {
29157 test -z "$ac_c_werror_flag" ||
29158 test ! -s conftest.err
29159 } && test -s conftest
$ac_exeext &&
29160 $as_test_x conftest
$ac_exeext; then
29161 { echo "$as_me:$LINENO: result: no" >&5
29162 echo "${ECHO_T}no" >&6; }
29163 X_LIBS
="$X_LIBS -R$x_libraries"
29165 echo "$as_me: failed program was:" >&5
29166 sed 's/^/| /' conftest.
$ac_ext >&5
29168 LIBS
="$ac_xsave_LIBS -R $x_libraries"
29169 cat >conftest.
$ac_ext <<_ACEOF
29172 cat confdefs.h
>>conftest.
$ac_ext
29173 cat >>conftest.
$ac_ext <<_ACEOF
29174 /* end confdefs.h. */
29184 rm -f conftest.
$ac_objext conftest
$ac_exeext
29185 if { (ac_try
="$ac_link"
29186 case "(($ac_try" in
29187 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29188 *) ac_try_echo=$ac_try;;
29190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29191 (eval "$ac_link") 2>conftest.er1
29193 grep -v '^ *+' conftest.er1 >conftest.err
29195 cat conftest.err >&5
29196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29197 (exit $ac_status); } && {
29198 test -z "$ac_c_werror_flag" ||
29199 test ! -s conftest.err
29200 } && test -s conftest$ac_exeext &&
29201 $as_test_x conftest$ac_exeext; then
29202 { echo "$as_me:$LINENO: result: yes" >&5
29203 echo "${ECHO_T}yes" >&6; }
29204 X_LIBS="$X_LIBS -R $x_libraries"
29206 echo "$as_me: failed program was:" >&5
29207 sed 's/^/| /' conftest.$ac_ext >&5
29209 { echo "$as_me:$LINENO: result: neither works" >&5
29210 echo "${ECHO_T}neither works" >&6; }
29213 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29214 conftest$ac_exeext conftest.$ac_ext
29217 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29218 conftest$ac_exeext conftest.$ac_ext
29219 ac_c_werror_flag=$ac_xsave_c_werror_flag
29220 LIBS=$ac_xsave_LIBS
29223 # Check for system-dependent libraries X programs must link with.
29224 # Do this before checking for the system-independent R6 libraries
29225 # (-lICE), since we may need -lsocket or whatever for X linking.
29227 if test "$ISC" = yes; then
29228 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
29230 # Martyn Johnson says this is needed for Ultrix, if the X
29231 # libraries were built with DECnet support. And Karl Berry says
29232 # the Alpha needs dnet_stub (dnet does not exist).
29233 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
29234 cat >conftest.$ac_ext <<_ACEOF
29237 cat confdefs.h >>conftest.$ac_ext
29238 cat >>conftest.$ac_ext <<_ACEOF
29239 /* end confdefs.h. */
29241 /* Override any GCC internal prototype to avoid an error.
29242 Use char because int might match the return type of a GCC
29243 builtin and then its argument prototype would still apply. */
29247 char XOpenDisplay ();
29251 return XOpenDisplay ();
29256 rm -f conftest.$ac_objext conftest$ac_exeext
29257 if { (ac_try="$ac_link"
29258 case "(($ac_try" in
29259 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29260 *) ac_try_echo
=$ac_try;;
29262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29263 (eval "$ac_link") 2>conftest.er1
29265 grep -v '^ *+' conftest.er1
>conftest.err
29267 cat conftest.err
>&5
29268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29269 (exit $ac_status); } && {
29270 test -z "$ac_c_werror_flag" ||
29271 test ! -s conftest.err
29272 } && test -s conftest
$ac_exeext &&
29273 $as_test_x conftest
$ac_exeext; then
29276 echo "$as_me: failed program was:" >&5
29277 sed 's/^/| /' conftest.
$ac_ext >&5
29279 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29280 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
29281 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
29282 echo $ECHO_N "(cached) $ECHO_C" >&6
29284 ac_check_lib_save_LIBS
=$LIBS
29285 LIBS
="-ldnet $LIBS"
29286 cat >conftest.
$ac_ext <<_ACEOF
29289 cat confdefs.h
>>conftest.
$ac_ext
29290 cat >>conftest.
$ac_ext <<_ACEOF
29291 /* end confdefs.h. */
29293 /* Override any GCC internal prototype to avoid an error.
29294 Use char because int might match the return type of a GCC
29295 builtin and then its argument prototype would still apply. */
29303 return dnet_ntoa ();
29308 rm -f conftest.
$ac_objext conftest
$ac_exeext
29309 if { (ac_try
="$ac_link"
29310 case "(($ac_try" in
29311 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29312 *) ac_try_echo=$ac_try;;
29314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29315 (eval "$ac_link") 2>conftest.er1
29317 grep -v '^ *+' conftest.er1 >conftest.err
29319 cat conftest.err >&5
29320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29321 (exit $ac_status); } && {
29322 test -z "$ac_c_werror_flag" ||
29323 test ! -s conftest.err
29324 } && test -s conftest$ac_exeext &&
29325 $as_test_x conftest$ac_exeext; then
29326 ac_cv_lib_dnet_dnet_ntoa=yes
29328 echo "$as_me: failed program was:" >&5
29329 sed 's/^/| /' conftest.$ac_ext >&5
29331 ac_cv_lib_dnet_dnet_ntoa=no
29334 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29335 conftest$ac_exeext conftest.$ac_ext
29336 LIBS=$ac_check_lib_save_LIBS
29338 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
29339 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
29340 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
29341 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
29344 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
29345 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
29346 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
29347 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
29348 echo $ECHO_N "(cached) $ECHO_C" >&6
29350 ac_check_lib_save_LIBS=$LIBS
29351 LIBS="-ldnet_stub $LIBS"
29352 cat >conftest.$ac_ext <<_ACEOF
29355 cat confdefs.h >>conftest.$ac_ext
29356 cat >>conftest.$ac_ext <<_ACEOF
29357 /* end confdefs.h. */
29359 /* Override any GCC internal prototype to avoid an error.
29360 Use char because int might match the return type of a GCC
29361 builtin and then its argument prototype would still apply. */
29369 return dnet_ntoa ();
29374 rm -f conftest.$ac_objext conftest$ac_exeext
29375 if { (ac_try="$ac_link"
29376 case "(($ac_try" in
29377 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29378 *) ac_try_echo
=$ac_try;;
29380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29381 (eval "$ac_link") 2>conftest.er1
29383 grep -v '^ *+' conftest.er1
>conftest.err
29385 cat conftest.err
>&5
29386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29387 (exit $ac_status); } && {
29388 test -z "$ac_c_werror_flag" ||
29389 test ! -s conftest.err
29390 } && test -s conftest
$ac_exeext &&
29391 $as_test_x conftest
$ac_exeext; then
29392 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
29394 echo "$as_me: failed program was:" >&5
29395 sed 's/^/| /' conftest.
$ac_ext >&5
29397 ac_cv_lib_dnet_stub_dnet_ntoa
=no
29400 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
29401 conftest
$ac_exeext conftest.
$ac_ext
29402 LIBS
=$ac_check_lib_save_LIBS
29404 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
29405 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
29406 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
29407 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
29413 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
29414 conftest
$ac_exeext conftest.
$ac_ext
29415 LIBS
="$ac_xsave_LIBS"
29417 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
29418 # to get the SysV transport functions.
29419 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
29421 # The nsl library prevents programs from opening the X display
29422 # on Irix 5.2, according to T.E. Dickey.
29423 # The functions gethostbyname, getservbyname, and inet_addr are
29424 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
29425 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
29426 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
29427 if test "${ac_cv_func_gethostbyname+set}" = set; then
29428 echo $ECHO_N "(cached) $ECHO_C" >&6
29430 cat >conftest.
$ac_ext <<_ACEOF
29433 cat confdefs.h
>>conftest.
$ac_ext
29434 cat >>conftest.
$ac_ext <<_ACEOF
29435 /* end confdefs.h. */
29436 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
29437 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29438 #define gethostbyname innocuous_gethostbyname
29440 /* System header to define __stub macros and hopefully few prototypes,
29441 which can conflict with char gethostbyname (); below.
29442 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29443 <limits.h> exists even on freestanding compilers. */
29446 # include <limits.h>
29448 # include <assert.h>
29451 #undef gethostbyname
29453 /* Override any GCC internal prototype to avoid an error.
29454 Use char because int might match the return type of a GCC
29455 builtin and then its argument prototype would still apply. */
29459 char gethostbyname ();
29460 /* The GNU C library defines this for functions which it implements
29461 to always fail with ENOSYS. Some functions are actually named
29462 something starting with __ and the normal name is an alias. */
29463 #if defined __stub_gethostbyname || defined __stub___gethostbyname
29470 return gethostbyname ();
29475 rm -f conftest.
$ac_objext conftest
$ac_exeext
29476 if { (ac_try
="$ac_link"
29477 case "(($ac_try" in
29478 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29479 *) ac_try_echo=$ac_try;;
29481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29482 (eval "$ac_link") 2>conftest.er1
29484 grep -v '^ *+' conftest.er1 >conftest.err
29486 cat conftest.err >&5
29487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29488 (exit $ac_status); } && {
29489 test -z "$ac_c_werror_flag" ||
29490 test ! -s conftest.err
29491 } && test -s conftest$ac_exeext &&
29492 $as_test_x conftest$ac_exeext; then
29493 ac_cv_func_gethostbyname=yes
29495 echo "$as_me: failed program was:" >&5
29496 sed 's/^/| /' conftest.$ac_ext >&5
29498 ac_cv_func_gethostbyname=no
29501 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29502 conftest$ac_exeext conftest.$ac_ext
29504 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
29505 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
29507 if test $ac_cv_func_gethostbyname = no; then
29508 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
29509 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
29510 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
29511 echo $ECHO_N "(cached) $ECHO_C" >&6
29513 ac_check_lib_save_LIBS=$LIBS
29515 cat >conftest.$ac_ext <<_ACEOF
29518 cat confdefs.h >>conftest.$ac_ext
29519 cat >>conftest.$ac_ext <<_ACEOF
29520 /* end confdefs.h. */
29522 /* Override any GCC internal prototype to avoid an error.
29523 Use char because int might match the return type of a GCC
29524 builtin and then its argument prototype would still apply. */
29528 char gethostbyname ();
29532 return gethostbyname ();
29537 rm -f conftest.$ac_objext conftest$ac_exeext
29538 if { (ac_try="$ac_link"
29539 case "(($ac_try" in
29540 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29541 *) ac_try_echo
=$ac_try;;
29543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29544 (eval "$ac_link") 2>conftest.er1
29546 grep -v '^ *+' conftest.er1
>conftest.err
29548 cat conftest.err
>&5
29549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29550 (exit $ac_status); } && {
29551 test -z "$ac_c_werror_flag" ||
29552 test ! -s conftest.err
29553 } && test -s conftest
$ac_exeext &&
29554 $as_test_x conftest
$ac_exeext; then
29555 ac_cv_lib_nsl_gethostbyname
=yes
29557 echo "$as_me: failed program was:" >&5
29558 sed 's/^/| /' conftest.
$ac_ext >&5
29560 ac_cv_lib_nsl_gethostbyname
=no
29563 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
29564 conftest
$ac_exeext conftest.
$ac_ext
29565 LIBS
=$ac_check_lib_save_LIBS
29567 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
29568 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
29569 if test $ac_cv_lib_nsl_gethostbyname = yes; then
29570 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
29573 if test $ac_cv_lib_nsl_gethostbyname = no
; then
29574 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
29575 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
29576 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
29577 echo $ECHO_N "(cached) $ECHO_C" >&6
29579 ac_check_lib_save_LIBS
=$LIBS
29581 cat >conftest.
$ac_ext <<_ACEOF
29584 cat confdefs.h
>>conftest.
$ac_ext
29585 cat >>conftest.
$ac_ext <<_ACEOF
29586 /* end confdefs.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. */
29594 char gethostbyname ();
29598 return gethostbyname ();
29603 rm -f conftest.
$ac_objext conftest
$ac_exeext
29604 if { (ac_try
="$ac_link"
29605 case "(($ac_try" in
29606 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29607 *) ac_try_echo=$ac_try;;
29609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29610 (eval "$ac_link") 2>conftest.er1
29612 grep -v '^ *+' conftest.er1 >conftest.err
29614 cat conftest.err >&5
29615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29616 (exit $ac_status); } && {
29617 test -z "$ac_c_werror_flag" ||
29618 test ! -s conftest.err
29619 } && test -s conftest$ac_exeext &&
29620 $as_test_x conftest$ac_exeext; then
29621 ac_cv_lib_bsd_gethostbyname=yes
29623 echo "$as_me: failed program was:" >&5
29624 sed 's/^/| /' conftest.$ac_ext >&5
29626 ac_cv_lib_bsd_gethostbyname=no
29629 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29630 conftest$ac_exeext conftest.$ac_ext
29631 LIBS=$ac_check_lib_save_LIBS
29633 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
29634 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
29635 if test $ac_cv_lib_bsd_gethostbyname = yes; then
29636 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
29642 # lieder@skyler.mavd.honeywell.com says without -lsocket,
29643 # socket/setsockopt and other routines are undefined under SCO ODT
29644 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
29645 # on later versions), says Simon Leinen: it contains gethostby*
29646 # variants that don't use the name server (or something). -lsocket
29647 # must be given before -lnsl if both are needed. We assume that
29648 # if connect needs -lnsl, so does gethostbyname.
29649 { echo "$as_me:$LINENO: checking for connect" >&5
29650 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
29651 if test "${ac_cv_func_connect+set}" = set; then
29652 echo $ECHO_N "(cached) $ECHO_C" >&6
29654 cat >conftest.$ac_ext <<_ACEOF
29657 cat confdefs.h >>conftest.$ac_ext
29658 cat >>conftest.$ac_ext <<_ACEOF
29659 /* end confdefs.h. */
29660 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
29661 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29662 #define connect innocuous_connect
29664 /* System header to define __stub macros and hopefully few prototypes,
29665 which can conflict with char connect (); below.
29666 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29667 <limits.h> exists even on freestanding compilers. */
29670 # include <limits.h>
29672 # include <assert.h>
29677 /* Override any GCC internal prototype to avoid an error.
29678 Use char because int might match the return type of a GCC
29679 builtin and then its argument prototype would still apply. */
29684 /* The GNU C library defines this for functions which it implements
29685 to always fail with ENOSYS. Some functions are actually named
29686 something starting with __ and the normal name is an alias. */
29687 #if defined __stub_connect || defined __stub___connect
29699 rm -f conftest.$ac_objext conftest$ac_exeext
29700 if { (ac_try="$ac_link"
29701 case "(($ac_try" in
29702 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29703 *) ac_try_echo
=$ac_try;;
29705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29706 (eval "$ac_link") 2>conftest.er1
29708 grep -v '^ *+' conftest.er1
>conftest.err
29710 cat conftest.err
>&5
29711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29712 (exit $ac_status); } && {
29713 test -z "$ac_c_werror_flag" ||
29714 test ! -s conftest.err
29715 } && test -s conftest
$ac_exeext &&
29716 $as_test_x conftest
$ac_exeext; then
29717 ac_cv_func_connect
=yes
29719 echo "$as_me: failed program was:" >&5
29720 sed 's/^/| /' conftest.
$ac_ext >&5
29722 ac_cv_func_connect
=no
29725 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
29726 conftest
$ac_exeext conftest.
$ac_ext
29728 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
29729 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
29731 if test $ac_cv_func_connect = no
; then
29732 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
29733 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
29734 if test "${ac_cv_lib_socket_connect+set}" = set; then
29735 echo $ECHO_N "(cached) $ECHO_C" >&6
29737 ac_check_lib_save_LIBS
=$LIBS
29738 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
29739 cat >conftest.
$ac_ext <<_ACEOF
29742 cat confdefs.h
>>conftest.
$ac_ext
29743 cat >>conftest.
$ac_ext <<_ACEOF
29744 /* end confdefs.h. */
29746 /* Override any GCC internal prototype to avoid an error.
29747 Use char because int might match the return type of a GCC
29748 builtin and then its argument prototype would still apply. */
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_lib_socket_connect=yes
29781 echo "$as_me: failed program was:" >&5
29782 sed 's/^/| /' conftest.$ac_ext >&5
29784 ac_cv_lib_socket_connect=no
29787 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29788 conftest$ac_exeext conftest.$ac_ext
29789 LIBS=$ac_check_lib_save_LIBS
29791 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
29792 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
29793 if test $ac_cv_lib_socket_connect = yes; then
29794 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
29799 # Guillermo Gomez says -lposix is necessary on A/UX.
29800 { echo "$as_me:$LINENO: checking for remove" >&5
29801 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
29802 if test "${ac_cv_func_remove+set}" = set; then
29803 echo $ECHO_N "(cached) $ECHO_C" >&6
29805 cat >conftest.$ac_ext <<_ACEOF
29808 cat confdefs.h >>conftest.$ac_ext
29809 cat >>conftest.$ac_ext <<_ACEOF
29810 /* end confdefs.h. */
29811 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
29812 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29813 #define remove innocuous_remove
29815 /* System header to define __stub macros and hopefully few prototypes,
29816 which can conflict with char remove (); below.
29817 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29818 <limits.h> exists even on freestanding compilers. */
29821 # include <limits.h>
29823 # include <assert.h>
29828 /* Override any GCC internal prototype to avoid an error.
29829 Use char because int might match the return type of a GCC
29830 builtin and then its argument prototype would still apply. */
29835 /* The GNU C library defines this for functions which it implements
29836 to always fail with ENOSYS. Some functions are actually named
29837 something starting with __ and the normal name is an alias. */
29838 #if defined __stub_remove || defined __stub___remove
29850 rm -f conftest.$ac_objext conftest$ac_exeext
29851 if { (ac_try="$ac_link"
29852 case "(($ac_try" in
29853 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29854 *) ac_try_echo
=$ac_try;;
29856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29857 (eval "$ac_link") 2>conftest.er1
29859 grep -v '^ *+' conftest.er1
>conftest.err
29861 cat conftest.err
>&5
29862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29863 (exit $ac_status); } && {
29864 test -z "$ac_c_werror_flag" ||
29865 test ! -s conftest.err
29866 } && test -s conftest
$ac_exeext &&
29867 $as_test_x conftest
$ac_exeext; then
29868 ac_cv_func_remove
=yes
29870 echo "$as_me: failed program was:" >&5
29871 sed 's/^/| /' conftest.
$ac_ext >&5
29873 ac_cv_func_remove
=no
29876 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
29877 conftest
$ac_exeext conftest.
$ac_ext
29879 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
29880 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
29882 if test $ac_cv_func_remove = no
; then
29883 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
29884 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
29885 if test "${ac_cv_lib_posix_remove+set}" = set; then
29886 echo $ECHO_N "(cached) $ECHO_C" >&6
29888 ac_check_lib_save_LIBS
=$LIBS
29889 LIBS
="-lposix $LIBS"
29890 cat >conftest.
$ac_ext <<_ACEOF
29893 cat confdefs.h
>>conftest.
$ac_ext
29894 cat >>conftest.
$ac_ext <<_ACEOF
29895 /* end confdefs.h. */
29897 /* Override any GCC internal prototype to avoid an error.
29898 Use char because int might match the return type of a GCC
29899 builtin and then its argument prototype would still apply. */
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_lib_posix_remove=yes
29932 echo "$as_me: failed program was:" >&5
29933 sed 's/^/| /' conftest.$ac_ext >&5
29935 ac_cv_lib_posix_remove=no
29938 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29939 conftest$ac_exeext conftest.$ac_ext
29940 LIBS=$ac_check_lib_save_LIBS
29942 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
29943 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
29944 if test $ac_cv_lib_posix_remove = yes; then
29945 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
29950 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
29951 { echo "$as_me:$LINENO: checking for shmat" >&5
29952 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
29953 if test "${ac_cv_func_shmat+set}" = set; then
29954 echo $ECHO_N "(cached) $ECHO_C" >&6
29956 cat >conftest.$ac_ext <<_ACEOF
29959 cat confdefs.h >>conftest.$ac_ext
29960 cat >>conftest.$ac_ext <<_ACEOF
29961 /* end confdefs.h. */
29962 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
29963 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29964 #define shmat innocuous_shmat
29966 /* System header to define __stub macros and hopefully few prototypes,
29967 which can conflict with char shmat (); below.
29968 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29969 <limits.h> exists even on freestanding compilers. */
29972 # include <limits.h>
29974 # include <assert.h>
29979 /* Override any GCC internal prototype to avoid an error.
29980 Use char because int might match the return type of a GCC
29981 builtin and then its argument prototype would still apply. */
29986 /* The GNU C library defines this for functions which it implements
29987 to always fail with ENOSYS. Some functions are actually named
29988 something starting with __ and the normal name is an alias. */
29989 #if defined __stub_shmat || defined __stub___shmat
30001 rm -f conftest.$ac_objext conftest$ac_exeext
30002 if { (ac_try="$ac_link"
30003 case "(($ac_try" in
30004 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30005 *) ac_try_echo
=$ac_try;;
30007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30008 (eval "$ac_link") 2>conftest.er1
30010 grep -v '^ *+' conftest.er1
>conftest.err
30012 cat conftest.err
>&5
30013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30014 (exit $ac_status); } && {
30015 test -z "$ac_c_werror_flag" ||
30016 test ! -s conftest.err
30017 } && test -s conftest
$ac_exeext &&
30018 $as_test_x conftest
$ac_exeext; then
30019 ac_cv_func_shmat
=yes
30021 echo "$as_me: failed program was:" >&5
30022 sed 's/^/| /' conftest.
$ac_ext >&5
30024 ac_cv_func_shmat
=no
30027 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30028 conftest
$ac_exeext conftest.
$ac_ext
30030 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30031 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
30033 if test $ac_cv_func_shmat = no
; then
30034 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30035 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
30036 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30037 echo $ECHO_N "(cached) $ECHO_C" >&6
30039 ac_check_lib_save_LIBS
=$LIBS
30041 cat >conftest.
$ac_ext <<_ACEOF
30044 cat confdefs.h
>>conftest.
$ac_ext
30045 cat >>conftest.
$ac_ext <<_ACEOF
30046 /* end confdefs.h. */
30048 /* Override any GCC internal prototype to avoid an error.
30049 Use char because int might match the return type of a GCC
30050 builtin and then its argument prototype would still apply. */
30063 rm -f conftest.
$ac_objext conftest
$ac_exeext
30064 if { (ac_try
="$ac_link"
30065 case "(($ac_try" in
30066 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30067 *) ac_try_echo=$ac_try;;
30069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30070 (eval "$ac_link") 2>conftest.er1
30072 grep -v '^ *+' conftest.er1 >conftest.err
30074 cat conftest.err >&5
30075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30076 (exit $ac_status); } && {
30077 test -z "$ac_c_werror_flag" ||
30078 test ! -s conftest.err
30079 } && test -s conftest$ac_exeext &&
30080 $as_test_x conftest$ac_exeext; then
30081 ac_cv_lib_ipc_shmat=yes
30083 echo "$as_me: failed program was:" >&5
30084 sed 's/^/| /' conftest.$ac_ext >&5
30086 ac_cv_lib_ipc_shmat=no
30089 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30090 conftest$ac_exeext conftest.$ac_ext
30091 LIBS=$ac_check_lib_save_LIBS
30093 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30094 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
30095 if test $ac_cv_lib_ipc_shmat = yes; then
30096 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
30102 # Check for libraries that X11R6 Xt/Xaw programs need.
30103 ac_save_LDFLAGS=$LDFLAGS
30104 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
30105 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30106 # check for ICE first), but we must link in the order -lSM -lICE or
30107 # we get undefined symbols. So assume we have SM if we have ICE.
30108 # These have to be linked with before -lX11, unlike the other
30109 # libraries we check for below, so use a different variable.
30110 # John Interrante, Karl Berry
30111 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30112 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
30113 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30114 echo $ECHO_N "(cached) $ECHO_C" >&6
30116 ac_check_lib_save_LIBS=$LIBS
30117 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
30118 cat >conftest.$ac_ext <<_ACEOF
30121 cat confdefs.h >>conftest.$ac_ext
30122 cat >>conftest.$ac_ext <<_ACEOF
30123 /* end confdefs.h. */
30125 /* Override any GCC internal prototype to avoid an error.
30126 Use char because int might match the return type of a GCC
30127 builtin and then its argument prototype would still apply. */
30131 char IceConnectionNumber ();
30135 return IceConnectionNumber ();
30140 rm -f conftest.$ac_objext conftest$ac_exeext
30141 if { (ac_try="$ac_link"
30142 case "(($ac_try" in
30143 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30144 *) ac_try_echo
=$ac_try;;
30146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30147 (eval "$ac_link") 2>conftest.er1
30149 grep -v '^ *+' conftest.er1
>conftest.err
30151 cat conftest.err
>&5
30152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30153 (exit $ac_status); } && {
30154 test -z "$ac_c_werror_flag" ||
30155 test ! -s conftest.err
30156 } && test -s conftest
$ac_exeext &&
30157 $as_test_x conftest
$ac_exeext; then
30158 ac_cv_lib_ICE_IceConnectionNumber
=yes
30160 echo "$as_me: failed program was:" >&5
30161 sed 's/^/| /' conftest.
$ac_ext >&5
30163 ac_cv_lib_ICE_IceConnectionNumber
=no
30166 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30167 conftest
$ac_exeext conftest.
$ac_ext
30168 LIBS
=$ac_check_lib_save_LIBS
30170 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30171 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
30172 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
30173 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
30176 LDFLAGS
=$ac_save_LDFLAGS
30181 if test "$no_x" = "yes"; then
30182 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30183 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30184 { (exit 1); exit 1; }; }
30187 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30188 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
30189 AFMINSTALL
=afminstall
30190 COMPILED_X_PROGRAM
=0
30194 if test "$wxUSE_X11" = 1; then
30195 if test "$wxUSE_NANOX" = "yes"; then
30196 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30197 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
30198 if test "x$MICROWIN" = x
; then
30199 { echo "$as_me:$LINENO: result: not found" >&5
30200 echo "${ECHO_T}not found" >&6; }
30201 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30202 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30203 { (exit 1); exit 1; }; }
30205 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
30206 echo "${ECHO_T}$MICROWIN" >&6; }
30207 cat >>confdefs.h
<<\_ACEOF
30208 #define wxUSE_NANOX 1
30214 if test "$wxUSE_UNICODE" = "yes"; then
30217 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30218 if test -n "$ac_tool_prefix"; then
30219 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30220 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
30221 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30222 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30223 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30224 echo $ECHO_N "(cached) $ECHO_C" >&6
30226 case $PKG_CONFIG in
30228 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
30231 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30232 for as_dir
in $PATH
30235 test -z "$as_dir" && as_dir
=.
30236 for ac_exec_ext
in '' $ac_executable_extensions; do
30237 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30238 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
30239 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30249 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
30250 if test -n "$PKG_CONFIG"; then
30251 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30252 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30254 { echo "$as_me:$LINENO: result: no" >&5
30255 echo "${ECHO_T}no" >&6; }
30260 if test -z "$ac_cv_path_PKG_CONFIG"; then
30261 ac_pt_PKG_CONFIG
=$PKG_CONFIG
30262 # Extract the first word of "pkg-config", so it can be a program name with args.
30263 set dummy pkg
-config; ac_word
=$2
30264 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30265 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30266 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30267 echo $ECHO_N "(cached) $ECHO_C" >&6
30269 case $ac_pt_PKG_CONFIG in
30271 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30274 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30275 for as_dir
in $PATH
30278 test -z "$as_dir" && as_dir
=.
30279 for ac_exec_ext
in '' $ac_executable_extensions; do
30280 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30281 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
30282 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30292 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
30293 if test -n "$ac_pt_PKG_CONFIG"; then
30294 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30295 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
30297 { echo "$as_me:$LINENO: result: no" >&5
30298 echo "${ECHO_T}no" >&6; }
30301 if test "x$ac_pt_PKG_CONFIG" = x
; then
30304 case $cross_compiling:$ac_tool_warned in
30306 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30307 whose name does not start with the host triplet. If you think this
30308 configuration is useful to you, please write to autoconf@gnu.org." >&5
30309 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30310 whose name does not start with the host triplet. If you think this
30311 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30312 ac_tool_warned
=yes ;;
30314 PKG_CONFIG
=$ac_pt_PKG_CONFIG
30317 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
30321 if test -n "$PKG_CONFIG"; then
30322 _pkg_min_version
=0.9.0
30323 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30324 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
30325 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30326 { echo "$as_me:$LINENO: result: yes" >&5
30327 echo "${ECHO_T}yes" >&6; }
30329 { echo "$as_me:$LINENO: result: no" >&5
30330 echo "${ECHO_T}no" >&6; }
30338 { echo "$as_me:$LINENO: checking for PANGOX" >&5
30339 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
30341 if test -n "$PKG_CONFIG"; then
30342 if test -n "$PANGOX_CFLAGS"; then
30343 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
30345 if test -n "$PKG_CONFIG" && \
30346 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30347 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30350 (exit $ac_status); }; then
30351 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
30359 if test -n "$PKG_CONFIG"; then
30360 if test -n "$PANGOX_LIBS"; then
30361 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
30363 if test -n "$PKG_CONFIG" && \
30364 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30365 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30368 (exit $ac_status); }; then
30369 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
30380 if test $pkg_failed = yes; then
30382 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30383 _pkg_short_errors_supported
=yes
30385 _pkg_short_errors_supported
=no
30387 if test $_pkg_short_errors_supported = yes; then
30388 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
30390 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
30392 # Put the nasty error message in config.log where it belongs
30393 echo "$PANGOX_PKG_ERRORS" >&5
30396 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30397 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30398 { (exit 1); exit 1; }; }
30401 elif test $pkg_failed = untried
; then
30403 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30404 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30405 { (exit 1); exit 1; }; }
30409 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
30410 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
30411 { echo "$as_me:$LINENO: result: yes" >&5
30412 echo "${ECHO_T}yes" >&6; }
30414 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
30415 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
30416 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
30421 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
30422 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
30424 if test -n "$PKG_CONFIG"; then
30425 if test -n "$PANGOFT2_CFLAGS"; then
30426 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
30428 if test -n "$PKG_CONFIG" && \
30429 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30430 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30433 (exit $ac_status); }; then
30434 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
30442 if test -n "$PKG_CONFIG"; then
30443 if test -n "$PANGOFT2_LIBS"; then
30444 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
30446 if test -n "$PKG_CONFIG" && \
30447 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30448 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30451 (exit $ac_status); }; then
30452 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
30463 if test $pkg_failed = yes; then
30465 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30466 _pkg_short_errors_supported
=yes
30468 _pkg_short_errors_supported
=no
30470 if test $_pkg_short_errors_supported = yes; then
30471 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
30473 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
30475 # Put the nasty error message in config.log where it belongs
30476 echo "$PANGOFT2_PKG_ERRORS" >&5
30479 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30480 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30481 wxUSE_PRINTING_ARCHITECTURE
="no"
30484 elif test $pkg_failed = untried
; then
30486 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30487 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30488 wxUSE_PRINTING_ARCHITECTURE
="no"
30492 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
30493 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
30494 { echo "$as_me:$LINENO: result: yes" >&5
30495 echo "${ECHO_T}yes" >&6; }
30497 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
30498 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
30499 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
30504 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
30505 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
30507 if test -n "$PKG_CONFIG"; then
30508 if test -n "$PANGOXFT_CFLAGS"; then
30509 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
30511 if test -n "$PKG_CONFIG" && \
30512 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30513 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30516 (exit $ac_status); }; then
30517 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
30525 if test -n "$PKG_CONFIG"; then
30526 if test -n "$PANGOXFT_LIBS"; then
30527 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
30529 if test -n "$PKG_CONFIG" && \
30530 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30531 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30534 (exit $ac_status); }; then
30535 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
30546 if test $pkg_failed = yes; then
30548 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30549 _pkg_short_errors_supported
=yes
30551 _pkg_short_errors_supported
=no
30553 if test $_pkg_short_errors_supported = yes; then
30554 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
30556 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
30558 # Put the nasty error message in config.log where it belongs
30559 echo "$PANGOXFT_PKG_ERRORS" >&5
30562 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30563 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30566 elif test $pkg_failed = untried
; then
30568 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30569 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30573 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
30574 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
30575 { echo "$as_me:$LINENO: result: yes" >&5
30576 echo "${ECHO_T}yes" >&6; }
30578 cat >>confdefs.h
<<\_ACEOF
30579 #define HAVE_PANGO_XFT 1
30582 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
30583 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
30584 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
30588 LIBS
="$LIBS $PANGOX_LIBS"
30590 for ac_func
in pango_font_family_is_monospace
30592 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30593 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30594 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30595 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30596 echo $ECHO_N "(cached) $ECHO_C" >&6
30598 cat >conftest.
$ac_ext <<_ACEOF
30601 cat confdefs.h
>>conftest.
$ac_ext
30602 cat >>conftest.
$ac_ext <<_ACEOF
30603 /* end confdefs.h. */
30604 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30605 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30606 #define $ac_func innocuous_$ac_func
30608 /* System header to define __stub macros and hopefully few prototypes,
30609 which can conflict with char $ac_func (); below.
30610 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30611 <limits.h> exists even on freestanding compilers. */
30614 # include <limits.h>
30616 # include <assert.h>
30621 /* Override any GCC internal prototype to avoid an error.
30622 Use char because int might match the return type of a GCC
30623 builtin and then its argument prototype would still apply. */
30628 /* The GNU C library defines this for functions which it implements
30629 to always fail with ENOSYS. Some functions are actually named
30630 something starting with __ and the normal name is an alias. */
30631 #if defined __stub_$ac_func || defined __stub___$ac_func
30638 return $ac_func ();
30643 rm -f conftest.
$ac_objext conftest
$ac_exeext
30644 if { (ac_try
="$ac_link"
30645 case "(($ac_try" in
30646 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30647 *) ac_try_echo=$ac_try;;
30649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30650 (eval "$ac_link") 2>conftest.er1
30652 grep -v '^ *+' conftest.er1 >conftest.err
30654 cat conftest.err >&5
30655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30656 (exit $ac_status); } && {
30657 test -z "$ac_c_werror_flag" ||
30658 test ! -s conftest.err
30659 } && test -s conftest$ac_exeext &&
30660 $as_test_x conftest$ac_exeext; then
30661 eval "$as_ac_var=yes"
30663 echo "$as_me: failed program was:" >&5
30664 sed 's/^/| /' conftest.$ac_ext >&5
30666 eval "$as_ac_var=no"
30669 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30670 conftest$ac_exeext conftest.$ac_ext
30672 ac_res=`eval echo '${'$as_ac_var'}'`
30673 { echo "$as_me:$LINENO: result: $ac_res" >&5
30674 echo "${ECHO_T}$ac_res" >&6; }
30675 if test `eval echo '${'$as_ac_var'}'` = yes; then
30676 cat >>confdefs.h <<_ACEOF
30677 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30686 wxUSE_UNIVERSAL="yes"
30688 if test "$wxUSE_NANOX" = "yes"; then
30689 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
30690 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"
30691 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
30693 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
30700 if test "$wxUSE_MOTIF" = 1; then
30701 if test "$wxUSE_UNICODE" = "yes"; then
30702 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
30703 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
30704 { (exit 1); exit 1; }; }
30707 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
30708 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
30711 for ac_dir in $SEARCH_INCLUDE /usr/include;
30713 if test -f "$ac_dir/Xm/Xm.h"; then
30714 ac_find_includes=$ac_dir
30719 if test "$ac_find_includes" != "" ; then
30720 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
30721 echo "${ECHO_T}found in $ac_find_includes" >&6; }
30723 if test "x$ac_find_includes" = "x/usr/include"; then
30724 ac_path_to_include=""
30726 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
30728 if test $result = 0; then
30729 ac_path_to_include=""
30731 ac_path_to_include=" -I$ac_find_includes"
30735 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
30737 save_CFLAGS=$CFLAGS
30738 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30740 cat >conftest.$ac_ext <<_ACEOF
30743 cat confdefs.h >>conftest.$ac_ext
30744 cat >>conftest.$ac_ext <<_ACEOF
30745 /* end confdefs.h. */
30754 version = xmUseVersion;
30760 rm -f conftest.$ac_objext
30761 if { (ac_try="$ac_compile"
30762 case "(($ac_try" in
30763 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30764 *) ac_try_echo
=$ac_try;;
30766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30767 (eval "$ac_compile") 2>conftest.er1
30769 grep -v '^ *+' conftest.er1
>conftest.err
30771 cat conftest.err
>&5
30772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30773 (exit $ac_status); } && {
30774 test -z "$ac_c_werror_flag" ||
30775 test ! -s conftest.err
30776 } && test -s conftest.
$ac_objext; then
30778 { echo "$as_me:$LINENO: result: found in default search path" >&5
30779 echo "${ECHO_T}found in default search path" >&6; }
30780 COMPILED_X_PROGRAM
=1
30783 echo "$as_me: failed program was:" >&5
30784 sed 's/^/| /' conftest.
$ac_ext >&5
30787 { echo "$as_me:$LINENO: result: no" >&5
30788 echo "${ECHO_T}no" >&6; }
30789 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
30790 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
30791 { (exit 1); exit 1; }; }
30796 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30798 CFLAGS
=$save_CFLAGS
30802 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
30803 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
30806 for ac_dir
in $SEARCH_LIB;
30808 for ac_extension
in a so sl dylib dll.a
; do
30809 if test -f "$ac_dir/libXm.$ac_extension"; then
30810 ac_find_libraries
=$ac_dir
30817 if test "x$ac_find_libraries" != "x" ; then
30818 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30819 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
30822 if test "$ac_find_libraries" = "default location"; then
30825 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
30827 if test $result = 0; then
30830 ac_path_to_link
=" -L$ac_find_libraries"
30834 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
30836 save_CFLAGS
=$CFLAGS
30837 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
30839 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
30841 cat >conftest.
$ac_ext <<_ACEOF
30844 cat confdefs.h
>>conftest.
$ac_ext
30845 cat >>conftest.
$ac_ext <<_ACEOF
30846 /* end confdefs.h. */
30855 version = xmUseVersion;
30861 rm -f conftest.
$ac_objext conftest
$ac_exeext
30862 if { (ac_try
="$ac_link"
30863 case "(($ac_try" in
30864 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30865 *) ac_try_echo=$ac_try;;
30867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30868 (eval "$ac_link") 2>conftest.er1
30870 grep -v '^ *+' conftest.er1 >conftest.err
30872 cat conftest.err >&5
30873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30874 (exit $ac_status); } && {
30875 test -z "$ac_c_werror_flag" ||
30876 test ! -s conftest.err
30877 } && test -s conftest$ac_exeext &&
30878 $as_test_x conftest$ac_exeext; then
30880 { echo "$as_me:$LINENO: result: found in default search path" >&5
30881 echo "${ECHO_T}found in default search path" >&6; }
30882 COMPILED_X_PROGRAM=1
30885 echo "$as_me: failed program was:" >&5
30886 sed 's/^/| /' conftest.$ac_ext >&5
30889 { echo "$as_me:$LINENO: result: no" >&5
30890 echo "${ECHO_T}no" >&6; }
30891 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
30892 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
30893 { (exit 1); exit 1; }; }
30898 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30899 conftest$ac_exeext conftest.$ac_ext
30901 CFLAGS=$save_CFLAGS
30905 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
30906 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
30910 for libp in "" " -lXp"; do
30911 if test "$libs_found" = "0"; then
30912 for libsm_ice in "" " -lSM -lICE"; do
30913 if test "$libs_found" = "0"; then
30915 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
30916 save_CFLAGS=$CFLAGS
30917 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30919 cat >conftest.$ac_ext <<_ACEOF
30922 cat confdefs.h >>conftest.$ac_ext
30923 cat >>conftest.$ac_ext <<_ACEOF
30924 /* end confdefs.h. */
30927 #include <Xm/List.h>
30933 XmString string = NULL;
30936 XmListAddItem(w, string, position);
30942 rm -f conftest.$ac_objext conftest$ac_exeext
30943 if { (ac_try="$ac_link"
30944 case "(($ac_try" in
30945 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30946 *) ac_try_echo
=$ac_try;;
30948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30949 (eval "$ac_link") 2>conftest.er1
30951 grep -v '^ *+' conftest.er1
>conftest.err
30953 cat conftest.err
>&5
30954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30955 (exit $ac_status); } && {
30956 test -z "$ac_c_werror_flag" ||
30957 test ! -s conftest.err
30958 } && test -s conftest
$ac_exeext &&
30959 $as_test_x conftest
$ac_exeext; then
30962 libsm_ice_link
="$libsm_ice"
30963 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
30964 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
30968 echo "$as_me: failed program was:" >&5
30969 sed 's/^/| /' conftest.
$ac_ext >&5
30975 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30976 conftest
$ac_exeext conftest.
$ac_ext
30979 CFLAGS
=$save_CFLAGS
30985 if test "$libs_found" = "0"; then
30986 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
30987 echo "${ECHO_T}can't find the right libraries" >&6; }
30988 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
30989 echo "$as_me: error: can't link a simple motif program" >&2;}
30990 { (exit 1); exit 1; }; }
30993 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
30994 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
30995 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
30996 echo $ECHO_N "(cached) $ECHO_C" >&6
30998 ac_check_lib_save_LIBS
=$LIBS
31000 cat >conftest.
$ac_ext <<_ACEOF
31003 cat confdefs.h
>>conftest.
$ac_ext
31004 cat >>conftest.
$ac_ext <<_ACEOF
31005 /* end confdefs.h. */
31007 /* Override any GCC internal prototype to avoid an error.
31008 Use char because int might match the return type of a GCC
31009 builtin and then its argument prototype would still apply. */
31013 char SgCreateList ();
31017 return SgCreateList ();
31022 rm -f conftest.
$ac_objext conftest
$ac_exeext
31023 if { (ac_try
="$ac_link"
31024 case "(($ac_try" in
31025 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31026 *) ac_try_echo=$ac_try;;
31028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31029 (eval "$ac_link") 2>conftest.er1
31031 grep -v '^ *+' conftest.er1 >conftest.err
31033 cat conftest.err >&5
31034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31035 (exit $ac_status); } && {
31036 test -z "$ac_c_werror_flag" ||
31037 test ! -s conftest.err
31038 } && test -s conftest$ac_exeext &&
31039 $as_test_x conftest$ac_exeext; then
31040 ac_cv_lib_Sgm_SgCreateList=yes
31042 echo "$as_me: failed program was:" >&5
31043 sed 's/^/| /' conftest.$ac_ext >&5
31045 ac_cv_lib_Sgm_SgCreateList=no
31048 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31049 conftest$ac_exeext conftest.$ac_ext
31050 LIBS=$ac_check_lib_save_LIBS
31052 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
31053 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
31054 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
31055 libsgm_link=" -lSgm"
31059 save_CFLAGS=$CFLAGS
31060 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31062 { echo "$as_me:$LINENO: checking for Motif 2" >&5
31063 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
31064 if test "${wx_cv_lib_motif2+set}" = set; then
31065 echo $ECHO_N "(cached) $ECHO_C" >&6
31067 cat >conftest.$ac_ext <<_ACEOF
31070 cat confdefs.h >>conftest.$ac_ext
31071 cat >>conftest.$ac_ext <<_ACEOF
31072 /* end confdefs.h. */
31080 #if XmVersion < 2000
31088 rm -f conftest.$ac_objext
31089 if { (ac_try="$ac_compile"
31090 case "(($ac_try" in
31091 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31092 *) ac_try_echo
=$ac_try;;
31094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31095 (eval "$ac_compile") 2>conftest.er1
31097 grep -v '^ *+' conftest.er1
>conftest.err
31099 cat conftest.err
>&5
31100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31101 (exit $ac_status); } && {
31102 test -z "$ac_c_werror_flag" ||
31103 test ! -s conftest.err
31104 } && test -s conftest.
$ac_objext; then
31105 wx_cv_lib_motif2
="yes"
31107 echo "$as_me: failed program was:" >&5
31108 sed 's/^/| /' conftest.
$ac_ext >&5
31110 wx_cv_lib_motif2
="no"
31113 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31115 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
31116 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
31117 if test "$wx_cv_lib_motif2" = "yes"; then
31118 cat >>confdefs.h
<<\_ACEOF
31119 #define __WXMOTIF20__ 1
31123 cat >>confdefs.h
<<\_ACEOF
31124 #define __WXMOTIF20__ 0
31129 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
31130 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
31131 if test "${wx_cv_lib_lesstif+set}" = set; then
31132 echo $ECHO_N "(cached) $ECHO_C" >&6
31134 cat >conftest.
$ac_ext <<_ACEOF
31137 cat confdefs.h
>>conftest.
$ac_ext
31138 cat >>conftest.
$ac_ext <<_ACEOF
31139 /* end confdefs.h. */
31147 #if !defined(LesstifVersion) || LesstifVersion <= 0
31155 rm -f conftest.
$ac_objext
31156 if { (ac_try
="$ac_compile"
31157 case "(($ac_try" in
31158 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31159 *) ac_try_echo=$ac_try;;
31161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31162 (eval "$ac_compile") 2>conftest.er1
31164 grep -v '^ *+' conftest.er1 >conftest.err
31166 cat conftest.err >&5
31167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31168 (exit $ac_status); } && {
31169 test -z "$ac_c_werror_flag" ||
31170 test ! -s conftest.err
31171 } && test -s conftest.$ac_objext; then
31172 wx_cv_lib_lesstif="yes"
31174 echo "$as_me: failed program was:" >&5
31175 sed 's/^/| /' conftest.$ac_ext >&5
31177 wx_cv_lib_lesstif="no"
31180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31183 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31184 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
31185 if test "$wx_cv_lib_lesstif" = "yes"; then
31186 cat >>confdefs.h <<\_ACEOF
31187 #define __WXLESSTIF__ 1
31191 cat >>confdefs.h <<\_ACEOF
31192 #define __WXLESSTIF__ 0
31197 CFLAGS=$save_CFLAGS
31199 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31204 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31205 if test "$wxUSE_LIBXPM" = "sys"; then
31206 { echo "$as_me:$LINENO: checking for Xpm library" >&5
31207 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
31210 for ac_dir in $SEARCH_LIB;
31212 for ac_extension in a so sl dylib dll.a; do
31213 if test -f "$ac_dir/libXpm.$ac_extension"; then
31214 ac_find_libraries=$ac_dir
31220 if test "$ac_find_libraries" != "" ; then
31222 if test "$ac_find_libraries" = "default location"; then
31225 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31227 if test $result = 0; then
31230 ac_path_to_link=" -L$ac_find_libraries"
31234 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31235 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31236 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31238 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31239 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
31240 if test "${wx_cv_x11_xpm_h+set}" = set; then
31241 echo $ECHO_N "(cached) $ECHO_C" >&6
31244 save_CFLAGS=$CFLAGS
31245 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31247 cat >conftest.$ac_ext <<_ACEOF
31250 cat confdefs.h >>conftest.$ac_ext
31251 cat >>conftest.$ac_ext <<_ACEOF
31252 /* end confdefs.h. */
31254 #include <X11/xpm.h>
31261 version = XpmLibraryVersion();
31267 rm -f conftest.$ac_objext
31268 if { (ac_try="$ac_compile"
31269 case "(($ac_try" in
31270 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31271 *) ac_try_echo
=$ac_try;;
31273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31274 (eval "$ac_compile") 2>conftest.er1
31276 grep -v '^ *+' conftest.er1
>conftest.err
31278 cat conftest.err
>&5
31279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31280 (exit $ac_status); } && {
31281 test -z "$ac_c_werror_flag" ||
31282 test ! -s conftest.err
31283 } && test -s conftest.
$ac_objext; then
31284 wx_cv_x11_xpm_h
=yes
31286 echo "$as_me: failed program was:" >&5
31287 sed 's/^/| /' conftest.
$ac_ext >&5
31293 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31295 CFLAGS
=$save_CFLAGS
31299 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
31300 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
31302 if test $wx_cv_x11_xpm_h = "yes"; then
31303 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
31304 cat >>confdefs.h
<<\_ACEOF
31305 #define wxHAVE_LIB_XPM 1
31309 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
31310 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
31316 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
31317 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
31318 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
31319 echo $ECHO_N "(cached) $ECHO_C" >&6
31321 ac_check_lib_save_LIBS
=$LIBS
31322 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
31323 cat >conftest.
$ac_ext <<_ACEOF
31326 cat confdefs.h
>>conftest.
$ac_ext
31327 cat >>conftest.
$ac_ext <<_ACEOF
31328 /* end confdefs.h. */
31330 /* Override any GCC internal prototype to avoid an error.
31331 Use char because int might match the return type of a GCC
31332 builtin and then its argument prototype would still apply. */
31336 char XShapeQueryExtension ();
31340 return XShapeQueryExtension ();
31345 rm -f conftest.
$ac_objext conftest
$ac_exeext
31346 if { (ac_try
="$ac_link"
31347 case "(($ac_try" in
31348 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31349 *) ac_try_echo=$ac_try;;
31351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31352 (eval "$ac_link") 2>conftest.er1
31354 grep -v '^ *+' conftest.er1 >conftest.err
31356 cat conftest.err >&5
31357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31358 (exit $ac_status); } && {
31359 test -z "$ac_c_werror_flag" ||
31360 test ! -s conftest.err
31361 } && test -s conftest$ac_exeext &&
31362 $as_test_x conftest$ac_exeext; then
31363 ac_cv_lib_Xext_XShapeQueryExtension=yes
31365 echo "$as_me: failed program was:" >&5
31366 sed 's/^/| /' conftest.$ac_ext >&5
31368 ac_cv_lib_Xext_XShapeQueryExtension=no
31371 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31372 conftest$ac_exeext conftest.$ac_ext
31373 LIBS=$ac_check_lib_save_LIBS
31375 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
31376 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
31377 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
31379 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
31385 if test "$wxHAVE_XEXT_LIB" = 1; then
31386 save_CFLAGS="$CFLAGS"
31387 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31389 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
31390 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
31391 cat >conftest.$ac_ext <<_ACEOF
31394 cat confdefs.h >>conftest.$ac_ext
31395 cat >>conftest.$ac_ext <<_ACEOF
31396 /* end confdefs.h. */
31398 #include <X11/Xlib.h>
31399 #include <X11/extensions/shape.h>
31405 int dummy1, dummy2;
31406 XShapeQueryExtension((Display*)NULL,
31407 (int*)NULL, (int*)NULL);
31413 rm -f conftest.$ac_objext
31414 if { (ac_try="$ac_compile"
31415 case "(($ac_try" in
31416 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31417 *) ac_try_echo
=$ac_try;;
31419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31420 (eval "$ac_compile") 2>conftest.er1
31422 grep -v '^ *+' conftest.er1
>conftest.err
31424 cat conftest.err
>&5
31425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31426 (exit $ac_status); } && {
31427 test -z "$ac_c_werror_flag" ||
31428 test ! -s conftest.err
31429 } && test -s conftest.
$ac_objext; then
31431 cat >>confdefs.h
<<\_ACEOF
31432 #define HAVE_XSHAPE 1
31435 { echo "$as_me:$LINENO: result: found" >&5
31436 echo "${ECHO_T}found" >&6; }
31439 echo "$as_me: failed program was:" >&5
31440 sed 's/^/| /' conftest.
$ac_ext >&5
31443 { echo "$as_me:$LINENO: result: not found" >&5
31444 echo "${ECHO_T}not found" >&6; }
31448 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31449 CFLAGS
="$save_CFLAGS"
31454 if test "$wxUSE_MAC" = 1; then
31455 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
31456 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
31457 if test "$GCC" = yes; then
31458 { echo "$as_me:$LINENO: result: gcc" >&5
31459 echo "${ECHO_T}gcc" >&6; }
31460 CPPFLAGS_PASCAL
="-fpascal-strings"
31461 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
31462 { echo "$as_me:$LINENO: result: xlc" >&5
31463 echo "${ECHO_T}xlc" >&6; }
31464 CPPFLAGS_PASCAL
="-qmacpstr"
31466 { echo "$as_me:$LINENO: result: none" >&5
31467 echo "${ECHO_T}none" >&6; }
31470 if test "x$wxUSE_UNIX" = "xyes"; then
31471 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
31473 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
31478 WXBASEPORT
="_carbon"
31481 if test "$wxUSE_COCOA" = 1; then
31486 if test "$wxUSE_PM" = 1; then
31489 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
31490 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
31491 if test "${wx_cv_spbcdata+set}" = set; then
31492 echo $ECHO_N "(cached) $ECHO_C" >&6
31495 cat >conftest.
$ac_ext <<_ACEOF
31498 cat confdefs.h
>>conftest.
$ac_ext
31499 cat >>conftest.
$ac_ext <<_ACEOF
31500 /* end confdefs.h. */
31515 rm -f conftest.
$ac_objext
31516 if { (ac_try
="$ac_compile"
31517 case "(($ac_try" in
31518 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31519 *) ac_try_echo=$ac_try;;
31521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31522 (eval "$ac_compile") 2>conftest.er1
31524 grep -v '^ *+' conftest.er1 >conftest.err
31526 cat conftest.err >&5
31527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31528 (exit $ac_status); } && {
31529 test -z "$ac_c_werror_flag" ||
31530 test ! -s conftest.err
31531 } && test -s conftest.$ac_objext; then
31534 echo "$as_me: failed program was:" >&5
31535 sed 's/^/| /' conftest.$ac_ext >&5
31541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31545 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
31546 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
31548 if test $wx_cv_spbcdata = "yes"; then
31549 cat >>confdefs.h <<\_ACEOF
31550 #define HAVE_SPBCDATA 1
31556 if test "$TOOLKIT" = "PM" ; then
31559 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
31562 if test "$wxUSE_UNIVERSAL" = "yes"; then
31563 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
31567 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
31568 DISTDIR="wx\$(TOOLKIT)"
31574 if test "$USE_WIN32" = 1 ; then
31578 GUIDIST="BASE_DIST"
31584 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
31585 if test "$TOOLKIT" = "DFB" ; then
31586 wxUSE_UNICODE_UTF8=yes
31587 elif test "$TOOLKIT" = "GTK" -a "$WXGTK20" = "1" ; then
31588 wxUSE_UNICODE_UTF8=yes
31590 wxUSE_UNICODE_UTF8=no
31595 if test "$wxUSE_GUI" = "yes"; then
31596 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
31597 { echo "$as_me:$LINENO: checking for X11/Xlib.h" >&5
31598 echo $ECHO_N "checking for X11/Xlib.h... $ECHO_C" >&6; }
31599 if test "${ac_cv_header_X11_Xlib_h+set}" = set; then
31600 echo $ECHO_N "(cached) $ECHO_C" >&6
31602 cat >conftest.$ac_ext <<_ACEOF
31605 cat confdefs.h >>conftest.$ac_ext
31606 cat >>conftest.$ac_ext <<_ACEOF
31607 /* end confdefs.h. */
31610 #include <X11/Xlib.h>
31612 rm -f conftest.$ac_objext
31613 if { (ac_try="$ac_compile"
31614 case "(($ac_try" in
31615 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31616 *) ac_try_echo
=$ac_try;;
31618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31619 (eval "$ac_compile") 2>conftest.er1
31621 grep -v '^ *+' conftest.er1
>conftest.err
31623 cat conftest.err
>&5
31624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31625 (exit $ac_status); } && {
31626 test -z "$ac_c_werror_flag" ||
31627 test ! -s conftest.err
31628 } && test -s conftest.
$ac_objext; then
31629 ac_cv_header_X11_Xlib_h
=yes
31631 echo "$as_me: failed program was:" >&5
31632 sed 's/^/| /' conftest.
$ac_ext >&5
31634 ac_cv_header_X11_Xlib_h
=no
31637 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31639 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xlib_h" >&5
31640 echo "${ECHO_T}$ac_cv_header_X11_Xlib_h" >&6; }
31643 { echo "$as_me:$LINENO: checking for X11/XKBlib.h" >&5
31644 echo $ECHO_N "checking for X11/XKBlib.h... $ECHO_C" >&6; }
31645 if test "${ac_cv_header_X11_XKBlib_h+set}" = set; then
31646 echo $ECHO_N "(cached) $ECHO_C" >&6
31648 cat >conftest.
$ac_ext <<_ACEOF
31651 cat confdefs.h
>>conftest.
$ac_ext
31652 cat >>conftest.
$ac_ext <<_ACEOF
31653 /* end confdefs.h. */
31655 #if HAVE_X11_XLIB_H
31656 #include <X11/Xlib.h>
31660 #include <X11/XKBlib.h>
31662 rm -f conftest.
$ac_objext
31663 if { (ac_try
="$ac_compile"
31664 case "(($ac_try" in
31665 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31666 *) ac_try_echo=$ac_try;;
31668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31669 (eval "$ac_compile") 2>conftest.er1
31671 grep -v '^ *+' conftest.er1 >conftest.err
31673 cat conftest.err >&5
31674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31675 (exit $ac_status); } && {
31676 test -z "$ac_c_werror_flag" ||
31677 test ! -s conftest.err
31678 } && test -s conftest.$ac_objext; then
31679 ac_cv_header_X11_XKBlib_h=yes
31681 echo "$as_me: failed program was:" >&5
31682 sed 's/^/| /' conftest.$ac_ext >&5
31684 ac_cv_header_X11_XKBlib_h=no
31687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31689 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_XKBlib_h" >&5
31690 echo "${ECHO_T}$ac_cv_header_X11_XKBlib_h" >&6; }
31701 if test "$TOOLKIT" != "MSW" ; then
31703 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
31705 { echo "$as_me:$LINENO: checking for sql.h" >&5
31706 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
31707 if test "${ac_cv_header_sql_h+set}" = set; then
31708 echo $ECHO_N "(cached) $ECHO_C" >&6
31710 cat >conftest.$ac_ext <<_ACEOF
31713 cat confdefs.h >>conftest.$ac_ext
31714 cat >>conftest.$ac_ext <<_ACEOF
31715 /* end confdefs.h. */
31720 rm -f conftest.$ac_objext
31721 if { (ac_try="$ac_compile"
31722 case "(($ac_try" in
31723 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31724 *) ac_try_echo
=$ac_try;;
31726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31727 (eval "$ac_compile") 2>conftest.er1
31729 grep -v '^ *+' conftest.er1
>conftest.err
31731 cat conftest.err
>&5
31732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31733 (exit $ac_status); } && {
31734 test -z "$ac_c_werror_flag" ||
31735 test ! -s conftest.err
31736 } && test -s conftest.
$ac_objext; then
31737 ac_cv_header_sql_h
=yes
31739 echo "$as_me: failed program was:" >&5
31740 sed 's/^/| /' conftest.
$ac_ext >&5
31742 ac_cv_header_sql_h
=no
31745 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31747 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
31748 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
31749 if test $ac_cv_header_sql_h = yes; then
31754 if test "x$found_sql_h" = "x1" ; then
31755 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
31756 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6; }
31757 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
31758 echo $ECHO_N "(cached) $ECHO_C" >&6
31760 ac_check_lib_save_LIBS
=$LIBS
31761 LIBS
="-liodbc $LIBS"
31762 cat >conftest.
$ac_ext <<_ACEOF
31765 cat confdefs.h
>>conftest.
$ac_ext
31766 cat >>conftest.
$ac_ext <<_ACEOF
31767 /* end confdefs.h. */
31769 /* Override any GCC internal prototype to avoid an error.
31770 Use char because int might match the return type of a GCC
31771 builtin and then its argument prototype would still apply. */
31775 char SQLAllocEnv ();
31779 return SQLAllocEnv ();
31784 rm -f conftest.
$ac_objext conftest
$ac_exeext
31785 if { (ac_try
="$ac_link"
31786 case "(($ac_try" in
31787 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31788 *) ac_try_echo=$ac_try;;
31790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31791 (eval "$ac_link") 2>conftest.er1
31793 grep -v '^ *+' conftest.er1 >conftest.err
31795 cat conftest.err >&5
31796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31797 (exit $ac_status); } && {
31798 test -z "$ac_c_werror_flag" ||
31799 test ! -s conftest.err
31800 } && test -s conftest$ac_exeext &&
31801 $as_test_x conftest$ac_exeext; then
31802 ac_cv_lib_iodbc_SQLAllocEnv=yes
31804 echo "$as_me: failed program was:" >&5
31805 sed 's/^/| /' conftest.$ac_ext >&5
31807 ac_cv_lib_iodbc_SQLAllocEnv=no
31810 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31811 conftest$ac_exeext conftest.$ac_ext
31812 LIBS=$ac_check_lib_save_LIBS
31814 { echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
31815 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6; }
31816 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
31817 ODBC_LINK=" -liodbc"
31820 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
31821 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6; }
31822 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
31823 echo $ECHO_N "(cached) $ECHO_C" >&6
31825 ac_check_lib_save_LIBS=$LIBS
31826 LIBS="-lunixodbc $LIBS"
31827 cat >conftest.$ac_ext <<_ACEOF
31830 cat confdefs.h >>conftest.$ac_ext
31831 cat >>conftest.$ac_ext <<_ACEOF
31832 /* end confdefs.h. */
31834 /* Override any GCC internal prototype to avoid an error.
31835 Use char because int might match the return type of a GCC
31836 builtin and then its argument prototype would still apply. */
31840 char SQLAllocEnv ();
31844 return SQLAllocEnv ();
31849 rm -f conftest.$ac_objext conftest$ac_exeext
31850 if { (ac_try="$ac_link"
31851 case "(($ac_try" in
31852 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31853 *) ac_try_echo
=$ac_try;;
31855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31856 (eval "$ac_link") 2>conftest.er1
31858 grep -v '^ *+' conftest.er1
>conftest.err
31860 cat conftest.err
>&5
31861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31862 (exit $ac_status); } && {
31863 test -z "$ac_c_werror_flag" ||
31864 test ! -s conftest.err
31865 } && test -s conftest
$ac_exeext &&
31866 $as_test_x conftest
$ac_exeext; then
31867 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
31869 echo "$as_me: failed program was:" >&5
31870 sed 's/^/| /' conftest.
$ac_ext >&5
31872 ac_cv_lib_unixodbc_SQLAllocEnv
=no
31875 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31876 conftest
$ac_exeext conftest.
$ac_ext
31877 LIBS
=$ac_check_lib_save_LIBS
31879 { echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
31880 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6; }
31881 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
31882 ODBC_LINK
=" -lunixodbc"
31885 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
31886 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6; }
31887 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
31888 echo $ECHO_N "(cached) $ECHO_C" >&6
31890 ac_check_lib_save_LIBS
=$LIBS
31891 LIBS
="-lodbc $LIBS"
31892 cat >conftest.
$ac_ext <<_ACEOF
31895 cat confdefs.h
>>conftest.
$ac_ext
31896 cat >>conftest.
$ac_ext <<_ACEOF
31897 /* end confdefs.h. */
31899 /* Override any GCC internal prototype to avoid an error.
31900 Use char because int might match the return type of a GCC
31901 builtin and then its argument prototype would still apply. */
31905 char SQLAllocEnv ();
31909 return SQLAllocEnv ();
31914 rm -f conftest.
$ac_objext conftest
$ac_exeext
31915 if { (ac_try
="$ac_link"
31916 case "(($ac_try" in
31917 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31918 *) ac_try_echo=$ac_try;;
31920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31921 (eval "$ac_link") 2>conftest.er1
31923 grep -v '^ *+' conftest.er1 >conftest.err
31925 cat conftest.err >&5
31926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31927 (exit $ac_status); } && {
31928 test -z "$ac_c_werror_flag" ||
31929 test ! -s conftest.err
31930 } && test -s conftest$ac_exeext &&
31931 $as_test_x conftest$ac_exeext; then
31932 ac_cv_lib_odbc_SQLAllocEnv=yes
31934 echo "$as_me: failed program was:" >&5
31935 sed 's/^/| /' conftest.$ac_ext >&5
31937 ac_cv_lib_odbc_SQLAllocEnv=no
31940 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31941 conftest$ac_exeext conftest.$ac_ext
31942 LIBS=$ac_check_lib_save_LIBS
31944 { echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
31945 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6; }
31946 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
31947 ODBC_LINK=" -lodbc"
31957 if test "x$ODBC_LINK" = "x" ; then
31958 if test "$wxUSE_ODBC" = "sys" ; then
31959 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
31960 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
31961 { (exit 1); exit 1; }; }
31963 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
31964 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
31972 if test "$wxUSE_ODBC" = "builtin" ; then
31973 cat >>confdefs.h <<\_ACEOF
31974 #define wxUSE_BUILTIN_IODBC 1
31980 if test "$wxUSE_ODBC" != "no" ; then
31981 cat >>confdefs.h <<\_ACEOF
31982 #define wxUSE_ODBC 1
31985 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
31987 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
31991 if test "$wxUSE_DISPLAY" = "yes"; then
31992 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
31993 { echo "$as_me:$LINENO: checking for Xinerama" >&5
31994 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
31997 for ac_dir in $SEARCH_LIB;
31999 for ac_extension in a so sl dylib dll.a; do
32000 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32001 ac_find_libraries=$ac_dir
32007 if test "$ac_find_libraries" != "" ; then
32009 if test "$ac_find_libraries" = "default location"; then
32012 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32014 if test $result = 0; then
32017 ac_path_to_link=" -L$ac_find_libraries"
32021 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32022 LDFLAGS="$LDFLAGS $ac_path_to_link"
32024 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32025 { echo "$as_me:$LINENO: result: yes" >&5
32026 echo "${ECHO_T}yes" >&6; }
32028 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32029 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32032 for ac_dir in $SEARCH_LIB;
32034 for ac_extension in a so sl dylib dll.a; do
32035 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32036 ac_find_libraries=$ac_dir
32042 if test "$ac_find_libraries" != "" ; then
32043 { echo "$as_me:$LINENO: result: yes" >&5
32044 echo "${ECHO_T}yes" >&6; }
32045 { echo "$as_me:$LINENO: checking for X11/extensions/xf86vmode.h" >&5
32046 echo $ECHO_N "checking for X11/extensions/xf86vmode.h... $ECHO_C" >&6; }
32047 if test "${ac_cv_header_X11_extensions_xf86vmode_h+set}" = set; then
32048 echo $ECHO_N "(cached) $ECHO_C" >&6
32050 cat >conftest.$ac_ext <<_ACEOF
32053 cat confdefs.h >>conftest.$ac_ext
32054 cat >>conftest.$ac_ext <<_ACEOF
32055 /* end confdefs.h. */
32057 #if HAVE_X11_XLIB_H
32058 #include <X11/Xlib.h>
32062 #include <X11/extensions/xf86vmode.h>
32064 rm -f conftest.$ac_objext
32065 if { (ac_try="$ac_compile"
32066 case "(($ac_try" in
32067 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32068 *) ac_try_echo
=$ac_try;;
32070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32071 (eval "$ac_compile") 2>conftest.er1
32073 grep -v '^ *+' conftest.er1
>conftest.err
32075 cat conftest.err
>&5
32076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32077 (exit $ac_status); } && {
32078 test -z "$ac_c_werror_flag" ||
32079 test ! -s conftest.err
32080 } && test -s conftest.
$ac_objext; then
32081 ac_cv_header_X11_extensions_xf86vmode_h
=yes
32083 echo "$as_me: failed program was:" >&5
32084 sed 's/^/| /' conftest.
$ac_ext >&5
32086 ac_cv_header_X11_extensions_xf86vmode_h
=no
32089 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32091 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_xf86vmode_h" >&5
32092 echo "${ECHO_T}$ac_cv_header_X11_extensions_xf86vmode_h" >&6; }
32093 if test $ac_cv_header_X11_extensions_xf86vmode_h = yes; then
32095 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
32101 { echo "$as_me:$LINENO: result: no" >&5
32102 echo "${ECHO_T}no" >&6; }
32106 { echo "$as_me:$LINENO: result: no" >&5
32107 echo "${ECHO_T}no" >&6; }
32108 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32109 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32112 elif test "$wxUSE_MSW" = 1; then
32113 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
32114 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
32115 if test "${ac_cv_header_ddraw_h+set}" = set; then
32116 echo $ECHO_N "(cached) $ECHO_C" >&6
32118 cat >conftest.
$ac_ext <<_ACEOF
32121 cat confdefs.h
>>conftest.
$ac_ext
32122 cat >>conftest.
$ac_ext <<_ACEOF
32123 /* end confdefs.h. */
32124 #include <windows.h>
32128 rm -f conftest.
$ac_objext
32129 if { (ac_try
="$ac_compile"
32130 case "(($ac_try" in
32131 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32132 *) ac_try_echo=$ac_try;;
32134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32135 (eval "$ac_compile") 2>conftest.er1
32137 grep -v '^ *+' conftest.er1 >conftest.err
32139 cat conftest.err >&5
32140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32141 (exit $ac_status); } && {
32142 test -z "$ac_c_werror_flag" ||
32143 test ! -s conftest.err
32144 } && test -s conftest.$ac_objext; then
32145 ac_cv_header_ddraw_h=yes
32147 echo "$as_me: failed program was:" >&5
32148 sed 's/^/| /' conftest.$ac_ext >&5
32150 ac_cv_header_ddraw_h=no
32153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32155 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
32156 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
32162 if test "$wxUSE_DETECT_SM" = "yes"; then
32163 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32164 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
32165 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
32168 for ac_dir in $SEARCH_LIB;
32170 for ac_extension in a so sl dylib dll.a; do
32171 if test -f "$ac_dir/libSM.$ac_extension"; then
32172 ac_find_libraries=$ac_dir
32178 if test "$ac_find_libraries" != "" ; then
32180 if test "$ac_find_libraries" = "default location"; then
32183 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32185 if test $result = 0; then
32188 ac_path_to_link=" -L$ac_find_libraries"
32192 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32193 LDFLAGS="$LDFLAGS $ac_path_to_link"
32195 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
32196 { echo "$as_me:$LINENO: result: yes" >&5
32197 echo "${ECHO_T}yes" >&6; }
32199 { echo "$as_me:$LINENO: result: no" >&5
32200 echo "${ECHO_T}no" >&6; }
32201 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
32202 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
32203 wxUSE_DETECT_SM="no"
32206 wxUSE_DETECT_SM="no"
32213 if test "$wxUSE_OPENGL" = "yes"; then
32214 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
32215 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
32216 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
32218 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
32219 OPENGL_LIBS="-framework OpenGL -framework AGL"
32220 elif test "$wxUSE_MSW" = 1; then
32221 OPENGL_LIBS="-lopengl32 -lglu32"
32223 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
32224 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
32227 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
32229 if test -f "$ac_dir/GL/gl.h"; then
32230 ac_find_includes=$ac_dir
32235 if test "$ac_find_includes" != "" ; then
32236 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32237 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32239 if test "x$ac_find_includes" = "x/usr/include"; then
32240 ac_path_to_include=""
32242 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
32244 if test $result = 0; then
32245 ac_path_to_include=""
32247 ac_path_to_include=" -I$ac_find_includes"
32251 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
32253 { echo "$as_me:$LINENO: result: not found" >&5
32254 echo "${ECHO_T}not found" >&6; }
32257 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32258 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
32259 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32260 echo $ECHO_N "(cached) $ECHO_C" >&6
32262 cat >conftest.$ac_ext <<_ACEOF
32265 cat confdefs.h >>conftest.$ac_ext
32266 cat >>conftest.$ac_ext <<_ACEOF
32267 /* end confdefs.h. */
32272 rm -f conftest.$ac_objext
32273 if { (ac_try="$ac_compile"
32274 case "(($ac_try" in
32275 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32276 *) ac_try_echo
=$ac_try;;
32278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32279 (eval "$ac_compile") 2>conftest.er1
32281 grep -v '^ *+' conftest.er1
>conftest.err
32283 cat conftest.err
>&5
32284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32285 (exit $ac_status); } && {
32286 test -z "$ac_c_werror_flag" ||
32287 test ! -s conftest.err
32288 } && test -s conftest.
$ac_objext; then
32289 ac_cv_header_GL_gl_h
=yes
32291 echo "$as_me: failed program was:" >&5
32292 sed 's/^/| /' conftest.
$ac_ext >&5
32294 ac_cv_header_GL_gl_h
=no
32297 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32299 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32300 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
32301 if test $ac_cv_header_GL_gl_h = yes; then
32303 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32304 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32305 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32306 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32307 echo $ECHO_N "(cached) $ECHO_C" >&6
32309 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32310 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32312 # Is the header compilable?
32313 { echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
32314 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6; }
32315 cat >conftest.
$ac_ext <<_ACEOF
32318 cat confdefs.h
>>conftest.
$ac_ext
32319 cat >>conftest.
$ac_ext <<_ACEOF
32320 /* end confdefs.h. */
32321 $ac_includes_default
32322 #include <GL/glu.h>
32324 rm -f conftest.
$ac_objext
32325 if { (ac_try
="$ac_compile"
32326 case "(($ac_try" in
32327 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32328 *) ac_try_echo=$ac_try;;
32330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32331 (eval "$ac_compile") 2>conftest.er1
32333 grep -v '^ *+' conftest.er1 >conftest.err
32335 cat conftest.err >&5
32336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32337 (exit $ac_status); } && {
32338 test -z "$ac_c_werror_flag" ||
32339 test ! -s conftest.err
32340 } && test -s conftest.$ac_objext; then
32341 ac_header_compiler=yes
32343 echo "$as_me: failed program was:" >&5
32344 sed 's/^/| /' conftest.$ac_ext >&5
32346 ac_header_compiler=no
32349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32350 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32351 echo "${ECHO_T}$ac_header_compiler" >&6; }
32353 # Is the header present?
32354 { echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
32355 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6; }
32356 cat >conftest.$ac_ext <<_ACEOF
32359 cat confdefs.h >>conftest.$ac_ext
32360 cat >>conftest.$ac_ext <<_ACEOF
32361 /* end confdefs.h. */
32362 #include <GL/glu.h>
32364 if { (ac_try="$ac_cpp conftest.$ac_ext"
32365 case "(($ac_try" in
32366 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32367 *) ac_try_echo
=$ac_try;;
32369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32370 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32372 grep -v '^ *+' conftest.er1
>conftest.err
32374 cat conftest.err
>&5
32375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32376 (exit $ac_status); } >/dev
/null
&& {
32377 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32378 test ! -s conftest.err
32380 ac_header_preproc
=yes
32382 echo "$as_me: failed program was:" >&5
32383 sed 's/^/| /' conftest.
$ac_ext >&5
32385 ac_header_preproc
=no
32388 rm -f conftest.err conftest.
$ac_ext
32389 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32390 echo "${ECHO_T}$ac_header_preproc" >&6; }
32392 # So? What about this header?
32393 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32395 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
32396 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32397 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
32398 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
32399 ac_header_preproc
=yes
32402 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
32403 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
32404 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
32405 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
32406 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
32407 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
32408 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
32409 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
32410 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
32411 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
32412 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
32413 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
32415 ## ----------------------------------------- ##
32416 ## Report this to wx-dev@lists.wxwidgets.org ##
32417 ## ----------------------------------------- ##
32419 ) | sed "s/^/$as_me: WARNING: /" >&2
32422 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32423 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32424 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32425 echo $ECHO_N "(cached) $ECHO_C" >&6
32427 ac_cv_header_GL_glu_h
=$ac_header_preproc
32429 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32430 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32433 if test $ac_cv_header_GL_glu_h = yes; then
32437 { echo "$as_me:$LINENO: checking for -lGL" >&5
32438 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
32441 for ac_dir
in $SEARCH_LIB /opt
/graphics
/OpenGL
/lib
;
32443 for ac_extension
in a so sl dylib dll.a
; do
32444 if test -f "$ac_dir/libGL.$ac_extension"; then
32445 ac_find_libraries
=$ac_dir
32451 if test "$ac_find_libraries" != "" ; then
32452 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32453 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32456 if test "$ac_find_libraries" = "default location"; then
32459 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
32461 if test $result = 0; then
32464 ac_path_to_link
=" -L$ac_find_libraries"
32468 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32469 LDFLAGS_GL
="$ac_path_to_link"
32472 { echo "$as_me:$LINENO: checking for -lGLU" >&5
32473 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
32476 for ac_dir
in $SEARCH_LIB;
32478 for ac_extension
in a so sl dylib dll.a
; do
32479 if test -f "$ac_dir/libGLU.$ac_extension"; then
32480 ac_find_libraries
=$ac_dir
32486 if test "$ac_find_libraries" != "" ; then
32488 if test "$ac_find_libraries" = "default location"; then
32491 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
32493 if test $result = 0; then
32496 ac_path_to_link
=" -L$ac_find_libraries"
32500 if test "$ac_path_to_link" != " -L/usr/lib" -a \
32501 "$ac_path_to_link" != "$LDFLAGS_GL"; then
32502 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
32506 OPENGL_LIBS
="-lGL -lGLU"
32507 { echo "$as_me:$LINENO: result: yes" >&5
32508 echo "${ECHO_T}yes" >&6; }
32510 { echo "$as_me:$LINENO: result: no" >&5
32511 echo "${ECHO_T}no" >&6; }
32514 { echo "$as_me:$LINENO: result: no" >&5
32515 echo "${ECHO_T}no" >&6; }
32518 if test "$found_gl" != 1; then
32519 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
32520 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
32523 for ac_dir
in $SEARCH_LIB;
32525 for ac_extension
in a so sl dylib dll.a
; do
32526 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
32527 ac_find_libraries
=$ac_dir
32533 if test "$ac_find_libraries" != "" ; then
32535 if test "$ac_find_libraries" = "default location"; then
32538 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
32540 if test $result = 0; then
32543 ac_path_to_link
=" -L$ac_find_libraries"
32547 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
32548 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
32549 { echo "$as_me:$LINENO: result: yes" >&5
32550 echo "${ECHO_T}yes" >&6; }
32552 { echo "$as_me:$LINENO: result: no" >&5
32553 echo "${ECHO_T}no" >&6; }
32565 if test "x$OPENGL_LIBS" = "x"; then
32566 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
32567 echo "$as_me: error: OpenGL libraries not available" >&2;}
32568 { (exit 1); exit 1; }; }
32572 if test "$wxUSE_OPENGL" = "yes"; then
32574 cat >>confdefs.h
<<\_ACEOF
32575 #define wxUSE_OPENGL 1
32578 cat >>confdefs.h
<<\_ACEOF
32579 #define wxUSE_GLCANVAS 1
32582 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
32587 if test -n "$TOOLKIT" ; then
32588 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
32593 if test "$wxUSE_SHARED" = "yes"; then
32597 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
32598 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
32603 if test "$wxUSE_SHARED" = "yes"; then
32607 *-*-cygwin* | *-*-mingw* )
32608 wx_cv_version_script
=no
32612 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
32613 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
32614 if test "${wx_cv_version_script+set}" = set; then
32615 echo $ECHO_N "(cached) $ECHO_C" >&6
32618 echo "VER_1 { *; };" >conftest.sym
32619 echo "int main() { return 0; }" >conftest.cpp
32622 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32623 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
32624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32625 (eval $ac_try) 2>&5
32627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32628 (exit $ac_status); }; } ; then
32629 if test -s conftest.stderr
; then
32630 wx_cv_version_script
=no
32632 wx_cv_version_script
=yes
32635 wx_cv_version_script
=no
32638 if test $wx_cv_version_script = yes
32640 echo "struct B { virtual ~B() { } }; \
32641 struct D : public B { }; \
32642 void F() { D d; }" > conftest.cpp
32645 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32646 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
32647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32648 (eval $ac_try) 2>&5
32650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32651 (exit $ac_status); }; } &&
32653 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32654 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
32655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32656 (eval $ac_try) 2>&5
32658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32659 (exit $ac_status); }; }
32662 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32663 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
32664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32665 (eval $ac_try) 2>&5
32667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32668 (exit $ac_status); }; }
32670 wx_cv_version_script
=yes
32672 wx_cv_version_script
=no
32677 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
32678 rm -f conftest1.output conftest2.output conftest3.output
32681 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
32682 echo "${ECHO_T}$wx_cv_version_script" >&6; }
32684 if test $wx_cv_version_script = yes ; then
32685 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(wx_top_builddir)/version-script"
32692 *-*-linux* | *-*-gnu* )
32693 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
32694 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
32698 if test "$GCC" = yes ; then
32699 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
32701 saveLdflags
="$LDFLAGS"
32702 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
32703 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
32704 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
32705 cat >conftest.
$ac_ext <<_ACEOF
32708 cat confdefs.h
>>conftest.
$ac_ext
32709 cat >>conftest.
$ac_ext <<_ACEOF
32710 /* end confdefs.h. */
32720 rm -f conftest.
$ac_objext conftest
$ac_exeext
32721 if { (ac_try
="$ac_link"
32722 case "(($ac_try" in
32723 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32724 *) ac_try_echo=$ac_try;;
32726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32727 (eval "$ac_link") 2>conftest.er1
32729 grep -v '^ *+' conftest.er1 >conftest.err
32731 cat conftest.err >&5
32732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32733 (exit $ac_status); } && {
32734 test -z "$ac_c_werror_flag" ||
32735 test ! -s conftest.err
32736 } && test -s conftest$ac_exeext &&
32737 $as_test_x conftest$ac_exeext; then
32739 { echo "$as_me:$LINENO: result: yes" >&5
32740 echo "${ECHO_T}yes" >&6; }
32741 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
32742 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
32745 echo "$as_me: failed program was:" >&5
32746 sed 's/^/| /' conftest.$ac_ext >&5
32749 { echo "$as_me:$LINENO: result: no" >&5
32750 echo "${ECHO_T}no" >&6; }
32751 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
32752 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
32753 LDFLAGS="$saveLdflags -Wl,-R,/"
32754 cat >conftest.$ac_ext <<_ACEOF
32757 cat confdefs.h >>conftest.$ac_ext
32758 cat >>conftest.$ac_ext <<_ACEOF
32759 /* end confdefs.h. */
32769 rm -f conftest.$ac_objext conftest$ac_exeext
32770 if { (ac_try="$ac_link"
32771 case "(($ac_try" in
32772 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32773 *) ac_try_echo
=$ac_try;;
32775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32776 (eval "$ac_link") 2>conftest.er1
32778 grep -v '^ *+' conftest.er1
>conftest.err
32780 cat conftest.err
>&5
32781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32782 (exit $ac_status); } && {
32783 test -z "$ac_c_werror_flag" ||
32784 test ! -s conftest.err
32785 } && test -s conftest
$ac_exeext &&
32786 $as_test_x conftest
$ac_exeext; then
32788 { echo "$as_me:$LINENO: result: yes" >&5
32789 echo "${ECHO_T}yes" >&6; }
32790 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
32791 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
32794 echo "$as_me: failed program was:" >&5
32795 sed 's/^/| /' conftest.
$ac_ext >&5
32798 { echo "$as_me:$LINENO: result: no" >&5
32799 echo "${ECHO_T}no" >&6; }
32803 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32804 conftest
$ac_exeext conftest.
$ac_ext
32808 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32809 conftest
$ac_exeext conftest.
$ac_ext
32810 LDFLAGS
="$saveLdflags"
32812 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
32813 WXCONFIG_RPATH
="-R\$libdir"
32818 install_name_tool
=`which install_name_tool`
32819 if test "$install_name_tool" -a -x "$install_name_tool"; then
32820 SAMPLES_RPATH_POSTLINK
="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
32821 cat <<EOF >change-install-names
32823 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
32824 inst_cmd="install_name_tool "
32825 for i in \${libnames} ; do
32826 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
32830 chmod +x change
-install-names
32834 *-*-cygwin* | *-*-mingw32* )
32835 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
32839 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
32840 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
32845 if test $wxUSE_RPATH = "no"; then
32846 SAMPLES_RPATH_FLAG
=''
32847 SAMPLES_RPATH_POSTLINK
=''
32855 config_linkage_component
="-static"
32862 lib_unicode_suffix
=
32864 if test "$wxUSE_UNICODE" = "yes"; then
32865 lib_unicode_suffix
=u
32866 WX_CHARTYPE
="unicode"
32871 WX_DEBUGTYPE
="release"
32873 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
32875 WX_DEBUGTYPE
="debug"
32879 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
32880 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
32883 if test "$wxUSE_DEBUG_INFO" = "yes"; then
32887 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
32889 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
32891 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
32893 if test "$cross_compiling" = "yes"; then
32894 HOST_SUFFIX
="-$host_alias"
32895 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
32896 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
32899 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32900 if test "${TOOLKIT_DIR}" = "os2"; then
32901 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32903 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32908 if test "$wxUSE_COCOA" = 1; then
32911 ac_cpp
='$CPP $CPPFLAGS'
32912 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32913 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32914 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32918 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
32919 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
32920 cat >conftest.
$ac_ext <<_ACEOF
32923 cat confdefs.h
>>conftest.
$ac_ext
32924 cat >>conftest.
$ac_ext <<_ACEOF
32925 /* end confdefs.h. */
32926 #include <AppKit/NSEvent.h>
32927 #include <CoreFoundation/CoreFoundation.h>
32937 rm -f conftest.
$ac_objext
32938 if { (ac_try
="$ac_compile"
32939 case "(($ac_try" in
32940 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32941 *) ac_try_echo=$ac_try;;
32943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32944 (eval "$ac_compile") 2>conftest.er1
32946 grep -v '^ *+' conftest.er1 >conftest.err
32948 cat conftest.err >&5
32949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32950 (exit $ac_status); } && {
32951 test -z "$ac_c_werror_flag" ||
32952 test ! -s conftest.err
32953 } && test -s conftest.$ac_objext; then
32954 { echo "$as_me:$LINENO: result: no" >&5
32955 echo "${ECHO_T}no" >&6; }
32957 echo "$as_me: failed program was:" >&5
32958 sed 's/^/| /' conftest.$ac_ext >&5
32960 { echo "$as_me:$LINENO: result: yes" >&5
32961 echo "${ECHO_T}yes" >&6; }
32962 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
32963 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
32964 cat >conftest.$ac_ext <<_ACEOF
32967 cat confdefs.h >>conftest.$ac_ext
32968 cat >>conftest.$ac_ext <<_ACEOF
32969 /* end confdefs.h. */
32970 #define __Point__ 1
32971 #include <AppKit/NSEvent.h>
32972 #include <CoreFoundation/CoreFoundation.h>
32982 rm -f conftest.$ac_objext
32983 if { (ac_try="$ac_compile"
32984 case "(($ac_try" in
32985 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32986 *) ac_try_echo
=$ac_try;;
32988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32989 (eval "$ac_compile") 2>conftest.er1
32991 grep -v '^ *+' conftest.er1
>conftest.err
32993 cat conftest.err
>&5
32994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32995 (exit $ac_status); } && {
32996 test -z "$ac_c_werror_flag" ||
32997 test ! -s conftest.err
32998 } && test -s conftest.
$ac_objext; then
32999 { echo "$as_me:$LINENO: result: yes" >&5
33000 echo "${ECHO_T}yes" >&6; }
33001 cat >>confdefs.h
<<\_ACEOF
33002 #define __Point__ 1
33007 echo "$as_me: failed program was:" >&5
33008 sed 's/^/| /' conftest.
$ac_ext >&5
33010 { { echo "$as_me:$LINENO: error: no
33011 See \`config.log' for more details." >&5
33012 echo "$as_me: error: no
33013 See \`config.log' for more details." >&2;}
33014 { (exit 1); exit 1; }; }
33018 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33022 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33024 ac_cpp
='$CPP $CPPFLAGS'
33025 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33026 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33027 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33031 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
33032 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
33033 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
33035 LIBWXMACRES
="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
33037 # Extract the first word of "Rez", so it can be a program name with args.
33038 set dummy Rez
; ac_word
=$2
33039 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33040 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33041 if test "${ac_cv_prog_REZ+set}" = set; then
33042 echo $ECHO_N "(cached) $ECHO_C" >&6
33044 if test -n "$REZ"; then
33045 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
33047 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33048 for as_dir
in $PATH
33051 test -z "$as_dir" && as_dir
=.
33052 for ac_exec_ext
in '' $ac_executable_extensions; do
33053 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33054 ac_cv_prog_REZ
="Rez"
33055 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33062 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
33065 REZ
=$ac_cv_prog_REZ
33066 if test -n "$REZ"; then
33067 { echo "$as_me:$LINENO: result: $REZ" >&5
33068 echo "${ECHO_T}$REZ" >&6; }
33070 { echo "$as_me:$LINENO: result: no" >&5
33071 echo "${ECHO_T}no" >&6; }
33075 # Extract the first word of "DeRez", so it can be a program name with args.
33076 set dummy DeRez
; ac_word
=$2
33077 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33078 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33079 if test "${ac_cv_prog_DEREZ+set}" = set; then
33080 echo $ECHO_N "(cached) $ECHO_C" >&6
33082 if test -n "$DEREZ"; then
33083 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
33085 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33086 for as_dir
in $PATH
33089 test -z "$as_dir" && as_dir
=.
33090 for ac_exec_ext
in '' $ac_executable_extensions; do
33091 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33092 ac_cv_prog_DEREZ
="DeRez"
33093 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33100 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
33103 DEREZ
=$ac_cv_prog_DEREZ
33104 if test -n "$DEREZ"; then
33105 { echo "$as_me:$LINENO: result: $DEREZ" >&5
33106 echo "${ECHO_T}$DEREZ" >&6; }
33108 { echo "$as_me:$LINENO: result: no" >&5
33109 echo "${ECHO_T}no" >&6; }
33113 # Extract the first word of "SetFile", so it can be a program name with args.
33114 set dummy SetFile
; ac_word
=$2
33115 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33116 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33117 if test "${ac_cv_prog_SETFILE+set}" = set; then
33118 echo $ECHO_N "(cached) $ECHO_C" >&6
33120 if test -n "$SETFILE"; then
33121 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
33123 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33124 for as_dir
in $PATH
33127 test -z "$as_dir" && as_dir
=.
33128 for ac_exec_ext
in '' $ac_executable_extensions; do
33129 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33130 ac_cv_prog_SETFILE
="SetFile"
33131 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33138 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
33141 SETFILE
=$ac_cv_prog_SETFILE
33142 if test -n "$SETFILE"; then
33143 { echo "$as_me:$LINENO: result: $SETFILE" >&5
33144 echo "${ECHO_T}$SETFILE" >&6; }
33146 { echo "$as_me:$LINENO: result: no" >&5
33147 echo "${ECHO_T}no" >&6; }
33152 MACSETFILE
="\$(SETFILE)"
33154 if test "$wxUSE_MAC" = 1; then
33155 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
33157 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
33159 POSTLINK_COMMAND
="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
33160 RESCOMP
="echo -n \| $REZ"
33161 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
33167 if test "$wxUSE_PM" = 1; then
33169 WXCONFIG_RESFLAGS
="-ep"
33171 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
33173 POSTLINK_COMMAND
="@true"
33180 { echo "$as_me:$LINENO: checking for mode_t" >&5
33181 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
33182 if test "${ac_cv_type_mode_t+set}" = set; then
33183 echo $ECHO_N "(cached) $ECHO_C" >&6
33185 cat >conftest.
$ac_ext <<_ACEOF
33188 cat confdefs.h
>>conftest.
$ac_ext
33189 cat >>conftest.
$ac_ext <<_ACEOF
33190 /* end confdefs.h. */
33191 $ac_includes_default
33192 typedef mode_t ac__type_new_;
33196 if ((ac__type_new_ *) 0)
33198 if (sizeof (ac__type_new_))
33204 rm -f conftest.
$ac_objext
33205 if { (ac_try
="$ac_compile"
33206 case "(($ac_try" in
33207 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33208 *) ac_try_echo=$ac_try;;
33210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33211 (eval "$ac_compile") 2>conftest.er1
33213 grep -v '^ *+' conftest.er1 >conftest.err
33215 cat conftest.err >&5
33216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33217 (exit $ac_status); } && {
33218 test -z "$ac_c_werror_flag" ||
33219 test ! -s conftest.err
33220 } && test -s conftest.$ac_objext; then
33221 ac_cv_type_mode_t=yes
33223 echo "$as_me: failed program was:" >&5
33224 sed 's/^/| /' conftest.$ac_ext >&5
33226 ac_cv_type_mode_t=no
33229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33231 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33232 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
33233 if test $ac_cv_type_mode_t = yes; then
33237 cat >>confdefs.h <<_ACEOF
33243 { echo "$as_me:$LINENO: checking for off_t" >&5
33244 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
33245 if test "${ac_cv_type_off_t+set}" = set; then
33246 echo $ECHO_N "(cached) $ECHO_C" >&6
33248 cat >conftest.$ac_ext <<_ACEOF
33251 cat confdefs.h >>conftest.$ac_ext
33252 cat >>conftest.$ac_ext <<_ACEOF
33253 /* end confdefs.h. */
33254 $ac_includes_default
33255 typedef off_t ac__type_new_;
33259 if ((ac__type_new_ *) 0)
33261 if (sizeof (ac__type_new_))
33267 rm -f conftest.$ac_objext
33268 if { (ac_try="$ac_compile"
33269 case "(($ac_try" in
33270 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33271 *) ac_try_echo
=$ac_try;;
33273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33274 (eval "$ac_compile") 2>conftest.er1
33276 grep -v '^ *+' conftest.er1
>conftest.err
33278 cat conftest.err
>&5
33279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33280 (exit $ac_status); } && {
33281 test -z "$ac_c_werror_flag" ||
33282 test ! -s conftest.err
33283 } && test -s conftest.
$ac_objext; then
33284 ac_cv_type_off_t
=yes
33286 echo "$as_me: failed program was:" >&5
33287 sed 's/^/| /' conftest.
$ac_ext >&5
33289 ac_cv_type_off_t
=no
33292 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33294 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33295 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
33296 if test $ac_cv_type_off_t = yes; then
33300 cat >>confdefs.h
<<_ACEOF
33301 #define off_t long int
33306 { echo "$as_me:$LINENO: checking for pid_t" >&5
33307 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
33308 if test "${ac_cv_type_pid_t+set}" = set; then
33309 echo $ECHO_N "(cached) $ECHO_C" >&6
33311 cat >conftest.
$ac_ext <<_ACEOF
33314 cat confdefs.h
>>conftest.
$ac_ext
33315 cat >>conftest.
$ac_ext <<_ACEOF
33316 /* end confdefs.h. */
33317 $ac_includes_default
33318 typedef pid_t ac__type_new_;
33322 if ((ac__type_new_ *) 0)
33324 if (sizeof (ac__type_new_))
33330 rm -f conftest.
$ac_objext
33331 if { (ac_try
="$ac_compile"
33332 case "(($ac_try" in
33333 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33334 *) ac_try_echo=$ac_try;;
33336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33337 (eval "$ac_compile") 2>conftest.er1
33339 grep -v '^ *+' conftest.er1 >conftest.err
33341 cat conftest.err >&5
33342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33343 (exit $ac_status); } && {
33344 test -z "$ac_c_werror_flag" ||
33345 test ! -s conftest.err
33346 } && test -s conftest.$ac_objext; then
33347 ac_cv_type_pid_t=yes
33349 echo "$as_me: failed program was:" >&5
33350 sed 's/^/| /' conftest.$ac_ext >&5
33352 ac_cv_type_pid_t=no
33355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33357 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
33358 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
33359 if test $ac_cv_type_pid_t = yes; then
33363 cat >>confdefs.h <<_ACEOF
33369 { echo "$as_me:$LINENO: checking for size_t" >&5
33370 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
33371 if test "${ac_cv_type_size_t+set}" = set; then
33372 echo $ECHO_N "(cached) $ECHO_C" >&6
33374 cat >conftest.$ac_ext <<_ACEOF
33377 cat confdefs.h >>conftest.$ac_ext
33378 cat >>conftest.$ac_ext <<_ACEOF
33379 /* end confdefs.h. */
33380 $ac_includes_default
33381 typedef size_t ac__type_new_;
33385 if ((ac__type_new_ *) 0)
33387 if (sizeof (ac__type_new_))
33393 rm -f conftest.$ac_objext
33394 if { (ac_try="$ac_compile"
33395 case "(($ac_try" in
33396 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33397 *) ac_try_echo
=$ac_try;;
33399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33400 (eval "$ac_compile") 2>conftest.er1
33402 grep -v '^ *+' conftest.er1
>conftest.err
33404 cat conftest.err
>&5
33405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33406 (exit $ac_status); } && {
33407 test -z "$ac_c_werror_flag" ||
33408 test ! -s conftest.err
33409 } && test -s conftest.
$ac_objext; then
33410 ac_cv_type_size_t
=yes
33412 echo "$as_me: failed program was:" >&5
33413 sed 's/^/| /' conftest.
$ac_ext >&5
33415 ac_cv_type_size_t
=no
33418 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33420 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
33421 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
33422 if test $ac_cv_type_size_t = yes; then
33426 cat >>confdefs.h
<<_ACEOF
33427 #define size_t unsigned int
33432 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
33433 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
33434 if test "${ac_cv_type_uid_t+set}" = set; then
33435 echo $ECHO_N "(cached) $ECHO_C" >&6
33437 cat >conftest.
$ac_ext <<_ACEOF
33440 cat confdefs.h
>>conftest.
$ac_ext
33441 cat >>conftest.
$ac_ext <<_ACEOF
33442 /* end confdefs.h. */
33443 #include <sys/types.h>
33446 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
33447 $EGREP "uid_t" >/dev
/null
2>&1; then
33448 ac_cv_type_uid_t
=yes
33450 ac_cv_type_uid_t
=no
33455 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
33456 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
33457 if test $ac_cv_type_uid_t = no
; then
33459 cat >>confdefs.h
<<\_ACEOF
33464 cat >>confdefs.h
<<\_ACEOF
33471 { echo "$as_me:$LINENO: checking for ssize_t" >&5
33472 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
33473 if test "${ac_cv_type_ssize_t+set}" = set; then
33474 echo $ECHO_N "(cached) $ECHO_C" >&6
33476 cat >conftest.
$ac_ext <<_ACEOF
33479 cat confdefs.h
>>conftest.
$ac_ext
33480 cat >>conftest.
$ac_ext <<_ACEOF
33481 /* end confdefs.h. */
33482 $ac_includes_default
33483 typedef ssize_t ac__type_new_;
33487 if ((ac__type_new_ *) 0)
33489 if (sizeof (ac__type_new_))
33495 rm -f conftest.
$ac_objext
33496 if { (ac_try
="$ac_compile"
33497 case "(($ac_try" in
33498 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33499 *) ac_try_echo=$ac_try;;
33501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33502 (eval "$ac_compile") 2>conftest.er1
33504 grep -v '^ *+' conftest.er1 >conftest.err
33506 cat conftest.err >&5
33507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33508 (exit $ac_status); } && {
33509 test -z "$ac_c_werror_flag" ||
33510 test ! -s conftest.err
33511 } && test -s conftest.$ac_objext; then
33512 ac_cv_type_ssize_t=yes
33514 echo "$as_me: failed program was:" >&5
33515 sed 's/^/| /' conftest.$ac_ext >&5
33517 ac_cv_type_ssize_t=no
33520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33522 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
33523 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
33524 if test $ac_cv_type_ssize_t = yes; then
33526 cat >>confdefs.h <<_ACEOF
33527 #define HAVE_SSIZE_T 1
33535 ac_cpp='$CXXCPP $CPPFLAGS'
33536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33539 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
33540 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
33541 if test "${wx_cv_size_t_is_uint+set}" = set; then
33542 echo $ECHO_N "(cached) $ECHO_C" >&6
33545 cat >conftest.$ac_ext <<_ACEOF
33548 cat confdefs.h >>conftest.$ac_ext
33549 cat >>conftest.$ac_ext <<_ACEOF
33550 /* end confdefs.h. */
33551 #include <stddef.h>
33558 struct Foo { void foo(size_t); void foo(unsigned int); };
33566 rm -f conftest.$ac_objext
33567 if { (ac_try="$ac_compile"
33568 case "(($ac_try" in
33569 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33570 *) ac_try_echo
=$ac_try;;
33572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33573 (eval "$ac_compile") 2>conftest.er1
33575 grep -v '^ *+' conftest.er1
>conftest.err
33577 cat conftest.err
>&5
33578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33579 (exit $ac_status); } && {
33580 test -z "$ac_cxx_werror_flag" ||
33581 test ! -s conftest.err
33582 } && test -s conftest.
$ac_objext; then
33583 wx_cv_size_t_is_uint
=no
33585 echo "$as_me: failed program was:" >&5
33586 sed 's/^/| /' conftest.
$ac_ext >&5
33588 wx_cv_size_t_is_uint
=yes
33592 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33596 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
33597 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
33599 if test "$wx_cv_size_t_is_uint" = "yes"; then
33600 cat >>confdefs.h
<<\_ACEOF
33601 #define wxSIZE_T_IS_UINT 1
33605 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
33606 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
33607 if test "${wx_cv_size_t_is_ulong+set}" = set; then
33608 echo $ECHO_N "(cached) $ECHO_C" >&6
33610 cat >conftest.
$ac_ext <<_ACEOF
33613 cat confdefs.h
>>conftest.
$ac_ext
33614 cat >>conftest.
$ac_ext <<_ACEOF
33615 /* end confdefs.h. */
33616 #include <stddef.h>
33623 struct Foo { void foo(size_t); void foo(unsigned long); };
33631 rm -f conftest.
$ac_objext
33632 if { (ac_try
="$ac_compile"
33633 case "(($ac_try" in
33634 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33635 *) ac_try_echo=$ac_try;;
33637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33638 (eval "$ac_compile") 2>conftest.er1
33640 grep -v '^ *+' conftest.er1 >conftest.err
33642 cat conftest.err >&5
33643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33644 (exit $ac_status); } && {
33645 test -z "$ac_cxx_werror_flag" ||
33646 test ! -s conftest.err
33647 } && test -s conftest.$ac_objext; then
33648 wx_cv_size_t_is_ulong=no
33650 echo "$as_me: failed program was:" >&5
33651 sed 's/^/| /' conftest.$ac_ext >&5
33653 wx_cv_size_t_is_ulong=yes
33657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33660 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
33661 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
33663 if test "$wx_cv_size_t_is_ulong" = "yes"; then
33664 cat >>confdefs.h <<\_ACEOF
33665 #define wxSIZE_T_IS_ULONG 1
33672 ac_cpp='$CPP $CPPFLAGS'
33673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33678 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
33679 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
33680 if test "${wx_cv_struct_pw_gecos+set}" = set; then
33681 echo $ECHO_N "(cached) $ECHO_C" >&6
33684 cat >conftest.$ac_ext <<_ACEOF
33687 cat confdefs.h >>conftest.$ac_ext
33688 cat >>conftest.$ac_ext <<_ACEOF
33689 /* end confdefs.h. */
33703 rm -f conftest.$ac_objext
33704 if { (ac_try="$ac_compile"
33705 case "(($ac_try" in
33706 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33707 *) ac_try_echo
=$ac_try;;
33709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33710 (eval "$ac_compile") 2>conftest.er1
33712 grep -v '^ *+' conftest.er1
>conftest.err
33714 cat conftest.err
>&5
33715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33716 (exit $ac_status); } && {
33717 test -z "$ac_c_werror_flag" ||
33718 test ! -s conftest.err
33719 } && test -s conftest.
$ac_objext; then
33721 wx_cv_struct_pw_gecos
=yes
33724 echo "$as_me: failed program was:" >&5
33725 sed 's/^/| /' conftest.
$ac_ext >&5
33728 wx_cv_struct_pw_gecos
=no
33733 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33737 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
33738 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
33740 if test "$wx_cv_struct_pw_gecos" = "yes"; then
33741 cat >>confdefs.h
<<\_ACEOF
33742 #define HAVE_PW_GECOS 1
33748 if test "$wxUSE_WCHAR_T" = "yes"; then
33749 cat >>confdefs.h
<<\_ACEOF
33750 #define wxUSE_WCHAR_T 1
33757 for ac_func
in wcslen
33759 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33760 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33761 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33762 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33763 echo $ECHO_N "(cached) $ECHO_C" >&6
33765 cat >conftest.
$ac_ext <<_ACEOF
33768 cat confdefs.h
>>conftest.
$ac_ext
33769 cat >>conftest.
$ac_ext <<_ACEOF
33770 /* end confdefs.h. */
33771 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33772 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33773 #define $ac_func innocuous_$ac_func
33775 /* System header to define __stub macros and hopefully few prototypes,
33776 which can conflict with char $ac_func (); below.
33777 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33778 <limits.h> exists even on freestanding compilers. */
33781 # include <limits.h>
33783 # include <assert.h>
33788 /* Override any GCC internal prototype to avoid an error.
33789 Use char because int might match the return type of a GCC
33790 builtin and then its argument prototype would still apply. */
33795 /* The GNU C library defines this for functions which it implements
33796 to always fail with ENOSYS. Some functions are actually named
33797 something starting with __ and the normal name is an alias. */
33798 #if defined __stub_$ac_func || defined __stub___$ac_func
33805 return $ac_func ();
33810 rm -f conftest.
$ac_objext conftest
$ac_exeext
33811 if { (ac_try
="$ac_link"
33812 case "(($ac_try" in
33813 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33814 *) ac_try_echo=$ac_try;;
33816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33817 (eval "$ac_link") 2>conftest.er1
33819 grep -v '^ *+' conftest.er1 >conftest.err
33821 cat conftest.err >&5
33822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33823 (exit $ac_status); } && {
33824 test -z "$ac_c_werror_flag" ||
33825 test ! -s conftest.err
33826 } && test -s conftest$ac_exeext &&
33827 $as_test_x conftest$ac_exeext; then
33828 eval "$as_ac_var=yes"
33830 echo "$as_me: failed program was:" >&5
33831 sed 's/^/| /' conftest.$ac_ext >&5
33833 eval "$as_ac_var=no"
33836 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33837 conftest$ac_exeext conftest.$ac_ext
33839 ac_res=`eval echo '${'$as_ac_var'}'`
33840 { echo "$as_me:$LINENO: result: $ac_res" >&5
33841 echo "${ECHO_T}$ac_res" >&6; }
33842 if test `eval echo '${'$as_ac_var'}'` = yes; then
33843 cat >>confdefs.h <<_ACEOF
33844 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33851 if test "$WCSLEN_FOUND" = 0; then
33852 if test "$TOOLKIT" = "MSW"; then
33853 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
33854 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
33855 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
33856 echo $ECHO_N "(cached) $ECHO_C" >&6
33858 ac_check_lib_save_LIBS=$LIBS
33859 LIBS="-lmsvcrt $LIBS"
33860 cat >conftest.$ac_ext <<_ACEOF
33863 cat confdefs.h >>conftest.$ac_ext
33864 cat >>conftest.$ac_ext <<_ACEOF
33865 /* end confdefs.h. */
33867 /* Override any GCC internal prototype to avoid an error.
33868 Use char because int might match the return type of a GCC
33869 builtin and then its argument prototype would still apply. */
33882 rm -f conftest.$ac_objext conftest$ac_exeext
33883 if { (ac_try="$ac_link"
33884 case "(($ac_try" in
33885 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33886 *) ac_try_echo
=$ac_try;;
33888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33889 (eval "$ac_link") 2>conftest.er1
33891 grep -v '^ *+' conftest.er1
>conftest.err
33893 cat conftest.err
>&5
33894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33895 (exit $ac_status); } && {
33896 test -z "$ac_c_werror_flag" ||
33897 test ! -s conftest.err
33898 } && test -s conftest
$ac_exeext &&
33899 $as_test_x conftest
$ac_exeext; then
33900 ac_cv_lib_msvcrt_wcslen
=yes
33902 echo "$as_me: failed program was:" >&5
33903 sed 's/^/| /' conftest.
$ac_ext >&5
33905 ac_cv_lib_msvcrt_wcslen
=no
33908 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33909 conftest
$ac_exeext conftest.
$ac_ext
33910 LIBS
=$ac_check_lib_save_LIBS
33912 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
33913 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
33914 if test $ac_cv_lib_msvcrt_wcslen = yes; then
33919 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
33920 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
33921 if test "${ac_cv_lib_w_wcslen+set}" = set; then
33922 echo $ECHO_N "(cached) $ECHO_C" >&6
33924 ac_check_lib_save_LIBS
=$LIBS
33926 cat >conftest.
$ac_ext <<_ACEOF
33929 cat confdefs.h
>>conftest.
$ac_ext
33930 cat >>conftest.
$ac_ext <<_ACEOF
33931 /* end confdefs.h. */
33933 /* Override any GCC internal prototype to avoid an error.
33934 Use char because int might match the return type of a GCC
33935 builtin and then its argument prototype would still apply. */
33948 rm -f conftest.
$ac_objext conftest
$ac_exeext
33949 if { (ac_try
="$ac_link"
33950 case "(($ac_try" in
33951 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33952 *) ac_try_echo=$ac_try;;
33954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33955 (eval "$ac_link") 2>conftest.er1
33957 grep -v '^ *+' conftest.er1 >conftest.err
33959 cat conftest.err >&5
33960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33961 (exit $ac_status); } && {
33962 test -z "$ac_c_werror_flag" ||
33963 test ! -s conftest.err
33964 } && test -s conftest$ac_exeext &&
33965 $as_test_x conftest$ac_exeext; then
33966 ac_cv_lib_w_wcslen=yes
33968 echo "$as_me: failed program was:" >&5
33969 sed 's/^/| /' conftest.$ac_ext >&5
33971 ac_cv_lib_w_wcslen=no
33974 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33975 conftest$ac_exeext conftest.$ac_ext
33976 LIBS=$ac_check_lib_save_LIBS
33978 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
33979 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
33980 if test $ac_cv_lib_w_wcslen = yes; then
33990 if test "$WCSLEN_FOUND" = 1; then
33991 cat >>confdefs.h <<\_ACEOF
33992 #define HAVE_WCSLEN 1
33997 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
33998 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
34001 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
34002 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
34003 if test "${ac_cv_type_mbstate_t+set}" = set; then
34004 echo $ECHO_N "(cached) $ECHO_C" >&6
34006 cat >conftest.$ac_ext <<_ACEOF
34009 cat confdefs.h >>conftest.$ac_ext
34010 cat >>conftest.$ac_ext <<_ACEOF
34011 /* end confdefs.h. */
34014 typedef mbstate_t ac__type_new_;
34018 if ((ac__type_new_ *) 0)
34020 if (sizeof (ac__type_new_))
34026 rm -f conftest.$ac_objext
34027 if { (ac_try="$ac_compile"
34028 case "(($ac_try" in
34029 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34030 *) ac_try_echo
=$ac_try;;
34032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34033 (eval "$ac_compile") 2>conftest.er1
34035 grep -v '^ *+' conftest.er1
>conftest.err
34037 cat conftest.err
>&5
34038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34039 (exit $ac_status); } && {
34040 test -z "$ac_c_werror_flag" ||
34041 test ! -s conftest.err
34042 } && test -s conftest.
$ac_objext; then
34043 ac_cv_type_mbstate_t
=yes
34045 echo "$as_me: failed program was:" >&5
34046 sed 's/^/| /' conftest.
$ac_ext >&5
34048 ac_cv_type_mbstate_t
=no
34051 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34053 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
34054 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
34055 if test $ac_cv_type_mbstate_t = yes; then
34057 cat >>confdefs.h
<<_ACEOF
34058 #define HAVE_MBSTATE_T 1
34062 for ac_func
in wcsrtombs
34064 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34065 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34066 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34067 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34068 echo $ECHO_N "(cached) $ECHO_C" >&6
34070 cat >conftest.
$ac_ext <<_ACEOF
34073 cat confdefs.h
>>conftest.
$ac_ext
34074 cat >>conftest.
$ac_ext <<_ACEOF
34075 /* end confdefs.h. */
34076 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34077 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34078 #define $ac_func innocuous_$ac_func
34080 /* System header to define __stub macros and hopefully few prototypes,
34081 which can conflict with char $ac_func (); below.
34082 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34083 <limits.h> exists even on freestanding compilers. */
34086 # include <limits.h>
34088 # include <assert.h>
34093 /* Override any GCC internal prototype to avoid an error.
34094 Use char because int might match the return type of a GCC
34095 builtin and then its argument prototype would still apply. */
34100 /* The GNU C library defines this for functions which it implements
34101 to always fail with ENOSYS. Some functions are actually named
34102 something starting with __ and the normal name is an alias. */
34103 #if defined __stub_$ac_func || defined __stub___$ac_func
34110 return $ac_func ();
34115 rm -f conftest.
$ac_objext conftest
$ac_exeext
34116 if { (ac_try
="$ac_link"
34117 case "(($ac_try" in
34118 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34119 *) ac_try_echo=$ac_try;;
34121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34122 (eval "$ac_link") 2>conftest.er1
34124 grep -v '^ *+' conftest.er1 >conftest.err
34126 cat conftest.err >&5
34127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34128 (exit $ac_status); } && {
34129 test -z "$ac_c_werror_flag" ||
34130 test ! -s conftest.err
34131 } && test -s conftest$ac_exeext &&
34132 $as_test_x conftest$ac_exeext; then
34133 eval "$as_ac_var=yes"
34135 echo "$as_me: failed program was:" >&5
34136 sed 's/^/| /' conftest.$ac_ext >&5
34138 eval "$as_ac_var=no"
34141 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34142 conftest$ac_exeext conftest.$ac_ext
34144 ac_res=`eval echo '${'$as_ac_var'}'`
34145 { echo "$as_me:$LINENO: result: $ac_res" >&5
34146 echo "${ECHO_T}$ac_res" >&6; }
34147 if test `eval echo '${'$as_ac_var'}'` = yes; then
34148 cat >>confdefs.h <<_ACEOF
34149 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34158 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
34159 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
34164 for ac_func in snprintf vsnprintf
34166 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34167 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34168 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34169 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34170 echo $ECHO_N "(cached) $ECHO_C" >&6
34172 cat >conftest.$ac_ext <<_ACEOF
34175 cat confdefs.h >>conftest.$ac_ext
34176 cat >>conftest.$ac_ext <<_ACEOF
34177 /* end confdefs.h. */
34178 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34179 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34180 #define $ac_func innocuous_$ac_func
34182 /* System header to define __stub macros and hopefully few prototypes,
34183 which can conflict with char $ac_func (); below.
34184 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34185 <limits.h> exists even on freestanding compilers. */
34188 # include <limits.h>
34190 # include <assert.h>
34195 /* Override any GCC internal prototype to avoid an error.
34196 Use char because int might match the return type of a GCC
34197 builtin and then its argument prototype would still apply. */
34202 /* The GNU C library defines this for functions which it implements
34203 to always fail with ENOSYS. Some functions are actually named
34204 something starting with __ and the normal name is an alias. */
34205 #if defined __stub_$ac_func || defined __stub___$ac_func
34212 return $ac_func ();
34217 rm -f conftest.$ac_objext conftest$ac_exeext
34218 if { (ac_try="$ac_link"
34219 case "(($ac_try" in
34220 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34221 *) ac_try_echo
=$ac_try;;
34223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34224 (eval "$ac_link") 2>conftest.er1
34226 grep -v '^ *+' conftest.er1
>conftest.err
34228 cat conftest.err
>&5
34229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34230 (exit $ac_status); } && {
34231 test -z "$ac_c_werror_flag" ||
34232 test ! -s conftest.err
34233 } && test -s conftest
$ac_exeext &&
34234 $as_test_x conftest
$ac_exeext; then
34235 eval "$as_ac_var=yes"
34237 echo "$as_me: failed program was:" >&5
34238 sed 's/^/| /' conftest.
$ac_ext >&5
34240 eval "$as_ac_var=no"
34243 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34244 conftest
$ac_exeext conftest.
$ac_ext
34246 ac_res
=`eval echo '${'$as_ac_var'}'`
34247 { echo "$as_me:$LINENO: result: $ac_res" >&5
34248 echo "${ECHO_T}$ac_res" >&6; }
34249 if test `eval echo '${'$as_ac_var'}'` = yes; then
34250 cat >>confdefs.h
<<_ACEOF
34251 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34258 if test "$ac_cv_func_vsnprintf" = "yes"; then
34259 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
34260 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
34261 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
34262 echo $ECHO_N "(cached) $ECHO_C" >&6
34265 cat >conftest.
$ac_ext <<_ACEOF
34268 cat confdefs.h
>>conftest.
$ac_ext
34269 cat >>conftest.
$ac_ext <<_ACEOF
34270 /* end confdefs.h. */
34273 #include <stdarg.h>
34275 #if __MSL__ >= 0x6000
34277 using namespace std;
34287 vsnprintf(buf, 10u, "%s", ap);
34293 rm -f conftest.
$ac_objext
34294 if { (ac_try
="$ac_compile"
34295 case "(($ac_try" in
34296 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34297 *) ac_try_echo=$ac_try;;
34299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34300 (eval "$ac_compile") 2>conftest.er1
34302 grep -v '^ *+' conftest.er1 >conftest.err
34304 cat conftest.err >&5
34305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34306 (exit $ac_status); } && {
34307 test -z "$ac_c_werror_flag" ||
34308 test ! -s conftest.err
34309 } && test -s conftest.$ac_objext; then
34310 wx_cv_func_vsnprintf_decl=yes
34312 echo "$as_me: failed program was:" >&5
34313 sed 's/^/| /' conftest.$ac_ext >&5
34315 wx_cv_func_vsnprintf_decl=no
34319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34323 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
34324 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
34326 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
34327 cat >>confdefs.h <<\_ACEOF
34328 #define HAVE_VSNPRINTF_DECL 1
34332 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
34333 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
34334 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
34335 echo $ECHO_N "(cached) $ECHO_C" >&6
34338 cat >conftest.$ac_ext <<_ACEOF
34341 cat confdefs.h >>conftest.$ac_ext
34342 cat >>conftest.$ac_ext <<_ACEOF
34343 /* end confdefs.h. */
34346 #include <stdarg.h>
34348 #if __MSL__ >= 0x6000
34350 using namespace std;
34360 const char *fmt = "%s";
34361 vsnprintf(buf, 10u, fmt, ap);
34367 rm -f conftest.$ac_objext
34368 if { (ac_try="$ac_compile"
34369 case "(($ac_try" in
34370 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34371 *) ac_try_echo
=$ac_try;;
34373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34374 (eval "$ac_compile") 2>conftest.er1
34376 grep -v '^ *+' conftest.er1
>conftest.err
34378 cat conftest.err
>&5
34379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34380 (exit $ac_status); } && {
34381 test -z "$ac_c_werror_flag" ||
34382 test ! -s conftest.err
34383 } && test -s conftest.
$ac_objext; then
34384 wx_cv_func_broken_vsnprintf_decl
=no
34386 echo "$as_me: failed program was:" >&5
34387 sed 's/^/| /' conftest.
$ac_ext >&5
34389 wx_cv_func_broken_vsnprintf_decl
=yes
34393 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34397 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
34398 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
34400 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
34401 cat >>confdefs.h
<<\_ACEOF
34402 #define HAVE_BROKEN_VSNPRINTF_DECL 1
34409 if test "$ac_cv_func_snprintf" = "yes"; then
34410 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
34411 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
34412 if test "${wx_cv_func_snprintf_decl+set}" = set; then
34413 echo $ECHO_N "(cached) $ECHO_C" >&6
34416 cat >conftest.
$ac_ext <<_ACEOF
34419 cat confdefs.h
>>conftest.
$ac_ext
34420 cat >>conftest.
$ac_ext <<_ACEOF
34421 /* end confdefs.h. */
34424 #include <stdarg.h>
34426 #if __MSL__ >= 0x6000
34428 using namespace std;
34437 snprintf(buf, 10u, "%s", "wx");
34443 rm -f conftest.
$ac_objext
34444 if { (ac_try
="$ac_compile"
34445 case "(($ac_try" in
34446 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34447 *) ac_try_echo=$ac_try;;
34449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34450 (eval "$ac_compile") 2>conftest.er1
34452 grep -v '^ *+' conftest.er1 >conftest.err
34454 cat conftest.err >&5
34455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34456 (exit $ac_status); } && {
34457 test -z "$ac_c_werror_flag" ||
34458 test ! -s conftest.err
34459 } && test -s conftest.$ac_objext; then
34460 wx_cv_func_snprintf_decl=yes
34462 echo "$as_me: failed program was:" >&5
34463 sed 's/^/| /' conftest.$ac_ext >&5
34465 wx_cv_func_snprintf_decl=no
34469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34473 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
34474 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
34476 if test "$wx_cv_func_snprintf_decl" = "yes"; then
34477 cat >>confdefs.h <<\_ACEOF
34478 #define HAVE_SNPRINTF_DECL 1
34482 { echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
34483 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6; }
34484 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
34485 echo $ECHO_N "(cached) $ECHO_C" >&6
34488 cat >conftest.$ac_ext <<_ACEOF
34491 cat confdefs.h >>conftest.$ac_ext
34492 cat >>conftest.$ac_ext <<_ACEOF
34493 /* end confdefs.h. */
34496 #include <stdarg.h>
34498 #if __MSL__ >= 0x6000
34500 using namespace std;
34509 const char *fmt = "%s";
34510 snprintf(buf, 10u, fmt, "wx");
34516 rm -f conftest.$ac_objext
34517 if { (ac_try="$ac_compile"
34518 case "(($ac_try" in
34519 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34520 *) ac_try_echo
=$ac_try;;
34522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34523 (eval "$ac_compile") 2>conftest.er1
34525 grep -v '^ *+' conftest.er1
>conftest.err
34527 cat conftest.err
>&5
34528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34529 (exit $ac_status); } && {
34530 test -z "$ac_c_werror_flag" ||
34531 test ! -s conftest.err
34532 } && test -s conftest.
$ac_objext; then
34533 wx_cv_func_broken_snprintf_decl
=no
34535 echo "$as_me: failed program was:" >&5
34536 sed 's/^/| /' conftest.
$ac_ext >&5
34538 wx_cv_func_broken_snprintf_decl
=yes
34542 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34546 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
34547 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6; }
34549 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
34550 cat >>confdefs.h
<<\_ACEOF
34551 #define HAVE_BROKEN_SNPRINTF_DECL 1
34557 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
34559 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
34560 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
34561 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
34562 echo $ECHO_N "(cached) $ECHO_C" >&6
34565 if test "$cross_compiling" = yes; then
34567 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
34568 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
34569 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
34570 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
34571 wx_cv_func_snprintf_pos_params
=no
34575 cat >conftest.
$ac_ext <<_ACEOF
34578 cat confdefs.h
>>conftest.
$ac_ext
34579 cat >>conftest.
$ac_ext <<_ACEOF
34580 /* end confdefs.h. */
34587 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
34588 if (strcmp ("2 3 1", buffer) == 0)
34594 rm -f conftest
$ac_exeext
34595 if { (ac_try
="$ac_link"
34596 case "(($ac_try" in
34597 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34598 *) ac_try_echo=$ac_try;;
34600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34601 (eval "$ac_link") 2>&5
34603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34604 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
34605 { (case "(($ac_try" in
34606 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34607 *) ac_try_echo
=$ac_try;;
34609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34610 (eval "$ac_try") 2>&5
34612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34613 (exit $ac_status); }; }; then
34614 wx_cv_func_snprintf_pos_params
=no
34616 echo "$as_me: program exited with status $ac_status" >&5
34617 echo "$as_me: failed program was:" >&5
34618 sed 's/^/| /' conftest.
$ac_ext >&5
34620 ( exit $ac_status )
34621 wx_cv_func_snprintf_pos_params
=yes
34623 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
34630 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
34631 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
34633 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
34634 cat >>confdefs.h
<<\_ACEOF
34635 #define HAVE_UNIX98_PRINTF 1
34642 if test "$wxUSE_UNICODE" = yes; then
34645 for ac_func
in swprintf
34647 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34648 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34649 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34650 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34651 echo $ECHO_N "(cached) $ECHO_C" >&6
34653 cat >conftest.
$ac_ext <<_ACEOF
34656 cat confdefs.h
>>conftest.
$ac_ext
34657 cat >>conftest.
$ac_ext <<_ACEOF
34658 /* end confdefs.h. */
34659 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34660 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34661 #define $ac_func innocuous_$ac_func
34663 /* System header to define __stub macros and hopefully few prototypes,
34664 which can conflict with char $ac_func (); below.
34665 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34666 <limits.h> exists even on freestanding compilers. */
34669 # include <limits.h>
34671 # include <assert.h>
34676 /* Override any GCC internal prototype to avoid an error.
34677 Use char because int might match the return type of a GCC
34678 builtin and then its argument prototype would still apply. */
34683 /* The GNU C library defines this for functions which it implements
34684 to always fail with ENOSYS. Some functions are actually named
34685 something starting with __ and the normal name is an alias. */
34686 #if defined __stub_$ac_func || defined __stub___$ac_func
34693 return $ac_func ();
34698 rm -f conftest.
$ac_objext conftest
$ac_exeext
34699 if { (ac_try
="$ac_link"
34700 case "(($ac_try" in
34701 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34702 *) ac_try_echo=$ac_try;;
34704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34705 (eval "$ac_link") 2>conftest.er1
34707 grep -v '^ *+' conftest.er1 >conftest.err
34709 cat conftest.err >&5
34710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34711 (exit $ac_status); } && {
34712 test -z "$ac_c_werror_flag" ||
34713 test ! -s conftest.err
34714 } && test -s conftest$ac_exeext &&
34715 $as_test_x conftest$ac_exeext; then
34716 eval "$as_ac_var=yes"
34718 echo "$as_me: failed program was:" >&5
34719 sed 's/^/| /' conftest.$ac_ext >&5
34721 eval "$as_ac_var=no"
34724 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34725 conftest$ac_exeext conftest.$ac_ext
34727 ac_res=`eval echo '${'$as_ac_var'}'`
34728 { echo "$as_me:$LINENO: result: $ac_res" >&5
34729 echo "${ECHO_T}$ac_res" >&6; }
34730 if test `eval echo '${'$as_ac_var'}'` = yes; then
34731 cat >>confdefs.h <<_ACEOF
34732 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34739 if test "$ac_cv_func_swprintf" = "yes"; then
34740 { echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
34741 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6; }
34742 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
34743 echo $ECHO_N "(cached) $ECHO_C" >&6
34746 cat >conftest.$ac_ext <<_ACEOF
34749 cat confdefs.h >>conftest.$ac_ext
34750 cat >>conftest.$ac_ext <<_ACEOF
34751 /* end confdefs.h. */
34754 #include <stdarg.h>
34762 const wchar_t *fmt = L"test";
34763 swprintf(buf, 10u, fmt);
34769 rm -f conftest.$ac_objext
34770 if { (ac_try="$ac_compile"
34771 case "(($ac_try" in
34772 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34773 *) ac_try_echo
=$ac_try;;
34775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34776 (eval "$ac_compile") 2>conftest.er1
34778 grep -v '^ *+' conftest.er1
>conftest.err
34780 cat conftest.err
>&5
34781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34782 (exit $ac_status); } && {
34783 test -z "$ac_c_werror_flag" ||
34784 test ! -s conftest.err
34785 } && test -s conftest.
$ac_objext; then
34786 wx_cv_func_broken_swprintf_decl
=no
34788 echo "$as_me: failed program was:" >&5
34789 sed 's/^/| /' conftest.
$ac_ext >&5
34791 wx_cv_func_broken_swprintf_decl
=yes
34795 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34799 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
34800 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6; }
34802 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
34803 cat >>confdefs.h
<<\_ACEOF
34804 #define HAVE_BROKEN_SWPRINTF_DECL 1
34810 wchar_headers
="#include <stdio.h>
34811 #include <wchar.h>"
34814 { echo "$as_me:$LINENO: checking for widec.h" >&5
34815 echo $ECHO_N "checking for widec.h... $ECHO_C" >&6; }
34816 if test "${ac_cv_header_widec_h+set}" = set; then
34817 echo $ECHO_N "(cached) $ECHO_C" >&6
34819 cat >conftest.
$ac_ext <<_ACEOF
34822 cat confdefs.h
>>conftest.
$ac_ext
34823 cat >>conftest.
$ac_ext <<_ACEOF
34824 /* end confdefs.h. */
34825 $ac_includes_default
34829 rm -f conftest.
$ac_objext
34830 if { (ac_try
="$ac_compile"
34831 case "(($ac_try" in
34832 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34833 *) ac_try_echo=$ac_try;;
34835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34836 (eval "$ac_compile") 2>conftest.er1
34838 grep -v '^ *+' conftest.er1 >conftest.err
34840 cat conftest.err >&5
34841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34842 (exit $ac_status); } && {
34843 test -z "$ac_c_werror_flag" ||
34844 test ! -s conftest.err
34845 } && test -s conftest.$ac_objext; then
34846 ac_cv_header_widec_h=yes
34848 echo "$as_me: failed program was:" >&5
34849 sed 's/^/| /' conftest.$ac_ext >&5
34851 ac_cv_header_widec_h=no
34854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34856 { echo "$as_me:$LINENO: result: $ac_cv_header_widec_h" >&5
34857 echo "${ECHO_T}$ac_cv_header_widec_h" >&6; }
34860 if test "$ac_cv_header_widec_h" = "yes"; then
34861 wchar_headers="$wchar_headers
34862 #include <widec.h>"
34867 for wx_func in wputc wputchar putws fputws wprintf vswprintf
34869 { echo "$as_me:$LINENO: checking for $wx_func" >&5
34870 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
34871 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
34872 echo $ECHO_N "(cached) $ECHO_C" >&6
34875 cat >conftest.$ac_ext <<_ACEOF
34879 cat confdefs.h >>conftest.$ac_ext
34880 cat >>conftest.$ac_ext <<_ACEOF
34881 /* end confdefs.h. */
34884 $ac_includes_default
34900 rm -f conftest.$ac_objext conftest$ac_exeext
34901 if { (ac_try="$ac_link"
34902 case "(($ac_try" in
34903 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34904 *) ac_try_echo
=$ac_try;;
34906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34907 (eval "$ac_link") 2>conftest.er1
34909 grep -v '^ *+' conftest.er1
>conftest.err
34911 cat conftest.err
>&5
34912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34913 (exit $ac_status); } && {
34914 test -z "$ac_c_werror_flag" ||
34915 test ! -s conftest.err
34916 } && test -s conftest
$ac_exeext &&
34917 $as_test_x conftest
$ac_exeext; then
34918 eval wx_cv_func_
$wx_func=yes
34920 echo "$as_me: failed program was:" >&5
34921 sed 's/^/| /' conftest.
$ac_ext >&5
34923 eval wx_cv_func_
$wx_func=no
34926 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34927 conftest
$ac_exeext conftest.
$ac_ext
34930 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
34931 { echo "$as_me:$LINENO: result: $ac_res" >&5
34932 echo "${ECHO_T}$ac_res" >&6; }
34934 if eval test \
$wx_cv_func_$wx_func = yes
34936 cat >>confdefs.h
<<_ACEOF
34937 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
34948 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
34949 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
34950 cat >conftest.
$ac_ext <<_ACEOF
34953 cat confdefs.h
>>conftest.
$ac_ext
34954 cat >>conftest.
$ac_ext <<_ACEOF
34955 /* end confdefs.h. */
34965 rm -f conftest.
$ac_objext
34966 if { (ac_try
="$ac_compile"
34967 case "(($ac_try" in
34968 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34969 *) ac_try_echo=$ac_try;;
34971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34972 (eval "$ac_compile") 2>conftest.er1
34974 grep -v '^ *+' conftest.er1 >conftest.err
34976 cat conftest.err >&5
34977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34978 (exit $ac_status); } && {
34979 test -z "$ac_c_werror_flag" ||
34980 test ! -s conftest.err
34981 } && test -s conftest.$ac_objext; then
34982 { echo "$as_me:$LINENO: result: yes" >&5
34983 echo "${ECHO_T}yes" >&6; }
34984 cat >>confdefs.h <<\_ACEOF
34985 #define HAVE__VSNWPRINTF 1
34989 echo "$as_me: failed program was:" >&5
34990 sed 's/^/| /' conftest.$ac_ext >&5
34992 { echo "$as_me:$LINENO: result: no" >&5
34993 echo "${ECHO_T}no" >&6; }
34996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
34999 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
35001 for wx_func in fnmatch
35003 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35004 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35005 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35006 echo $ECHO_N "(cached) $ECHO_C" >&6
35009 cat >conftest.$ac_ext <<_ACEOF
35013 cat confdefs.h >>conftest.$ac_ext
35014 cat >>conftest.$ac_ext <<_ACEOF
35015 /* end confdefs.h. */
35017 #include <fnmatch.h>
35018 $ac_includes_default
35034 rm -f conftest.$ac_objext conftest$ac_exeext
35035 if { (ac_try="$ac_link"
35036 case "(($ac_try" in
35037 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35038 *) ac_try_echo
=$ac_try;;
35040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35041 (eval "$ac_link") 2>conftest.er1
35043 grep -v '^ *+' conftest.er1
>conftest.err
35045 cat conftest.err
>&5
35046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35047 (exit $ac_status); } && {
35048 test -z "$ac_c_werror_flag" ||
35049 test ! -s conftest.err
35050 } && test -s conftest
$ac_exeext &&
35051 $as_test_x conftest
$ac_exeext; then
35052 eval wx_cv_func_
$wx_func=yes
35054 echo "$as_me: failed program was:" >&5
35055 sed 's/^/| /' conftest.
$ac_ext >&5
35057 eval wx_cv_func_
$wx_func=no
35060 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35061 conftest
$ac_exeext conftest.
$ac_ext
35064 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
35065 { echo "$as_me:$LINENO: result: $ac_res" >&5
35066 echo "${ECHO_T}$ac_res" >&6; }
35068 if eval test \
$wx_cv_func_$wx_func = yes
35070 cat >>confdefs.h
<<_ACEOF
35071 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35083 if test "$wxUSE_FILE" = "yes"; then
35085 for wx_func
in fsync
35087 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35088 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35089 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35090 echo $ECHO_N "(cached) $ECHO_C" >&6
35093 cat >conftest.
$ac_ext <<_ACEOF
35097 cat confdefs.h
>>conftest.
$ac_ext
35098 cat >>conftest.
$ac_ext <<_ACEOF
35099 /* end confdefs.h. */
35102 $ac_includes_default
35118 rm -f conftest.
$ac_objext conftest
$ac_exeext
35119 if { (ac_try
="$ac_link"
35120 case "(($ac_try" in
35121 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35122 *) ac_try_echo=$ac_try;;
35124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35125 (eval "$ac_link") 2>conftest.er1
35127 grep -v '^ *+' conftest.er1 >conftest.err
35129 cat conftest.err >&5
35130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35131 (exit $ac_status); } && {
35132 test -z "$ac_c_werror_flag" ||
35133 test ! -s conftest.err
35134 } && test -s conftest$ac_exeext &&
35135 $as_test_x conftest$ac_exeext; then
35136 eval wx_cv_func_$wx_func=yes
35138 echo "$as_me: failed program was:" >&5
35139 sed 's/^/| /' conftest.$ac_ext >&5
35141 eval wx_cv_func_$wx_func=no
35144 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35145 conftest$ac_exeext conftest.$ac_ext
35148 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35149 { echo "$as_me:$LINENO: result: $ac_res" >&5
35150 echo "${ECHO_T}$ac_res" >&6; }
35152 if eval test \$wx_cv_func_$wx_func = yes
35154 cat >>confdefs.h <<_ACEOF
35155 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35168 ac_cpp='$CXXCPP $CPPFLAGS'
35169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35174 for wx_func in round
35176 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35177 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35178 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35179 echo $ECHO_N "(cached) $ECHO_C" >&6
35182 cat >conftest.$ac_ext <<_ACEOF
35186 cat confdefs.h >>conftest.$ac_ext
35187 cat >>conftest.$ac_ext <<_ACEOF
35188 /* end confdefs.h. */
35191 $ac_includes_default
35207 rm -f conftest.$ac_objext conftest$ac_exeext
35208 if { (ac_try="$ac_link"
35209 case "(($ac_try" in
35210 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35211 *) ac_try_echo
=$ac_try;;
35213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35214 (eval "$ac_link") 2>conftest.er1
35216 grep -v '^ *+' conftest.er1
>conftest.err
35218 cat conftest.err
>&5
35219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35220 (exit $ac_status); } && {
35221 test -z "$ac_cxx_werror_flag" ||
35222 test ! -s conftest.err
35223 } && test -s conftest
$ac_exeext &&
35224 $as_test_x conftest
$ac_exeext; then
35225 eval wx_cv_func_
$wx_func=yes
35227 echo "$as_me: failed program was:" >&5
35228 sed 's/^/| /' conftest.
$ac_ext >&5
35230 eval wx_cv_func_
$wx_func=no
35233 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35234 conftest
$ac_exeext conftest.
$ac_ext
35237 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
35238 { echo "$as_me:$LINENO: result: $ac_res" >&5
35239 echo "${ECHO_T}$ac_res" >&6; }
35241 if eval test \
$wx_cv_func_$wx_func = yes
35243 cat >>confdefs.h
<<_ACEOF
35244 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35255 ac_cpp
='$CPP $CPPFLAGS'
35256 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35257 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35258 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35261 if test "$TOOLKIT" != "MSW"; then
35267 # Check whether --with-libiconv-prefix was given.
35268 if test "${with_libiconv_prefix+set}" = set; then
35269 withval
=$with_libiconv_prefix;
35270 for dir
in `echo "$withval" | tr : ' '`; do
35271 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
35272 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
35278 { echo "$as_me:$LINENO: checking for iconv" >&5
35279 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
35280 if test "${am_cv_func_iconv+set}" = set; then
35281 echo $ECHO_N "(cached) $ECHO_C" >&6
35284 am_cv_func_iconv
="no, consider installing GNU libiconv"
35286 cat >conftest.
$ac_ext <<_ACEOF
35289 cat confdefs.h
>>conftest.
$ac_ext
35290 cat >>conftest.
$ac_ext <<_ACEOF
35291 /* end confdefs.h. */
35292 #include <stdlib.h>
35297 iconv_t cd = iconv_open("","");
35298 iconv(cd,NULL,NULL,NULL,NULL);
35304 rm -f conftest.
$ac_objext conftest
$ac_exeext
35305 if { (ac_try
="$ac_link"
35306 case "(($ac_try" in
35307 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35308 *) ac_try_echo=$ac_try;;
35310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35311 (eval "$ac_link") 2>conftest.er1
35313 grep -v '^ *+' conftest.er1 >conftest.err
35315 cat conftest.err >&5
35316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35317 (exit $ac_status); } && {
35318 test -z "$ac_c_werror_flag" ||
35319 test ! -s conftest.err
35320 } && test -s conftest$ac_exeext &&
35321 $as_test_x conftest$ac_exeext; then
35322 am_cv_func_iconv=yes
35324 echo "$as_me: failed program was:" >&5
35325 sed 's/^/| /' conftest.$ac_ext >&5
35330 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35331 conftest$ac_exeext conftest.$ac_ext
35332 if test "$am_cv_func_iconv" != yes; then
35333 am_save_LIBS="$LIBS"
35334 LIBS="$LIBS -liconv"
35335 cat >conftest.$ac_ext <<_ACEOF
35338 cat confdefs.h >>conftest.$ac_ext
35339 cat >>conftest.$ac_ext <<_ACEOF
35340 /* end confdefs.h. */
35341 #include <stdlib.h>
35346 iconv_t cd = iconv_open("","");
35347 iconv(cd,NULL,NULL,NULL,NULL);
35353 rm -f conftest.$ac_objext conftest$ac_exeext
35354 if { (ac_try="$ac_link"
35355 case "(($ac_try" in
35356 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35357 *) ac_try_echo
=$ac_try;;
35359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35360 (eval "$ac_link") 2>conftest.er1
35362 grep -v '^ *+' conftest.er1
>conftest.err
35364 cat conftest.err
>&5
35365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35366 (exit $ac_status); } && {
35367 test -z "$ac_c_werror_flag" ||
35368 test ! -s conftest.err
35369 } && test -s conftest
$ac_exeext &&
35370 $as_test_x conftest
$ac_exeext; then
35371 am_cv_lib_iconv
=yes
35372 am_cv_func_iconv
=yes
35374 echo "$as_me: failed program was:" >&5
35375 sed 's/^/| /' conftest.
$ac_ext >&5
35380 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35381 conftest
$ac_exeext conftest.
$ac_ext
35382 LIBS
="$am_save_LIBS"
35386 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
35387 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
35388 if test "$am_cv_func_iconv" = yes; then
35390 cat >>confdefs.h
<<\_ACEOF
35391 #define HAVE_ICONV 1
35394 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
35395 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
35396 if test "${wx_cv_func_iconv_const+set}" = set; then
35397 echo $ECHO_N "(cached) $ECHO_C" >&6
35399 cat >conftest.
$ac_ext <<_ACEOF
35402 cat confdefs.h
>>conftest.
$ac_ext
35403 cat >>conftest.
$ac_ext <<_ACEOF
35404 /* end confdefs.h. */
35406 #include <stdlib.h>
35412 #if defined(__STDC__) || defined(__cplusplus)
35413 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
35426 rm -f conftest.
$ac_objext
35427 if { (ac_try
="$ac_compile"
35428 case "(($ac_try" in
35429 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35430 *) ac_try_echo=$ac_try;;
35432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35433 (eval "$ac_compile") 2>conftest.er1
35435 grep -v '^ *+' conftest.er1 >conftest.err
35437 cat conftest.err >&5
35438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35439 (exit $ac_status); } && {
35440 test -z "$ac_c_werror_flag" ||
35441 test ! -s conftest.err
35442 } && test -s conftest.$ac_objext; then
35443 wx_cv_func_iconv_const="no"
35445 echo "$as_me: failed program was:" >&5
35446 sed 's/^/| /' conftest.$ac_ext >&5
35448 wx_cv_func_iconv_const="yes"
35452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35455 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
35456 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
35459 if test "x$wx_cv_func_iconv_const" = "xyes"; then
35460 iconv_const="const"
35464 cat >>confdefs.h <<_ACEOF
35465 #define ICONV_CONST $iconv_const
35470 if test "$am_cv_lib_iconv" = yes; then
35475 LIBS="$LIBICONV $LIBS"
35477 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35479 for ac_func in sigaction
35481 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35482 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35483 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35484 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35485 echo $ECHO_N "(cached) $ECHO_C" >&6
35487 cat >conftest.$ac_ext <<_ACEOF
35490 cat confdefs.h >>conftest.$ac_ext
35491 cat >>conftest.$ac_ext <<_ACEOF
35492 /* end confdefs.h. */
35493 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35494 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35495 #define $ac_func innocuous_$ac_func
35497 /* System header to define __stub macros and hopefully few prototypes,
35498 which can conflict with char $ac_func (); below.
35499 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35500 <limits.h> exists even on freestanding compilers. */
35503 # include <limits.h>
35505 # include <assert.h>
35510 /* Override any GCC internal prototype to avoid an error.
35511 Use char because int might match the return type of a GCC
35512 builtin and then its argument prototype would still apply. */
35517 /* The GNU C library defines this for functions which it implements
35518 to always fail with ENOSYS. Some functions are actually named
35519 something starting with __ and the normal name is an alias. */
35520 #if defined __stub_$ac_func || defined __stub___$ac_func
35527 return $ac_func ();
35532 rm -f conftest.$ac_objext conftest$ac_exeext
35533 if { (ac_try="$ac_link"
35534 case "(($ac_try" in
35535 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35536 *) ac_try_echo
=$ac_try;;
35538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35539 (eval "$ac_link") 2>conftest.er1
35541 grep -v '^ *+' conftest.er1
>conftest.err
35543 cat conftest.err
>&5
35544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35545 (exit $ac_status); } && {
35546 test -z "$ac_c_werror_flag" ||
35547 test ! -s conftest.err
35548 } && test -s conftest
$ac_exeext &&
35549 $as_test_x conftest
$ac_exeext; then
35550 eval "$as_ac_var=yes"
35552 echo "$as_me: failed program was:" >&5
35553 sed 's/^/| /' conftest.
$ac_ext >&5
35555 eval "$as_ac_var=no"
35558 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35559 conftest
$ac_exeext conftest.
$ac_ext
35561 ac_res
=`eval echo '${'$as_ac_var'}'`
35562 { echo "$as_me:$LINENO: result: $ac_res" >&5
35563 echo "${ECHO_T}$ac_res" >&6; }
35564 if test `eval echo '${'$as_ac_var'}'` = yes; then
35565 cat >>confdefs.h
<<_ACEOF
35566 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35573 if test "$ac_cv_func_sigaction" = "no"; then
35574 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
35575 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
35576 wxUSE_ON_FATAL_EXCEPTION
=no
35579 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35580 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
35581 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
35582 if test "${wx_cv_type_sa_handler+set}" = set; then
35583 echo $ECHO_N "(cached) $ECHO_C" >&6
35587 ac_cpp
='$CXXCPP $CPPFLAGS'
35588 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35589 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35590 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35592 cat >conftest.
$ac_ext <<_ACEOF
35595 cat confdefs.h
>>conftest.
$ac_ext
35596 cat >>conftest.
$ac_ext <<_ACEOF
35597 /* end confdefs.h. */
35598 #include <signal.h>
35603 extern void testSigHandler(int);
35605 struct sigaction sa;
35606 sa.sa_handler = testSigHandler;
35612 rm -f conftest.
$ac_objext
35613 if { (ac_try
="$ac_compile"
35614 case "(($ac_try" in
35615 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35616 *) ac_try_echo=$ac_try;;
35618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35619 (eval "$ac_compile") 2>conftest.er1
35621 grep -v '^ *+' conftest.er1 >conftest.err
35623 cat conftest.err >&5
35624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35625 (exit $ac_status); } && {
35626 test -z "$ac_cxx_werror_flag" ||
35627 test ! -s conftest.err
35628 } && test -s conftest.$ac_objext; then
35630 wx_cv_type_sa_handler=int
35633 echo "$as_me: failed program was:" >&5
35634 sed 's/^/| /' conftest.$ac_ext >&5
35637 wx_cv_type_sa_handler=void
35641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35643 ac_cpp='$CPP $CPPFLAGS'
35644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35650 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
35651 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
35653 cat >>confdefs.h <<_ACEOF
35654 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
35660 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35661 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
35662 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
35663 if test "${wx_cv_func_backtrace+set}" = set; then
35664 echo $ECHO_N "(cached) $ECHO_C" >&6
35668 ac_cpp='$CXXCPP $CPPFLAGS'
35669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35673 cat >conftest.$ac_ext <<_ACEOF
35676 cat confdefs.h >>conftest.$ac_ext
35677 cat >>conftest.$ac_ext <<_ACEOF
35678 /* end confdefs.h. */
35679 #include <execinfo.h>
35687 backtrace(trace, 1);
35688 messages = backtrace_symbols(trace, 1);
35694 rm -f conftest.$ac_objext
35695 if { (ac_try="$ac_compile"
35696 case "(($ac_try" in
35697 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35698 *) ac_try_echo
=$ac_try;;
35700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35701 (eval "$ac_compile") 2>conftest.er1
35703 grep -v '^ *+' conftest.er1
>conftest.err
35705 cat conftest.err
>&5
35706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35707 (exit $ac_status); } && {
35708 test -z "$ac_cxx_werror_flag" ||
35709 test ! -s conftest.err
35710 } && test -s conftest.
$ac_objext; then
35711 wx_cv_func_backtrace
=yes
35713 echo "$as_me: failed program was:" >&5
35714 sed 's/^/| /' conftest.
$ac_ext >&5
35716 wx_cv_func_backtrace
=no
35720 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35722 ac_cpp
='$CPP $CPPFLAGS'
35723 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35724 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35725 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35730 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
35731 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
35734 if test "$wx_cv_func_backtrace" = "no"; then
35735 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
35736 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
35737 wxUSE_STACKWALKER
=no
35739 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
35740 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
35741 if test "${wx_cv_func_cxa_demangle+set}" = set; then
35742 echo $ECHO_N "(cached) $ECHO_C" >&6
35746 ac_cpp
='$CXXCPP $CPPFLAGS'
35747 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35748 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35749 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35751 cat >conftest.
$ac_ext <<_ACEOF
35754 cat confdefs.h
>>conftest.
$ac_ext
35755 cat >>conftest.
$ac_ext <<_ACEOF
35756 /* end confdefs.h. */
35757 #include <cxxabi.h>
35763 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
35769 rm -f conftest.
$ac_objext conftest
$ac_exeext
35770 if { (ac_try
="$ac_link"
35771 case "(($ac_try" in
35772 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35773 *) ac_try_echo=$ac_try;;
35775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35776 (eval "$ac_link") 2>conftest.er1
35778 grep -v '^ *+' conftest.er1 >conftest.err
35780 cat conftest.err >&5
35781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35782 (exit $ac_status); } && {
35783 test -z "$ac_cxx_werror_flag" ||
35784 test ! -s conftest.err
35785 } && test -s conftest$ac_exeext &&
35786 $as_test_x conftest$ac_exeext; then
35787 wx_cv_func_cxa_demangle=yes
35789 echo "$as_me: failed program was:" >&5
35790 sed 's/^/| /' conftest.$ac_ext >&5
35792 wx_cv_func_cxa_demangle=no
35796 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35797 conftest$ac_exeext conftest.$ac_ext
35799 ac_cpp='$CPP $CPPFLAGS'
35800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35807 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
35808 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
35810 if test "$wx_cv_func_cxa_demangle" = "yes"; then
35811 cat >>confdefs.h <<\_ACEOF
35812 #define HAVE_CXA_DEMANGLE 1
35819 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
35820 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
35821 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
35822 wxUSE_STACKWALKER=no
35828 for ac_func in mkstemp mktemp
35830 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35831 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35832 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35833 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35834 echo $ECHO_N "(cached) $ECHO_C" >&6
35836 cat >conftest.$ac_ext <<_ACEOF
35839 cat confdefs.h >>conftest.$ac_ext
35840 cat >>conftest.$ac_ext <<_ACEOF
35841 /* end confdefs.h. */
35842 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35843 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35844 #define $ac_func innocuous_$ac_func
35846 /* System header to define __stub macros and hopefully few prototypes,
35847 which can conflict with char $ac_func (); below.
35848 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35849 <limits.h> exists even on freestanding compilers. */
35852 # include <limits.h>
35854 # include <assert.h>
35859 /* Override any GCC internal prototype to avoid an error.
35860 Use char because int might match the return type of a GCC
35861 builtin and then its argument prototype would still apply. */
35866 /* The GNU C library defines this for functions which it implements
35867 to always fail with ENOSYS. Some functions are actually named
35868 something starting with __ and the normal name is an alias. */
35869 #if defined __stub_$ac_func || defined __stub___$ac_func
35876 return $ac_func ();
35881 rm -f conftest.$ac_objext conftest$ac_exeext
35882 if { (ac_try="$ac_link"
35883 case "(($ac_try" in
35884 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35885 *) ac_try_echo
=$ac_try;;
35887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35888 (eval "$ac_link") 2>conftest.er1
35890 grep -v '^ *+' conftest.er1
>conftest.err
35892 cat conftest.err
>&5
35893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35894 (exit $ac_status); } && {
35895 test -z "$ac_c_werror_flag" ||
35896 test ! -s conftest.err
35897 } && test -s conftest
$ac_exeext &&
35898 $as_test_x conftest
$ac_exeext; then
35899 eval "$as_ac_var=yes"
35901 echo "$as_me: failed program was:" >&5
35902 sed 's/^/| /' conftest.
$ac_ext >&5
35904 eval "$as_ac_var=no"
35907 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35908 conftest
$ac_exeext conftest.
$ac_ext
35910 ac_res
=`eval echo '${'$as_ac_var'}'`
35911 { echo "$as_me:$LINENO: result: $ac_res" >&5
35912 echo "${ECHO_T}$ac_res" >&6; }
35913 if test `eval echo '${'$as_ac_var'}'` = yes; then
35914 cat >>confdefs.h
<<_ACEOF
35915 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35922 { echo "$as_me:$LINENO: checking for statfs" >&5
35923 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
35924 if test "${wx_cv_func_statfs+set}" = set; then
35925 echo $ECHO_N "(cached) $ECHO_C" >&6
35927 cat >conftest.
$ac_ext <<_ACEOF
35930 cat confdefs.h
>>conftest.
$ac_ext
35931 cat >>conftest.
$ac_ext <<_ACEOF
35932 /* end confdefs.h. */
35934 #if defined(__BSD__)
35935 #include <sys/param.h>
35936 #include <sys/mount.h>
35938 #include <sys/vfs.h>
35956 rm -f conftest.
$ac_objext
35957 if { (ac_try
="$ac_compile"
35958 case "(($ac_try" in
35959 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35960 *) ac_try_echo=$ac_try;;
35962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35963 (eval "$ac_compile") 2>conftest.er1
35965 grep -v '^ *+' conftest.er1 >conftest.err
35967 cat conftest.err >&5
35968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35969 (exit $ac_status); } && {
35970 test -z "$ac_c_werror_flag" ||
35971 test ! -s conftest.err
35972 } && test -s conftest.$ac_objext; then
35973 wx_cv_func_statfs=yes
35975 echo "$as_me: failed program was:" >&5
35976 sed 's/^/| /' conftest.$ac_ext >&5
35978 wx_cv_func_statfs=no
35982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35985 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
35986 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
35988 if test "$wx_cv_func_statfs" = "yes"; then
35989 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
35990 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
35991 if test "${wx_cv_func_statfs_decl+set}" = set; then
35992 echo $ECHO_N "(cached) $ECHO_C" >&6
35995 ac_cpp='$CXXCPP $CPPFLAGS'
35996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36000 cat >conftest.$ac_ext <<_ACEOF
36003 cat confdefs.h >>conftest.$ac_ext
36004 cat >>conftest.$ac_ext <<_ACEOF
36005 /* end confdefs.h. */
36007 #if defined(__BSD__)
36008 #include <sys/param.h>
36009 #include <sys/mount.h>
36011 #include <sys/vfs.h>
36025 rm -f conftest.$ac_objext
36026 if { (ac_try="$ac_compile"
36027 case "(($ac_try" in
36028 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36029 *) ac_try_echo
=$ac_try;;
36031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36032 (eval "$ac_compile") 2>conftest.er1
36034 grep -v '^ *+' conftest.er1
>conftest.err
36036 cat conftest.err
>&5
36037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36038 (exit $ac_status); } && {
36039 test -z "$ac_cxx_werror_flag" ||
36040 test ! -s conftest.err
36041 } && test -s conftest.
$ac_objext; then
36042 wx_cv_func_statfs_decl
=yes
36044 echo "$as_me: failed program was:" >&5
36045 sed 's/^/| /' conftest.
$ac_ext >&5
36047 wx_cv_func_statfs_decl
=no
36051 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36053 ac_cpp
='$CPP $CPPFLAGS'
36054 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36055 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36056 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36060 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36061 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36063 if test "$wx_cv_func_statfs_decl" = "yes"; then
36064 cat >>confdefs.h
<<\_ACEOF
36065 #define HAVE_STATFS_DECL 1
36070 wx_cv_type_statvfs_t
="struct statfs"
36071 cat >>confdefs.h
<<\_ACEOF
36072 #define HAVE_STATFS 1
36076 { echo "$as_me:$LINENO: checking for statvfs" >&5
36077 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36078 if test "${wx_cv_func_statvfs+set}" = set; then
36079 echo $ECHO_N "(cached) $ECHO_C" >&6
36081 cat >conftest.
$ac_ext <<_ACEOF
36084 cat confdefs.h
>>conftest.
$ac_ext
36085 cat >>conftest.
$ac_ext <<_ACEOF
36086 /* end confdefs.h. */
36088 #include <stddef.h>
36089 #include <sys/statvfs.h>
36095 statvfs("/", NULL);
36101 rm -f conftest.
$ac_objext
36102 if { (ac_try
="$ac_compile"
36103 case "(($ac_try" in
36104 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36105 *) ac_try_echo=$ac_try;;
36107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36108 (eval "$ac_compile") 2>conftest.er1
36110 grep -v '^ *+' conftest.er1 >conftest.err
36112 cat conftest.err >&5
36113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36114 (exit $ac_status); } && {
36115 test -z "$ac_c_werror_flag" ||
36116 test ! -s conftest.err
36117 } && test -s conftest.$ac_objext; then
36118 wx_cv_func_statvfs=yes
36120 echo "$as_me: failed program was:" >&5
36121 sed 's/^/| /' conftest.$ac_ext >&5
36123 wx_cv_func_statvfs=no
36127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36130 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36131 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
36133 if test "$wx_cv_func_statvfs" = "yes"; then
36134 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36135 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
36136 if test "${wx_cv_type_statvfs_t+set}" = set; then
36137 echo $ECHO_N "(cached) $ECHO_C" >&6
36140 ac_cpp='$CXXCPP $CPPFLAGS'
36141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36145 cat >conftest.$ac_ext <<_ACEOF
36148 cat confdefs.h >>conftest.$ac_ext
36149 cat >>conftest.$ac_ext <<_ACEOF
36150 /* end confdefs.h. */
36152 #include <sys/statvfs.h>
36169 rm -f conftest.$ac_objext
36170 if { (ac_try="$ac_compile"
36171 case "(($ac_try" in
36172 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36173 *) ac_try_echo
=$ac_try;;
36175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36176 (eval "$ac_compile") 2>conftest.er1
36178 grep -v '^ *+' conftest.er1
>conftest.err
36180 cat conftest.err
>&5
36181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36182 (exit $ac_status); } && {
36183 test -z "$ac_cxx_werror_flag" ||
36184 test ! -s conftest.err
36185 } && test -s conftest.
$ac_objext; then
36186 wx_cv_type_statvfs_t
=statvfs_t
36188 echo "$as_me: failed program was:" >&5
36189 sed 's/^/| /' conftest.
$ac_ext >&5
36192 cat >conftest.
$ac_ext <<_ACEOF
36195 cat confdefs.h
>>conftest.
$ac_ext
36196 cat >>conftest.
$ac_ext <<_ACEOF
36197 /* end confdefs.h. */
36199 #include <sys/statvfs.h>
36216 rm -f conftest.
$ac_objext
36217 if { (ac_try
="$ac_compile"
36218 case "(($ac_try" in
36219 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36220 *) ac_try_echo=$ac_try;;
36222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36223 (eval "$ac_compile") 2>conftest.er1
36225 grep -v '^ *+' conftest.er1 >conftest.err
36227 cat conftest.err >&5
36228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36229 (exit $ac_status); } && {
36230 test -z "$ac_cxx_werror_flag" ||
36231 test ! -s conftest.err
36232 } && test -s conftest.$ac_objext; then
36233 wx_cv_type_statvfs_t="struct statvfs"
36235 echo "$as_me: failed program was:" >&5
36236 sed 's/^/| /' conftest.$ac_ext >&5
36238 wx_cv_type_statvfs_t="unknown"
36242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36249 ac_cpp='$CPP $CPPFLAGS'
36250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36256 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
36257 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
36259 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36260 cat >>confdefs.h <<\_ACEOF
36261 #define HAVE_STATVFS 1
36266 wx_cv_type_statvfs_t="unknown"
36270 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36271 cat >>confdefs.h <<_ACEOF
36272 #define WX_STATFS_T $wx_cv_type_statvfs_t
36276 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
36277 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
36280 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36283 for ac_func in fcntl flock
36285 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36286 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36287 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36288 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36289 echo $ECHO_N "(cached) $ECHO_C" >&6
36291 cat >conftest.$ac_ext <<_ACEOF
36294 cat confdefs.h >>conftest.$ac_ext
36295 cat >>conftest.$ac_ext <<_ACEOF
36296 /* end confdefs.h. */
36297 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36298 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36299 #define $ac_func innocuous_$ac_func
36301 /* System header to define __stub macros and hopefully few prototypes,
36302 which can conflict with char $ac_func (); below.
36303 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36304 <limits.h> exists even on freestanding compilers. */
36307 # include <limits.h>
36309 # include <assert.h>
36314 /* Override any GCC internal prototype to avoid an error.
36315 Use char because int might match the return type of a GCC
36316 builtin and then its argument prototype would still apply. */
36321 /* The GNU C library defines this for functions which it implements
36322 to always fail with ENOSYS. Some functions are actually named
36323 something starting with __ and the normal name is an alias. */
36324 #if defined __stub_$ac_func || defined __stub___$ac_func
36331 return $ac_func ();
36336 rm -f conftest.$ac_objext conftest$ac_exeext
36337 if { (ac_try="$ac_link"
36338 case "(($ac_try" in
36339 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36340 *) ac_try_echo
=$ac_try;;
36342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36343 (eval "$ac_link") 2>conftest.er1
36345 grep -v '^ *+' conftest.er1
>conftest.err
36347 cat conftest.err
>&5
36348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36349 (exit $ac_status); } && {
36350 test -z "$ac_c_werror_flag" ||
36351 test ! -s conftest.err
36352 } && test -s conftest
$ac_exeext &&
36353 $as_test_x conftest
$ac_exeext; then
36354 eval "$as_ac_var=yes"
36356 echo "$as_me: failed program was:" >&5
36357 sed 's/^/| /' conftest.
$ac_ext >&5
36359 eval "$as_ac_var=no"
36362 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36363 conftest
$ac_exeext conftest.
$ac_ext
36365 ac_res
=`eval echo '${'$as_ac_var'}'`
36366 { echo "$as_me:$LINENO: result: $ac_res" >&5
36367 echo "${ECHO_T}$ac_res" >&6; }
36368 if test `eval echo '${'$as_ac_var'}'` = yes; then
36369 cat >>confdefs.h
<<_ACEOF
36370 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36377 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
36378 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
36379 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
36380 wxUSE_SNGLINST_CHECKER
=no
36385 for ac_func
in timegm
36387 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36388 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36389 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36390 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36391 echo $ECHO_N "(cached) $ECHO_C" >&6
36393 cat >conftest.
$ac_ext <<_ACEOF
36396 cat confdefs.h
>>conftest.
$ac_ext
36397 cat >>conftest.
$ac_ext <<_ACEOF
36398 /* end confdefs.h. */
36399 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36400 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36401 #define $ac_func innocuous_$ac_func
36403 /* System header to define __stub macros and hopefully few prototypes,
36404 which can conflict with char $ac_func (); below.
36405 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36406 <limits.h> exists even on freestanding compilers. */
36409 # include <limits.h>
36411 # include <assert.h>
36416 /* Override any GCC internal prototype to avoid an error.
36417 Use char because int might match the return type of a GCC
36418 builtin and then its argument prototype would still apply. */
36423 /* The GNU C library defines this for functions which it implements
36424 to always fail with ENOSYS. Some functions are actually named
36425 something starting with __ and the normal name is an alias. */
36426 #if defined __stub_$ac_func || defined __stub___$ac_func
36433 return $ac_func ();
36438 rm -f conftest.
$ac_objext conftest
$ac_exeext
36439 if { (ac_try
="$ac_link"
36440 case "(($ac_try" in
36441 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36442 *) ac_try_echo=$ac_try;;
36444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36445 (eval "$ac_link") 2>conftest.er1
36447 grep -v '^ *+' conftest.er1 >conftest.err
36449 cat conftest.err >&5
36450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36451 (exit $ac_status); } && {
36452 test -z "$ac_c_werror_flag" ||
36453 test ! -s conftest.err
36454 } && test -s conftest$ac_exeext &&
36455 $as_test_x conftest$ac_exeext; then
36456 eval "$as_ac_var=yes"
36458 echo "$as_me: failed program was:" >&5
36459 sed 's/^/| /' conftest.$ac_ext >&5
36461 eval "$as_ac_var=no"
36464 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36465 conftest$ac_exeext conftest.$ac_ext
36467 ac_res=`eval echo '${'$as_ac_var'}'`
36468 { echo "$as_me:$LINENO: result: $ac_res" >&5
36469 echo "${ECHO_T}$ac_res" >&6; }
36470 if test `eval echo '${'$as_ac_var'}'` = yes; then
36471 cat >>confdefs.h <<_ACEOF
36472 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36481 for ac_func in putenv setenv
36483 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36484 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36485 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36486 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36487 echo $ECHO_N "(cached) $ECHO_C" >&6
36489 cat >conftest.$ac_ext <<_ACEOF
36492 cat confdefs.h >>conftest.$ac_ext
36493 cat >>conftest.$ac_ext <<_ACEOF
36494 /* end confdefs.h. */
36495 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36496 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36497 #define $ac_func innocuous_$ac_func
36499 /* System header to define __stub macros and hopefully few prototypes,
36500 which can conflict with char $ac_func (); below.
36501 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36502 <limits.h> exists even on freestanding compilers. */
36505 # include <limits.h>
36507 # include <assert.h>
36512 /* Override any GCC internal prototype to avoid an error.
36513 Use char because int might match the return type of a GCC
36514 builtin and then its argument prototype would still apply. */
36519 /* The GNU C library defines this for functions which it implements
36520 to always fail with ENOSYS. Some functions are actually named
36521 something starting with __ and the normal name is an alias. */
36522 #if defined __stub_$ac_func || defined __stub___$ac_func
36529 return $ac_func ();
36534 rm -f conftest.$ac_objext conftest$ac_exeext
36535 if { (ac_try="$ac_link"
36536 case "(($ac_try" in
36537 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36538 *) ac_try_echo
=$ac_try;;
36540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36541 (eval "$ac_link") 2>conftest.er1
36543 grep -v '^ *+' conftest.er1
>conftest.err
36545 cat conftest.err
>&5
36546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36547 (exit $ac_status); } && {
36548 test -z "$ac_c_werror_flag" ||
36549 test ! -s conftest.err
36550 } && test -s conftest
$ac_exeext &&
36551 $as_test_x conftest
$ac_exeext; then
36552 eval "$as_ac_var=yes"
36554 echo "$as_me: failed program was:" >&5
36555 sed 's/^/| /' conftest.
$ac_ext >&5
36557 eval "$as_ac_var=no"
36560 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36561 conftest
$ac_exeext conftest.
$ac_ext
36563 ac_res
=`eval echo '${'$as_ac_var'}'`
36564 { echo "$as_me:$LINENO: result: $ac_res" >&5
36565 echo "${ECHO_T}$ac_res" >&6; }
36566 if test `eval echo '${'$as_ac_var'}'` = yes; then
36567 cat >>confdefs.h
<<_ACEOF
36568 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36575 HAVE_SOME_SLEEP_FUNC
=0
36576 if test "$USE_BEOS" = 1; then
36577 cat >>confdefs.h
<<\_ACEOF
36578 #define HAVE_SLEEP 1
36581 HAVE_SOME_SLEEP_FUNC
=1
36584 if test "$USE_DARWIN" = 1; then
36585 cat >>confdefs.h
<<\_ACEOF
36586 #define HAVE_USLEEP 1
36589 HAVE_SOME_SLEEP_FUNC
=1
36592 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
36595 for ac_func
in nanosleep
36597 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36598 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36599 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36600 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36601 echo $ECHO_N "(cached) $ECHO_C" >&6
36603 cat >conftest.
$ac_ext <<_ACEOF
36606 cat confdefs.h
>>conftest.
$ac_ext
36607 cat >>conftest.
$ac_ext <<_ACEOF
36608 /* end confdefs.h. */
36609 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36610 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36611 #define $ac_func innocuous_$ac_func
36613 /* System header to define __stub macros and hopefully few prototypes,
36614 which can conflict with char $ac_func (); below.
36615 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36616 <limits.h> exists even on freestanding compilers. */
36619 # include <limits.h>
36621 # include <assert.h>
36626 /* Override any GCC internal prototype to avoid an error.
36627 Use char because int might match the return type of a GCC
36628 builtin and then its argument prototype would still apply. */
36633 /* The GNU C library defines this for functions which it implements
36634 to always fail with ENOSYS. Some functions are actually named
36635 something starting with __ and the normal name is an alias. */
36636 #if defined __stub_$ac_func || defined __stub___$ac_func
36643 return $ac_func ();
36648 rm -f conftest.
$ac_objext conftest
$ac_exeext
36649 if { (ac_try
="$ac_link"
36650 case "(($ac_try" in
36651 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36652 *) ac_try_echo=$ac_try;;
36654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36655 (eval "$ac_link") 2>conftest.er1
36657 grep -v '^ *+' conftest.er1 >conftest.err
36659 cat conftest.err >&5
36660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36661 (exit $ac_status); } && {
36662 test -z "$ac_c_werror_flag" ||
36663 test ! -s conftest.err
36664 } && test -s conftest$ac_exeext &&
36665 $as_test_x conftest$ac_exeext; then
36666 eval "$as_ac_var=yes"
36668 echo "$as_me: failed program was:" >&5
36669 sed 's/^/| /' conftest.$ac_ext >&5
36671 eval "$as_ac_var=no"
36674 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36675 conftest$ac_exeext conftest.$ac_ext
36677 ac_res=`eval echo '${'$as_ac_var'}'`
36678 { echo "$as_me:$LINENO: result: $ac_res" >&5
36679 echo "${ECHO_T}$ac_res" >&6; }
36680 if test `eval echo '${'$as_ac_var'}'` = yes; then
36681 cat >>confdefs.h <<_ACEOF
36682 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36684 cat >>confdefs.h <<\_ACEOF
36685 #define HAVE_NANOSLEEP 1
36690 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
36691 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
36692 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
36693 echo $ECHO_N "(cached) $ECHO_C" >&6
36695 ac_check_lib_save_LIBS=$LIBS
36696 LIBS="-lposix4 $LIBS"
36697 cat >conftest.$ac_ext <<_ACEOF
36700 cat confdefs.h >>conftest.$ac_ext
36701 cat >>conftest.$ac_ext <<_ACEOF
36702 /* end confdefs.h. */
36704 /* Override any GCC internal prototype to avoid an error.
36705 Use char because int might match the return type of a GCC
36706 builtin and then its argument prototype would still apply. */
36714 return nanosleep ();
36719 rm -f conftest.$ac_objext conftest$ac_exeext
36720 if { (ac_try="$ac_link"
36721 case "(($ac_try" in
36722 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36723 *) ac_try_echo
=$ac_try;;
36725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36726 (eval "$ac_link") 2>conftest.er1
36728 grep -v '^ *+' conftest.er1
>conftest.err
36730 cat conftest.err
>&5
36731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36732 (exit $ac_status); } && {
36733 test -z "$ac_c_werror_flag" ||
36734 test ! -s conftest.err
36735 } && test -s conftest
$ac_exeext &&
36736 $as_test_x conftest
$ac_exeext; then
36737 ac_cv_lib_posix4_nanosleep
=yes
36739 echo "$as_me: failed program was:" >&5
36740 sed 's/^/| /' conftest.
$ac_ext >&5
36742 ac_cv_lib_posix4_nanosleep
=no
36745 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36746 conftest
$ac_exeext conftest.
$ac_ext
36747 LIBS
=$ac_check_lib_save_LIBS
36749 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
36750 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
36751 if test $ac_cv_lib_posix4_nanosleep = yes; then
36753 cat >>confdefs.h
<<\_ACEOF
36754 #define HAVE_NANOSLEEP 1
36757 POSIX4_LINK
=" -lposix4"
36762 for wx_func
in usleep
36764 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36765 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36766 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36767 echo $ECHO_N "(cached) $ECHO_C" >&6
36770 cat >conftest.
$ac_ext <<_ACEOF
36774 cat confdefs.h
>>conftest.
$ac_ext
36775 cat >>conftest.
$ac_ext <<_ACEOF
36776 /* end confdefs.h. */
36779 $ac_includes_default
36795 rm -f conftest.
$ac_objext conftest
$ac_exeext
36796 if { (ac_try
="$ac_link"
36797 case "(($ac_try" in
36798 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36799 *) ac_try_echo=$ac_try;;
36801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36802 (eval "$ac_link") 2>conftest.er1
36804 grep -v '^ *+' conftest.er1 >conftest.err
36806 cat conftest.err >&5
36807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36808 (exit $ac_status); } && {
36809 test -z "$ac_c_werror_flag" ||
36810 test ! -s conftest.err
36811 } && test -s conftest$ac_exeext &&
36812 $as_test_x conftest$ac_exeext; then
36813 eval wx_cv_func_$wx_func=yes
36815 echo "$as_me: failed program was:" >&5
36816 sed 's/^/| /' conftest.$ac_ext >&5
36818 eval wx_cv_func_$wx_func=no
36821 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36822 conftest$ac_exeext conftest.$ac_ext
36825 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36826 { echo "$as_me:$LINENO: result: $ac_res" >&5
36827 echo "${ECHO_T}$ac_res" >&6; }
36829 if eval test \$wx_cv_func_$wx_func = yes
36831 cat >>confdefs.h <<_ACEOF
36832 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36838 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
36839 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
36856 for wx_func in uname
36858 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36859 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36860 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36861 echo $ECHO_N "(cached) $ECHO_C" >&6
36864 cat >conftest.$ac_ext <<_ACEOF
36868 cat confdefs.h >>conftest.$ac_ext
36869 cat >>conftest.$ac_ext <<_ACEOF
36870 /* end confdefs.h. */
36872 #include <sys/utsname.h>
36873 $ac_includes_default
36889 rm -f conftest.$ac_objext conftest$ac_exeext
36890 if { (ac_try="$ac_link"
36891 case "(($ac_try" in
36892 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36893 *) ac_try_echo
=$ac_try;;
36895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36896 (eval "$ac_link") 2>conftest.er1
36898 grep -v '^ *+' conftest.er1
>conftest.err
36900 cat conftest.err
>&5
36901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36902 (exit $ac_status); } && {
36903 test -z "$ac_c_werror_flag" ||
36904 test ! -s conftest.err
36905 } && test -s conftest
$ac_exeext &&
36906 $as_test_x conftest
$ac_exeext; then
36907 eval wx_cv_func_
$wx_func=yes
36909 echo "$as_me: failed program was:" >&5
36910 sed 's/^/| /' conftest.
$ac_ext >&5
36912 eval wx_cv_func_
$wx_func=no
36915 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36916 conftest
$ac_exeext conftest.
$ac_ext
36919 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
36920 { echo "$as_me:$LINENO: result: $ac_res" >&5
36921 echo "${ECHO_T}$ac_res" >&6; }
36923 if eval test \
$wx_cv_func_$wx_func = yes
36925 cat >>confdefs.h
<<_ACEOF
36926 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36936 if test "$wx_cv_func_uname" != yes; then
36938 for wx_func
in gethostname
36940 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36941 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36942 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36943 echo $ECHO_N "(cached) $ECHO_C" >&6
36946 cat >conftest.
$ac_ext <<_ACEOF
36950 cat confdefs.h
>>conftest.
$ac_ext
36951 cat >>conftest.
$ac_ext <<_ACEOF
36952 /* end confdefs.h. */
36955 $ac_includes_default
36971 rm -f conftest.
$ac_objext conftest
$ac_exeext
36972 if { (ac_try
="$ac_link"
36973 case "(($ac_try" in
36974 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36975 *) ac_try_echo=$ac_try;;
36977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36978 (eval "$ac_link") 2>conftest.er1
36980 grep -v '^ *+' conftest.er1 >conftest.err
36982 cat conftest.err >&5
36983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36984 (exit $ac_status); } && {
36985 test -z "$ac_c_werror_flag" ||
36986 test ! -s conftest.err
36987 } && test -s conftest$ac_exeext &&
36988 $as_test_x conftest$ac_exeext; then
36989 eval wx_cv_func_$wx_func=yes
36991 echo "$as_me: failed program was:" >&5
36992 sed 's/^/| /' conftest.$ac_ext >&5
36994 eval wx_cv_func_$wx_func=no
36997 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36998 conftest$ac_exeext conftest.$ac_ext
37001 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37002 { echo "$as_me:$LINENO: result: $ac_res" >&5
37003 echo "${ECHO_T}$ac_res" >&6; }
37005 if eval test \$wx_cv_func_$wx_func = yes
37007 cat >>confdefs.h <<_ACEOF
37008 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37021 for wx_func in strtok_r
37023 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37024 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37025 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37026 echo $ECHO_N "(cached) $ECHO_C" >&6
37029 cat >conftest.$ac_ext <<_ACEOF
37033 cat confdefs.h >>conftest.$ac_ext
37034 cat >>conftest.$ac_ext <<_ACEOF
37035 /* end confdefs.h. */
37038 $ac_includes_default
37054 rm -f conftest.$ac_objext conftest$ac_exeext
37055 if { (ac_try="$ac_link"
37056 case "(($ac_try" in
37057 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37058 *) ac_try_echo
=$ac_try;;
37060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37061 (eval "$ac_link") 2>conftest.er1
37063 grep -v '^ *+' conftest.er1
>conftest.err
37065 cat conftest.err
>&5
37066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37067 (exit $ac_status); } && {
37068 test -z "$ac_c_werror_flag" ||
37069 test ! -s conftest.err
37070 } && test -s conftest
$ac_exeext &&
37071 $as_test_x conftest
$ac_exeext; then
37072 eval wx_cv_func_
$wx_func=yes
37074 echo "$as_me: failed program was:" >&5
37075 sed 's/^/| /' conftest.
$ac_ext >&5
37077 eval wx_cv_func_
$wx_func=no
37080 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37081 conftest
$ac_exeext conftest.
$ac_ext
37084 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37085 { echo "$as_me:$LINENO: result: $ac_res" >&5
37086 echo "${ECHO_T}$ac_res" >&6; }
37088 if eval test \
$wx_cv_func_$wx_func = yes
37090 cat >>confdefs.h
<<_ACEOF
37091 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37104 for ac_func
in inet_addr
37106 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37107 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37108 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37109 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37110 echo $ECHO_N "(cached) $ECHO_C" >&6
37112 cat >conftest.
$ac_ext <<_ACEOF
37115 cat confdefs.h
>>conftest.
$ac_ext
37116 cat >>conftest.
$ac_ext <<_ACEOF
37117 /* end confdefs.h. */
37118 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37119 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37120 #define $ac_func innocuous_$ac_func
37122 /* System header to define __stub macros and hopefully few prototypes,
37123 which can conflict with char $ac_func (); below.
37124 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37125 <limits.h> exists even on freestanding compilers. */
37128 # include <limits.h>
37130 # include <assert.h>
37135 /* Override any GCC internal prototype to avoid an error.
37136 Use char because int might match the return type of a GCC
37137 builtin and then its argument prototype would still apply. */
37142 /* The GNU C library defines this for functions which it implements
37143 to always fail with ENOSYS. Some functions are actually named
37144 something starting with __ and the normal name is an alias. */
37145 #if defined __stub_$ac_func || defined __stub___$ac_func
37152 return $ac_func ();
37157 rm -f conftest.
$ac_objext conftest
$ac_exeext
37158 if { (ac_try
="$ac_link"
37159 case "(($ac_try" in
37160 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37161 *) ac_try_echo=$ac_try;;
37163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37164 (eval "$ac_link") 2>conftest.er1
37166 grep -v '^ *+' conftest.er1 >conftest.err
37168 cat conftest.err >&5
37169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37170 (exit $ac_status); } && {
37171 test -z "$ac_c_werror_flag" ||
37172 test ! -s conftest.err
37173 } && test -s conftest$ac_exeext &&
37174 $as_test_x conftest$ac_exeext; then
37175 eval "$as_ac_var=yes"
37177 echo "$as_me: failed program was:" >&5
37178 sed 's/^/| /' conftest.$ac_ext >&5
37180 eval "$as_ac_var=no"
37183 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37184 conftest$ac_exeext conftest.$ac_ext
37186 ac_res=`eval echo '${'$as_ac_var'}'`
37187 { echo "$as_me:$LINENO: result: $ac_res" >&5
37188 echo "${ECHO_T}$ac_res" >&6; }
37189 if test `eval echo '${'$as_ac_var'}'` = yes; then
37190 cat >>confdefs.h <<_ACEOF
37191 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37193 cat >>confdefs.h <<\_ACEOF
37194 #define HAVE_INET_ADDR 1
37199 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
37200 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
37201 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
37202 echo $ECHO_N "(cached) $ECHO_C" >&6
37204 ac_check_lib_save_LIBS=$LIBS
37206 cat >conftest.$ac_ext <<_ACEOF
37209 cat confdefs.h >>conftest.$ac_ext
37210 cat >>conftest.$ac_ext <<_ACEOF
37211 /* end confdefs.h. */
37213 /* Override any GCC internal prototype to avoid an error.
37214 Use char because int might match the return type of a GCC
37215 builtin and then its argument prototype would still apply. */
37223 return inet_addr ();
37228 rm -f conftest.$ac_objext conftest$ac_exeext
37229 if { (ac_try="$ac_link"
37230 case "(($ac_try" in
37231 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37232 *) ac_try_echo
=$ac_try;;
37234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37235 (eval "$ac_link") 2>conftest.er1
37237 grep -v '^ *+' conftest.er1
>conftest.err
37239 cat conftest.err
>&5
37240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37241 (exit $ac_status); } && {
37242 test -z "$ac_c_werror_flag" ||
37243 test ! -s conftest.err
37244 } && test -s conftest
$ac_exeext &&
37245 $as_test_x conftest
$ac_exeext; then
37246 ac_cv_lib_nsl_inet_addr
=yes
37248 echo "$as_me: failed program was:" >&5
37249 sed 's/^/| /' conftest.
$ac_ext >&5
37251 ac_cv_lib_nsl_inet_addr
=no
37254 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37255 conftest
$ac_exeext conftest.
$ac_ext
37256 LIBS
=$ac_check_lib_save_LIBS
37258 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
37259 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
37260 if test $ac_cv_lib_nsl_inet_addr = yes; then
37264 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
37265 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
37266 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
37267 echo $ECHO_N "(cached) $ECHO_C" >&6
37269 ac_check_lib_save_LIBS
=$LIBS
37270 LIBS
="-lresolv $LIBS"
37271 cat >conftest.
$ac_ext <<_ACEOF
37274 cat confdefs.h
>>conftest.
$ac_ext
37275 cat >>conftest.
$ac_ext <<_ACEOF
37276 /* end confdefs.h. */
37278 /* Override any GCC internal prototype to avoid an error.
37279 Use char because int might match the return type of a GCC
37280 builtin and then its argument prototype would still apply. */
37288 return inet_addr ();
37293 rm -f conftest.
$ac_objext conftest
$ac_exeext
37294 if { (ac_try
="$ac_link"
37295 case "(($ac_try" in
37296 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37297 *) ac_try_echo=$ac_try;;
37299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37300 (eval "$ac_link") 2>conftest.er1
37302 grep -v '^ *+' conftest.er1 >conftest.err
37304 cat conftest.err >&5
37305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37306 (exit $ac_status); } && {
37307 test -z "$ac_c_werror_flag" ||
37308 test ! -s conftest.err
37309 } && test -s conftest$ac_exeext &&
37310 $as_test_x conftest$ac_exeext; then
37311 ac_cv_lib_resolv_inet_addr=yes
37313 echo "$as_me: failed program was:" >&5
37314 sed 's/^/| /' conftest.$ac_ext >&5
37316 ac_cv_lib_resolv_inet_addr=no
37319 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37320 conftest$ac_exeext conftest.$ac_ext
37321 LIBS=$ac_check_lib_save_LIBS
37323 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
37324 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
37325 if test $ac_cv_lib_resolv_inet_addr = yes; then
37329 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
37330 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
37331 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
37332 echo $ECHO_N "(cached) $ECHO_C" >&6
37334 ac_check_lib_save_LIBS=$LIBS
37335 LIBS="-lsocket $LIBS"
37336 cat >conftest.$ac_ext <<_ACEOF
37339 cat confdefs.h >>conftest.$ac_ext
37340 cat >>conftest.$ac_ext <<_ACEOF
37341 /* end confdefs.h. */
37343 /* Override any GCC internal prototype to avoid an error.
37344 Use char because int might match the return type of a GCC
37345 builtin and then its argument prototype would still apply. */
37353 return inet_addr ();
37358 rm -f conftest.$ac_objext conftest$ac_exeext
37359 if { (ac_try="$ac_link"
37360 case "(($ac_try" in
37361 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37362 *) ac_try_echo
=$ac_try;;
37364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37365 (eval "$ac_link") 2>conftest.er1
37367 grep -v '^ *+' conftest.er1
>conftest.err
37369 cat conftest.err
>&5
37370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37371 (exit $ac_status); } && {
37372 test -z "$ac_c_werror_flag" ||
37373 test ! -s conftest.err
37374 } && test -s conftest
$ac_exeext &&
37375 $as_test_x conftest
$ac_exeext; then
37376 ac_cv_lib_socket_inet_addr
=yes
37378 echo "$as_me: failed program was:" >&5
37379 sed 's/^/| /' conftest.
$ac_ext >&5
37381 ac_cv_lib_socket_inet_addr
=no
37384 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37385 conftest
$ac_exeext conftest.
$ac_ext
37386 LIBS
=$ac_check_lib_save_LIBS
37388 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
37389 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
37390 if test $ac_cv_lib_socket_inet_addr = yes; then
37410 for ac_func
in inet_aton
37412 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37413 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37414 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37415 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37416 echo $ECHO_N "(cached) $ECHO_C" >&6
37418 cat >conftest.
$ac_ext <<_ACEOF
37421 cat confdefs.h
>>conftest.
$ac_ext
37422 cat >>conftest.
$ac_ext <<_ACEOF
37423 /* end confdefs.h. */
37424 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37425 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37426 #define $ac_func innocuous_$ac_func
37428 /* System header to define __stub macros and hopefully few prototypes,
37429 which can conflict with char $ac_func (); below.
37430 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37431 <limits.h> exists even on freestanding compilers. */
37434 # include <limits.h>
37436 # include <assert.h>
37441 /* Override any GCC internal prototype to avoid an error.
37442 Use char because int might match the return type of a GCC
37443 builtin and then its argument prototype would still apply. */
37448 /* The GNU C library defines this for functions which it implements
37449 to always fail with ENOSYS. Some functions are actually named
37450 something starting with __ and the normal name is an alias. */
37451 #if defined __stub_$ac_func || defined __stub___$ac_func
37458 return $ac_func ();
37463 rm -f conftest.
$ac_objext conftest
$ac_exeext
37464 if { (ac_try
="$ac_link"
37465 case "(($ac_try" in
37466 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37467 *) ac_try_echo=$ac_try;;
37469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37470 (eval "$ac_link") 2>conftest.er1
37472 grep -v '^ *+' conftest.er1 >conftest.err
37474 cat conftest.err >&5
37475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37476 (exit $ac_status); } && {
37477 test -z "$ac_c_werror_flag" ||
37478 test ! -s conftest.err
37479 } && test -s conftest$ac_exeext &&
37480 $as_test_x conftest$ac_exeext; then
37481 eval "$as_ac_var=yes"
37483 echo "$as_me: failed program was:" >&5
37484 sed 's/^/| /' conftest.$ac_ext >&5
37486 eval "$as_ac_var=no"
37489 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37490 conftest$ac_exeext conftest.$ac_ext
37492 ac_res=`eval echo '${'$as_ac_var'}'`
37493 { echo "$as_me:$LINENO: result: $ac_res" >&5
37494 echo "${ECHO_T}$ac_res" >&6; }
37495 if test `eval echo '${'$as_ac_var'}'` = yes; then
37496 cat >>confdefs.h <<_ACEOF
37497 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37499 cat >>confdefs.h <<\_ACEOF
37500 #define HAVE_INET_ATON 1
37505 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
37506 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
37507 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
37508 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
37509 echo $ECHO_N "(cached) $ECHO_C" >&6
37511 ac_check_lib_save_LIBS=$LIBS
37512 LIBS="-l$INET_LINK $LIBS"
37513 cat >conftest.$ac_ext <<_ACEOF
37516 cat confdefs.h >>conftest.$ac_ext
37517 cat >>conftest.$ac_ext <<_ACEOF
37518 /* end confdefs.h. */
37520 /* Override any GCC internal prototype to avoid an error.
37521 Use char because int might match the return type of a GCC
37522 builtin and then its argument prototype would still apply. */
37530 return inet_aton ();
37535 rm -f conftest.$ac_objext conftest$ac_exeext
37536 if { (ac_try="$ac_link"
37537 case "(($ac_try" in
37538 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37539 *) ac_try_echo
=$ac_try;;
37541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37542 (eval "$ac_link") 2>conftest.er1
37544 grep -v '^ *+' conftest.er1
>conftest.err
37546 cat conftest.err
>&5
37547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37548 (exit $ac_status); } && {
37549 test -z "$ac_c_werror_flag" ||
37550 test ! -s conftest.err
37551 } && test -s conftest
$ac_exeext &&
37552 $as_test_x conftest
$ac_exeext; then
37553 eval "$as_ac_Lib=yes"
37555 echo "$as_me: failed program was:" >&5
37556 sed 's/^/| /' conftest.
$ac_ext >&5
37558 eval "$as_ac_Lib=no"
37561 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37562 conftest
$ac_exeext conftest.
$ac_ext
37563 LIBS
=$ac_check_lib_save_LIBS
37565 ac_res
=`eval echo '${'$as_ac_Lib'}'`
37566 { echo "$as_me:$LINENO: result: $ac_res" >&5
37567 echo "${ECHO_T}$ac_res" >&6; }
37568 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
37569 cat >>confdefs.h
<<\_ACEOF
37570 #define HAVE_INET_ATON 1
37580 if test "x$INET_LINK" != "x"; then
37581 cat >>confdefs.h
<<\_ACEOF
37582 #define HAVE_INET_ADDR 1
37585 INET_LINK
=" -l$INET_LINK"
37589 for wx_func
in fdopen
37591 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37592 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37593 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37594 echo $ECHO_N "(cached) $ECHO_C" >&6
37597 cat >conftest.
$ac_ext <<_ACEOF
37601 cat confdefs.h
>>conftest.
$ac_ext
37602 cat >>conftest.
$ac_ext <<_ACEOF
37603 /* end confdefs.h. */
37606 $ac_includes_default
37622 rm -f conftest.
$ac_objext conftest
$ac_exeext
37623 if { (ac_try
="$ac_link"
37624 case "(($ac_try" in
37625 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37626 *) ac_try_echo=$ac_try;;
37628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37629 (eval "$ac_link") 2>conftest.er1
37631 grep -v '^ *+' conftest.er1 >conftest.err
37633 cat conftest.err >&5
37634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37635 (exit $ac_status); } && {
37636 test -z "$ac_c_werror_flag" ||
37637 test ! -s conftest.err
37638 } && test -s conftest$ac_exeext &&
37639 $as_test_x conftest$ac_exeext; then
37640 eval wx_cv_func_$wx_func=yes
37642 echo "$as_me: failed program was:" >&5
37643 sed 's/^/| /' conftest.$ac_ext >&5
37645 eval wx_cv_func_$wx_func=no
37648 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37649 conftest$ac_exeext conftest.$ac_ext
37652 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37653 { echo "$as_me:$LINENO: result: $ac_res" >&5
37654 echo "${ECHO_T}$ac_res" >&6; }
37656 if eval test \$wx_cv_func_$wx_func = yes
37658 cat >>confdefs.h <<_ACEOF
37659 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37674 cat >confcache <<\_ACEOF
37675 # This file is a shell script that caches the results of configure
37676 # tests run on this system so they can be shared between configure
37677 # scripts and configure runs, see configure's option --config-cache.
37678 # It is not useful on other systems. If it contains results you don't
37679 # want to keep, you may remove or edit it.
37681 # config.status only pays attention to the cache file if you give it
37682 # the --recheck option to rerun configure.
37684 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
37685 # loading this file, other *unset* `ac_cv_foo' will be assigned the
37686 # following values.
37690 # The following way of writing the cache mishandles newlines in values,
37691 # but we know of no workaround that is simple, portable, and efficient.
37692 # So, we kill variables containing newlines.
37693 # Ultrix sh set writes to stderr and can't be redirected directly,
37694 # and sets the high bit in the cache file unless we assign to the vars.
37696 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
37697 eval ac_val
=\$
$ac_var
37701 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
37702 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
37705 _
| IFS
| as_nl
) ;; #(
37706 *) $as_unset $ac_var ;;
37712 case $as_nl`(ac_space=' '; set) 2>&1` in #(
37713 *${as_nl}ac_space
=\
*)
37714 # `set' does not quote correctly, so add quotes (double-quote
37715 # substitution turns \\\\ into \\, and sed turns \\ into \).
37718 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
37721 # `set' quotes correctly as required by POSIX, so do not add quotes.
37722 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
37731 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
37733 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
37735 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
37736 if test -w "$cache_file"; then
37737 test "x$cache_file" != "x/dev/null" &&
37738 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
37739 echo "$as_me: updating cache $cache_file" >&6;}
37740 cat confcache
>$cache_file
37742 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
37743 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
37749 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
37755 if test "$wxUSE_THREADS" = "yes" ; then
37756 if test "$USE_BEOS" = 1; then
37757 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
37758 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
37763 if test "$wxUSE_THREADS" = "yes" ; then
37766 THREAD_OPTS
="-pthread"
37768 *-*-solaris2* | *-*-sunos4* )
37769 if test "x$GCC" = "xyes"; then
37770 THREAD_OPTS
="-pthreads $THREAD_OPTS"
37772 THREAD_OPTS
="-mt $THREAD_OPTS"
37776 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
37778 *-*-darwin* | *-*-cygwin* )
37782 THREAD_OPTS
="pthreads"
37785 if test "x$GCC" = "xyes"; then
37786 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
37794 if test "x$GCC" = "xyes"; then
37800 if test "x$GCC" != "xyes"; then
37801 THREAD_OPTS
="-Ethread"
37806 THREAD_OPTS
="$THREAD_OPTS pthread none"
37809 for flag
in $THREAD_OPTS; do
37812 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
37813 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
37817 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
37818 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
37819 THREADS_CFLAGS
="$flag"
37823 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
37824 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
37825 THREADS_LINK
="-l$flag"
37830 save_CFLAGS
="$CFLAGS"
37831 LIBS
="$THREADS_LINK $LIBS"
37832 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
37834 cat >conftest.
$ac_ext <<_ACEOF
37837 cat confdefs.h
>>conftest.
$ac_ext
37838 cat >>conftest.
$ac_ext <<_ACEOF
37839 /* end confdefs.h. */
37840 #include <pthread.h>
37844 pthread_create(0,0,0,0);
37849 rm -f conftest.
$ac_objext conftest
$ac_exeext
37850 if { (ac_try
="$ac_link"
37851 case "(($ac_try" in
37852 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37853 *) ac_try_echo=$ac_try;;
37855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37856 (eval "$ac_link") 2>conftest.er1
37858 grep -v '^ *+' conftest.er1 >conftest.err
37860 cat conftest.err >&5
37861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37862 (exit $ac_status); } && {
37863 test -z "$ac_c_werror_flag" ||
37864 test ! -s conftest.err
37865 } && test -s conftest$ac_exeext &&
37866 $as_test_x conftest$ac_exeext; then
37869 echo "$as_me: failed program was:" >&5
37870 sed 's/^/| /' conftest.$ac_ext >&5
37875 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37876 conftest$ac_exeext conftest.$ac_ext
37879 CFLAGS="$save_CFLAGS"
37881 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
37882 echo "${ECHO_T}$THREADS_OK" >&6; }
37883 if test "x$THREADS_OK" = "xyes"; then
37891 if test "x$THREADS_OK" != "xyes"; then
37893 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
37894 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
37896 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
37897 LIBS="$THREADS_LINK $LIBS"
37899 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
37900 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
37904 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
37905 flag="-D_THREAD_SAFE"
37908 flag="-D_THREAD_SAFE"
37911 flag="-D_REENTRANT"
37912 if test "x$GCC" != "xyes"; then
37913 flag="$flag -D_RWSTD_MULTI_THREAD"
37916 *solaris* | alpha*-osf*)
37917 flag="-D_REENTRANT"
37920 { echo "$as_me:$LINENO: result: ${flag}" >&5
37921 echo "${ECHO_T}${flag}" >&6; }
37922 if test "x$flag" != xno; then
37923 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
37926 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
37930 if test "$wxUSE_THREADS" = "yes" ; then
37932 for ac_func in thr_setconcurrency
37934 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37935 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37936 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37937 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37938 echo $ECHO_N "(cached) $ECHO_C" >&6
37940 cat >conftest.$ac_ext <<_ACEOF
37943 cat confdefs.h >>conftest.$ac_ext
37944 cat >>conftest.$ac_ext <<_ACEOF
37945 /* end confdefs.h. */
37946 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37947 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37948 #define $ac_func innocuous_$ac_func
37950 /* System header to define __stub macros and hopefully few prototypes,
37951 which can conflict with char $ac_func (); below.
37952 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37953 <limits.h> exists even on freestanding compilers. */
37956 # include <limits.h>
37958 # include <assert.h>
37963 /* Override any GCC internal prototype to avoid an error.
37964 Use char because int might match the return type of a GCC
37965 builtin and then its argument prototype would still apply. */
37970 /* The GNU C library defines this for functions which it implements
37971 to always fail with ENOSYS. Some functions are actually named
37972 something starting with __ and the normal name is an alias. */
37973 #if defined __stub_$ac_func || defined __stub___$ac_func
37980 return $ac_func ();
37985 rm -f conftest.$ac_objext conftest$ac_exeext
37986 if { (ac_try="$ac_link"
37987 case "(($ac_try" in
37988 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37989 *) ac_try_echo
=$ac_try;;
37991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37992 (eval "$ac_link") 2>conftest.er1
37994 grep -v '^ *+' conftest.er1
>conftest.err
37996 cat conftest.err
>&5
37997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37998 (exit $ac_status); } && {
37999 test -z "$ac_c_werror_flag" ||
38000 test ! -s conftest.err
38001 } && test -s conftest
$ac_exeext &&
38002 $as_test_x conftest
$ac_exeext; then
38003 eval "$as_ac_var=yes"
38005 echo "$as_me: failed program was:" >&5
38006 sed 's/^/| /' conftest.
$ac_ext >&5
38008 eval "$as_ac_var=no"
38011 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38012 conftest
$ac_exeext conftest.
$ac_ext
38014 ac_res
=`eval echo '${'$as_ac_var'}'`
38015 { echo "$as_me:$LINENO: result: $ac_res" >&5
38016 echo "${ECHO_T}$ac_res" >&6; }
38017 if test `eval echo '${'$as_ac_var'}'` = yes; then
38018 cat >>confdefs.h
<<_ACEOF
38019 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38026 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
38027 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
38028 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
38029 echo $ECHO_N "(cached) $ECHO_C" >&6
38032 cat >conftest.
$ac_ext <<_ACEOF
38035 cat confdefs.h
>>conftest.
$ac_ext
38036 cat >>conftest.
$ac_ext <<_ACEOF
38037 /* end confdefs.h. */
38038 #include <pthread.h>
38039 void ThreadCleanupFunc(void *p);
38046 pthread_cleanup_push(ThreadCleanupFunc, p);
38047 pthread_cleanup_pop(0);
38053 rm -f conftest.
$ac_objext
38054 if { (ac_try
="$ac_compile"
38055 case "(($ac_try" in
38056 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38057 *) ac_try_echo=$ac_try;;
38059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38060 (eval "$ac_compile") 2>conftest.er1
38062 grep -v '^ *+' conftest.er1 >conftest.err
38064 cat conftest.err >&5
38065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38066 (exit $ac_status); } && {
38067 test -z "$ac_c_werror_flag" ||
38068 test ! -s conftest.err
38069 } && test -s conftest.$ac_objext; then
38071 wx_cv_func_pthread_cleanup=yes
38074 echo "$as_me: failed program was:" >&5
38075 sed 's/^/| /' conftest.$ac_ext >&5
38078 wx_cv_func_pthread_cleanup=no
38083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38086 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
38087 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
38088 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
38089 cat >>confdefs.h <<\_ACEOF
38090 #define wxHAVE_PTHREAD_CLEANUP 1
38095 { echo "$as_me:$LINENO: checking for sched.h" >&5
38096 echo $ECHO_N "checking for sched.h... $ECHO_C" >&6; }
38097 if test "${ac_cv_header_sched_h+set}" = set; then
38098 echo $ECHO_N "(cached) $ECHO_C" >&6
38100 cat >conftest.$ac_ext <<_ACEOF
38103 cat confdefs.h >>conftest.$ac_ext
38104 cat >>conftest.$ac_ext <<_ACEOF
38105 /* end confdefs.h. */
38106 $ac_includes_default
38110 rm -f conftest.$ac_objext
38111 if { (ac_try="$ac_compile"
38112 case "(($ac_try" in
38113 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38114 *) ac_try_echo
=$ac_try;;
38116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38117 (eval "$ac_compile") 2>conftest.er1
38119 grep -v '^ *+' conftest.er1
>conftest.err
38121 cat conftest.err
>&5
38122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38123 (exit $ac_status); } && {
38124 test -z "$ac_c_werror_flag" ||
38125 test ! -s conftest.err
38126 } && test -s conftest.
$ac_objext; then
38127 ac_cv_header_sched_h
=yes
38129 echo "$as_me: failed program was:" >&5
38130 sed 's/^/| /' conftest.
$ac_ext >&5
38132 ac_cv_header_sched_h
=no
38135 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38137 { echo "$as_me:$LINENO: result: $ac_cv_header_sched_h" >&5
38138 echo "${ECHO_T}$ac_cv_header_sched_h" >&6; }
38141 if test "$ac_cv_header_sched_h" = "yes"; then
38142 { echo "$as_me:$LINENO: checking for sched_yield" >&5
38143 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
38144 if test "${ac_cv_func_sched_yield+set}" = set; then
38145 echo $ECHO_N "(cached) $ECHO_C" >&6
38147 cat >conftest.
$ac_ext <<_ACEOF
38150 cat confdefs.h
>>conftest.
$ac_ext
38151 cat >>conftest.
$ac_ext <<_ACEOF
38152 /* end confdefs.h. */
38153 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
38154 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38155 #define sched_yield innocuous_sched_yield
38157 /* System header to define __stub macros and hopefully few prototypes,
38158 which can conflict with char sched_yield (); below.
38159 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38160 <limits.h> exists even on freestanding compilers. */
38163 # include <limits.h>
38165 # include <assert.h>
38170 /* Override any GCC internal prototype to avoid an error.
38171 Use char because int might match the return type of a GCC
38172 builtin and then its argument prototype would still apply. */
38176 char sched_yield ();
38177 /* The GNU C library defines this for functions which it implements
38178 to always fail with ENOSYS. Some functions are actually named
38179 something starting with __ and the normal name is an alias. */
38180 #if defined __stub_sched_yield || defined __stub___sched_yield
38187 return sched_yield ();
38192 rm -f conftest.
$ac_objext conftest
$ac_exeext
38193 if { (ac_try
="$ac_link"
38194 case "(($ac_try" in
38195 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38196 *) ac_try_echo=$ac_try;;
38198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38199 (eval "$ac_link") 2>conftest.er1
38201 grep -v '^ *+' conftest.er1 >conftest.err
38203 cat conftest.err >&5
38204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38205 (exit $ac_status); } && {
38206 test -z "$ac_c_werror_flag" ||
38207 test ! -s conftest.err
38208 } && test -s conftest$ac_exeext &&
38209 $as_test_x conftest$ac_exeext; then
38210 ac_cv_func_sched_yield=yes
38212 echo "$as_me: failed program was:" >&5
38213 sed 's/^/| /' conftest.$ac_ext >&5
38215 ac_cv_func_sched_yield=no
38218 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38219 conftest$ac_exeext conftest.$ac_ext
38221 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
38222 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
38223 if test $ac_cv_func_sched_yield = yes; then
38224 cat >>confdefs.h <<\_ACEOF
38225 #define HAVE_SCHED_YIELD 1
38230 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
38231 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
38232 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
38233 echo $ECHO_N "(cached) $ECHO_C" >&6
38235 ac_check_lib_save_LIBS=$LIBS
38236 LIBS="-lposix4 $LIBS"
38237 cat >conftest.$ac_ext <<_ACEOF
38240 cat confdefs.h >>conftest.$ac_ext
38241 cat >>conftest.$ac_ext <<_ACEOF
38242 /* end confdefs.h. */
38244 /* Override any GCC internal prototype to avoid an error.
38245 Use char because int might match the return type of a GCC
38246 builtin and then its argument prototype would still apply. */
38250 char sched_yield ();
38254 return sched_yield ();
38259 rm -f conftest.$ac_objext conftest$ac_exeext
38260 if { (ac_try="$ac_link"
38261 case "(($ac_try" in
38262 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38263 *) ac_try_echo
=$ac_try;;
38265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38266 (eval "$ac_link") 2>conftest.er1
38268 grep -v '^ *+' conftest.er1
>conftest.err
38270 cat conftest.err
>&5
38271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38272 (exit $ac_status); } && {
38273 test -z "$ac_c_werror_flag" ||
38274 test ! -s conftest.err
38275 } && test -s conftest
$ac_exeext &&
38276 $as_test_x conftest
$ac_exeext; then
38277 ac_cv_lib_posix4_sched_yield
=yes
38279 echo "$as_me: failed program was:" >&5
38280 sed 's/^/| /' conftest.
$ac_ext >&5
38282 ac_cv_lib_posix4_sched_yield
=no
38285 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38286 conftest
$ac_exeext conftest.
$ac_ext
38287 LIBS
=$ac_check_lib_save_LIBS
38289 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
38290 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
38291 if test $ac_cv_lib_posix4_sched_yield = yes; then
38292 cat >>confdefs.h
<<\_ACEOF
38293 #define HAVE_SCHED_YIELD 1
38295 POSIX4_LINK
=" -lposix4"
38297 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
38298 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
38309 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
38310 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
38311 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
38312 echo $ECHO_N "(cached) $ECHO_C" >&6
38314 cat >conftest.
$ac_ext <<_ACEOF
38317 cat confdefs.h
>>conftest.
$ac_ext
38318 cat >>conftest.
$ac_ext <<_ACEOF
38319 /* end confdefs.h. */
38320 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
38321 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38322 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
38324 /* System header to define __stub macros and hopefully few prototypes,
38325 which can conflict with char pthread_attr_getschedpolicy (); below.
38326 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38327 <limits.h> exists even on freestanding compilers. */
38330 # include <limits.h>
38332 # include <assert.h>
38335 #undef pthread_attr_getschedpolicy
38337 /* Override any GCC internal prototype to avoid an error.
38338 Use char because int might match the return type of a GCC
38339 builtin and then its argument prototype would still apply. */
38343 char pthread_attr_getschedpolicy ();
38344 /* The GNU C library defines this for functions which it implements
38345 to always fail with ENOSYS. Some functions are actually named
38346 something starting with __ and the normal name is an alias. */
38347 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
38354 return pthread_attr_getschedpolicy ();
38359 rm -f conftest.
$ac_objext conftest
$ac_exeext
38360 if { (ac_try
="$ac_link"
38361 case "(($ac_try" in
38362 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38363 *) ac_try_echo=$ac_try;;
38365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38366 (eval "$ac_link") 2>conftest.er1
38368 grep -v '^ *+' conftest.er1 >conftest.err
38370 cat conftest.err >&5
38371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38372 (exit $ac_status); } && {
38373 test -z "$ac_c_werror_flag" ||
38374 test ! -s conftest.err
38375 } && test -s conftest$ac_exeext &&
38376 $as_test_x conftest$ac_exeext; then
38377 ac_cv_func_pthread_attr_getschedpolicy=yes
38379 echo "$as_me: failed program was:" >&5
38380 sed 's/^/| /' conftest.$ac_ext >&5
38382 ac_cv_func_pthread_attr_getschedpolicy=no
38385 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38386 conftest$ac_exeext conftest.$ac_ext
38388 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
38389 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
38390 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
38391 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
38392 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
38393 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
38394 echo $ECHO_N "(cached) $ECHO_C" >&6
38396 cat >conftest.$ac_ext <<_ACEOF
38399 cat confdefs.h >>conftest.$ac_ext
38400 cat >>conftest.$ac_ext <<_ACEOF
38401 /* end confdefs.h. */
38402 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
38403 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38404 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
38406 /* System header to define __stub macros and hopefully few prototypes,
38407 which can conflict with char pthread_attr_setschedparam (); below.
38408 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38409 <limits.h> exists even on freestanding compilers. */
38412 # include <limits.h>
38414 # include <assert.h>
38417 #undef pthread_attr_setschedparam
38419 /* Override any GCC internal prototype to avoid an error.
38420 Use char because int might match the return type of a GCC
38421 builtin and then its argument prototype would still apply. */
38425 char pthread_attr_setschedparam ();
38426 /* The GNU C library defines this for functions which it implements
38427 to always fail with ENOSYS. Some functions are actually named
38428 something starting with __ and the normal name is an alias. */
38429 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
38436 return pthread_attr_setschedparam ();
38441 rm -f conftest.$ac_objext conftest$ac_exeext
38442 if { (ac_try="$ac_link"
38443 case "(($ac_try" in
38444 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38445 *) ac_try_echo
=$ac_try;;
38447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38448 (eval "$ac_link") 2>conftest.er1
38450 grep -v '^ *+' conftest.er1
>conftest.err
38452 cat conftest.err
>&5
38453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38454 (exit $ac_status); } && {
38455 test -z "$ac_c_werror_flag" ||
38456 test ! -s conftest.err
38457 } && test -s conftest
$ac_exeext &&
38458 $as_test_x conftest
$ac_exeext; then
38459 ac_cv_func_pthread_attr_setschedparam
=yes
38461 echo "$as_me: failed program was:" >&5
38462 sed 's/^/| /' conftest.
$ac_ext >&5
38464 ac_cv_func_pthread_attr_setschedparam
=no
38467 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38468 conftest
$ac_exeext conftest.
$ac_ext
38470 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
38471 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
38472 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
38473 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
38474 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
38475 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
38476 echo $ECHO_N "(cached) $ECHO_C" >&6
38478 cat >conftest.
$ac_ext <<_ACEOF
38481 cat confdefs.h
>>conftest.
$ac_ext
38482 cat >>conftest.
$ac_ext <<_ACEOF
38483 /* end confdefs.h. */
38484 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
38485 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38486 #define sched_get_priority_max innocuous_sched_get_priority_max
38488 /* System header to define __stub macros and hopefully few prototypes,
38489 which can conflict with char sched_get_priority_max (); below.
38490 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38491 <limits.h> exists even on freestanding compilers. */
38494 # include <limits.h>
38496 # include <assert.h>
38499 #undef sched_get_priority_max
38501 /* Override any GCC internal prototype to avoid an error.
38502 Use char because int might match the return type of a GCC
38503 builtin and then its argument prototype would still apply. */
38507 char sched_get_priority_max ();
38508 /* The GNU C library defines this for functions which it implements
38509 to always fail with ENOSYS. Some functions are actually named
38510 something starting with __ and the normal name is an alias. */
38511 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
38518 return sched_get_priority_max ();
38523 rm -f conftest.
$ac_objext conftest
$ac_exeext
38524 if { (ac_try
="$ac_link"
38525 case "(($ac_try" in
38526 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38527 *) ac_try_echo=$ac_try;;
38529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38530 (eval "$ac_link") 2>conftest.er1
38532 grep -v '^ *+' conftest.er1 >conftest.err
38534 cat conftest.err >&5
38535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38536 (exit $ac_status); } && {
38537 test -z "$ac_c_werror_flag" ||
38538 test ! -s conftest.err
38539 } && test -s conftest$ac_exeext &&
38540 $as_test_x conftest$ac_exeext; then
38541 ac_cv_func_sched_get_priority_max=yes
38543 echo "$as_me: failed program was:" >&5
38544 sed 's/^/| /' conftest.$ac_ext >&5
38546 ac_cv_func_sched_get_priority_max=no
38549 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38550 conftest$ac_exeext conftest.$ac_ext
38552 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
38553 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
38554 if test $ac_cv_func_sched_get_priority_max = yes; then
38557 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
38558 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
38559 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
38560 echo $ECHO_N "(cached) $ECHO_C" >&6
38562 ac_check_lib_save_LIBS=$LIBS
38563 LIBS="-lposix4 $LIBS"
38564 cat >conftest.$ac_ext <<_ACEOF
38567 cat confdefs.h >>conftest.$ac_ext
38568 cat >>conftest.$ac_ext <<_ACEOF
38569 /* end confdefs.h. */
38571 /* Override any GCC internal prototype to avoid an error.
38572 Use char because int might match the return type of a GCC
38573 builtin and then its argument prototype would still apply. */
38577 char sched_get_priority_max ();
38581 return sched_get_priority_max ();
38586 rm -f conftest.$ac_objext conftest$ac_exeext
38587 if { (ac_try="$ac_link"
38588 case "(($ac_try" in
38589 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38590 *) ac_try_echo
=$ac_try;;
38592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38593 (eval "$ac_link") 2>conftest.er1
38595 grep -v '^ *+' conftest.er1
>conftest.err
38597 cat conftest.err
>&5
38598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38599 (exit $ac_status); } && {
38600 test -z "$ac_c_werror_flag" ||
38601 test ! -s conftest.err
38602 } && test -s conftest
$ac_exeext &&
38603 $as_test_x conftest
$ac_exeext; then
38604 ac_cv_lib_posix4_sched_get_priority_max
=yes
38606 echo "$as_me: failed program was:" >&5
38607 sed 's/^/| /' conftest.
$ac_ext >&5
38609 ac_cv_lib_posix4_sched_get_priority_max
=no
38612 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38613 conftest
$ac_exeext conftest.
$ac_ext
38614 LIBS
=$ac_check_lib_save_LIBS
38616 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
38617 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
38618 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
38621 POSIX4_LINK
=" -lposix4"
38635 if test "$HAVE_PRIOR_FUNCS" = 1; then
38636 cat >>confdefs.h
<<\_ACEOF
38637 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
38641 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
38642 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
38645 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
38646 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
38647 if test "${ac_cv_func_pthread_cancel+set}" = set; then
38648 echo $ECHO_N "(cached) $ECHO_C" >&6
38650 cat >conftest.
$ac_ext <<_ACEOF
38653 cat confdefs.h
>>conftest.
$ac_ext
38654 cat >>conftest.
$ac_ext <<_ACEOF
38655 /* end confdefs.h. */
38656 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
38657 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38658 #define pthread_cancel innocuous_pthread_cancel
38660 /* System header to define __stub macros and hopefully few prototypes,
38661 which can conflict with char pthread_cancel (); below.
38662 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38663 <limits.h> exists even on freestanding compilers. */
38666 # include <limits.h>
38668 # include <assert.h>
38671 #undef pthread_cancel
38673 /* Override any GCC internal prototype to avoid an error.
38674 Use char because int might match the return type of a GCC
38675 builtin and then its argument prototype would still apply. */
38679 char pthread_cancel ();
38680 /* The GNU C library defines this for functions which it implements
38681 to always fail with ENOSYS. Some functions are actually named
38682 something starting with __ and the normal name is an alias. */
38683 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
38690 return pthread_cancel ();
38695 rm -f conftest.
$ac_objext conftest
$ac_exeext
38696 if { (ac_try
="$ac_link"
38697 case "(($ac_try" in
38698 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38699 *) ac_try_echo=$ac_try;;
38701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38702 (eval "$ac_link") 2>conftest.er1
38704 grep -v '^ *+' conftest.er1 >conftest.err
38706 cat conftest.err >&5
38707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38708 (exit $ac_status); } && {
38709 test -z "$ac_c_werror_flag" ||
38710 test ! -s conftest.err
38711 } && test -s conftest$ac_exeext &&
38712 $as_test_x conftest$ac_exeext; then
38713 ac_cv_func_pthread_cancel=yes
38715 echo "$as_me: failed program was:" >&5
38716 sed 's/^/| /' conftest.$ac_ext >&5
38718 ac_cv_func_pthread_cancel=no
38721 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38722 conftest$ac_exeext conftest.$ac_ext
38724 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
38725 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
38726 if test $ac_cv_func_pthread_cancel = yes; then
38727 cat >>confdefs.h <<\_ACEOF
38728 #define HAVE_PTHREAD_CANCEL 1
38732 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
38733 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
38737 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
38738 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
38739 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
38740 echo $ECHO_N "(cached) $ECHO_C" >&6
38742 cat >conftest.$ac_ext <<_ACEOF
38745 cat confdefs.h >>conftest.$ac_ext
38746 cat >>conftest.$ac_ext <<_ACEOF
38747 /* end confdefs.h. */
38748 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
38749 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38750 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
38752 /* System header to define __stub macros and hopefully few prototypes,
38753 which can conflict with char pthread_mutex_timedlock (); below.
38754 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38755 <limits.h> exists even on freestanding compilers. */
38758 # include <limits.h>
38760 # include <assert.h>
38763 #undef pthread_mutex_timedlock
38765 /* Override any GCC internal prototype to avoid an error.
38766 Use char because int might match the return type of a GCC
38767 builtin and then its argument prototype would still apply. */
38771 char pthread_mutex_timedlock ();
38772 /* The GNU C library defines this for functions which it implements
38773 to always fail with ENOSYS. Some functions are actually named
38774 something starting with __ and the normal name is an alias. */
38775 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
38782 return pthread_mutex_timedlock ();
38787 rm -f conftest.$ac_objext conftest$ac_exeext
38788 if { (ac_try="$ac_link"
38789 case "(($ac_try" in
38790 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38791 *) ac_try_echo
=$ac_try;;
38793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38794 (eval "$ac_link") 2>conftest.er1
38796 grep -v '^ *+' conftest.er1
>conftest.err
38798 cat conftest.err
>&5
38799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38800 (exit $ac_status); } && {
38801 test -z "$ac_c_werror_flag" ||
38802 test ! -s conftest.err
38803 } && test -s conftest
$ac_exeext &&
38804 $as_test_x conftest
$ac_exeext; then
38805 ac_cv_func_pthread_mutex_timedlock
=yes
38807 echo "$as_me: failed program was:" >&5
38808 sed 's/^/| /' conftest.
$ac_ext >&5
38810 ac_cv_func_pthread_mutex_timedlock
=no
38813 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38814 conftest
$ac_exeext conftest.
$ac_ext
38816 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
38817 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
38818 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
38819 cat >>confdefs.h
<<\_ACEOF
38820 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
38824 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
38825 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
38829 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
38830 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
38831 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
38832 echo $ECHO_N "(cached) $ECHO_C" >&6
38834 cat >conftest.
$ac_ext <<_ACEOF
38837 cat confdefs.h
>>conftest.
$ac_ext
38838 cat >>conftest.
$ac_ext <<_ACEOF
38839 /* end confdefs.h. */
38840 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
38841 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38842 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
38844 /* System header to define __stub macros and hopefully few prototypes,
38845 which can conflict with char pthread_attr_setstacksize (); below.
38846 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38847 <limits.h> exists even on freestanding compilers. */
38850 # include <limits.h>
38852 # include <assert.h>
38855 #undef pthread_attr_setstacksize
38857 /* Override any GCC internal prototype to avoid an error.
38858 Use char because int might match the return type of a GCC
38859 builtin and then its argument prototype would still apply. */
38863 char pthread_attr_setstacksize ();
38864 /* The GNU C library defines this for functions which it implements
38865 to always fail with ENOSYS. Some functions are actually named
38866 something starting with __ and the normal name is an alias. */
38867 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
38874 return pthread_attr_setstacksize ();
38879 rm -f conftest.
$ac_objext conftest
$ac_exeext
38880 if { (ac_try
="$ac_link"
38881 case "(($ac_try" in
38882 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38883 *) ac_try_echo=$ac_try;;
38885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38886 (eval "$ac_link") 2>conftest.er1
38888 grep -v '^ *+' conftest.er1 >conftest.err
38890 cat conftest.err >&5
38891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38892 (exit $ac_status); } && {
38893 test -z "$ac_c_werror_flag" ||
38894 test ! -s conftest.err
38895 } && test -s conftest$ac_exeext &&
38896 $as_test_x conftest$ac_exeext; then
38897 ac_cv_func_pthread_attr_setstacksize=yes
38899 echo "$as_me: failed program was:" >&5
38900 sed 's/^/| /' conftest.$ac_ext >&5
38902 ac_cv_func_pthread_attr_setstacksize=no
38905 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38906 conftest$ac_exeext conftest.$ac_ext
38908 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
38909 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
38910 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
38911 cat >>confdefs.h <<\_ACEOF
38912 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
38919 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
38920 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
38921 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
38922 echo $ECHO_N "(cached) $ECHO_C" >&6
38925 cat >conftest.$ac_ext <<_ACEOF
38928 cat confdefs.h >>conftest.$ac_ext
38929 cat >>conftest.$ac_ext <<_ACEOF
38930 /* end confdefs.h. */
38931 #include <pthread.h>
38936 pthread_mutexattr_t attr;
38937 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38943 rm -f conftest.$ac_objext
38944 if { (ac_try="$ac_compile"
38945 case "(($ac_try" in
38946 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38947 *) ac_try_echo
=$ac_try;;
38949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38950 (eval "$ac_compile") 2>conftest.er1
38952 grep -v '^ *+' conftest.er1
>conftest.err
38954 cat conftest.err
>&5
38955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38956 (exit $ac_status); } && {
38957 test -z "$ac_c_werror_flag" ||
38958 test ! -s conftest.err
38959 } && test -s conftest.
$ac_objext; then
38960 wx_cv_type_pthread_mutexattr_t
=yes
38962 echo "$as_me: failed program was:" >&5
38963 sed 's/^/| /' conftest.
$ac_ext >&5
38965 wx_cv_type_pthread_mutexattr_t
=no
38969 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38972 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
38973 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
38975 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
38976 cat >>confdefs.h
<<\_ACEOF
38977 #define HAVE_PTHREAD_MUTEXATTR_T 1
38981 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
38982 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
38983 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
38984 echo $ECHO_N "(cached) $ECHO_C" >&6
38987 cat >conftest.
$ac_ext <<_ACEOF
38990 cat confdefs.h
>>conftest.
$ac_ext
38991 cat >>conftest.
$ac_ext <<_ACEOF
38992 /* end confdefs.h. */
38993 #include <pthread.h>
38998 pthread_mutexattr_t attr;
38999 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39005 rm -f conftest.
$ac_objext
39006 if { (ac_try
="$ac_compile"
39007 case "(($ac_try" in
39008 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39009 *) ac_try_echo=$ac_try;;
39011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39012 (eval "$ac_compile") 2>conftest.er1
39014 grep -v '^ *+' conftest.er1 >conftest.err
39016 cat conftest.err >&5
39017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39018 (exit $ac_status); } && {
39019 test -z "$ac_c_werror_flag" ||
39020 test ! -s conftest.err
39021 } && test -s conftest.$ac_objext; then
39022 wx_cv_func_pthread_mutexattr_settype_decl=yes
39024 echo "$as_me: failed program was:" >&5
39025 sed 's/^/| /' conftest.$ac_ext >&5
39027 wx_cv_func_pthread_mutexattr_settype_decl=no
39031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39034 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
39035 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
39036 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
39037 cat >>confdefs.h <<\_ACEOF
39038 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
39043 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
39044 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
39045 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
39046 echo $ECHO_N "(cached) $ECHO_C" >&6
39049 cat >conftest.$ac_ext <<_ACEOF
39052 cat confdefs.h >>conftest.$ac_ext
39053 cat >>conftest.$ac_ext <<_ACEOF
39054 /* end confdefs.h. */
39055 #include <pthread.h>
39060 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
39066 rm -f conftest.$ac_objext
39067 if { (ac_try="$ac_compile"
39068 case "(($ac_try" in
39069 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39070 *) ac_try_echo
=$ac_try;;
39072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39073 (eval "$ac_compile") 2>conftest.er1
39075 grep -v '^ *+' conftest.er1
>conftest.err
39077 cat conftest.err
>&5
39078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39079 (exit $ac_status); } && {
39080 test -z "$ac_c_werror_flag" ||
39081 test ! -s conftest.err
39082 } && test -s conftest.
$ac_objext; then
39084 wx_cv_type_pthread_rec_mutex_init
=yes
39087 echo "$as_me: failed program was:" >&5
39088 sed 's/^/| /' conftest.
$ac_ext >&5
39091 wx_cv_type_pthread_rec_mutex_init
=no
39096 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39099 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
39100 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
39101 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
39102 cat >>confdefs.h
<<\_ACEOF
39103 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
39107 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
39108 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
39114 if test "$wxUSE_THREADS" = "yes" ; then
39117 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
39118 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
39119 if test "${wx_cv_cflags_mthread+set}" = set; then
39120 echo $ECHO_N "(cached) $ECHO_C" >&6
39123 CFLAGS_OLD
="$CFLAGS"
39124 CFLAGS
="-mthreads $CFLAGS"
39125 cat >conftest.
$ac_ext <<_ACEOF
39128 cat confdefs.h
>>conftest.
$ac_ext
39129 cat >>conftest.
$ac_ext <<_ACEOF
39130 /* end confdefs.h. */
39140 rm -f conftest.
$ac_objext
39141 if { (ac_try
="$ac_compile"
39142 case "(($ac_try" in
39143 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39144 *) ac_try_echo=$ac_try;;
39146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39147 (eval "$ac_compile") 2>conftest.er1
39149 grep -v '^ *+' conftest.er1 >conftest.err
39151 cat conftest.err >&5
39152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39153 (exit $ac_status); } && {
39154 test -z "$ac_c_werror_flag" ||
39155 test ! -s conftest.err
39156 } && test -s conftest.$ac_objext; then
39157 wx_cv_cflags_mthread=yes
39159 echo "$as_me: failed program was:" >&5
39160 sed 's/^/| /' conftest.$ac_ext >&5
39162 wx_cv_cflags_mthread=no
39166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39170 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
39171 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
39173 if test "$wx_cv_cflags_mthread" = "yes"; then
39174 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
39175 LDFLAGS="$LDFLAGS -mthreads"
39177 CFLAGS="$CFLAGS_OLD"
39181 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
39182 LDFLAGS="$LDFLAGS -Zmt"
39188 { echo "$as_me:$LINENO: checking for localtime_r" >&5
39189 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
39190 if test "${ac_cv_func_localtime_r+set}" = set; then
39191 echo $ECHO_N "(cached) $ECHO_C" >&6
39193 cat >conftest.$ac_ext <<_ACEOF
39196 cat confdefs.h >>conftest.$ac_ext
39197 cat >>conftest.$ac_ext <<_ACEOF
39198 /* end confdefs.h. */
39199 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
39200 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39201 #define localtime_r innocuous_localtime_r
39203 /* System header to define __stub macros and hopefully few prototypes,
39204 which can conflict with char localtime_r (); below.
39205 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39206 <limits.h> exists even on freestanding compilers. */
39209 # include <limits.h>
39211 # include <assert.h>
39216 /* Override any GCC internal prototype to avoid an error.
39217 Use char because int might match the return type of a GCC
39218 builtin and then its argument prototype would still apply. */
39222 char localtime_r ();
39223 /* The GNU C library defines this for functions which it implements
39224 to always fail with ENOSYS. Some functions are actually named
39225 something starting with __ and the normal name is an alias. */
39226 #if defined __stub_localtime_r || defined __stub___localtime_r
39233 return localtime_r ();
39238 rm -f conftest.$ac_objext conftest$ac_exeext
39239 if { (ac_try="$ac_link"
39240 case "(($ac_try" in
39241 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39242 *) ac_try_echo
=$ac_try;;
39244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39245 (eval "$ac_link") 2>conftest.er1
39247 grep -v '^ *+' conftest.er1
>conftest.err
39249 cat conftest.err
>&5
39250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39251 (exit $ac_status); } && {
39252 test -z "$ac_c_werror_flag" ||
39253 test ! -s conftest.err
39254 } && test -s conftest
$ac_exeext &&
39255 $as_test_x conftest
$ac_exeext; then
39256 ac_cv_func_localtime_r
=yes
39258 echo "$as_me: failed program was:" >&5
39259 sed 's/^/| /' conftest.
$ac_ext >&5
39261 ac_cv_func_localtime_r
=no
39264 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39265 conftest
$ac_exeext conftest.
$ac_ext
39267 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
39268 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
39269 if test $ac_cv_func_localtime_r = yes; then
39270 cat >>confdefs.h
<<\_ACEOF
39271 #define HAVE_LOCALTIME_R 1
39276 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
39277 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
39278 if test "${ac_cv_func_gmtime_r+set}" = set; then
39279 echo $ECHO_N "(cached) $ECHO_C" >&6
39281 cat >conftest.
$ac_ext <<_ACEOF
39284 cat confdefs.h
>>conftest.
$ac_ext
39285 cat >>conftest.
$ac_ext <<_ACEOF
39286 /* end confdefs.h. */
39287 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
39288 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39289 #define gmtime_r innocuous_gmtime_r
39291 /* System header to define __stub macros and hopefully few prototypes,
39292 which can conflict with char gmtime_r (); below.
39293 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39294 <limits.h> exists even on freestanding compilers. */
39297 # include <limits.h>
39299 # include <assert.h>
39304 /* Override any GCC internal prototype to avoid an error.
39305 Use char because int might match the return type of a GCC
39306 builtin and then its argument prototype would still apply. */
39311 /* The GNU C library defines this for functions which it implements
39312 to always fail with ENOSYS. Some functions are actually named
39313 something starting with __ and the normal name is an alias. */
39314 #if defined __stub_gmtime_r || defined __stub___gmtime_r
39321 return gmtime_r ();
39326 rm -f conftest.
$ac_objext conftest
$ac_exeext
39327 if { (ac_try
="$ac_link"
39328 case "(($ac_try" in
39329 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39330 *) ac_try_echo=$ac_try;;
39332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39333 (eval "$ac_link") 2>conftest.er1
39335 grep -v '^ *+' conftest.er1 >conftest.err
39337 cat conftest.err >&5
39338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39339 (exit $ac_status); } && {
39340 test -z "$ac_c_werror_flag" ||
39341 test ! -s conftest.err
39342 } && test -s conftest$ac_exeext &&
39343 $as_test_x conftest$ac_exeext; then
39344 ac_cv_func_gmtime_r=yes
39346 echo "$as_me: failed program was:" >&5
39347 sed 's/^/| /' conftest.$ac_ext >&5
39349 ac_cv_func_gmtime_r=no
39352 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39353 conftest$ac_exeext conftest.$ac_ext
39355 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
39356 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
39357 if test $ac_cv_func_gmtime_r = yes; then
39358 cat >>confdefs.h <<\_ACEOF
39359 #define HAVE_GMTIME_R 1
39364 { echo "$as_me:$LINENO: checking for readdir_r" >&5
39365 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6; }
39366 if test "${ac_cv_func_readdir_r+set}" = set; then
39367 echo $ECHO_N "(cached) $ECHO_C" >&6
39369 cat >conftest.$ac_ext <<_ACEOF
39372 cat confdefs.h >>conftest.$ac_ext
39373 cat >>conftest.$ac_ext <<_ACEOF
39374 /* end confdefs.h. */
39375 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
39376 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39377 #define readdir_r innocuous_readdir_r
39379 /* System header to define __stub macros and hopefully few prototypes,
39380 which can conflict with char readdir_r (); below.
39381 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39382 <limits.h> exists even on freestanding compilers. */
39385 # include <limits.h>
39387 # include <assert.h>
39392 /* Override any GCC internal prototype to avoid an error.
39393 Use char because int might match the return type of a GCC
39394 builtin and then its argument prototype would still apply. */
39399 /* The GNU C library defines this for functions which it implements
39400 to always fail with ENOSYS. Some functions are actually named
39401 something starting with __ and the normal name is an alias. */
39402 #if defined __stub_readdir_r || defined __stub___readdir_r
39409 return readdir_r ();
39414 rm -f conftest.$ac_objext conftest$ac_exeext
39415 if { (ac_try="$ac_link"
39416 case "(($ac_try" in
39417 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39418 *) ac_try_echo
=$ac_try;;
39420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39421 (eval "$ac_link") 2>conftest.er1
39423 grep -v '^ *+' conftest.er1
>conftest.err
39425 cat conftest.err
>&5
39426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39427 (exit $ac_status); } && {
39428 test -z "$ac_c_werror_flag" ||
39429 test ! -s conftest.err
39430 } && test -s conftest
$ac_exeext &&
39431 $as_test_x conftest
$ac_exeext; then
39432 ac_cv_func_readdir_r
=yes
39434 echo "$as_me: failed program was:" >&5
39435 sed 's/^/| /' conftest.
$ac_ext >&5
39437 ac_cv_func_readdir_r
=no
39440 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39441 conftest
$ac_exeext conftest.
$ac_ext
39443 { echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
39444 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6; }
39445 if test $ac_cv_func_readdir_r = yes; then
39446 cat >>confdefs.h
<<\_ACEOF
39447 #define HAVE_READDIR_R 1
39456 ac_cpp
='$CPP $CPPFLAGS'
39457 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39458 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39459 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39461 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
39462 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
39464 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
39465 echo $ECHO_N "(cached) $ECHO_C" >&6
39469 ################################################################
39471 ac_cv_func_which_gethostbyname_r
=unknown
39474 # ONE ARGUMENT (sanity check)
39477 # This should fail, as there is no variant of gethostbyname_r() that takes
39478 # a single argument. If it actually compiles, then we can assume that
39479 # netdb.h is not declaring the function, and the compiler is thereby
39480 # assuming an implicit prototype. In which case, we're out of luck.
39482 cat >conftest.
$ac_ext <<_ACEOF
39485 cat confdefs.h
>>conftest.
$ac_ext
39486 cat >>conftest.
$ac_ext <<_ACEOF
39487 /* end confdefs.h. */
39493 char *name = "www.gnu.org";
39494 (void)gethostbyname_r(name) /* ; */
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=no
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
39532 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39534 cat >conftest.$ac_ext <<_ACEOF
39537 cat confdefs.h >>conftest.$ac_ext
39538 cat >>conftest.$ac_ext <<_ACEOF
39539 /* end confdefs.h. */
39545 char *name = "www.gnu.org";
39546 struct hostent ret, *retp;
39550 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
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
=six
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
39590 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39592 cat >conftest.
$ac_ext <<_ACEOF
39595 cat confdefs.h
>>conftest.
$ac_ext
39596 cat >>conftest.
$ac_ext <<_ACEOF
39597 /* end confdefs.h. */
39603 char *name = "www.gnu.org";
39604 struct hostent ret;
39608 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
39614 rm -f conftest.
$ac_objext
39615 if { (ac_try
="$ac_compile"
39616 case "(($ac_try" in
39617 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39618 *) ac_try_echo=$ac_try;;
39620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39621 (eval "$ac_compile") 2>conftest.er1
39623 grep -v '^ *+' conftest.er1 >conftest.err
39625 cat conftest.err >&5
39626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39627 (exit $ac_status); } && {
39628 test -z "$ac_c_werror_flag" ||
39629 test ! -s conftest.err
39630 } && test -s conftest.$ac_objext; then
39631 ac_cv_func_which_gethostbyname_r=five
39633 echo "$as_me: failed program was:" >&5
39634 sed 's/^/| /' conftest.$ac_ext >&5
39639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39645 # (e.g. AIX, HP-UX, Tru64)
39648 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39650 cat >conftest.$ac_ext <<_ACEOF
39653 cat confdefs.h >>conftest.$ac_ext
39654 cat >>conftest.$ac_ext <<_ACEOF
39655 /* end confdefs.h. */
39661 char *name = "www.gnu.org";
39662 struct hostent ret;
39663 struct hostent_data data;
39664 (void)gethostbyname_r(name, &ret, &data) /* ; */
39670 rm -f conftest.$ac_objext
39671 if { (ac_try="$ac_compile"
39672 case "(($ac_try" in
39673 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39674 *) ac_try_echo
=$ac_try;;
39676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39677 (eval "$ac_compile") 2>conftest.er1
39679 grep -v '^ *+' conftest.er1
>conftest.err
39681 cat conftest.err
>&5
39682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39683 (exit $ac_status); } && {
39684 test -z "$ac_c_werror_flag" ||
39685 test ! -s conftest.err
39686 } && test -s conftest.
$ac_objext; then
39687 ac_cv_func_which_gethostbyname_r
=three
39689 echo "$as_me: failed program was:" >&5
39690 sed 's/^/| /' conftest.
$ac_ext >&5
39695 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39699 ################################################################
39704 case "$ac_cv_func_which_gethostbyname_r" in
39706 { echo "$as_me:$LINENO: result: three" >&5
39707 echo "${ECHO_T}three" >&6; }
39708 cat >>confdefs.h
<<\_ACEOF
39709 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
39715 { echo "$as_me:$LINENO: result: five" >&5
39716 echo "${ECHO_T}five" >&6; }
39717 cat >>confdefs.h
<<\_ACEOF
39718 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
39724 { echo "$as_me:$LINENO: result: six" >&5
39725 echo "${ECHO_T}six" >&6; }
39726 cat >>confdefs.h
<<\_ACEOF
39727 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
39733 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
39734 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
39738 { echo "$as_me:$LINENO: result: can't tell" >&5
39739 echo "${ECHO_T}can't tell" >&6; }
39743 { { echo "$as_me:$LINENO: error: internal error" >&5
39744 echo "$as_me: error: internal error" >&2;}
39745 { (exit 1); exit 1; }; }
39750 ac_cpp
='$CPP $CPPFLAGS'
39751 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39752 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39753 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39757 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
39758 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
39759 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
39760 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
39761 if test "${ac_cv_func_gethostbyname+set}" = set; then
39762 echo $ECHO_N "(cached) $ECHO_C" >&6
39764 cat >conftest.
$ac_ext <<_ACEOF
39767 cat confdefs.h
>>conftest.
$ac_ext
39768 cat >>conftest.
$ac_ext <<_ACEOF
39769 /* end confdefs.h. */
39770 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
39771 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39772 #define gethostbyname innocuous_gethostbyname
39774 /* System header to define __stub macros and hopefully few prototypes,
39775 which can conflict with char gethostbyname (); below.
39776 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39777 <limits.h> exists even on freestanding compilers. */
39780 # include <limits.h>
39782 # include <assert.h>
39785 #undef gethostbyname
39787 /* Override any GCC internal prototype to avoid an error.
39788 Use char because int might match the return type of a GCC
39789 builtin and then its argument prototype would still apply. */
39793 char gethostbyname ();
39794 /* The GNU C library defines this for functions which it implements
39795 to always fail with ENOSYS. Some functions are actually named
39796 something starting with __ and the normal name is an alias. */
39797 #if defined __stub_gethostbyname || defined __stub___gethostbyname
39804 return gethostbyname ();
39809 rm -f conftest.
$ac_objext conftest
$ac_exeext
39810 if { (ac_try
="$ac_link"
39811 case "(($ac_try" in
39812 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39813 *) ac_try_echo=$ac_try;;
39815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39816 (eval "$ac_link") 2>conftest.er1
39818 grep -v '^ *+' conftest.er1 >conftest.err
39820 cat conftest.err >&5
39821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39822 (exit $ac_status); } && {
39823 test -z "$ac_c_werror_flag" ||
39824 test ! -s conftest.err
39825 } && test -s conftest$ac_exeext &&
39826 $as_test_x conftest$ac_exeext; then
39827 ac_cv_func_gethostbyname=yes
39829 echo "$as_me: failed program was:" >&5
39830 sed 's/^/| /' conftest.$ac_ext >&5
39832 ac_cv_func_gethostbyname=no
39835 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39836 conftest$ac_exeext conftest.$ac_ext
39838 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
39839 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
39840 if test $ac_cv_func_gethostbyname = yes; then
39841 cat >>confdefs.h <<\_ACEOF
39842 #define HAVE_GETHOSTBYNAME 1
39849 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
39850 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
39851 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
39852 echo $ECHO_N "(cached) $ECHO_C" >&6
39856 ac_cpp='$CXXCPP $CPPFLAGS'
39857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39862 cat >conftest.$ac_ext <<_ACEOF
39865 cat confdefs.h >>conftest.$ac_ext
39866 cat >>conftest.$ac_ext <<_ACEOF
39867 /* end confdefs.h. */
39875 struct servent *se, *res;
39878 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
39884 rm -f conftest.$ac_objext
39885 if { (ac_try="$ac_compile"
39886 case "(($ac_try" in
39887 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39888 *) ac_try_echo
=$ac_try;;
39890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39891 (eval "$ac_compile") 2>conftest.er1
39893 grep -v '^ *+' conftest.er1
>conftest.err
39895 cat conftest.err
>&5
39896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39897 (exit $ac_status); } && {
39898 test -z "$ac_cxx_werror_flag" ||
39899 test ! -s conftest.err
39900 } && test -s conftest.
$ac_objext; then
39901 ac_cv_func_which_getservbyname_r
=six
39903 echo "$as_me: failed program was:" >&5
39904 sed 's/^/| /' conftest.
$ac_ext >&5
39907 cat >conftest.
$ac_ext <<_ACEOF
39910 cat confdefs.h
>>conftest.
$ac_ext
39911 cat >>conftest.
$ac_ext <<_ACEOF
39912 /* end confdefs.h. */
39920 struct servent *se;
39923 (void) getservbyname_r(name, proto, se, buffer, buflen)
39929 rm -f conftest.
$ac_objext
39930 if { (ac_try
="$ac_compile"
39931 case "(($ac_try" in
39932 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39933 *) ac_try_echo=$ac_try;;
39935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39936 (eval "$ac_compile") 2>conftest.er1
39938 grep -v '^ *+' conftest.er1 >conftest.err
39940 cat conftest.err >&5
39941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39942 (exit $ac_status); } && {
39943 test -z "$ac_cxx_werror_flag" ||
39944 test ! -s conftest.err
39945 } && test -s conftest.$ac_objext; then
39946 ac_cv_func_which_getservbyname_r=five
39948 echo "$as_me: failed program was:" >&5
39949 sed 's/^/| /' conftest.$ac_ext >&5
39952 cat >conftest.$ac_ext <<_ACEOF
39955 cat confdefs.h >>conftest.$ac_ext
39956 cat >>conftest.$ac_ext <<_ACEOF
39957 /* end confdefs.h. */
39965 struct servent *se;
39966 struct servent_data data;
39967 (void) getservbyname_r(name, proto, se, &data);
39973 rm -f conftest.$ac_objext
39974 if { (ac_try="$ac_compile"
39975 case "(($ac_try" in
39976 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39977 *) ac_try_echo
=$ac_try;;
39979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39980 (eval "$ac_compile") 2>conftest.er1
39982 grep -v '^ *+' conftest.er1
>conftest.err
39984 cat conftest.err
>&5
39985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39986 (exit $ac_status); } && {
39987 test -z "$ac_cxx_werror_flag" ||
39988 test ! -s conftest.err
39989 } && test -s conftest.
$ac_objext; then
39990 ac_cv_func_which_getservbyname_r
=four
39992 echo "$as_me: failed program was:" >&5
39993 sed 's/^/| /' conftest.
$ac_ext >&5
39995 ac_cv_func_which_getservbyname_r
=no
39999 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40004 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40009 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40011 ac_cpp
='$CPP $CPPFLAGS'
40012 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40013 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40014 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40019 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
40020 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
40022 if test $ac_cv_func_which_getservbyname_r = six
; then
40023 cat >>confdefs.h
<<\_ACEOF
40024 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
40027 elif test $ac_cv_func_which_getservbyname_r = five
; then
40028 cat >>confdefs.h
<<\_ACEOF
40029 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
40032 elif test $ac_cv_func_which_getservbyname_r = four
; then
40033 cat >>confdefs.h
<<\_ACEOF
40034 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
40040 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
40041 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
40043 for ac_func
in getservbyname
40045 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40046 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40047 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40048 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40049 echo $ECHO_N "(cached) $ECHO_C" >&6
40051 cat >conftest.
$ac_ext <<_ACEOF
40054 cat confdefs.h
>>conftest.
$ac_ext
40055 cat >>conftest.
$ac_ext <<_ACEOF
40056 /* end confdefs.h. */
40057 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40058 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40059 #define $ac_func innocuous_$ac_func
40061 /* System header to define __stub macros and hopefully few prototypes,
40062 which can conflict with char $ac_func (); below.
40063 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40064 <limits.h> exists even on freestanding compilers. */
40067 # include <limits.h>
40069 # include <assert.h>
40074 /* Override any GCC internal prototype to avoid an error.
40075 Use char because int might match the return type of a GCC
40076 builtin and then its argument prototype would still apply. */
40081 /* The GNU C library defines this for functions which it implements
40082 to always fail with ENOSYS. Some functions are actually named
40083 something starting with __ and the normal name is an alias. */
40084 #if defined __stub_$ac_func || defined __stub___$ac_func
40091 return $ac_func ();
40096 rm -f conftest.
$ac_objext conftest
$ac_exeext
40097 if { (ac_try
="$ac_link"
40098 case "(($ac_try" in
40099 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40100 *) ac_try_echo=$ac_try;;
40102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40103 (eval "$ac_link") 2>conftest.er1
40105 grep -v '^ *+' conftest.er1 >conftest.err
40107 cat conftest.err >&5
40108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40109 (exit $ac_status); } && {
40110 test -z "$ac_c_werror_flag" ||
40111 test ! -s conftest.err
40112 } && test -s conftest$ac_exeext &&
40113 $as_test_x conftest$ac_exeext; then
40114 eval "$as_ac_var=yes"
40116 echo "$as_me: failed program was:" >&5
40117 sed 's/^/| /' conftest.$ac_ext >&5
40119 eval "$as_ac_var=no"
40122 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40123 conftest$ac_exeext conftest.$ac_ext
40125 ac_res=`eval echo '${'$as_ac_var'}'`
40126 { echo "$as_me:$LINENO: result: $ac_res" >&5
40127 echo "${ECHO_T}$ac_res" >&6; }
40128 if test `eval echo '${'$as_ac_var'}'` = yes; then
40129 cat >>confdefs.h <<_ACEOF
40130 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40132 cat >>confdefs.h <<\_ACEOF
40133 #define HAVE_GETSERVBYNAME 1
40141 if test "$wxUSE_THREADS" = "yes"; then
40142 cat >>confdefs.h <<\_ACEOF
40143 #define wxUSE_THREADS 1
40147 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
40149 if test "$wx_cv_func_strtok_r" = "yes"; then
40150 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
40151 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
40152 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
40153 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
40154 { echo "$as_me:$LINENO: result: yes" >&5
40155 echo "${ECHO_T}yes" >&6; }
40157 { echo "$as_me:$LINENO: result: no" >&5
40158 echo "${ECHO_T}no" >&6; }
40163 if test "$WXGTK20" = 1 ; then
40164 cat >>confdefs.h <<_ACEOF
40165 #define __WXGTK20__ $WXGTK20
40171 if test "$WXGTK12" = 1 ; then
40172 cat >>confdefs.h <<_ACEOF
40173 #define __WXGTK12__ $WXGTK12
40178 if test "$WXGTK127" = 1 ; then
40179 cat >>confdefs.h <<_ACEOF
40180 #define __WXGTK127__ $WXGTK127
40185 if test "$WXGPE" = 1 ; then
40186 cat >>confdefs.h <<_ACEOF
40187 #define __WXGPE__ $WXGPE
40193 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
40198 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
40199 wxUSE_DEBUG_INFO=yes
40200 if test "$GCC" = yes; then
40201 DEBUG_CFLAGS="-ggdb"
40205 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
40206 cat >>confdefs.h <<\_ACEOF
40210 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
40212 if test "$wxUSE_GTK" = 1 ; then
40213 if test "x$wxGTK_VERSION" = "x1" ; then
40214 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
40219 if test "$wxUSE_MEM_TRACING" = "yes" ; then
40220 cat >>confdefs.h <<\_ACEOF
40221 #define wxUSE_MEMORY_TRACING 1
40224 cat >>confdefs.h <<\_ACEOF
40225 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
40228 cat >>confdefs.h <<\_ACEOF
40229 #define wxUSE_DEBUG_NEW_ALWAYS 1
40232 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
40235 if test "$wxUSE_DMALLOC" = "yes" ; then
40236 DMALLOC_LIBS="-ldmallocthcxx"
40240 if test "$wxUSE_PROFILE" = "yes" ; then
40241 PROFILE_FLAGS=" -pg"
40244 if test "$GCC" = "yes" ; then
40245 if test "$wxUSE_NO_RTTI" = "yes" ; then
40246 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
40248 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
40249 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
40251 if test "$wxUSE_PERMISSIVE" = "yes" ; then
40252 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
40257 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
40260 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
40266 if test "$wxUSE_OPTIMISE" = "no" ; then
40267 if test "$GCC" = yes ; then
40268 OPTIMISE_CFLAGS="-O0"
40271 if test "$GCC" = yes ; then
40273 *-pc-os2_emx | *-pc-os2-emx )
40274 OPTIMISE_CFLAGS="-O2"
40277 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
40281 OPTIMISE_CFLAGS="-O"
40286 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
40287 cat >>confdefs.h <<\_ACEOF
40288 #define WXWIN_COMPATIBILITY_2_6 1
40292 WXWIN_COMPATIBILITY_2_8="yes"
40295 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
40296 cat >>confdefs.h <<\_ACEOF
40297 #define WXWIN_COMPATIBILITY_2_8 1
40303 if test "$wxUSE_GUI" = "yes"; then
40304 cat >>confdefs.h <<\_ACEOF
40305 #define wxUSE_GUI 1
40312 if test "$wxUSE_UNIX" = "yes"; then
40313 cat >>confdefs.h <<\_ACEOF
40314 #define wxUSE_UNIX 1
40320 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40324 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40325 if test "$USE_DARWIN" = 1; then
40327 elif test "$USE_DOS" = 1; then
40331 for ac_func in dlopen
40333 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40334 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40335 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40336 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40337 echo $ECHO_N "(cached) $ECHO_C" >&6
40339 cat >conftest.$ac_ext <<_ACEOF
40342 cat confdefs.h >>conftest.$ac_ext
40343 cat >>conftest.$ac_ext <<_ACEOF
40344 /* end confdefs.h. */
40345 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40346 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40347 #define $ac_func innocuous_$ac_func
40349 /* System header to define __stub macros and hopefully few prototypes,
40350 which can conflict with char $ac_func (); below.
40351 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40352 <limits.h> exists even on freestanding compilers. */
40355 # include <limits.h>
40357 # include <assert.h>
40362 /* Override any GCC internal prototype to avoid an error.
40363 Use char because int might match the return type of a GCC
40364 builtin and then its argument prototype would still apply. */
40369 /* The GNU C library defines this for functions which it implements
40370 to always fail with ENOSYS. Some functions are actually named
40371 something starting with __ and the normal name is an alias. */
40372 #if defined __stub_$ac_func || defined __stub___$ac_func
40379 return $ac_func ();
40384 rm -f conftest.$ac_objext conftest$ac_exeext
40385 if { (ac_try="$ac_link"
40386 case "(($ac_try" in
40387 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40388 *) ac_try_echo
=$ac_try;;
40390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40391 (eval "$ac_link") 2>conftest.er1
40393 grep -v '^ *+' conftest.er1
>conftest.err
40395 cat conftest.err
>&5
40396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40397 (exit $ac_status); } && {
40398 test -z "$ac_c_werror_flag" ||
40399 test ! -s conftest.err
40400 } && test -s conftest
$ac_exeext &&
40401 $as_test_x conftest
$ac_exeext; then
40402 eval "$as_ac_var=yes"
40404 echo "$as_me: failed program was:" >&5
40405 sed 's/^/| /' conftest.
$ac_ext >&5
40407 eval "$as_ac_var=no"
40410 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40411 conftest
$ac_exeext conftest.
$ac_ext
40413 ac_res
=`eval echo '${'$as_ac_var'}'`
40414 { echo "$as_me:$LINENO: result: $ac_res" >&5
40415 echo "${ECHO_T}$ac_res" >&6; }
40416 if test `eval echo '${'$as_ac_var'}'` = yes; then
40417 cat >>confdefs.h
<<_ACEOF
40418 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40421 cat >>confdefs.h
<<\_ACEOF
40422 #define HAVE_DLOPEN 1
40429 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
40430 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
40431 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
40432 echo $ECHO_N "(cached) $ECHO_C" >&6
40434 ac_check_lib_save_LIBS
=$LIBS
40436 cat >conftest.
$ac_ext <<_ACEOF
40439 cat confdefs.h
>>conftest.
$ac_ext
40440 cat >>conftest.
$ac_ext <<_ACEOF
40441 /* end confdefs.h. */
40443 /* Override any GCC internal prototype to avoid an error.
40444 Use char because int might match the return type of a GCC
40445 builtin and then its argument prototype would still apply. */
40458 rm -f conftest.
$ac_objext conftest
$ac_exeext
40459 if { (ac_try
="$ac_link"
40460 case "(($ac_try" in
40461 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40462 *) ac_try_echo=$ac_try;;
40464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40465 (eval "$ac_link") 2>conftest.er1
40467 grep -v '^ *+' conftest.er1 >conftest.err
40469 cat conftest.err >&5
40470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40471 (exit $ac_status); } && {
40472 test -z "$ac_c_werror_flag" ||
40473 test ! -s conftest.err
40474 } && test -s conftest$ac_exeext &&
40475 $as_test_x conftest$ac_exeext; then
40476 ac_cv_lib_dl_dlopen=yes
40478 echo "$as_me: failed program was:" >&5
40479 sed 's/^/| /' conftest.$ac_ext >&5
40481 ac_cv_lib_dl_dlopen=no
40484 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40485 conftest$ac_exeext conftest.$ac_ext
40486 LIBS=$ac_check_lib_save_LIBS
40488 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
40489 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
40490 if test $ac_cv_lib_dl_dlopen = yes; then
40492 cat >>confdefs.h <<\_ACEOF
40493 #define HAVE_DLOPEN 1
40497 DL_LINK=" -ldl$DL_LINK"
40502 for ac_func in shl_load
40504 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40505 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40506 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40507 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40508 echo $ECHO_N "(cached) $ECHO_C" >&6
40510 cat >conftest.$ac_ext <<_ACEOF
40513 cat confdefs.h >>conftest.$ac_ext
40514 cat >>conftest.$ac_ext <<_ACEOF
40515 /* end confdefs.h. */
40516 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40517 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40518 #define $ac_func innocuous_$ac_func
40520 /* System header to define __stub macros and hopefully few prototypes,
40521 which can conflict with char $ac_func (); below.
40522 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40523 <limits.h> exists even on freestanding compilers. */
40526 # include <limits.h>
40528 # include <assert.h>
40533 /* Override any GCC internal prototype to avoid an error.
40534 Use char because int might match the return type of a GCC
40535 builtin and then its argument prototype would still apply. */
40540 /* The GNU C library defines this for functions which it implements
40541 to always fail with ENOSYS. Some functions are actually named
40542 something starting with __ and the normal name is an alias. */
40543 #if defined __stub_$ac_func || defined __stub___$ac_func
40550 return $ac_func ();
40555 rm -f conftest.$ac_objext conftest$ac_exeext
40556 if { (ac_try="$ac_link"
40557 case "(($ac_try" in
40558 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40559 *) ac_try_echo
=$ac_try;;
40561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40562 (eval "$ac_link") 2>conftest.er1
40564 grep -v '^ *+' conftest.er1
>conftest.err
40566 cat conftest.err
>&5
40567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40568 (exit $ac_status); } && {
40569 test -z "$ac_c_werror_flag" ||
40570 test ! -s conftest.err
40571 } && test -s conftest
$ac_exeext &&
40572 $as_test_x conftest
$ac_exeext; then
40573 eval "$as_ac_var=yes"
40575 echo "$as_me: failed program was:" >&5
40576 sed 's/^/| /' conftest.
$ac_ext >&5
40578 eval "$as_ac_var=no"
40581 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40582 conftest
$ac_exeext conftest.
$ac_ext
40584 ac_res
=`eval echo '${'$as_ac_var'}'`
40585 { echo "$as_me:$LINENO: result: $ac_res" >&5
40586 echo "${ECHO_T}$ac_res" >&6; }
40587 if test `eval echo '${'$as_ac_var'}'` = yes; then
40588 cat >>confdefs.h
<<_ACEOF
40589 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40592 cat >>confdefs.h
<<\_ACEOF
40593 #define HAVE_SHL_LOAD 1
40600 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
40601 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
40602 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
40603 echo $ECHO_N "(cached) $ECHO_C" >&6
40605 ac_check_lib_save_LIBS
=$LIBS
40606 LIBS
="-lshl_load $LIBS"
40607 cat >conftest.
$ac_ext <<_ACEOF
40610 cat confdefs.h
>>conftest.
$ac_ext
40611 cat >>conftest.
$ac_ext <<_ACEOF
40612 /* end confdefs.h. */
40614 /* Override any GCC internal prototype to avoid an error.
40615 Use char because int might match the return type of a GCC
40616 builtin and then its argument prototype would still apply. */
40629 rm -f conftest.
$ac_objext conftest
$ac_exeext
40630 if { (ac_try
="$ac_link"
40631 case "(($ac_try" in
40632 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40633 *) ac_try_echo=$ac_try;;
40635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40636 (eval "$ac_link") 2>conftest.er1
40638 grep -v '^ *+' conftest.er1 >conftest.err
40640 cat conftest.err >&5
40641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40642 (exit $ac_status); } && {
40643 test -z "$ac_c_werror_flag" ||
40644 test ! -s conftest.err
40645 } && test -s conftest$ac_exeext &&
40646 $as_test_x conftest$ac_exeext; then
40647 ac_cv_lib_shl_load_dld=yes
40649 echo "$as_me: failed program was:" >&5
40650 sed 's/^/| /' conftest.$ac_ext >&5
40652 ac_cv_lib_shl_load_dld=no
40655 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40656 conftest$ac_exeext conftest.$ac_ext
40657 LIBS=$ac_check_lib_save_LIBS
40659 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
40660 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
40661 if test $ac_cv_lib_shl_load_dld = yes; then
40664 DL_LINK=" -ldld$DL_LINK"
40680 if test "$HAVE_DL_FUNCS" = 1; then
40682 for ac_func in dlerror
40684 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40685 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40686 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40687 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40688 echo $ECHO_N "(cached) $ECHO_C" >&6
40690 cat >conftest.$ac_ext <<_ACEOF
40693 cat confdefs.h >>conftest.$ac_ext
40694 cat >>conftest.$ac_ext <<_ACEOF
40695 /* end confdefs.h. */
40696 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40697 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40698 #define $ac_func innocuous_$ac_func
40700 /* System header to define __stub macros and hopefully few prototypes,
40701 which can conflict with char $ac_func (); below.
40702 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40703 <limits.h> exists even on freestanding compilers. */
40706 # include <limits.h>
40708 # include <assert.h>
40713 /* Override any GCC internal prototype to avoid an error.
40714 Use char because int might match the return type of a GCC
40715 builtin and then its argument prototype would still apply. */
40720 /* The GNU C library defines this for functions which it implements
40721 to always fail with ENOSYS. Some functions are actually named
40722 something starting with __ and the normal name is an alias. */
40723 #if defined __stub_$ac_func || defined __stub___$ac_func
40730 return $ac_func ();
40735 rm -f conftest.$ac_objext conftest$ac_exeext
40736 if { (ac_try="$ac_link"
40737 case "(($ac_try" in
40738 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40739 *) ac_try_echo
=$ac_try;;
40741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40742 (eval "$ac_link") 2>conftest.er1
40744 grep -v '^ *+' conftest.er1
>conftest.err
40746 cat conftest.err
>&5
40747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40748 (exit $ac_status); } && {
40749 test -z "$ac_c_werror_flag" ||
40750 test ! -s conftest.err
40751 } && test -s conftest
$ac_exeext &&
40752 $as_test_x conftest
$ac_exeext; then
40753 eval "$as_ac_var=yes"
40755 echo "$as_me: failed program was:" >&5
40756 sed 's/^/| /' conftest.
$ac_ext >&5
40758 eval "$as_ac_var=no"
40761 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40762 conftest
$ac_exeext conftest.
$ac_ext
40764 ac_res
=`eval echo '${'$as_ac_var'}'`
40765 { echo "$as_me:$LINENO: result: $ac_res" >&5
40766 echo "${ECHO_T}$ac_res" >&6; }
40767 if test `eval echo '${'$as_ac_var'}'` = yes; then
40768 cat >>confdefs.h
<<_ACEOF
40769 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40771 cat >>confdefs.h
<<\_ACEOF
40772 #define HAVE_DLERROR 1
40777 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
40778 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
40779 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
40780 echo $ECHO_N "(cached) $ECHO_C" >&6
40782 ac_check_lib_save_LIBS
=$LIBS
40784 cat >conftest.
$ac_ext <<_ACEOF
40787 cat confdefs.h
>>conftest.
$ac_ext
40788 cat >>conftest.
$ac_ext <<_ACEOF
40789 /* end confdefs.h. */
40791 /* Override any GCC internal prototype to avoid an error.
40792 Use char because int might match the return type of a GCC
40793 builtin and then its argument prototype would still apply. */
40806 rm -f conftest.
$ac_objext conftest
$ac_exeext
40807 if { (ac_try
="$ac_link"
40808 case "(($ac_try" in
40809 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40810 *) ac_try_echo=$ac_try;;
40812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40813 (eval "$ac_link") 2>conftest.er1
40815 grep -v '^ *+' conftest.er1 >conftest.err
40817 cat conftest.err >&5
40818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40819 (exit $ac_status); } && {
40820 test -z "$ac_c_werror_flag" ||
40821 test ! -s conftest.err
40822 } && test -s conftest$ac_exeext &&
40823 $as_test_x conftest$ac_exeext; then
40824 ac_cv_lib_dl_dlerror=yes
40826 echo "$as_me: failed program was:" >&5
40827 sed 's/^/| /' conftest.$ac_ext >&5
40829 ac_cv_lib_dl_dlerror=no
40832 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40833 conftest$ac_exeext conftest.$ac_ext
40834 LIBS=$ac_check_lib_save_LIBS
40836 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
40837 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
40838 if test $ac_cv_lib_dl_dlerror = yes; then
40839 cat >>confdefs.h <<\_ACEOF
40840 #define HAVE_DLERROR 1
40853 if test "$HAVE_DL_FUNCS" = 0; then
40854 if test "$HAVE_SHL_FUNCS" = 0; then
40855 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
40856 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
40857 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
40858 wxUSE_DYNAMIC_LOADER=no
40859 wxUSE_DYNLIB_CLASS=no
40861 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
40862 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
40869 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
40870 cat >>confdefs.h <<\_ACEOF
40871 #define wxUSE_DYNAMIC_LOADER 1
40875 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40876 cat >>confdefs.h <<\_ACEOF
40877 #define wxUSE_DYNLIB_CLASS 1
40884 if test "$wxUSE_PLUGINS" = "yes" ; then
40885 if test "$wxUSE_SHARED" = "no" ; then
40886 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
40887 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
40890 if test "$wxUSE_MONOLITHIC" = "yes" ; then
40891 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
40892 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
40895 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
40896 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
40897 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
40900 if test "$wxUSE_PLUGINS" = "yes" ; then
40901 cat >>confdefs.h <<\_ACEOF
40902 #define wxUSE_PLUGINS 1
40909 if test "$wxUSE_STL" = "yes"; then
40910 cat >>confdefs.h <<\_ACEOF
40911 #define wxUSE_STL 1
40916 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
40917 cat >>confdefs.h <<\_ACEOF
40918 #define wxUSE_EXTENDED_RTTI 1
40923 if test "$wxUSE_APPLE_IEEE" = "yes"; then
40924 cat >>confdefs.h <<\_ACEOF
40925 #define wxUSE_APPLE_IEEE 1
40930 if test "$wxUSE_TIMER" = "yes"; then
40931 cat >>confdefs.h <<\_ACEOF
40932 #define wxUSE_TIMER 1
40937 if test "$USE_UNIX" = "1" ; then
40938 if test "$wxUSE_MGL" != 1; then
40939 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
40940 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
40941 if test "${ac_cv_header_sys_soundcard+set}" = set; then
40942 echo $ECHO_N "(cached) $ECHO_C" >&6
40945 cat >conftest.$ac_ext <<_ACEOF
40948 cat confdefs.h >>conftest.$ac_ext
40949 cat >>conftest.$ac_ext <<_ACEOF
40950 /* end confdefs.h. */
40952 #include <sys/ioctl.h>
40953 #include <sys/soundcard.h>
40959 ioctl(0, SNDCTL_DSP_SPEED, 0);
40965 rm -f conftest.$ac_objext conftest$ac_exeext
40966 if { (ac_try="$ac_link"
40967 case "(($ac_try" in
40968 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40969 *) ac_try_echo
=$ac_try;;
40971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40972 (eval "$ac_link") 2>conftest.er1
40974 grep -v '^ *+' conftest.er1
>conftest.err
40976 cat conftest.err
>&5
40977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40978 (exit $ac_status); } && {
40979 test -z "$ac_c_werror_flag" ||
40980 test ! -s conftest.err
40981 } && test -s conftest
$ac_exeext &&
40982 $as_test_x conftest
$ac_exeext; then
40983 ac_cv_header_sys_soundcard
=yes
40985 echo "$as_me: failed program was:" >&5
40986 sed 's/^/| /' conftest.
$ac_ext >&5
40990 LIBS
="$saveLibs -lossaudio"
40991 cat >conftest.
$ac_ext <<_ACEOF
40994 cat confdefs.h
>>conftest.
$ac_ext
40995 cat >>conftest.
$ac_ext <<_ACEOF
40996 /* end confdefs.h. */
40998 #include <sys/ioctl.h>
40999 #include <sys/soundcard.h>
41005 ioctl(0, SNDCTL_DSP_SPEED, 0);
41011 rm -f conftest.
$ac_objext conftest
$ac_exeext
41012 if { (ac_try
="$ac_link"
41013 case "(($ac_try" in
41014 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41015 *) ac_try_echo=$ac_try;;
41017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41018 (eval "$ac_link") 2>conftest.er1
41020 grep -v '^ *+' conftest.er1 >conftest.err
41022 cat conftest.err >&5
41023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41024 (exit $ac_status); } && {
41025 test -z "$ac_c_werror_flag" ||
41026 test ! -s conftest.err
41027 } && test -s conftest$ac_exeext &&
41028 $as_test_x conftest$ac_exeext; then
41029 ac_cv_header_sys_soundcard=yes
41031 echo "$as_me: failed program was:" >&5
41032 sed 's/^/| /' conftest.$ac_ext >&5
41036 ac_cv_header_sys_soundcard=no
41041 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41042 conftest$ac_exeext conftest.$ac_ext
41047 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41048 conftest$ac_exeext conftest.$ac_ext
41051 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
41052 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
41055 if test "$ac_cv_header_sys_soundcard" = "yes"; then
41056 cat >>confdefs.h <<\_ACEOF
41057 #define HAVE_SYS_SOUNDCARD_H 1
41064 if test "$wxUSE_SOUND" = "yes"; then
41065 if test "$USE_UNIX" = "1" ; then
41066 if test "$wxUSE_LIBSDL" != "no"; then
41068 # Check whether --with-sdl-prefix was given.
41069 if test "${with_sdl_prefix+set}" = set; then
41070 withval=$with_sdl_prefix; sdl_prefix="$withval"
41076 # Check whether --with-sdl-exec-prefix was given.
41077 if test "${with_sdl_exec_prefix+set}" = set; then
41078 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
41083 # Check whether --enable-sdltest was given.
41084 if test "${enable_sdltest+set}" = set; then
41085 enableval=$enable_sdltest;
41091 if test x$sdl_exec_prefix != x ; then
41092 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
41093 if test x${SDL_CONFIG+set} != xset ; then
41094 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
41097 if test x$sdl_prefix != x ; then
41098 sdl_args="$sdl_args --prefix=$sdl_prefix"
41099 if test x${SDL_CONFIG+set} != xset ; then
41100 SDL_CONFIG=$sdl_prefix/bin/sdl-config
41104 if test "x$prefix" != xNONE; then
41105 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
41107 # Extract the first word of "sdl-config", so it can be a program name with args.
41108 set dummy sdl-config; ac_word=$2
41109 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41110 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41111 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
41112 echo $ECHO_N "(cached) $ECHO_C" >&6
41114 case $SDL_CONFIG in
41116 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
41119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41120 for as_dir in $PATH
41123 test -z "$as_dir" && as_dir=.
41124 for ac_exec_ext in '' $ac_executable_extensions; do
41125 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41126 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41127 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41134 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
41138 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
41139 if test -n "$SDL_CONFIG"; then
41140 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
41141 echo "${ECHO_T}$SDL_CONFIG" >&6; }
41143 { echo "$as_me:$LINENO: result: no" >&5
41144 echo "${ECHO_T}no" >&6; }
41148 min_sdl_version=1.2.0
41149 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
41150 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
41152 if test "$SDL_CONFIG" = "no" ; then
41155 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
41156 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
41158 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
41159 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41160 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
41161 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41162 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
41163 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41164 if test "x$enable_sdltest" = "xyes" ; then
41165 ac_save_CFLAGS="$CFLAGS"
41166 ac_save_CXXFLAGS="$CXXFLAGS"
41167 ac_save_LIBS="$LIBS"
41168 CFLAGS="$CFLAGS $SDL_CFLAGS"
41169 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41170 LIBS="$LIBS $SDL_LIBS"
41172 if test "$cross_compiling" = yes; then
41173 echo $ac_n "cross compiling; assumed OK... $ac_c"
41175 cat >conftest.$ac_ext <<_ACEOF
41178 cat confdefs.h >>conftest.$ac_ext
41179 cat >>conftest.$ac_ext <<_ACEOF
41180 /* end confdefs.h. */
41183 #include <stdlib.h>
41184 #include <string.h>
41188 my_strdup (char *str)
41194 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
41195 strcpy (new_str, str);
41203 int main (int argc, char *argv[])
41205 int major, minor, micro;
41208 /* This hangs on some systems (?)
41209 system ("touch conf.sdltest");
41211 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
41213 /* HP/UX 9 (%@#!) writes to sscanf strings */
41214 tmp_version = my_strdup("$min_sdl_version");
41215 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
41216 printf("%s, bad version string\n", "$min_sdl_version");
41220 if (($sdl_major_version > major) ||
41221 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
41222 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
41228 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
41229 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
41230 printf("*** best to upgrade to the required version.\n");
41231 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
41232 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
41233 printf("*** config.cache before re-running configure\n");
41240 rm -f conftest$ac_exeext
41241 if { (ac_try="$ac_link"
41242 case "(($ac_try" in
41243 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41244 *) ac_try_echo
=$ac_try;;
41246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41247 (eval "$ac_link") 2>&5
41249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41250 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
41251 { (case "(($ac_try" in
41252 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41253 *) ac_try_echo=$ac_try;;
41255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41256 (eval "$ac_try") 2>&5
41258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41259 (exit $ac_status); }; }; then
41262 echo "$as_me: program exited with status $ac_status" >&5
41263 echo "$as_me: failed program was:" >&5
41264 sed 's/^/| /' conftest.$ac_ext >&5
41266 ( exit $ac_status )
41269 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41273 CFLAGS="$ac_save_CFLAGS"
41274 CXXFLAGS="$ac_save_CXXFLAGS"
41275 LIBS="$ac_save_LIBS"
41278 if test "x$no_sdl" = x ; then
41279 { echo "$as_me:$LINENO: result: yes" >&5
41280 echo "${ECHO_T}yes" >&6; }
41282 EXTRALIBS_SDL="$SDL_LIBS"
41283 CFLAGS="$SDL_CFLAGS $CFLAGS"
41284 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
41285 cat >>confdefs.h <<\_ACEOF
41286 #define wxUSE_LIBSDL 1
41291 { echo "$as_me:$LINENO: result: no" >&5
41292 echo "${ECHO_T}no" >&6; }
41293 if test "$SDL_CONFIG" = "no" ; then
41294 echo "*** The sdl-config script installed by SDL could not be found"
41295 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
41296 echo "*** your path, or set the SDL_CONFIG environment variable to the"
41297 echo "*** full path to sdl-config."
41299 if test -f conf.sdltest ; then
41302 echo "*** Could not run SDL test program, checking why..."
41303 CFLAGS="$CFLAGS $SDL_CFLAGS"
41304 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41305 LIBS="$LIBS $SDL_LIBS"
41306 cat >conftest.$ac_ext <<_ACEOF
41309 cat confdefs.h >>conftest.$ac_ext
41310 cat >>conftest.$ac_ext <<_ACEOF
41311 /* end confdefs.h. */
41316 int main(int argc, char *argv[])
41319 #define main K_and_R_C_main
41329 rm -f conftest.$ac_objext conftest$ac_exeext
41330 if { (ac_try="$ac_link"
41331 case "(($ac_try" in
41332 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41333 *) ac_try_echo
=$ac_try;;
41335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41336 (eval "$ac_link") 2>conftest.er1
41338 grep -v '^ *+' conftest.er1
>conftest.err
41340 cat conftest.err
>&5
41341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41342 (exit $ac_status); } && {
41343 test -z "$ac_c_werror_flag" ||
41344 test ! -s conftest.err
41345 } && test -s conftest
$ac_exeext &&
41346 $as_test_x conftest
$ac_exeext; then
41347 echo "*** The test program compiled, but did not run. This usually means"
41348 echo "*** that the run-time linker is not finding SDL or finding the wrong"
41349 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
41350 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
41351 echo "*** to the installed location Also, make sure you have run ldconfig if that"
41352 echo "*** is required on your system"
41354 echo "*** If you have an old version installed, it is best to remove it, although"
41355 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
41357 echo "$as_me: failed program was:" >&5
41358 sed 's/^/| /' conftest.
$ac_ext >&5
41360 echo "*** The test program failed to compile or link. See the file config.log for the"
41361 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
41362 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
41363 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
41366 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41367 conftest
$ac_exeext conftest.
$ac_ext
41368 CFLAGS
="$ac_save_CFLAGS"
41369 CXXFLAGS
="$ac_save_CXXFLAGS"
41370 LIBS
="$ac_save_LIBS"
41381 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
41386 if test "$wxUSE_MGL" = 1; then
41387 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
41388 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
41394 if test "$wxUSE_SOUND" = "yes"; then
41395 cat >>confdefs.h
<<\_ACEOF
41396 #define wxUSE_SOUND 1
41399 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
41402 if test "$WXGTK20" = 1; then
41405 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
41406 if test -n "$ac_tool_prefix"; then
41407 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
41408 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
41409 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41410 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41411 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41412 echo $ECHO_N "(cached) $ECHO_C" >&6
41414 case $PKG_CONFIG in
41416 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
41419 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41420 for as_dir
in $PATH
41423 test -z "$as_dir" && as_dir
=.
41424 for ac_exec_ext
in '' $ac_executable_extensions; do
41425 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41426 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41427 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41437 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
41438 if test -n "$PKG_CONFIG"; then
41439 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41440 echo "${ECHO_T}$PKG_CONFIG" >&6; }
41442 { echo "$as_me:$LINENO: result: no" >&5
41443 echo "${ECHO_T}no" >&6; }
41448 if test -z "$ac_cv_path_PKG_CONFIG"; then
41449 ac_pt_PKG_CONFIG
=$PKG_CONFIG
41450 # Extract the first word of "pkg-config", so it can be a program name with args.
41451 set dummy pkg
-config; ac_word
=$2
41452 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41453 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41454 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
41455 echo $ECHO_N "(cached) $ECHO_C" >&6
41457 case $ac_pt_PKG_CONFIG in
41459 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
41462 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41463 for as_dir
in $PATH
41466 test -z "$as_dir" && as_dir
=.
41467 for ac_exec_ext
in '' $ac_executable_extensions; do
41468 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41469 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41470 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41480 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
41481 if test -n "$ac_pt_PKG_CONFIG"; then
41482 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
41483 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
41485 { echo "$as_me:$LINENO: result: no" >&5
41486 echo "${ECHO_T}no" >&6; }
41489 if test "x$ac_pt_PKG_CONFIG" = x
; then
41492 case $cross_compiling:$ac_tool_warned in
41494 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
41495 whose name does not start with the host triplet. If you think this
41496 configuration is useful to you, please write to autoconf@gnu.org." >&5
41497 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
41498 whose name does not start with the host triplet. If you think this
41499 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
41500 ac_tool_warned
=yes ;;
41502 PKG_CONFIG
=$ac_pt_PKG_CONFIG
41505 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
41509 if test -n "$PKG_CONFIG"; then
41510 _pkg_min_version
=0.9.0
41511 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
41512 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
41513 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
41514 { echo "$as_me:$LINENO: result: yes" >&5
41515 echo "${ECHO_T}yes" >&6; }
41517 { echo "$as_me:$LINENO: result: no" >&5
41518 echo "${ECHO_T}no" >&6; }
41524 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
41525 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
41529 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
41530 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
41532 if test -n "$PKG_CONFIG"; then
41533 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
41534 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
41536 if test -n "$PKG_CONFIG" && \
41537 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
41538 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
41540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41541 (exit $ac_status); }; then
41542 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
41550 if test -n "$PKG_CONFIG"; then
41551 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
41552 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
41554 if test -n "$PKG_CONFIG" && \
41555 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
41556 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
41558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41559 (exit $ac_status); }; then
41560 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
41571 if test $pkg_failed = yes; then
41573 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41574 _pkg_short_errors_supported
=yes
41576 _pkg_short_errors_supported
=no
41578 if test $_pkg_short_errors_supported = yes; then
41579 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
41581 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
41583 # Put the nasty error message in config.log where it belongs
41584 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
41587 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
41588 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
41589 wxUSE_LIBGNOMEPRINT
="no"
41592 elif test $pkg_failed = untried
; then
41594 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
41595 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
41596 wxUSE_LIBGNOMEPRINT
="no"
41600 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
41601 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
41602 { echo "$as_me:$LINENO: result: yes" >&5
41603 echo "${ECHO_T}yes" >&6; }
41605 CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
41606 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
41607 cat >>confdefs.h
<<\_ACEOF
41608 #define wxUSE_LIBGNOMEPRINT 1
41616 if test "$wxUSE_MIMETYPE" = "yes" ; then
41617 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
41621 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
41622 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
41624 if test -n "$PKG_CONFIG"; then
41625 if test -n "$GNOMEVFS_CFLAGS"; then
41626 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
41628 if test -n "$PKG_CONFIG" && \
41629 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
41630 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
41632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41633 (exit $ac_status); }; then
41634 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
41642 if test -n "$PKG_CONFIG"; then
41643 if test -n "$GNOMEVFS_LIBS"; then
41644 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
41646 if test -n "$PKG_CONFIG" && \
41647 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
41648 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
41650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41651 (exit $ac_status); }; then
41652 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
41663 if test $pkg_failed = yes; then
41665 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41666 _pkg_short_errors_supported
=yes
41668 _pkg_short_errors_supported
=no
41670 if test $_pkg_short_errors_supported = yes; then
41671 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41673 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41675 # Put the nasty error message in config.log where it belongs
41676 echo "$GNOMEVFS_PKG_ERRORS" >&5
41679 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
41680 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
41681 wxUSE_LIBGNOMEVFS
="no"
41684 elif test $pkg_failed = untried
; then
41686 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
41687 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
41688 wxUSE_LIBGNOMEVFS
="no"
41692 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
41693 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
41694 { echo "$as_me:$LINENO: result: yes" >&5
41695 echo "${ECHO_T}yes" >&6; }
41697 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
41698 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
41699 cat >>confdefs.h
<<\_ACEOF
41700 #define wxUSE_LIBGNOMEVFS 1
41708 if test "$wxUSE_LIBHILDON" = "yes" ; then
41711 { echo "$as_me:$LINENO: checking for HILDON" >&5
41712 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
41714 if test -n "$PKG_CONFIG"; then
41715 if test -n "$HILDON_CFLAGS"; then
41716 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
41718 if test -n "$PKG_CONFIG" && \
41719 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
41720 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
41722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41723 (exit $ac_status); }; then
41724 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
41732 if test -n "$PKG_CONFIG"; then
41733 if test -n "$HILDON_LIBS"; then
41734 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
41736 if test -n "$PKG_CONFIG" && \
41737 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
41738 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
41740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41741 (exit $ac_status); }; then
41742 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
41753 if test $pkg_failed = yes; then
41755 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41756 _pkg_short_errors_supported
=yes
41758 _pkg_short_errors_supported
=no
41760 if test $_pkg_short_errors_supported = yes; then
41761 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
41763 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
41765 # Put the nasty error message in config.log where it belongs
41766 echo "$HILDON_PKG_ERRORS" >&5
41769 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
41770 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
41771 wxUSE_LIBHILDON
="no"
41774 elif test $pkg_failed = untried
; then
41776 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
41777 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
41778 wxUSE_LIBHILDON
="no"
41782 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
41783 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
41784 { echo "$as_me:$LINENO: result: yes" >&5
41785 echo "${ECHO_T}yes" >&6; }
41787 EXTRALIBS_HILDON
="$HILDON_LIBS"
41788 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
41789 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
41790 cat >>confdefs.h
<<\_ACEOF
41791 #define wxUSE_LIBHILDON 1
41799 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
41800 cat >>confdefs.h
<<\_ACEOF
41801 #define wxUSE_CMDLINE_PARSER 1
41806 if test "$wxUSE_STOPWATCH" = "yes"; then
41807 cat >>confdefs.h
<<\_ACEOF
41808 #define wxUSE_STOPWATCH 1
41813 if test "$wxUSE_DATETIME" = "yes"; then
41814 cat >>confdefs.h
<<\_ACEOF
41815 #define wxUSE_DATETIME 1
41820 if test "$wxUSE_FILE" = "yes"; then
41821 cat >>confdefs.h
<<\_ACEOF
41822 #define wxUSE_FILE 1
41827 if test "$wxUSE_FFILE" = "yes"; then
41828 cat >>confdefs.h
<<\_ACEOF
41829 #define wxUSE_FFILE 1
41834 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
41835 if test "$wxUSE_STREAMS" != yes; then
41836 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
41837 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
41838 wxUSE_ARCHIVE_STREAMS
=no
41840 cat >>confdefs.h
<<\_ACEOF
41841 #define wxUSE_ARCHIVE_STREAMS 1
41847 if test "$wxUSE_ZIPSTREAM" = "yes"; then
41848 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
41849 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
41850 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
41851 elif test "$wxUSE_ZLIB" = "no"; then
41852 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
41853 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
41855 cat >>confdefs.h
<<\_ACEOF
41856 #define wxUSE_ZIPSTREAM 1
41862 if test "$wxUSE_TARSTREAM" = "yes"; then
41863 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
41864 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
41865 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
41867 cat >>confdefs.h
<<\_ACEOF
41868 #define wxUSE_TARSTREAM 1
41874 if test "$wxUSE_FILESYSTEM" = "yes"; then
41875 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
41876 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
41877 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
41878 wxUSE_FILESYSTEM
=no
41880 cat >>confdefs.h
<<\_ACEOF
41881 #define wxUSE_FILESYSTEM 1
41887 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
41888 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
41889 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
41890 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
41892 cat >>confdefs.h
<<\_ACEOF
41893 #define wxUSE_FS_ARCHIVE 1
41899 if test "$wxUSE_FS_ZIP" = "yes"; then
41900 if test "$wxUSE_FS_ARCHIVE" != yes; then
41901 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
41902 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
41904 cat >>confdefs.h
<<\_ACEOF
41905 #define wxUSE_FS_ZIP 1
41911 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41912 if test "$USE_UNIX" != 1; then
41913 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
41914 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
41915 wxUSE_ON_FATAL_EXCEPTION
=no
41917 cat >>confdefs.h
<<\_ACEOF
41918 #define wxUSE_ON_FATAL_EXCEPTION 1
41924 if test "$wxUSE_STACKWALKER" = "yes"; then
41925 cat >>confdefs.h
<<\_ACEOF
41926 #define wxUSE_STACKWALKER 1
41931 if test "$wxUSE_DEBUGREPORT" = "yes"; then
41932 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
41933 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
41934 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
41935 wxUSE_DEBUGREPORT
=no
41937 cat >>confdefs.h
<<\_ACEOF
41938 #define wxUSE_DEBUGREPORT 1
41941 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41942 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
41947 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
41948 cat >>confdefs.h
<<\_ACEOF
41949 #define wxUSE_SNGLINST_CHECKER 1
41954 if test "$wxUSE_BUSYINFO" = "yes"; then
41955 cat >>confdefs.h
<<\_ACEOF
41956 #define wxUSE_BUSYINFO 1
41961 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
41962 cat >>confdefs.h
<<\_ACEOF
41963 #define wxUSE_STD_IOSTREAM 1
41968 if test "$wxUSE_STD_STRING" = "yes"; then
41969 cat >>confdefs.h
<<\_ACEOF
41970 #define wxUSE_STD_STRING 1
41975 if test "$wxUSE_STDPATHS" = "yes"; then
41976 cat >>confdefs.h
<<\_ACEOF
41977 #define wxUSE_STDPATHS 1
41982 if test "$wxUSE_TEXTBUFFER" = "yes"; then
41983 cat >>confdefs.h
<<\_ACEOF
41984 #define wxUSE_TEXTBUFFER 1
41989 if test "$wxUSE_TEXTFILE" = "yes"; then
41990 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
41991 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
41992 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
41994 cat >>confdefs.h
<<\_ACEOF
41995 #define wxUSE_TEXTFILE 1
42001 if test "$wxUSE_CONFIG" = "yes" ; then
42002 if test "$wxUSE_TEXTFILE" != "yes"; then
42003 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
42004 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
42006 cat >>confdefs.h
<<\_ACEOF
42007 #define wxUSE_CONFIG 1
42010 cat >>confdefs.h
<<\_ACEOF
42011 #define wxUSE_CONFIG_NATIVE 1
42014 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
42018 if test "$wxUSE_INTL" = "yes" ; then
42019 if test "$wxUSE_FILE" != "yes"; then
42020 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
42021 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
42023 cat >>confdefs.h
<<\_ACEOF
42024 #define wxUSE_INTL 1
42027 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
42028 GUIDIST
="$GUIDIST INTL_DIST"
42032 if test "$wxUSE_LOG" = "yes"; then
42033 cat >>confdefs.h
<<\_ACEOF
42034 #define wxUSE_LOG 1
42038 if test "$wxUSE_LOGGUI" = "yes"; then
42039 cat >>confdefs.h
<<\_ACEOF
42040 #define wxUSE_LOGGUI 1
42045 if test "$wxUSE_LOGWINDOW" = "yes"; then
42046 cat >>confdefs.h
<<\_ACEOF
42047 #define wxUSE_LOGWINDOW 1
42052 if test "$wxUSE_LOGDIALOG" = "yes"; then
42053 cat >>confdefs.h
<<\_ACEOF
42054 #define wxUSE_LOG_DIALOG 1
42059 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
42062 if test "$wxUSE_LONGLONG" = "yes"; then
42063 cat >>confdefs.h
<<\_ACEOF
42064 #define wxUSE_LONGLONG 1
42069 if test "$wxUSE_GEOMETRY" = "yes"; then
42070 cat >>confdefs.h
<<\_ACEOF
42071 #define wxUSE_GEOMETRY 1
42076 if test "$wxUSE_STREAMS" = "yes" ; then
42077 cat >>confdefs.h
<<\_ACEOF
42078 #define wxUSE_STREAMS 1
42083 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
42084 cat >>confdefs.h
<<\_ACEOF
42085 #define wxUSE_PRINTF_POS_PARAMS 1
42092 if test "$wxUSE_DATETIME" = "yes"; then
42094 for ac_func
in strptime
42096 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42097 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42098 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42099 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42100 echo $ECHO_N "(cached) $ECHO_C" >&6
42102 cat >conftest.
$ac_ext <<_ACEOF
42105 cat confdefs.h
>>conftest.
$ac_ext
42106 cat >>conftest.
$ac_ext <<_ACEOF
42107 /* end confdefs.h. */
42108 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42109 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42110 #define $ac_func innocuous_$ac_func
42112 /* System header to define __stub macros and hopefully few prototypes,
42113 which can conflict with char $ac_func (); below.
42114 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42115 <limits.h> exists even on freestanding compilers. */
42118 # include <limits.h>
42120 # include <assert.h>
42125 /* Override any GCC internal prototype to avoid an error.
42126 Use char because int might match the return type of a GCC
42127 builtin and then its argument prototype would still apply. */
42132 /* The GNU C library defines this for functions which it implements
42133 to always fail with ENOSYS. Some functions are actually named
42134 something starting with __ and the normal name is an alias. */
42135 #if defined __stub_$ac_func || defined __stub___$ac_func
42142 return $ac_func ();
42147 rm -f conftest.
$ac_objext conftest
$ac_exeext
42148 if { (ac_try
="$ac_link"
42149 case "(($ac_try" in
42150 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42151 *) ac_try_echo=$ac_try;;
42153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42154 (eval "$ac_link") 2>conftest.er1
42156 grep -v '^ *+' conftest.er1 >conftest.err
42158 cat conftest.err >&5
42159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42160 (exit $ac_status); } && {
42161 test -z "$ac_c_werror_flag" ||
42162 test ! -s conftest.err
42163 } && test -s conftest$ac_exeext &&
42164 $as_test_x conftest$ac_exeext; then
42165 eval "$as_ac_var=yes"
42167 echo "$as_me: failed program was:" >&5
42168 sed 's/^/| /' conftest.$ac_ext >&5
42170 eval "$as_ac_var=no"
42173 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42174 conftest$ac_exeext conftest.$ac_ext
42176 ac_res=`eval echo '${'$as_ac_var'}'`
42177 { echo "$as_me:$LINENO: result: $ac_res" >&5
42178 echo "${ECHO_T}$ac_res" >&6; }
42179 if test `eval echo '${'$as_ac_var'}'` = yes; then
42180 cat >>confdefs.h <<_ACEOF
42181 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42187 if test "$ac_cv_func_strptime" = "yes"; then
42188 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
42189 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
42190 if test "${wx_cv_func_strptime_decl+set}" = set; then
42191 echo $ECHO_N "(cached) $ECHO_C" >&6
42195 ac_cpp='$CXXCPP $CPPFLAGS'
42196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42200 cat >conftest.$ac_ext <<_ACEOF
42203 cat confdefs.h >>conftest.$ac_ext
42204 cat >>conftest.$ac_ext <<_ACEOF
42205 /* end confdefs.h. */
42214 strptime("foo", "bar", &t);
42220 rm -f conftest.$ac_objext
42221 if { (ac_try="$ac_compile"
42222 case "(($ac_try" in
42223 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42224 *) ac_try_echo
=$ac_try;;
42226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42227 (eval "$ac_compile") 2>conftest.er1
42229 grep -v '^ *+' conftest.er1
>conftest.err
42231 cat conftest.err
>&5
42232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42233 (exit $ac_status); } && {
42234 test -z "$ac_cxx_werror_flag" ||
42235 test ! -s conftest.err
42236 } && test -s conftest.
$ac_objext; then
42237 wx_cv_func_strptime_decl
=yes
42239 echo "$as_me: failed program was:" >&5
42240 sed 's/^/| /' conftest.
$ac_ext >&5
42242 wx_cv_func_strptime_decl
=no
42246 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42248 ac_cpp
='$CPP $CPPFLAGS'
42249 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42250 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42251 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42256 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
42257 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
42259 if test "$wx_cv_func_strptime_decl" = "yes"; then
42260 cat >>confdefs.h
<<\_ACEOF
42261 #define HAVE_STRPTIME_DECL 1
42266 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
42267 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
42268 if test "${wx_cv_var_timezone+set}" = set; then
42269 echo $ECHO_N "(cached) $ECHO_C" >&6
42273 ac_cpp
='$CXXCPP $CPPFLAGS'
42274 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42275 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42276 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
42278 cat >conftest.
$ac_ext <<_ACEOF
42281 cat confdefs.h
>>conftest.
$ac_ext
42282 cat >>conftest.
$ac_ext <<_ACEOF
42283 /* end confdefs.h. */
42298 rm -f conftest.
$ac_objext
42299 if { (ac_try
="$ac_compile"
42300 case "(($ac_try" in
42301 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42302 *) ac_try_echo=$ac_try;;
42304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42305 (eval "$ac_compile") 2>conftest.er1
42307 grep -v '^ *+' conftest.er1 >conftest.err
42309 cat conftest.err >&5
42310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42311 (exit $ac_status); } && {
42312 test -z "$ac_cxx_werror_flag" ||
42313 test ! -s conftest.err
42314 } && test -s conftest.$ac_objext; then
42316 wx_cv_var_timezone=timezone
42319 echo "$as_me: failed program was:" >&5
42320 sed 's/^/| /' conftest.$ac_ext >&5
42323 cat >conftest.$ac_ext <<_ACEOF
42326 cat confdefs.h >>conftest.$ac_ext
42327 cat >>conftest.$ac_ext <<_ACEOF
42328 /* end confdefs.h. */
42343 rm -f conftest.$ac_objext
42344 if { (ac_try="$ac_compile"
42345 case "(($ac_try" in
42346 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42347 *) ac_try_echo
=$ac_try;;
42349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42350 (eval "$ac_compile") 2>conftest.er1
42352 grep -v '^ *+' conftest.er1
>conftest.err
42354 cat conftest.err
>&5
42355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42356 (exit $ac_status); } && {
42357 test -z "$ac_cxx_werror_flag" ||
42358 test ! -s conftest.err
42359 } && test -s conftest.
$ac_objext; then
42361 wx_cv_var_timezone
=_timezone
42364 echo "$as_me: failed program was:" >&5
42365 sed 's/^/| /' conftest.
$ac_ext >&5
42368 cat >conftest.
$ac_ext <<_ACEOF
42371 cat confdefs.h
>>conftest.
$ac_ext
42372 cat >>conftest.
$ac_ext <<_ACEOF
42373 /* end confdefs.h. */
42388 rm -f conftest.
$ac_objext
42389 if { (ac_try
="$ac_compile"
42390 case "(($ac_try" in
42391 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42392 *) ac_try_echo=$ac_try;;
42394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42395 (eval "$ac_compile") 2>conftest.er1
42397 grep -v '^ *+' conftest.er1 >conftest.err
42399 cat conftest.err >&5
42400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42401 (exit $ac_status); } && {
42402 test -z "$ac_cxx_werror_flag" ||
42403 test ! -s conftest.err
42404 } && test -s conftest.$ac_objext; then
42406 wx_cv_var_timezone=__timezone
42409 echo "$as_me: failed program was:" >&5
42410 sed 's/^/| /' conftest.$ac_ext >&5
42413 if test "$USE_DOS" = 0 ; then
42414 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
42415 echo "$as_me: WARNING: no timezone variable" >&2;}
42421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42433 ac_cpp='$CPP $CPPFLAGS'
42434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42441 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
42442 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
42444 if test "x$wx_cv_var_timezone" != x ; then
42445 cat >>confdefs.h <<_ACEOF
42446 #define WX_TIMEZONE $wx_cv_var_timezone
42452 for ac_func in localtime
42454 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42455 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42456 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42457 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42458 echo $ECHO_N "(cached) $ECHO_C" >&6
42460 cat >conftest.$ac_ext <<_ACEOF
42463 cat confdefs.h >>conftest.$ac_ext
42464 cat >>conftest.$ac_ext <<_ACEOF
42465 /* end confdefs.h. */
42466 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42467 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42468 #define $ac_func innocuous_$ac_func
42470 /* System header to define __stub macros and hopefully few prototypes,
42471 which can conflict with char $ac_func (); below.
42472 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42473 <limits.h> exists even on freestanding compilers. */
42476 # include <limits.h>
42478 # include <assert.h>
42483 /* Override any GCC internal prototype to avoid an error.
42484 Use char because int might match the return type of a GCC
42485 builtin and then its argument prototype would still apply. */
42490 /* The GNU C library defines this for functions which it implements
42491 to always fail with ENOSYS. Some functions are actually named
42492 something starting with __ and the normal name is an alias. */
42493 #if defined __stub_$ac_func || defined __stub___$ac_func
42500 return $ac_func ();
42505 rm -f conftest.$ac_objext conftest$ac_exeext
42506 if { (ac_try="$ac_link"
42507 case "(($ac_try" in
42508 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42509 *) ac_try_echo
=$ac_try;;
42511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42512 (eval "$ac_link") 2>conftest.er1
42514 grep -v '^ *+' conftest.er1
>conftest.err
42516 cat conftest.err
>&5
42517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42518 (exit $ac_status); } && {
42519 test -z "$ac_c_werror_flag" ||
42520 test ! -s conftest.err
42521 } && test -s conftest
$ac_exeext &&
42522 $as_test_x conftest
$ac_exeext; then
42523 eval "$as_ac_var=yes"
42525 echo "$as_me: failed program was:" >&5
42526 sed 's/^/| /' conftest.
$ac_ext >&5
42528 eval "$as_ac_var=no"
42531 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42532 conftest
$ac_exeext conftest.
$ac_ext
42534 ac_res
=`eval echo '${'$as_ac_var'}'`
42535 { echo "$as_me:$LINENO: result: $ac_res" >&5
42536 echo "${ECHO_T}$ac_res" >&6; }
42537 if test `eval echo '${'$as_ac_var'}'` = yes; then
42538 cat >>confdefs.h
<<_ACEOF
42539 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42546 if test "$ac_cv_func_localtime" = "yes"; then
42547 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
42548 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
42549 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
42550 echo $ECHO_N "(cached) $ECHO_C" >&6
42553 cat >conftest.
$ac_ext <<_ACEOF
42556 cat confdefs.h
>>conftest.
$ac_ext
42557 cat >>conftest.
$ac_ext <<_ACEOF
42558 /* end confdefs.h. */
42573 rm -f conftest.
$ac_objext
42574 if { (ac_try
="$ac_compile"
42575 case "(($ac_try" in
42576 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42577 *) ac_try_echo=$ac_try;;
42579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42580 (eval "$ac_compile") 2>conftest.er1
42582 grep -v '^ *+' conftest.er1 >conftest.err
42584 cat conftest.err >&5
42585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42586 (exit $ac_status); } && {
42587 test -z "$ac_c_werror_flag" ||
42588 test ! -s conftest.err
42589 } && test -s conftest.$ac_objext; then
42591 wx_cv_struct_tm_has_gmtoff=yes
42594 echo "$as_me: failed program was:" >&5
42595 sed 's/^/| /' conftest.$ac_ext >&5
42597 wx_cv_struct_tm_has_gmtoff=no
42601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42604 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
42605 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
42608 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
42609 cat >>confdefs.h <<\_ACEOF
42610 #define WX_GMTOFF_IN_TM 1
42617 for ac_func in gettimeofday ftime
42619 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42620 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42621 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42622 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42623 echo $ECHO_N "(cached) $ECHO_C" >&6
42625 cat >conftest.$ac_ext <<_ACEOF
42628 cat confdefs.h >>conftest.$ac_ext
42629 cat >>conftest.$ac_ext <<_ACEOF
42630 /* end confdefs.h. */
42631 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42632 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42633 #define $ac_func innocuous_$ac_func
42635 /* System header to define __stub macros and hopefully few prototypes,
42636 which can conflict with char $ac_func (); below.
42637 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42638 <limits.h> exists even on freestanding compilers. */
42641 # include <limits.h>
42643 # include <assert.h>
42648 /* Override any GCC internal prototype to avoid an error.
42649 Use char because int might match the return type of a GCC
42650 builtin and then its argument prototype would still apply. */
42655 /* The GNU C library defines this for functions which it implements
42656 to always fail with ENOSYS. Some functions are actually named
42657 something starting with __ and the normal name is an alias. */
42658 #if defined __stub_$ac_func || defined __stub___$ac_func
42665 return $ac_func ();
42670 rm -f conftest.$ac_objext conftest$ac_exeext
42671 if { (ac_try="$ac_link"
42672 case "(($ac_try" in
42673 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42674 *) ac_try_echo
=$ac_try;;
42676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42677 (eval "$ac_link") 2>conftest.er1
42679 grep -v '^ *+' conftest.er1
>conftest.err
42681 cat conftest.err
>&5
42682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42683 (exit $ac_status); } && {
42684 test -z "$ac_c_werror_flag" ||
42685 test ! -s conftest.err
42686 } && test -s conftest
$ac_exeext &&
42687 $as_test_x conftest
$ac_exeext; then
42688 eval "$as_ac_var=yes"
42690 echo "$as_me: failed program was:" >&5
42691 sed 's/^/| /' conftest.
$ac_ext >&5
42693 eval "$as_ac_var=no"
42696 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42697 conftest
$ac_exeext conftest.
$ac_ext
42699 ac_res
=`eval echo '${'$as_ac_var'}'`
42700 { echo "$as_me:$LINENO: result: $ac_res" >&5
42701 echo "${ECHO_T}$ac_res" >&6; }
42702 if test `eval echo '${'$as_ac_var'}'` = yes; then
42703 cat >>confdefs.h
<<_ACEOF
42704 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42711 if test "$ac_cv_func_gettimeofday" = "yes"; then
42712 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
42713 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
42714 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
42715 echo $ECHO_N "(cached) $ECHO_C" >&6
42718 cat >conftest.
$ac_ext <<_ACEOF
42721 cat confdefs.h
>>conftest.
$ac_ext
42722 cat >>conftest.
$ac_ext <<_ACEOF
42723 /* end confdefs.h. */
42725 #include <sys/time.h>
42726 #include <unistd.h>
42733 gettimeofday(&tv, NULL);
42739 rm -f conftest.
$ac_objext
42740 if { (ac_try
="$ac_compile"
42741 case "(($ac_try" in
42742 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42743 *) ac_try_echo=$ac_try;;
42745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42746 (eval "$ac_compile") 2>conftest.er1
42748 grep -v '^ *+' conftest.er1 >conftest.err
42750 cat conftest.err >&5
42751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42752 (exit $ac_status); } && {
42753 test -z "$ac_c_werror_flag" ||
42754 test ! -s conftest.err
42755 } && test -s conftest.$ac_objext; then
42756 wx_cv_func_gettimeofday_has_2_args=yes
42758 echo "$as_me: failed program was:" >&5
42759 sed 's/^/| /' conftest.$ac_ext >&5
42761 cat >conftest.$ac_ext <<_ACEOF
42764 cat confdefs.h >>conftest.$ac_ext
42765 cat >>conftest.$ac_ext <<_ACEOF
42766 /* end confdefs.h. */
42768 #include <sys/time.h>
42769 #include <unistd.h>
42782 rm -f conftest.$ac_objext
42783 if { (ac_try="$ac_compile"
42784 case "(($ac_try" in
42785 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42786 *) ac_try_echo
=$ac_try;;
42788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42789 (eval "$ac_compile") 2>conftest.er1
42791 grep -v '^ *+' conftest.er1
>conftest.err
42793 cat conftest.err
>&5
42794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42795 (exit $ac_status); } && {
42796 test -z "$ac_c_werror_flag" ||
42797 test ! -s conftest.err
42798 } && test -s conftest.
$ac_objext; then
42799 wx_cv_func_gettimeofday_has_2_args
=no
42801 echo "$as_me: failed program was:" >&5
42802 sed 's/^/| /' conftest.
$ac_ext >&5
42805 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
42806 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
42807 wx_cv_func_gettimeofday_has_2_args
=unknown
42812 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42816 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42819 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
42820 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
42822 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
42823 cat >>confdefs.h
<<\_ACEOF
42824 #define WX_GETTIMEOFDAY_NO_TZ 1
42830 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
42834 if test "$wxUSE_SOCKETS" = "yes"; then
42835 if test "$wxUSE_MGL" = "1"; then
42836 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
42837 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
42842 if test "$wxUSE_SOCKETS" = "yes"; then
42843 if test "$TOOLKIT" != "MSW"; then
42844 { echo "$as_me:$LINENO: checking for socket" >&5
42845 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
42846 if test "${ac_cv_func_socket+set}" = set; then
42847 echo $ECHO_N "(cached) $ECHO_C" >&6
42849 cat >conftest.
$ac_ext <<_ACEOF
42852 cat confdefs.h
>>conftest.
$ac_ext
42853 cat >>conftest.
$ac_ext <<_ACEOF
42854 /* end confdefs.h. */
42855 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
42856 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42857 #define socket innocuous_socket
42859 /* System header to define __stub macros and hopefully few prototypes,
42860 which can conflict with char socket (); below.
42861 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42862 <limits.h> exists even on freestanding compilers. */
42865 # include <limits.h>
42867 # include <assert.h>
42872 /* Override any GCC internal prototype to avoid an error.
42873 Use char because int might match the return type of a GCC
42874 builtin and then its argument prototype would still apply. */
42879 /* The GNU C library defines this for functions which it implements
42880 to always fail with ENOSYS. Some functions are actually named
42881 something starting with __ and the normal name is an alias. */
42882 #if defined __stub_socket || defined __stub___socket
42894 rm -f conftest.
$ac_objext conftest
$ac_exeext
42895 if { (ac_try
="$ac_link"
42896 case "(($ac_try" in
42897 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42898 *) ac_try_echo=$ac_try;;
42900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42901 (eval "$ac_link") 2>conftest.er1
42903 grep -v '^ *+' conftest.er1 >conftest.err
42905 cat conftest.err >&5
42906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42907 (exit $ac_status); } && {
42908 test -z "$ac_c_werror_flag" ||
42909 test ! -s conftest.err
42910 } && test -s conftest$ac_exeext &&
42911 $as_test_x conftest$ac_exeext; then
42912 ac_cv_func_socket=yes
42914 echo "$as_me: failed program was:" >&5
42915 sed 's/^/| /' conftest.$ac_ext >&5
42917 ac_cv_func_socket=no
42920 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42921 conftest$ac_exeext conftest.$ac_ext
42923 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
42924 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
42925 if test $ac_cv_func_socket = yes; then
42929 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
42930 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
42931 if test "${ac_cv_lib_socket_socket+set}" = set; then
42932 echo $ECHO_N "(cached) $ECHO_C" >&6
42934 ac_check_lib_save_LIBS=$LIBS
42935 LIBS="-lsocket $LIBS"
42936 cat >conftest.$ac_ext <<_ACEOF
42939 cat confdefs.h >>conftest.$ac_ext
42940 cat >>conftest.$ac_ext <<_ACEOF
42941 /* end confdefs.h. */
42943 /* Override any GCC internal prototype to avoid an error.
42944 Use char because int might match the return type of a GCC
42945 builtin and then its argument prototype would still apply. */
42958 rm -f conftest.$ac_objext conftest$ac_exeext
42959 if { (ac_try="$ac_link"
42960 case "(($ac_try" in
42961 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42962 *) ac_try_echo
=$ac_try;;
42964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42965 (eval "$ac_link") 2>conftest.er1
42967 grep -v '^ *+' conftest.er1
>conftest.err
42969 cat conftest.err
>&5
42970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42971 (exit $ac_status); } && {
42972 test -z "$ac_c_werror_flag" ||
42973 test ! -s conftest.err
42974 } && test -s conftest
$ac_exeext &&
42975 $as_test_x conftest
$ac_exeext; then
42976 ac_cv_lib_socket_socket
=yes
42978 echo "$as_me: failed program was:" >&5
42979 sed 's/^/| /' conftest.
$ac_ext >&5
42981 ac_cv_lib_socket_socket
=no
42984 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42985 conftest
$ac_exeext conftest.
$ac_ext
42986 LIBS
=$ac_check_lib_save_LIBS
42988 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
42989 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
42990 if test $ac_cv_lib_socket_socket = yes; then
42991 if test "$INET_LINK" != " -lsocket"; then
42992 INET_LINK
="$INET_LINK -lsocket"
42996 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
42997 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
43010 if test "$wxUSE_SOCKETS" = "yes" ; then
43011 if test "$TOOLKIT" != "MSW"; then
43012 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
43013 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
43014 if test "${wx_cv_type_getsockname3+set}" = set; then
43015 echo $ECHO_N "(cached) $ECHO_C" >&6
43019 ac_cpp
='$CXXCPP $CPPFLAGS'
43020 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43021 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43022 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43024 cat >conftest.
$ac_ext <<_ACEOF
43027 cat confdefs.h
>>conftest.
$ac_ext
43028 cat >>conftest.
$ac_ext <<_ACEOF
43029 /* end confdefs.h. */
43031 #include <sys/types.h>
43032 #include <sys/socket.h>
43039 getsockname(0, 0, &len);
43045 rm -f conftest.
$ac_objext
43046 if { (ac_try
="$ac_compile"
43047 case "(($ac_try" in
43048 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43049 *) ac_try_echo=$ac_try;;
43051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43052 (eval "$ac_compile") 2>conftest.er1
43054 grep -v '^ *+' conftest.er1 >conftest.err
43056 cat conftest.err >&5
43057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43058 (exit $ac_status); } && {
43059 test -z "$ac_cxx_werror_flag" ||
43060 test ! -s conftest.err
43061 } && test -s conftest.$ac_objext; then
43062 wx_cv_type_getsockname3=socklen_t
43064 echo "$as_me: failed program was:" >&5
43065 sed 's/^/| /' conftest.$ac_ext >&5
43068 CFLAGS_OLD="$CFLAGS"
43069 if test "$GCC" = yes ; then
43070 CFLAGS="-Werror $CFLAGS"
43073 cat >conftest.$ac_ext <<_ACEOF
43076 cat confdefs.h >>conftest.$ac_ext
43077 cat >>conftest.$ac_ext <<_ACEOF
43078 /* end confdefs.h. */
43080 #include <sys/types.h>
43081 #include <sys/socket.h>
43088 getsockname(0, 0, &len);
43094 rm -f conftest.$ac_objext
43095 if { (ac_try="$ac_compile"
43096 case "(($ac_try" in
43097 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43098 *) ac_try_echo
=$ac_try;;
43100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43101 (eval "$ac_compile") 2>conftest.er1
43103 grep -v '^ *+' conftest.er1
>conftest.err
43105 cat conftest.err
>&5
43106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43107 (exit $ac_status); } && {
43108 test -z "$ac_cxx_werror_flag" ||
43109 test ! -s conftest.err
43110 } && test -s conftest.
$ac_objext; then
43111 wx_cv_type_getsockname3
=size_t
43113 echo "$as_me: failed program was:" >&5
43114 sed 's/^/| /' conftest.
$ac_ext >&5
43116 cat >conftest.
$ac_ext <<_ACEOF
43119 cat confdefs.h
>>conftest.
$ac_ext
43120 cat >>conftest.
$ac_ext <<_ACEOF
43121 /* end confdefs.h. */
43123 #include <sys/types.h>
43124 #include <sys/socket.h>
43131 getsockname(0, 0, &len);
43137 rm -f conftest.
$ac_objext
43138 if { (ac_try
="$ac_compile"
43139 case "(($ac_try" in
43140 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43141 *) ac_try_echo=$ac_try;;
43143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43144 (eval "$ac_compile") 2>conftest.er1
43146 grep -v '^ *+' conftest.er1 >conftest.err
43148 cat conftest.err >&5
43149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43150 (exit $ac_status); } && {
43151 test -z "$ac_cxx_werror_flag" ||
43152 test ! -s conftest.err
43153 } && test -s conftest.$ac_objext; then
43154 wx_cv_type_getsockname3=int
43156 echo "$as_me: failed program was:" >&5
43157 sed 's/^/| /' conftest.$ac_ext >&5
43159 wx_cv_type_getsockname3=unknown
43163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43169 CFLAGS="$CFLAGS_OLD"
43174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43176 ac_cpp='$CPP $CPPFLAGS'
43177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43183 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
43184 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
43186 if test "$wx_cv_type_getsockname3" = "unknown"; then
43188 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43189 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43191 cat >>confdefs.h <<_ACEOF
43192 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
43196 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
43197 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
43198 if test "${wx_cv_type_getsockopt5+set}" = set; then
43199 echo $ECHO_N "(cached) $ECHO_C" >&6
43203 ac_cpp='$CXXCPP $CPPFLAGS'
43204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43208 cat >conftest.$ac_ext <<_ACEOF
43211 cat confdefs.h >>conftest.$ac_ext
43212 cat >>conftest.$ac_ext <<_ACEOF
43213 /* end confdefs.h. */
43215 #include <sys/types.h>
43216 #include <sys/socket.h>
43223 getsockopt(0, 0, 0, 0, &len);
43229 rm -f conftest.$ac_objext
43230 if { (ac_try="$ac_compile"
43231 case "(($ac_try" in
43232 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43233 *) ac_try_echo
=$ac_try;;
43235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43236 (eval "$ac_compile") 2>conftest.er1
43238 grep -v '^ *+' conftest.er1
>conftest.err
43240 cat conftest.err
>&5
43241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43242 (exit $ac_status); } && {
43243 test -z "$ac_cxx_werror_flag" ||
43244 test ! -s conftest.err
43245 } && test -s conftest.
$ac_objext; then
43246 wx_cv_type_getsockopt5
=socklen_t
43248 echo "$as_me: failed program was:" >&5
43249 sed 's/^/| /' conftest.
$ac_ext >&5
43252 cat >conftest.
$ac_ext <<_ACEOF
43255 cat confdefs.h
>>conftest.
$ac_ext
43256 cat >>conftest.
$ac_ext <<_ACEOF
43257 /* end confdefs.h. */
43259 #include <sys/types.h>
43260 #include <sys/socket.h>
43267 getsockopt(0, 0, 0, 0, &len);
43273 rm -f conftest.
$ac_objext
43274 if { (ac_try
="$ac_compile"
43275 case "(($ac_try" in
43276 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43277 *) ac_try_echo=$ac_try;;
43279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43280 (eval "$ac_compile") 2>conftest.er1
43282 grep -v '^ *+' conftest.er1 >conftest.err
43284 cat conftest.err >&5
43285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43286 (exit $ac_status); } && {
43287 test -z "$ac_cxx_werror_flag" ||
43288 test ! -s conftest.err
43289 } && test -s conftest.$ac_objext; then
43290 wx_cv_type_getsockopt5=size_t
43292 echo "$as_me: failed program was:" >&5
43293 sed 's/^/| /' conftest.$ac_ext >&5
43295 cat >conftest.$ac_ext <<_ACEOF
43298 cat confdefs.h >>conftest.$ac_ext
43299 cat >>conftest.$ac_ext <<_ACEOF
43300 /* end confdefs.h. */
43302 #include <sys/types.h>
43303 #include <sys/socket.h>
43310 getsockopt(0, 0, 0, 0, &len);
43316 rm -f conftest.$ac_objext
43317 if { (ac_try="$ac_compile"
43318 case "(($ac_try" in
43319 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43320 *) ac_try_echo
=$ac_try;;
43322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43323 (eval "$ac_compile") 2>conftest.er1
43325 grep -v '^ *+' conftest.er1
>conftest.err
43327 cat conftest.err
>&5
43328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43329 (exit $ac_status); } && {
43330 test -z "$ac_cxx_werror_flag" ||
43331 test ! -s conftest.err
43332 } && test -s conftest.
$ac_objext; then
43333 wx_cv_type_getsockopt5
=int
43335 echo "$as_me: failed program was:" >&5
43336 sed 's/^/| /' conftest.
$ac_ext >&5
43338 wx_cv_type_getsockopt5
=unknown
43342 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43346 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43351 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43353 ac_cpp
='$CPP $CPPFLAGS'
43354 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43355 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43356 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
43360 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
43361 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
43363 if test "$wx_cv_type_getsockopt5" = "unknown"; then
43365 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43366 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43368 cat >>confdefs.h
<<_ACEOF
43369 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
43376 if test "$wxUSE_SOCKETS" = "yes" ; then
43377 cat >>confdefs.h
<<\_ACEOF
43378 #define wxUSE_SOCKETS 1
43381 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
43384 if test "$wxUSE_PROTOCOL" = "yes"; then
43385 if test "$wxUSE_SOCKETS" != "yes"; then
43386 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
43387 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
43392 if test "$wxUSE_PROTOCOL" = "yes"; then
43393 cat >>confdefs.h
<<\_ACEOF
43394 #define wxUSE_PROTOCOL 1
43398 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
43399 cat >>confdefs.h
<<\_ACEOF
43400 #define wxUSE_PROTOCOL_HTTP 1
43404 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
43405 cat >>confdefs.h
<<\_ACEOF
43406 #define wxUSE_PROTOCOL_FTP 1
43410 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
43411 cat >>confdefs.h
<<\_ACEOF
43412 #define wxUSE_PROTOCOL_FILE 1
43417 if test "$wxUSE_FS_INET" = "yes"; then
43418 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
43419 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
43424 if test "$wxUSE_URL" = "yes"; then
43425 if test "$wxUSE_PROTOCOL" != "yes"; then
43426 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
43427 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
43430 if test "$wxUSE_URL" = "yes"; then
43431 cat >>confdefs.h
<<\_ACEOF
43432 #define wxUSE_URL 1
43438 if test "$wxUSE_VARIANT" = "yes"; then
43439 cat >>confdefs.h
<<\_ACEOF
43440 #define wxUSE_VARIANT 1
43445 if test "$wxUSE_FS_INET" = "yes"; then
43446 cat >>confdefs.h
<<\_ACEOF
43447 #define wxUSE_FS_INET 1
43453 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
43456 if test "$TOOLKIT" = "MSW"; then
43459 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
43460 if test "$USE_DARWIN" = 1; then
43461 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
43462 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
43464 ac_cpp
='$CXXCPP $CPPFLAGS'
43465 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43466 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43467 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43469 cat >conftest.
$ac_ext <<_ACEOF
43472 cat confdefs.h
>>conftest.
$ac_ext
43473 cat >>conftest.
$ac_ext <<_ACEOF
43474 /* end confdefs.h. */
43475 #include <IOKit/hid/IOHIDLib.h>
43479 IOHIDQueueInterface *qi = NULL;
43480 IOHIDCallbackFunction cb = NULL;
43481 qi->setEventCallout(NULL, cb, NULL, NULL);
43486 rm -f conftest.
$ac_objext
43487 if { (ac_try
="$ac_compile"
43488 case "(($ac_try" in
43489 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43490 *) ac_try_echo=$ac_try;;
43492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43493 (eval "$ac_compile") 2>conftest.er1
43495 grep -v '^ *+' conftest.er1 >conftest.err
43497 cat conftest.err >&5
43498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43499 (exit $ac_status); } && {
43500 test -z "$ac_cxx_werror_flag" ||
43501 test ! -s conftest.err
43502 } && test -s conftest.$ac_objext; then
43506 echo "$as_me: failed program was:" >&5
43507 sed 's/^/| /' conftest.$ac_ext >&5
43512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43514 ac_cpp='$CPP $CPPFLAGS'
43515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43519 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
43520 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
43524 if test "$wxUSE_MGL" != "1"; then
43525 { echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
43526 echo $ECHO_N "checking for linux/joystick.h... $ECHO_C" >&6; }
43527 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
43528 echo $ECHO_N "(cached) $ECHO_C" >&6
43530 cat >conftest.$ac_ext <<_ACEOF
43533 cat confdefs.h >>conftest.$ac_ext
43534 cat >>conftest.$ac_ext <<_ACEOF
43535 /* end confdefs.h. */
43536 $ac_includes_default
43538 #include <linux/joystick.h>
43540 rm -f conftest.$ac_objext
43541 if { (ac_try="$ac_compile"
43542 case "(($ac_try" in
43543 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43544 *) ac_try_echo
=$ac_try;;
43546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43547 (eval "$ac_compile") 2>conftest.er1
43549 grep -v '^ *+' conftest.er1
>conftest.err
43551 cat conftest.err
>&5
43552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43553 (exit $ac_status); } && {
43554 test -z "$ac_c_werror_flag" ||
43555 test ! -s conftest.err
43556 } && test -s conftest.
$ac_objext; then
43557 ac_cv_header_linux_joystick_h
=yes
43559 echo "$as_me: failed program was:" >&5
43560 sed 's/^/| /' conftest.
$ac_ext >&5
43562 ac_cv_header_linux_joystick_h
=no
43565 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43567 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
43568 echo "${ECHO_T}$ac_cv_header_linux_joystick_h" >&6; }
43569 if test $ac_cv_header_linux_joystick_h = yes; then
43577 if test "$wxUSE_JOYSTICK" = "yes"; then
43578 cat >>confdefs.h
<<\_ACEOF
43579 #define wxUSE_JOYSTICK 1
43582 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
43584 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
43585 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
43591 if test "$wxUSE_FONTMAP" = "yes" ; then
43592 cat >>confdefs.h
<<\_ACEOF
43593 #define wxUSE_FONTMAP 1
43598 if test "$wxUSE_UNICODE" = "yes" ; then
43599 cat >>confdefs.h
<<\_ACEOF
43600 #define wxUSE_UNICODE 1
43604 if test "$USE_WIN32" != 1; then
43605 wxUSE_UNICODE_MSLU
=no
43608 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
43609 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
43610 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
43611 if test "${ac_cv_lib_unicows_main+set}" = set; then
43612 echo $ECHO_N "(cached) $ECHO_C" >&6
43614 ac_check_lib_save_LIBS
=$LIBS
43615 LIBS
="-lunicows $LIBS"
43616 cat >conftest.
$ac_ext <<_ACEOF
43619 cat confdefs.h
>>conftest.
$ac_ext
43620 cat >>conftest.
$ac_ext <<_ACEOF
43621 /* end confdefs.h. */
43632 rm -f conftest.
$ac_objext conftest
$ac_exeext
43633 if { (ac_try
="$ac_link"
43634 case "(($ac_try" in
43635 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43636 *) ac_try_echo=$ac_try;;
43638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43639 (eval "$ac_link") 2>conftest.er1
43641 grep -v '^ *+' conftest.er1 >conftest.err
43643 cat conftest.err >&5
43644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43645 (exit $ac_status); } && {
43646 test -z "$ac_c_werror_flag" ||
43647 test ! -s conftest.err
43648 } && test -s conftest$ac_exeext &&
43649 $as_test_x conftest$ac_exeext; then
43650 ac_cv_lib_unicows_main=yes
43652 echo "$as_me: failed program was:" >&5
43653 sed 's/^/| /' conftest.$ac_ext >&5
43655 ac_cv_lib_unicows_main=no
43658 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43659 conftest$ac_exeext conftest.$ac_ext
43660 LIBS=$ac_check_lib_save_LIBS
43662 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
43663 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
43664 if test $ac_cv_lib_unicows_main = yes; then
43666 cat >>confdefs.h <<\_ACEOF
43667 #define wxUSE_UNICODE_MSLU 1
43673 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43674 Applications will only run on Windows NT/2000/XP!" >&5
43675 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43676 Applications will only run on Windows NT/2000/XP!" >&2;}
43677 wxUSE_UNICODE_MSLU=no
43684 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
43685 cat >>confdefs.h <<\_ACEOF
43686 #define wxUSE_UNICODE_UTF8 1
43690 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
43691 cat >>confdefs.h <<\_ACEOF
43692 #define wxUSE_UTF8_LOCALE_ONLY 1
43698 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
43699 cat >>confdefs.h <<\_ACEOF
43700 #define wxUSE_EXPERIMENTAL_PRINTF 1
43706 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
43707 cat >>confdefs.h <<\_ACEOF
43708 #define wxUSE_POSTSCRIPT 1
43713 cat >>confdefs.h <<\_ACEOF
43714 #define wxUSE_AFM_FOR_POSTSCRIPT 1
43718 cat >>confdefs.h <<\_ACEOF
43719 #define wxUSE_NORMALIZED_PS_FONTS 1
43724 if test "$wxUSE_CONSTRAINTS" = "yes"; then
43725 cat >>confdefs.h <<\_ACEOF
43726 #define wxUSE_CONSTRAINTS 1
43729 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
43732 if test "$wxUSE_MDI" = "yes"; then
43733 cat >>confdefs.h <<\_ACEOF
43734 #define wxUSE_MDI 1
43738 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43739 cat >>confdefs.h <<\_ACEOF
43740 #define wxUSE_MDI_ARCHITECTURE 1
43743 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
43747 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
43748 cat >>confdefs.h <<\_ACEOF
43749 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
43752 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
43753 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43754 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
43758 if test "$wxUSE_HELP" = "yes"; then
43759 cat >>confdefs.h <<\_ACEOF
43760 #define wxUSE_HELP 1
43763 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
43765 if test "$wxUSE_MSW" = 1; then
43766 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
43767 cat >>confdefs.h <<\_ACEOF
43768 #define wxUSE_MS_HTML_HELP 1
43774 if test "$wxUSE_WXHTML_HELP" = "yes"; then
43775 if test "$wxUSE_HTML" = "yes"; then
43776 cat >>confdefs.h <<\_ACEOF
43777 #define wxUSE_WXHTML_HELP 1
43781 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
43782 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
43783 wxUSE_WXHTML_HELP=no
43788 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43789 if test "$wxUSE_CONSTRAINTS" != "yes"; then
43790 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
43791 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
43793 cat >>confdefs.h <<\_ACEOF
43794 #define wxUSE_PRINTING_ARCHITECTURE 1
43798 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
43803 if test "$wxUSE_METAFILE" = "yes"; then
43804 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
43805 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
43806 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
43812 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
43813 -o "$wxUSE_CLIPBOARD" = "yes" \
43814 -o "$wxUSE_OLE" = "yes" \
43815 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
43816 { echo "$as_me:$LINENO: checking for ole2.h" >&5
43817 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
43818 if test "${ac_cv_header_ole2_h+set}" = set; then
43819 echo $ECHO_N "(cached) $ECHO_C" >&6
43821 cat >conftest.$ac_ext <<_ACEOF
43824 cat confdefs.h >>conftest.$ac_ext
43825 cat >>conftest.$ac_ext <<_ACEOF
43826 /* end confdefs.h. */
43831 rm -f conftest.$ac_objext
43832 if { (ac_try="$ac_compile"
43833 case "(($ac_try" in
43834 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43835 *) ac_try_echo
=$ac_try;;
43837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43838 (eval "$ac_compile") 2>conftest.er1
43840 grep -v '^ *+' conftest.er1
>conftest.err
43842 cat conftest.err
>&5
43843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43844 (exit $ac_status); } && {
43845 test -z "$ac_c_werror_flag" ||
43846 test ! -s conftest.err
43847 } && test -s conftest.
$ac_objext; then
43848 ac_cv_header_ole2_h
=yes
43850 echo "$as_me: failed program was:" >&5
43851 sed 's/^/| /' conftest.
$ac_ext >&5
43853 ac_cv_header_ole2_h
=no
43856 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43858 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
43859 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
43863 if test "$ac_cv_header_ole2_h" = "yes" ; then
43864 if test "$GCC" = yes ; then
43865 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
43866 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
43867 cat >conftest.
$ac_ext <<_ACEOF
43870 cat confdefs.h
>>conftest.
$ac_ext
43871 cat >>conftest.
$ac_ext <<_ACEOF
43872 /* end confdefs.h. */
43873 #include <windows.h>
43883 rm -f conftest.
$ac_objext
43884 if { (ac_try
="$ac_compile"
43885 case "(($ac_try" in
43886 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43887 *) ac_try_echo=$ac_try;;
43889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43890 (eval "$ac_compile") 2>conftest.er1
43892 grep -v '^ *+' conftest.er1 >conftest.err
43894 cat conftest.err >&5
43895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43896 (exit $ac_status); } && {
43897 test -z "$ac_c_werror_flag" ||
43898 test ! -s conftest.err
43899 } && test -s conftest.$ac_objext; then
43900 { echo "$as_me:$LINENO: result: no" >&5
43901 echo "${ECHO_T}no" >&6; }
43903 echo "$as_me: failed program was:" >&5
43904 sed 's/^/| /' conftest.$ac_ext >&5
43906 { echo "$as_me:$LINENO: result: yes" >&5
43907 echo "${ECHO_T}yes" >&6; }
43908 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
43911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43912 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
43913 if test "$wxUSE_OLE" = "yes" ; then
43914 cat >>confdefs.h <<\_ACEOF
43915 #define wxUSE_OLE 1
43918 cat >>confdefs.h <<\_ACEOF
43919 #define wxUSE_OLE_AUTOMATION 1
43922 cat >>confdefs.h <<\_ACEOF
43923 #define wxUSE_ACTIVEX 1
43926 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
43930 if test "$wxUSE_DATAOBJ" = "yes" ; then
43931 cat >>confdefs.h <<\_ACEOF
43932 #define wxUSE_DATAOBJ 1
43937 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
43938 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
43941 wxUSE_DRAG_AND_DROP=no
43946 if test "$wxUSE_METAFILE" = "yes"; then
43947 cat >>confdefs.h <<\_ACEOF
43948 #define wxUSE_METAFILE 1
43952 cat >>confdefs.h <<\_ACEOF
43953 #define wxUSE_ENH_METAFILE 1
43959 if test "$wxUSE_IPC" = "yes"; then
43960 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
43961 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
43962 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
43966 if test "$wxUSE_IPC" = "yes"; then
43967 cat >>confdefs.h <<\_ACEOF
43968 #define wxUSE_IPC 1
43971 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
43975 if test "$wxUSE_DATAOBJ" = "yes"; then
43976 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
43977 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
43978 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
43981 cat >>confdefs.h <<\_ACEOF
43982 #define wxUSE_DATAOBJ 1
43987 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
43988 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
43990 wxUSE_DRAG_AND_DROP=no
43993 if test "$wxUSE_CLIPBOARD" = "yes"; then
43994 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
43995 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
43996 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
44000 if test "$wxUSE_CLIPBOARD" = "yes"; then
44001 cat >>confdefs.h <<\_ACEOF
44002 #define wxUSE_CLIPBOARD 1
44008 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
44009 if test "$wxUSE_GTK" = 1; then
44010 if test "$WXGTK12" != 1; then
44011 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
44012 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
44013 wxUSE_DRAG_AND_DROP=no
44017 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
44018 "$wxUSE_DFB" = 1; then
44019 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
44020 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
44021 wxUSE_DRAG_AND_DROP=no
44024 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
44025 cat >>confdefs.h <<\_ACEOF
44026 #define wxUSE_DRAG_AND_DROP 1
44033 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
44034 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
44037 if test "$wxUSE_SPLINES" = "yes" ; then
44038 cat >>confdefs.h <<\_ACEOF
44039 #define wxUSE_SPLINES 1
44044 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
44045 cat >>confdefs.h <<\_ACEOF
44046 #define wxUSE_MOUSEWHEEL 1
44053 if test "$wxUSE_CONTROLS" = "yes"; then
44057 if test "$wxUSE_ACCEL" = "yes"; then
44058 cat >>confdefs.h <<\_ACEOF
44059 #define wxUSE_ACCEL 1
44065 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
44066 cat >>confdefs.h <<\_ACEOF
44067 #define wxUSE_ANIMATIONCTRL 1
44071 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
44074 if test "$wxUSE_BUTTON" = "yes"; then
44075 cat >>confdefs.h <<\_ACEOF
44076 #define wxUSE_BUTTON 1
44082 if test "$wxUSE_BMPBUTTON" = "yes"; then
44083 cat >>confdefs.h <<\_ACEOF
44084 #define wxUSE_BMPBUTTON 1
44090 if test "$wxUSE_CALCTRL" = "yes"; then
44091 cat >>confdefs.h <<\_ACEOF
44092 #define wxUSE_CALENDARCTRL 1
44096 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
44099 if test "$wxUSE_CARET" = "yes"; then
44100 cat >>confdefs.h <<\_ACEOF
44101 #define wxUSE_CARET 1
44105 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
44108 if test "$wxUSE_COLLPANE" = "yes"; then
44109 cat >>confdefs.h <<\_ACEOF
44110 #define wxUSE_COLLPANE 1
44114 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
44117 if test "$wxUSE_COMBOBOX" = "yes"; then
44118 cat >>confdefs.h <<\_ACEOF
44119 #define wxUSE_COMBOBOX 1
44125 if test "$wxUSE_COMBOCTRL" = "yes"; then
44126 cat >>confdefs.h <<\_ACEOF
44127 #define wxUSE_COMBOCTRL 1
44133 if test "$wxUSE_CHOICE" = "yes"; then
44134 cat >>confdefs.h <<\_ACEOF
44135 #define wxUSE_CHOICE 1
44141 if test "$wxUSE_CHOICEBOOK" = "yes"; then
44142 cat >>confdefs.h <<\_ACEOF
44143 #define wxUSE_CHOICEBOOK 1
44149 if test "$wxUSE_CHECKBOX" = "yes"; then
44150 cat >>confdefs.h <<\_ACEOF
44151 #define wxUSE_CHECKBOX 1
44157 if test "$wxUSE_CHECKLST" = "yes"; then
44158 cat >>confdefs.h <<\_ACEOF
44159 #define wxUSE_CHECKLISTBOX 1
44163 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
44166 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
44167 cat >>confdefs.h <<\_ACEOF
44168 #define wxUSE_COLOURPICKERCTRL 1
44174 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
44175 cat >>confdefs.h <<\_ACEOF
44176 #define wxUSE_DATEPICKCTRL 1
44182 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
44183 cat >>confdefs.h <<\_ACEOF
44184 #define wxUSE_DIRPICKERCTRL 1
44190 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
44191 cat >>confdefs.h <<\_ACEOF
44192 #define wxUSE_FILEPICKERCTRL 1
44198 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
44199 cat >>confdefs.h <<\_ACEOF
44200 #define wxUSE_FONTPICKERCTRL 1
44206 if test "$wxUSE_DISPLAY" = "yes"; then
44207 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
44208 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
44209 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
44212 cat >>confdefs.h <<\_ACEOF
44213 #define wxUSE_DISPLAY 1
44216 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
44220 if test "$wxUSE_DETECT_SM" = "yes"; then
44221 cat >>confdefs.h <<\_ACEOF
44222 #define wxUSE_DETECT_SM 1
44227 if test "$wxUSE_GAUGE" = "yes"; then
44228 cat >>confdefs.h <<\_ACEOF
44229 #define wxUSE_GAUGE 1
44235 if test "$wxUSE_GRID" = "yes"; then
44236 cat >>confdefs.h <<\_ACEOF
44237 #define wxUSE_GRID 1
44241 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
44244 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
44245 cat >>confdefs.h <<\_ACEOF
44246 #define wxUSE_HYPERLINKCTRL 1
44252 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
44253 cat >>confdefs.h <<\_ACEOF
44254 #define wxUSE_BITMAPCOMBOBOX 1
44260 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
44261 cat >>confdefs.h <<\_ACEOF
44262 #define wxUSE_DATAVIEWCTRL 1
44266 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
44269 if test "$wxUSE_IMAGLIST" = "yes"; then
44270 cat >>confdefs.h <<\_ACEOF
44271 #define wxUSE_IMAGLIST 1
44276 if test "$wxUSE_LISTBOOK" = "yes"; then
44277 cat >>confdefs.h <<\_ACEOF
44278 #define wxUSE_LISTBOOK 1
44284 if test "$wxUSE_LISTBOX" = "yes"; then
44285 cat >>confdefs.h <<\_ACEOF
44286 #define wxUSE_LISTBOX 1
44290 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
44293 if test "$wxUSE_LISTCTRL" = "yes"; then
44294 if test "$wxUSE_IMAGLIST" = "yes"; then
44295 cat >>confdefs.h <<\_ACEOF
44296 #define wxUSE_LISTCTRL 1
44300 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
44302 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
44303 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
44307 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
44308 cat >>confdefs.h <<\_ACEOF
44309 #define wxUSE_EDITABLELISTBOX 1
44313 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
44316 if test "$wxUSE_NOTEBOOK" = "yes"; then
44317 cat >>confdefs.h <<\_ACEOF
44318 #define wxUSE_NOTEBOOK 1
44322 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
44325 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
44326 cat >>confdefs.h <<\_ACEOF
44327 #define wxUSE_ODCOMBOBOX 1
44331 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
44335 if test "$wxUSE_RADIOBOX" = "yes"; then
44336 cat >>confdefs.h <<\_ACEOF
44337 #define wxUSE_RADIOBOX 1
44343 if test "$wxUSE_RADIOBTN" = "yes"; then
44344 cat >>confdefs.h <<\_ACEOF
44345 #define wxUSE_RADIOBTN 1
44351 if test "$wxUSE_SASH" = "yes"; then
44352 cat >>confdefs.h <<\_ACEOF
44353 #define wxUSE_SASH 1
44356 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
44359 if test "$wxUSE_SCROLLBAR" = "yes"; then
44360 cat >>confdefs.h <<\_ACEOF
44361 #define wxUSE_SCROLLBAR 1
44365 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
44368 if test "$wxUSE_SEARCHCTRL" = "yes"; then
44369 cat >>confdefs.h <<\_ACEOF
44370 #define wxUSE_SEARCHCTRL 1
44376 if test "$wxUSE_SLIDER" = "yes"; then
44377 cat >>confdefs.h <<\_ACEOF
44378 #define wxUSE_SLIDER 1
44384 if test "$wxUSE_SPINBTN" = "yes"; then
44385 cat >>confdefs.h <<\_ACEOF
44386 #define wxUSE_SPINBTN 1
44392 if test "$wxUSE_SPINCTRL" = "yes"; then
44393 cat >>confdefs.h <<\_ACEOF
44394 #define wxUSE_SPINCTRL 1
44400 if test "$wxUSE_SPLITTER" = "yes"; then
44401 cat >>confdefs.h <<\_ACEOF
44402 #define wxUSE_SPLITTER 1
44405 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
44408 if test "$wxUSE_STATBMP" = "yes"; then
44409 cat >>confdefs.h <<\_ACEOF
44410 #define wxUSE_STATBMP 1
44416 if test "$wxUSE_STATBOX" = "yes"; then
44417 cat >>confdefs.h <<\_ACEOF
44418 #define wxUSE_STATBOX 1
44424 if test "$wxUSE_STATTEXT" = "yes"; then
44425 cat >>confdefs.h <<\_ACEOF
44426 #define wxUSE_STATTEXT 1
44432 if test "$wxUSE_STATLINE" = "yes"; then
44433 cat >>confdefs.h <<\_ACEOF
44434 #define wxUSE_STATLINE 1
44440 if test "$wxUSE_STATUSBAR" = "yes"; then
44441 cat >>confdefs.h <<\_ACEOF
44442 #define wxUSE_NATIVE_STATUSBAR 1
44445 cat >>confdefs.h <<\_ACEOF
44446 #define wxUSE_STATUSBAR 1
44451 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
44454 if test "$wxUSE_TAB_DIALOG" = "yes"; then
44455 cat >>confdefs.h <<\_ACEOF
44456 #define wxUSE_TAB_DIALOG 1
44461 if test "$wxUSE_TEXTCTRL" = "yes"; then
44462 cat >>confdefs.h <<\_ACEOF
44463 #define wxUSE_TEXTCTRL 1
44467 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
44470 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44471 if test "$wxUSE_COCOA" = 1 ; then
44472 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
44473 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
44477 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44478 cat >>confdefs.h <<\_ACEOF
44479 #define wxUSE_TOGGLEBTN 1
44486 if test "$wxUSE_TOOLBAR" = "yes"; then
44487 cat >>confdefs.h <<\_ACEOF
44488 #define wxUSE_TOOLBAR 1
44493 if test "$wxUSE_UNIVERSAL" = "yes"; then
44494 wxUSE_TOOLBAR_NATIVE="no"
44496 wxUSE_TOOLBAR_NATIVE="yes"
44497 cat >>confdefs.h <<\_ACEOF
44498 #define wxUSE_TOOLBAR_NATIVE 1
44503 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
44506 if test "$wxUSE_TOOLTIPS" = "yes"; then
44507 if test "$wxUSE_MOTIF" = 1; then
44508 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
44509 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
44511 if test "$wxUSE_UNIVERSAL" = "yes"; then
44512 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
44513 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
44515 cat >>confdefs.h <<\_ACEOF
44516 #define wxUSE_TOOLTIPS 1
44523 if test "$wxUSE_TREEBOOK" = "yes"; then
44524 cat >>confdefs.h <<\_ACEOF
44525 #define wxUSE_TREEBOOK 1
44531 if test "$wxUSE_TOOLBOOK" = "yes"; then
44532 cat >>confdefs.h <<\_ACEOF
44533 #define wxUSE_TOOLBOOK 1
44539 if test "$wxUSE_TREECTRL" = "yes"; then
44540 if test "$wxUSE_IMAGLIST" = "yes"; then
44541 cat >>confdefs.h <<\_ACEOF
44542 #define wxUSE_TREECTRL 1
44546 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
44548 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
44549 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
44553 if test "$wxUSE_POPUPWIN" = "yes"; then
44554 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
44555 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
44556 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
44558 if test "$wxUSE_PM" = 1; then
44559 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
44560 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
44562 cat >>confdefs.h <<\_ACEOF
44563 #define wxUSE_POPUPWIN 1
44566 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
44573 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
44574 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
44575 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
44576 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
44578 cat >>confdefs.h <<\_ACEOF
44579 #define wxUSE_DIALUP_MANAGER 1
44582 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
44586 if test "$wxUSE_TIPWINDOW" = "yes"; then
44587 if test "$wxUSE_PM" = 1; then
44588 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
44589 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
44591 cat >>confdefs.h <<\_ACEOF
44592 #define wxUSE_TIPWINDOW 1
44598 if test "$USES_CONTROLS" = 1; then
44599 cat >>confdefs.h <<\_ACEOF
44600 #define wxUSE_CONTROLS 1
44606 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
44607 cat >>confdefs.h <<\_ACEOF
44608 #define wxUSE_ACCESSIBILITY 1
44611 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
44614 if test "$wxUSE_DC_CACHEING" = "yes"; then
44615 cat >>confdefs.h <<\_ACEOF
44616 #define wxUSE_DC_CACHEING 1
44621 if test "$wxUSE_DRAGIMAGE" = "yes"; then
44622 cat >>confdefs.h <<\_ACEOF
44623 #define wxUSE_DRAGIMAGE 1
44626 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
44629 if test "$wxUSE_EXCEPTIONS" = "yes"; then
44630 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
44631 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
44632 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
44634 cat >>confdefs.h <<\_ACEOF
44635 #define wxUSE_EXCEPTIONS 1
44638 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
44643 if test "$wxUSE_HTML" = "yes"; then
44644 cat >>confdefs.h <<\_ACEOF
44645 #define wxUSE_HTML 1
44649 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
44650 if test "$wxUSE_MAC" = 1; then
44651 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
44654 if test "$wxUSE_WEBKIT" = "yes"; then
44655 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
44656 old_CPPFLAGS="$CPPFLAGS"
44657 CPPFLAGS="-x objective-c++ $CPPFLAGS"
44658 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
44659 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
44660 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
44661 echo $ECHO_N "(cached) $ECHO_C" >&6
44663 cat >conftest.$ac_ext <<_ACEOF
44666 cat confdefs.h >>conftest.$ac_ext
44667 cat >>conftest.$ac_ext <<_ACEOF
44668 /* end confdefs.h. */
44670 #include <Carbon/Carbon.h>
44671 #include <WebKit/WebKit.h>
44674 #include <WebKit/HIWebView.h>
44676 rm -f conftest.$ac_objext
44677 if { (ac_try="$ac_compile"
44678 case "(($ac_try" in
44679 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44680 *) ac_try_echo
=$ac_try;;
44682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44683 (eval "$ac_compile") 2>conftest.er1
44685 grep -v '^ *+' conftest.er1
>conftest.err
44687 cat conftest.err
>&5
44688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44689 (exit $ac_status); } && {
44690 test -z "$ac_c_werror_flag" ||
44691 test ! -s conftest.err
44692 } && test -s conftest.
$ac_objext; then
44693 ac_cv_header_WebKit_HIWebView_h
=yes
44695 echo "$as_me: failed program was:" >&5
44696 sed 's/^/| /' conftest.
$ac_ext >&5
44698 ac_cv_header_WebKit_HIWebView_h
=no
44701 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44703 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
44704 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
44705 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
44707 cat >>confdefs.h
<<\_ACEOF
44708 #define wxUSE_WEBKIT 1
44711 WEBKIT_LINK
="-framework WebKit"
44715 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
44716 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
44722 CPPFLAGS
="$old_CPPFLAGS"
44723 elif test "$wxUSE_COCOA" = 1; then
44724 cat >>confdefs.h
<<\_ACEOF
44725 #define wxUSE_WEBKIT 1
44734 if test "$wxUSE_XRC" = "yes"; then
44735 if test "$wxUSE_XML" != "yes"; then
44736 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
44737 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
44740 cat >>confdefs.h
<<\_ACEOF
44741 #define wxUSE_XRC 1
44745 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
44750 if test "$wxUSE_AUI" = "yes"; then
44751 cat >>confdefs.h
<<\_ACEOF
44752 #define wxUSE_AUI 1
44756 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS aui"
44760 if test "$wxUSE_STC" = "yes"; then
44761 cat >>confdefs.h
<<\_ACEOF
44762 #define wxUSE_STC 1
44766 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS stc"
44769 if test "$wxUSE_MENUS" = "yes"; then
44770 cat >>confdefs.h
<<\_ACEOF
44771 #define wxUSE_MENUS 1
44774 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
44777 if test "$wxUSE_METAFILE" = "yes"; then
44778 cat >>confdefs.h
<<\_ACEOF
44779 #define wxUSE_METAFILE 1
44784 if test "$wxUSE_MIMETYPE" = "yes"; then
44785 cat >>confdefs.h
<<\_ACEOF
44786 #define wxUSE_MIMETYPE 1
44791 if test "$wxUSE_MINIFRAME" = "yes"; then
44792 cat >>confdefs.h
<<\_ACEOF
44793 #define wxUSE_MINIFRAME 1
44796 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
44799 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
44800 cat >>confdefs.h
<<\_ACEOF
44801 #define wxUSE_SYSTEM_OPTIONS 1
44804 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
44805 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
44806 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
44811 if test "$wxUSE_VALIDATORS" = "yes"; then
44812 cat >>confdefs.h
<<\_ACEOF
44813 #define wxUSE_VALIDATORS 1
44816 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
44819 if test "$wxUSE_PALETTE" = "yes" ; then
44820 if test "$wxUSE_DFB" = 1; then
44821 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
44822 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
44825 cat >>confdefs.h
<<\_ACEOF
44826 #define wxUSE_PALETTE 1
44832 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
44833 LIBS
=" -lunicows $LIBS"
44837 if test "$wxUSE_RICHTEXT" = "yes"; then
44838 cat >>confdefs.h
<<\_ACEOF
44839 #define wxUSE_RICHTEXT 1
44843 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS richtext"
44847 if test "$wxUSE_IMAGE" = "yes" ; then
44848 cat >>confdefs.h
<<\_ACEOF
44849 #define wxUSE_IMAGE 1
44853 if test "$wxUSE_GIF" = "yes" ; then
44854 cat >>confdefs.h
<<\_ACEOF
44855 #define wxUSE_GIF 1
44860 if test "$wxUSE_PCX" = "yes" ; then
44861 cat >>confdefs.h
<<\_ACEOF
44862 #define wxUSE_PCX 1
44867 if test "$wxUSE_TGA" = "yes" ; then
44868 cat >>confdefs.h
<<\_ACEOF
44869 #define wxUSE_TGA 1
44874 if test "$wxUSE_IFF" = "yes" ; then
44875 cat >>confdefs.h
<<\_ACEOF
44876 #define wxUSE_IFF 1
44881 if test "$wxUSE_PNM" = "yes" ; then
44882 cat >>confdefs.h
<<\_ACEOF
44883 #define wxUSE_PNM 1
44888 if test "$wxUSE_XPM" = "yes" ; then
44889 cat >>confdefs.h
<<\_ACEOF
44890 #define wxUSE_XPM 1
44895 if test "$wxUSE_ICO_CUR" = "yes" ; then
44896 cat >>confdefs.h
<<\_ACEOF
44897 #define wxUSE_ICO_CUR 1
44904 if test "$wxUSE_ABOUTDLG" = "yes"; then
44905 cat >>confdefs.h
<<\_ACEOF
44906 #define wxUSE_ABOUTDLG 1
44911 if test "$wxUSE_CHOICEDLG" = "yes"; then
44912 cat >>confdefs.h
<<\_ACEOF
44913 #define wxUSE_CHOICEDLG 1
44918 if test "$wxUSE_COLOURDLG" = "yes"; then
44919 cat >>confdefs.h
<<\_ACEOF
44920 #define wxUSE_COLOURDLG 1
44925 if test "$wxUSE_FILEDLG" = "yes"; then
44926 cat >>confdefs.h
<<\_ACEOF
44927 #define wxUSE_FILEDLG 1
44932 if test "$wxUSE_FINDREPLDLG" = "yes"; then
44933 cat >>confdefs.h
<<\_ACEOF
44934 #define wxUSE_FINDREPLDLG 1
44939 if test "$wxUSE_FONTDLG" = "yes"; then
44940 cat >>confdefs.h
<<\_ACEOF
44941 #define wxUSE_FONTDLG 1
44946 if test "$wxUSE_DIRDLG" = "yes"; then
44947 if test "$wxUSE_TREECTRL" != "yes"; then
44948 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
44949 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
44951 cat >>confdefs.h
<<\_ACEOF
44952 #define wxUSE_DIRDLG 1
44958 if test "$wxUSE_MSGDLG" = "yes"; then
44959 cat >>confdefs.h
<<\_ACEOF
44960 #define wxUSE_MSGDLG 1
44965 if test "$wxUSE_NUMBERDLG" = "yes"; then
44966 cat >>confdefs.h
<<\_ACEOF
44967 #define wxUSE_NUMBERDLG 1
44972 if test "$wxUSE_PROGRESSDLG" = "yes"; then
44973 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44974 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
44975 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
44977 cat >>confdefs.h
<<\_ACEOF
44978 #define wxUSE_PROGRESSDLG 1
44984 if test "$wxUSE_SPLASH" = "yes"; then
44985 cat >>confdefs.h
<<\_ACEOF
44986 #define wxUSE_SPLASH 1
44989 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
44992 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
44993 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44994 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
44995 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
44997 cat >>confdefs.h
<<\_ACEOF
44998 #define wxUSE_STARTUP_TIPS 1
45004 if test "$wxUSE_TEXTDLG" = "yes"; then
45005 cat >>confdefs.h
<<\_ACEOF
45006 #define wxUSE_TEXTDLG 1
45011 if test "$wxUSE_WIZARDDLG" = "yes"; then
45012 cat >>confdefs.h
<<\_ACEOF
45013 #define wxUSE_WIZARDDLG 1
45016 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
45020 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
45021 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
45022 cat >>confdefs.h
<<\_ACEOF
45023 #define wxUSE_GRAPHICS_CONTEXT 1
45026 elif test "$wxUSE_GTK" != 1; then
45027 cat >>confdefs.h
<<\_ACEOF
45028 #define wxUSE_GRAPHICS_CONTEXT 1
45034 { echo "$as_me:$LINENO: checking for CAIRO" >&5
45035 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
45037 if test -n "$PKG_CONFIG"; then
45038 if test -n "$CAIRO_CFLAGS"; then
45039 pkg_cv_CAIRO_CFLAGS
="$CAIRO_CFLAGS"
45041 if test -n "$PKG_CONFIG" && \
45042 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
45043 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
45045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45046 (exit $ac_status); }; then
45047 pkg_cv_CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
45055 if test -n "$PKG_CONFIG"; then
45056 if test -n "$CAIRO_LIBS"; then
45057 pkg_cv_CAIRO_LIBS
="$CAIRO_LIBS"
45059 if test -n "$PKG_CONFIG" && \
45060 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
45061 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
45063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45064 (exit $ac_status); }; then
45065 pkg_cv_CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
45076 if test $pkg_failed = yes; then
45078 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45079 _pkg_short_errors_supported
=yes
45081 _pkg_short_errors_supported
=no
45083 if test $_pkg_short_errors_supported = yes; then
45084 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
45086 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
45088 # Put the nasty error message in config.log where it belongs
45089 echo "$CAIRO_PKG_ERRORS" >&5
45091 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
45092 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
45094 elif test $pkg_failed = untried
; then
45095 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
45096 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
45099 CAIRO_CFLAGS
=$pkg_cv_CAIRO_CFLAGS
45100 CAIRO_LIBS
=$pkg_cv_CAIRO_LIBS
45101 { echo "$as_me:$LINENO: result: yes" >&5
45102 echo "${ECHO_T}yes" >&6; }
45103 cat >>confdefs.h
<<\_ACEOF
45104 #define wxUSE_GRAPHICS_CONTEXT 1
45114 if test "$wxUSE_MEDIACTRL" = "yes"; then
45117 if test "$wxUSE_GTK" = 1; then
45118 wxUSE_GSTREAMER
="no"
45120 GST_VERSION_MAJOR
=0
45121 GST_VERSION_MINOR
=10
45122 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
45124 if test "$wxUSE_GSTREAMER8" = "no"; then
45127 { echo "$as_me:$LINENO: checking for GST" >&5
45128 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
45130 if test -n "$PKG_CONFIG"; then
45131 if test -n "$GST_CFLAGS"; then
45132 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
45134 if test -n "$PKG_CONFIG" && \
45135 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
45136 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
45138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45139 (exit $ac_status); }; then
45140 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
45148 if test -n "$PKG_CONFIG"; then
45149 if test -n "$GST_LIBS"; then
45150 pkg_cv_GST_LIBS
="$GST_LIBS"
45152 if test -n "$PKG_CONFIG" && \
45153 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
45154 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
45156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45157 (exit $ac_status); }; then
45158 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
45169 if test $pkg_failed = yes; then
45171 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45172 _pkg_short_errors_supported
=yes
45174 _pkg_short_errors_supported
=no
45176 if test $_pkg_short_errors_supported = yes; then
45177 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
45179 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
45181 # Put the nasty error message in config.log where it belongs
45182 echo "$GST_PKG_ERRORS" >&5
45185 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
45186 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
45187 GST_VERSION_MINOR
=8
45190 elif test $pkg_failed = untried
; then
45192 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
45193 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
45194 GST_VERSION_MINOR
=8
45198 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
45199 GST_LIBS
=$pkg_cv_GST_LIBS
45200 { echo "$as_me:$LINENO: result: yes" >&5
45201 echo "${ECHO_T}yes" >&6; }
45203 wxUSE_GSTREAMER
="yes"
45204 GST_LIBS
="$GST_LIBS -lgstinterfaces-$GST_VERSION"
45208 GST_VERSION_MINOR
=8
45211 if test $GST_VERSION_MINOR = "8"; then
45212 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
45215 { echo "$as_me:$LINENO: checking for GST" >&5
45216 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
45218 if test -n "$PKG_CONFIG"; then
45219 if test -n "$GST_CFLAGS"; then
45220 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
45222 if test -n "$PKG_CONFIG" && \
45223 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
45224 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
45226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45227 (exit $ac_status); }; then
45228 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
45236 if test -n "$PKG_CONFIG"; then
45237 if test -n "$GST_LIBS"; then
45238 pkg_cv_GST_LIBS
="$GST_LIBS"
45240 if test -n "$PKG_CONFIG" && \
45241 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
45242 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
45244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45245 (exit $ac_status); }; then
45246 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
45257 if test $pkg_failed = yes; then
45259 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45260 _pkg_short_errors_supported
=yes
45262 _pkg_short_errors_supported
=no
45264 if test $_pkg_short_errors_supported = yes; then
45265 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45267 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45269 # Put the nasty error message in config.log where it belongs
45270 echo "$GST_PKG_ERRORS" >&5
45273 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
45274 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
45276 elif test $pkg_failed = untried
; then
45278 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
45279 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
45282 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
45283 GST_LIBS
=$pkg_cv_GST_LIBS
45284 { echo "$as_me:$LINENO: result: yes" >&5
45285 echo "${ECHO_T}yes" >&6; }
45286 wxUSE_GSTREAMER
="yes"
45291 if test "$wxUSE_GSTREAMER" = "yes"; then
45294 if "$GCC" = yes; then
45295 GST_CFLAGS
=`echo $GST_CFLAGS | sed 's/-mt//'`
45296 GST_LIBS
=`echo $GST_LIBS | sed 's/-mt//'`
45300 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
45301 LIBS
="$GST_LIBS $LIBS"
45303 cat >>confdefs.h
<<\_ACEOF
45304 #define wxUSE_GSTREAMER 1
45312 if test $USE_MEDIA = 1; then
45313 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
45314 cat >>confdefs.h
<<\_ACEOF
45315 #define wxUSE_MEDIACTRL 1
45322 if test "$cross_compiling" = "yes"; then
45325 OSINFO
=`uname -s -r -m`
45326 OSINFO
="\"$OSINFO\""
45329 cat >>confdefs.h
<<_ACEOF
45330 #define WXWIN_OS_DESCRIPTION $OSINFO
45335 if test "x$prefix" != "xNONE"; then
45338 wxPREFIX
=$ac_default_prefix
45341 cat >>confdefs.h
<<_ACEOF
45342 #define wxINSTALL_PREFIX "$wxPREFIX"
45348 CORE_BASE_LIBS
="net base"
45349 CORE_GUI_LIBS
="adv core"
45351 if test "$wxUSE_XML" = "yes" ; then
45352 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
45354 if test "$wxUSE_ODBC" != "no" ; then
45355 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
45356 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
45358 if test "$wxUSE_HTML" = "yes" ; then
45359 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
45361 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45362 CORE_GUI_LIBS
="qa $CORE_GUI_LIBS"
45364 if test "$wxUSE_XRC" = "yes" ; then
45365 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
45367 if test "$wxUSE_AUI" = "yes" ; then
45368 CORE_GUI_LIBS
="aui $CORE_GUI_LIBS"
45370 if test "$wxUSE_STC" = "yes" ; then
45371 CORE_GUI_LIBS
="stc $CORE_GUI_LIBS"
45374 if test "$wxUSE_GUI" != "yes"; then
45383 if test "$wxUSE_MAC" = 1 ; then
45384 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
45385 if test "$USE_DARWIN" = 1; then
45386 LDFLAGS
="$LDFLAGS -framework QuickTime"
45388 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
45391 if test "$USE_DARWIN" = 1; then
45392 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
45394 LDFLAGS
="$LDFLAGS -lCarbonLib"
45397 if test "$wxUSE_COCOA" = 1 ; then
45398 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
45399 if test "$wxUSE_MEDIACTRL" = "yes"; then
45400 LDFLAGS
="$LDFLAGS -framework QuickTime"
45403 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
45404 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
45407 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
45409 if test "$wxUSE_GUI" = "yes"; then
45412 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
45413 dynamic erase event exec font image minimal mobile \
45414 mobile/wxedit mobile/styles propsize render \
45415 rotate shaped svg taborder vscroll widgets"
45417 if test "$wxUSE_MONOLITHIC" != "yes"; then
45418 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
45420 if test "$TOOLKIT" = "MSW"; then
45421 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
45422 if test "$wxUSE_UNIVERSAL" != "yes"; then
45423 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
45426 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
45427 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
45430 SAMPLES_SUBDIRS
="console"
45434 if test "x$INTELCC" = "xyes" ; then
45435 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684"
45436 elif test "$GCC" = yes ; then
45437 CWARNINGS
="-Wall -Wundef"
45440 if test "x$INTELCXX" = "xyes" ; then
45441 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419"
45442 elif test "$GXX" = yes ; then
45443 CXXWARNINGS
="-Wall -Wundef -Wno-ctor-dtor-privacy"
45447 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
45448 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
45451 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
45452 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
45453 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
45456 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
45457 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
45458 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
45460 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
45463 if test "x$MWCC" = "xyes"; then
45465 CC
="$CC -cwd source -I-"
45466 CXX
="$CXX -cwd source -I-"
45471 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
45472 EXTRALIBS_XML
="$EXPAT_LINK"
45473 EXTRALIBS_HTML
="$MSPACK_LINK"
45474 EXTRALIBS_ODBC
="$ODBC_LINK"
45475 EXTRALIBS_STC
="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
45476 if test "$wxUSE_GUI" = "yes"; then
45477 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
45479 if test "$wxUSE_OPENGL" = "yes"; then
45480 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
45483 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
45485 WXCONFIG_LIBS
="$LIBS"
45487 if test "$wxUSE_REGEX" = "builtin" ; then
45488 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
45490 if test "$wxUSE_EXPAT" = "builtin" ; then
45491 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
45493 if test "$wxUSE_ODBC" = "builtin" ; then
45494 wxconfig_3rdparty
="odbc $wxconfig_3rdparty"
45496 if test "$wxUSE_LIBTIFF" = "builtin" ; then
45497 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
45499 if test "$wxUSE_LIBJPEG" = "builtin" ; then
45500 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
45502 if test "$wxUSE_LIBPNG" = "builtin" ; then
45503 wxconfig_3rdparty
="png $wxconfig_3rdparty"
45505 if test "$wxUSE_ZLIB" = "builtin" ; then
45506 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
45509 for i
in $wxconfig_3rdparty ; do
45510 WXCONFIG_LIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
45514 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
45517 case "$wxUNIV_THEMES" in
45519 cat >>confdefs.h
<<\_ACEOF
45520 #define wxUSE_ALL_THEMES 1
45526 for t
in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
45527 cat >>confdefs.h
<<_ACEOF
45528 #define wxUSE_THEME_$t 1
45545 if test $wxUSE_MONOLITHIC = "yes" ; then
45551 if test $wxUSE_PLUGINS = "yes" ; then
45557 if test $wxUSE_ODBC != "no" ; then
45563 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45569 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
45600 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
45611 TOOLKIT_DESC
="GTK+"
45612 if test "$WXGTK20" = 1; then
45613 TOOLKIT_DESC
="$TOOLKIT_DESC 2"
45614 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
45615 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomeprint";
45617 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
45618 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomevfs"
45620 if test "$wxUSE_LIBHILDON" = "yes"; then
45621 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
45624 if test "$TOOLKIT_EXTRA" != ""; then
45625 TOOLKIT_DESC
="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
45631 TOOLKIT_DESC
=$TOOLKIT_LOWERCASE
45635 TOOLKIT_DESC
="base only"
45639 if test "$wxUSE_WINE" = "yes"; then
45640 BAKEFILE_FORCE_PLATFORM
=win32
45643 if test "$wxUSE_MAC" = 1 ; then
45644 if test "x$wxUSE_UNIVERSAL_BINARY" != xno
; then
45645 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes
; then
45646 OSX_UNIV_OPTS
="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
45648 OSX_UNIV_OPTS
=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
45650 OSX_UNIV_OPTS
="$OSX_UNIV_OPTS -arch ppc -arch i386"
45651 CXXFLAGS
="$OSX_UNIV_OPTS $CXXFLAGS"
45652 CFLAGS
="$OSX_UNIV_OPTS $CFLAGS"
45653 LDFLAGS
="$OSX_UNIV_OPTS $LDFLAGS"
45656 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
45657 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
45660 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
45662 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
45663 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
45664 if test "${wx_cv_gcc_pch_bug+set}" = set; then
45665 echo $ECHO_N "(cached) $ECHO_C" >&6
45668 echo '#include <stdio.h>
45669 const wchar_t test_var[] = L"awidetest";' > conftest.h
45671 echo '#include "conftest.h"
45674 printf("%ls", test_var);
45678 wx_cv_gcc_pch_bug
="pch not supported"
45680 if $CXX conftest.h
>/dev
/null
2>&1
45684 if $CXX -o conftest
$PROGRAM_EXT conftest.cpp
>/dev
/null
2>&1
45686 if tr -dc '[a-z]' < conftest
$PROGRAM_EXT |
45687 grep awidetest
>/dev
/null
45689 wx_cv_gcc_pch_bug
=no
45691 wx_cv_gcc_pch_bug
=yes
45696 rm -f conftest.h conftest.gch conftest.cpp conftest
$PROGRAM_EXT
45699 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
45700 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
45702 if test "$wx_cv_gcc_pch_bug" = yes; then
45710 if test "x$BAKEFILE_HOST" = "x"; then
45711 if test "x${host}" = "x" ; then
45712 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
45713 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
45714 { (exit 1); exit 1; }; }
45717 BAKEFILE_HOST
="${host}"
45720 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
45722 if test -n "$ac_tool_prefix"; then
45723 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
45724 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
45725 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45726 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45727 if test "${ac_cv_prog_RANLIB+set}" = set; then
45728 echo $ECHO_N "(cached) $ECHO_C" >&6
45730 if test -n "$RANLIB"; then
45731 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
45733 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45734 for as_dir
in $PATH
45737 test -z "$as_dir" && as_dir
=.
45738 for ac_exec_ext
in '' $ac_executable_extensions; do
45739 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45740 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
45741 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45750 RANLIB
=$ac_cv_prog_RANLIB
45751 if test -n "$RANLIB"; then
45752 { echo "$as_me:$LINENO: result: $RANLIB" >&5
45753 echo "${ECHO_T}$RANLIB" >&6; }
45755 { echo "$as_me:$LINENO: result: no" >&5
45756 echo "${ECHO_T}no" >&6; }
45761 if test -z "$ac_cv_prog_RANLIB"; then
45762 ac_ct_RANLIB
=$RANLIB
45763 # Extract the first word of "ranlib", so it can be a program name with args.
45764 set dummy ranlib
; ac_word
=$2
45765 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45766 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45767 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
45768 echo $ECHO_N "(cached) $ECHO_C" >&6
45770 if test -n "$ac_ct_RANLIB"; then
45771 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
45773 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45774 for as_dir
in $PATH
45777 test -z "$as_dir" && as_dir
=.
45778 for ac_exec_ext
in '' $ac_executable_extensions; do
45779 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45780 ac_cv_prog_ac_ct_RANLIB
="ranlib"
45781 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45790 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
45791 if test -n "$ac_ct_RANLIB"; then
45792 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
45793 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
45795 { echo "$as_me:$LINENO: result: no" >&5
45796 echo "${ECHO_T}no" >&6; }
45799 if test "x$ac_ct_RANLIB" = x
; then
45802 case $cross_compiling:$ac_tool_warned in
45804 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
45805 whose name does not start with the host triplet. If you think this
45806 configuration is useful to you, please write to autoconf@gnu.org." >&5
45807 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
45808 whose name does not start with the host triplet. If you think this
45809 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
45810 ac_tool_warned
=yes ;;
45812 RANLIB
=$ac_ct_RANLIB
45815 RANLIB
="$ac_cv_prog_RANLIB"
45818 # Find a good install program. We prefer a C program (faster),
45819 # so one script is as good as another. But avoid the broken or
45820 # incompatible versions:
45821 # SysV /etc/install, /usr/sbin/install
45822 # SunOS /usr/etc/install
45823 # IRIX /sbin/install
45825 # AmigaOS /C/install, which installs bootblocks on floppy discs
45826 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
45827 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
45828 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
45829 # OS/2's system install, which has a completely different semantic
45830 # ./install, which can be erroneously created by make from ./install.sh.
45831 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
45832 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
45833 if test -z "$INSTALL"; then
45834 if test "${ac_cv_path_install+set}" = set; then
45835 echo $ECHO_N "(cached) $ECHO_C" >&6
45837 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45838 for as_dir
in $PATH
45841 test -z "$as_dir" && as_dir
=.
45842 # Account for people who put trailing slashes in PATH elements.
45844 .
/ | .
// | /cC
/* | \
45845 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
45846 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
45849 # OSF1 and SCO ODT 3.0 have their own names for install.
45850 # Don't use installbsd from OSF since it installs stuff as root
45852 for ac_prog
in ginstall scoinst
install; do
45853 for ac_exec_ext
in '' $ac_executable_extensions; do
45854 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
45855 if test $ac_prog = install &&
45856 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
45857 # AIX install. It has an incompatible calling convention.
45859 elif test $ac_prog = install &&
45860 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
45861 # program-specific install script used by HP pwplus--don't use.
45864 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
45877 if test "${ac_cv_path_install+set}" = set; then
45878 INSTALL
=$ac_cv_path_install
45880 # As a last resort, use the slow shell script. Don't cache a
45881 # value for INSTALL within a source directory, because that will
45882 # break other packages using the cache if that directory is
45883 # removed, or if the value is a relative name.
45884 INSTALL
=$ac_install_sh
45887 { echo "$as_me:$LINENO: result: $INSTALL" >&5
45888 echo "${ECHO_T}$INSTALL" >&6; }
45890 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
45891 # It thinks the first close brace ends the variable substitution.
45892 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
45894 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
45896 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
45898 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
45899 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
45901 if test "$LN_S" = "ln -s"; then
45902 { echo "$as_me:$LINENO: result: yes" >&5
45903 echo "${ECHO_T}yes" >&6; }
45905 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
45906 echo "${ECHO_T}no, using $LN_S" >&6; }
45910 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
45911 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
45912 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
45913 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
45914 echo $ECHO_N "(cached) $ECHO_C" >&6
45916 cat >conftest.
make <<\_ACEOF
45919 @
echo '@@@%%%=$(MAKE)=@@@%%%'
45921 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
45922 case `${MAKE-make} -f conftest.make 2>/dev/null` in
45923 *@@@
%%%=?
*=@@@
%%%*)
45924 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
45926 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
45928 rm -f conftest.
make
45930 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
45931 { echo "$as_me:$LINENO: result: yes" >&5
45932 echo "${ECHO_T}yes" >&6; }
45935 { echo "$as_me:$LINENO: result: no" >&5
45936 echo "${ECHO_T}no" >&6; }
45937 SET_MAKE
="MAKE=${MAKE-make}"
45942 if test "x$SUNCXX" = "xyes"; then
45944 AROPTIONS
="-xar -o"
45946 elif test "x$SGICC" = "xyes"; then
45951 if test -n "$ac_tool_prefix"; then
45952 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
45953 set dummy
${ac_tool_prefix}ar; ac_word
=$2
45954 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45955 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45956 if test "${ac_cv_prog_AR+set}" = set; then
45957 echo $ECHO_N "(cached) $ECHO_C" >&6
45959 if test -n "$AR"; then
45960 ac_cv_prog_AR
="$AR" # Let the user override the test.
45962 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45963 for as_dir
in $PATH
45966 test -z "$as_dir" && as_dir
=.
45967 for ac_exec_ext
in '' $ac_executable_extensions; do
45968 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45969 ac_cv_prog_AR
="${ac_tool_prefix}ar"
45970 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45980 if test -n "$AR"; then
45981 { echo "$as_me:$LINENO: result: $AR" >&5
45982 echo "${ECHO_T}$AR" >&6; }
45984 { echo "$as_me:$LINENO: result: no" >&5
45985 echo "${ECHO_T}no" >&6; }
45990 if test -z "$ac_cv_prog_AR"; then
45992 # Extract the first word of "ar", so it can be a program name with args.
45993 set dummy
ar; ac_word
=$2
45994 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45995 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45996 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
45997 echo $ECHO_N "(cached) $ECHO_C" >&6
45999 if test -n "$ac_ct_AR"; then
46000 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
46002 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46003 for as_dir
in $PATH
46006 test -z "$as_dir" && as_dir
=.
46007 for ac_exec_ext
in '' $ac_executable_extensions; do
46008 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46009 ac_cv_prog_ac_ct_AR
="ar"
46010 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46019 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
46020 if test -n "$ac_ct_AR"; then
46021 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
46022 echo "${ECHO_T}$ac_ct_AR" >&6; }
46024 { echo "$as_me:$LINENO: result: no" >&5
46025 echo "${ECHO_T}no" >&6; }
46028 if test "x$ac_ct_AR" = x
; then
46031 case $cross_compiling:$ac_tool_warned in
46033 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46034 whose name does not start with the host triplet. If you think this
46035 configuration is useful to you, please write to autoconf@gnu.org." >&5
46036 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46037 whose name does not start with the host triplet. If you think this
46038 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46039 ac_tool_warned
=yes ;;
46044 AR
="$ac_cv_prog_AR"
46051 if test -n "$ac_tool_prefix"; then
46052 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
46053 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
46054 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46055 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46056 if test "${ac_cv_prog_STRIP+set}" = set; then
46057 echo $ECHO_N "(cached) $ECHO_C" >&6
46059 if test -n "$STRIP"; then
46060 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
46062 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46063 for as_dir
in $PATH
46066 test -z "$as_dir" && as_dir
=.
46067 for ac_exec_ext
in '' $ac_executable_extensions; do
46068 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46069 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
46070 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46079 STRIP
=$ac_cv_prog_STRIP
46080 if test -n "$STRIP"; then
46081 { echo "$as_me:$LINENO: result: $STRIP" >&5
46082 echo "${ECHO_T}$STRIP" >&6; }
46084 { echo "$as_me:$LINENO: result: no" >&5
46085 echo "${ECHO_T}no" >&6; }
46090 if test -z "$ac_cv_prog_STRIP"; then
46092 # Extract the first word of "strip", so it can be a program name with args.
46093 set dummy strip
; ac_word
=$2
46094 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46095 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46096 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
46097 echo $ECHO_N "(cached) $ECHO_C" >&6
46099 if test -n "$ac_ct_STRIP"; then
46100 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
46102 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46103 for as_dir
in $PATH
46106 test -z "$as_dir" && as_dir
=.
46107 for ac_exec_ext
in '' $ac_executable_extensions; do
46108 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46109 ac_cv_prog_ac_ct_STRIP
="strip"
46110 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46119 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
46120 if test -n "$ac_ct_STRIP"; then
46121 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
46122 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
46124 { echo "$as_me:$LINENO: result: no" >&5
46125 echo "${ECHO_T}no" >&6; }
46128 if test "x$ac_ct_STRIP" = x
; then
46131 case $cross_compiling:$ac_tool_warned in
46133 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46134 whose name does not start with the host triplet. If you think this
46135 configuration is useful to you, please write to autoconf@gnu.org." >&5
46136 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46137 whose name does not start with the host triplet. If you think this
46138 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46139 ac_tool_warned
=yes ;;
46144 STRIP
="$ac_cv_prog_STRIP"
46147 if test -n "$ac_tool_prefix"; then
46148 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
46149 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
46150 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46151 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46152 if test "${ac_cv_prog_NM+set}" = set; then
46153 echo $ECHO_N "(cached) $ECHO_C" >&6
46155 if test -n "$NM"; then
46156 ac_cv_prog_NM
="$NM" # Let the user override the test.
46158 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46159 for as_dir
in $PATH
46162 test -z "$as_dir" && as_dir
=.
46163 for ac_exec_ext
in '' $ac_executable_extensions; do
46164 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46165 ac_cv_prog_NM
="${ac_tool_prefix}nm"
46166 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46176 if test -n "$NM"; then
46177 { echo "$as_me:$LINENO: result: $NM" >&5
46178 echo "${ECHO_T}$NM" >&6; }
46180 { echo "$as_me:$LINENO: result: no" >&5
46181 echo "${ECHO_T}no" >&6; }
46186 if test -z "$ac_cv_prog_NM"; then
46188 # Extract the first word of "nm", so it can be a program name with args.
46189 set dummy nm
; ac_word
=$2
46190 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46191 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46192 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
46193 echo $ECHO_N "(cached) $ECHO_C" >&6
46195 if test -n "$ac_ct_NM"; then
46196 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
46198 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46199 for as_dir
in $PATH
46202 test -z "$as_dir" && as_dir
=.
46203 for ac_exec_ext
in '' $ac_executable_extensions; do
46204 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46205 ac_cv_prog_ac_ct_NM
="nm"
46206 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46215 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
46216 if test -n "$ac_ct_NM"; then
46217 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
46218 echo "${ECHO_T}$ac_ct_NM" >&6; }
46220 { echo "$as_me:$LINENO: result: no" >&5
46221 echo "${ECHO_T}no" >&6; }
46224 if test "x$ac_ct_NM" = x
; then
46227 case $cross_compiling:$ac_tool_warned in
46229 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46230 whose name does not start with the host triplet. If you think this
46231 configuration is useful to you, please write to autoconf@gnu.org." >&5
46232 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46233 whose name does not start with the host triplet. If you think this
46234 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46235 ac_tool_warned
=yes ;;
46240 NM
="$ac_cv_prog_NM"
46244 case ${BAKEFILE_HOST} in
46246 INSTALL_DIR
="mkdir -p"
46249 INSTALL_DIR
='$(INSTALL) -d'
46255 case ${BAKEFILE_HOST} in
46256 *-*-cygwin* | *-*-mingw32* )
46257 LDFLAGS_GUI
="-mwindows"
46263 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
46264 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
46265 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
46266 echo $ECHO_N "(cached) $ECHO_C" >&6
46269 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
46270 egrep -s GNU
> /dev
/null
); then
46271 bakefile_cv_prog_makeisgnu
="yes"
46273 bakefile_cv_prog_makeisgnu
="no"
46277 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
46278 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
46280 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
46297 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
46298 case "${BAKEFILE_HOST}" in
46305 *-pc-os2_emx | *-pc-os2-emx )
46315 powerpc
-apple-macos* )
46324 case "$BAKEFILE_FORCE_PLATFORM" in
46359 # Check whether --enable-omf was given.
46360 if test "${enable_omf+set}" = set; then
46361 enableval
=$enable_omf; bk_os2_use_omf
="$enableval"
46365 case "${BAKEFILE_HOST}" in
46367 if test "x$GCC" = "xyes"; then
46368 CFLAGS
="$CFLAGS -fno-common"
46369 CXXFLAGS
="$CXXFLAGS -fno-common"
46371 if test "x$XLCC" = "xyes"; then
46372 CFLAGS
="$CFLAGS -qnocommon"
46373 CXXFLAGS
="$CXXFLAGS -qnocommon"
46377 *-pc-os2_emx | *-pc-os2-emx )
46378 if test "x$bk_os2_use_omf" = "xyes" ; then
46381 LDFLAGS
="-Zomf $LDFLAGS"
46382 CFLAGS
="-Zomf $CFLAGS"
46383 CXXFLAGS
="-Zomf $CXXFLAGS"
46391 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
46397 SO_SUFFIX_MODULE
="so"
46402 DLLPREFIX_MODULE
=""
46406 case "${BAKEFILE_HOST}" in
46409 SO_SUFFIX_MODULE
="sl"
46413 SO_SUFFIX_MODULE
="a"
46417 SO_SUFFIX_MODULE
="dll"
46418 DLLIMP_SUFFIX
="dll.a"
46425 SO_SUFFIX_MODULE
="dll"
46426 DLLIMP_SUFFIX
="dll.a"
46436 *-pc-os2_emx | *-pc-os2-emx )
46438 SO_SUFFIX_MODULE
="dll"
46439 DLLIMP_SUFFIX
=$OS2_LIBEXT
46443 LIBEXT
=".$OS2_LIBEXT"
46448 SO_SUFFIX_MODULE
="bundle"
46452 if test "x$DLLIMP_SUFFIX" = "x" ; then
46453 DLLIMP_SUFFIX
="$SO_SUFFIX"
46468 if test "x$GCC" = "xyes"; then
46472 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
46473 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
46476 case "${BAKEFILE_HOST}" in
46478 if test "x$GCC" != "xyes"; then
46479 LDFLAGS
="$LDFLAGS -L/usr/lib"
46481 SHARED_LD_CC
="${CC} -b -o"
46482 SHARED_LD_CXX
="${CXX} -b -o"
46488 if test "x$GCC" != "xyes"; then
46489 { echo "$as_me:$LINENO: checking for Intel compiler" >&5
46490 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6; }
46491 if test "${bakefile_cv_prog_icc+set}" = set; then
46492 echo $ECHO_N "(cached) $ECHO_C" >&6
46495 cat >conftest.
$ac_ext <<_ACEOF
46498 cat confdefs.h
>>conftest.
$ac_ext
46499 cat >>conftest.
$ac_ext <<_ACEOF
46500 /* end confdefs.h. */
46506 #ifndef __INTEL_COMPILER
46514 rm -f conftest.
$ac_objext
46515 if { (ac_try
="$ac_compile"
46516 case "(($ac_try" in
46517 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46518 *) ac_try_echo=$ac_try;;
46520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46521 (eval "$ac_compile") 2>conftest.er1
46523 grep -v '^ *+' conftest.er1 >conftest.err
46525 cat conftest.err >&5
46526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46527 (exit $ac_status); } && {
46528 test -z "$ac_c_werror_flag" ||
46529 test ! -s conftest.err
46530 } && test -s conftest.$ac_objext; then
46531 bakefile_cv_prog_icc=yes
46533 echo "$as_me: failed program was:" >&5
46534 sed 's/^/| /' conftest.$ac_ext >&5
46536 bakefile_cv_prog_icc=no
46540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46543 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
46544 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6; }
46545 if test "$bakefile_cv_prog_icc" = "yes"; then
46552 if test "x$GCC" != xyes ; then
46553 SHARED_LD_CC="${CC} -G -o"
46554 SHARED_LD_CXX="${CXX} -G -o"
46562 cat <<EOF >shared-ld-sh
46564 #-----------------------------------------------------------------------------
46565 #-- Name: distrib/mac/shared-ld-sh
46566 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
46567 #-- Author: Gilles Depeyrot
46568 #-- Copyright: (c) 2002 Gilles Depeyrot
46569 #-- Licence: any use permitted
46570 #-----------------------------------------------------------------------------
46575 linking_flag="-dynamiclib"
46576 ldargs="-r -keep_private_externs -nostdlib"
46578 while test ${D}# -gt 0; do
46585 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
46586 # collect these options and values
46587 args="${D}{args} ${D}1 ${D}2"
46592 # collect these load args
46593 ldargs="${D}{ldargs} ${D}1"
46596 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
46597 # collect these options
46598 args="${D}{args} ${D}1"
46601 -dynamiclib|-bundle)
46602 linking_flag="${D}1"
46606 echo "shared-ld: unhandled option '${D}1'"
46610 *.o | *.a | *.dylib)
46611 # collect object files
46612 objects="${D}{objects} ${D}1"
46616 echo "shared-ld: unhandled argument '${D}1'"
46627 # Link one module containing all the others
46629 if test ${D}{verbose} = 1; then
46630 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
46632 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
46636 # Link the shared library from the single module created, but only if the
46637 # previous command didn't fail:
46639 if test ${D}{status} = 0; then
46640 if test ${D}{verbose} = 1; then
46641 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
46643 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
46648 # Remove intermediate module
46650 rm -f master.${D}${D}.o
46655 chmod +x shared-ld-sh
46657 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
46658 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
46661 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
46662 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
46663 if test "${bakefile_cv_gcc31+set}" = set; then
46664 echo $ECHO_N "(cached) $ECHO_C" >&6
46667 cat >conftest.$ac_ext <<_ACEOF
46670 cat confdefs.h >>conftest.$ac_ext
46671 cat >>conftest.$ac_ext <<_ACEOF
46672 /* end confdefs.h. */
46678 #if (__GNUC__ < 3) || \
46679 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
46687 rm -f conftest.$ac_objext
46688 if { (ac_try="$ac_compile"
46689 case "(($ac_try" in
46690 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46691 *) ac_try_echo
=$ac_try;;
46693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46694 (eval "$ac_compile") 2>conftest.er1
46696 grep -v '^ *+' conftest.er1
>conftest.err
46698 cat conftest.err
>&5
46699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46700 (exit $ac_status); } && {
46701 test -z "$ac_c_werror_flag" ||
46702 test ! -s conftest.err
46703 } && test -s conftest.
$ac_objext; then
46705 bakefile_cv_gcc31
=yes
46708 echo "$as_me: failed program was:" >&5
46709 sed 's/^/| /' conftest.
$ac_ext >&5
46712 bakefile_cv_gcc31
=no
46717 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46720 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
46721 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
46722 if test "$bakefile_cv_gcc31" = "no"; then
46723 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
46724 SHARED_LD_CXX
="$SHARED_LD_CC"
46726 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
46727 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
46730 if test "x$GCC" == "xyes"; then
46731 PIC_FLAG
="-dynamic -fPIC"
46733 if test "x$XLCC" = "xyes"; then
46734 PIC_FLAG
="-dynamic -DPIC"
46739 if test "x$GCC" = "xyes"; then
46742 case "${BAKEFILE_HOST}" in
46744 LD_EXPFULL
="-Wl,-bexpfull"
46748 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
46749 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
46751 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
46752 set dummy makeC
++SharedLib
; ac_word
=$2
46753 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46754 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46755 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
46756 echo $ECHO_N "(cached) $ECHO_C" >&6
46758 if test -n "$AIX_CXX_LD"; then
46759 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
46761 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46762 for as_dir
in $PATH
46765 test -z "$as_dir" && as_dir
=.
46766 for ac_exec_ext
in '' $ac_executable_extensions; do
46767 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46768 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
46769 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46776 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
46779 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
46780 if test -n "$AIX_CXX_LD"; then
46781 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
46782 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
46784 { echo "$as_me:$LINENO: result: no" >&5
46785 echo "${ECHO_T}no" >&6; }
46789 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
46790 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
46795 SHARED_LD_CC
="${LD} -nostart -o"
46796 SHARED_LD_CXX
="${LD} -nostart -o"
46800 if test "x$GCC" != "xyes"; then
46805 *-*-cygwin* | *-*-mingw32* )
46807 SHARED_LD_CC
="\$(CC) -shared -o"
46808 SHARED_LD_CXX
="\$(CXX) -shared -o"
46812 *-pc-os2_emx | *-pc-os2-emx )
46813 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46814 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46818 cat <<EOF >dllar.sh
46821 # dllar - a tool to build both a .dll and an .a file
46822 # from a set of object (.o) files for EMX/OS2.
46824 # Written by Andrew Zabolotny, bit@freya.etu.ru
46825 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
46827 # This script will accept a set of files on the command line.
46828 # All the public symbols from the .o files will be exported into
46829 # a .DEF file, then linker will be run (through gcc) against them to
46830 # build a shared library consisting of all given .o files. All libraries
46831 # (.a) will be first decompressed into component .o files then act as
46832 # described above. You can optionally give a description (-d "description")
46833 # which will be put into .DLL. To see the list of accepted options (as well
46834 # as command-line format) simply run this program without options. The .DLL
46835 # is built to be imported by name (there is no guarantee that new versions
46836 # of the library you build will have same ordinals for same symbols).
46838 # dllar is free software; you can redistribute it and/or modify
46839 # it under the terms of the GNU General Public License as published by
46840 # the Free Software Foundation; either version 2, or (at your option)
46841 # any later version.
46843 # dllar is distributed in the hope that it will be useful,
46844 # but WITHOUT ANY WARRANTY; without even the implied warranty of
46845 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
46846 # GNU General Public License for more details.
46848 # You should have received a copy of the GNU General Public License
46849 # along with dllar; see the file COPYING. If not, write to the Free
46850 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
46853 # To successfuly run this program you will need:
46854 # - Current drive should have LFN support (HPFS, ext2, network, etc)
46855 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
46857 # (used to build the .dll)
46859 # (used to create .def file from .o files)
46861 # (used to create .a file from .def file)
46862 # - GNU text utilites (cat, sort, uniq)
46863 # used to process emxexp output
46864 # - GNU file utilities (mv, rm)
46866 # - lxlite (optional, see flag below)
46867 # (used for general .dll cleanup)
46874 # basnam, variant of basename, which does _not_ remove the path, _iff_
46875 # second argument (suffix to remove) is given
46879 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
46882 echo ${D}1 | sed 's/'${D}2'${D}//'
46885 echo "error in basnam ${D}*"
46891 # Cleanup temporary files and output
46894 for i in ${D}inputFiles ; do
46897 rm -rf \`basnam ${D}i !\`
46904 # Kill result in case of failure as there is just to many stupid make/nmake
46905 # things out there which doesn't do this.
46906 if [ ${D}# -eq 0 ]; then
46907 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
46911 # Print usage and exit script with rc=1.
46913 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
46914 echo ' [-name-mangler-script script.sh]'
46915 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
46916 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
46917 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
46918 echo ' [*.o] [*.a]'
46919 echo '*> "output_file" should have no extension.'
46920 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
46921 echo ' The import library name is derived from this and is set to "name".a,'
46922 echo ' unless overridden by -import'
46923 echo '*> "importlib_name" should have no extension.'
46924 echo ' If it has the .o, or .a extension, it is automatically removed.'
46925 echo ' This name is used as the import library name and may be longer and'
46926 echo ' more descriptive than the DLL name which has to follow the old '
46927 echo ' 8.3 convention of FAT.'
46928 echo '*> "script.sh may be given to override the output_file name by a'
46929 echo ' different name. It is mainly useful if the regular make process'
46930 echo ' of some package does not take into account OS/2 restriction of'
46931 echo ' DLL name lengths. It takes the importlib name as input and is'
46932 echo ' supposed to procude a shorter name as output. The script should'
46933 echo ' expect to get importlib_name without extension and should produce'
46934 echo ' a (max.) 8 letter name without extension.'
46935 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
46936 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
46937 echo ' These flags will be put at the start of GCC command line.'
46938 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
46939 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
46940 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
46941 echo ' If the last character of a symbol is "*", all symbols beginning'
46942 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
46943 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
46944 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
46945 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
46946 echo ' C runtime DLLs.'
46947 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
46948 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
46949 echo ' unchanged to GCC at the end of command line.'
46950 echo '*> If you create a DLL from a library and you do not specify -o,'
46951 echo ' the basename for DLL and import library will be set to library name,'
46952 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
46953 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
46954 echo ' library will be renamed into gcc_s.a.'
46957 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
46958 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
46963 # Execute a command.
46964 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
46965 # @Uses Whatever CleanUp() uses.
46971 if [ ${D}rcCmd -ne 0 ]; then
46972 echo "command failed, exit code="${D}rcCmd
46987 CFLAGS="-s -Zcrtdll"
46989 EXPORT_BY_ORDINALS=0
46994 case ${D}curDirS in
46998 curDirS=${D}{curDirS}"/"
47001 # Parse commandline
47004 while [ ${D}1 ]; do
47007 EXPORT_BY_ORDINALS=1;
47017 -name-mangler-script)
47038 exclude_symbols=${D}{exclude_symbols}${D}1" "
47042 library_flags=${D}{library_flags}${D}1" "
47061 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47064 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
47065 if [ ${D}omfLinking -eq 1 ]; then
47066 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
47068 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
47073 if [ ${D}libsToLink -ne 0 ]; then
47074 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47076 for file in ${D}1 ; do
47077 if [ -f ${D}file ]; then
47078 inputFiles="${D}{inputFiles} ${D}file"
47082 if [ ${D}found -eq 0 ]; then
47083 echo "ERROR: No file(s) found: "${D}1
47090 done # iterate cmdline words
47093 if [ -z "${D}inputFiles" ]; then
47094 echo "dllar: no input files"
47098 # Now extract all .o files from .a files
47100 for file in ${D}inputFiles ; do
47111 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
47116 dirname=\`basnam ${D}file ${D}suffix\`"_%"
47118 if [ ${D}? -ne 0 ]; then
47119 echo "Failed to create subdirectory ./${D}dirname"
47123 # Append '!' to indicate archive
47124 newInputFiles="${D}newInputFiles ${D}{dirname}!"
47125 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
47128 for subfile in ${D}dirname/*.o* ; do
47129 if [ -f ${D}subfile ]; then
47131 if [ -s ${D}subfile ]; then
47132 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
47133 newInputFiles="${D}newInputFiles ${D}subfile"
47137 if [ ${D}found -eq 0 ]; then
47138 echo "WARNING: there are no files in archive \\'${D}file\\'"
47142 newInputFiles="${D}{newInputFiles} ${D}file"
47146 inputFiles="${D}newInputFiles"
47148 # Output filename(s).
47150 if [ -z ${D}outFile ]; then
47152 set outFile ${D}inputFiles; outFile=${D}2
47155 # If it is an archive, remove the '!' and the '_%' suffixes
47156 case ${D}outFile in
47158 outFile=\`basnam ${D}outFile _%!\`
47163 case ${D}outFile in
47165 outFile=\`basnam ${D}outFile .dll\`
47168 outFile=\`basnam ${D}outFile .DLL\`
47171 outFile=\`basnam ${D}outFile .o\`
47174 outFile=\`basnam ${D}outFile .obj\`
47177 outFile=\`basnam ${D}outFile .a\`
47180 outFile=\`basnam ${D}outFile .lib\`
47185 case ${D}outimpFile in
47187 outimpFile=\`basnam ${D}outimpFile .a\`
47190 outimpFile=\`basnam ${D}outimpFile .lib\`
47195 if [ -z ${D}outimpFile ]; then
47196 outimpFile=${D}outFile
47198 defFile="${D}{outFile}.def"
47199 arcFile="${D}{outimpFile}.a"
47200 arcFile2="${D}{outimpFile}.lib"
47202 #create ${D}dllFile as something matching 8.3 restrictions,
47203 if [ -z ${D}renameScript ] ; then
47204 dllFile="${D}outFile"
47206 dllFile=\`${D}renameScript ${D}outimpFile\`
47209 if [ ${D}do_backup -ne 0 ] ; then
47210 if [ -f ${D}arcFile ] ; then
47211 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
47213 if [ -f ${D}arcFile2 ] ; then
47214 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
47218 # Extract public symbols from all the object files.
47219 tmpdefFile=${D}{defFile}_%
47220 rm -f ${D}tmpdefFile
47221 for file in ${D}inputFiles ; do
47226 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
47231 # Create the def file.
47233 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
47234 dllFile="${D}{dllFile}.dll"
47235 if [ ! -z ${D}description ]; then
47236 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
47238 echo "EXPORTS" >> ${D}defFile
47240 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
47241 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
47243 # Checks if the export is ok or not.
47244 for word in ${D}exclude_symbols; do
47245 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
47246 mv ${D}{tmpdefFile}% ${D}tmpdefFile
47250 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47251 sed "=" < ${D}tmpdefFile | \\
47255 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
47257 ' > ${D}{tmpdefFile}%
47258 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
47260 rm -f ${D}{tmpdefFile}%
47262 cat ${D}tmpdefFile >> ${D}defFile
47263 rm -f ${D}tmpdefFile
47265 # Do linking, create implib, and apply lxlite.
47267 for file in ${D}inputFiles ; do
47272 gccCmdl="${D}gccCmdl ${D}file"
47276 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
47277 touch "${D}{outFile}.dll"
47279 doCommand "emximp -o ${D}arcFile ${D}defFile"
47280 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
47282 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47285 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
47287 doCommand "emxomf -s -l ${D}arcFile"
47297 powerpc
-apple-macos* | \
47298 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
47308 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
47309 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
47310 { (exit 1); exit 1; }; }
47313 if test "x$PIC_FLAG" != "x" ; then
47314 PIC_FLAG
="$PIC_FLAG -DPIC"
47317 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
47318 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
47320 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
47321 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
47340 case "${BAKEFILE_HOST}" in
47341 *-*-linux* | *-*-freebsd* | *-*-k*bsd
*-gnu )
47342 SONAME_FLAG
="-Wl,-soname,"
47376 # Check whether --enable-dependency-tracking was given.
47377 if test "${enable_dependency_tracking+set}" = set; then
47378 enableval
=$enable_dependency_tracking; bk_use_trackdeps
="$enableval"
47382 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
47383 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
47386 if test "x$bk_use_trackdeps" = "xno" ; then
47388 { echo "$as_me:$LINENO: result: disabled" >&5
47389 echo "${ECHO_T}disabled" >&6; }
47393 if test "x$GCC" = "xyes"; then
47395 case "${BAKEFILE_HOST}" in
47397 DEPSFLAG
="-no-cpp-precomp -MMD"
47403 { echo "$as_me:$LINENO: result: gcc" >&5
47404 echo "${ECHO_T}gcc" >&6; }
47405 elif test "x$MWCC" = "xyes"; then
47408 { echo "$as_me:$LINENO: result: mwcc" >&5
47409 echo "${ECHO_T}mwcc" >&6; }
47410 elif test "x$SUNCC" = "xyes"; then
47413 { echo "$as_me:$LINENO: result: Sun cc" >&5
47414 echo "${ECHO_T}Sun cc" >&6; }
47415 elif test "x$SGICC" = "xyes"; then
47418 { echo "$as_me:$LINENO: result: SGI cc" >&5
47419 echo "${ECHO_T}SGI cc" >&6; }
47420 elif test "x$HPCC" = "xyes"; then
47423 { echo "$as_me:$LINENO: result: HP cc" >&5
47424 echo "${ECHO_T}HP cc" >&6; }
47425 elif test "x$COMPAQCC" = "xyes"; then
47428 { echo "$as_me:$LINENO: result: Compaq cc" >&5
47429 echo "${ECHO_T}Compaq cc" >&6; }
47432 { echo "$as_me:$LINENO: result: none" >&5
47433 echo "${ECHO_T}none" >&6; }
47436 if test $DEPS_TRACKING = 1 ; then
47442 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47443 # script. It is used to track C/C++ files dependencies in portable way.
47445 # Permission is given to use this file in any way.
47447 DEPSMODE=${DEPSMODE}
47449 DEPSFLAG="${DEPSFLAG}"
47451 mkdir -p ${D}DEPSDIR
47453 if test ${D}DEPSMODE = gcc ; then
47454 ${D}* ${D}{DEPSFLAG}
47456 if test ${D}{status} != 0 ; then
47459 # move created file to the location we want it in:
47460 while test ${D}# -gt 0; do
47474 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
47475 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
47476 if test -f ${D}depfile ; then
47477 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47480 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
47481 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
47482 if test ! -f ${D}depfile ; then
47483 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
47484 depfile="${D}objfile.d"
47486 if test -f ${D}depfile ; then
47487 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47492 elif test ${D}DEPSMODE = mwcc ; then
47493 ${D}* || exit ${D}?
47494 # Run mwcc again with -MM and redirect into the dep file we want
47495 # NOTE: We can't use shift here because we need ${D}* to be valid
47497 for arg in ${D}* ; do
47498 if test "${D}prevarg" = "-o"; then
47511 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
47513 elif test ${D}DEPSMODE = unixcc; then
47514 ${D}* || exit ${D}?
47515 # Run compiler again with deps flag and redirect into the dep file.
47516 # It doesn't work if the '-o FILE' option is used, but without it the
47517 # dependency file will contain the wrong name for the object. So it is
47518 # removed from the command line, and the dep file is fixed with sed.
47520 while test ${D}# -gt 0; do
47527 eval arg${D}#=\\${D}1
47528 cmd="${D}cmd \\${D}arg${D}#"
47533 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
47542 BK_DEPS
="`pwd`/bk-deps"
47550 case ${BAKEFILE_HOST} in
47551 *-*-cygwin* | *-*-mingw32* )
47552 if test -n "$ac_tool_prefix"; then
47553 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
47554 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
47555 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47556 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47557 if test "${ac_cv_prog_WINDRES+set}" = set; then
47558 echo $ECHO_N "(cached) $ECHO_C" >&6
47560 if test -n "$WINDRES"; then
47561 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
47563 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47564 for as_dir
in $PATH
47567 test -z "$as_dir" && as_dir
=.
47568 for ac_exec_ext
in '' $ac_executable_extensions; do
47569 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47570 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
47571 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47580 WINDRES
=$ac_cv_prog_WINDRES
47581 if test -n "$WINDRES"; then
47582 { echo "$as_me:$LINENO: result: $WINDRES" >&5
47583 echo "${ECHO_T}$WINDRES" >&6; }
47585 { echo "$as_me:$LINENO: result: no" >&5
47586 echo "${ECHO_T}no" >&6; }
47591 if test -z "$ac_cv_prog_WINDRES"; then
47592 ac_ct_WINDRES
=$WINDRES
47593 # Extract the first word of "windres", so it can be a program name with args.
47594 set dummy windres
; ac_word
=$2
47595 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47596 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47597 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
47598 echo $ECHO_N "(cached) $ECHO_C" >&6
47600 if test -n "$ac_ct_WINDRES"; then
47601 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
47603 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47604 for as_dir
in $PATH
47607 test -z "$as_dir" && as_dir
=.
47608 for ac_exec_ext
in '' $ac_executable_extensions; do
47609 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47610 ac_cv_prog_ac_ct_WINDRES
="windres"
47611 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47620 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
47621 if test -n "$ac_ct_WINDRES"; then
47622 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
47623 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
47625 { echo "$as_me:$LINENO: result: no" >&5
47626 echo "${ECHO_T}no" >&6; }
47629 if test "x$ac_ct_WINDRES" = x
; then
47632 case $cross_compiling:$ac_tool_warned in
47634 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47635 whose name does not start with the host triplet. If you think this
47636 configuration is useful to you, please write to autoconf@gnu.org." >&5
47637 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47638 whose name does not start with the host triplet. If you think this
47639 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47640 ac_tool_warned
=yes ;;
47642 WINDRES
=$ac_ct_WINDRES
47645 WINDRES
="$ac_cv_prog_WINDRES"
47650 *-*-darwin* | powerpc
-apple-macos* )
47651 # Extract the first word of "Rez", so it can be a program name with args.
47652 set dummy Rez
; ac_word
=$2
47653 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47654 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47655 if test "${ac_cv_prog_REZ+set}" = set; then
47656 echo $ECHO_N "(cached) $ECHO_C" >&6
47658 if test -n "$REZ"; then
47659 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
47661 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47662 for as_dir
in $PATH
47665 test -z "$as_dir" && as_dir
=.
47666 for ac_exec_ext
in '' $ac_executable_extensions; do
47667 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47668 ac_cv_prog_REZ
="Rez"
47669 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47676 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
47679 REZ
=$ac_cv_prog_REZ
47680 if test -n "$REZ"; then
47681 { echo "$as_me:$LINENO: result: $REZ" >&5
47682 echo "${ECHO_T}$REZ" >&6; }
47684 { echo "$as_me:$LINENO: result: no" >&5
47685 echo "${ECHO_T}no" >&6; }
47689 # Extract the first word of "SetFile", so it can be a program name with args.
47690 set dummy SetFile
; ac_word
=$2
47691 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47692 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47693 if test "${ac_cv_prog_SETFILE+set}" = set; then
47694 echo $ECHO_N "(cached) $ECHO_C" >&6
47696 if test -n "$SETFILE"; then
47697 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
47699 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47700 for as_dir
in $PATH
47703 test -z "$as_dir" && as_dir
=.
47704 for ac_exec_ext
in '' $ac_executable_extensions; do
47705 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47706 ac_cv_prog_SETFILE
="SetFile"
47707 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47714 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
47717 SETFILE
=$ac_cv_prog_SETFILE
47718 if test -n "$SETFILE"; then
47719 { echo "$as_me:$LINENO: result: $SETFILE" >&5
47720 echo "${ECHO_T}$SETFILE" >&6; }
47722 { echo "$as_me:$LINENO: result: no" >&5
47723 echo "${ECHO_T}no" >&6; }
47735 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.2"
47738 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.2"
47742 # Check whether --enable-precomp-headers was given.
47743 if test "${enable_precomp_headers+set}" = set; then
47744 enableval
=$enable_precomp_headers; bk_use_pch
="$enableval"
47753 case ${BAKEFILE_HOST} in
47759 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
47760 if test "x$GCC" = "xyes"; then
47761 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
47762 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
47763 cat >conftest.
$ac_ext <<_ACEOF
47766 cat confdefs.h
>>conftest.
$ac_ext
47767 cat >>conftest.
$ac_ext <<_ACEOF
47768 /* end confdefs.h. */
47774 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
47775 There is no PCH support
47778 There is no PCH support
47780 #if (__GNUC__ == 3) && \
47781 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
47782 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
47783 ( defined(__INTEL_COMPILER) )
47784 There is no PCH support
47791 rm -f conftest.
$ac_objext
47792 if { (ac_try
="$ac_compile"
47793 case "(($ac_try" in
47794 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47795 *) ac_try_echo=$ac_try;;
47797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47798 (eval "$ac_compile") 2>conftest.er1
47800 grep -v '^ *+' conftest.er1 >conftest.err
47802 cat conftest.err >&5
47803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47804 (exit $ac_status); } && {
47805 test -z "$ac_c_werror_flag" ||
47806 test ! -s conftest.err
47807 } && test -s conftest.$ac_objext; then
47809 { echo "$as_me:$LINENO: result: yes" >&5
47810 echo "${ECHO_T}yes" >&6; }
47814 echo "$as_me: failed program was:" >&5
47815 sed 's/^/| /' conftest.$ac_ext >&5
47818 cat >conftest.$ac_ext <<_ACEOF
47821 cat confdefs.h >>conftest.$ac_ext
47822 cat >>conftest.$ac_ext <<_ACEOF
47823 /* end confdefs.h. */
47829 #if !defined(__INTEL_COMPILER) || \
47830 (__INTEL_COMPILER < 800)
47831 There is no PCH support
47838 rm -f conftest.$ac_objext
47839 if { (ac_try="$ac_compile"
47840 case "(($ac_try" in
47841 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47842 *) ac_try_echo
=$ac_try;;
47844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47845 (eval "$ac_compile") 2>conftest.er1
47847 grep -v '^ *+' conftest.er1
>conftest.err
47849 cat conftest.err
>&5
47850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47851 (exit $ac_status); } && {
47852 test -z "$ac_c_werror_flag" ||
47853 test ! -s conftest.err
47854 } && test -s conftest.
$ac_objext; then
47856 { echo "$as_me:$LINENO: result: yes" >&5
47857 echo "${ECHO_T}yes" >&6; }
47861 echo "$as_me: failed program was:" >&5
47862 sed 's/^/| /' conftest.
$ac_ext >&5
47865 { echo "$as_me:$LINENO: result: no" >&5
47866 echo "${ECHO_T}no" >&6; }
47870 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47874 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47875 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
47879 cat <<EOF >bk-make-pch
47882 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47883 # script. It is used to generated precompiled headers.
47885 # Permission is given to use this file in any way.
47895 while test ${D}{#} -gt 0; do
47899 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
47900 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
47901 headerfile="${D}{incdir}/${D}{header}"
47904 -use-pch|-use_pch )
47909 if test ${D}add_to_cmdline = 1 ; then
47910 compiler="${D}{compiler} ${D}{1}"
47915 if test "x${D}{headerfile}" = "x" ; then
47916 echo "error: can't find header ${D}{header} in include paths" >&2
47918 if test -f ${D}{outfile} ; then
47919 rm -f ${D}{outfile}
47921 mkdir -p \`dirname ${D}{outfile}\`
47923 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
47925 if test "x${GCC_PCH}" = "x1" ; then
47926 # can do this because gcc is >= 3.4:
47927 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
47928 elif test "x${ICC_PCH}" = "x1" ; then
47929 filename=pch_gen-${D}${D}
47930 file=${D}{filename}.c
47931 dfile=${D}{filename}.d
47932 cat > ${D}file <<EOT
47933 #include "${D}header"
47935 # using -MF icc complains about differing command lines in creation/use
47936 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
47937 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
47938 rm -f ${D}file ${D}dfile ${D}{filename}.o
47944 chmod +x bk
-make-pch
47945 BK_MAKE_PCH
="`pwd`/bk-make-pch"
47954 COND_BUILD_DEBUG
="#"
47955 if test "x$BUILD" = "xdebug" ; then
47956 COND_BUILD_DEBUG
=""
47959 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
47960 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
47961 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
47964 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
47965 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
47966 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
47969 COND_BUILD_DEBUG_UNICODE_0
="#"
47970 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
47971 COND_BUILD_DEBUG_UNICODE_0
=""
47974 COND_BUILD_DEBUG_UNICODE_1
="#"
47975 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
47976 COND_BUILD_DEBUG_UNICODE_1
=""
47979 COND_BUILD_RELEASE
="#"
47980 if test "x$BUILD" = "xrelease" ; then
47981 COND_BUILD_RELEASE
=""
47984 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
47985 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
47986 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
47989 COND_BUILD_RELEASE_UNICODE_0
="#"
47990 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
47991 COND_BUILD_RELEASE_UNICODE_0
=""
47994 COND_BUILD_RELEASE_UNICODE_1
="#"
47995 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
47996 COND_BUILD_RELEASE_UNICODE_1
=""
47999 COND_DEBUG_FLAG_1
="#"
48000 if test "x$DEBUG_FLAG" = "x1" ; then
48001 COND_DEBUG_FLAG_1
=""
48004 COND_DEBUG_INFO_0
="#"
48005 if test "x$DEBUG_INFO" = "x0" ; then
48006 COND_DEBUG_INFO_0
=""
48009 COND_DEBUG_INFO_1
="#"
48010 if test "x$DEBUG_INFO" = "x1" ; then
48011 COND_DEBUG_INFO_1
=""
48014 COND_DEPS_TRACKING_0
="#"
48015 if test "x$DEPS_TRACKING" = "x0" ; then
48016 COND_DEPS_TRACKING_0
=""
48019 COND_DEPS_TRACKING_1
="#"
48020 if test "x$DEPS_TRACKING" = "x1" ; then
48021 COND_DEPS_TRACKING_1
=""
48025 if test "x$GCC_PCH" = "x1" ; then
48030 if test "x$ICC_PCH" = "x1" ; then
48034 COND_MONOLITHIC_0
="#"
48035 if test "x$MONOLITHIC" = "x0" ; then
48036 COND_MONOLITHIC_0
=""
48039 COND_MONOLITHIC_0_SHARED_0
="#"
48040 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
48041 COND_MONOLITHIC_0_SHARED_0
=""
48044 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
48045 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
48046 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
48049 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
48050 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
48051 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
48054 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
48055 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48056 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
48059 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
48060 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48061 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
48064 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
48065 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48066 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
48069 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
48070 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48071 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
48074 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
48075 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
48076 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
48079 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
48080 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48081 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
48084 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
="#"
48085 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
48086 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
=""
48089 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
48090 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48091 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
48094 COND_MONOLITHIC_0_SHARED_1
="#"
48095 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
48096 COND_MONOLITHIC_0_SHARED_1
=""
48099 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
48100 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
48101 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
48104 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
48105 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
48106 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
48109 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
48110 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48111 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
48114 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
48115 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48116 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
48119 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
48120 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48121 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
48124 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
48125 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48126 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
48129 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
48130 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
48131 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
48134 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
48135 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
48136 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
48139 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
="#"
48140 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
48141 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
=""
48144 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
48145 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48146 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
48149 COND_MONOLITHIC_0_USE_AUI_1
="#"
48150 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
48151 COND_MONOLITHIC_0_USE_AUI_1
=""
48154 COND_MONOLITHIC_0_USE_GUI_1
="#"
48155 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
48156 COND_MONOLITHIC_0_USE_GUI_1
=""
48159 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
="#"
48160 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48161 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
=""
48164 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1
="#"
48165 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48166 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1
=""
48169 COND_MONOLITHIC_0_USE_HTML_1
="#"
48170 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
48171 COND_MONOLITHIC_0_USE_HTML_1
=""
48174 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
48175 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
48176 COND_MONOLITHIC_0_USE_MEDIA_1
=""
48179 COND_MONOLITHIC_0_USE_ODBC_1
="#"
48180 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
48181 COND_MONOLITHIC_0_USE_ODBC_1
=""
48184 COND_MONOLITHIC_0_USE_QA_1
="#"
48185 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
48186 COND_MONOLITHIC_0_USE_QA_1
=""
48189 COND_MONOLITHIC_0_USE_RICHTEXT_1
="#"
48190 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48191 COND_MONOLITHIC_0_USE_RICHTEXT_1
=""
48194 COND_MONOLITHIC_0_USE_STC_1
="#"
48195 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
48196 COND_MONOLITHIC_0_USE_STC_1
=""
48199 COND_MONOLITHIC_0_USE_XRC_1
="#"
48200 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
48201 COND_MONOLITHIC_0_USE_XRC_1
=""
48204 COND_MONOLITHIC_1
="#"
48205 if test "x$MONOLITHIC" = "x1" ; then
48206 COND_MONOLITHIC_1
=""
48209 COND_MONOLITHIC_1_SHARED_0
="#"
48210 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
48211 COND_MONOLITHIC_1_SHARED_0
=""
48214 COND_MONOLITHIC_1_SHARED_1
="#"
48215 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
48216 COND_MONOLITHIC_1_SHARED_1
=""
48219 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
48220 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
48221 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
48224 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
48225 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
48226 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
48229 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
48230 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48231 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
48234 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
48235 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48236 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
48239 COND_PLATFORM_MACOSX_1
="#"
48240 if test "x$PLATFORM_MACOSX" = "x1" ; then
48241 COND_PLATFORM_MACOSX_1
=""
48244 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
48245 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
48246 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
48249 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
48250 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
48251 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
48254 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
48255 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
48256 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
48259 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
48260 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
48261 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
48264 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
48265 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48266 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
48269 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
48270 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
48271 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
48274 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
48275 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
48276 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
48279 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
48280 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
48281 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
48284 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
48285 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48286 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
48289 COND_PLATFORM_MACOS_1
="#"
48290 if test "x$PLATFORM_MACOS" = "x1" ; then
48291 COND_PLATFORM_MACOS_1
=""
48294 COND_PLATFORM_MAC_1
="#"
48295 if test "x$PLATFORM_MAC" = "x1" ; then
48296 COND_PLATFORM_MAC_1
=""
48299 COND_PLATFORM_MSDOS_0
="#"
48300 if test "x$PLATFORM_MSDOS" = "x0" ; then
48301 COND_PLATFORM_MSDOS_0
=""
48304 COND_PLATFORM_MSDOS_1
="#"
48305 if test "x$PLATFORM_MSDOS" = "x1" ; then
48306 COND_PLATFORM_MSDOS_1
=""
48309 COND_PLATFORM_OS2_1
="#"
48310 if test "x$PLATFORM_OS2" = "x1" ; then
48311 COND_PLATFORM_OS2_1
=""
48314 COND_PLATFORM_UNIX_0
="#"
48315 if test "x$PLATFORM_UNIX" = "x0" ; then
48316 COND_PLATFORM_UNIX_0
=""
48319 COND_PLATFORM_UNIX_1
="#"
48320 if test "x$PLATFORM_UNIX" = "x1" ; then
48321 COND_PLATFORM_UNIX_1
=""
48324 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
="#"
48325 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
48326 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
=""
48329 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
="#"
48330 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
48331 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
=""
48334 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
48335 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
48336 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
48339 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
48340 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
48341 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
48344 COND_PLATFORM_WIN32_0
="#"
48345 if test "x$PLATFORM_WIN32" = "x0" ; then
48346 COND_PLATFORM_WIN32_0
=""
48349 COND_PLATFORM_WIN32_1
="#"
48350 if test "x$PLATFORM_WIN32" = "x1" ; then
48351 COND_PLATFORM_WIN32_1
=""
48355 if test "x$SHARED" = "x0" ; then
48359 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
48360 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
48361 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
48364 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
48365 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48366 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
48369 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
48370 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
48371 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
48374 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
48375 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48376 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
48379 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
48380 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48381 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
48384 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
48385 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48386 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
48389 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
48390 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48391 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
48394 COND_SHARED_0_USE_STC_1
="#"
48395 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
48396 COND_SHARED_0_USE_STC_1
=""
48399 COND_SHARED_0_USE_XRC_1
="#"
48400 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48401 COND_SHARED_0_USE_XRC_1
=""
48404 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
48405 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
48406 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
48409 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
48410 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
48411 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
48414 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
48415 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
48416 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
48419 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
48420 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
48421 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
48425 if test "x$SHARED" = "x1" ; then
48429 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
48430 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48431 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
48434 COND_SHARED_1_USE_XRC_1
="#"
48435 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48436 COND_SHARED_1_USE_XRC_1
=""
48440 if test "x$TOOLKIT" = "x" ; then
48444 COND_TOOLKIT_COCOA
="#"
48445 if test "x$TOOLKIT" = "xCOCOA" ; then
48446 COND_TOOLKIT_COCOA
=""
48449 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
48450 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
48451 COND_TOOLKIT_COCOA_USE_GUI_1
=""
48454 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
48455 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48456 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
48459 COND_TOOLKIT_DFB
="#"
48460 if test "x$TOOLKIT" = "xDFB" ; then
48461 COND_TOOLKIT_DFB
=""
48464 COND_TOOLKIT_DFB_USE_GUI_1
="#"
48465 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
48466 COND_TOOLKIT_DFB_USE_GUI_1
=""
48469 COND_TOOLKIT_GTK
="#"
48470 if test "x$TOOLKIT" = "xGTK" ; then
48471 COND_TOOLKIT_GTK
=""
48474 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
48475 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
48476 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
48479 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
48480 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
48481 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
48484 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
48485 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
48486 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
48489 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
48490 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48491 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
48494 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
48495 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
48496 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
48499 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
48500 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48501 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
48504 COND_TOOLKIT_GTK_USE_GUI_1
="#"
48505 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
48506 COND_TOOLKIT_GTK_USE_GUI_1
=""
48509 COND_TOOLKIT_MAC
="#"
48510 if test "x$TOOLKIT" = "xMAC" ; then
48511 COND_TOOLKIT_MAC
=""
48514 COND_TOOLKIT_MAC_USE_GUI_1
="#"
48515 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48516 COND_TOOLKIT_MAC_USE_GUI_1
=""
48519 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
48520 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48521 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
48524 COND_TOOLKIT_MGL
="#"
48525 if test "x$TOOLKIT" = "xMGL" ; then
48526 COND_TOOLKIT_MGL
=""
48529 COND_TOOLKIT_MGL_USE_GUI_1
="#"
48530 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
48531 COND_TOOLKIT_MGL_USE_GUI_1
=""
48534 COND_TOOLKIT_MOTIF
="#"
48535 if test "x$TOOLKIT" = "xMOTIF" ; then
48536 COND_TOOLKIT_MOTIF
=""
48539 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
48540 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
48541 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
48544 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
48545 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48546 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
48549 COND_TOOLKIT_MSW
="#"
48550 if test "x$TOOLKIT" = "xMSW" ; then
48551 COND_TOOLKIT_MSW
=""
48554 COND_TOOLKIT_MSW_USE_GUI_1
="#"
48555 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
48556 COND_TOOLKIT_MSW_USE_GUI_1
=""
48559 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
48560 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48561 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
48564 COND_TOOLKIT_MSW_WXUNIV_0
="#"
48565 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48566 COND_TOOLKIT_MSW_WXUNIV_0
=""
48569 COND_TOOLKIT_PM
="#"
48570 if test "x$TOOLKIT" = "xPM" ; then
48574 COND_TOOLKIT_PM_USE_GUI_1
="#"
48575 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
48576 COND_TOOLKIT_PM_USE_GUI_1
=""
48579 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
48580 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48581 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
48584 COND_TOOLKIT_WINCE
="#"
48585 if test "x$TOOLKIT" = "xWINCE" ; then
48586 COND_TOOLKIT_WINCE
=""
48589 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
48590 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
48591 COND_TOOLKIT_WINCE_USE_GUI_1
=""
48594 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
48595 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48596 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
48599 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
48600 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
48601 COND_TOOLKIT_WINCE_WXUNIV_0
=""
48604 COND_TOOLKIT_X11
="#"
48605 if test "x$TOOLKIT" = "xX11" ; then
48606 COND_TOOLKIT_X11
=""
48609 COND_TOOLKIT_X11_USE_GUI_1
="#"
48610 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
48611 COND_TOOLKIT_X11_USE_GUI_1
=""
48615 if test "x$UNICODE" = "x1" ; then
48619 COND_USE_EXCEPTIONS_0
="#"
48620 if test "x$USE_EXCEPTIONS" = "x0" ; then
48621 COND_USE_EXCEPTIONS_0
=""
48624 COND_USE_EXCEPTIONS_1
="#"
48625 if test "x$USE_EXCEPTIONS" = "x1" ; then
48626 COND_USE_EXCEPTIONS_1
=""
48630 if test "x$USE_GUI" = "x0" ; then
48635 if test "x$USE_GUI" = "x1" ; then
48639 COND_USE_GUI_1_USE_OPENGL_1
="#"
48640 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48641 COND_USE_GUI_1_USE_OPENGL_1
=""
48644 COND_USE_GUI_1_WXUNIV_0
="#"
48645 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48646 COND_USE_GUI_1_WXUNIV_0
=""
48649 COND_USE_GUI_1_WXUNIV_1
="#"
48650 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
48651 COND_USE_GUI_1_WXUNIV_1
=""
48654 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
48655 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48656 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
48659 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
48660 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48661 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
48664 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
48665 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48666 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
48669 COND_USE_ODBC_1
="#"
48670 if test "x$USE_ODBC" = "x1" ; then
48674 COND_USE_OPENGL_1
="#"
48675 if test "x$USE_OPENGL" = "x1" ; then
48676 COND_USE_OPENGL_1
=""
48680 if test "x$USE_PCH" = "x1" ; then
48684 COND_USE_PLUGINS_0
="#"
48685 if test "x$USE_PLUGINS" = "x0" ; then
48686 COND_USE_PLUGINS_0
=""
48689 COND_USE_RTTI_0
="#"
48690 if test "x$USE_RTTI" = "x0" ; then
48694 COND_USE_RTTI_1
="#"
48695 if test "x$USE_RTTI" = "x1" ; then
48699 COND_USE_SOSYMLINKS_1
="#"
48700 if test "x$USE_SOSYMLINKS" = "x1" ; then
48701 COND_USE_SOSYMLINKS_1
=""
48704 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
48705 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48706 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
48709 COND_USE_SOVERLINUX_1
="#"
48710 if test "x$USE_SOVERLINUX" = "x1" ; then
48711 COND_USE_SOVERLINUX_1
=""
48714 COND_USE_SOVERSION_0
="#"
48715 if test "x$USE_SOVERSION" = "x0" ; then
48716 COND_USE_SOVERSION_0
=""
48719 COND_USE_SOVERSOLARIS_1
="#"
48720 if test "x$USE_SOVERSOLARIS" = "x1" ; then
48721 COND_USE_SOVERSOLARIS_1
=""
48725 if test "x$USE_STC" = "x1" ; then
48729 COND_USE_THREADS_0
="#"
48730 if test "x$USE_THREADS" = "x0" ; then
48731 COND_USE_THREADS_0
=""
48734 COND_USE_THREADS_1
="#"
48735 if test "x$USE_THREADS" = "x1" ; then
48736 COND_USE_THREADS_1
=""
48740 if test "x$USE_XRC" = "x1" ; then
48744 COND_WINDOWS_IMPLIB_1
="#"
48745 if test "x$WINDOWS_IMPLIB" = "x1" ; then
48746 COND_WINDOWS_IMPLIB_1
=""
48749 COND_WITH_PLUGIN_SDL_1
="#"
48750 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
48751 COND_WITH_PLUGIN_SDL_1
=""
48755 if test "x$WXUNIV" = "x0" ; then
48760 if test "x$WXUNIV" = "x1" ; then
48764 COND_WXUSE_EXPAT_BUILTIN
="#"
48765 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
48766 COND_WXUSE_EXPAT_BUILTIN
=""
48769 COND_WXUSE_LIBJPEG_BUILTIN
="#"
48770 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48771 COND_WXUSE_LIBJPEG_BUILTIN
=""
48774 COND_WXUSE_LIBPNG_BUILTIN
="#"
48775 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48776 COND_WXUSE_LIBPNG_BUILTIN
=""
48779 COND_WXUSE_LIBTIFF_BUILTIN
="#"
48780 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48781 COND_WXUSE_LIBTIFF_BUILTIN
=""
48784 COND_WXUSE_ODBC_BUILTIN
="#"
48785 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
48786 COND_WXUSE_ODBC_BUILTIN
=""
48789 COND_WXUSE_REGEX_BUILTIN
="#"
48790 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
48791 COND_WXUSE_REGEX_BUILTIN
=""
48794 COND_WXUSE_ZLIB_BUILTIN
="#"
48795 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
48796 COND_WXUSE_ZLIB_BUILTIN
=""
48801 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
48802 { { 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
48803 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;}
48804 { (exit 1); exit 1; }; }
48807 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
48808 { { 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
48809 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;}
48810 { (exit 1); exit 1; }; }
48814 if test $GCC_PCH = 1
48816 if test "$wx_cv_gcc_pch_bug" = yes; then
48817 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
48818 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
48819 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
48820 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
48821 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
48822 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
48825 CPPFLAGS
="-DWX_PRECOMP $CPPFLAGS"
48829 if test "$wxUSE_MAC" = 1 ; then
48830 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
48831 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
48837 if test "$wxUSE_SHARED" = "yes"; then
48839 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
48840 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
48843 *-pc-os2_emx | *-pc-os2-emx )
48844 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48845 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48846 cp -p ${srcdir}/src
/os
2/dllnames.sh .
48847 cp -p ${srcdir}/src
/os
2/dllar.sh .
48852 EXE_LINKER
="$CXX -o"
48855 if test "$wxUSE_OMF" = "yes"; then
48857 *-pc-os2_emx | *-pc-os2-emx )
48858 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
48859 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
48860 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
48865 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
48867 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
48929 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
48930 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
48931 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
48932 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
48933 echo $ECHO_N "(cached) $ECHO_C" >&6
48935 cat >conftest.
make <<\_ACEOF
48938 @
echo '@@@%%%=$(MAKE)=@@@%%%'
48940 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
48941 case `${MAKE-make} -f conftest.make 2>/dev/null` in
48942 *@@@
%%%=?
*=@@@
%%%*)
48943 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
48945 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
48947 rm -f conftest.
make
48949 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
48950 { echo "$as_me:$LINENO: result: yes" >&5
48951 echo "${ECHO_T}yes" >&6; }
48954 { echo "$as_me:$LINENO: result: no" >&5
48955 echo "${ECHO_T}no" >&6; }
48956 SET_MAKE
="MAKE=${MAKE-make}"
48961 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
48964 if test "$USE_WIN32" = 1; then
48965 ac_config_commands
="$ac_config_commands
48971 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
48974 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
48977 if test "$wx_cv_version_script" = "yes"; then
48978 ac_config_files
="$ac_config_files version-script"
48981 ac_config_files
="$ac_config_files Makefile"
48984 ac_config_commands
="$ac_config_commands wx-config"
48988 if test "$wxWITH_SUBDIRS" != "no"; then
48989 if test "$wxUSE_GUI" = "yes"; then
48990 SUBDIRS
="samples demos utils"
48991 else SUBDIRS
="samples utils"
48996 # Check whether --with-cppunit-prefix was given.
48997 if test "${with_cppunit_prefix+set}" = set; then
48998 withval
=$with_cppunit_prefix; cppunit_config_prefix
="$withval"
49000 cppunit_config_prefix
=""
49004 # Check whether --with-cppunit-exec-prefix was given.
49005 if test "${with_cppunit_exec_prefix+set}" = set; then
49006 withval
=$with_cppunit_exec_prefix; cppunit_config_exec_prefix
="$withval"
49008 cppunit_config_exec_prefix
=""
49012 if test x
$cppunit_config_exec_prefix != x
; then
49013 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
49014 if test x
${CPPUNIT_CONFIG+set} != xset
; then
49015 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
49018 if test x
$cppunit_config_prefix != x
; then
49019 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
49020 if test x
${CPPUNIT_CONFIG+set} != xset
; then
49021 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
49025 # Extract the first word of "cppunit-config", so it can be a program name with args.
49026 set dummy cppunit
-config; ac_word
=$2
49027 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49028 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49029 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
49030 echo $ECHO_N "(cached) $ECHO_C" >&6
49032 case $CPPUNIT_CONFIG in
49034 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
49037 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49038 for as_dir
in $PATH
49041 test -z "$as_dir" && as_dir
=.
49042 for ac_exec_ext
in '' $ac_executable_extensions; do
49043 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49044 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
49045 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49052 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
49056 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
49057 if test -n "$CPPUNIT_CONFIG"; then
49058 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
49059 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
49061 { echo "$as_me:$LINENO: result: no" >&5
49062 echo "${ECHO_T}no" >&6; }
49066 cppunit_version_min
=1.8.0
49068 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
49069 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
49071 if test "$CPPUNIT_CONFIG" = "no" ; then
49072 { echo "$as_me:$LINENO: result: no" >&5
49073 echo "${ECHO_T}no" >&6; }
49076 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
49077 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
49078 cppunit_version
=`$CPPUNIT_CONFIG --version`
49080 cppunit_major_version
=`echo $cppunit_version | \
49081 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49082 cppunit_minor_version
=`echo $cppunit_version | \
49083 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49084 cppunit_micro_version
=`echo $cppunit_version | \
49085 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49087 cppunit_major_min
=`echo $cppunit_version_min | \
49088 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49089 cppunit_minor_min
=`echo $cppunit_version_min | \
49090 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49091 cppunit_micro_min
=`echo $cppunit_version_min | \
49092 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49094 cppunit_version_proper
=`expr \
49095 $cppunit_major_version \> $cppunit_major_min \| \
49096 $cppunit_major_version \= $cppunit_major_min \& \
49097 $cppunit_minor_version \> $cppunit_minor_min \| \
49098 $cppunit_major_version \= $cppunit_major_min \& \
49099 $cppunit_minor_version \= $cppunit_minor_min \& \
49100 $cppunit_micro_version \>= $cppunit_micro_min `
49102 if test "$cppunit_version_proper" = "1" ; then
49103 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
49104 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
49106 { echo "$as_me:$LINENO: result: no" >&5
49107 echo "${ECHO_T}no" >&6; }
49112 if test "x$no_cppunit" = x
; then
49113 SUBDIRS
="$SUBDIRS tests"
49124 for subdir
in `echo $SUBDIRS`; do
49125 if test -d ${srcdir}/${subdir} ; then
49126 if test "$wxUSE_GUI" = "yes"; then
49127 if test ${subdir} = "samples"; then
49128 makefiles
="samples/Makefile.in $makefiles"
49129 for sample
in `echo $SAMPLES_SUBDIRS`; do
49130 if test -d $srcdir/samples
/$sample; then
49131 makefiles
="samples/$sample/Makefile.in $makefiles"
49135 disabled_var
=DISABLED_
`echo $subdir | tr [a-z] [A-Z]`;
49136 eval "disabled=\$$disabled_var"
49137 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
49138 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
49140 else if test ${subdir} = "samples"; then
49141 makefiles
="samples/Makefile.in samples/console/Makefile.in"
49142 elif test ${subdir} = "utils"; then
49144 for util
in HelpGen tex2rtf
; do
49145 if test -d $srcdir/utils
/$util ; then
49146 makefiles
="utils/$util/Makefile.in \
49147 utils/$util/src/Makefile.in \
49151 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
49155 for mkin
in $makefiles ; do
49156 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
49157 ac_config_files
="$ac_config_files $mk"
49163 cat >confcache
<<\_ACEOF
49164 # This file is a shell script that caches the results of configure
49165 # tests run on this system so they can be shared between configure
49166 # scripts and configure runs, see configure's option --config-cache.
49167 # It is not useful on other systems. If it contains results you don't
49168 # want to keep, you may remove or edit it.
49170 # config.status only pays attention to the cache file if you give it
49171 # the --recheck option to rerun configure.
49173 # `ac_cv_env_foo' variables (set or unset) will be overridden when
49174 # loading this file, other *unset* `ac_cv_foo' will be assigned the
49175 # following values.
49179 # The following way of writing the cache mishandles newlines in values,
49180 # but we know of no workaround that is simple, portable, and efficient.
49181 # So, we kill variables containing newlines.
49182 # Ultrix sh set writes to stderr and can't be redirected directly,
49183 # and sets the high bit in the cache file unless we assign to the vars.
49185 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
49186 eval ac_val
=\$
$ac_var
49190 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
49191 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
49194 _
| IFS
| as_nl
) ;; #(
49195 *) $as_unset $ac_var ;;
49201 case $as_nl`(ac_space=' '; set) 2>&1` in #(
49202 *${as_nl}ac_space
=\
*)
49203 # `set' does not quote correctly, so add quotes (double-quote
49204 # substitution turns \\\\ into \\, and sed turns \\ into \).
49207 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
49210 # `set' quotes correctly as required by POSIX, so do not add quotes.
49211 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
49220 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
49222 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
49224 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
49225 if test -w "$cache_file"; then
49226 test "x$cache_file" != "x/dev/null" &&
49227 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
49228 echo "$as_me: updating cache $cache_file" >&6;}
49229 cat confcache
>$cache_file
49231 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
49232 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
49237 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
49238 # Let make expand exec_prefix.
49239 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
49241 DEFS
=-DHAVE_CONFIG_H
49245 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
49246 # 1. Remove the extension, and $U if already installed.
49247 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
49248 ac_i
=`echo "$ac_i" | sed "$ac_script"`
49249 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
49250 # will be set to the directory where LIBOBJS objects are built.
49251 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
49252 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
49254 LIBOBJS
=$ac_libobjs
49256 LTLIBOBJS
=$ac_ltlibobjs
49260 : ${CONFIG_STATUS=./config.status}
49261 ac_clean_files_save
=$ac_clean_files
49262 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
49263 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
49264 echo "$as_me: creating $CONFIG_STATUS" >&6;}
49265 cat >$CONFIG_STATUS <<_ACEOF
49267 # Generated by $as_me.
49268 # Run this file to recreate the current configuration.
49269 # Compiler output produced by configure, useful for debugging
49270 # configure, is in config.log if it exists.
49273 ac_cs_recheck=false
49275 SHELL=\${CONFIG_SHELL-$SHELL}
49278 cat >>$CONFIG_STATUS <<\_ACEOF
49279 ## --------------------- ##
49280 ## M4sh Initialization. ##
49281 ## --------------------- ##
49283 # Be more Bourne compatible
49284 DUALCASE
=1; export DUALCASE
# for MKS sh
49285 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
49288 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
49289 # is contrary to our usage. Disable this feature.
49290 alias -g '${1+"$@"}'='"$@"'
49291 setopt NO_GLOB_SUBST
49293 case `(set -o) 2>/dev/null` in
49294 *posix
*) set -o posix
;;
49303 # Avoid depending upon Character Ranges.
49304 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
49305 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
49306 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
49307 as_cr_digits
='0123456789'
49308 as_cr_alnum
=$as_cr_Letters$as_cr_digits
49310 # The user is always right.
49311 if test "${PATH_SEPARATOR+set}" != set; then
49312 echo "#! /bin/sh" >conf$$.sh
49313 echo "exit 0" >>conf$$.sh
49315 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
49323 # Support unset when possible.
49324 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
49332 # We need space, tab and new line, in precisely that order. Quoting is
49333 # there to prevent editors from complaining about space-tab.
49334 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
49335 # splitting by setting IFS to empty value.)
49340 # Find who we are. Look in the path if we contain no directory separator.
49342 *[\\/]* ) as_myself
=$0 ;;
49343 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49344 for as_dir
in $PATH
49347 test -z "$as_dir" && as_dir
=.
49348 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
49354 # We did not find ourselves, most probably we were run as `sh COMMAND'
49355 # in which case we are not to be found in the path.
49356 if test "x$as_myself" = x
; then
49359 if test ! -f "$as_myself"; then
49360 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
49361 { (exit 1); exit 1; }
49364 # Work around bugs in pre-3.0 UWIN ksh.
49365 for as_var
in ENV MAIL MAILPATH
49366 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
49374 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
49375 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
49376 LC_TELEPHONE LC_TIME
49378 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
49379 eval $as_var=C
; export $as_var
49381 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
49385 # Required to use basename.
49386 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
49387 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
49393 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
49394 as_basename
=basename
49400 # Name of the executable.
49401 as_me
=`$as_basename -- "$0" ||
49402 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
49403 X"$0" : 'X\(//\)$' \| \
49404 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
49406 sed '/^.*\/\([^/][^/]*\)\/*$/{
49425 as_lineno_1
=$LINENO
49426 as_lineno_2
=$LINENO
49427 test "x$as_lineno_1" != "x$as_lineno_2" &&
49428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
49430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
49431 # uniformly replaced by the line number. The first 'sed' inserts a
49432 # line-number line after each line using $LINENO; the second 'sed'
49433 # does the real work. The second script uses 'N' to pair each
49434 # line-number line with the line containing $LINENO, and appends
49435 # trailing '-' during substitution so that $LINENO is not a special
49436 # case at line end.
49437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
49438 # scripts with optimization help from Paolo Bonzini. Blame Lee
49439 # E. McMahon (1931-1989) for sed's syntax. :-)
49451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
49454 ' >$as_me.lineno
&&
49455 chmod +x
"$as_me.lineno" ||
49456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
49457 { (exit 1); exit 1; }; }
49459 # Don't try to exec as it changes $[0], causing all sort of problems
49460 # (the dirname of $[0] is not the place where we might find the
49461 # original and so on. Autoconf is especially sensitive to this).
49462 .
"./$as_me.lineno"
49463 # Exit status is that of the last command.
49468 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
49474 ECHO_C
= ECHO_N
= ECHO_T
=
49475 case `echo -n x` in
49477 case `echo 'x\c'` in
49478 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
49485 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
49486 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
49492 rm -f conf$$ conf$$.exe conf$$.
file
49493 if test -d conf$$.dir
; then
49494 rm -f conf$$.dir
/conf$$.
file
49500 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
49502 # ... but there are two gotchas:
49503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
49504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
49505 # In both cases, we have to default to `cp -p'.
49506 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
49508 elif ln conf$$.
file conf$$
2>/dev
/null
; then
49513 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
49514 rmdir conf$$.dir
2>/dev
/null
49516 if mkdir -p .
2>/dev
/null
; then
49519 test -d .
/-p && rmdir .
/-p
49523 if test -x / >/dev
/null
2>&1; then
49524 as_test_x
='test -x'
49526 if ls -dL / >/dev
/null
2>&1; then
49533 if test -d "$1"; then
49539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
49540 ???[sx]*):;;*)false;;esac;fi
49544 as_executable_p
=$as_test_x
49546 # Sed expression to map a string onto a valid CPP name.
49547 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
49549 # Sed expression to map a string onto a valid variable name.
49550 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
49555 # Save the log message, to keep $[0] and so on meaningful, and to
49556 # report actual input values of CONFIG_FILES etc. instead of their
49557 # values after options handling.
49559 This file was extended by wxWidgets $as_me 2.9.0, which was
49560 generated by GNU Autoconf 2.61. Invocation command line was
49562 CONFIG_FILES = $CONFIG_FILES
49563 CONFIG_HEADERS = $CONFIG_HEADERS
49564 CONFIG_LINKS = $CONFIG_LINKS
49565 CONFIG_COMMANDS = $CONFIG_COMMANDS
49568 on `(hostname || uname -n) 2>/dev/null | sed 1q`
49573 cat >>$CONFIG_STATUS <<_ACEOF
49574 # Files that config.status was made for.
49575 config_files="$ac_config_files"
49576 config_headers="$ac_config_headers"
49577 config_commands="$ac_config_commands"
49581 cat >>$CONFIG_STATUS <<\_ACEOF
49583 \`$as_me' instantiates files from templates according to the
49584 current configuration.
49586 Usage: $0 [OPTIONS] [FILE]...
49588 -h, --help print this help, then exit
49589 -V, --version print version number and configuration settings, then exit
49590 -q, --quiet do not print progress messages
49591 -d, --debug don't remove temporary files
49592 --recheck update $as_me by reconfiguring in the same conditions
49593 --file=FILE[:TEMPLATE]
49594 instantiate the configuration file FILE
49595 --header=FILE[:TEMPLATE]
49596 instantiate the configuration header FILE
49598 Configuration files:
49601 Configuration headers:
49604 Configuration commands:
49607 Report bugs to <bug-autoconf@gnu.org>."
49610 cat >>$CONFIG_STATUS <<_ACEOF
49612 wxWidgets config.status 2.9.0
49613 configured by $0, generated by GNU Autoconf 2.61,
49614 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
49616 Copyright (C) 2006 Free Software Foundation, Inc.
49617 This config.status script is free software; the Free Software Foundation
49618 gives unlimited permission to copy, distribute and modify it."
49625 cat >>$CONFIG_STATUS <<\_ACEOF
49626 # If no file are specified by the user, then we need to provide default
49627 # value. By we need to know if files were specified by the user.
49633 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
49634 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
49645 # Handling of the options.
49646 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
49648 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
49649 echo "$ac_cs_version"; exit ;;
49650 --debug | --debu | --deb | --de | --d | -d )
49652 --file | --fil | --fi | --f )
49654 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
49655 ac_need_defaults
=false
;;
49656 --header | --heade | --head | --hea )
49658 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
49659 ac_need_defaults
=false
;;
49661 # Conflict between --help and --header
49662 { echo "$as_me: error: ambiguous option: $1
49663 Try \`$0 --help' for more information." >&2
49664 { (exit 1); exit 1; }; };;
49665 --help | --hel | -h )
49666 echo "$ac_cs_usage"; exit ;;
49667 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
49668 | -silent | --silent | --silen | --sile | --sil | --si | --s)
49671 # This is an error.
49672 -*) { echo "$as_me: error: unrecognized option: $1
49673 Try \`$0 --help' for more information." >&2
49674 { (exit 1); exit 1; }; } ;;
49676 *) ac_config_targets
="$ac_config_targets $1"
49677 ac_need_defaults
=false
;;
49683 ac_configure_extra_args
=
49685 if $ac_cs_silent; then
49687 ac_configure_extra_args
="$ac_configure_extra_args --silent"
49691 cat >>$CONFIG_STATUS <<_ACEOF
49692 if \$ac_cs_recheck; then
49693 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
49694 CONFIG_SHELL=$SHELL
49695 export CONFIG_SHELL
49696 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
49700 cat >>$CONFIG_STATUS <<\_ACEOF
49704 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
49705 ## Running $as_me. ##
49711 cat >>$CONFIG_STATUS <<_ACEOF
49717 infile="$srcdir/include/wx/msw/genrcdefs.h"
49718 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
49721 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49722 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49723 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49729 cat >>$CONFIG_STATUS <<\_ACEOF
49731 # Handling of arguments.
49732 for ac_config_target
in $ac_config_targets
49734 case $ac_config_target in
49735 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
49736 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
49737 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
49738 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
49739 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
49740 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
49741 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
49742 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
49744 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
49745 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
49746 { (exit 1); exit 1; }; };;
49751 # If the user did not use the arguments to specify the items to instantiate,
49752 # then the envvar interface is used. Set only those that are not.
49753 # We use the long form for the default assignment because of an extremely
49754 # bizarre bug on SunOS 4.1.3.
49755 if $ac_need_defaults; then
49756 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
49757 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
49758 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
49761 # Have a temporary directory for convenience. Make it in the build tree
49762 # simply because there is no reason against having it here, and in addition,
49763 # creating and moving files from /tmp can sometimes cause problems.
49764 # Hook for its removal unless debugging.
49765 # Note that there is a small window in which the directory will not be cleaned:
49766 # after its creation but before its name has been assigned to `$tmp'.
49770 trap 'exit_status=$?
49771 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
49773 trap '{ (exit 1); exit 1; }' 1 2 13 15
49775 # Create a (secure) tmp directory for tmp files.
49778 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
49779 test -n "$tmp" && test -d "$tmp"
49782 tmp
=.
/conf$$
-$RANDOM
49783 (umask 077 && mkdir "$tmp")
49786 echo "$me: cannot create a temporary directory in ." >&2
49787 { (exit 1); exit 1; }
49791 # Set up the sed scripts for CONFIG_FILES section.
49794 # No need to generate the scripts if there are no CONFIG_FILES.
49795 # This happens for instance when ./config.status config.h
49796 if test -n "$CONFIG_FILES"; then
49803 for ac_last_try
in false false false false false
:; do
49804 cat >conf$
$subs.
sed <<_ACEOF
49805 SHELL!$SHELL$ac_delim
49806 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
49807 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
49808 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
49809 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
49810 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
49811 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
49812 exec_prefix!$exec_prefix$ac_delim
49813 prefix!$prefix$ac_delim
49814 program_transform_name!$program_transform_name$ac_delim
49815 bindir!$bindir$ac_delim
49816 sbindir!$sbindir$ac_delim
49817 libexecdir!$libexecdir$ac_delim
49818 datarootdir!$datarootdir$ac_delim
49819 datadir!$datadir$ac_delim
49820 sysconfdir!$sysconfdir$ac_delim
49821 sharedstatedir!$sharedstatedir$ac_delim
49822 localstatedir!$localstatedir$ac_delim
49823 includedir!$includedir$ac_delim
49824 oldincludedir!$oldincludedir$ac_delim
49825 docdir!$docdir$ac_delim
49826 infodir!$infodir$ac_delim
49827 htmldir!$htmldir$ac_delim
49828 dvidir!$dvidir$ac_delim
49829 pdfdir!$pdfdir$ac_delim
49830 psdir!$psdir$ac_delim
49831 libdir!$libdir$ac_delim
49832 localedir!$localedir$ac_delim
49833 mandir!$mandir$ac_delim
49834 DEFS!$DEFS$ac_delim
49835 ECHO_C!$ECHO_C$ac_delim
49836 ECHO_N!$ECHO_N$ac_delim
49837 ECHO_T!$ECHO_T$ac_delim
49838 LIBS!$LIBS$ac_delim
49839 build_alias!$build_alias$ac_delim
49840 host_alias!$host_alias$ac_delim
49841 target_alias!$target_alias$ac_delim
49842 build!$build$ac_delim
49843 build_cpu!$build_cpu$ac_delim
49844 build_vendor!$build_vendor$ac_delim
49845 build_os!$build_os$ac_delim
49846 host!$host$ac_delim
49847 host_cpu!$host_cpu$ac_delim
49848 host_vendor!$host_vendor$ac_delim
49849 host_os!$host_os$ac_delim
49850 target!$target$ac_delim
49851 target_cpu!$target_cpu$ac_delim
49852 target_vendor!$target_vendor$ac_delim
49853 target_os!$target_os$ac_delim
49854 wx_top_builddir!$wx_top_builddir$ac_delim
49856 CFLAGS!$CFLAGS$ac_delim
49857 LDFLAGS!$LDFLAGS$ac_delim
49858 CPPFLAGS!$CPPFLAGS$ac_delim
49859 ac_ct_CC!$ac_ct_CC$ac_delim
49860 EXEEXT!$EXEEXT$ac_delim
49861 OBJEXT!$OBJEXT$ac_delim
49863 GREP!$GREP$ac_delim
49864 EGREP!$EGREP$ac_delim
49866 CXXFLAGS!$CXXFLAGS$ac_delim
49867 ac_ct_CXX!$ac_ct_CXX$ac_delim
49868 RANLIB!$RANLIB$ac_delim
49870 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
49871 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
49872 INSTALL_DATA!$INSTALL_DATA$ac_delim
49873 STRIP!$STRIP$ac_delim
49874 WINDRES!$WINDRES$ac_delim
49875 DLLTOOL!$DLLTOOL$ac_delim
49876 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
49877 LN_S!$LN_S$ac_delim
49878 subdirs!$subdirs$ac_delim
49879 PKG_CONFIG!$PKG_CONFIG$ac_delim
49880 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
49881 GTK_LIBS!$GTK_LIBS$ac_delim
49882 GTK_CONFIG!$GTK_CONFIG$ac_delim
49883 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
49884 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
49885 XMKMF!$XMKMF$ac_delim
49886 X_CFLAGS!$X_CFLAGS$ac_delim
49887 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
49888 X_LIBS!$X_LIBS$ac_delim
49889 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
49890 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
49891 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
49892 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
49893 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
49894 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
49895 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
49897 DEREZ!$DEREZ$ac_delim
49898 SETFILE!$SETFILE$ac_delim
49899 LIBICONV!$LIBICONV$ac_delim
49900 SDL_CONFIG!$SDL_CONFIG$ac_delim
49901 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
49904 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
49906 elif $ac_last_try; then
49907 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
49908 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
49909 { (exit 1); exit 1; }; }
49911 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
49915 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
49916 if test -n "$ac_eof"; then
49917 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
49918 ac_eof
=`expr $ac_eof + 1`
49921 cat >>$CONFIG_STATUS <<_ACEOF
49922 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
49923 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
49926 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
49927 s/^/s,@/; s/!/@,|#_!!_#|/
49930 s/'"$ac_delim"'$/,g/; t
49932 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
49933 ' >>$CONFIG_STATUS <conf$
$subs.
sed
49934 rm -f conf$
$subs.
sed
49935 cat >>$CONFIG_STATUS <<_ACEOF
49941 for ac_last_try
in false false false false false
:; do
49942 cat >conf$
$subs.
sed <<_ACEOF
49943 SDL_LIBS!$SDL_LIBS$ac_delim
49944 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
49945 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
49946 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
49947 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
49948 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
49949 HILDON_LIBS!$HILDON_LIBS$ac_delim
49950 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
49951 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
49952 GST_CFLAGS!$GST_CFLAGS$ac_delim
49953 GST_LIBS!$GST_LIBS$ac_delim
49954 CORE_BASE_LIBS!$CORE_BASE_LIBS$ac_delim
49955 CORE_GUI_LIBS!$CORE_GUI_LIBS$ac_delim
49956 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
49957 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
49958 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
49959 wxUSE_ODBC!$wxUSE_ODBC$ac_delim
49960 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
49961 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
49962 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
49963 VENDOR!$VENDOR$ac_delim
49964 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
49965 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
49966 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
49967 WXUNIV!$WXUNIV$ac_delim
49968 MONOLITHIC!$MONOLITHIC$ac_delim
49969 USE_PLUGINS!$USE_PLUGINS$ac_delim
49970 CXXWARNINGS!$CXXWARNINGS$ac_delim
49971 EXTRALIBS!$EXTRALIBS$ac_delim
49972 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
49973 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
49974 EXTRALIBS_ODBC!$EXTRALIBS_ODBC$ac_delim
49975 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
49976 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
49977 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
49978 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
49979 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
49980 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
49981 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
49982 UNICODE!$UNICODE$ac_delim
49983 BUILD!$BUILD$ac_delim
49984 DEBUG_INFO!$DEBUG_INFO$ac_delim
49985 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
49986 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
49987 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
49988 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
49989 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
49990 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
49991 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
49992 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
49993 SET_MAKE!$SET_MAKE$ac_delim
49994 MAKE_SET!$MAKE_SET$ac_delim
49995 AROPTIONS!$AROPTIONS$ac_delim
49997 INSTALL_DIR!$INSTALL_DIR$ac_delim
49998 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
49999 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
50000 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
50001 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
50002 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
50003 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
50004 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
50005 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
50006 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
50007 SO_SUFFIX!$SO_SUFFIX$ac_delim
50008 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
50009 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
50010 LIBPREFIX!$LIBPREFIX$ac_delim
50011 LIBEXT!$LIBEXT$ac_delim
50012 DLLPREFIX!$DLLPREFIX$ac_delim
50013 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
50014 dlldir!$dlldir$ac_delim
50015 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
50016 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
50017 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
50018 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
50019 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
50020 PIC_FLAG!$PIC_FLAG$ac_delim
50021 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
50022 USE_SOVERSION!$USE_SOVERSION$ac_delim
50023 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
50024 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
50025 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
50026 USE_MACVERSION!$USE_MACVERSION$ac_delim
50027 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
50028 SONAME_FLAG!$SONAME_FLAG$ac_delim
50029 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
50030 BK_DEPS!$BK_DEPS$ac_delim
50031 GCC_PCH!$GCC_PCH$ac_delim
50032 ICC_PCH!$ICC_PCH$ac_delim
50033 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
50034 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
50035 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
50036 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
50037 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
50038 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
50039 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
50042 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50044 elif $ac_last_try; then
50045 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50046 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50047 { (exit 1); exit 1; }; }
50049 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
50053 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50054 if test -n "$ac_eof"; then
50055 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
50056 ac_eof
=`expr $ac_eof + 1`
50059 cat >>$CONFIG_STATUS <<_ACEOF
50060 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
50061 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50064 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50065 s/^/s,@/; s/!/@,|#_!!_#|/
50068 s/'"$ac_delim"'$/,g/; t
50070 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50071 ' >>$CONFIG_STATUS <conf$
$subs.
sed
50072 rm -f conf$
$subs.
sed
50073 cat >>$CONFIG_STATUS <<_ACEOF
50079 for ac_last_try
in false false false false false
:; do
50080 cat >conf$
$subs.
sed <<_ACEOF
50081 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
50082 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
50083 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
50084 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
50085 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
50086 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
50087 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
50088 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
50089 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
50090 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
50091 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
50092 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
50093 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
50094 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
50095 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
50096 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
50097 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1$ac_delim
50098 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
50099 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1$ac_delim
50100 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
50101 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
50102 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
50103 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
50104 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
50105 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
50106 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
50107 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
50108 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1$ac_delim
50109 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
50110 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1$ac_delim
50111 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
50112 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
50113 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
50114 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
50115 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
50116 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
50117 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1$ac_delim
50118 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
50119 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
50120 COND_MONOLITHIC_0_USE_ODBC_1!$COND_MONOLITHIC_0_USE_ODBC_1$ac_delim
50121 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
50122 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
50123 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
50124 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
50125 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
50126 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
50127 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
50128 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
50129 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
50130 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
50131 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
50132 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
50133 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
50134 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
50135 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
50136 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
50137 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
50138 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
50139 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
50140 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
50141 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
50142 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
50143 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
50144 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
50145 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
50146 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
50147 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
50148 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
50149 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
50150 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
50151 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
50152 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
50153 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
50154 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
50155 COND_SHARED_0!$COND_SHARED_0$ac_delim
50156 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
50157 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
50158 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
50159 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
50160 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
50161 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
50162 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
50163 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
50164 COND_SHARED_0_USE_XRC_1!$COND_SHARED_0_USE_XRC_1$ac_delim
50165 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
50166 COND_SHARED_0_WXUSE_ODBC_BUILTIN!$COND_SHARED_0_WXUSE_ODBC_BUILTIN$ac_delim
50167 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
50168 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
50169 COND_SHARED_1!$COND_SHARED_1$ac_delim
50170 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
50171 COND_SHARED_1_USE_XRC_1!$COND_SHARED_1_USE_XRC_1$ac_delim
50172 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
50173 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
50174 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
50175 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
50176 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
50177 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
50180 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50182 elif $ac_last_try; then
50183 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50184 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50185 { (exit 1); exit 1; }; }
50187 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
50191 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50192 if test -n "$ac_eof"; then
50193 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
50194 ac_eof
=`expr $ac_eof + 1`
50197 cat >>$CONFIG_STATUS <<_ACEOF
50198 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
50199 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50202 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50203 s/^/s,@/; s/!/@,|#_!!_#|/
50206 s/'"$ac_delim"'$/,g/; t
50208 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50209 ' >>$CONFIG_STATUS <conf$
$subs.
sed
50210 rm -f conf$
$subs.
sed
50211 cat >>$CONFIG_STATUS <<_ACEOF
50217 for ac_last_try
in false false false false false
:; do
50218 cat >conf$
$subs.
sed <<_ACEOF
50219 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
50220 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
50221 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
50222 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
50223 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
50224 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
50225 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
50226 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
50227 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
50228 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
50229 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
50230 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
50231 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
50232 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
50233 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
50234 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
50235 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
50236 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
50237 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
50238 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
50239 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
50240 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
50241 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
50242 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
50243 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
50244 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
50245 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
50246 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
50247 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
50248 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
50249 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
50250 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
50251 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
50252 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
50253 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
50254 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
50255 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
50256 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
50257 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
50258 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
50259 COND_USE_ODBC_1!$COND_USE_ODBC_1$ac_delim
50260 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
50261 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
50262 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
50263 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
50264 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
50265 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
50266 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
50267 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
50268 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
50269 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
50270 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
50271 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
50272 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
50273 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
50274 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
50275 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
50276 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
50277 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
50278 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
50279 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
50280 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
50281 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
50282 COND_WXUSE_ODBC_BUILTIN!$COND_WXUSE_ODBC_BUILTIN$ac_delim
50283 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
50284 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
50285 SHARED!$SHARED$ac_delim
50286 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
50287 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
50288 USE_GUI!$USE_GUI$ac_delim
50289 AFMINSTALL!$AFMINSTALL$ac_delim
50290 WIN32INSTALL!$WIN32INSTALL$ac_delim
50291 TOOLKIT!$TOOLKIT$ac_delim
50292 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
50293 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
50294 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
50295 cross_compiling!$cross_compiling$ac_delim
50296 WIDGET_SET!$WIDGET_SET$ac_delim
50297 WX_RELEASE!$WX_RELEASE$ac_delim
50298 WX_VERSION!$WX_VERSION$ac_delim
50299 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
50300 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
50301 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
50302 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
50303 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
50304 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
50305 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
50306 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
50307 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
50308 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
50309 EXE_LINKER!$EXE_LINKER$ac_delim
50310 GUIDIST!$GUIDIST$ac_delim
50311 DISTDIR!$DISTDIR$ac_delim
50312 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
50313 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
50314 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
50315 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
50318 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50320 elif $ac_last_try; then
50321 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50322 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50323 { (exit 1); exit 1; }; }
50325 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
50329 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50330 if test -n "$ac_eof"; then
50331 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
50332 ac_eof
=`expr $ac_eof + 1`
50335 cat >>$CONFIG_STATUS <<_ACEOF
50336 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
50337 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50340 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50341 s/^/s,@/; s/!/@,|#_!!_#|/
50344 s/'"$ac_delim"'$/,g/; t
50346 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50347 ' >>$CONFIG_STATUS <conf$
$subs.
sed
50348 rm -f conf$
$subs.
sed
50349 cat >>$CONFIG_STATUS <<_ACEOF
50355 for ac_last_try
in false false false false false
:; do
50356 cat >conf$
$subs.
sed <<_ACEOF
50357 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
50358 RESCOMP!$RESCOMP$ac_delim
50359 RESFLAGS!$RESFLAGS$ac_delim
50360 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
50361 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
50362 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
50363 LIBWXMACRES!$LIBWXMACRES$ac_delim
50364 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
50365 MACSETFILE!$MACSETFILE$ac_delim
50367 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
50368 LIBOBJS!$LIBOBJS$ac_delim
50369 LTLIBOBJS!$LTLIBOBJS$ac_delim
50372 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 13; then
50374 elif $ac_last_try; then
50375 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50376 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50377 { (exit 1); exit 1; }; }
50379 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
50383 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50384 if test -n "$ac_eof"; then
50385 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
50386 ac_eof
=`expr $ac_eof + 1`
50389 cat >>$CONFIG_STATUS <<_ACEOF
50390 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
50391 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
50394 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50395 s/^/s,@/; s/!/@,|#_!!_#|/
50398 s/'"$ac_delim"'$/,g/; t
50400 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50401 ' >>$CONFIG_STATUS <conf$
$subs.
sed
50402 rm -f conf$
$subs.
sed
50403 cat >>$CONFIG_STATUS <<_ACEOF
50410 # VPATH may cause trouble with some makes, so we remove $(srcdir),
50411 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
50412 # trailing colons and then remove the whole line if VPATH becomes empty
50413 # (actually we leave an empty line to preserve line numbers).
50414 if test "x$srcdir" = x.
; then
50415 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
50416 s/:*\$(srcdir):*/:/
50417 s/:*\${srcdir}:*/:/
50419 s/^\([^=]*=[ ]*\):*/\1/
50425 cat >>$CONFIG_STATUS <<\_ACEOF
50426 fi # test -n "$CONFIG_FILES"
50429 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
50432 :[FHLC
]) ac_mode
=$ac_tag; continue;;
50434 case $ac_mode$ac_tag in
50436 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
50437 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
50438 { (exit 1); exit 1; }; };;
50439 :[FH
]-) ac_tag
=-:-;;
50440 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
50457 -) ac_f
="$tmp/stdin";;
50458 *) # Look for the file first in the build tree, then in the source tree
50459 # (if the path is not absolute). The absolute path cannot be DOS-style,
50460 # because $ac_f cannot contain `:'.
50464 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
50466 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
50467 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
50468 { (exit 1); exit 1; }; };;
50470 ac_file_inputs
="$ac_file_inputs $ac_f"
50473 # Let's still pretend it is `configure' which instantiates (i.e., don't
50474 # use $as_me), people would be surprised to read:
50475 # /* config.h. Generated by config.status. */
50476 configure_input
="Generated from "`IFS=:
50477 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
50478 if test x
"$ac_file" != x
-; then
50479 configure_input
="$ac_file. $configure_input"
50480 { echo "$as_me:$LINENO: creating $ac_file" >&5
50481 echo "$as_me: creating $ac_file" >&6;}
50485 *:-:* | *:-) cat >"$tmp/stdin";;
50490 ac_dir
=`$as_dirname -- "$ac_file" ||
50491 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50492 X"$ac_file" : 'X\(//\)[^/]' \| \
50493 X"$ac_file" : 'X\(//\)$' \| \
50494 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
50496 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
50500 /^X\(\/\/\)[^/].*/{
50515 -*) as_dir
=.
/$as_dir;;
50517 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
50521 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
50522 *) as_qdir
=$as_dir;;
50524 as_dirs
="'$as_qdir' $as_dirs"
50525 as_dir
=`$as_dirname -- "$as_dir" ||
50526 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50527 X"$as_dir" : 'X\(//\)[^/]' \| \
50528 X"$as_dir" : 'X\(//\)$' \| \
50529 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
50531 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
50535 /^X\(\/\/\)[^/].*/{
50548 test -d "$as_dir" && break
50550 test -z "$as_dirs" || eval "mkdir $as_dirs"
50551 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
50552 echo "$as_me: error: cannot create directory $as_dir" >&2;}
50553 { (exit 1); exit 1; }; }; }
50557 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
50559 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50560 # A ".." for each directory in $ac_dir_suffix.
50561 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
50562 case $ac_top_builddir_sub in
50563 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
50564 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
50567 ac_abs_top_builddir
=$ac_pwd
50568 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
50569 # for backward compatibility:
50570 ac_top_builddir
=$ac_top_build_prefix
50573 .
) # We are building in place.
50575 ac_top_srcdir
=$ac_top_builddir_sub
50576 ac_abs_top_srcdir
=$ac_pwd ;;
50577 [\\/]* | ?
:[\\/]* ) # Absolute name.
50578 ac_srcdir
=$srcdir$ac_dir_suffix;
50579 ac_top_srcdir
=$srcdir
50580 ac_abs_top_srcdir
=$srcdir ;;
50581 *) # Relative name.
50582 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
50583 ac_top_srcdir
=$ac_top_build_prefix$srcdir
50584 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
50586 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
50596 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
50597 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
50601 cat >>$CONFIG_STATUS <<\_ACEOF
50602 # If the template does not know about datarootdir, expand it.
50603 # FIXME: This hack should be removed a few years after 2.60.
50604 ac_datarootdir_hack
=; ac_datarootdir_seen
=
50606 case `sed -n '/datarootdir/ {
50615 ' $ac_file_inputs` in
50616 *datarootdir
*) ac_datarootdir_seen
=yes;;
50617 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
50618 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
50619 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
50621 cat >>$CONFIG_STATUS <<_ACEOF
50622 ac_datarootdir_hack='
50623 s&@datadir@&$datadir&g
50624 s&@docdir@&$docdir&g
50625 s&@infodir@&$infodir&g
50626 s&@localedir@&$localedir&g
50627 s&@mandir@&$mandir&g
50628 s&\\\${datarootdir}&$datarootdir&g' ;;
50632 # Neutralize VPATH when `$srcdir' = `.'.
50633 # Shell code in configure.ac might set extrasub.
50634 # FIXME: do we really want to maintain this feature?
50635 cat >>$CONFIG_STATUS <<_ACEOF
50639 cat >>$CONFIG_STATUS <<\_ACEOF
50641 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
50642 s
&@configure_input@
&$configure_input&;t t
50643 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
50644 s
&@srcdir@
&$ac_srcdir&;t t
50645 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
50646 s
&@top_srcdir@
&$ac_top_srcdir&;t t
50647 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
50648 s
&@builddir@
&$ac_builddir&;t t
50649 s
&@abs_builddir@
&$ac_abs_builddir&;t t
50650 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
50651 s
&@INSTALL@
&$ac_INSTALL&;t t
50652 $ac_datarootdir_hack
50653 " $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
50655 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
50656 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
50657 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
50658 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
50659 which seems to be undefined. Please make sure it is defined." >&5
50660 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
50661 which seems to be undefined. Please make sure it is defined." >&2;}
50665 -) cat "$tmp/out"; rm -f "$tmp/out";;
50666 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
50675 # Transform confdefs.h into a sed script `conftest.defines', that
50676 # substitutes the proper values into config.h.in to produce config.h.
50677 rm -f conftest.defines conftest.
tail
50678 # First, append a space to every undef/define line, to ease matching.
50679 echo 's/$/ /' >conftest.defines
50680 # Then, protect against being on the right side of a sed subst, or in
50681 # an unquoted here document, in config.status. If some macros were
50682 # called several times there might be several #defines for the same
50683 # symbol, which is useless. But do not sort them, since the last
50684 # AC_DEFINE must be honored.
50685 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
50686 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
50687 # NAME is the cpp macro being defined, VALUE is the value it is being given.
50688 # PARAMS is the parameter list in the macro definition--in most cases, it's
50689 # just an empty string.
50690 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
50691 ac_dB
='\\)[ (].*,\\1define\\2'
50699 s/^[ ]*#[ ]*define[ ][ ]*//
50704 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
50705 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
50706 ' >>conftest.defines
50708 # Remove the space that was appended to ease matching.
50709 # Then replace #undef with comments. This is necessary, for
50710 # example, in the case of _POSIX_SOURCE, which is predefined and required
50711 # on some systems where configure will not decide to define it.
50712 # (The regexp can be short, since the line contains either #define or #undef.)
50714 s,^[ #]*u.*,/* & */,' >>conftest.defines
50716 # Break up conftest.defines:
50717 ac_max_sed_lines
=50
50719 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
50720 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
50721 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
50723 ac_in
='$ac_file_inputs'
50724 ac_out
='"$tmp/out1"'
50725 ac_nxt
='"$tmp/out2"'
50729 # Write a here document:
50730 cat >>$CONFIG_STATUS <<_ACEOF
50731 # First, check the format of the line:
50732 cat >"\$tmp/defines.sed" <<\\CEOF
50733 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
50734 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
50738 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
50740 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
50741 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
50742 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
50743 grep . conftest.
tail >/dev
/null
|| break
50744 rm -f conftest.defines
50745 mv conftest.
tail conftest.defines
50747 rm -f conftest.defines conftest.
tail
50749 echo "ac_result=$ac_in" >>$CONFIG_STATUS
50750 cat >>$CONFIG_STATUS <<\_ACEOF
50751 if test x
"$ac_file" != x
-; then
50752 echo "/* $configure_input */" >"$tmp/config.h"
50753 cat "$ac_result" >>"$tmp/config.h"
50754 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
50755 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
50756 echo "$as_me: $ac_file is unchanged" >&6;}
50759 mv "$tmp/config.h" $ac_file
50762 echo "/* $configure_input */"
50768 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
50769 echo "$as_me: executing $ac_file commands" >&6;}
50774 case $ac_file$ac_mode in
50776 mkdir -p $outdir &&
50777 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
50779 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
50780 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
50781 "wx-config":C
) rm -f wx
-config
50782 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
50789 { (exit 0); exit 0; }
50791 chmod +x
$CONFIG_STATUS
50792 ac_clean_files
=$ac_clean_files_save
50795 # configure is writing to config.log, and then calls config.status.
50796 # config.status does its own redirection, appending to config.log.
50797 # Unfortunately, on DOS this fails, as config.log is still kept open
50798 # by configure, so config.status won't be able to write to it; its
50799 # output is simply discarded. So we exec the FD to /dev/null,
50800 # effectively closing config.log, so it can be properly (re)opened and
50801 # appended to by config.status. When coming back to configure, we
50802 # need to make the FD available again.
50803 if test "$no_create" != yes; then
50805 ac_config_status_args
=
50806 test "$silent" = yes &&
50807 ac_config_status_args
="$ac_config_status_args --quiet"
50809 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
50811 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
50812 # would make configure fail if this is the last instruction.
50813 $ac_cs_success || { (exit 1); exit 1; }
50817 # CONFIG_SUBDIRS section.
50819 if test "$no_recursion" != yes; then
50821 # Remove --cache-file and --srcdir arguments so they do not pile up.
50822 ac_sub_configure_args
=
50824 eval "set x $ac_configure_args"
50828 if test -n "$ac_prev"; then
50833 -cache-file | --cache-file | --cache-fil | --cache-fi \
50834 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
50835 ac_prev
=cache_file
;;
50836 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
50837 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
50840 --config-cache | -C)
50842 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
50844 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
50846 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
50848 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
50852 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
50854 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
50858 # Always prepend --prefix to ensure using the same prefix
50859 # in subdir configurations.
50860 ac_arg
="--prefix=$prefix"
50862 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
50864 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
50867 if test "$silent" = yes; then
50868 ac_sub_configure_args
="--silent $ac_sub_configure_args"
50872 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
50874 # Do not complain, so a configure script can configure whichever
50875 # parts of a large source tree are present.
50876 test -d "$srcdir/$ac_dir" || continue
50878 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
50879 echo "$as_me:$LINENO: $ac_msg" >&5
50883 -*) as_dir
=.
/$as_dir;;
50885 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
50889 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
50890 *) as_qdir
=$as_dir;;
50892 as_dirs
="'$as_qdir' $as_dirs"
50893 as_dir
=`$as_dirname -- "$as_dir" ||
50894 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50895 X"$as_dir" : 'X\(//\)[^/]' \| \
50896 X"$as_dir" : 'X\(//\)$' \| \
50897 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
50899 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
50903 /^X\(\/\/\)[^/].*/{
50916 test -d "$as_dir" && break
50918 test -z "$as_dirs" || eval "mkdir $as_dirs"
50919 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
50920 echo "$as_me: error: cannot create directory $as_dir" >&2;}
50921 { (exit 1); exit 1; }; }; }
50925 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
50927 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50928 # A ".." for each directory in $ac_dir_suffix.
50929 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
50930 case $ac_top_builddir_sub in
50931 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
50932 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
50935 ac_abs_top_builddir
=$ac_pwd
50936 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
50937 # for backward compatibility:
50938 ac_top_builddir
=$ac_top_build_prefix
50941 .
) # We are building in place.
50943 ac_top_srcdir
=$ac_top_builddir_sub
50944 ac_abs_top_srcdir
=$ac_pwd ;;
50945 [\\/]* | ?
:[\\/]* ) # Absolute name.
50946 ac_srcdir
=$srcdir$ac_dir_suffix;
50947 ac_top_srcdir
=$srcdir
50948 ac_abs_top_srcdir
=$srcdir ;;
50949 *) # Relative name.
50950 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
50951 ac_top_srcdir
=$ac_top_build_prefix$srcdir
50952 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
50954 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
50959 # Check for guested configure; otherwise get Cygnus style configure.
50960 if test -f "$ac_srcdir/configure.gnu"; then
50961 ac_sub_configure
=$ac_srcdir/configure.gnu
50962 elif test -f "$ac_srcdir/configure"; then
50963 ac_sub_configure
=$ac_srcdir/configure
50964 elif test -f "$ac_srcdir/configure.in"; then
50965 # This should be Cygnus configure.
50966 ac_sub_configure
=$ac_aux_dir/configure
50968 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
50969 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
50973 # The recursion is here.
50974 if test -n "$ac_sub_configure"; then
50975 # Make the cache file name correct relative to the subdirectory.
50976 case $cache_file in
50977 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
50978 *) # Relative name.
50979 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
50982 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
50983 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
50984 # The eval makes quoting arguments work.
50985 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
50986 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
50987 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
50988 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
50989 { (exit 1); exit 1; }; }
50998 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
51000 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
51001 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
51003 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
51004 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
51005 echo -n " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}"
51006 if test "$wxUSE_UNICODE" = "yes"; then
51007 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
51008 echo " (using UTF-8)"
51010 echo " (using wchar_t)"
51016 echo " What level of wxWidgets compatibility should be enabled?"
51017 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
51018 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
51020 echo " Which libraries should wxWidgets use?"
51021 echo " jpeg ${wxUSE_LIBJPEG-none}"
51022 echo " png ${wxUSE_LIBPNG-none}"
51023 echo " regex ${wxUSE_REGEX}"
51024 echo " tiff ${wxUSE_LIBTIFF-none}"
51025 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
51026 echo " xpm ${wxUSE_LIBXPM-none}"
51028 echo " zlib ${wxUSE_ZLIB}"
51029 echo " odbc ${wxUSE_ODBC}"
51030 echo " expat ${wxUSE_EXPAT}"
51031 echo " libmspack ${wxUSE_LIBMSPACK}"
51032 echo " sdl ${wxUSE_LIBSDL}"