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 -n "$ac_tool_prefix"; then
16320 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
16321 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
16322 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16323 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16324 if test "${ac_cv_prog_RANLIB+set}" = set; then
16325 echo $ECHO_N "(cached) $ECHO_C" >&6
16327 if test -n "$RANLIB"; then
16328 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
16330 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16331 for as_dir
in $PATH
16334 test -z "$as_dir" && as_dir
=.
16335 for ac_exec_ext
in '' $ac_executable_extensions; do
16336 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16337 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
16338 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16347 RANLIB
=$ac_cv_prog_RANLIB
16348 if test -n "$RANLIB"; then
16349 { echo "$as_me:$LINENO: result: $RANLIB" >&5
16350 echo "${ECHO_T}$RANLIB" >&6; }
16352 { echo "$as_me:$LINENO: result: no" >&5
16353 echo "${ECHO_T}no" >&6; }
16358 if test -z "$ac_cv_prog_RANLIB"; then
16359 ac_ct_RANLIB
=$RANLIB
16360 # Extract the first word of "ranlib", so it can be a program name with args.
16361 set dummy ranlib
; ac_word
=$2
16362 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16363 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16364 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
16365 echo $ECHO_N "(cached) $ECHO_C" >&6
16367 if test -n "$ac_ct_RANLIB"; then
16368 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
16370 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16371 for as_dir
in $PATH
16374 test -z "$as_dir" && as_dir
=.
16375 for ac_exec_ext
in '' $ac_executable_extensions; do
16376 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16377 ac_cv_prog_ac_ct_RANLIB
="ranlib"
16378 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16387 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
16388 if test -n "$ac_ct_RANLIB"; then
16389 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
16390 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
16392 { echo "$as_me:$LINENO: result: no" >&5
16393 echo "${ECHO_T}no" >&6; }
16396 if test "x$ac_ct_RANLIB" = x
; then
16399 case $cross_compiling:$ac_tool_warned in
16401 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16402 whose name does not start with the host triplet. If you think this
16403 configuration is useful to you, please write to autoconf@gnu.org." >&5
16404 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16405 whose name does not start with the host triplet. If you think this
16406 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16407 ac_tool_warned
=yes ;;
16409 RANLIB
=$ac_ct_RANLIB
16412 RANLIB
="$ac_cv_prog_RANLIB"
16416 if test "x$SUNCXX" != xyes
; then
16417 if test -n "$ac_tool_prefix"; then
16418 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
16419 set dummy
${ac_tool_prefix}ar; ac_word
=$2
16420 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16421 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16422 if test "${ac_cv_prog_AR+set}" = set; then
16423 echo $ECHO_N "(cached) $ECHO_C" >&6
16425 if test -n "$AR"; then
16426 ac_cv_prog_AR
="$AR" # Let the user override the test.
16428 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16429 for as_dir
in $PATH
16432 test -z "$as_dir" && as_dir
=.
16433 for ac_exec_ext
in '' $ac_executable_extensions; do
16434 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16435 ac_cv_prog_AR
="${ac_tool_prefix}ar"
16436 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16446 if test -n "$AR"; then
16447 { echo "$as_me:$LINENO: result: $AR" >&5
16448 echo "${ECHO_T}$AR" >&6; }
16450 { echo "$as_me:$LINENO: result: no" >&5
16451 echo "${ECHO_T}no" >&6; }
16456 if test -z "$ac_cv_prog_AR"; then
16458 # Extract the first word of "ar", so it can be a program name with args.
16459 set dummy
ar; ac_word
=$2
16460 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16461 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16462 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
16463 echo $ECHO_N "(cached) $ECHO_C" >&6
16465 if test -n "$ac_ct_AR"; then
16466 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
16468 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16469 for as_dir
in $PATH
16472 test -z "$as_dir" && as_dir
=.
16473 for ac_exec_ext
in '' $ac_executable_extensions; do
16474 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16475 ac_cv_prog_ac_ct_AR
="ar"
16476 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16485 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
16486 if test -n "$ac_ct_AR"; then
16487 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
16488 echo "${ECHO_T}$ac_ct_AR" >&6; }
16490 { echo "$as_me:$LINENO: result: no" >&5
16491 echo "${ECHO_T}no" >&6; }
16494 if test "x$ac_ct_AR" = x
; then
16497 case $cross_compiling:$ac_tool_warned in
16499 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16500 whose name does not start with the host triplet. If you think this
16501 configuration is useful to you, please write to autoconf@gnu.org." >&5
16502 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16503 whose name does not start with the host triplet. If you think this
16504 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16505 ac_tool_warned
=yes ;;
16510 AR
="$ac_cv_prog_AR"
16513 if test "x$AR" = "x" ; then
16514 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
16515 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
16516 { (exit 1); exit 1; }; }
16520 # Find a good install program. We prefer a C program (faster),
16521 # so one script is as good as another. But avoid the broken or
16522 # incompatible versions:
16523 # SysV /etc/install, /usr/sbin/install
16524 # SunOS /usr/etc/install
16525 # IRIX /sbin/install
16527 # AmigaOS /C/install, which installs bootblocks on floppy discs
16528 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
16529 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
16530 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
16531 # OS/2's system install, which has a completely different semantic
16532 # ./install, which can be erroneously created by make from ./install.sh.
16533 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
16534 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
16535 if test -z "$INSTALL"; then
16536 if test "${ac_cv_path_install+set}" = set; then
16537 echo $ECHO_N "(cached) $ECHO_C" >&6
16539 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16540 for as_dir
in $PATH
16543 test -z "$as_dir" && as_dir
=.
16544 # Account for people who put trailing slashes in PATH elements.
16546 .
/ | .
// | /cC
/* | \
16547 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
16548 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
16551 # OSF1 and SCO ODT 3.0 have their own names for install.
16552 # Don't use installbsd from OSF since it installs stuff as root
16554 for ac_prog
in ginstall scoinst
install; do
16555 for ac_exec_ext
in '' $ac_executable_extensions; do
16556 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
16557 if test $ac_prog = install &&
16558 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
16559 # AIX install. It has an incompatible calling convention.
16561 elif test $ac_prog = install &&
16562 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
16563 # program-specific install script used by HP pwplus--don't use.
16566 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
16579 if test "${ac_cv_path_install+set}" = set; then
16580 INSTALL
=$ac_cv_path_install
16582 # As a last resort, use the slow shell script. Don't cache a
16583 # value for INSTALL within a source directory, because that will
16584 # break other packages using the cache if that directory is
16585 # removed, or if the value is a relative name.
16586 INSTALL
=$ac_install_sh
16589 { echo "$as_me:$LINENO: result: $INSTALL" >&5
16590 echo "${ECHO_T}$INSTALL" >&6; }
16592 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
16593 # It thinks the first close brace ends the variable substitution.
16594 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
16596 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
16598 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
16604 ?
:* ) # Drive letter, considered as absolute.
16607 INSTALL
=`pwd`/${INSTALL} ;;
16614 INSTALL_PROGRAM
="cp -fp"
16615 INSTALL_DATA
="cp -fp"
16621 if test -n "$ac_tool_prefix"; then
16622 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
16623 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
16624 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16625 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16626 if test "${ac_cv_prog_STRIP+set}" = set; then
16627 echo $ECHO_N "(cached) $ECHO_C" >&6
16629 if test -n "$STRIP"; then
16630 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
16632 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16633 for as_dir
in $PATH
16636 test -z "$as_dir" && as_dir
=.
16637 for ac_exec_ext
in '' $ac_executable_extensions; do
16638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16639 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
16640 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16649 STRIP
=$ac_cv_prog_STRIP
16650 if test -n "$STRIP"; then
16651 { echo "$as_me:$LINENO: result: $STRIP" >&5
16652 echo "${ECHO_T}$STRIP" >&6; }
16654 { echo "$as_me:$LINENO: result: no" >&5
16655 echo "${ECHO_T}no" >&6; }
16660 if test -z "$ac_cv_prog_STRIP"; then
16662 # Extract the first word of "strip", so it can be a program name with args.
16663 set dummy strip
; ac_word
=$2
16664 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16665 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16666 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
16667 echo $ECHO_N "(cached) $ECHO_C" >&6
16669 if test -n "$ac_ct_STRIP"; then
16670 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
16672 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16673 for as_dir
in $PATH
16676 test -z "$as_dir" && as_dir
=.
16677 for ac_exec_ext
in '' $ac_executable_extensions; do
16678 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16679 ac_cv_prog_ac_ct_STRIP
="strip"
16680 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16689 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
16690 if test -n "$ac_ct_STRIP"; then
16691 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
16692 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
16694 { echo "$as_me:$LINENO: result: no" >&5
16695 echo "${ECHO_T}no" >&6; }
16698 if test "x$ac_ct_STRIP" = x
; then
16701 case $cross_compiling:$ac_tool_warned in
16703 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16704 whose name does not start with the host triplet. If you think this
16705 configuration is useful to you, please write to autoconf@gnu.org." >&5
16706 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16707 whose name does not start with the host triplet. If you think this
16708 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16709 ac_tool_warned
=yes ;;
16714 STRIP
="$ac_cv_prog_STRIP"
16718 if test "$wxUSE_WINE" = "yes"; then
16719 if test -n "$ac_tool_prefix"; then
16720 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
16721 set dummy
${ac_tool_prefix}wrc
; ac_word
=$2
16722 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16723 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16724 if test "${ac_cv_prog_WINDRES+set}" = set; then
16725 echo $ECHO_N "(cached) $ECHO_C" >&6
16727 if test -n "$WINDRES"; then
16728 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
16730 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16731 for as_dir
in $PATH
16734 test -z "$as_dir" && as_dir
=.
16735 for ac_exec_ext
in '' $ac_executable_extensions; do
16736 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16737 ac_cv_prog_WINDRES
="${ac_tool_prefix}wrc"
16738 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16747 WINDRES
=$ac_cv_prog_WINDRES
16748 if test -n "$WINDRES"; then
16749 { echo "$as_me:$LINENO: result: $WINDRES" >&5
16750 echo "${ECHO_T}$WINDRES" >&6; }
16752 { echo "$as_me:$LINENO: result: no" >&5
16753 echo "${ECHO_T}no" >&6; }
16758 if test -z "$ac_cv_prog_WINDRES"; then
16759 ac_ct_WINDRES
=$WINDRES
16760 # Extract the first word of "wrc", so it can be a program name with args.
16761 set dummy wrc
; ac_word
=$2
16762 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16763 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16764 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
16765 echo $ECHO_N "(cached) $ECHO_C" >&6
16767 if test -n "$ac_ct_WINDRES"; then
16768 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
16770 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16771 for as_dir
in $PATH
16774 test -z "$as_dir" && as_dir
=.
16775 for ac_exec_ext
in '' $ac_executable_extensions; do
16776 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16777 ac_cv_prog_ac_ct_WINDRES
="wrc"
16778 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16787 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
16788 if test -n "$ac_ct_WINDRES"; then
16789 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
16790 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
16792 { echo "$as_me:$LINENO: result: no" >&5
16793 echo "${ECHO_T}no" >&6; }
16796 if test "x$ac_ct_WINDRES" = x
; then
16799 case $cross_compiling:$ac_tool_warned in
16801 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16802 whose name does not start with the host triplet. If you think this
16803 configuration is useful to you, please write to autoconf@gnu.org." >&5
16804 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16805 whose name does not start with the host triplet. If you think this
16806 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16807 ac_tool_warned
=yes ;;
16809 WINDRES
=$ac_ct_WINDRES
16812 WINDRES
="$ac_cv_prog_WINDRES"
16818 *-*-cygwin* | *-*-mingw32* )
16819 if test -n "$ac_tool_prefix"; then
16820 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
16821 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
16822 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16823 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16824 if test "${ac_cv_prog_WINDRES+set}" = set; then
16825 echo $ECHO_N "(cached) $ECHO_C" >&6
16827 if test -n "$WINDRES"; then
16828 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
16830 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16831 for as_dir
in $PATH
16834 test -z "$as_dir" && as_dir
=.
16835 for ac_exec_ext
in '' $ac_executable_extensions; do
16836 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16837 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
16838 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16847 WINDRES
=$ac_cv_prog_WINDRES
16848 if test -n "$WINDRES"; then
16849 { echo "$as_me:$LINENO: result: $WINDRES" >&5
16850 echo "${ECHO_T}$WINDRES" >&6; }
16852 { echo "$as_me:$LINENO: result: no" >&5
16853 echo "${ECHO_T}no" >&6; }
16858 if test -z "$ac_cv_prog_WINDRES"; then
16859 ac_ct_WINDRES
=$WINDRES
16860 # Extract the first word of "windres", so it can be a program name with args.
16861 set dummy windres
; ac_word
=$2
16862 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16863 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16864 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
16865 echo $ECHO_N "(cached) $ECHO_C" >&6
16867 if test -n "$ac_ct_WINDRES"; then
16868 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
16870 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16871 for as_dir
in $PATH
16874 test -z "$as_dir" && as_dir
=.
16875 for ac_exec_ext
in '' $ac_executable_extensions; do
16876 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16877 ac_cv_prog_ac_ct_WINDRES
="windres"
16878 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16887 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
16888 if test -n "$ac_ct_WINDRES"; then
16889 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
16890 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
16892 { echo "$as_me:$LINENO: result: no" >&5
16893 echo "${ECHO_T}no" >&6; }
16896 if test "x$ac_ct_WINDRES" = x
; then
16899 case $cross_compiling:$ac_tool_warned in
16901 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16902 whose name does not start with the host triplet. If you think this
16903 configuration is useful to you, please write to autoconf@gnu.org." >&5
16904 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16905 whose name does not start with the host triplet. If you think this
16906 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16907 ac_tool_warned
=yes ;;
16909 WINDRES
=$ac_ct_WINDRES
16912 WINDRES
="$ac_cv_prog_WINDRES"
16916 if test -n "$ac_tool_prefix"; then
16917 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
16918 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
16919 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16920 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16921 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
16922 echo $ECHO_N "(cached) $ECHO_C" >&6
16924 if test -n "$DLLTOOL"; then
16925 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
16927 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16928 for as_dir
in $PATH
16931 test -z "$as_dir" && as_dir
=.
16932 for ac_exec_ext
in '' $ac_executable_extensions; do
16933 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16934 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
16935 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16944 DLLTOOL
=$ac_cv_prog_DLLTOOL
16945 if test -n "$DLLTOOL"; then
16946 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
16947 echo "${ECHO_T}$DLLTOOL" >&6; }
16949 { echo "$as_me:$LINENO: result: no" >&5
16950 echo "${ECHO_T}no" >&6; }
16955 if test -z "$ac_cv_prog_DLLTOOL"; then
16956 ac_ct_DLLTOOL
=$DLLTOOL
16957 # Extract the first word of "dlltool", so it can be a program name with args.
16958 set dummy dlltool
; ac_word
=$2
16959 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16960 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16961 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
16962 echo $ECHO_N "(cached) $ECHO_C" >&6
16964 if test -n "$ac_ct_DLLTOOL"; then
16965 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
16967 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16968 for as_dir
in $PATH
16971 test -z "$as_dir" && as_dir
=.
16972 for ac_exec_ext
in '' $ac_executable_extensions; do
16973 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16974 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
16975 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16984 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
16985 if test -n "$ac_ct_DLLTOOL"; then
16986 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
16987 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
16989 { echo "$as_me:$LINENO: result: no" >&5
16990 echo "${ECHO_T}no" >&6; }
16993 if test "x$ac_ct_DLLTOOL" = x
; then
16996 case $cross_compiling:$ac_tool_warned in
16998 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16999 whose name does not start with the host triplet. If you think this
17000 configuration is useful to you, please write to autoconf@gnu.org." >&5
17001 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17002 whose name does not start with the host triplet. If you think this
17003 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17004 ac_tool_warned
=yes ;;
17006 DLLTOOL
=$ac_ct_DLLTOOL
17009 DLLTOOL
="$ac_cv_prog_DLLTOOL"
17016 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
17017 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
17018 if test "${wx_cv_prog_makeisgnu+set}" = set; then
17019 echo $ECHO_N "(cached) $ECHO_C" >&6
17022 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
17023 $EGREP -s GNU
> /dev
/null
); then
17024 wx_cv_prog_makeisgnu
="yes"
17026 wx_cv_prog_makeisgnu
="no"
17030 { echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
17031 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6; }
17033 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
17041 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
17042 { echo "$as_me:$LINENO: checking if make supports VPATH" >&5
17043 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6; }
17044 if test "${wx_cv_prog_makevpath+set}" = set; then
17045 echo $ECHO_N "(cached) $ECHO_C" >&6
17048 cat - << EOF > confMake
17054 if test ! -d sub
; then
17057 echo dummy
> sub
/file
17058 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
17060 rm -f sub
/file check final_file confMake
17062 if test "$RESULT" = 0; then
17063 wx_cv_prog_makevpath
="yes"
17065 wx_cv_prog_makevpath
="no"
17069 { echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
17070 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6; }
17072 if test "x$wx_cv_prog_makevpath" != "xyes"; then
17073 { { echo "$as_me:$LINENO: error:
17074 You need a make-utility that is able to use the variable
17076 If your version of make does not support VPATH correctly,
17077 please install GNU-make (possibly as gmake), and start
17078 configure with the following command:
17079 export MAKE=gmake; ./configure for sh-type shells
17080 setenv MAKE gmake; ./configure for csh-type shells
17081 Also please do remember to use gmake in this case every time
17082 you are trying to compile.
17084 echo "$as_me: error:
17085 You need a make-utility that is able to use the variable
17087 If your version of make does not support VPATH correctly,
17088 please install GNU-make (possibly as gmake), and start
17089 configure with the following command:
17090 export MAKE=gmake; ./configure for sh-type shells
17091 setenv MAKE gmake; ./configure for csh-type shells
17092 Also please do remember to use gmake in this case every time
17093 you are trying to compile.
17095 { (exit 1); exit 1; }; }
17097 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
17098 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
17100 if test "$LN_S" = "ln -s"; then
17101 { echo "$as_me:$LINENO: result: yes" >&5
17102 echo "${ECHO_T}yes" >&6; }
17104 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
17105 echo "${ECHO_T}no, using $LN_S" >&6; }
17111 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
17112 CXXFLAGS
="-qunique $CXXFLAGS"
17116 powerpc
-*-darwin* )
17117 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
17118 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
17119 cat >conftest.
$ac_ext <<_ACEOF
17122 cat confdefs.h
>>conftest.
$ac_ext
17123 cat >>conftest.
$ac_ext <<_ACEOF
17124 /* end confdefs.h. */
17129 #ifndef __POWERPC__
17130 choke me for lack of PowerPC
17137 rm -f conftest.
$ac_objext
17138 if { (ac_try
="$ac_compile"
17139 case "(($ac_try" in
17140 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17141 *) ac_try_echo=$ac_try;;
17143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17144 (eval "$ac_compile") 2>conftest.er1
17146 grep -v '^ *+' conftest.er1 >conftest.err
17148 cat conftest.err >&5
17149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17150 (exit $ac_status); } && {
17151 test -z "$ac_c_werror_flag" ||
17152 test ! -s conftest.err
17153 } && test -s conftest.$ac_objext; then
17154 { echo "$as_me:$LINENO: result: yes" >&5
17155 echo "${ECHO_T}yes" >&6; }
17157 echo "$as_me: failed program was:" >&5
17158 sed 's/^/| /' conftest.$ac_ext >&5
17160 { echo "$as_me:$LINENO: result: no" >&5
17161 echo "${ECHO_T}no" >&6; }
17162 cat >>confdefs.h <<\_ACEOF
17163 #define __POWERPC__ 1
17169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17175 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
17176 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
17177 cat >conftest.$ac_ext <<_ACEOF
17180 cat confdefs.h >>conftest.$ac_ext
17181 cat >>conftest.$ac_ext <<_ACEOF
17182 /* end confdefs.h. */
17183 #include <CoreFoundation/CFBase.h>
17193 rm -f conftest.$ac_objext
17194 if { (ac_try="$ac_compile"
17195 case "(($ac_try" in
17196 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17197 *) ac_try_echo
=$ac_try;;
17199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17200 (eval "$ac_compile") 2>conftest.er1
17202 grep -v '^ *+' conftest.er1
>conftest.err
17204 cat conftest.err
>&5
17205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17206 (exit $ac_status); } && {
17207 test -z "$ac_c_werror_flag" ||
17208 test ! -s conftest.err
17209 } && test -s conftest.
$ac_objext; then
17210 { echo "$as_me:$LINENO: result: yes" >&5
17211 echo "${ECHO_T}yes" >&6; }
17213 echo "$as_me: failed program was:" >&5
17214 sed 's/^/| /' conftest.
$ac_ext >&5
17216 { echo "$as_me:$LINENO: result: no" >&5
17217 echo "${ECHO_T}no" >&6; }
17218 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
17219 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
17220 cat >conftest.
$ac_ext <<_ACEOF
17223 cat confdefs.h
>>conftest.
$ac_ext
17224 cat >>conftest.
$ac_ext <<_ACEOF
17225 /* end confdefs.h. */
17226 #define __CF_USE_FRAMEWORK_INCLUDES__
17227 #include <CoreFoundation/CFBase.h>
17237 rm -f conftest.
$ac_objext
17238 if { (ac_try
="$ac_compile"
17239 case "(($ac_try" in
17240 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17241 *) ac_try_echo=$ac_try;;
17243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17244 (eval "$ac_compile") 2>conftest.er1
17246 grep -v '^ *+' conftest.er1 >conftest.err
17248 cat conftest.err >&5
17249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17250 (exit $ac_status); } && {
17251 test -z "$ac_c_werror_flag" ||
17252 test ! -s conftest.err
17253 } && test -s conftest.$ac_objext; then
17254 { echo "$as_me:$LINENO: result: yes" >&5
17255 echo "${ECHO_T}yes" >&6; }
17256 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
17258 echo "$as_me: failed program was:" >&5
17259 sed 's/^/| /' conftest.$ac_ext >&5
17261 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
17262 See \`config.log
' for more details." >&5
17263 echo "$as_me: error: no. CoreFoundation not available.
17264 See \`config.log' for more details.
" >&2;}
17265 { (exit 1); exit 1; }; }
17269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17279 doesnt_want_win32=0
17282 if test "$wxUSE_MSW" = 1 ; then
17285 { echo "$as_me:$LINENO: checking
if -mno-cygwin is
in effect
" >&5
17286 echo $ECHO_N "checking
if -mno-cygwin is
in effect...
$ECHO_C" >&6; }
17287 if test "${wx_cv_nocygwin+set}" = set; then
17288 echo $ECHO_N "(cached
) $ECHO_C" >&6
17291 cat >conftest.$ac_ext <<_ACEOF
17294 cat confdefs.h >>conftest.$ac_ext
17295 cat >>conftest.$ac_ext <<_ACEOF
17296 /* end confdefs.h. */
17310 rm -f conftest.$ac_objext
17311 if { (ac_try="$ac_compile"
17312 case "(($ac_try" in
17313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17314 *) ac_try_echo=$ac_try;;
17316 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17317 (eval "$ac_compile") 2>conftest.er1
17319 grep -v '^ *+' conftest.er1 >conftest.err
17321 cat conftest.err >&5
17322 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17323 (exit $ac_status); } && {
17324 test -z "$ac_c_werror_flag" ||
17325 test ! -s conftest.err
17326 } && test -s conftest.$ac_objext; then
17329 echo "$as_me: failed program was
:" >&5
17330 sed 's/^/| /' conftest.$ac_ext >&5
17336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17340 { echo "$as_me:$LINENO: result
: $wx_cv_nocygwin" >&5
17341 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
17343 if test "$wx_cv_nocygwin" = "yes"; then
17346 doesnt_want_win32=1
17349 if test "$wants_win32" = 1 ; then
17350 BAKEFILE_FORCE_PLATFORM=win32
17358 if test "$wxUSE_WINE" = "yes"; then
17360 LDFLAGS_GUI="-mwindows"
17363 if test "$wants_win32" = 1 ; then
17366 cat >>confdefs.h <<\_ACEOF
17367 #define __WIN32__ 1
17370 cat >>confdefs.h <<\_ACEOF
17371 #define __WIN95__ 1
17374 cat >>confdefs.h <<\_ACEOF
17375 #define __WINDOWS__ 1
17378 cat >>confdefs.h <<\_ACEOF
17379 #define __GNUWIN32__ 1
17382 cat >>confdefs.h <<\_ACEOF
17387 if test "$doesnt_want_win32" = 1 ; then
17392 if test "$USE_UNIX" = 1 ; then
17394 cat >>confdefs.h <<\_ACEOF
17401 *-pc-os2_emx | *-pc-os2-emx )
17402 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
17403 { echo "$as_me:$LINENO: checking
for drand48
in -lcExt" >&5
17404 echo $ECHO_N "checking
for drand48
in -lcExt...
$ECHO_C" >&6; }
17405 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
17406 echo $ECHO_N "(cached
) $ECHO_C" >&6
17408 ac_check_lib_save_LIBS=$LIBS
17409 LIBS="-lcExt $LIBS"
17410 cat >conftest.$ac_ext <<_ACEOF
17413 cat confdefs.h >>conftest.$ac_ext
17414 cat >>conftest.$ac_ext <<_ACEOF
17415 /* end confdefs.h. */
17417 /* Override any GCC internal prototype to avoid an error.
17418 Use char because int might match the return type of a GCC
17419 builtin and then its argument prototype would still apply. */
17432 rm -f conftest.$ac_objext conftest$ac_exeext
17433 if { (ac_try="$ac_link"
17434 case "(($ac_try" in
17435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17436 *) ac_try_echo=$ac_try;;
17438 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17439 (eval "$ac_link") 2>conftest.er1
17441 grep -v '^ *+' conftest.er1 >conftest.err
17443 cat conftest.err >&5
17444 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17445 (exit $ac_status); } && {
17446 test -z "$ac_c_werror_flag" ||
17447 test ! -s conftest.err
17448 } && test -s conftest$ac_exeext &&
17449 $as_test_x conftest$ac_exeext; then
17450 ac_cv_lib_cExt_drand48=yes
17452 echo "$as_me: failed program was
:" >&5
17453 sed 's/^/| /' conftest.$ac_ext >&5
17455 ac_cv_lib_cExt_drand48=no
17458 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17459 conftest$ac_exeext conftest.$ac_ext
17460 LIBS=$ac_check_lib_save_LIBS
17462 { echo "$as_me:$LINENO: result
: $ac_cv_lib_cExt_drand48" >&5
17463 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
17464 if test $ac_cv_lib_cExt_drand48 = yes; then
17465 LIBS="$LIBS -lcExt"
17469 RESPROGRAMOBJ="\
${top_srcdir}/include
/wx
/os
2/wx.res
"
17471 { echo "$as_me:$LINENO: checking
for gcc
/libc version
" >&5
17472 echo $ECHO_N "checking
for gcc
/libc version...
$ECHO_C" >&6; }
17473 if test "${wx_cv_gccversion+set}" = set; then
17474 echo $ECHO_N "(cached
) $ECHO_C" >&6
17477 if test "$cross_compiling" = yes; then
17478 wx_cv_gccversion="EMX2
"
17481 cat >conftest.$ac_ext <<_ACEOF
17484 cat confdefs.h >>conftest.$ac_ext
17485 cat >>conftest.$ac_ext <<_ACEOF
17486 /* end confdefs.h. */
17492 FILE *f=fopen("conftestval
", "w
");
17497 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
17499 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
17509 rm -f conftest$ac_exeext
17510 if { (ac_try="$ac_link"
17511 case "(($ac_try" in
17512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17513 *) ac_try_echo=$ac_try;;
17515 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17516 (eval "$ac_link") 2>&5
17518 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17519 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17520 { (case "(($ac_try" in
17521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17522 *) ac_try_echo=$ac_try;;
17524 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17525 (eval "$ac_try") 2>&5
17527 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17528 (exit $ac_status); }; }; then
17529 wx_cv_gccversion=`cat conftestval`
17531 echo "$as_me: program exited with status
$ac_status" >&5
17532 echo "$as_me: failed program was
:" >&5
17533 sed 's/^/| /' conftest.$ac_ext >&5
17535 ( exit $ac_status )
17536 wx_cv_gccversion="EMX2
"
17538 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17544 { echo "$as_me:$LINENO: result
: $wx_cv_gccversion" >&5
17545 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
17546 if test "$wx_cv_gccversion" = "EMX2
"; then
17547 LIBS="$LIBS -lstdcpp"
17548 LDFLAGS="$LDFLAGS -Zsysv-signals"
17550 if test "$wx_cv_gccversion" = "EMX3
"; then
17551 LIBS="$LIBS -lstdcxx -lgcc"
17552 LDFLAGS="$LDFLAGS -Zsysv-signals"
17554 LIBS="$LIBS -lstdc++"
17557 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no
"; then
17558 { echo "$as_me:$LINENO: WARNING
: Building DLLs requires OMF mode
, enabled
" >&5
17559 echo "$as_me: WARNING
: Building DLLs requires OMF mode
, enabled
" >&2;}
17566 { echo "$as_me:$LINENO: checking
for strcasecmp
() in string.h
" >&5
17567 echo $ECHO_N "checking
for strcasecmp
() in string.h...
$ECHO_C" >&6; }
17568 if test "${ac_cv_string_strcasecmp+set}" = set; then
17569 echo $ECHO_N "(cached
) $ECHO_C" >&6
17572 cat >conftest.$ac_ext <<_ACEOF
17575 cat confdefs.h >>conftest.$ac_ext
17576 cat >>conftest.$ac_ext <<_ACEOF
17577 /* end confdefs.h. */
17579 #include <string.h>
17585 strcasecmp("foo
", "bar
");
17591 rm -f conftest.$ac_objext conftest$ac_exeext
17592 if { (ac_try="$ac_link"
17593 case "(($ac_try" in
17594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17595 *) ac_try_echo=$ac_try;;
17597 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17598 (eval "$ac_link") 2>conftest.er1
17600 grep -v '^ *+' conftest.er1 >conftest.err
17602 cat conftest.err >&5
17603 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17604 (exit $ac_status); } && {
17605 test -z "$ac_c_werror_flag" ||
17606 test ! -s conftest.err
17607 } && test -s conftest$ac_exeext &&
17608 $as_test_x conftest$ac_exeext; then
17609 ac_cv_string_strcasecmp=yes
17611 echo "$as_me: failed program was
:" >&5
17612 sed 's/^/| /' conftest.$ac_ext >&5
17614 ac_cv_string_strcasecmp=no
17618 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17619 conftest$ac_exeext conftest.$ac_ext
17622 { echo "$as_me:$LINENO: result
: $ac_cv_string_strcasecmp" >&5
17623 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
17625 if test x"$ac_cv_string_strcasecmp" = "xyes
"; then
17626 cat >>confdefs.h <<\_ACEOF
17627 #define HAVE_STRCASECMP_IN_STRING_H 1
17631 { echo "$as_me:$LINENO: checking
for strcasecmp
() in strings.h
" >&5
17632 echo $ECHO_N "checking
for strcasecmp
() in strings.h...
$ECHO_C" >&6; }
17633 if test "${ac_cv_strings_strcasecmp+set}" = set; then
17634 echo $ECHO_N "(cached
) $ECHO_C" >&6
17637 cat >conftest.$ac_ext <<_ACEOF
17640 cat confdefs.h >>conftest.$ac_ext
17641 cat >>conftest.$ac_ext <<_ACEOF
17642 /* end confdefs.h. */
17644 #include <strings.h>
17650 strcasecmp("foo
", "bar
");
17656 rm -f conftest.$ac_objext conftest$ac_exeext
17657 if { (ac_try="$ac_link"
17658 case "(($ac_try" in
17659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17660 *) ac_try_echo=$ac_try;;
17662 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17663 (eval "$ac_link") 2>conftest.er1
17665 grep -v '^ *+' conftest.er1 >conftest.err
17667 cat conftest.err >&5
17668 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17669 (exit $ac_status); } && {
17670 test -z "$ac_c_werror_flag" ||
17671 test ! -s conftest.err
17672 } && test -s conftest$ac_exeext &&
17673 $as_test_x conftest$ac_exeext; then
17674 ac_cv_strings_strcasecmp=yes
17676 echo "$as_me: failed program was
:" >&5
17677 sed 's/^/| /' conftest.$ac_ext >&5
17679 ac_cv_strings_strcasecmp=no
17683 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17684 conftest$ac_exeext conftest.$ac_ext
17687 { echo "$as_me:$LINENO: result
: $ac_cv_strings_strcasecmp" >&5
17688 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
17690 if test x"$ac_cv_strings_strcasecmp" = "xyes
"; then
17691 cat >>confdefs.h <<\_ACEOF
17692 #define HAVE_STRCASECMP_IN_STRINGS_H 1
17696 { { echo "$as_me:$LINENO: error
: No
case-insensitive string comparison
function found.
" >&5
17697 echo "$as_me: error
: No
case-insensitive string comparison
function found.
" >&2;}
17698 { (exit 1); exit 1; }; }
17706 { echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
17707 echo $ECHO_N "checking
for ANSI C header files...
$ECHO_C" >&6; }
17708 if test "${ac_cv_header_stdc+set}" = set; then
17709 echo $ECHO_N "(cached
) $ECHO_C" >&6
17711 cat >conftest.$ac_ext <<_ACEOF
17714 cat confdefs.h >>conftest.$ac_ext
17715 cat >>conftest.$ac_ext <<_ACEOF
17716 /* end confdefs.h. */
17717 #include <stdlib.h>
17718 #include <stdarg.h>
17719 #include <string.h>
17730 rm -f conftest.$ac_objext
17731 if { (ac_try="$ac_compile"
17732 case "(($ac_try" in
17733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17734 *) ac_try_echo=$ac_try;;
17736 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17737 (eval "$ac_compile") 2>conftest.er1
17739 grep -v '^ *+' conftest.er1 >conftest.err
17741 cat conftest.err >&5
17742 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17743 (exit $ac_status); } && {
17744 test -z "$ac_c_werror_flag" ||
17745 test ! -s conftest.err
17746 } && test -s conftest.$ac_objext; then
17747 ac_cv_header_stdc=yes
17749 echo "$as_me: failed program was
:" >&5
17750 sed 's/^/| /' conftest.$ac_ext >&5
17752 ac_cv_header_stdc=no
17755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17757 if test $ac_cv_header_stdc = yes; then
17758 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
17759 cat >conftest.$ac_ext <<_ACEOF
17762 cat confdefs.h >>conftest.$ac_ext
17763 cat >>conftest.$ac_ext <<_ACEOF
17764 /* end confdefs.h. */
17765 #include <string.h>
17768 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
17769 $EGREP "memchr
" >/dev/null 2>&1; then
17772 ac_cv_header_stdc=no
17778 if test $ac_cv_header_stdc = yes; then
17779 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
17780 cat >conftest.$ac_ext <<_ACEOF
17783 cat confdefs.h >>conftest.$ac_ext
17784 cat >>conftest.$ac_ext <<_ACEOF
17785 /* end confdefs.h. */
17786 #include <stdlib.h>
17789 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
17790 $EGREP "free
" >/dev/null 2>&1; then
17793 ac_cv_header_stdc=no
17799 if test $ac_cv_header_stdc = yes; then
17800 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
17801 if test "$cross_compiling" = yes; then
17804 cat >conftest.$ac_ext <<_ACEOF
17807 cat confdefs.h >>conftest.$ac_ext
17808 cat >>conftest.$ac_ext <<_ACEOF
17809 /* end confdefs.h. */
17811 #include <stdlib.h>
17812 #if ((' ' & 0x0FF) == 0x020)
17813 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
17814 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
17816 # define ISLOWER(c) \
17817 (('a' <= (c) && (c) <= 'i') \
17818 || ('j' <= (c) && (c) <= 'r') \
17819 || ('s' <= (c) && (c) <= 'z'))
17820 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
17823 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
17828 for (i = 0; i < 256; i++)
17829 if (XOR (islower (i), ISLOWER (i))
17830 || toupper (i) != TOUPPER (i))
17835 rm -f conftest$ac_exeext
17836 if { (ac_try="$ac_link"
17837 case "(($ac_try" in
17838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17839 *) ac_try_echo=$ac_try;;
17841 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17842 (eval "$ac_link") 2>&5
17844 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17845 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17846 { (case "(($ac_try" in
17847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17848 *) ac_try_echo=$ac_try;;
17850 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17851 (eval "$ac_try") 2>&5
17853 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17854 (exit $ac_status); }; }; then
17857 echo "$as_me: program exited with status
$ac_status" >&5
17858 echo "$as_me: failed program was
:" >&5
17859 sed 's/^/| /' conftest.$ac_ext >&5
17861 ( exit $ac_status )
17862 ac_cv_header_stdc=no
17864 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17870 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
17871 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
17872 if test $ac_cv_header_stdc = yes; then
17874 cat >>confdefs.h <<\_ACEOF
17875 #define STDC_HEADERS 1
17880 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
17890 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
17891 inttypes.h stdint.h unistd.h
17893 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
17894 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
17895 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
17896 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
17897 echo $ECHO_N "(cached
) $ECHO_C" >&6
17899 cat >conftest.$ac_ext <<_ACEOF
17902 cat confdefs.h >>conftest.$ac_ext
17903 cat >>conftest.$ac_ext <<_ACEOF
17904 /* end confdefs.h. */
17905 $ac_includes_default
17907 #include <$ac_header>
17909 rm -f conftest.$ac_objext
17910 if { (ac_try="$ac_compile"
17911 case "(($ac_try" in
17912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17913 *) ac_try_echo=$ac_try;;
17915 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17916 (eval "$ac_compile") 2>conftest.er1
17918 grep -v '^ *+' conftest.er1 >conftest.err
17920 cat conftest.err >&5
17921 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17922 (exit $ac_status); } && {
17923 test -z "$ac_c_werror_flag" ||
17924 test ! -s conftest.err
17925 } && test -s conftest.$ac_objext; then
17926 eval "$as_ac_Header=yes"
17928 echo "$as_me: failed program was
:" >&5
17929 sed 's/^/| /' conftest.$ac_ext >&5
17931 eval "$as_ac_Header=no
"
17934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17936 ac_res=`eval echo '${'$as_ac_Header'}'`
17937 { echo "$as_me:$LINENO: result
: $ac_res" >&5
17938 echo "${ECHO_T}$ac_res" >&6; }
17939 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17940 cat >>confdefs.h <<_ACEOF
17941 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
17955 for ac_header in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
17957 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
17958 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
17959 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
17960 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
17961 echo $ECHO_N "(cached
) $ECHO_C" >&6
17963 cat >conftest.$ac_ext <<_ACEOF
17966 cat confdefs.h >>conftest.$ac_ext
17967 cat >>conftest.$ac_ext <<_ACEOF
17968 /* end confdefs.h. */
17969 $ac_includes_default
17971 #include <$ac_header>
17973 rm -f conftest.$ac_objext
17974 if { (ac_try="$ac_compile"
17975 case "(($ac_try" in
17976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17977 *) ac_try_echo=$ac_try;;
17979 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17980 (eval "$ac_compile") 2>conftest.er1
17982 grep -v '^ *+' conftest.er1 >conftest.err
17984 cat conftest.err >&5
17985 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17986 (exit $ac_status); } && {
17987 test -z "$ac_c_werror_flag" ||
17988 test ! -s conftest.err
17989 } && test -s conftest.$ac_objext; then
17990 eval "$as_ac_Header=yes"
17992 echo "$as_me: failed program was
:" >&5
17993 sed 's/^/| /' conftest.$ac_ext >&5
17995 eval "$as_ac_Header=no
"
17998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18000 ac_res=`eval echo '${'$as_ac_Header'}'`
18001 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18002 echo "${ECHO_T}$ac_res" >&6; }
18003 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18004 cat >>confdefs.h <<_ACEOF
18005 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
18013 if test "$ac_cv_header_wchar_h" != "yes"; then
18014 { echo "$as_me:$LINENO: checking
for wcstr.h
" >&5
18015 echo $ECHO_N "checking
for wcstr.h...
$ECHO_C" >&6; }
18016 if test "${ac_cv_header_wcstr_h+set}" = set; then
18017 echo $ECHO_N "(cached
) $ECHO_C" >&6
18019 cat >conftest.$ac_ext <<_ACEOF
18022 cat confdefs.h >>conftest.$ac_ext
18023 cat >>conftest.$ac_ext <<_ACEOF
18024 /* end confdefs.h. */
18025 $ac_includes_default
18029 rm -f conftest.$ac_objext
18030 if { (ac_try="$ac_compile"
18031 case "(($ac_try" in
18032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18033 *) ac_try_echo=$ac_try;;
18035 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18036 (eval "$ac_compile") 2>conftest.er1
18038 grep -v '^ *+' conftest.er1 >conftest.err
18040 cat conftest.err >&5
18041 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18042 (exit $ac_status); } && {
18043 test -z "$ac_c_werror_flag" ||
18044 test ! -s conftest.err
18045 } && test -s conftest.$ac_objext; then
18046 ac_cv_header_wcstr_h=yes
18048 echo "$as_me: failed program was
:" >&5
18049 sed 's/^/| /' conftest.$ac_ext >&5
18051 ac_cv_header_wcstr_h=no
18054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18056 { echo "$as_me:$LINENO: result
: $ac_cv_header_wcstr_h" >&5
18057 echo "${ECHO_T}$ac_cv_header_wcstr_h" >&6; }
18063 *-pc-os2_emx | *-pc-os2-emx )
18064 if test $ac_cv_header_langinfo_h = "yes" \
18065 -a \( "$wx_cv_gccversion" = "EMX2
" \
18066 -o "$wx_cv_gccversion" = "EMX3
" \
18067 -o "$wx_cv_gccversion" = "Innotek5
" \); then
18068 LIBS="$LIBS -lintl"
18073 if test "$USE_UNIX" = 1 ; then
18074 { echo "$as_me:$LINENO: checking
for sys
/select.h
" >&5
18075 echo $ECHO_N "checking
for sys
/select.h...
$ECHO_C" >&6; }
18076 if test "${ac_cv_header_sys_select_h+set}" = set; then
18077 echo $ECHO_N "(cached
) $ECHO_C" >&6
18079 cat >conftest.$ac_ext <<_ACEOF
18082 cat confdefs.h >>conftest.$ac_ext
18083 cat >>conftest.$ac_ext <<_ACEOF
18084 /* end confdefs.h. */
18085 $ac_includes_default
18087 #include <sys/select.h>
18089 rm -f conftest.$ac_objext
18090 if { (ac_try="$ac_compile"
18091 case "(($ac_try" in
18092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18093 *) ac_try_echo=$ac_try;;
18095 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18096 (eval "$ac_compile") 2>conftest.er1
18098 grep -v '^ *+' conftest.er1 >conftest.err
18100 cat conftest.err >&5
18101 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18102 (exit $ac_status); } && {
18103 test -z "$ac_c_werror_flag" ||
18104 test ! -s conftest.err
18105 } && test -s conftest.$ac_objext; then
18106 ac_cv_header_sys_select_h=yes
18108 echo "$as_me: failed program was
:" >&5
18109 sed 's/^/| /' conftest.$ac_ext >&5
18111 ac_cv_header_sys_select_h=no
18114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18116 { echo "$as_me:$LINENO: result
: $ac_cv_header_sys_select_h" >&5
18117 echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6; }
18123 { echo "$as_me:$LINENO: checking
for an ANSI C
-conforming const
" >&5
18124 echo $ECHO_N "checking
for an ANSI C
-conforming const...
$ECHO_C" >&6; }
18125 if test "${ac_cv_c_const+set}" = set; then
18126 echo $ECHO_N "(cached
) $ECHO_C" >&6
18128 cat >conftest.$ac_ext <<_ACEOF
18131 cat confdefs.h >>conftest.$ac_ext
18132 cat >>conftest.$ac_ext <<_ACEOF
18133 /* end confdefs.h. */
18138 /* FIXME: Include the comments suggested by Paul. */
18139 #ifndef __cplusplus
18140 /* Ultrix mips cc rejects this. */
18141 typedef int charset[2];
18143 /* SunOS 4.1.1 cc rejects this. */
18144 char const *const *pcpcc;
18146 /* NEC SVR4.0.2 mips cc rejects this. */
18147 struct point {int x, y;};
18148 static struct point const zero = {0,0};
18149 /* AIX XL C 1.02.0.0 rejects this.
18150 It does not let you subtract one const X* pointer from another in
18151 an arm of an if-expression whose if-part is not a constant
18153 const char *g = "string
";
18154 pcpcc = &g + (g ? g-g : 0);
18155 /* HPUX 7.0 cc rejects these. */
18157 ppc = (char**) pcpcc;
18158 pcpcc = (char const *const *) ppc;
18159 { /* SCO 3.2v4 cc rejects this. */
18161 char const *s = 0 ? (char *) 0 : (char const *) 0;
18166 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18167 int x[] = {25, 17};
18168 const int *foo = &x[0];
18171 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18172 typedef const int *iptr;
18176 { /* AIX XL C 1.02.0.0 rejects this saying
18177 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18178 struct s { int j; const int *ap[3]; };
18179 struct s *b; b->j = 5;
18181 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18182 const int foo = 10;
18183 if (!foo) return 0;
18185 return !cs[0] && !zero.x;
18192 rm -f conftest.$ac_objext
18193 if { (ac_try="$ac_compile"
18194 case "(($ac_try" in
18195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18196 *) ac_try_echo=$ac_try;;
18198 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18199 (eval "$ac_compile") 2>conftest.er1
18201 grep -v '^ *+' conftest.er1 >conftest.err
18203 cat conftest.err >&5
18204 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18205 (exit $ac_status); } && {
18206 test -z "$ac_c_werror_flag" ||
18207 test ! -s conftest.err
18208 } && test -s conftest.$ac_objext; then
18211 echo "$as_me: failed program was
:" >&5
18212 sed 's/^/| /' conftest.$ac_ext >&5
18217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18219 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
18220 echo "${ECHO_T}$ac_cv_c_const" >&6; }
18221 if test $ac_cv_c_const = no; then
18223 cat >>confdefs.h <<\_ACEOF
18229 { echo "$as_me:$LINENO: checking
for inline
" >&5
18230 echo $ECHO_N "checking
for inline...
$ECHO_C" >&6; }
18231 if test "${ac_cv_c_inline+set}" = set; then
18232 echo $ECHO_N "(cached
) $ECHO_C" >&6
18235 for ac_kw in inline __inline__ __inline; do
18236 cat >conftest.$ac_ext <<_ACEOF
18239 cat confdefs.h >>conftest.$ac_ext
18240 cat >>conftest.$ac_ext <<_ACEOF
18241 /* end confdefs.h. */
18242 #ifndef __cplusplus
18244 static $ac_kw foo_t static_foo () {return 0; }
18245 $ac_kw foo_t foo () {return 0; }
18249 rm -f conftest.$ac_objext
18250 if { (ac_try="$ac_compile"
18251 case "(($ac_try" in
18252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18253 *) ac_try_echo=$ac_try;;
18255 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18256 (eval "$ac_compile") 2>conftest.er1
18258 grep -v '^ *+' conftest.er1 >conftest.err
18260 cat conftest.err >&5
18261 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18262 (exit $ac_status); } && {
18263 test -z "$ac_c_werror_flag" ||
18264 test ! -s conftest.err
18265 } && test -s conftest.$ac_objext; then
18266 ac_cv_c_inline=$ac_kw
18268 echo "$as_me: failed program was
:" >&5
18269 sed 's/^/| /' conftest.$ac_ext >&5
18274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18275 test "$ac_cv_c_inline" != no && break
18279 { echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
18280 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
18283 case $ac_cv_c_inline in
18286 case $ac_cv_c_inline in
18288 *) ac_val=$ac_cv_c_inline;;
18290 cat >>confdefs.h <<_ACEOF
18291 #ifndef __cplusplus
18292 #define inline $ac_val
18299 { echo "$as_me:$LINENO: checking
for short
" >&5
18300 echo $ECHO_N "checking
for short...
$ECHO_C" >&6; }
18301 if test "${ac_cv_type_short+set}" = set; then
18302 echo $ECHO_N "(cached
) $ECHO_C" >&6
18304 cat >conftest.$ac_ext <<_ACEOF
18307 cat confdefs.h >>conftest.$ac_ext
18308 cat >>conftest.$ac_ext <<_ACEOF
18309 /* end confdefs.h. */
18310 $ac_includes_default
18311 typedef short ac__type_new_;
18315 if ((ac__type_new_ *) 0)
18317 if (sizeof (ac__type_new_))
18323 rm -f conftest.$ac_objext
18324 if { (ac_try="$ac_compile"
18325 case "(($ac_try" in
18326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18327 *) ac_try_echo=$ac_try;;
18329 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18330 (eval "$ac_compile") 2>conftest.er1
18332 grep -v '^ *+' conftest.er1 >conftest.err
18334 cat conftest.err >&5
18335 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18336 (exit $ac_status); } && {
18337 test -z "$ac_c_werror_flag" ||
18338 test ! -s conftest.err
18339 } && test -s conftest.$ac_objext; then
18340 ac_cv_type_short=yes
18342 echo "$as_me: failed program was
:" >&5
18343 sed 's/^/| /' conftest.$ac_ext >&5
18345 ac_cv_type_short=no
18348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18350 { echo "$as_me:$LINENO: result
: $ac_cv_type_short" >&5
18351 echo "${ECHO_T}$ac_cv_type_short" >&6; }
18353 # The cast to long int works around a bug in the HP C Compiler
18354 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18355 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18356 # This bug is HP SR number 8606223364.
18357 { echo "$as_me:$LINENO: checking size of short
" >&5
18358 echo $ECHO_N "checking size of short...
$ECHO_C" >&6; }
18359 if test "${ac_cv_sizeof_short+set}" = set; then
18360 echo $ECHO_N "(cached
) $ECHO_C" >&6
18362 if test "$cross_compiling" = yes; then
18363 # Depending upon the size, compute the lo and hi bounds.
18364 cat >conftest.$ac_ext <<_ACEOF
18367 cat confdefs.h >>conftest.$ac_ext
18368 cat >>conftest.$ac_ext <<_ACEOF
18369 /* end confdefs.h. */
18370 $ac_includes_default
18371 typedef short ac__type_sizeof_;
18375 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
18382 rm -f conftest.$ac_objext
18383 if { (ac_try="$ac_compile"
18384 case "(($ac_try" in
18385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18386 *) ac_try_echo=$ac_try;;
18388 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18389 (eval "$ac_compile") 2>conftest.er1
18391 grep -v '^ *+' conftest.er1 >conftest.err
18393 cat conftest.err >&5
18394 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18395 (exit $ac_status); } && {
18396 test -z "$ac_c_werror_flag" ||
18397 test ! -s conftest.err
18398 } && test -s conftest.$ac_objext; then
18401 cat >conftest.$ac_ext <<_ACEOF
18404 cat confdefs.h >>conftest.$ac_ext
18405 cat >>conftest.$ac_ext <<_ACEOF
18406 /* end confdefs.h. */
18407 $ac_includes_default
18408 typedef short ac__type_sizeof_;
18412 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18419 rm -f conftest.$ac_objext
18420 if { (ac_try="$ac_compile"
18421 case "(($ac_try" in
18422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18423 *) ac_try_echo=$ac_try;;
18425 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18426 (eval "$ac_compile") 2>conftest.er1
18428 grep -v '^ *+' conftest.er1 >conftest.err
18430 cat conftest.err >&5
18431 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18432 (exit $ac_status); } && {
18433 test -z "$ac_c_werror_flag" ||
18434 test ! -s conftest.err
18435 } && test -s conftest.$ac_objext; then
18436 ac_hi=$ac_mid; break
18438 echo "$as_me: failed program was
:" >&5
18439 sed 's/^/| /' conftest.$ac_ext >&5
18441 ac_lo=`expr $ac_mid + 1`
18442 if test $ac_lo -le $ac_mid; then
18446 ac_mid=`expr 2 '*' $ac_mid + 1`
18449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18452 echo "$as_me: failed program was
:" >&5
18453 sed 's/^/| /' conftest.$ac_ext >&5
18455 cat >conftest.$ac_ext <<_ACEOF
18458 cat confdefs.h >>conftest.$ac_ext
18459 cat >>conftest.$ac_ext <<_ACEOF
18460 /* end confdefs.h. */
18461 $ac_includes_default
18462 typedef short ac__type_sizeof_;
18466 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
18473 rm -f conftest.$ac_objext
18474 if { (ac_try="$ac_compile"
18475 case "(($ac_try" in
18476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18477 *) ac_try_echo=$ac_try;;
18479 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18480 (eval "$ac_compile") 2>conftest.er1
18482 grep -v '^ *+' conftest.er1 >conftest.err
18484 cat conftest.err >&5
18485 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18486 (exit $ac_status); } && {
18487 test -z "$ac_c_werror_flag" ||
18488 test ! -s conftest.err
18489 } && test -s conftest.$ac_objext; then
18492 cat >conftest.$ac_ext <<_ACEOF
18495 cat confdefs.h >>conftest.$ac_ext
18496 cat >>conftest.$ac_ext <<_ACEOF
18497 /* end confdefs.h. */
18498 $ac_includes_default
18499 typedef short ac__type_sizeof_;
18503 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
18510 rm -f conftest.$ac_objext
18511 if { (ac_try="$ac_compile"
18512 case "(($ac_try" in
18513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18514 *) ac_try_echo=$ac_try;;
18516 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18517 (eval "$ac_compile") 2>conftest.er1
18519 grep -v '^ *+' conftest.er1 >conftest.err
18521 cat conftest.err >&5
18522 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18523 (exit $ac_status); } && {
18524 test -z "$ac_c_werror_flag" ||
18525 test ! -s conftest.err
18526 } && test -s conftest.$ac_objext; then
18527 ac_lo=$ac_mid; break
18529 echo "$as_me: failed program was
:" >&5
18530 sed 's/^/| /' conftest.$ac_ext >&5
18532 ac_hi=`expr '(' $ac_mid ')' - 1`
18533 if test $ac_mid -le $ac_hi; then
18537 ac_mid=`expr 2 '*' $ac_mid`
18540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18543 echo "$as_me: failed program was
:" >&5
18544 sed 's/^/| /' conftest.$ac_ext >&5
18549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18553 # Binary search between lo and hi bounds.
18554 while test "x
$ac_lo" != "x
$ac_hi"; do
18555 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18556 cat >conftest.$ac_ext <<_ACEOF
18559 cat confdefs.h >>conftest.$ac_ext
18560 cat >>conftest.$ac_ext <<_ACEOF
18561 /* end confdefs.h. */
18562 $ac_includes_default
18563 typedef short ac__type_sizeof_;
18567 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18574 rm -f conftest.$ac_objext
18575 if { (ac_try="$ac_compile"
18576 case "(($ac_try" in
18577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18578 *) ac_try_echo=$ac_try;;
18580 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18581 (eval "$ac_compile") 2>conftest.er1
18583 grep -v '^ *+' conftest.er1 >conftest.err
18585 cat conftest.err >&5
18586 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18587 (exit $ac_status); } && {
18588 test -z "$ac_c_werror_flag" ||
18589 test ! -s conftest.err
18590 } && test -s conftest.$ac_objext; then
18593 echo "$as_me: failed program was
:" >&5
18594 sed 's/^/| /' conftest.$ac_ext >&5
18596 ac_lo=`expr '(' $ac_mid ')' + 1`
18599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18602 ?*) ac_cv_sizeof_short=$ac_lo;;
18603 '') if test "$ac_cv_type_short" = yes; then
18604 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
18605 See \
`config.log' for more details." >&5
18606 echo "$as_me: error: cannot compute sizeof (short)
18607 See \`config.log
' for more details." >&2;}
18608 { (exit 77); exit 77; }; }
18610 ac_cv_sizeof_short=0
18614 cat >conftest.$ac_ext <<_ACEOF
18617 cat confdefs.h >>conftest.$ac_ext
18618 cat >>conftest.$ac_ext <<_ACEOF
18619 /* end confdefs.h. */
18620 $ac_includes_default
18621 typedef short ac__type_sizeof_;
18622 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
18623 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
18625 #include <stdlib.h>
18630 FILE *f = fopen ("conftest.val", "w");
18633 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
18635 long int i = longval ();
18636 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18638 fprintf (f, "%ld\n", i);
18642 unsigned long int i = ulongval ();
18643 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18645 fprintf (f, "%lu\n", i);
18647 return ferror (f) || fclose (f) != 0;
18653 rm -f conftest$ac_exeext
18654 if { (ac_try="$ac_link"
18655 case "(($ac_try" in
18656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18657 *) ac_try_echo=$ac_try;;
18659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18660 (eval "$ac_link") 2>&5
18662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18663 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
18664 { (case "(($ac_try" in
18665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18666 *) ac_try_echo=$ac_try;;
18668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18669 (eval "$ac_try") 2>&5
18671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18672 (exit $ac_status); }; }; then
18673 ac_cv_sizeof_short=`cat conftest.val`
18675 echo "$as_me: program exited with status $ac_status" >&5
18676 echo "$as_me: failed program was:" >&5
18677 sed 's
/^
/| /' conftest.$ac_ext >&5
18679 ( exit $ac_status )
18680 if test "$ac_cv_type_short" = yes; then
18681 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
18682 See \`config.log' for more details.
" >&5
18683 echo "$as_me: error
: cannot compute sizeof
(short
)
18684 See \
`config.log' for more details." >&2;}
18685 { (exit 77); exit 77; }; }
18687 ac_cv_sizeof_short=0
18690 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18694 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18695 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
18699 cat >>confdefs.h <<_ACEOF
18700 #define SIZEOF_SHORT $ac_cv_sizeof_short
18704 { echo "$as_me:$LINENO: checking for void *" >&5
18705 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
18706 if test "${ac_cv_type_void_p+set}" = set; then
18707 echo $ECHO_N "(cached) $ECHO_C" >&6
18709 cat >conftest.$ac_ext <<_ACEOF
18712 cat confdefs.h >>conftest.$ac_ext
18713 cat >>conftest.$ac_ext <<_ACEOF
18714 /* end confdefs.h. */
18715 $ac_includes_default
18716 typedef void * ac__type_new_;
18720 if ((ac__type_new_ *) 0)
18722 if (sizeof (ac__type_new_))
18728 rm -f conftest.$ac_objext
18729 if { (ac_try="$ac_compile"
18730 case "(($ac_try" in
18731 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18732 *) ac_try_echo
=$ac_try;;
18734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18735 (eval "$ac_compile") 2>conftest.er1
18737 grep -v '^ *+' conftest.er1
>conftest.err
18739 cat conftest.err
>&5
18740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18741 (exit $ac_status); } && {
18742 test -z "$ac_c_werror_flag" ||
18743 test ! -s conftest.err
18744 } && test -s conftest.
$ac_objext; then
18745 ac_cv_type_void_p
=yes
18747 echo "$as_me: failed program was:" >&5
18748 sed 's/^/| /' conftest.
$ac_ext >&5
18750 ac_cv_type_void_p
=no
18753 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18755 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
18756 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
18758 # The cast to long int works around a bug in the HP C Compiler
18759 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18760 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18761 # This bug is HP SR number 8606223364.
18762 { echo "$as_me:$LINENO: checking size of void *" >&5
18763 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
18764 if test "${ac_cv_sizeof_void_p+set}" = set; then
18765 echo $ECHO_N "(cached) $ECHO_C" >&6
18767 if test "$cross_compiling" = yes; then
18768 # Depending upon the size, compute the lo and hi bounds.
18769 cat >conftest.
$ac_ext <<_ACEOF
18772 cat confdefs.h
>>conftest.
$ac_ext
18773 cat >>conftest.
$ac_ext <<_ACEOF
18774 /* end confdefs.h. */
18775 $ac_includes_default
18776 typedef void * ac__type_sizeof_;
18780 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
18787 rm -f conftest.
$ac_objext
18788 if { (ac_try
="$ac_compile"
18789 case "(($ac_try" in
18790 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18791 *) ac_try_echo=$ac_try;;
18793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18794 (eval "$ac_compile") 2>conftest.er1
18796 grep -v '^ *+' conftest.er1 >conftest.err
18798 cat conftest.err >&5
18799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18800 (exit $ac_status); } && {
18801 test -z "$ac_c_werror_flag" ||
18802 test ! -s conftest.err
18803 } && test -s conftest.$ac_objext; then
18806 cat >conftest.$ac_ext <<_ACEOF
18809 cat confdefs.h >>conftest.$ac_ext
18810 cat >>conftest.$ac_ext <<_ACEOF
18811 /* end confdefs.h. */
18812 $ac_includes_default
18813 typedef void * ac__type_sizeof_;
18817 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18824 rm -f conftest.$ac_objext
18825 if { (ac_try="$ac_compile"
18826 case "(($ac_try" in
18827 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18828 *) ac_try_echo
=$ac_try;;
18830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18831 (eval "$ac_compile") 2>conftest.er1
18833 grep -v '^ *+' conftest.er1
>conftest.err
18835 cat conftest.err
>&5
18836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18837 (exit $ac_status); } && {
18838 test -z "$ac_c_werror_flag" ||
18839 test ! -s conftest.err
18840 } && test -s conftest.
$ac_objext; then
18841 ac_hi
=$ac_mid; break
18843 echo "$as_me: failed program was:" >&5
18844 sed 's/^/| /' conftest.
$ac_ext >&5
18846 ac_lo
=`expr $ac_mid + 1`
18847 if test $ac_lo -le $ac_mid; then
18851 ac_mid
=`expr 2 '*' $ac_mid + 1`
18854 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18857 echo "$as_me: failed program was:" >&5
18858 sed 's/^/| /' conftest.
$ac_ext >&5
18860 cat >conftest.
$ac_ext <<_ACEOF
18863 cat confdefs.h
>>conftest.
$ac_ext
18864 cat >>conftest.
$ac_ext <<_ACEOF
18865 /* end confdefs.h. */
18866 $ac_includes_default
18867 typedef void * ac__type_sizeof_;
18871 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
18878 rm -f conftest.
$ac_objext
18879 if { (ac_try
="$ac_compile"
18880 case "(($ac_try" in
18881 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18882 *) ac_try_echo=$ac_try;;
18884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18885 (eval "$ac_compile") 2>conftest.er1
18887 grep -v '^ *+' conftest.er1 >conftest.err
18889 cat conftest.err >&5
18890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18891 (exit $ac_status); } && {
18892 test -z "$ac_c_werror_flag" ||
18893 test ! -s conftest.err
18894 } && test -s conftest.$ac_objext; then
18897 cat >conftest.$ac_ext <<_ACEOF
18900 cat confdefs.h >>conftest.$ac_ext
18901 cat >>conftest.$ac_ext <<_ACEOF
18902 /* end confdefs.h. */
18903 $ac_includes_default
18904 typedef void * ac__type_sizeof_;
18908 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
18915 rm -f conftest.$ac_objext
18916 if { (ac_try="$ac_compile"
18917 case "(($ac_try" in
18918 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18919 *) ac_try_echo
=$ac_try;;
18921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18922 (eval "$ac_compile") 2>conftest.er1
18924 grep -v '^ *+' conftest.er1
>conftest.err
18926 cat conftest.err
>&5
18927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18928 (exit $ac_status); } && {
18929 test -z "$ac_c_werror_flag" ||
18930 test ! -s conftest.err
18931 } && test -s conftest.
$ac_objext; then
18932 ac_lo
=$ac_mid; break
18934 echo "$as_me: failed program was:" >&5
18935 sed 's/^/| /' conftest.
$ac_ext >&5
18937 ac_hi
=`expr '(' $ac_mid ')' - 1`
18938 if test $ac_mid -le $ac_hi; then
18942 ac_mid
=`expr 2 '*' $ac_mid`
18945 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18948 echo "$as_me: failed program was:" >&5
18949 sed 's/^/| /' conftest.
$ac_ext >&5
18954 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18957 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18958 # Binary search between lo and hi bounds.
18959 while test "x$ac_lo" != "x$ac_hi"; do
18960 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18961 cat >conftest.
$ac_ext <<_ACEOF
18964 cat confdefs.h
>>conftest.
$ac_ext
18965 cat >>conftest.
$ac_ext <<_ACEOF
18966 /* end confdefs.h. */
18967 $ac_includes_default
18968 typedef void * ac__type_sizeof_;
18972 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18979 rm -f conftest.
$ac_objext
18980 if { (ac_try
="$ac_compile"
18981 case "(($ac_try" in
18982 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18983 *) ac_try_echo=$ac_try;;
18985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18986 (eval "$ac_compile") 2>conftest.er1
18988 grep -v '^ *+' conftest.er1 >conftest.err
18990 cat conftest.err >&5
18991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18992 (exit $ac_status); } && {
18993 test -z "$ac_c_werror_flag" ||
18994 test ! -s conftest.err
18995 } && test -s conftest.$ac_objext; then
18998 echo "$as_me: failed program was:" >&5
18999 sed 's/^/| /' conftest.$ac_ext >&5
19001 ac_lo=`expr '(' $ac_mid ')' + 1`
19004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19007 ?*) ac_cv_sizeof_void_p=$ac_lo;;
19008 '') if test "$ac_cv_type_void_p" = yes; then
19009 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19010 See \`config.log
' for more details." >&5
19011 echo "$as_me: error: cannot compute sizeof (void *)
19012 See \`config.log' for more details.
" >&2;}
19013 { (exit 77); exit 77; }; }
19015 ac_cv_sizeof_void_p=0
19019 cat >conftest.$ac_ext <<_ACEOF
19022 cat confdefs.h >>conftest.$ac_ext
19023 cat >>conftest.$ac_ext <<_ACEOF
19024 /* end confdefs.h. */
19025 $ac_includes_default
19026 typedef void * ac__type_sizeof_;
19027 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19028 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19030 #include <stdlib.h>
19035 FILE *f = fopen ("conftest.val
", "w
");
19038 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19040 long int i = longval ();
19041 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19043 fprintf (f, "%ld
\n", i);
19047 unsigned long int i = ulongval ();
19048 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19050 fprintf (f, "%lu
\n", i);
19052 return ferror (f) || fclose (f) != 0;
19058 rm -f conftest$ac_exeext
19059 if { (ac_try="$ac_link"
19060 case "(($ac_try" in
19061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19062 *) ac_try_echo=$ac_try;;
19064 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19065 (eval "$ac_link") 2>&5
19067 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19068 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19069 { (case "(($ac_try" in
19070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19071 *) ac_try_echo=$ac_try;;
19073 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19074 (eval "$ac_try") 2>&5
19076 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19077 (exit $ac_status); }; }; then
19078 ac_cv_sizeof_void_p=`cat conftest.val`
19080 echo "$as_me: program exited with status
$ac_status" >&5
19081 echo "$as_me: failed program was
:" >&5
19082 sed 's/^/| /' conftest.$ac_ext >&5
19084 ( exit $ac_status )
19085 if test "$ac_cv_type_void_p" = yes; then
19086 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
19087 See \
`config.log' for more details." >&5
19088 echo "$as_me: error: cannot compute sizeof (void *)
19089 See \`config.log
' for more details." >&2;}
19090 { (exit 77); exit 77; }; }
19092 ac_cv_sizeof_void_p=0
19095 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19099 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19100 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
19104 cat >>confdefs.h <<_ACEOF
19105 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19109 { echo "$as_me:$LINENO: checking for int" >&5
19110 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
19111 if test "${ac_cv_type_int+set}" = set; then
19112 echo $ECHO_N "(cached) $ECHO_C" >&6
19114 cat >conftest.$ac_ext <<_ACEOF
19117 cat confdefs.h >>conftest.$ac_ext
19118 cat >>conftest.$ac_ext <<_ACEOF
19119 /* end confdefs.h. */
19120 $ac_includes_default
19121 typedef int ac__type_new_;
19125 if ((ac__type_new_ *) 0)
19127 if (sizeof (ac__type_new_))
19133 rm -f conftest.$ac_objext
19134 if { (ac_try="$ac_compile"
19135 case "(($ac_try" in
19136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19137 *) ac_try_echo=$ac_try;;
19139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19140 (eval "$ac_compile") 2>conftest.er1
19142 grep -v '^
*+' conftest.er1 >conftest.err
19144 cat conftest.err >&5
19145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19146 (exit $ac_status); } && {
19147 test -z "$ac_c_werror_flag" ||
19148 test ! -s conftest.err
19149 } && test -s conftest.$ac_objext; then
19152 echo "$as_me: failed program was:" >&5
19153 sed 's
/^
/| /' conftest.$ac_ext >&5
19158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19160 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19161 echo "${ECHO_T}$ac_cv_type_int" >&6; }
19163 # The cast to long int works around a bug in the HP C Compiler
19164 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19165 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19166 # This bug is HP SR number 8606223364.
19167 { echo "$as_me:$LINENO: checking size of int" >&5
19168 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
19169 if test "${ac_cv_sizeof_int+set}" = set; then
19170 echo $ECHO_N "(cached) $ECHO_C" >&6
19172 if test "$cross_compiling" = yes; then
19173 # Depending upon the size, compute the lo and hi bounds.
19174 cat >conftest.
$ac_ext <<_ACEOF
19177 cat confdefs.h
>>conftest.
$ac_ext
19178 cat >>conftest.
$ac_ext <<_ACEOF
19179 /* end confdefs.h. */
19180 $ac_includes_default
19181 typedef int ac__type_sizeof_;
19185 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19192 rm -f conftest.
$ac_objext
19193 if { (ac_try
="$ac_compile"
19194 case "(($ac_try" in
19195 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19196 *) ac_try_echo=$ac_try;;
19198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19199 (eval "$ac_compile") 2>conftest.er1
19201 grep -v '^ *+' conftest.er1 >conftest.err
19203 cat conftest.err >&5
19204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19205 (exit $ac_status); } && {
19206 test -z "$ac_c_werror_flag" ||
19207 test ! -s conftest.err
19208 } && test -s conftest.$ac_objext; then
19211 cat >conftest.$ac_ext <<_ACEOF
19214 cat confdefs.h >>conftest.$ac_ext
19215 cat >>conftest.$ac_ext <<_ACEOF
19216 /* end confdefs.h. */
19217 $ac_includes_default
19218 typedef int ac__type_sizeof_;
19222 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19229 rm -f conftest.$ac_objext
19230 if { (ac_try="$ac_compile"
19231 case "(($ac_try" in
19232 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19233 *) ac_try_echo
=$ac_try;;
19235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19236 (eval "$ac_compile") 2>conftest.er1
19238 grep -v '^ *+' conftest.er1
>conftest.err
19240 cat conftest.err
>&5
19241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19242 (exit $ac_status); } && {
19243 test -z "$ac_c_werror_flag" ||
19244 test ! -s conftest.err
19245 } && test -s conftest.
$ac_objext; then
19246 ac_hi
=$ac_mid; break
19248 echo "$as_me: failed program was:" >&5
19249 sed 's/^/| /' conftest.
$ac_ext >&5
19251 ac_lo
=`expr $ac_mid + 1`
19252 if test $ac_lo -le $ac_mid; then
19256 ac_mid
=`expr 2 '*' $ac_mid + 1`
19259 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19262 echo "$as_me: failed program was:" >&5
19263 sed 's/^/| /' conftest.
$ac_ext >&5
19265 cat >conftest.
$ac_ext <<_ACEOF
19268 cat confdefs.h
>>conftest.
$ac_ext
19269 cat >>conftest.
$ac_ext <<_ACEOF
19270 /* end confdefs.h. */
19271 $ac_includes_default
19272 typedef int ac__type_sizeof_;
19276 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19283 rm -f conftest.
$ac_objext
19284 if { (ac_try
="$ac_compile"
19285 case "(($ac_try" in
19286 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19287 *) ac_try_echo=$ac_try;;
19289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19290 (eval "$ac_compile") 2>conftest.er1
19292 grep -v '^ *+' conftest.er1 >conftest.err
19294 cat conftest.err >&5
19295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19296 (exit $ac_status); } && {
19297 test -z "$ac_c_werror_flag" ||
19298 test ! -s conftest.err
19299 } && test -s conftest.$ac_objext; then
19302 cat >conftest.$ac_ext <<_ACEOF
19305 cat confdefs.h >>conftest.$ac_ext
19306 cat >>conftest.$ac_ext <<_ACEOF
19307 /* end confdefs.h. */
19308 $ac_includes_default
19309 typedef int ac__type_sizeof_;
19313 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19320 rm -f conftest.$ac_objext
19321 if { (ac_try="$ac_compile"
19322 case "(($ac_try" in
19323 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19324 *) ac_try_echo
=$ac_try;;
19326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19327 (eval "$ac_compile") 2>conftest.er1
19329 grep -v '^ *+' conftest.er1
>conftest.err
19331 cat conftest.err
>&5
19332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19333 (exit $ac_status); } && {
19334 test -z "$ac_c_werror_flag" ||
19335 test ! -s conftest.err
19336 } && test -s conftest.
$ac_objext; then
19337 ac_lo
=$ac_mid; break
19339 echo "$as_me: failed program was:" >&5
19340 sed 's/^/| /' conftest.
$ac_ext >&5
19342 ac_hi
=`expr '(' $ac_mid ')' - 1`
19343 if test $ac_mid -le $ac_hi; then
19347 ac_mid
=`expr 2 '*' $ac_mid`
19350 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19353 echo "$as_me: failed program was:" >&5
19354 sed 's/^/| /' conftest.
$ac_ext >&5
19359 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19362 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19363 # Binary search between lo and hi bounds.
19364 while test "x$ac_lo" != "x$ac_hi"; do
19365 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19366 cat >conftest.
$ac_ext <<_ACEOF
19369 cat confdefs.h
>>conftest.
$ac_ext
19370 cat >>conftest.
$ac_ext <<_ACEOF
19371 /* end confdefs.h. */
19372 $ac_includes_default
19373 typedef int ac__type_sizeof_;
19377 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19384 rm -f conftest.
$ac_objext
19385 if { (ac_try
="$ac_compile"
19386 case "(($ac_try" in
19387 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19388 *) ac_try_echo=$ac_try;;
19390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19391 (eval "$ac_compile") 2>conftest.er1
19393 grep -v '^ *+' conftest.er1 >conftest.err
19395 cat conftest.err >&5
19396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19397 (exit $ac_status); } && {
19398 test -z "$ac_c_werror_flag" ||
19399 test ! -s conftest.err
19400 } && test -s conftest.$ac_objext; then
19403 echo "$as_me: failed program was:" >&5
19404 sed 's/^/| /' conftest.$ac_ext >&5
19406 ac_lo=`expr '(' $ac_mid ')' + 1`
19409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19412 ?*) ac_cv_sizeof_int=$ac_lo;;
19413 '') if test "$ac_cv_type_int" = yes; then
19414 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
19415 See \`config.log
' for more details." >&5
19416 echo "$as_me: error: cannot compute sizeof (int)
19417 See \`config.log' for more details.
" >&2;}
19418 { (exit 77); exit 77; }; }
19424 cat >conftest.$ac_ext <<_ACEOF
19427 cat confdefs.h >>conftest.$ac_ext
19428 cat >>conftest.$ac_ext <<_ACEOF
19429 /* end confdefs.h. */
19430 $ac_includes_default
19431 typedef int ac__type_sizeof_;
19432 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19433 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19435 #include <stdlib.h>
19440 FILE *f = fopen ("conftest.val
", "w
");
19443 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19445 long int i = longval ();
19446 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19448 fprintf (f, "%ld
\n", i);
19452 unsigned long int i = ulongval ();
19453 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19455 fprintf (f, "%lu
\n", i);
19457 return ferror (f) || fclose (f) != 0;
19463 rm -f conftest$ac_exeext
19464 if { (ac_try="$ac_link"
19465 case "(($ac_try" in
19466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19467 *) ac_try_echo=$ac_try;;
19469 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19470 (eval "$ac_link") 2>&5
19472 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19473 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19474 { (case "(($ac_try" in
19475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19476 *) ac_try_echo=$ac_try;;
19478 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19479 (eval "$ac_try") 2>&5
19481 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19482 (exit $ac_status); }; }; then
19483 ac_cv_sizeof_int=`cat conftest.val`
19485 echo "$as_me: program exited with status
$ac_status" >&5
19486 echo "$as_me: failed program was
:" >&5
19487 sed 's/^/| /' conftest.$ac_ext >&5
19489 ( exit $ac_status )
19490 if test "$ac_cv_type_int" = yes; then
19491 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
19492 See \
`config.log' for more details." >&5
19493 echo "$as_me: error: cannot compute sizeof (int)
19494 See \`config.log
' for more details." >&2;}
19495 { (exit 77); exit 77; }; }
19500 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19504 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
19505 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
19509 cat >>confdefs.h <<_ACEOF
19510 #define SIZEOF_INT $ac_cv_sizeof_int
19514 { echo "$as_me:$LINENO: checking for long" >&5
19515 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
19516 if test "${ac_cv_type_long+set}" = set; then
19517 echo $ECHO_N "(cached) $ECHO_C" >&6
19519 cat >conftest.$ac_ext <<_ACEOF
19522 cat confdefs.h >>conftest.$ac_ext
19523 cat >>conftest.$ac_ext <<_ACEOF
19524 /* end confdefs.h. */
19525 $ac_includes_default
19526 typedef long ac__type_new_;
19530 if ((ac__type_new_ *) 0)
19532 if (sizeof (ac__type_new_))
19538 rm -f conftest.$ac_objext
19539 if { (ac_try="$ac_compile"
19540 case "(($ac_try" in
19541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19542 *) ac_try_echo=$ac_try;;
19544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19545 (eval "$ac_compile") 2>conftest.er1
19547 grep -v '^
*+' conftest.er1 >conftest.err
19549 cat conftest.err >&5
19550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19551 (exit $ac_status); } && {
19552 test -z "$ac_c_werror_flag" ||
19553 test ! -s conftest.err
19554 } && test -s conftest.$ac_objext; then
19555 ac_cv_type_long=yes
19557 echo "$as_me: failed program was:" >&5
19558 sed 's
/^
/| /' conftest.$ac_ext >&5
19563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19565 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
19566 echo "${ECHO_T}$ac_cv_type_long" >&6; }
19568 # The cast to long int works around a bug in the HP C Compiler
19569 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19570 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19571 # This bug is HP SR number 8606223364.
19572 { echo "$as_me:$LINENO: checking size of long" >&5
19573 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
19574 if test "${ac_cv_sizeof_long+set}" = set; then
19575 echo $ECHO_N "(cached) $ECHO_C" >&6
19577 if test "$cross_compiling" = yes; then
19578 # Depending upon the size, compute the lo and hi bounds.
19579 cat >conftest.
$ac_ext <<_ACEOF
19582 cat confdefs.h
>>conftest.
$ac_ext
19583 cat >>conftest.
$ac_ext <<_ACEOF
19584 /* end confdefs.h. */
19585 $ac_includes_default
19586 typedef long ac__type_sizeof_;
19590 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19597 rm -f conftest.
$ac_objext
19598 if { (ac_try
="$ac_compile"
19599 case "(($ac_try" in
19600 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19601 *) ac_try_echo=$ac_try;;
19603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19604 (eval "$ac_compile") 2>conftest.er1
19606 grep -v '^ *+' conftest.er1 >conftest.err
19608 cat conftest.err >&5
19609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19610 (exit $ac_status); } && {
19611 test -z "$ac_c_werror_flag" ||
19612 test ! -s conftest.err
19613 } && test -s conftest.$ac_objext; then
19616 cat >conftest.$ac_ext <<_ACEOF
19619 cat confdefs.h >>conftest.$ac_ext
19620 cat >>conftest.$ac_ext <<_ACEOF
19621 /* end confdefs.h. */
19622 $ac_includes_default
19623 typedef long ac__type_sizeof_;
19627 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19634 rm -f conftest.$ac_objext
19635 if { (ac_try="$ac_compile"
19636 case "(($ac_try" in
19637 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19638 *) ac_try_echo
=$ac_try;;
19640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19641 (eval "$ac_compile") 2>conftest.er1
19643 grep -v '^ *+' conftest.er1
>conftest.err
19645 cat conftest.err
>&5
19646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19647 (exit $ac_status); } && {
19648 test -z "$ac_c_werror_flag" ||
19649 test ! -s conftest.err
19650 } && test -s conftest.
$ac_objext; then
19651 ac_hi
=$ac_mid; break
19653 echo "$as_me: failed program was:" >&5
19654 sed 's/^/| /' conftest.
$ac_ext >&5
19656 ac_lo
=`expr $ac_mid + 1`
19657 if test $ac_lo -le $ac_mid; then
19661 ac_mid
=`expr 2 '*' $ac_mid + 1`
19664 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19667 echo "$as_me: failed program was:" >&5
19668 sed 's/^/| /' conftest.
$ac_ext >&5
19670 cat >conftest.
$ac_ext <<_ACEOF
19673 cat confdefs.h
>>conftest.
$ac_ext
19674 cat >>conftest.
$ac_ext <<_ACEOF
19675 /* end confdefs.h. */
19676 $ac_includes_default
19677 typedef long ac__type_sizeof_;
19681 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19688 rm -f conftest.
$ac_objext
19689 if { (ac_try
="$ac_compile"
19690 case "(($ac_try" in
19691 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19692 *) ac_try_echo=$ac_try;;
19694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19695 (eval "$ac_compile") 2>conftest.er1
19697 grep -v '^ *+' conftest.er1 >conftest.err
19699 cat conftest.err >&5
19700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19701 (exit $ac_status); } && {
19702 test -z "$ac_c_werror_flag" ||
19703 test ! -s conftest.err
19704 } && test -s conftest.$ac_objext; then
19707 cat >conftest.$ac_ext <<_ACEOF
19710 cat confdefs.h >>conftest.$ac_ext
19711 cat >>conftest.$ac_ext <<_ACEOF
19712 /* end confdefs.h. */
19713 $ac_includes_default
19714 typedef long ac__type_sizeof_;
19718 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19725 rm -f conftest.$ac_objext
19726 if { (ac_try="$ac_compile"
19727 case "(($ac_try" in
19728 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19729 *) ac_try_echo
=$ac_try;;
19731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19732 (eval "$ac_compile") 2>conftest.er1
19734 grep -v '^ *+' conftest.er1
>conftest.err
19736 cat conftest.err
>&5
19737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19738 (exit $ac_status); } && {
19739 test -z "$ac_c_werror_flag" ||
19740 test ! -s conftest.err
19741 } && test -s conftest.
$ac_objext; then
19742 ac_lo
=$ac_mid; break
19744 echo "$as_me: failed program was:" >&5
19745 sed 's/^/| /' conftest.
$ac_ext >&5
19747 ac_hi
=`expr '(' $ac_mid ')' - 1`
19748 if test $ac_mid -le $ac_hi; then
19752 ac_mid
=`expr 2 '*' $ac_mid`
19755 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19758 echo "$as_me: failed program was:" >&5
19759 sed 's/^/| /' conftest.
$ac_ext >&5
19764 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19767 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19768 # Binary search between lo and hi bounds.
19769 while test "x$ac_lo" != "x$ac_hi"; do
19770 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19771 cat >conftest.
$ac_ext <<_ACEOF
19774 cat confdefs.h
>>conftest.
$ac_ext
19775 cat >>conftest.
$ac_ext <<_ACEOF
19776 /* end confdefs.h. */
19777 $ac_includes_default
19778 typedef long ac__type_sizeof_;
19782 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19789 rm -f conftest.
$ac_objext
19790 if { (ac_try
="$ac_compile"
19791 case "(($ac_try" in
19792 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19793 *) ac_try_echo=$ac_try;;
19795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19796 (eval "$ac_compile") 2>conftest.er1
19798 grep -v '^ *+' conftest.er1 >conftest.err
19800 cat conftest.err >&5
19801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19802 (exit $ac_status); } && {
19803 test -z "$ac_c_werror_flag" ||
19804 test ! -s conftest.err
19805 } && test -s conftest.$ac_objext; then
19808 echo "$as_me: failed program was:" >&5
19809 sed 's/^/| /' conftest.$ac_ext >&5
19811 ac_lo=`expr '(' $ac_mid ')' + 1`
19814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19817 ?*) ac_cv_sizeof_long=$ac_lo;;
19818 '') if test "$ac_cv_type_long" = yes; then
19819 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
19820 See \`config.log
' for more details." >&5
19821 echo "$as_me: error: cannot compute sizeof (long)
19822 See \`config.log' for more details.
" >&2;}
19823 { (exit 77); exit 77; }; }
19825 ac_cv_sizeof_long=0
19829 cat >conftest.$ac_ext <<_ACEOF
19832 cat confdefs.h >>conftest.$ac_ext
19833 cat >>conftest.$ac_ext <<_ACEOF
19834 /* end confdefs.h. */
19835 $ac_includes_default
19836 typedef long ac__type_sizeof_;
19837 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19838 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19840 #include <stdlib.h>
19845 FILE *f = fopen ("conftest.val
", "w
");
19848 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19850 long int i = longval ();
19851 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19853 fprintf (f, "%ld
\n", i);
19857 unsigned long int i = ulongval ();
19858 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19860 fprintf (f, "%lu
\n", i);
19862 return ferror (f) || fclose (f) != 0;
19868 rm -f conftest$ac_exeext
19869 if { (ac_try="$ac_link"
19870 case "(($ac_try" in
19871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19872 *) ac_try_echo=$ac_try;;
19874 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19875 (eval "$ac_link") 2>&5
19877 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19878 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19879 { (case "(($ac_try" in
19880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19881 *) ac_try_echo=$ac_try;;
19883 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19884 (eval "$ac_try") 2>&5
19886 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19887 (exit $ac_status); }; }; then
19888 ac_cv_sizeof_long=`cat conftest.val`
19890 echo "$as_me: program exited with status
$ac_status" >&5
19891 echo "$as_me: failed program was
:" >&5
19892 sed 's/^/| /' conftest.$ac_ext >&5
19894 ( exit $ac_status )
19895 if test "$ac_cv_type_long" = yes; then
19896 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
19897 See \
`config.log' for more details." >&5
19898 echo "$as_me: error: cannot compute sizeof (long)
19899 See \`config.log
' for more details." >&2;}
19900 { (exit 77); exit 77; }; }
19902 ac_cv_sizeof_long=0
19905 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19909 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
19910 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
19914 cat >>confdefs.h <<_ACEOF
19915 #define SIZEOF_LONG $ac_cv_sizeof_long
19919 { echo "$as_me:$LINENO: checking for size_t" >&5
19920 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
19921 if test "${ac_cv_type_size_t+set}" = set; then
19922 echo $ECHO_N "(cached) $ECHO_C" >&6
19924 cat >conftest.$ac_ext <<_ACEOF
19927 cat confdefs.h >>conftest.$ac_ext
19928 cat >>conftest.$ac_ext <<_ACEOF
19929 /* end confdefs.h. */
19930 $ac_includes_default
19931 typedef size_t ac__type_new_;
19935 if ((ac__type_new_ *) 0)
19937 if (sizeof (ac__type_new_))
19943 rm -f conftest.$ac_objext
19944 if { (ac_try="$ac_compile"
19945 case "(($ac_try" in
19946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19947 *) ac_try_echo=$ac_try;;
19949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19950 (eval "$ac_compile") 2>conftest.er1
19952 grep -v '^
*+' conftest.er1 >conftest.err
19954 cat conftest.err >&5
19955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19956 (exit $ac_status); } && {
19957 test -z "$ac_c_werror_flag" ||
19958 test ! -s conftest.err
19959 } && test -s conftest.$ac_objext; then
19960 ac_cv_type_size_t=yes
19962 echo "$as_me: failed program was:" >&5
19963 sed 's
/^
/| /' conftest.$ac_ext >&5
19965 ac_cv_type_size_t=no
19968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19970 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19971 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
19973 # The cast to long int works around a bug in the HP C Compiler
19974 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19975 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19976 # This bug is HP SR number 8606223364.
19977 { echo "$as_me:$LINENO: checking size of size_t" >&5
19978 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
19979 if test "${ac_cv_sizeof_size_t+set}" = set; then
19980 echo $ECHO_N "(cached) $ECHO_C" >&6
19982 if test "$cross_compiling" = yes; then
19983 # Depending upon the size, compute the lo and hi bounds.
19984 cat >conftest.
$ac_ext <<_ACEOF
19987 cat confdefs.h
>>conftest.
$ac_ext
19988 cat >>conftest.
$ac_ext <<_ACEOF
19989 /* end confdefs.h. */
19990 $ac_includes_default
19991 typedef size_t ac__type_sizeof_;
19995 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20002 rm -f conftest.
$ac_objext
20003 if { (ac_try
="$ac_compile"
20004 case "(($ac_try" in
20005 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20006 *) ac_try_echo=$ac_try;;
20008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20009 (eval "$ac_compile") 2>conftest.er1
20011 grep -v '^ *+' conftest.er1 >conftest.err
20013 cat conftest.err >&5
20014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20015 (exit $ac_status); } && {
20016 test -z "$ac_c_werror_flag" ||
20017 test ! -s conftest.err
20018 } && test -s conftest.$ac_objext; then
20021 cat >conftest.$ac_ext <<_ACEOF
20024 cat confdefs.h >>conftest.$ac_ext
20025 cat >>conftest.$ac_ext <<_ACEOF
20026 /* end confdefs.h. */
20027 $ac_includes_default
20028 typedef size_t ac__type_sizeof_;
20032 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20039 rm -f conftest.$ac_objext
20040 if { (ac_try="$ac_compile"
20041 case "(($ac_try" in
20042 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20043 *) ac_try_echo
=$ac_try;;
20045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20046 (eval "$ac_compile") 2>conftest.er1
20048 grep -v '^ *+' conftest.er1
>conftest.err
20050 cat conftest.err
>&5
20051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20052 (exit $ac_status); } && {
20053 test -z "$ac_c_werror_flag" ||
20054 test ! -s conftest.err
20055 } && test -s conftest.
$ac_objext; then
20056 ac_hi
=$ac_mid; break
20058 echo "$as_me: failed program was:" >&5
20059 sed 's/^/| /' conftest.
$ac_ext >&5
20061 ac_lo
=`expr $ac_mid + 1`
20062 if test $ac_lo -le $ac_mid; then
20066 ac_mid
=`expr 2 '*' $ac_mid + 1`
20069 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20072 echo "$as_me: failed program was:" >&5
20073 sed 's/^/| /' conftest.
$ac_ext >&5
20075 cat >conftest.
$ac_ext <<_ACEOF
20078 cat confdefs.h
>>conftest.
$ac_ext
20079 cat >>conftest.
$ac_ext <<_ACEOF
20080 /* end confdefs.h. */
20081 $ac_includes_default
20082 typedef size_t ac__type_sizeof_;
20086 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20093 rm -f conftest.
$ac_objext
20094 if { (ac_try
="$ac_compile"
20095 case "(($ac_try" in
20096 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20097 *) ac_try_echo=$ac_try;;
20099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20100 (eval "$ac_compile") 2>conftest.er1
20102 grep -v '^ *+' conftest.er1 >conftest.err
20104 cat conftest.err >&5
20105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20106 (exit $ac_status); } && {
20107 test -z "$ac_c_werror_flag" ||
20108 test ! -s conftest.err
20109 } && test -s conftest.$ac_objext; then
20112 cat >conftest.$ac_ext <<_ACEOF
20115 cat confdefs.h >>conftest.$ac_ext
20116 cat >>conftest.$ac_ext <<_ACEOF
20117 /* end confdefs.h. */
20118 $ac_includes_default
20119 typedef size_t ac__type_sizeof_;
20123 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20130 rm -f conftest.$ac_objext
20131 if { (ac_try="$ac_compile"
20132 case "(($ac_try" in
20133 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20134 *) ac_try_echo
=$ac_try;;
20136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20137 (eval "$ac_compile") 2>conftest.er1
20139 grep -v '^ *+' conftest.er1
>conftest.err
20141 cat conftest.err
>&5
20142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20143 (exit $ac_status); } && {
20144 test -z "$ac_c_werror_flag" ||
20145 test ! -s conftest.err
20146 } && test -s conftest.
$ac_objext; then
20147 ac_lo
=$ac_mid; break
20149 echo "$as_me: failed program was:" >&5
20150 sed 's/^/| /' conftest.
$ac_ext >&5
20152 ac_hi
=`expr '(' $ac_mid ')' - 1`
20153 if test $ac_mid -le $ac_hi; then
20157 ac_mid
=`expr 2 '*' $ac_mid`
20160 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20163 echo "$as_me: failed program was:" >&5
20164 sed 's/^/| /' conftest.
$ac_ext >&5
20169 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20172 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20173 # Binary search between lo and hi bounds.
20174 while test "x$ac_lo" != "x$ac_hi"; do
20175 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20176 cat >conftest.
$ac_ext <<_ACEOF
20179 cat confdefs.h
>>conftest.
$ac_ext
20180 cat >>conftest.
$ac_ext <<_ACEOF
20181 /* end confdefs.h. */
20182 $ac_includes_default
20183 typedef size_t ac__type_sizeof_;
20187 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20194 rm -f conftest.
$ac_objext
20195 if { (ac_try
="$ac_compile"
20196 case "(($ac_try" in
20197 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20198 *) ac_try_echo=$ac_try;;
20200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20201 (eval "$ac_compile") 2>conftest.er1
20203 grep -v '^ *+' conftest.er1 >conftest.err
20205 cat conftest.err >&5
20206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20207 (exit $ac_status); } && {
20208 test -z "$ac_c_werror_flag" ||
20209 test ! -s conftest.err
20210 } && test -s conftest.$ac_objext; then
20213 echo "$as_me: failed program was:" >&5
20214 sed 's/^/| /' conftest.$ac_ext >&5
20216 ac_lo=`expr '(' $ac_mid ')' + 1`
20219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20222 ?*) ac_cv_sizeof_size_t=$ac_lo;;
20223 '') if test "$ac_cv_type_size_t" = yes; then
20224 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
20225 See \`config.log
' for more details." >&5
20226 echo "$as_me: error: cannot compute sizeof (size_t)
20227 See \`config.log' for more details.
" >&2;}
20228 { (exit 77); exit 77; }; }
20230 ac_cv_sizeof_size_t=0
20234 cat >conftest.$ac_ext <<_ACEOF
20237 cat confdefs.h >>conftest.$ac_ext
20238 cat >>conftest.$ac_ext <<_ACEOF
20239 /* end confdefs.h. */
20240 $ac_includes_default
20241 typedef size_t ac__type_sizeof_;
20242 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20243 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20245 #include <stdlib.h>
20250 FILE *f = fopen ("conftest.val
", "w
");
20253 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20255 long int i = longval ();
20256 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20258 fprintf (f, "%ld
\n", i);
20262 unsigned long int i = ulongval ();
20263 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20265 fprintf (f, "%lu
\n", i);
20267 return ferror (f) || fclose (f) != 0;
20273 rm -f conftest$ac_exeext
20274 if { (ac_try="$ac_link"
20275 case "(($ac_try" in
20276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20277 *) ac_try_echo=$ac_try;;
20279 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20280 (eval "$ac_link") 2>&5
20282 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20283 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20284 { (case "(($ac_try" in
20285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20286 *) ac_try_echo=$ac_try;;
20288 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20289 (eval "$ac_try") 2>&5
20291 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20292 (exit $ac_status); }; }; then
20293 ac_cv_sizeof_size_t=`cat conftest.val`
20295 echo "$as_me: program exited with status
$ac_status" >&5
20296 echo "$as_me: failed program was
:" >&5
20297 sed 's/^/| /' conftest.$ac_ext >&5
20299 ( exit $ac_status )
20300 if test "$ac_cv_type_size_t" = yes; then
20301 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(size_t
)
20302 See \
`config.log' for more details." >&5
20303 echo "$as_me: error: cannot compute sizeof (size_t)
20304 See \`config.log
' for more details." >&2;}
20305 { (exit 77); exit 77; }; }
20307 ac_cv_sizeof_size_t=0
20310 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20314 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
20315 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
20319 cat >>confdefs.h <<_ACEOF
20320 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20327 { echo "$as_me:$LINENO: checking for long long" >&5
20328 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
20329 if test "${ac_cv_type_long_long+set}" = set; then
20330 echo $ECHO_N "(cached) $ECHO_C" >&6
20332 cat >conftest.$ac_ext <<_ACEOF
20335 cat confdefs.h >>conftest.$ac_ext
20336 cat >>conftest.$ac_ext <<_ACEOF
20337 /* end confdefs.h. */
20338 $ac_includes_default
20339 typedef long long ac__type_new_;
20343 if ((ac__type_new_ *) 0)
20345 if (sizeof (ac__type_new_))
20351 rm -f conftest.$ac_objext
20352 if { (ac_try="$ac_compile"
20353 case "(($ac_try" in
20354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20355 *) ac_try_echo=$ac_try;;
20357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20358 (eval "$ac_compile") 2>conftest.er1
20360 grep -v '^
*+' conftest.er1 >conftest.err
20362 cat conftest.err >&5
20363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20364 (exit $ac_status); } && {
20365 test -z "$ac_c_werror_flag" ||
20366 test ! -s conftest.err
20367 } && test -s conftest.$ac_objext; then
20368 ac_cv_type_long_long=yes
20370 echo "$as_me: failed program was:" >&5
20371 sed 's
/^
/| /' conftest.$ac_ext >&5
20373 ac_cv_type_long_long=no
20376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20378 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20379 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
20381 # The cast to long int works around a bug in the HP C Compiler
20382 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20383 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20384 # This bug is HP SR number 8606223364.
20385 { echo "$as_me:$LINENO: checking size of long long" >&5
20386 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
20387 if test "${ac_cv_sizeof_long_long+set}" = set; then
20388 echo $ECHO_N "(cached) $ECHO_C" >&6
20390 if test "$cross_compiling" = yes; then
20391 # Depending upon the size, compute the lo and hi bounds.
20392 cat >conftest.
$ac_ext <<_ACEOF
20395 cat confdefs.h
>>conftest.
$ac_ext
20396 cat >>conftest.
$ac_ext <<_ACEOF
20397 /* end confdefs.h. */
20398 $ac_includes_default
20399 typedef long long ac__type_sizeof_;
20403 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20410 rm -f conftest.
$ac_objext
20411 if { (ac_try
="$ac_compile"
20412 case "(($ac_try" in
20413 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20414 *) ac_try_echo=$ac_try;;
20416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20417 (eval "$ac_compile") 2>conftest.er1
20419 grep -v '^ *+' conftest.er1 >conftest.err
20421 cat conftest.err >&5
20422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20423 (exit $ac_status); } && {
20424 test -z "$ac_c_werror_flag" ||
20425 test ! -s conftest.err
20426 } && test -s conftest.$ac_objext; then
20429 cat >conftest.$ac_ext <<_ACEOF
20432 cat confdefs.h >>conftest.$ac_ext
20433 cat >>conftest.$ac_ext <<_ACEOF
20434 /* end confdefs.h. */
20435 $ac_includes_default
20436 typedef long long ac__type_sizeof_;
20440 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20447 rm -f conftest.$ac_objext
20448 if { (ac_try="$ac_compile"
20449 case "(($ac_try" in
20450 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20451 *) ac_try_echo
=$ac_try;;
20453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20454 (eval "$ac_compile") 2>conftest.er1
20456 grep -v '^ *+' conftest.er1
>conftest.err
20458 cat conftest.err
>&5
20459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20460 (exit $ac_status); } && {
20461 test -z "$ac_c_werror_flag" ||
20462 test ! -s conftest.err
20463 } && test -s conftest.
$ac_objext; then
20464 ac_hi
=$ac_mid; break
20466 echo "$as_me: failed program was:" >&5
20467 sed 's/^/| /' conftest.
$ac_ext >&5
20469 ac_lo
=`expr $ac_mid + 1`
20470 if test $ac_lo -le $ac_mid; then
20474 ac_mid
=`expr 2 '*' $ac_mid + 1`
20477 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20480 echo "$as_me: failed program was:" >&5
20481 sed 's/^/| /' conftest.
$ac_ext >&5
20483 cat >conftest.
$ac_ext <<_ACEOF
20486 cat confdefs.h
>>conftest.
$ac_ext
20487 cat >>conftest.
$ac_ext <<_ACEOF
20488 /* end confdefs.h. */
20489 $ac_includes_default
20490 typedef long long ac__type_sizeof_;
20494 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20501 rm -f conftest.
$ac_objext
20502 if { (ac_try
="$ac_compile"
20503 case "(($ac_try" in
20504 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20505 *) ac_try_echo=$ac_try;;
20507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20508 (eval "$ac_compile") 2>conftest.er1
20510 grep -v '^ *+' conftest.er1 >conftest.err
20512 cat conftest.err >&5
20513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20514 (exit $ac_status); } && {
20515 test -z "$ac_c_werror_flag" ||
20516 test ! -s conftest.err
20517 } && test -s conftest.$ac_objext; then
20520 cat >conftest.$ac_ext <<_ACEOF
20523 cat confdefs.h >>conftest.$ac_ext
20524 cat >>conftest.$ac_ext <<_ACEOF
20525 /* end confdefs.h. */
20526 $ac_includes_default
20527 typedef long long ac__type_sizeof_;
20531 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20538 rm -f conftest.$ac_objext
20539 if { (ac_try="$ac_compile"
20540 case "(($ac_try" in
20541 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20542 *) ac_try_echo
=$ac_try;;
20544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20545 (eval "$ac_compile") 2>conftest.er1
20547 grep -v '^ *+' conftest.er1
>conftest.err
20549 cat conftest.err
>&5
20550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20551 (exit $ac_status); } && {
20552 test -z "$ac_c_werror_flag" ||
20553 test ! -s conftest.err
20554 } && test -s conftest.
$ac_objext; then
20555 ac_lo
=$ac_mid; break
20557 echo "$as_me: failed program was:" >&5
20558 sed 's/^/| /' conftest.
$ac_ext >&5
20560 ac_hi
=`expr '(' $ac_mid ')' - 1`
20561 if test $ac_mid -le $ac_hi; then
20565 ac_mid
=`expr 2 '*' $ac_mid`
20568 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20571 echo "$as_me: failed program was:" >&5
20572 sed 's/^/| /' conftest.
$ac_ext >&5
20577 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20580 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20581 # Binary search between lo and hi bounds.
20582 while test "x$ac_lo" != "x$ac_hi"; do
20583 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20584 cat >conftest.
$ac_ext <<_ACEOF
20587 cat confdefs.h
>>conftest.
$ac_ext
20588 cat >>conftest.
$ac_ext <<_ACEOF
20589 /* end confdefs.h. */
20590 $ac_includes_default
20591 typedef long long ac__type_sizeof_;
20595 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20602 rm -f conftest.
$ac_objext
20603 if { (ac_try
="$ac_compile"
20604 case "(($ac_try" in
20605 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20606 *) ac_try_echo=$ac_try;;
20608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20609 (eval "$ac_compile") 2>conftest.er1
20611 grep -v '^ *+' conftest.er1 >conftest.err
20613 cat conftest.err >&5
20614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20615 (exit $ac_status); } && {
20616 test -z "$ac_c_werror_flag" ||
20617 test ! -s conftest.err
20618 } && test -s conftest.$ac_objext; then
20621 echo "$as_me: failed program was:" >&5
20622 sed 's/^/| /' conftest.$ac_ext >&5
20624 ac_lo=`expr '(' $ac_mid ')' + 1`
20627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20630 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20631 '') if test "$ac_cv_type_long_long" = yes; then
20632 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
20633 See \`config.log
' for more details." >&5
20634 echo "$as_me: error: cannot compute sizeof (long long)
20635 See \`config.log' for more details.
" >&2;}
20636 { (exit 77); exit 77; }; }
20638 ac_cv_sizeof_long_long=0
20642 cat >conftest.$ac_ext <<_ACEOF
20645 cat confdefs.h >>conftest.$ac_ext
20646 cat >>conftest.$ac_ext <<_ACEOF
20647 /* end confdefs.h. */
20648 $ac_includes_default
20649 typedef long long ac__type_sizeof_;
20650 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20651 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20653 #include <stdlib.h>
20658 FILE *f = fopen ("conftest.val
", "w
");
20661 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20663 long int i = longval ();
20664 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20666 fprintf (f, "%ld
\n", i);
20670 unsigned long int i = ulongval ();
20671 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20673 fprintf (f, "%lu
\n", i);
20675 return ferror (f) || fclose (f) != 0;
20681 rm -f conftest$ac_exeext
20682 if { (ac_try="$ac_link"
20683 case "(($ac_try" in
20684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20685 *) ac_try_echo=$ac_try;;
20687 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20688 (eval "$ac_link") 2>&5
20690 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20691 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20692 { (case "(($ac_try" in
20693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20694 *) ac_try_echo=$ac_try;;
20696 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20697 (eval "$ac_try") 2>&5
20699 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20700 (exit $ac_status); }; }; then
20701 ac_cv_sizeof_long_long=`cat conftest.val`
20703 echo "$as_me: program exited with status
$ac_status" >&5
20704 echo "$as_me: failed program was
:" >&5
20705 sed 's/^/| /' conftest.$ac_ext >&5
20707 ( exit $ac_status )
20708 if test "$ac_cv_type_long_long" = yes; then
20709 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
20710 See \
`config.log' for more details." >&5
20711 echo "$as_me: error: cannot compute sizeof (long long)
20712 See \`config.log
' for more details." >&2;}
20713 { (exit 77); exit 77; }; }
20715 ac_cv_sizeof_long_long=0
20718 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20722 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20723 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
20727 cat >>confdefs.h <<_ACEOF
20728 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20734 { echo "$as_me:$LINENO: checking for long long" >&5
20735 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
20736 if test "${ac_cv_type_long_long+set}" = set; then
20737 echo $ECHO_N "(cached) $ECHO_C" >&6
20739 cat >conftest.$ac_ext <<_ACEOF
20742 cat confdefs.h >>conftest.$ac_ext
20743 cat >>conftest.$ac_ext <<_ACEOF
20744 /* end confdefs.h. */
20745 $ac_includes_default
20746 typedef long long ac__type_new_;
20750 if ((ac__type_new_ *) 0)
20752 if (sizeof (ac__type_new_))
20758 rm -f conftest.$ac_objext
20759 if { (ac_try="$ac_compile"
20760 case "(($ac_try" in
20761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20762 *) ac_try_echo=$ac_try;;
20764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20765 (eval "$ac_compile") 2>conftest.er1
20767 grep -v '^
*+' conftest.er1 >conftest.err
20769 cat conftest.err >&5
20770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20771 (exit $ac_status); } && {
20772 test -z "$ac_c_werror_flag" ||
20773 test ! -s conftest.err
20774 } && test -s conftest.$ac_objext; then
20775 ac_cv_type_long_long=yes
20777 echo "$as_me: failed program was:" >&5
20778 sed 's
/^
/| /' conftest.$ac_ext >&5
20780 ac_cv_type_long_long=no
20783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20785 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20786 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
20788 # The cast to long int works around a bug in the HP C Compiler
20789 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20790 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20791 # This bug is HP SR number 8606223364.
20792 { echo "$as_me:$LINENO: checking size of long long" >&5
20793 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
20794 if test "${ac_cv_sizeof_long_long+set}" = set; then
20795 echo $ECHO_N "(cached) $ECHO_C" >&6
20797 if test "$cross_compiling" = yes; then
20798 # Depending upon the size, compute the lo and hi bounds.
20799 cat >conftest.
$ac_ext <<_ACEOF
20802 cat confdefs.h
>>conftest.
$ac_ext
20803 cat >>conftest.
$ac_ext <<_ACEOF
20804 /* end confdefs.h. */
20805 $ac_includes_default
20806 typedef long long ac__type_sizeof_;
20810 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20817 rm -f conftest.
$ac_objext
20818 if { (ac_try
="$ac_compile"
20819 case "(($ac_try" in
20820 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20821 *) ac_try_echo=$ac_try;;
20823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20824 (eval "$ac_compile") 2>conftest.er1
20826 grep -v '^ *+' conftest.er1 >conftest.err
20828 cat conftest.err >&5
20829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20830 (exit $ac_status); } && {
20831 test -z "$ac_c_werror_flag" ||
20832 test ! -s conftest.err
20833 } && test -s conftest.$ac_objext; then
20836 cat >conftest.$ac_ext <<_ACEOF
20839 cat confdefs.h >>conftest.$ac_ext
20840 cat >>conftest.$ac_ext <<_ACEOF
20841 /* end confdefs.h. */
20842 $ac_includes_default
20843 typedef long long ac__type_sizeof_;
20847 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20854 rm -f conftest.$ac_objext
20855 if { (ac_try="$ac_compile"
20856 case "(($ac_try" in
20857 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20858 *) ac_try_echo
=$ac_try;;
20860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20861 (eval "$ac_compile") 2>conftest.er1
20863 grep -v '^ *+' conftest.er1
>conftest.err
20865 cat conftest.err
>&5
20866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20867 (exit $ac_status); } && {
20868 test -z "$ac_c_werror_flag" ||
20869 test ! -s conftest.err
20870 } && test -s conftest.
$ac_objext; then
20871 ac_hi
=$ac_mid; break
20873 echo "$as_me: failed program was:" >&5
20874 sed 's/^/| /' conftest.
$ac_ext >&5
20876 ac_lo
=`expr $ac_mid + 1`
20877 if test $ac_lo -le $ac_mid; then
20881 ac_mid
=`expr 2 '*' $ac_mid + 1`
20884 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20887 echo "$as_me: failed program was:" >&5
20888 sed 's/^/| /' conftest.
$ac_ext >&5
20890 cat >conftest.
$ac_ext <<_ACEOF
20893 cat confdefs.h
>>conftest.
$ac_ext
20894 cat >>conftest.
$ac_ext <<_ACEOF
20895 /* end confdefs.h. */
20896 $ac_includes_default
20897 typedef long long ac__type_sizeof_;
20901 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20908 rm -f conftest.
$ac_objext
20909 if { (ac_try
="$ac_compile"
20910 case "(($ac_try" in
20911 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20912 *) ac_try_echo=$ac_try;;
20914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20915 (eval "$ac_compile") 2>conftest.er1
20917 grep -v '^ *+' conftest.er1 >conftest.err
20919 cat conftest.err >&5
20920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20921 (exit $ac_status); } && {
20922 test -z "$ac_c_werror_flag" ||
20923 test ! -s conftest.err
20924 } && test -s conftest.$ac_objext; then
20927 cat >conftest.$ac_ext <<_ACEOF
20930 cat confdefs.h >>conftest.$ac_ext
20931 cat >>conftest.$ac_ext <<_ACEOF
20932 /* end confdefs.h. */
20933 $ac_includes_default
20934 typedef long long ac__type_sizeof_;
20938 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20945 rm -f conftest.$ac_objext
20946 if { (ac_try="$ac_compile"
20947 case "(($ac_try" in
20948 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20949 *) ac_try_echo
=$ac_try;;
20951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20952 (eval "$ac_compile") 2>conftest.er1
20954 grep -v '^ *+' conftest.er1
>conftest.err
20956 cat conftest.err
>&5
20957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20958 (exit $ac_status); } && {
20959 test -z "$ac_c_werror_flag" ||
20960 test ! -s conftest.err
20961 } && test -s conftest.
$ac_objext; then
20962 ac_lo
=$ac_mid; break
20964 echo "$as_me: failed program was:" >&5
20965 sed 's/^/| /' conftest.
$ac_ext >&5
20967 ac_hi
=`expr '(' $ac_mid ')' - 1`
20968 if test $ac_mid -le $ac_hi; then
20972 ac_mid
=`expr 2 '*' $ac_mid`
20975 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20978 echo "$as_me: failed program was:" >&5
20979 sed 's/^/| /' conftest.
$ac_ext >&5
20984 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20987 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20988 # Binary search between lo and hi bounds.
20989 while test "x$ac_lo" != "x$ac_hi"; do
20990 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20991 cat >conftest.
$ac_ext <<_ACEOF
20994 cat confdefs.h
>>conftest.
$ac_ext
20995 cat >>conftest.
$ac_ext <<_ACEOF
20996 /* end confdefs.h. */
20997 $ac_includes_default
20998 typedef long long ac__type_sizeof_;
21002 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21009 rm -f conftest.
$ac_objext
21010 if { (ac_try
="$ac_compile"
21011 case "(($ac_try" in
21012 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21013 *) ac_try_echo=$ac_try;;
21015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21016 (eval "$ac_compile") 2>conftest.er1
21018 grep -v '^ *+' conftest.er1 >conftest.err
21020 cat conftest.err >&5
21021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21022 (exit $ac_status); } && {
21023 test -z "$ac_c_werror_flag" ||
21024 test ! -s conftest.err
21025 } && test -s conftest.$ac_objext; then
21028 echo "$as_me: failed program was:" >&5
21029 sed 's/^/| /' conftest.$ac_ext >&5
21031 ac_lo=`expr '(' $ac_mid ')' + 1`
21034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21037 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21038 '') if test "$ac_cv_type_long_long" = yes; then
21039 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21040 See \`config.log
' for more details." >&5
21041 echo "$as_me: error: cannot compute sizeof (long long)
21042 See \`config.log' for more details.
" >&2;}
21043 { (exit 77); exit 77; }; }
21045 ac_cv_sizeof_long_long=0
21049 cat >conftest.$ac_ext <<_ACEOF
21052 cat confdefs.h >>conftest.$ac_ext
21053 cat >>conftest.$ac_ext <<_ACEOF
21054 /* end confdefs.h. */
21055 $ac_includes_default
21056 typedef long long ac__type_sizeof_;
21057 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21058 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21060 #include <stdlib.h>
21065 FILE *f = fopen ("conftest.val
", "w
");
21068 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21070 long int i = longval ();
21071 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21073 fprintf (f, "%ld
\n", i);
21077 unsigned long int i = ulongval ();
21078 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21080 fprintf (f, "%lu
\n", i);
21082 return ferror (f) || fclose (f) != 0;
21088 rm -f conftest$ac_exeext
21089 if { (ac_try="$ac_link"
21090 case "(($ac_try" in
21091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21092 *) ac_try_echo=$ac_try;;
21094 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21095 (eval "$ac_link") 2>&5
21097 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21098 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21099 { (case "(($ac_try" in
21100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21101 *) ac_try_echo=$ac_try;;
21103 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21104 (eval "$ac_try") 2>&5
21106 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21107 (exit $ac_status); }; }; then
21108 ac_cv_sizeof_long_long=`cat conftest.val`
21110 echo "$as_me: program exited with status
$ac_status" >&5
21111 echo "$as_me: failed program was
:" >&5
21112 sed 's/^/| /' conftest.$ac_ext >&5
21114 ( exit $ac_status )
21115 if test "$ac_cv_type_long_long" = yes; then
21116 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
21117 See \
`config.log' for more details." >&5
21118 echo "$as_me: error: cannot compute sizeof (long long)
21119 See \`config.log
' for more details." >&2;}
21120 { (exit 77); exit 77; }; }
21122 ac_cv_sizeof_long_long=0
21125 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21129 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21130 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21134 cat >>confdefs.h <<_ACEOF
21135 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21139 if test "$ac_cv_sizeof_long_long" != "0"; then
21140 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
21144 { echo "$as_me:$LINENO: checking for long long" >&5
21145 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21146 if test "${ac_cv_type_long_long+set}" = set; then
21147 echo $ECHO_N "(cached) $ECHO_C" >&6
21149 cat >conftest.$ac_ext <<_ACEOF
21152 cat confdefs.h >>conftest.$ac_ext
21153 cat >>conftest.$ac_ext <<_ACEOF
21154 /* end confdefs.h. */
21155 $ac_includes_default
21156 typedef long long ac__type_new_;
21160 if ((ac__type_new_ *) 0)
21162 if (sizeof (ac__type_new_))
21168 rm -f conftest.$ac_objext
21169 if { (ac_try="$ac_compile"
21170 case "(($ac_try" in
21171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21172 *) ac_try_echo=$ac_try;;
21174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21175 (eval "$ac_compile") 2>conftest.er1
21177 grep -v '^
*+' conftest.er1 >conftest.err
21179 cat conftest.err >&5
21180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21181 (exit $ac_status); } && {
21182 test -z "$ac_c_werror_flag" ||
21183 test ! -s conftest.err
21184 } && test -s conftest.$ac_objext; then
21185 ac_cv_type_long_long=yes
21187 echo "$as_me: failed program was:" >&5
21188 sed 's
/^
/| /' conftest.$ac_ext >&5
21190 ac_cv_type_long_long=no
21193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21195 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21196 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21198 # The cast to long int works around a bug in the HP C Compiler
21199 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21200 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21201 # This bug is HP SR number 8606223364.
21202 { echo "$as_me:$LINENO: checking size of long long" >&5
21203 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21204 if test "${ac_cv_sizeof_long_long+set}" = set; then
21205 echo $ECHO_N "(cached) $ECHO_C" >&6
21207 if test "$cross_compiling" = yes; then
21208 # Depending upon the size, compute the lo and hi bounds.
21209 cat >conftest.
$ac_ext <<_ACEOF
21212 cat confdefs.h
>>conftest.
$ac_ext
21213 cat >>conftest.
$ac_ext <<_ACEOF
21214 /* end confdefs.h. */
21215 $ac_includes_default
21216 typedef long long ac__type_sizeof_;
21220 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21227 rm -f conftest.
$ac_objext
21228 if { (ac_try
="$ac_compile"
21229 case "(($ac_try" in
21230 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21231 *) ac_try_echo=$ac_try;;
21233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21234 (eval "$ac_compile") 2>conftest.er1
21236 grep -v '^ *+' conftest.er1 >conftest.err
21238 cat conftest.err >&5
21239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21240 (exit $ac_status); } && {
21241 test -z "$ac_c_werror_flag" ||
21242 test ! -s conftest.err
21243 } && test -s conftest.$ac_objext; then
21246 cat >conftest.$ac_ext <<_ACEOF
21249 cat confdefs.h >>conftest.$ac_ext
21250 cat >>conftest.$ac_ext <<_ACEOF
21251 /* end confdefs.h. */
21252 $ac_includes_default
21253 typedef long long ac__type_sizeof_;
21257 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21264 rm -f conftest.$ac_objext
21265 if { (ac_try="$ac_compile"
21266 case "(($ac_try" in
21267 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21268 *) ac_try_echo
=$ac_try;;
21270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21271 (eval "$ac_compile") 2>conftest.er1
21273 grep -v '^ *+' conftest.er1
>conftest.err
21275 cat conftest.err
>&5
21276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21277 (exit $ac_status); } && {
21278 test -z "$ac_c_werror_flag" ||
21279 test ! -s conftest.err
21280 } && test -s conftest.
$ac_objext; then
21281 ac_hi
=$ac_mid; break
21283 echo "$as_me: failed program was:" >&5
21284 sed 's/^/| /' conftest.
$ac_ext >&5
21286 ac_lo
=`expr $ac_mid + 1`
21287 if test $ac_lo -le $ac_mid; then
21291 ac_mid
=`expr 2 '*' $ac_mid + 1`
21294 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21297 echo "$as_me: failed program was:" >&5
21298 sed 's/^/| /' conftest.
$ac_ext >&5
21300 cat >conftest.
$ac_ext <<_ACEOF
21303 cat confdefs.h
>>conftest.
$ac_ext
21304 cat >>conftest.
$ac_ext <<_ACEOF
21305 /* end confdefs.h. */
21306 $ac_includes_default
21307 typedef long long ac__type_sizeof_;
21311 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21318 rm -f conftest.
$ac_objext
21319 if { (ac_try
="$ac_compile"
21320 case "(($ac_try" in
21321 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21322 *) ac_try_echo=$ac_try;;
21324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21325 (eval "$ac_compile") 2>conftest.er1
21327 grep -v '^ *+' conftest.er1 >conftest.err
21329 cat conftest.err >&5
21330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21331 (exit $ac_status); } && {
21332 test -z "$ac_c_werror_flag" ||
21333 test ! -s conftest.err
21334 } && test -s conftest.$ac_objext; then
21337 cat >conftest.$ac_ext <<_ACEOF
21340 cat confdefs.h >>conftest.$ac_ext
21341 cat >>conftest.$ac_ext <<_ACEOF
21342 /* end confdefs.h. */
21343 $ac_includes_default
21344 typedef long long ac__type_sizeof_;
21348 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21355 rm -f conftest.$ac_objext
21356 if { (ac_try="$ac_compile"
21357 case "(($ac_try" in
21358 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21359 *) ac_try_echo
=$ac_try;;
21361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21362 (eval "$ac_compile") 2>conftest.er1
21364 grep -v '^ *+' conftest.er1
>conftest.err
21366 cat conftest.err
>&5
21367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21368 (exit $ac_status); } && {
21369 test -z "$ac_c_werror_flag" ||
21370 test ! -s conftest.err
21371 } && test -s conftest.
$ac_objext; then
21372 ac_lo
=$ac_mid; break
21374 echo "$as_me: failed program was:" >&5
21375 sed 's/^/| /' conftest.
$ac_ext >&5
21377 ac_hi
=`expr '(' $ac_mid ')' - 1`
21378 if test $ac_mid -le $ac_hi; then
21382 ac_mid
=`expr 2 '*' $ac_mid`
21385 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21388 echo "$as_me: failed program was:" >&5
21389 sed 's/^/| /' conftest.
$ac_ext >&5
21394 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21397 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21398 # Binary search between lo and hi bounds.
21399 while test "x$ac_lo" != "x$ac_hi"; do
21400 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21401 cat >conftest.
$ac_ext <<_ACEOF
21404 cat confdefs.h
>>conftest.
$ac_ext
21405 cat >>conftest.
$ac_ext <<_ACEOF
21406 /* end confdefs.h. */
21407 $ac_includes_default
21408 typedef long long ac__type_sizeof_;
21412 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21419 rm -f conftest.
$ac_objext
21420 if { (ac_try
="$ac_compile"
21421 case "(($ac_try" in
21422 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21423 *) ac_try_echo=$ac_try;;
21425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21426 (eval "$ac_compile") 2>conftest.er1
21428 grep -v '^ *+' conftest.er1 >conftest.err
21430 cat conftest.err >&5
21431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21432 (exit $ac_status); } && {
21433 test -z "$ac_c_werror_flag" ||
21434 test ! -s conftest.err
21435 } && test -s conftest.$ac_objext; then
21438 echo "$as_me: failed program was:" >&5
21439 sed 's/^/| /' conftest.$ac_ext >&5
21441 ac_lo=`expr '(' $ac_mid ')' + 1`
21444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21447 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21448 '') if test "$ac_cv_type_long_long" = yes; then
21449 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21450 See \`config.log
' for more details." >&5
21451 echo "$as_me: error: cannot compute sizeof (long long)
21452 See \`config.log' for more details.
" >&2;}
21453 { (exit 77); exit 77; }; }
21455 ac_cv_sizeof_long_long=0
21459 cat >conftest.$ac_ext <<_ACEOF
21462 cat confdefs.h >>conftest.$ac_ext
21463 cat >>conftest.$ac_ext <<_ACEOF
21464 /* end confdefs.h. */
21465 $ac_includes_default
21466 typedef long long ac__type_sizeof_;
21467 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21468 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21470 #include <stdlib.h>
21475 FILE *f = fopen ("conftest.val
", "w
");
21478 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21480 long int i = longval ();
21481 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21483 fprintf (f, "%ld
\n", i);
21487 unsigned long int i = ulongval ();
21488 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21490 fprintf (f, "%lu
\n", i);
21492 return ferror (f) || fclose (f) != 0;
21498 rm -f conftest$ac_exeext
21499 if { (ac_try="$ac_link"
21500 case "(($ac_try" in
21501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21502 *) ac_try_echo=$ac_try;;
21504 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21505 (eval "$ac_link") 2>&5
21507 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21508 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21509 { (case "(($ac_try" in
21510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21511 *) ac_try_echo=$ac_try;;
21513 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21514 (eval "$ac_try") 2>&5
21516 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21517 (exit $ac_status); }; }; then
21518 ac_cv_sizeof_long_long=`cat conftest.val`
21520 echo "$as_me: program exited with status
$ac_status" >&5
21521 echo "$as_me: failed program was
:" >&5
21522 sed 's/^/| /' conftest.$ac_ext >&5
21524 ( exit $ac_status )
21525 if test "$ac_cv_type_long_long" = yes; then
21526 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
21527 See \
`config.log' for more details." >&5
21528 echo "$as_me: error: cannot compute sizeof (long long)
21529 See \`config.log
' for more details." >&2;}
21530 { (exit 77); exit 77; }; }
21532 ac_cv_sizeof_long_long=0
21535 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21539 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21540 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21544 cat >>confdefs.h <<_ACEOF
21545 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21551 { echo "$as_me:$LINENO: checking for wchar_t" >&5
21552 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
21553 if test "${ac_cv_type_wchar_t+set}" = set; then
21554 echo $ECHO_N "(cached) $ECHO_C" >&6
21556 cat >conftest.$ac_ext <<_ACEOF
21559 cat confdefs.h >>conftest.$ac_ext
21560 cat >>conftest.$ac_ext <<_ACEOF
21561 /* end confdefs.h. */
21563 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
21564 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21565 # error "fake wchar_t"
21567 #ifdef HAVE_WCHAR_H
21569 # include <stddef.h>
21571 # include <wchar.h>
21573 #ifdef HAVE_STDLIB_H
21574 # include <stdlib.h>
21580 typedef wchar_t ac__type_new_
;
21584 if ((ac__type_new_
*) 0)
21586 if (sizeof
(ac__type_new_
))
21592 rm -f conftest.
$ac_objext
21593 if { (ac_try
="$ac_compile"
21594 case "(($ac_try" in
21595 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21596 *) ac_try_echo=$ac_try;;
21598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21599 (eval "$ac_compile") 2>conftest.er1
21601 grep -v '^ *+' conftest.er1 >conftest.err
21603 cat conftest.err >&5
21604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21605 (exit $ac_status); } && {
21606 test -z "$ac_c_werror_flag" ||
21607 test ! -s conftest.err
21608 } && test -s conftest.$ac_objext; then
21609 ac_cv_type_wchar_t=yes
21611 echo "$as_me: failed program was:" >&5
21612 sed 's/^/| /' conftest.$ac_ext >&5
21614 ac_cv_type_wchar_t=no
21617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21619 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
21620 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
21622 # The cast to long int works around a bug in the HP C Compiler
21623 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21624 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
21625 # This bug is HP SR number 8606223364.
21626 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
21627 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
21628 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
21629 echo $ECHO_N "(cached) $ECHO_C" >&6
21631 if test "$cross_compiling" = yes; then
21632 # Depending upon the size, compute the lo and hi bounds.
21633 cat >conftest.$ac_ext <<_ACEOF
21636 cat confdefs.h >>conftest.$ac_ext
21637 cat >>conftest.$ac_ext <<_ACEOF
21638 /* end confdefs.h. */
21640 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
21641 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21642 # error "fake wchar_t"
21644 #ifdef HAVE_WCHAR_H
21646 # include <stddef.h>
21648 # include <wchar.h>
21650 #ifdef HAVE_STDLIB_H
21651 # include <stdlib.h>
21657 typedef wchar_t ac__type_sizeof_
;
21661 static int test_array
[1 - 2 * !(((long int
) (sizeof
(ac__type_sizeof_
))) >= 0)];
21668 rm -f conftest.
$ac_objext
21669 if { (ac_try
="$ac_compile"
21670 case "(($ac_try" in
21671 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21672 *) ac_try_echo=$ac_try;;
21674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21675 (eval "$ac_compile") 2>conftest.er1
21677 grep -v '^ *+' conftest.er1 >conftest.err
21679 cat conftest.err >&5
21680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21681 (exit $ac_status); } && {
21682 test -z "$ac_c_werror_flag" ||
21683 test ! -s conftest.err
21684 } && test -s conftest.$ac_objext; then
21687 cat >conftest.$ac_ext <<_ACEOF
21690 cat confdefs.h >>conftest.$ac_ext
21691 cat >>conftest.$ac_ext <<_ACEOF
21692 /* end confdefs.h. */
21694 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21695 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21696 # error "fake wchar_t"
21698 #ifdef HAVE_WCHAR_H
21700 # include <stddef.h>
21702 # include <wchar.h>
21704 #ifdef HAVE_STDLIB_H
21705 # include <stdlib.h>
21711 typedef wchar_t ac__type_sizeof_;
21715 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21722 rm -f conftest.$ac_objext
21723 if { (ac_try="$ac_compile"
21724 case "(($ac_try" in
21725 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21726 *) ac_try_echo
=$ac_try;;
21728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21729 (eval "$ac_compile") 2>conftest.er1
21731 grep -v '^ *+' conftest.er1
>conftest.err
21733 cat conftest.err
>&5
21734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21735 (exit $ac_status); } && {
21736 test -z "$ac_c_werror_flag" ||
21737 test ! -s conftest.err
21738 } && test -s conftest.
$ac_objext; then
21739 ac_hi
=$ac_mid; break
21741 echo "$as_me: failed program was:" >&5
21742 sed 's/^/| /' conftest.
$ac_ext >&5
21744 ac_lo
=`expr $ac_mid + 1`
21745 if test $ac_lo -le $ac_mid; then
21749 ac_mid
=`expr 2 '*' $ac_mid + 1`
21752 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21755 echo "$as_me: failed program was:" >&5
21756 sed 's/^/| /' conftest.
$ac_ext >&5
21758 cat >conftest.
$ac_ext <<_ACEOF
21761 cat confdefs.h
>>conftest.
$ac_ext
21762 cat >>conftest.
$ac_ext <<_ACEOF
21763 /* end confdefs.h. */
21765 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21766 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21767 # error "fake wchar_t"
21769 #ifdef HAVE_WCHAR_H
21771 # include <stddef.h>
21773 # include <wchar.h>
21775 #ifdef HAVE_STDLIB_H
21776 # include <stdlib.h>
21782 typedef wchar_t ac__type_sizeof_;
21786 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21793 rm -f conftest.
$ac_objext
21794 if { (ac_try
="$ac_compile"
21795 case "(($ac_try" in
21796 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21797 *) ac_try_echo=$ac_try;;
21799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21800 (eval "$ac_compile") 2>conftest.er1
21802 grep -v '^ *+' conftest.er1 >conftest.err
21804 cat conftest.err >&5
21805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21806 (exit $ac_status); } && {
21807 test -z "$ac_c_werror_flag" ||
21808 test ! -s conftest.err
21809 } && test -s conftest.$ac_objext; then
21812 cat >conftest.$ac_ext <<_ACEOF
21815 cat confdefs.h >>conftest.$ac_ext
21816 cat >>conftest.$ac_ext <<_ACEOF
21817 /* end confdefs.h. */
21819 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21820 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21821 # error "fake wchar_t"
21823 #ifdef HAVE_WCHAR_H
21825 # include <stddef.h>
21827 # include <wchar.h>
21829 #ifdef HAVE_STDLIB_H
21830 # include <stdlib.h>
21836 typedef wchar_t ac__type_sizeof_;
21840 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21847 rm -f conftest.$ac_objext
21848 if { (ac_try="$ac_compile"
21849 case "(($ac_try" in
21850 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21851 *) ac_try_echo
=$ac_try;;
21853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21854 (eval "$ac_compile") 2>conftest.er1
21856 grep -v '^ *+' conftest.er1
>conftest.err
21858 cat conftest.err
>&5
21859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21860 (exit $ac_status); } && {
21861 test -z "$ac_c_werror_flag" ||
21862 test ! -s conftest.err
21863 } && test -s conftest.
$ac_objext; then
21864 ac_lo
=$ac_mid; break
21866 echo "$as_me: failed program was:" >&5
21867 sed 's/^/| /' conftest.
$ac_ext >&5
21869 ac_hi
=`expr '(' $ac_mid ')' - 1`
21870 if test $ac_mid -le $ac_hi; then
21874 ac_mid
=`expr 2 '*' $ac_mid`
21877 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21880 echo "$as_me: failed program was:" >&5
21881 sed 's/^/| /' conftest.
$ac_ext >&5
21886 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21889 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21890 # Binary search between lo and hi bounds.
21891 while test "x$ac_lo" != "x$ac_hi"; do
21892 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21893 cat >conftest.
$ac_ext <<_ACEOF
21896 cat confdefs.h
>>conftest.
$ac_ext
21897 cat >>conftest.
$ac_ext <<_ACEOF
21898 /* end confdefs.h. */
21900 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21901 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21902 # error "fake wchar_t"
21904 #ifdef HAVE_WCHAR_H
21906 # include <stddef.h>
21908 # include <wchar.h>
21910 #ifdef HAVE_STDLIB_H
21911 # include <stdlib.h>
21917 typedef wchar_t ac__type_sizeof_;
21921 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21928 rm -f conftest.
$ac_objext
21929 if { (ac_try
="$ac_compile"
21930 case "(($ac_try" in
21931 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21932 *) ac_try_echo=$ac_try;;
21934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21935 (eval "$ac_compile") 2>conftest.er1
21937 grep -v '^ *+' conftest.er1 >conftest.err
21939 cat conftest.err >&5
21940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21941 (exit $ac_status); } && {
21942 test -z "$ac_c_werror_flag" ||
21943 test ! -s conftest.err
21944 } && test -s conftest.$ac_objext; then
21947 echo "$as_me: failed program was:" >&5
21948 sed 's/^/| /' conftest.$ac_ext >&5
21950 ac_lo=`expr '(' $ac_mid ')' + 1`
21953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21956 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
21957 '') if test "$ac_cv_type_wchar_t" = yes; then
21958 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
21959 See \`config.log
' for more details." >&5
21960 echo "$as_me: error: cannot compute sizeof (wchar_t)
21961 See \`config.log' for more details.
" >&2;}
21962 { (exit 77); exit 77; }; }
21964 ac_cv_sizeof_wchar_t=0
21968 cat >conftest.$ac_ext <<_ACEOF
21971 cat confdefs.h >>conftest.$ac_ext
21972 cat >>conftest.$ac_ext <<_ACEOF
21973 /* end confdefs.h. */
21975 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21976 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21977 # error "fake wchar_t
"
21979 #ifdef HAVE_WCHAR_H
21981 # include <stddef.h>
21983 # include <wchar.h>
21985 #ifdef HAVE_STDLIB_H
21986 # include <stdlib.h>
21992 typedef wchar_t ac__type_sizeof_;
21993 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21994 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21996 #include <stdlib.h>
22001 FILE *f = fopen ("conftest.val
", "w
");
22004 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22006 long int i = longval ();
22007 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22009 fprintf (f, "%ld
\n", i);
22013 unsigned long int i = ulongval ();
22014 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22016 fprintf (f, "%lu
\n", i);
22018 return ferror (f) || fclose (f) != 0;
22024 rm -f conftest$ac_exeext
22025 if { (ac_try="$ac_link"
22026 case "(($ac_try" in
22027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22028 *) ac_try_echo=$ac_try;;
22030 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22031 (eval "$ac_link") 2>&5
22033 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22034 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22035 { (case "(($ac_try" in
22036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22037 *) ac_try_echo=$ac_try;;
22039 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22040 (eval "$ac_try") 2>&5
22042 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22043 (exit $ac_status); }; }; then
22044 ac_cv_sizeof_wchar_t=`cat conftest.val`
22046 echo "$as_me: program exited with status
$ac_status" >&5
22047 echo "$as_me: failed program was
:" >&5
22048 sed 's/^/| /' conftest.$ac_ext >&5
22050 ( exit $ac_status )
22051 if test "$ac_cv_type_wchar_t" = yes; then
22052 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(wchar_t
)
22053 See \
`config.log' for more details." >&5
22054 echo "$as_me: error: cannot compute sizeof (wchar_t)
22055 See \`config.log
' for more details." >&2;}
22056 { (exit 77); exit 77; }; }
22058 ac_cv_sizeof_wchar_t=0
22061 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22065 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22066 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
22070 cat >>confdefs.h <<_ACEOF
22071 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22075 if test "$ac_cv_sizeof_wchar_t" != "0"; then
22081 { echo "$as_me:$LINENO: checking for va_copy" >&5
22082 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
22083 if test "${wx_cv_func_va_copy+set}" = set; then
22084 echo $ECHO_N "(cached) $ECHO_C" >&6
22087 cat >conftest.$ac_ext <<_ACEOF
22089 #include <stdarg.h>
22090 void foo(char *f, ...)
22104 rm -f conftest.$ac_objext conftest$ac_exeext
22105 if { (ac_try="$ac_link"
22106 case "(($ac_try" in
22107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22108 *) ac_try_echo=$ac_try;;
22110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22111 (eval "$ac_link") 2>conftest.er1
22113 grep -v '^
*+' conftest.er1 >conftest.err
22115 cat conftest.err >&5
22116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22117 (exit $ac_status); } && {
22118 test -z "$ac_c_werror_flag" ||
22119 test ! -s conftest.err
22120 } && test -s conftest$ac_exeext &&
22121 $as_test_x conftest$ac_exeext; then
22122 wx_cv_func_va_copy=yes
22124 echo "$as_me: failed program was:" >&5
22125 sed 's
/^
/| /' conftest.$ac_ext >&5
22127 wx_cv_func_va_copy=no
22131 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22132 conftest$ac_exeext conftest.$ac_ext
22136 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22137 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
22139 if test $wx_cv_func_va_copy = "yes"; then
22140 cat >>confdefs.h <<\_ACEOF
22141 #define HAVE_VA_COPY 1
22145 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22146 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
22147 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22148 echo $ECHO_N "(cached) $ECHO_C" >&6
22151 if test "$cross_compiling" = yes; then
22152 wx_cv_type_va_list_lvalue=yes
22155 cat >conftest.$ac_ext <<_ACEOF
22157 #include <stdarg.h>
22158 int foo(char *f, ...)
22163 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22171 return foo("hi", 17);
22174 rm -f conftest$ac_exeext
22175 if { (ac_try="$ac_link"
22176 case "(($ac_try" in
22177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22178 *) ac_try_echo=$ac_try;;
22180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22181 (eval "$ac_link") 2>&5
22183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22184 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
22185 { (case "(($ac_try" in
22186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22187 *) ac_try_echo=$ac_try;;
22189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22190 (eval "$ac_try") 2>&5
22192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22193 (exit $ac_status); }; }; then
22194 wx_cv_type_va_list_lvalue=yes
22196 echo "$as_me: program exited with status $ac_status" >&5
22197 echo "$as_me: failed program was:" >&5
22198 sed 's
/^
/| /' conftest.$ac_ext >&5
22200 ( exit $ac_status )
22201 wx_cv_type_va_list_lvalue=no
22203 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22210 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22211 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
22213 if test $wx_cv_type_va_list_lvalue != "yes"; then
22214 cat >>confdefs.h <<\_ACEOF
22215 #define VA_LIST_IS_ARRAY 1
22221 if test "$wxUSE_VARARG_MACROS" = "yes"; then
22223 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
22224 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
22225 if test "${wx_cv_have_variadic_macros+set}" = set; then
22226 echo $ECHO_N "(cached) $ECHO_C" >&6
22230 ac_cpp='$CXXCPP $CPPFLAGS'
22231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22232 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22235 cat >conftest.$ac_ext <<_ACEOF
22238 cat confdefs.h >>conftest.$ac_ext
22239 cat >>conftest.$ac_ext <<_ACEOF
22240 /* end confdefs.h. */
22243 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
22249 test("%s %d %p", "test", 1, 0);
22256 rm -f conftest.$ac_objext
22257 if { (ac_try="$ac_compile"
22258 case "(($ac_try" in
22259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22260 *) ac_try_echo=$ac_try;;
22262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22263 (eval "$ac_compile") 2>conftest.er1
22265 grep -v '^
*+' conftest.er1 >conftest.err
22267 cat conftest.err >&5
22268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22269 (exit $ac_status); } && {
22270 test -z "$ac_cxx_werror_flag" ||
22271 test ! -s conftest.err
22272 } && test -s conftest.$ac_objext; then
22273 wx_cv_have_variadic_macros=yes
22275 echo "$as_me: failed program was:" >&5
22276 sed 's
/^
/| /' conftest.$ac_ext >&5
22278 wx_cv_have_variadic_macros=no
22282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22284 ac_cpp='$CPP $CPPFLAGS'
22285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22286 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22292 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
22293 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
22295 if test $wx_cv_have_variadic_macros = "yes"; then
22296 cat >>confdefs.h <<\_ACEOF
22297 #define HAVE_VARIADIC_MACROS 1
22303 # Check whether --enable-largefile was given.
22304 if test "${enable_largefile+set}" = set; then
22305 enableval=$enable_largefile;
22308 if test "$enable_largefile" != no; then
22311 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
22312 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
22313 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
22314 echo $ECHO_N "(cached) $ECHO_C" >&6
22317 cat >conftest.$ac_ext <<_ACEOF
22320 cat confdefs.h >>conftest.$ac_ext
22321 cat >>conftest.$ac_ext <<_ACEOF
22322 /* end confdefs.h. */
22323 #define _FILE_OFFSET_BITS 64
22324 #include <sys/types.h>
22329 unsigned int field: sizeof(off_t) == 8;
22336 rm -f conftest.$ac_objext
22337 if { (ac_try="$ac_compile"
22338 case "(($ac_try" in
22339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22340 *) ac_try_echo=$ac_try;;
22342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22343 (eval "$ac_compile") 2>conftest.er1
22345 grep -v '^
*+' conftest.er1 >conftest.err
22347 cat conftest.err >&5
22348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22349 (exit $ac_status); } && {
22350 test -z "$ac_c_werror_flag" ||
22351 test ! -s conftest.err
22352 } && test -s conftest.$ac_objext; then
22353 ac_cv_sys_file_offset_bits=64
22355 echo "$as_me: failed program was:" >&5
22356 sed 's
/^
/| /' conftest.$ac_ext >&5
22358 ac_cv_sys_file_offset_bits=no
22361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22365 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
22366 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
22368 if test "$ac_cv_sys_file_offset_bits" != no; then
22370 cat >>confdefs.h <<_ACEOF
22371 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
22376 if test "x$wx_largefile" != "xyes"; then
22378 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
22379 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
22380 if test "${ac_cv_sys_large_files+set}" = set; then
22381 echo $ECHO_N "(cached) $ECHO_C" >&6
22384 cat >conftest.$ac_ext <<_ACEOF
22387 cat confdefs.h >>conftest.$ac_ext
22388 cat >>conftest.$ac_ext <<_ACEOF
22389 /* end confdefs.h. */
22390 #define _LARGE_FILES 1
22391 #include <sys/types.h>
22396 unsigned int field: sizeof(off_t) == 8;
22403 rm -f conftest.$ac_objext
22404 if { (ac_try="$ac_compile"
22405 case "(($ac_try" in
22406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22407 *) ac_try_echo=$ac_try;;
22409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22410 (eval "$ac_compile") 2>conftest.er1
22412 grep -v '^
*+' conftest.er1 >conftest.err
22414 cat conftest.err >&5
22415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22416 (exit $ac_status); } && {
22417 test -z "$ac_c_werror_flag" ||
22418 test ! -s conftest.err
22419 } && test -s conftest.$ac_objext; then
22420 ac_cv_sys_large_files=1
22422 echo "$as_me: failed program was:" >&5
22423 sed 's
/^
/| /' conftest.$ac_ext >&5
22425 ac_cv_sys_large_files=no
22428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22432 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
22433 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
22435 if test "$ac_cv_sys_large_files" != no; then
22437 cat >>confdefs.h <<_ACEOF
22438 #define _LARGE_FILES $ac_cv_sys_large_files
22445 { echo "$as_me:$LINENO: checking if large file support is available" >&5
22446 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
22447 if test "x$wx_largefile" = "xyes"; then
22448 cat >>confdefs.h <<\_ACEOF
22449 #define HAVE_LARGEFILE_SUPPORT 1
22453 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
22454 echo "${ECHO_T}$wx_largefile" >&6; }
22458 if test "x$wx_largefile" = "xyes"; then
22459 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
22460 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
22462 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
22463 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
22464 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
22465 if test "${wx_cv_STDC_EXT_required+set}" = set; then
22466 echo $ECHO_N "(cached) $ECHO_C" >&6
22470 ac_cpp='$CXXCPP $CPPFLAGS'
22471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22472 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22475 cat >conftest.$ac_ext <<_ACEOF
22478 cat confdefs.h >>conftest.$ac_ext
22479 cat >>conftest.$ac_ext <<_ACEOF
22480 /* end confdefs.h. */
22486 #ifndef __STDC_EXT__
22494 rm -f conftest.$ac_objext
22495 if { (ac_try="$ac_compile"
22496 case "(($ac_try" in
22497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22498 *) ac_try_echo=$ac_try;;
22500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22501 (eval "$ac_compile") 2>conftest.er1
22503 grep -v '^
*+' conftest.er1 >conftest.err
22505 cat conftest.err >&5
22506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22507 (exit $ac_status); } && {
22508 test -z "$ac_cxx_werror_flag" ||
22509 test ! -s conftest.err
22510 } && test -s conftest.$ac_objext; then
22511 wx_cv_STDC_EXT_required=no
22513 echo "$as_me: failed program was:" >&5
22514 sed 's
/^
/| /' conftest.$ac_ext >&5
22516 wx_cv_STDC_EXT_required=yes
22520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22522 ac_cpp='$CPP $CPPFLAGS'
22523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22524 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22530 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
22531 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
22532 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
22533 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
22537 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
22539 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
22540 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
22541 if test "${ac_cv_sys_largefile_source+set}" = set; then
22542 echo $ECHO_N "(cached) $ECHO_C" >&6
22545 cat >conftest.$ac_ext <<_ACEOF
22548 cat confdefs.h >>conftest.$ac_ext
22549 cat >>conftest.$ac_ext <<_ACEOF
22550 /* end confdefs.h. */
22551 #include <sys/types.h> /* for off_t */
22556 int (*fp) (FILE *, off_t, int) = fseeko;
22557 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
22562 rm -f conftest.$ac_objext conftest$ac_exeext
22563 if { (ac_try="$ac_link"
22564 case "(($ac_try" in
22565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22566 *) ac_try_echo=$ac_try;;
22568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22569 (eval "$ac_link") 2>conftest.er1
22571 grep -v '^
*+' conftest.er1 >conftest.err
22573 cat conftest.err >&5
22574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22575 (exit $ac_status); } && {
22576 test -z "$ac_c_werror_flag" ||
22577 test ! -s conftest.err
22578 } && test -s conftest$ac_exeext &&
22579 $as_test_x conftest$ac_exeext; then
22580 ac_cv_sys_largefile_source=no; break
22582 echo "$as_me: failed program was:" >&5
22583 sed 's
/^
/| /' conftest.$ac_ext >&5
22588 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22589 conftest$ac_exeext conftest.$ac_ext
22590 cat >conftest.$ac_ext <<_ACEOF
22593 cat confdefs.h >>conftest.$ac_ext
22594 cat >>conftest.$ac_ext <<_ACEOF
22595 /* end confdefs.h. */
22596 #define _LARGEFILE_SOURCE 1
22597 #include <sys/types.h> /* for off_t */
22602 int (*fp) (FILE *, off_t, int) = fseeko;
22603 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
22608 rm -f conftest.$ac_objext conftest$ac_exeext
22609 if { (ac_try="$ac_link"
22610 case "(($ac_try" in
22611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22612 *) ac_try_echo=$ac_try;;
22614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22615 (eval "$ac_link") 2>conftest.er1
22617 grep -v '^
*+' conftest.er1 >conftest.err
22619 cat conftest.err >&5
22620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22621 (exit $ac_status); } && {
22622 test -z "$ac_c_werror_flag" ||
22623 test ! -s conftest.err
22624 } && test -s conftest$ac_exeext &&
22625 $as_test_x conftest$ac_exeext; then
22626 ac_cv_sys_largefile_source=1; break
22628 echo "$as_me: failed program was:" >&5
22629 sed 's
/^
/| /' conftest.$ac_ext >&5
22634 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22635 conftest$ac_exeext conftest.$ac_ext
22636 ac_cv_sys_largefile_source=unknown
22640 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22641 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
22642 case $ac_cv_sys_largefile_source in #(
22645 cat >>confdefs.h <<_ACEOF
22646 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22652 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22653 # in glibc 2.1.3, but that breaks too many other things.
22654 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22655 if test $ac_cv_sys_largefile_source != unknown; then
22657 cat >>confdefs.h <<\_ACEOF
22658 #define HAVE_FSEEKO 1
22663 if test "$ac_cv_sys_largefile_source" != no; then
22664 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
22668 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22669 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
22670 if test "${ac_cv_c_bigendian+set}" = set; then
22671 echo $ECHO_N "(cached) $ECHO_C" >&6
22673 ac_cv_c_bigendian=unknown
22674 # See if sys/param.h defines the BYTE_ORDER macro.
22675 cat >conftest.$ac_ext <<_ACEOF
22678 cat confdefs.h >>conftest.$ac_ext
22679 cat >>conftest.$ac_ext <<_ACEOF
22680 /* end confdefs.h. */
22681 #include <sys/types.h>
22682 #include <sys/param.h>
22687 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22688 bogus endian macros
22694 rm -f conftest.$ac_objext
22695 if { (ac_try="$ac_compile"
22696 case "(($ac_try" in
22697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22698 *) ac_try_echo=$ac_try;;
22700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22701 (eval "$ac_compile") 2>conftest.er1
22703 grep -v '^
*+' conftest.er1 >conftest.err
22705 cat conftest.err >&5
22706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22707 (exit $ac_status); } && {
22708 test -z "$ac_c_werror_flag" ||
22709 test ! -s conftest.err
22710 } && test -s conftest.$ac_objext; then
22711 # It does; now see whether it defined to BIG_ENDIAN or not.
22712 cat >conftest.$ac_ext <<_ACEOF
22715 cat confdefs.h >>conftest.$ac_ext
22716 cat >>conftest.$ac_ext <<_ACEOF
22717 /* end confdefs.h. */
22718 #include <sys/types.h>
22719 #include <sys/param.h>
22724 #if BYTE_ORDER != BIG_ENDIAN
22731 rm -f conftest.$ac_objext
22732 if { (ac_try="$ac_compile"
22733 case "(($ac_try" in
22734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22735 *) ac_try_echo=$ac_try;;
22737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22738 (eval "$ac_compile") 2>conftest.er1
22740 grep -v '^
*+' conftest.er1 >conftest.err
22742 cat conftest.err >&5
22743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22744 (exit $ac_status); } && {
22745 test -z "$ac_c_werror_flag" ||
22746 test ! -s conftest.err
22747 } && test -s conftest.$ac_objext; then
22748 ac_cv_c_bigendian=yes
22750 echo "$as_me: failed program was:" >&5
22751 sed 's
/^
/| /' conftest.$ac_ext >&5
22753 ac_cv_c_bigendian=no
22756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22758 echo "$as_me: failed program was:" >&5
22759 sed 's
/^
/| /' conftest.$ac_ext >&5
22764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22765 if test $ac_cv_c_bigendian = unknown; then
22766 if test "$cross_compiling" = yes; then
22767 ac_cv_c_bigendian=unknown
22769 cat >conftest.$ac_ext <<_ACEOF
22772 cat confdefs.h >>conftest.$ac_ext
22773 cat >>conftest.$ac_ext <<_ACEOF
22774 /* end confdefs.h. */
22776 /* Are we little or big endian? From Harbison&Steele. */
22780 char c[sizeof (long)];
22783 exit (u.c[sizeof (long) - 1] == 1);
22786 rm -f conftest$ac_exeext
22787 if { (ac_try="$ac_link"
22788 case "(($ac_try" in
22789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22790 *) ac_try_echo=$ac_try;;
22792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22793 (eval "$ac_link") 2>&5
22795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22796 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
22797 { (case "(($ac_try" in
22798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22799 *) ac_try_echo=$ac_try;;
22801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22802 (eval "$ac_try") 2>&5
22804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22805 (exit $ac_status); }; }; then
22806 ac_cv_c_bigendian=no
22808 echo "$as_me: program exited with status $ac_status" >&5
22809 echo "$as_me: failed program was:" >&5
22810 sed 's
/^
/| /' conftest.$ac_ext >&5
22812 ( exit $ac_status )
22813 ac_cv_c_bigendian=yes
22815 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22821 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
22822 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
22823 if test $ac_cv_c_bigendian = unknown; then
22824 { 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
22825 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;}
22827 if test $ac_cv_c_bigendian = yes; then
22828 cat >>confdefs.h <<\_ACEOF
22829 #define WORDS_BIGENDIAN 1
22838 ac_cpp='$CXXCPP $CPPFLAGS'
22839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22840 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22844 { echo "$as_me:$LINENO: checking for iostream" >&5
22845 echo $ECHO_N "checking for iostream... $ECHO_C" >&6; }
22846 if test "${ac_cv_header_iostream+set}" = set; then
22847 echo $ECHO_N "(cached) $ECHO_C" >&6
22849 cat >conftest.$ac_ext <<_ACEOF
22852 cat confdefs.h >>conftest.$ac_ext
22853 cat >>conftest.$ac_ext <<_ACEOF
22854 /* end confdefs.h. */
22857 #include <iostream>
22859 rm -f conftest.$ac_objext
22860 if { (ac_try="$ac_compile"
22861 case "(($ac_try" in
22862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22863 *) ac_try_echo=$ac_try;;
22865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22866 (eval "$ac_compile") 2>conftest.er1
22868 grep -v '^
*+' conftest.er1 >conftest.err
22870 cat conftest.err >&5
22871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22872 (exit $ac_status); } && {
22873 test -z "$ac_cxx_werror_flag" ||
22874 test ! -s conftest.err
22875 } && test -s conftest.$ac_objext; then
22876 ac_cv_header_iostream=yes
22878 echo "$as_me: failed program was:" >&5
22879 sed 's
/^
/| /' conftest.$ac_ext >&5
22881 ac_cv_header_iostream=no
22884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22886 { echo "$as_me:$LINENO: result: $ac_cv_header_iostream" >&5
22887 echo "${ECHO_T}$ac_cv_header_iostream" >&6; }
22891 if test "$ac_cv_header_iostream" = "yes" ; then
22894 cat >>confdefs.h <<\_ACEOF
22895 #define wxUSE_IOSTREAMH 1
22901 ac_cpp='$CPP $CPPFLAGS'
22902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22903 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22909 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
22910 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
22911 if test "${wx_cv_cpp_bool+set}" = set; then
22912 echo $ECHO_N "(cached) $ECHO_C" >&6
22917 ac_cpp='$CXXCPP $CPPFLAGS'
22918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22919 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22923 cat >conftest.$ac_ext <<_ACEOF
22926 cat confdefs.h >>conftest.$ac_ext
22927 cat >>conftest.$ac_ext <<_ACEOF
22928 /* end confdefs.h. */
22943 rm -f conftest.$ac_objext
22944 if { (ac_try="$ac_compile"
22945 case "(($ac_try" in
22946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22947 *) ac_try_echo=$ac_try;;
22949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22950 (eval "$ac_compile") 2>conftest.er1
22952 grep -v '^
*+' conftest.er1 >conftest.err
22954 cat conftest.err >&5
22955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22956 (exit $ac_status); } && {
22957 test -z "$ac_cxx_werror_flag" ||
22958 test ! -s conftest.err
22959 } && test -s conftest.$ac_objext; then
22964 echo "$as_me: failed program was:" >&5
22965 sed 's
/^
/| /' conftest.$ac_ext >&5
22973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22976 ac_cpp='$CPP $CPPFLAGS'
22977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22978 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22983 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
22984 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
22986 if test "$wx_cv_cpp_bool" = "yes"; then
22987 cat >>confdefs.h <<\_ACEOF
22988 #define HAVE_BOOL 1
22995 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
22996 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
22997 if test "${wx_cv_explicit+set}" = set; then
22998 echo $ECHO_N "(cached) $ECHO_C" >&6
23003 ac_cpp='$CXXCPP $CPPFLAGS'
23004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23005 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23009 cat >conftest.$ac_ext <<_ACEOF
23012 cat confdefs.h >>conftest.$ac_ext
23013 cat >>conftest.$ac_ext <<_ACEOF
23014 /* end confdefs.h. */
23016 class Foo { public: explicit Foo(int) {} };
23028 rm -f conftest.$ac_objext
23029 if { (ac_try="$ac_compile"
23030 case "(($ac_try" in
23031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23032 *) ac_try_echo=$ac_try;;
23034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23035 (eval "$ac_compile") 2>conftest.er1
23037 grep -v '^
*+' conftest.er1 >conftest.err
23039 cat conftest.err >&5
23040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23041 (exit $ac_status); } && {
23042 test -z "$ac_cxx_werror_flag" ||
23043 test ! -s conftest.err
23044 } && test -s conftest.$ac_objext; then
23046 cat >conftest.$ac_ext <<_ACEOF
23049 cat confdefs.h >>conftest.$ac_ext
23050 cat >>conftest.$ac_ext <<_ACEOF
23051 /* end confdefs.h. */
23053 class Foo { public: explicit Foo(int) {} };
23054 static void TakeFoo(const Foo& foo) { }
23067 rm -f conftest.$ac_objext
23068 if { (ac_try="$ac_compile"
23069 case "(($ac_try" in
23070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23071 *) ac_try_echo=$ac_try;;
23073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23074 (eval "$ac_compile") 2>conftest.er1
23076 grep -v '^
*+' conftest.er1 >conftest.err
23078 cat conftest.err >&5
23079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23080 (exit $ac_status); } && {
23081 test -z "$ac_cxx_werror_flag" ||
23082 test ! -s conftest.err
23083 } && test -s conftest.$ac_objext; then
23086 echo "$as_me: failed program was:" >&5
23087 sed 's
/^
/| /' conftest.$ac_ext >&5
23093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23096 echo "$as_me: failed program was:" >&5
23097 sed 's
/^
/| /' conftest.$ac_ext >&5
23103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23106 ac_cpp='$CPP $CPPFLAGS'
23107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23108 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23113 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23114 echo "${ECHO_T}$wx_cv_explicit" >&6; }
23116 if test "$wx_cv_explicit" = "yes"; then
23117 cat >>confdefs.h <<\_ACEOF
23118 #define HAVE_EXPLICIT 1
23124 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
23125 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
23126 if test "${ac_cv_cxx_const_cast+set}" = set; then
23127 echo $ECHO_N "(cached) $ECHO_C" >&6
23131 ac_cpp='$CXXCPP $CPPFLAGS'
23132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23133 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23136 cat >conftest.$ac_ext <<_ACEOF
23139 cat confdefs.h >>conftest.$ac_ext
23140 cat >>conftest.$ac_ext <<_ACEOF
23141 /* end confdefs.h. */
23146 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23151 rm -f conftest.$ac_objext
23152 if { (ac_try="$ac_compile"
23153 case "(($ac_try" in
23154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23155 *) ac_try_echo=$ac_try;;
23157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23158 (eval "$ac_compile") 2>conftest.er1
23160 grep -v '^
*+' conftest.er1 >conftest.err
23162 cat conftest.err >&5
23163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23164 (exit $ac_status); } && {
23165 test -z "$ac_cxx_werror_flag" ||
23166 test ! -s conftest.err
23167 } && test -s conftest.$ac_objext; then
23168 ac_cv_cxx_const_cast=yes
23170 echo "$as_me: failed program was:" >&5
23171 sed 's
/^
/| /' conftest.$ac_ext >&5
23173 ac_cv_cxx_const_cast=no
23176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23178 ac_cpp='$CPP $CPPFLAGS'
23179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23180 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23185 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23186 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
23187 if test "$ac_cv_cxx_const_cast" = yes; then
23189 cat >>confdefs.h <<\_ACEOF
23190 #define HAVE_CONST_CAST
23195 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23196 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
23197 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23198 echo $ECHO_N "(cached) $ECHO_C" >&6
23202 ac_cpp='$CXXCPP $CPPFLAGS'
23203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23204 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23207 cat >conftest.$ac_ext <<_ACEOF
23210 cat confdefs.h >>conftest.$ac_ext
23211 cat >>conftest.$ac_ext <<_ACEOF
23212 /* end confdefs.h. */
23213 #include <typeinfo>
23214 class Base { public : Base () {} virtual void f () = 0;};
23215 class Derived : public Base { public : Derived () {} virtual void f () {} };
23216 class Unrelated { public : Unrelated () {} };
23217 int g (Unrelated&) { return 0; }
23222 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23227 rm -f conftest.$ac_objext
23228 if { (ac_try="$ac_compile"
23229 case "(($ac_try" in
23230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23231 *) ac_try_echo=$ac_try;;
23233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23234 (eval "$ac_compile") 2>conftest.er1
23236 grep -v '^
*+' conftest.er1 >conftest.err
23238 cat conftest.err >&5
23239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23240 (exit $ac_status); } && {
23241 test -z "$ac_cxx_werror_flag" ||
23242 test ! -s conftest.err
23243 } && test -s conftest.$ac_objext; then
23244 ac_cv_cxx_reinterpret_cast=yes
23246 echo "$as_me: failed program was:" >&5
23247 sed 's
/^
/| /' conftest.$ac_ext >&5
23249 ac_cv_cxx_reinterpret_cast=no
23252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23254 ac_cpp='$CPP $CPPFLAGS'
23255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23256 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23261 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23262 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
23263 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23265 cat >>confdefs.h <<\_ACEOF
23266 #define HAVE_REINTERPRET_CAST
23271 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23272 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
23273 if test "${ac_cv_cxx_static_cast+set}" = set; then
23274 echo $ECHO_N "(cached) $ECHO_C" >&6
23278 ac_cpp='$CXXCPP $CPPFLAGS'
23279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23280 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23283 cat >conftest.$ac_ext <<_ACEOF
23286 cat confdefs.h >>conftest.$ac_ext
23287 cat >>conftest.$ac_ext <<_ACEOF
23288 /* end confdefs.h. */
23289 #include <typeinfo>
23290 class Base { public : Base () {} virtual void f () = 0; };
23291 class Derived : public Base { public : Derived () {} virtual void f () {} };
23292 int g (Derived&) { return 0; }
23297 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23302 rm -f conftest.$ac_objext
23303 if { (ac_try="$ac_compile"
23304 case "(($ac_try" in
23305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23306 *) ac_try_echo=$ac_try;;
23308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23309 (eval "$ac_compile") 2>conftest.er1
23311 grep -v '^
*+' conftest.er1 >conftest.err
23313 cat conftest.err >&5
23314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23315 (exit $ac_status); } && {
23316 test -z "$ac_cxx_werror_flag" ||
23317 test ! -s conftest.err
23318 } && test -s conftest.$ac_objext; then
23319 ac_cv_cxx_static_cast=yes
23321 echo "$as_me: failed program was:" >&5
23322 sed 's
/^
/| /' conftest.$ac_ext >&5
23324 ac_cv_cxx_static_cast=no
23327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23329 ac_cpp='$CPP $CPPFLAGS'
23330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23331 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23336 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23337 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
23338 if test "$ac_cv_cxx_static_cast" = yes; then
23340 cat >>confdefs.h <<\_ACEOF
23341 #define HAVE_STATIC_CAST
23347 if test "x$SUNCXX" = xyes; then
23348 CXXFLAGS="-features=tmplife $CXXFLAGS"
23351 if test "x$SUNCC" = xyes; then
23352 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23355 if test "x$SGICC" = "xyes"; then
23356 CFLAGS="-woff 3970 $CFLAGS"
23358 if test "x$SGICXX" = "xyes"; then
23359 CXXFLAGS="-woff 3970 $CXXFLAGS"
23362 if test "x$HPCC" = "xyes"; then
23363 CFLAGS="+W 2011,2450 $CFLAGS"
23365 if test "x$HPCXX" = "xyes"; then
23366 CXXFLAGS="+W 2340 $CXXFLAGS"
23369 if test "x$COMPAQCXX" = "xyes"; then
23370 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23374 ac_cpp='$CXXCPP $CPPFLAGS'
23375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23376 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23380 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23381 if test "$wxUSE_UNICODE" = "yes"; then
23382 std_string="std::wstring"
23383 char_type="wchar_t"
23385 std_string="std::string"
23389 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23390 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
23391 if test "${wx_cv_class_stdstring+set}" = set; then
23392 echo $ECHO_N "(cached) $ECHO_C" >&6
23395 cat >conftest.$ac_ext <<_ACEOF
23398 cat confdefs.h >>conftest.$ac_ext
23399 cat >>conftest.$ac_ext <<_ACEOF
23400 /* end confdefs.h. */
23410 rm -f conftest.$ac_objext
23411 if { (ac_try="$ac_compile"
23412 case "(($ac_try" in
23413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23414 *) ac_try_echo=$ac_try;;
23416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23417 (eval "$ac_compile") 2>conftest.er1
23419 grep -v '^
*+' conftest.er1 >conftest.err
23421 cat conftest.err >&5
23422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23423 (exit $ac_status); } && {
23424 test -z "$ac_cxx_werror_flag" ||
23425 test ! -s conftest.err
23426 } && test -s conftest.$ac_objext; then
23427 wx_cv_class_stdstring=yes
23429 echo "$as_me: failed program was:" >&5
23430 sed 's
/^
/| /' conftest.$ac_ext >&5
23432 wx_cv_class_stdstring=no
23436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23440 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
23441 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
23443 if test "$wx_cv_class_stdstring" = yes; then
23444 if test "$wxUSE_UNICODE" = "yes"; then
23445 cat >>confdefs.h <<\_ACEOF
23446 #define HAVE_STD_WSTRING 1
23451 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23452 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
23453 if test "${wx_cv_class_stdbasicstring+set}" = set; then
23454 echo $ECHO_N "(cached) $ECHO_C" >&6
23457 cat >conftest.$ac_ext <<_ACEOF
23460 cat confdefs.h >>conftest.$ac_ext
23461 cat >>conftest.$ac_ext <<_ACEOF
23462 /* end confdefs.h. */
23464 #ifdef HAVE_WCHAR_H
23466 # include <stddef.h>
23468 # include <wchar.h>
23470 #ifdef HAVE_STDLIB_H
23471 # include <stdlib.h>
23479 std::basic_string<$char_type> foo;
23480 const $char_type* dummy = foo.c_str();
23485 rm -f conftest.$ac_objext
23486 if { (ac_try="$ac_compile"
23487 case "(($ac_try" in
23488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23489 *) ac_try_echo=$ac_try;;
23491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23492 (eval "$ac_compile") 2>conftest.er1
23494 grep -v '^
*+' conftest.er1 >conftest.err
23496 cat conftest.err >&5
23497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23498 (exit $ac_status); } && {
23499 test -z "$ac_cxx_werror_flag" ||
23500 test ! -s conftest.err
23501 } && test -s conftest.$ac_objext; then
23502 wx_cv_class_stdbasicstring=yes
23504 echo "$as_me: failed program was:" >&5
23505 sed 's
/^
/| /' conftest.$ac_ext >&5
23507 wx_cv_class_stdbasicstring=no
23511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23515 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
23516 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
23518 if test "$wx_cv_class_stdbasicstring" != yes; then
23519 if test "$wxUSE_STL" = "yes"; then
23520 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl without
$std_string or std
::basic_string
<$char_type>" >&5
23521 echo "$as_me: error
: Can
't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
23522 { (exit 1); exit 1; }; }
23523 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
23524 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_string without
$std_string or std
::basic_string
<$char_type>" >&5
23525 echo "$as_me: error
: Can
't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
23526 { (exit 1); exit 1; }; }
23528 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
23529 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
23530 wxUSE_STD_STRING=no
23536 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23537 { echo "$as_me:$LINENO: checking for std::istream" >&5
23538 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
23539 if test "${ac_cv_type_std__istream+set}" = set; then
23540 echo $ECHO_N "(cached) $ECHO_C" >&6
23542 cat >conftest.$ac_ext <<_ACEOF
23545 cat confdefs.h >>conftest.$ac_ext
23546 cat >>conftest.$ac_ext <<_ACEOF
23547 /* end confdefs.h. */
23548 #include <iostream>
23550 typedef std::istream ac__type_new_;
23554 if ((ac__type_new_ *) 0)
23556 if (sizeof (ac__type_new_))
23562 rm -f conftest.$ac_objext
23563 if { (ac_try="$ac_compile"
23564 case "(($ac_try" in
23565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23566 *) ac_try_echo=$ac_try;;
23568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23569 (eval "$ac_compile") 2>conftest.er1
23571 grep -v '^
*+' conftest.er1 >conftest.err
23573 cat conftest.err >&5
23574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23575 (exit $ac_status); } && {
23576 test -z "$ac_cxx_werror_flag" ||
23577 test ! -s conftest.err
23578 } && test -s conftest.$ac_objext; then
23579 ac_cv_type_std__istream=yes
23581 echo "$as_me: failed program was:" >&5
23582 sed 's
/^
/| /' conftest.$ac_ext >&5
23584 ac_cv_type_std__istream=no
23587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23589 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
23590 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
23591 if test $ac_cv_type_std__istream = yes; then
23593 cat >>confdefs.h <<_ACEOF
23594 #define HAVE_STD__ISTREAM 1
23599 wxUSE_STD_IOSTREAM=no
23601 { echo "$as_me:$LINENO: checking for std::ostream" >&5
23602 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
23603 if test "${ac_cv_type_std__ostream+set}" = set; then
23604 echo $ECHO_N "(cached) $ECHO_C" >&6
23606 cat >conftest.$ac_ext <<_ACEOF
23609 cat confdefs.h >>conftest.$ac_ext
23610 cat >>conftest.$ac_ext <<_ACEOF
23611 /* end confdefs.h. */
23612 #include <iostream>
23614 typedef std::ostream ac__type_new_;
23618 if ((ac__type_new_ *) 0)
23620 if (sizeof (ac__type_new_))
23626 rm -f conftest.$ac_objext
23627 if { (ac_try="$ac_compile"
23628 case "(($ac_try" in
23629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23630 *) ac_try_echo=$ac_try;;
23632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23633 (eval "$ac_compile") 2>conftest.er1
23635 grep -v '^
*+' conftest.er1 >conftest.err
23637 cat conftest.err >&5
23638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23639 (exit $ac_status); } && {
23640 test -z "$ac_cxx_werror_flag" ||
23641 test ! -s conftest.err
23642 } && test -s conftest.$ac_objext; then
23643 ac_cv_type_std__ostream=yes
23645 echo "$as_me: failed program was:" >&5
23646 sed 's
/^
/| /' conftest.$ac_ext >&5
23648 ac_cv_type_std__ostream=no
23651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23653 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
23654 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
23655 if test $ac_cv_type_std__ostream = yes; then
23657 cat >>confdefs.h <<_ACEOF
23658 #define HAVE_STD__OSTREAM 1
23663 wxUSE_STD_IOSTREAM=no
23667 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
23668 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
23669 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_iostreams without std
::istream and std
::ostream
" >&5
23670 echo "$as_me: error
: Can
't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
23671 { (exit 1); exit 1; }; }
23673 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
23674 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
23679 if test "$wxUSE_STL" = "yes"; then
23680 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
23681 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
23682 if test "${wx_cv_lib_stl+set}" = set; then
23683 echo $ECHO_N "(cached) $ECHO_C" >&6
23685 cat >conftest.$ac_ext <<_ACEOF
23688 cat confdefs.h >>conftest.$ac_ext
23689 cat >>conftest.$ac_ext <<_ACEOF
23690 /* end confdefs.h. */
23692 #include <functional>
23693 #include <algorithm>
23699 std::vector<int> moo;
23700 std::list<int> foo;
23701 std::vector<int>::iterator it =
23702 std::find_if(moo.begin(), moo.end(),
23703 std::bind2nd(std::less<int>(), 3));
23708 rm -f conftest.$ac_objext
23709 if { (ac_try="$ac_compile"
23710 case "(($ac_try" in
23711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23712 *) ac_try_echo=$ac_try;;
23714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23715 (eval "$ac_compile") 2>conftest.er1
23717 grep -v '^
*+' conftest.er1 >conftest.err
23719 cat conftest.err >&5
23720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23721 (exit $ac_status); } && {
23722 test -z "$ac_cxx_werror_flag" ||
23723 test ! -s conftest.err
23724 } && test -s conftest.$ac_objext; then
23727 echo "$as_me: failed program was:" >&5
23728 sed 's
/^
/| /' conftest.$ac_ext >&5
23734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23737 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
23738 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
23740 if test "$wx_cv_lib_stl" != yes; then
23741 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl as basic STL functionality is missing
" >&5
23742 echo "$as_me: error
: Can
't use --enable-stl as basic STL functionality is missing" >&2;}
23743 { (exit 1); exit 1; }; }
23746 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
23747 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
23748 if test "${wx_cv_func_stdstring_compare+set}" = set; then
23749 echo $ECHO_N "(cached) $ECHO_C" >&6
23751 cat >conftest.$ac_ext <<_ACEOF
23754 cat confdefs.h >>conftest.$ac_ext
23755 cat >>conftest.$ac_ext <<_ACEOF
23756 /* end confdefs.h. */
23761 std::string foo, bar;
23763 foo.compare(1, 1, bar);
23764 foo.compare(1, 1, bar, 1, 1);
23766 foo.compare(1, 1, "");
23767 foo.compare(1, 1, "", 2);
23772 rm -f conftest.$ac_objext
23773 if { (ac_try="$ac_compile"
23774 case "(($ac_try" in
23775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23776 *) ac_try_echo=$ac_try;;
23778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23779 (eval "$ac_compile") 2>conftest.er1
23781 grep -v '^
*+' conftest.er1 >conftest.err
23783 cat conftest.err >&5
23784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23785 (exit $ac_status); } && {
23786 test -z "$ac_cxx_werror_flag" ||
23787 test ! -s conftest.err
23788 } && test -s conftest.$ac_objext; then
23789 wx_cv_func_stdstring_compare=yes
23791 echo "$as_me: failed program was:" >&5
23792 sed 's
/^
/| /' conftest.$ac_ext >&5
23794 wx_cv_func_stdstring_compare=no
23798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23801 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
23802 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
23804 if test "$wx_cv_func_stdstring_compare" = yes; then
23805 cat >>confdefs.h <<\_ACEOF
23806 #define HAVE_STD_STRING_COMPARE 1
23811 { echo "$as_me:$LINENO: checking for hash_map" >&5
23812 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
23813 if test "${ac_cv_header_hash_map+set}" = set; then
23814 echo $ECHO_N "(cached) $ECHO_C" >&6
23816 cat >conftest.$ac_ext <<_ACEOF
23819 cat confdefs.h >>conftest.$ac_ext
23820 cat >>conftest.$ac_ext <<_ACEOF
23821 /* end confdefs.h. */
23825 #include <hash_map>
23827 rm -f conftest.$ac_objext
23828 if { (ac_try="$ac_compile"
23829 case "(($ac_try" in
23830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23831 *) ac_try_echo=$ac_try;;
23833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23834 (eval "$ac_compile") 2>conftest.er1
23836 grep -v '^
*+' conftest.er1 >conftest.err
23838 cat conftest.err >&5
23839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23840 (exit $ac_status); } && {
23841 test -z "$ac_cxx_werror_flag" ||
23842 test ! -s conftest.err
23843 } && test -s conftest.$ac_objext; then
23844 ac_cv_header_hash_map=yes
23846 echo "$as_me: failed program was:" >&5
23847 sed 's
/^
/| /' conftest.$ac_ext >&5
23849 ac_cv_header_hash_map=no
23852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23854 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23855 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
23856 if test $ac_cv_header_hash_map = yes; then
23857 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
23858 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
23859 if test "${wx_cv_class_stdhashmapset+set}" = set; then
23860 echo $ECHO_N "(cached) $ECHO_C" >&6
23862 cat >conftest.$ac_ext <<_ACEOF
23865 cat confdefs.h >>conftest.$ac_ext
23866 cat >>conftest.$ac_ext <<_ACEOF
23867 /* end confdefs.h. */
23868 #include <hash_map>
23869 #include <hash_set>
23873 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
23874 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
23879 rm -f conftest.$ac_objext
23880 if { (ac_try="$ac_compile"
23881 case "(($ac_try" in
23882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23883 *) ac_try_echo=$ac_try;;
23885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23886 (eval "$ac_compile") 2>conftest.er1
23888 grep -v '^
*+' conftest.er1 >conftest.err
23890 cat conftest.err >&5
23891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23892 (exit $ac_status); } && {
23893 test -z "$ac_cxx_werror_flag" ||
23894 test ! -s conftest.err
23895 } && test -s conftest.$ac_objext; then
23896 wx_cv_class_stdhashmapset=yes
23898 echo "$as_me: failed program was:" >&5
23899 sed 's
/^
/| /' conftest.$ac_ext >&5
23901 wx_cv_class_stdhashmapset=no
23904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23908 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
23909 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
23914 if test "$wx_cv_class_stdhashmapset" = yes; then
23915 cat >>confdefs.h <<\_ACEOF
23916 #define HAVE_HASH_MAP 1
23919 cat >>confdefs.h <<\_ACEOF
23920 #define HAVE_STD_HASH_MAP 1
23925 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23926 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
23927 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23928 echo $ECHO_N "(cached) $ECHO_C" >&6
23930 cat >conftest.$ac_ext <<_ACEOF
23933 cat confdefs.h >>conftest.$ac_ext
23934 cat >>conftest.$ac_ext <<_ACEOF
23935 /* end confdefs.h. */
23939 #include <ext/hash_map>
23941 rm -f conftest.$ac_objext
23942 if { (ac_try="$ac_compile"
23943 case "(($ac_try" in
23944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23945 *) ac_try_echo=$ac_try;;
23947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23948 (eval "$ac_compile") 2>conftest.er1
23950 grep -v '^
*+' conftest.er1 >conftest.err
23952 cat conftest.err >&5
23953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23954 (exit $ac_status); } && {
23955 test -z "$ac_cxx_werror_flag" ||
23956 test ! -s conftest.err
23957 } && test -s conftest.$ac_objext; then
23958 ac_cv_header_ext_hash_map=yes
23960 echo "$as_me: failed program was:" >&5
23961 sed 's
/^
/| /' conftest.$ac_ext >&5
23963 ac_cv_header_ext_hash_map=no
23966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23968 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23969 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
23970 if test $ac_cv_header_ext_hash_map = yes; then
23971 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
23972 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
23973 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
23974 echo $ECHO_N "(cached) $ECHO_C" >&6
23976 cat >conftest.$ac_ext <<_ACEOF
23979 cat confdefs.h >>conftest.$ac_ext
23980 cat >>conftest.$ac_ext <<_ACEOF
23981 /* end confdefs.h. */
23982 #include <ext/hash_map>
23983 #include <ext/hash_set>
23987 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
23988 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
23993 rm -f conftest.$ac_objext
23994 if { (ac_try="$ac_compile"
23995 case "(($ac_try" in
23996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23997 *) ac_try_echo=$ac_try;;
23999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24000 (eval "$ac_compile") 2>conftest.er1
24002 grep -v '^
*+' conftest.er1 >conftest.err
24004 cat conftest.err >&5
24005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24006 (exit $ac_status); } && {
24007 test -z "$ac_cxx_werror_flag" ||
24008 test ! -s conftest.err
24009 } && test -s conftest.$ac_objext; then
24010 wx_cv_class_gnuhashmapset=yes
24012 echo "$as_me: failed program was:" >&5
24013 sed 's
/^
/| /' conftest.$ac_ext >&5
24015 wx_cv_class_gnuhashmapset=no
24018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24022 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
24023 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
24028 if test "$wx_cv_class_gnuhashmapset" = yes; then
24029 cat >>confdefs.h <<\_ACEOF
24030 #define HAVE_EXT_HASH_MAP 1
24033 cat >>confdefs.h <<\_ACEOF
24034 #define HAVE_GNU_CXX_HASH_MAP 1
24041 ac_cpp='$CPP $CPPFLAGS'
24042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24043 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24049 /usr/local/include \
24051 /usr/Motif-2.1/include \
24052 /usr/Motif-1.2/include \
24053 /usr/include/Motif1.2 \
24056 /usr/openwin/include \
24060 /usr/X11R6/include \
24061 /usr/X11R6.4/include \
24062 /usr/X11R5/include \
24063 /usr/X11R4/include \
24065 /usr/include/X11R6 \
24066 /usr/include/X11R5 \
24067 /usr/include/X11R4 \
24069 /usr/local/X11R6/include \
24070 /usr/local/X11R5/include \
24071 /usr/local/X11R4/include \
24073 /usr/local/include/X11R6 \
24074 /usr/local/include/X11R5 \
24075 /usr/local/include/X11R4 \
24079 /usr/local/X11/include \
24080 /usr/local/include/X11 \
24082 /usr/XFree86/include/X11 \
24085 /usr/openwin/share/include"
24087 { echo "$as_me:$LINENO: checking for libraries directory" >&5
24088 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
24092 if test "${wx_cv_std_libpath+set}" = set; then
24093 echo $ECHO_N "(cached) $ECHO_C" >&6
24096 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
24097 for e in a so sl dylib dll.a; do
24099 if test -f $libc; then
24102 cat >conftest.$ac_ext <<_ACEOF
24103 int main() { return 0; }
24105 rm -f conftest.$ac_objext conftest$ac_exeext
24106 if { (ac_try="$ac_link"
24107 case "(($ac_try" in
24108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24109 *) ac_try_echo=$ac_try;;
24111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24112 (eval "$ac_link") 2>conftest.er1
24114 grep -v '^
*+' conftest.er1 >conftest.err
24116 cat conftest.err >&5
24117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24118 (exit $ac_status); } && {
24119 test -z "$ac_c_werror_flag" ||
24120 test ! -s conftest.err
24121 } && test -s conftest$ac_exeext &&
24122 $as_test_x conftest$ac_exeext; then
24123 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
24125 echo "$as_me: failed program was:" >&5
24126 sed 's
/^
/| /' conftest.$ac_ext >&5
24131 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24132 conftest$ac_exeext conftest.$ac_ext
24134 if test "x$wx_cv_std_libpath" != "x"; then
24140 if test "x$wx_cv_std_libpath" = "x"; then
24141 wx_cv_std_libpath="lib"
24150 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24151 wx_cv_std_libpath="lib/64"
24153 wx_cv_std_libpath="lib"
24158 if test "$ac_cv_sizeof_void_p" = 8 -a \
24159 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24160 wx_cv_std_libpath="lib64"
24162 wx_cv_std_libpath="lib"
24167 wx_cv_std_libpath="lib";
24171 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24172 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
24174 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24176 if test "$build" != "$host" -a "$GCC" = yes; then
24177 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
24178 cross_root=`dirname $cross_root`
24179 cross_root=`dirname $cross_root`
24181 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24182 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24183 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
24185 if test -z "$PKG_CONFIG_PATH"; then
24186 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24187 export PKG_CONFIG_PATH
24190 if test -z "$x_includes" -o "$x_includes" = NONE; then
24193 for ac_dir in $SEARCH_INCLUDE /usr/include;
24195 if test -f "$ac_dir/X11/Intrinsic.h"; then
24196 ac_find_includes=$ac_dir
24201 x_includes=$ac_find_includes
24203 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
24206 for ac_dir in $SEARCH_LIB;
24208 for ac_extension in a so sl dylib dll.a; do
24209 if test -f "$ac_dir/libXt.$ac_extension"; then
24210 ac_find_libraries=$ac_dir
24216 x_libraries=$ac_find_libraries
24222 cat >confcache <<\_ACEOF
24223 # This file is a shell script that caches the results of configure
24224 # tests run on this system so they can be shared between configure
24225 # scripts and configure runs, see configure's option
--config-cache.
24226 # It is not useful on other systems. If it contains results you don't
24227 # want to keep, you may remove or edit it.
24229 # config.status only pays attention to the cache file if you give it
24230 # the --recheck option to rerun configure.
24232 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24233 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24234 # following values.
24238 # The following way of writing the cache mishandles newlines in values,
24239 # but we know of no workaround that is simple, portable, and efficient.
24240 # So, we kill variables containing newlines.
24241 # Ultrix sh set writes to stderr and can't be redirected directly,
24242 # and sets the high bit in the cache file unless we assign to the vars.
24244 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24245 eval ac_val
=\$
$ac_var
24249 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
24250 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
24253 _
| IFS
| as_nl
) ;; #(
24254 *) $as_unset $ac_var ;;
24260 case $as_nl`(ac_space=' '; set) 2>&1` in #(
24261 *${as_nl}ac_space
=\
*)
24262 # `set' does not quote correctly, so add quotes (double-quote
24263 # substitution turns \\\\ into \\, and sed turns \\ into \).
24266 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24269 # `set' quotes correctly as required by POSIX, so do not add quotes.
24270 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
24279 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24281 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24283 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
24284 if test -w "$cache_file"; then
24285 test "x$cache_file" != "x/dev/null" &&
24286 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
24287 echo "$as_me: updating cache $cache_file" >&6;}
24288 cat confcache
>$cache_file
24290 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
24291 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
24296 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24297 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24298 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
24299 if test "${wx_cv_lib_glibc21+set}" = set; then
24300 echo $ECHO_N "(cached) $ECHO_C" >&6
24303 cat >conftest.
$ac_ext <<_ACEOF
24306 cat confdefs.h
>>conftest.
$ac_ext
24307 cat >>conftest.
$ac_ext <<_ACEOF
24308 /* end confdefs.h. */
24309 #include <features.h>
24314 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24322 rm -f conftest.
$ac_objext
24323 if { (ac_try
="$ac_compile"
24324 case "(($ac_try" in
24325 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24326 *) ac_try_echo=$ac_try;;
24328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24329 (eval "$ac_compile") 2>conftest.er1
24331 grep -v '^ *+' conftest.er1 >conftest.err
24333 cat conftest.err >&5
24334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24335 (exit $ac_status); } && {
24336 test -z "$ac_c_werror_flag" ||
24337 test ! -s conftest.err
24338 } && test -s conftest.$ac_objext; then
24340 wx_cv_lib_glibc21=yes
24343 echo "$as_me: failed program was:" >&5
24344 sed 's/^/| /' conftest.$ac_ext >&5
24347 wx_cv_lib_glibc21=no
24352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24355 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24356 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
24357 if test "$wx_cv_lib_glibc21" = "yes"; then
24358 cat >>confdefs.h <<\_ACEOF
24359 #define wxHAVE_GLIBC2 1
24365 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24366 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24367 cat >>confdefs.h <<\_ACEOF
24368 #define _GNU_SOURCE 1
24379 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24380 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24381 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24382 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24383 echo $ECHO_N "(cached) $ECHO_C" >&6
24385 cat >conftest.$ac_ext <<_ACEOF
24388 cat confdefs.h >>conftest.$ac_ext
24389 cat >>conftest.$ac_ext <<_ACEOF
24390 /* end confdefs.h. */
24391 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24392 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24393 #define $ac_func innocuous_$ac_func
24395 /* System header to define __stub macros and hopefully few prototypes,
24396 which can conflict with char $ac_func (); below.
24397 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24398 <limits.h> exists even on freestanding compilers. */
24401 # include <limits.h>
24403 # include <assert.h>
24408 /* Override any GCC internal prototype to avoid an error.
24409 Use char because int might match the return type of a GCC
24410 builtin and then its argument prototype would still apply. */
24415 /* The GNU C library defines this for functions which it implements
24416 to always fail with ENOSYS. Some functions are actually named
24417 something starting with __ and the normal name is an alias. */
24418 #if defined __stub_$ac_func || defined __stub___$ac_func
24425 return $ac_func ();
24430 rm -f conftest.$ac_objext conftest$ac_exeext
24431 if { (ac_try="$ac_link"
24432 case "(($ac_try" in
24433 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24434 *) ac_try_echo
=$ac_try;;
24436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24437 (eval "$ac_link") 2>conftest.er1
24439 grep -v '^ *+' conftest.er1
>conftest.err
24441 cat conftest.err
>&5
24442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24443 (exit $ac_status); } && {
24444 test -z "$ac_c_werror_flag" ||
24445 test ! -s conftest.err
24446 } && test -s conftest
$ac_exeext &&
24447 $as_test_x conftest
$ac_exeext; then
24448 eval "$as_ac_var=yes"
24450 echo "$as_me: failed program was:" >&5
24451 sed 's/^/| /' conftest.
$ac_ext >&5
24453 eval "$as_ac_var=no"
24456 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
24457 conftest
$ac_exeext conftest.
$ac_ext
24459 ac_res
=`eval echo '${'$as_ac_var'}'`
24460 { echo "$as_me:$LINENO: result: $ac_res" >&5
24461 echo "${ECHO_T}$ac_res" >&6; }
24462 if test `eval echo '${'$as_ac_var'}'` = yes; then
24463 cat >>confdefs.h
<<_ACEOF
24464 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24471 for ac_func
in floor
24473 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24474 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24475 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24476 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24477 echo $ECHO_N "(cached) $ECHO_C" >&6
24479 cat >conftest.
$ac_ext <<_ACEOF
24482 cat confdefs.h
>>conftest.
$ac_ext
24483 cat >>conftest.
$ac_ext <<_ACEOF
24484 /* end confdefs.h. */
24485 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24486 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24487 #define $ac_func innocuous_$ac_func
24489 /* System header to define __stub macros and hopefully few prototypes,
24490 which can conflict with char $ac_func (); below.
24491 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24492 <limits.h> exists even on freestanding compilers. */
24495 # include <limits.h>
24497 # include <assert.h>
24502 /* Override any GCC internal prototype to avoid an error.
24503 Use char because int might match the return type of a GCC
24504 builtin and then its argument prototype would still apply. */
24509 /* The GNU C library defines this for functions which it implements
24510 to always fail with ENOSYS. Some functions are actually named
24511 something starting with __ and the normal name is an alias. */
24512 #if defined __stub_$ac_func || defined __stub___$ac_func
24519 return $ac_func ();
24524 rm -f conftest.
$ac_objext conftest
$ac_exeext
24525 if { (ac_try
="$ac_link"
24526 case "(($ac_try" in
24527 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24528 *) ac_try_echo=$ac_try;;
24530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24531 (eval "$ac_link") 2>conftest.er1
24533 grep -v '^ *+' conftest.er1 >conftest.err
24535 cat conftest.err >&5
24536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24537 (exit $ac_status); } && {
24538 test -z "$ac_c_werror_flag" ||
24539 test ! -s conftest.err
24540 } && test -s conftest$ac_exeext &&
24541 $as_test_x conftest$ac_exeext; then
24542 eval "$as_ac_var=yes"
24544 echo "$as_me: failed program was:" >&5
24545 sed 's/^/| /' conftest.$ac_ext >&5
24547 eval "$as_ac_var=no"
24550 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24551 conftest$ac_exeext conftest.$ac_ext
24553 ac_res=`eval echo '${'$as_ac_var'}'`
24554 { echo "$as_me:$LINENO: result: $ac_res" >&5
24555 echo "${ECHO_T}$ac_res" >&6; }
24556 if test `eval echo '${'$as_ac_var'}'` = yes; then
24557 cat >>confdefs.h <<_ACEOF
24558 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24564 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
24565 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
24566 if test "$have_cos" = 1 -a "$have_floor" = 1; then
24567 { echo "$as_me:$LINENO: result: yes" >&5
24568 echo "${ECHO_T}yes" >&6; }
24570 { echo "$as_me:$LINENO: result: no" >&5
24571 echo "${ECHO_T}no" >&6; }
24573 # use different functions to avoid configure caching
24579 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24580 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24581 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24582 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24583 echo $ECHO_N "(cached) $ECHO_C" >&6
24585 cat >conftest.$ac_ext <<_ACEOF
24588 cat confdefs.h >>conftest.$ac_ext
24589 cat >>conftest.$ac_ext <<_ACEOF
24590 /* end confdefs.h. */
24591 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24592 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24593 #define $ac_func innocuous_$ac_func
24595 /* System header to define __stub macros and hopefully few prototypes,
24596 which can conflict with char $ac_func (); below.
24597 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24598 <limits.h> exists even on freestanding compilers. */
24601 # include <limits.h>
24603 # include <assert.h>
24608 /* Override any GCC internal prototype to avoid an error.
24609 Use char because int might match the return type of a GCC
24610 builtin and then its argument prototype would still apply. */
24615 /* The GNU C library defines this for functions which it implements
24616 to always fail with ENOSYS. Some functions are actually named
24617 something starting with __ and the normal name is an alias. */
24618 #if defined __stub_$ac_func || defined __stub___$ac_func
24625 return $ac_func ();
24630 rm -f conftest.$ac_objext conftest$ac_exeext
24631 if { (ac_try="$ac_link"
24632 case "(($ac_try" in
24633 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24634 *) ac_try_echo
=$ac_try;;
24636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24637 (eval "$ac_link") 2>conftest.er1
24639 grep -v '^ *+' conftest.er1
>conftest.err
24641 cat conftest.err
>&5
24642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24643 (exit $ac_status); } && {
24644 test -z "$ac_c_werror_flag" ||
24645 test ! -s conftest.err
24646 } && test -s conftest
$ac_exeext &&
24647 $as_test_x conftest
$ac_exeext; then
24648 eval "$as_ac_var=yes"
24650 echo "$as_me: failed program was:" >&5
24651 sed 's/^/| /' conftest.
$ac_ext >&5
24653 eval "$as_ac_var=no"
24656 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
24657 conftest
$ac_exeext conftest.
$ac_ext
24659 ac_res
=`eval echo '${'$as_ac_var'}'`
24660 { echo "$as_me:$LINENO: result: $ac_res" >&5
24661 echo "${ECHO_T}$ac_res" >&6; }
24662 if test `eval echo '${'$as_ac_var'}'` = yes; then
24663 cat >>confdefs.h
<<_ACEOF
24664 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24671 for ac_func
in ceil
24673 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24674 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24675 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24676 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24677 echo $ECHO_N "(cached) $ECHO_C" >&6
24679 cat >conftest.
$ac_ext <<_ACEOF
24682 cat confdefs.h
>>conftest.
$ac_ext
24683 cat >>conftest.
$ac_ext <<_ACEOF
24684 /* end confdefs.h. */
24685 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24686 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24687 #define $ac_func innocuous_$ac_func
24689 /* System header to define __stub macros and hopefully few prototypes,
24690 which can conflict with char $ac_func (); below.
24691 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24692 <limits.h> exists even on freestanding compilers. */
24695 # include <limits.h>
24697 # include <assert.h>
24702 /* Override any GCC internal prototype to avoid an error.
24703 Use char because int might match the return type of a GCC
24704 builtin and then its argument prototype would still apply. */
24709 /* The GNU C library defines this for functions which it implements
24710 to always fail with ENOSYS. Some functions are actually named
24711 something starting with __ and the normal name is an alias. */
24712 #if defined __stub_$ac_func || defined __stub___$ac_func
24719 return $ac_func ();
24724 rm -f conftest.
$ac_objext conftest
$ac_exeext
24725 if { (ac_try
="$ac_link"
24726 case "(($ac_try" in
24727 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24728 *) ac_try_echo=$ac_try;;
24730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24731 (eval "$ac_link") 2>conftest.er1
24733 grep -v '^ *+' conftest.er1 >conftest.err
24735 cat conftest.err >&5
24736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24737 (exit $ac_status); } && {
24738 test -z "$ac_c_werror_flag" ||
24739 test ! -s conftest.err
24740 } && test -s conftest$ac_exeext &&
24741 $as_test_x conftest$ac_exeext; then
24742 eval "$as_ac_var=yes"
24744 echo "$as_me: failed program was:" >&5
24745 sed 's/^/| /' conftest.$ac_ext >&5
24747 eval "$as_ac_var=no"
24750 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24751 conftest$ac_exeext conftest.$ac_ext
24753 ac_res=`eval echo '${'$as_ac_var'}'`
24754 { echo "$as_me:$LINENO: result: $ac_res" >&5
24755 echo "${ECHO_T}$ac_res" >&6; }
24756 if test `eval echo '${'$as_ac_var'}'` = yes; then
24757 cat >>confdefs.h <<_ACEOF
24758 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24764 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
24765 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
24766 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
24767 { echo "$as_me:$LINENO: result: yes" >&5
24768 echo "${ECHO_T}yes" >&6; }
24770 { echo "$as_me:$LINENO: result: no" >&5
24771 echo "${ECHO_T}no" >&6; }
24772 # not sure we should warn the user, crash, etc.
24777 ac_cpp='$CXXCPP $CPPFLAGS'
24778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24782 if test "wxUSE_UNICODE" = "yes"; then
24784 for wx_func in wcstoull
24786 { echo "$as_me:$LINENO: checking for $wx_func" >&5
24787 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
24788 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
24789 echo $ECHO_N "(cached) $ECHO_C" >&6
24792 cat >conftest.$ac_ext <<_ACEOF
24796 cat confdefs.h >>conftest.$ac_ext
24797 cat >>conftest.$ac_ext <<_ACEOF
24798 /* end confdefs.h. */
24801 $ac_includes_default
24817 rm -f conftest.$ac_objext conftest$ac_exeext
24818 if { (ac_try="$ac_link"
24819 case "(($ac_try" in
24820 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24821 *) ac_try_echo
=$ac_try;;
24823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24824 (eval "$ac_link") 2>conftest.er1
24826 grep -v '^ *+' conftest.er1
>conftest.err
24828 cat conftest.err
>&5
24829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24830 (exit $ac_status); } && {
24831 test -z "$ac_cxx_werror_flag" ||
24832 test ! -s conftest.err
24833 } && test -s conftest
$ac_exeext &&
24834 $as_test_x conftest
$ac_exeext; then
24835 eval wx_cv_func_
$wx_func=yes
24837 echo "$as_me: failed program was:" >&5
24838 sed 's/^/| /' conftest.
$ac_ext >&5
24840 eval wx_cv_func_
$wx_func=no
24843 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
24844 conftest
$ac_exeext conftest.
$ac_ext
24847 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
24848 { echo "$as_me:$LINENO: result: $ac_res" >&5
24849 echo "${ECHO_T}$ac_res" >&6; }
24851 if eval test \
$wx_cv_func_$wx_func = yes
24853 cat >>confdefs.h
<<_ACEOF
24854 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
24866 for wx_func
in strtoull
24868 { echo "$as_me:$LINENO: checking for $wx_func" >&5
24869 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
24870 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
24871 echo $ECHO_N "(cached) $ECHO_C" >&6
24874 cat >conftest.
$ac_ext <<_ACEOF
24878 cat confdefs.h
>>conftest.
$ac_ext
24879 cat >>conftest.
$ac_ext <<_ACEOF
24880 /* end confdefs.h. */
24883 $ac_includes_default
24899 rm -f conftest.
$ac_objext conftest
$ac_exeext
24900 if { (ac_try
="$ac_link"
24901 case "(($ac_try" in
24902 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24903 *) ac_try_echo=$ac_try;;
24905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24906 (eval "$ac_link") 2>conftest.er1
24908 grep -v '^ *+' conftest.er1 >conftest.err
24910 cat conftest.err >&5
24911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24912 (exit $ac_status); } && {
24913 test -z "$ac_cxx_werror_flag" ||
24914 test ! -s conftest.err
24915 } && test -s conftest$ac_exeext &&
24916 $as_test_x conftest$ac_exeext; then
24917 eval wx_cv_func_$wx_func=yes
24919 echo "$as_me: failed program was:" >&5
24920 sed 's/^/| /' conftest.$ac_ext >&5
24922 eval wx_cv_func_$wx_func=no
24925 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24926 conftest$ac_exeext conftest.$ac_ext
24929 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
24930 { echo "$as_me:$LINENO: result: $ac_res" >&5
24931 echo "${ECHO_T}$ac_res" >&6; }
24933 if eval test \$wx_cv_func_$wx_func = yes
24935 cat >>confdefs.h <<_ACEOF
24936 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
24948 ac_cpp='$CPP $CPPFLAGS'
24949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24956 if test "$wxUSE_REGEX" != "no"; then
24957 cat >>confdefs.h <<\_ACEOF
24958 #define wxUSE_REGEX 1
24962 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
24963 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
24964 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
24965 wxUSE_REGEX=builtin
24968 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
24969 { echo "$as_me:$LINENO: checking for regex.h" >&5
24970 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
24971 if test "${ac_cv_header_regex_h+set}" = set; then
24972 echo $ECHO_N "(cached) $ECHO_C" >&6
24974 cat >conftest.$ac_ext <<_ACEOF
24977 cat confdefs.h >>conftest.$ac_ext
24978 cat >>conftest.$ac_ext <<_ACEOF
24979 /* end confdefs.h. */
24984 rm -f conftest.$ac_objext
24985 if { (ac_try="$ac_compile"
24986 case "(($ac_try" in
24987 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24988 *) ac_try_echo
=$ac_try;;
24990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24991 (eval "$ac_compile") 2>conftest.er1
24993 grep -v '^ *+' conftest.er1
>conftest.err
24995 cat conftest.err
>&5
24996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24997 (exit $ac_status); } && {
24998 test -z "$ac_c_werror_flag" ||
24999 test ! -s conftest.err
25000 } && test -s conftest.
$ac_objext; then
25001 ac_cv_header_regex_h
=yes
25003 echo "$as_me: failed program was:" >&5
25004 sed 's/^/| /' conftest.
$ac_ext >&5
25006 ac_cv_header_regex_h
=no
25009 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25011 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25012 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
25013 if test $ac_cv_header_regex_h = yes; then
25016 for ac_func
in regcomp re_search
25018 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25019 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25020 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25021 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25022 echo $ECHO_N "(cached) $ECHO_C" >&6
25024 cat >conftest.
$ac_ext <<_ACEOF
25027 cat confdefs.h
>>conftest.
$ac_ext
25028 cat >>conftest.
$ac_ext <<_ACEOF
25029 /* end confdefs.h. */
25030 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25031 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25032 #define $ac_func innocuous_$ac_func
25034 /* System header to define __stub macros and hopefully few prototypes,
25035 which can conflict with char $ac_func (); below.
25036 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25037 <limits.h> exists even on freestanding compilers. */
25040 # include <limits.h>
25042 # include <assert.h>
25047 /* Override any GCC internal prototype to avoid an error.
25048 Use char because int might match the return type of a GCC
25049 builtin and then its argument prototype would still apply. */
25054 /* The GNU C library defines this for functions which it implements
25055 to always fail with ENOSYS. Some functions are actually named
25056 something starting with __ and the normal name is an alias. */
25057 #if defined __stub_$ac_func || defined __stub___$ac_func
25064 return $ac_func ();
25069 rm -f conftest.
$ac_objext conftest
$ac_exeext
25070 if { (ac_try
="$ac_link"
25071 case "(($ac_try" in
25072 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25073 *) ac_try_echo=$ac_try;;
25075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25076 (eval "$ac_link") 2>conftest.er1
25078 grep -v '^ *+' conftest.er1 >conftest.err
25080 cat conftest.err >&5
25081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25082 (exit $ac_status); } && {
25083 test -z "$ac_c_werror_flag" ||
25084 test ! -s conftest.err
25085 } && test -s conftest$ac_exeext &&
25086 $as_test_x conftest$ac_exeext; then
25087 eval "$as_ac_var=yes"
25089 echo "$as_me: failed program was:" >&5
25090 sed 's/^/| /' conftest.$ac_ext >&5
25092 eval "$as_ac_var=no"
25095 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25096 conftest$ac_exeext conftest.$ac_ext
25098 ac_res=`eval echo '${'$as_ac_var'}'`
25099 { echo "$as_me:$LINENO: result: $ac_res" >&5
25100 echo "${ECHO_T}$ac_res" >&6; }
25101 if test `eval echo '${'$as_ac_var'}'` = yes; then
25102 cat >>confdefs.h <<_ACEOF
25103 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25113 if test "x$ac_cv_func_regcomp" != "xyes"; then
25114 if test "$wxUSE_REGEX" = "sys" ; then
25115 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25116 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25117 { (exit 1); exit 1; }; }
25119 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25120 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25121 wxUSE_REGEX=builtin
25125 cat >>confdefs.h <<\_ACEOF
25126 #define WX_NO_REGEX_ADVANCED 1
25135 if test "$wxUSE_ZLIB" != "no" ; then
25136 cat >>confdefs.h <<\_ACEOF
25137 #define wxUSE_ZLIB 1
25141 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25142 if test "$USE_DARWIN" = 1; then
25143 system_zlib_h_ok="yes"
25145 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25146 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
25147 if test "${ac_cv_header_zlib_h+set}" = set; then
25148 echo $ECHO_N "(cached) $ECHO_C" >&6
25150 if test "$cross_compiling" = yes; then
25151 unset ac_cv_header_zlib_h
25154 cat >conftest.$ac_ext <<_ACEOF
25157 cat confdefs.h >>conftest.$ac_ext
25158 cat >>conftest.$ac_ext <<_ACEOF
25159 /* end confdefs.h. */
25166 FILE *f=fopen("conftestval", "w");
25169 ZLIB_VERSION[0] == '1' &&
25170 (ZLIB_VERSION[2] > '1' ||
25171 (ZLIB_VERSION[2] == '1' &&
25172 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25177 rm -f conftest$ac_exeext
25178 if { (ac_try="$ac_link"
25179 case "(($ac_try" in
25180 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25181 *) ac_try_echo
=$ac_try;;
25183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25184 (eval "$ac_link") 2>&5
25186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25187 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25188 { (case "(($ac_try" in
25189 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25190 *) ac_try_echo=$ac_try;;
25192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25193 (eval "$ac_try") 2>&5
25195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25196 (exit $ac_status); }; }; then
25197 ac_cv_header_zlib_h=`cat conftestval
`
25199 echo "$as_me: program exited with status $ac_status" >&5
25200 echo "$as_me: failed program was:" >&5
25201 sed 's/^/| /' conftest.$ac_ext >&5
25203 ( exit $ac_status )
25204 ac_cv_header_zlib_h=no
25206 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25212 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25213 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
25214 { echo "$as_me:$LINENO: checking for zlib.h" >&5
25215 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
25216 if test "${ac_cv_header_zlib_h+set}" = set; then
25217 echo $ECHO_N "(cached) $ECHO_C" >&6
25219 cat >conftest.$ac_ext <<_ACEOF
25222 cat confdefs.h >>conftest.$ac_ext
25223 cat >>conftest.$ac_ext <<_ACEOF
25224 /* end confdefs.h. */
25229 rm -f conftest.$ac_objext
25230 if { (ac_try="$ac_compile"
25231 case "(($ac_try" in
25232 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25233 *) ac_try_echo
=$ac_try;;
25235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25236 (eval "$ac_compile") 2>conftest.er1
25238 grep -v '^ *+' conftest.er1
>conftest.err
25240 cat conftest.err
>&5
25241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25242 (exit $ac_status); } && {
25243 test -z "$ac_c_werror_flag" ||
25244 test ! -s conftest.err
25245 } && test -s conftest.
$ac_objext; then
25246 ac_cv_header_zlib_h
=yes
25248 echo "$as_me: failed program was:" >&5
25249 sed 's/^/| /' conftest.
$ac_ext >&5
25251 ac_cv_header_zlib_h
=no
25254 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25256 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25257 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
25261 system_zlib_h_ok
=$ac_cv_header_zlib_h
25264 if test "$system_zlib_h_ok" = "yes"; then
25265 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
25266 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
25267 if test "${ac_cv_lib_z_deflate+set}" = set; then
25268 echo $ECHO_N "(cached) $ECHO_C" >&6
25270 ac_check_lib_save_LIBS
=$LIBS
25272 cat >conftest.
$ac_ext <<_ACEOF
25275 cat confdefs.h
>>conftest.
$ac_ext
25276 cat >>conftest.
$ac_ext <<_ACEOF
25277 /* end confdefs.h. */
25279 /* Override any GCC internal prototype to avoid an error.
25280 Use char because int might match the return type of a GCC
25281 builtin and then its argument prototype would still apply. */
25294 rm -f conftest.
$ac_objext conftest
$ac_exeext
25295 if { (ac_try
="$ac_link"
25296 case "(($ac_try" in
25297 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25298 *) ac_try_echo=$ac_try;;
25300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25301 (eval "$ac_link") 2>conftest.er1
25303 grep -v '^ *+' conftest.er1 >conftest.err
25305 cat conftest.err >&5
25306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25307 (exit $ac_status); } && {
25308 test -z "$ac_c_werror_flag" ||
25309 test ! -s conftest.err
25310 } && test -s conftest$ac_exeext &&
25311 $as_test_x conftest$ac_exeext; then
25312 ac_cv_lib_z_deflate=yes
25314 echo "$as_me: failed program was:" >&5
25315 sed 's/^/| /' conftest.$ac_ext >&5
25317 ac_cv_lib_z_deflate=no
25320 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25321 conftest$ac_exeext conftest.$ac_ext
25322 LIBS=$ac_check_lib_save_LIBS
25324 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
25325 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
25326 if test $ac_cv_lib_z_deflate = yes; then
25332 if test "x$ZLIB_LINK" = "x" ; then
25333 if test "$wxUSE_ZLIB" = "sys" ; then
25334 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
25335 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
25336 { (exit 1); exit 1; }; }
25338 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
25339 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
25350 if test "$wxUSE_LIBPNG" != "no" ; then
25351 cat >>confdefs.h <<\_ACEOF
25352 #define wxUSE_LIBPNG 1
25356 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
25357 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
25358 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
25362 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
25363 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
25364 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
25365 wxUSE_LIBPNG=builtin
25368 if test "$wxUSE_MGL" != 1 ; then
25369 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
25370 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
25371 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
25372 if test "${ac_cv_header_png_h+set}" = set; then
25373 echo $ECHO_N "(cached) $ECHO_C" >&6
25375 if test "$cross_compiling" = yes; then
25376 unset ac_cv_header_png_h
25379 cat >conftest.$ac_ext <<_ACEOF
25382 cat confdefs.h >>conftest.$ac_ext
25383 cat >>conftest.$ac_ext <<_ACEOF
25384 /* end confdefs.h. */
25391 FILE *f=fopen("conftestval", "w");
25394 PNG_LIBPNG_VER > 90 ? "yes" : "no");
25399 rm -f conftest$ac_exeext
25400 if { (ac_try="$ac_link"
25401 case "(($ac_try" in
25402 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25403 *) ac_try_echo
=$ac_try;;
25405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25406 (eval "$ac_link") 2>&5
25408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25409 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25410 { (case "(($ac_try" in
25411 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25412 *) ac_try_echo=$ac_try;;
25414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25415 (eval "$ac_try") 2>&5
25417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25418 (exit $ac_status); }; }; then
25419 ac_cv_header_png_h=`cat conftestval
`
25421 echo "$as_me: program exited with status $ac_status" >&5
25422 echo "$as_me: failed program was:" >&5
25423 sed 's/^/| /' conftest.$ac_ext >&5
25425 ( exit $ac_status )
25426 ac_cv_header_png_h=no
25428 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25434 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25435 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
25436 { echo "$as_me:$LINENO: checking for png.h" >&5
25437 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
25438 if test "${ac_cv_header_png_h+set}" = set; then
25439 echo $ECHO_N "(cached) $ECHO_C" >&6
25441 cat >conftest.$ac_ext <<_ACEOF
25444 cat confdefs.h >>conftest.$ac_ext
25445 cat >>conftest.$ac_ext <<_ACEOF
25446 /* end confdefs.h. */
25451 rm -f conftest.$ac_objext
25452 if { (ac_try="$ac_compile"
25453 case "(($ac_try" in
25454 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25455 *) ac_try_echo
=$ac_try;;
25457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25458 (eval "$ac_compile") 2>conftest.er1
25460 grep -v '^ *+' conftest.er1
>conftest.err
25462 cat conftest.err
>&5
25463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25464 (exit $ac_status); } && {
25465 test -z "$ac_c_werror_flag" ||
25466 test ! -s conftest.err
25467 } && test -s conftest.
$ac_objext; then
25468 ac_cv_header_png_h
=yes
25470 echo "$as_me: failed program was:" >&5
25471 sed 's/^/| /' conftest.
$ac_ext >&5
25473 ac_cv_header_png_h
=no
25476 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25478 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25479 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
25483 if test "$ac_cv_header_png_h" = "yes"; then
25484 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
25485 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
25486 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
25487 echo $ECHO_N "(cached) $ECHO_C" >&6
25489 ac_check_lib_save_LIBS
=$LIBS
25490 LIBS
="-lpng -lz -lm $LIBS"
25491 cat >conftest.
$ac_ext <<_ACEOF
25494 cat confdefs.h
>>conftest.
$ac_ext
25495 cat >>conftest.
$ac_ext <<_ACEOF
25496 /* end confdefs.h. */
25498 /* Override any GCC internal prototype to avoid an error.
25499 Use char because int might match the return type of a GCC
25500 builtin and then its argument prototype would still apply. */
25504 char png_check_sig ();
25508 return png_check_sig ();
25513 rm -f conftest.
$ac_objext conftest
$ac_exeext
25514 if { (ac_try
="$ac_link"
25515 case "(($ac_try" in
25516 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25517 *) ac_try_echo=$ac_try;;
25519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25520 (eval "$ac_link") 2>conftest.er1
25522 grep -v '^ *+' conftest.er1 >conftest.err
25524 cat conftest.err >&5
25525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25526 (exit $ac_status); } && {
25527 test -z "$ac_c_werror_flag" ||
25528 test ! -s conftest.err
25529 } && test -s conftest$ac_exeext &&
25530 $as_test_x conftest$ac_exeext; then
25531 ac_cv_lib_png_png_check_sig=yes
25533 echo "$as_me: failed program was:" >&5
25534 sed 's/^/| /' conftest.$ac_ext >&5
25536 ac_cv_lib_png_png_check_sig=no
25539 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25540 conftest$ac_exeext conftest.$ac_ext
25541 LIBS=$ac_check_lib_save_LIBS
25543 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
25544 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
25545 if test $ac_cv_lib_png_png_check_sig = yes; then
25546 PNG_LINK=" -lpng -lz"
25551 if test "x$PNG_LINK" = "x" ; then
25552 if test "$wxUSE_LIBPNG" = "sys" ; then
25553 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
25554 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
25555 { (exit 1); exit 1; }; }
25557 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
25558 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
25559 wxUSE_LIBPNG=builtin
25567 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
25572 if test "$wxUSE_LIBJPEG" != "no" ; then
25573 cat >>confdefs.h <<\_ACEOF
25574 #define wxUSE_LIBJPEG 1
25578 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
25579 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
25580 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
25584 if test "$wxUSE_MGL" != 1 ; then
25585 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
25586 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
25587 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
25588 if test "${ac_cv_header_jpeglib_h+set}" = set; then
25589 echo $ECHO_N "(cached) $ECHO_C" >&6
25591 cat >conftest.$ac_ext <<_ACEOF
25594 cat confdefs.h >>conftest.$ac_ext
25595 cat >>conftest.$ac_ext <<_ACEOF
25596 /* end confdefs.h. */
25598 #undef HAVE_STDLIB_H
25600 #include <jpeglib.h>
25611 rm -f conftest.$ac_objext
25612 if { (ac_try="$ac_compile"
25613 case "(($ac_try" in
25614 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25615 *) ac_try_echo
=$ac_try;;
25617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25618 (eval "$ac_compile") 2>conftest.er1
25620 grep -v '^ *+' conftest.er1
>conftest.err
25622 cat conftest.err
>&5
25623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25624 (exit $ac_status); } && {
25625 test -z "$ac_c_werror_flag" ||
25626 test ! -s conftest.err
25627 } && test -s conftest.
$ac_objext; then
25628 ac_cv_header_jpeglib_h
=yes
25630 echo "$as_me: failed program was:" >&5
25631 sed 's/^/| /' conftest.
$ac_ext >&5
25633 ac_cv_header_jpeglib_h
=no
25637 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25641 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
25642 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
25644 if test "$ac_cv_header_jpeglib_h" = "yes"; then
25645 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
25646 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
25647 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
25648 echo $ECHO_N "(cached) $ECHO_C" >&6
25650 ac_check_lib_save_LIBS
=$LIBS
25651 LIBS
="-ljpeg $LIBS"
25652 cat >conftest.
$ac_ext <<_ACEOF
25655 cat confdefs.h
>>conftest.
$ac_ext
25656 cat >>conftest.
$ac_ext <<_ACEOF
25657 /* end confdefs.h. */
25659 /* Override any GCC internal prototype to avoid an error.
25660 Use char because int might match the return type of a GCC
25661 builtin and then its argument prototype would still apply. */
25665 char jpeg_read_header ();
25669 return jpeg_read_header ();
25674 rm -f conftest.
$ac_objext conftest
$ac_exeext
25675 if { (ac_try
="$ac_link"
25676 case "(($ac_try" in
25677 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25678 *) ac_try_echo=$ac_try;;
25680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25681 (eval "$ac_link") 2>conftest.er1
25683 grep -v '^ *+' conftest.er1 >conftest.err
25685 cat conftest.err >&5
25686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25687 (exit $ac_status); } && {
25688 test -z "$ac_c_werror_flag" ||
25689 test ! -s conftest.err
25690 } && test -s conftest$ac_exeext &&
25691 $as_test_x conftest$ac_exeext; then
25692 ac_cv_lib_jpeg_jpeg_read_header=yes
25694 echo "$as_me: failed program was:" >&5
25695 sed 's/^/| /' conftest.$ac_ext >&5
25697 ac_cv_lib_jpeg_jpeg_read_header=no
25700 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25701 conftest$ac_exeext conftest.$ac_ext
25702 LIBS=$ac_check_lib_save_LIBS
25704 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
25705 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
25706 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
25707 JPEG_LINK=" -ljpeg"
25712 if test "x$JPEG_LINK" = "x" ; then
25713 if test "$wxUSE_LIBJPEG" = "sys" ; then
25714 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
25715 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
25716 { (exit 1); exit 1; }; }
25718 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
25719 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
25720 wxUSE_LIBJPEG=builtin
25725 if test "$wxUSE_MSW" = 1; then
25726 { echo "$as_me:$LINENO: checking for boolean" >&5
25727 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
25728 if test "${ac_cv_type_boolean+set}" = set; then
25729 echo $ECHO_N "(cached) $ECHO_C" >&6
25731 cat >conftest.$ac_ext <<_ACEOF
25734 cat confdefs.h >>conftest.$ac_ext
25735 cat >>conftest.$ac_ext <<_ACEOF
25736 /* end confdefs.h. */
25737 #include <windows.h>
25739 typedef boolean ac__type_new_;
25743 if ((ac__type_new_ *) 0)
25745 if (sizeof (ac__type_new_))
25751 rm -f conftest.$ac_objext
25752 if { (ac_try="$ac_compile"
25753 case "(($ac_try" in
25754 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25755 *) ac_try_echo
=$ac_try;;
25757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25758 (eval "$ac_compile") 2>conftest.er1
25760 grep -v '^ *+' conftest.er1
>conftest.err
25762 cat conftest.err
>&5
25763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25764 (exit $ac_status); } && {
25765 test -z "$ac_c_werror_flag" ||
25766 test ! -s conftest.err
25767 } && test -s conftest.
$ac_objext; then
25768 ac_cv_type_boolean
=yes
25770 echo "$as_me: failed program was:" >&5
25771 sed 's/^/| /' conftest.
$ac_ext >&5
25773 ac_cv_type_boolean
=no
25776 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25778 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
25779 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
25780 if test $ac_cv_type_boolean = yes; then
25782 cat >>confdefs.h
<<_ACEOF
25783 #define HAVE_BOOLEAN 1
25787 { echo "$as_me:$LINENO: checking for boolean" >&5
25788 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
25789 if test "${ac_cv_type_boolean+set}" = set; then
25790 echo $ECHO_N "(cached) $ECHO_C" >&6
25792 cat >conftest.
$ac_ext <<_ACEOF
25795 cat confdefs.h
>>conftest.
$ac_ext
25796 cat >>conftest.
$ac_ext <<_ACEOF
25797 /* end confdefs.h. */
25799 #undef HAVE_BOOLEAN
25801 #include <jpeglib.h>
25804 typedef boolean ac__type_new_;
25808 if ((ac__type_new_ *) 0)
25810 if (sizeof (ac__type_new_))
25816 rm -f conftest.
$ac_objext
25817 if { (ac_try
="$ac_compile"
25818 case "(($ac_try" in
25819 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25820 *) ac_try_echo=$ac_try;;
25822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25823 (eval "$ac_compile") 2>conftest.er1
25825 grep -v '^ *+' conftest.er1 >conftest.err
25827 cat conftest.err >&5
25828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25829 (exit $ac_status); } && {
25830 test -z "$ac_c_werror_flag" ||
25831 test ! -s conftest.err
25832 } && test -s conftest.$ac_objext; then
25833 ac_cv_type_boolean=yes
25835 echo "$as_me: failed program was:" >&5
25836 sed 's/^/| /' conftest.$ac_ext >&5
25838 ac_cv_type_boolean=no
25841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25843 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
25844 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
25846 # The cast to long int works around a bug in the HP C Compiler
25847 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25848 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
25849 # This bug is HP SR number 8606223364.
25850 { echo "$as_me:$LINENO: checking size of boolean" >&5
25851 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
25852 if test "${ac_cv_sizeof_boolean+set}" = set; then
25853 echo $ECHO_N "(cached) $ECHO_C" >&6
25855 if test "$cross_compiling" = yes; then
25856 # Depending upon the size, compute the lo and hi bounds.
25857 cat >conftest.$ac_ext <<_ACEOF
25860 cat confdefs.h >>conftest.$ac_ext
25861 cat >>conftest.$ac_ext <<_ACEOF
25862 /* end confdefs.h. */
25864 #undef HAVE_BOOLEAN
25866 #include <jpeglib.h>
25869 typedef boolean ac__type_sizeof_;
25873 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
25880 rm -f conftest.$ac_objext
25881 if { (ac_try="$ac_compile"
25882 case "(($ac_try" in
25883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25884 *) ac_try_echo=$ac_try;;
25886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25887 (eval "$ac_compile") 2>conftest.er1
25889 grep -v '^
*+' conftest.er1 >conftest.err
25891 cat conftest.err >&5
25892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25893 (exit $ac_status); } && {
25894 test -z "$ac_c_werror_flag" ||
25895 test ! -s conftest.err
25896 } && test -s conftest.$ac_objext; then
25899 cat >conftest.$ac_ext <<_ACEOF
25902 cat confdefs.h >>conftest.$ac_ext
25903 cat >>conftest.$ac_ext <<_ACEOF
25904 /* end confdefs.h. */
25906 #undef HAVE_BOOLEAN
25908 #include <jpeglib.h>
25911 typedef boolean ac__type_sizeof_;
25915 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25922 rm -f conftest.$ac_objext
25923 if { (ac_try="$ac_compile"
25924 case "(($ac_try" in
25925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25926 *) ac_try_echo=$ac_try;;
25928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25929 (eval "$ac_compile") 2>conftest.er1
25931 grep -v '^
*+' conftest.er1 >conftest.err
25933 cat conftest.err >&5
25934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25935 (exit $ac_status); } && {
25936 test -z "$ac_c_werror_flag" ||
25937 test ! -s conftest.err
25938 } && test -s conftest.$ac_objext; then
25939 ac_hi=$ac_mid; break
25941 echo "$as_me: failed program was:" >&5
25942 sed 's
/^
/| /' conftest.$ac_ext >&5
25944 ac_lo=`expr $ac_mid + 1`
25945 if test $ac_lo -le $ac_mid; then
25949 ac_mid=`expr 2 '*' $ac_mid + 1`
25952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25955 echo "$as_me: failed program was:" >&5
25956 sed 's
/^
/| /' conftest.$ac_ext >&5
25958 cat >conftest.$ac_ext <<_ACEOF
25961 cat confdefs.h >>conftest.$ac_ext
25962 cat >>conftest.$ac_ext <<_ACEOF
25963 /* end confdefs.h. */
25965 #undef HAVE_BOOLEAN
25967 #include <jpeglib.h>
25970 typedef boolean ac__type_sizeof_;
25974 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
25981 rm -f conftest.$ac_objext
25982 if { (ac_try="$ac_compile"
25983 case "(($ac_try" in
25984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25985 *) ac_try_echo=$ac_try;;
25987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25988 (eval "$ac_compile") 2>conftest.er1
25990 grep -v '^
*+' conftest.er1 >conftest.err
25992 cat conftest.err >&5
25993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25994 (exit $ac_status); } && {
25995 test -z "$ac_c_werror_flag" ||
25996 test ! -s conftest.err
25997 } && test -s conftest.$ac_objext; then
26000 cat >conftest.$ac_ext <<_ACEOF
26003 cat confdefs.h >>conftest.$ac_ext
26004 cat >>conftest.$ac_ext <<_ACEOF
26005 /* end confdefs.h. */
26007 #undef HAVE_BOOLEAN
26009 #include <jpeglib.h>
26012 typedef boolean ac__type_sizeof_;
26016 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
26023 rm -f conftest.$ac_objext
26024 if { (ac_try="$ac_compile"
26025 case "(($ac_try" in
26026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26027 *) ac_try_echo=$ac_try;;
26029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26030 (eval "$ac_compile") 2>conftest.er1
26032 grep -v '^
*+' conftest.er1 >conftest.err
26034 cat conftest.err >&5
26035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26036 (exit $ac_status); } && {
26037 test -z "$ac_c_werror_flag" ||
26038 test ! -s conftest.err
26039 } && test -s conftest.$ac_objext; then
26040 ac_lo=$ac_mid; break
26042 echo "$as_me: failed program was:" >&5
26043 sed 's
/^
/| /' conftest.$ac_ext >&5
26045 ac_hi=`expr '(' $ac_mid ')' - 1`
26046 if test $ac_mid -le $ac_hi; then
26050 ac_mid=`expr 2 '*' $ac_mid`
26053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26056 echo "$as_me: failed program was:" >&5
26057 sed 's
/^
/| /' conftest.$ac_ext >&5
26062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26066 # Binary search between lo and hi bounds.
26067 while test "x$ac_lo" != "x$ac_hi"; do
26068 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26069 cat >conftest.$ac_ext <<_ACEOF
26072 cat confdefs.h >>conftest.$ac_ext
26073 cat >>conftest.$ac_ext <<_ACEOF
26074 /* end confdefs.h. */
26076 #undef HAVE_BOOLEAN
26078 #include <jpeglib.h>
26081 typedef boolean ac__type_sizeof_;
26085 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26092 rm -f conftest.$ac_objext
26093 if { (ac_try="$ac_compile"
26094 case "(($ac_try" in
26095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26096 *) ac_try_echo=$ac_try;;
26098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26099 (eval "$ac_compile") 2>conftest.er1
26101 grep -v '^
*+' conftest.er1 >conftest.err
26103 cat conftest.err >&5
26104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26105 (exit $ac_status); } && {
26106 test -z "$ac_c_werror_flag" ||
26107 test ! -s conftest.err
26108 } && test -s conftest.$ac_objext; then
26111 echo "$as_me: failed program was:" >&5
26112 sed 's
/^
/| /' conftest.$ac_ext >&5
26114 ac_lo=`expr '(' $ac_mid ')' + 1`
26117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26120 ?*) ac_cv_sizeof_boolean=$ac_lo;;
26121 '') if test "$ac_cv_type_boolean" = yes; then
26122 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
26123 See \`config.log' for more details.
" >&5
26124 echo "$as_me: error
: cannot compute sizeof
(boolean
)
26125 See \
`config.log' for more details." >&2;}
26126 { (exit 77); exit 77; }; }
26128 ac_cv_sizeof_boolean=0
26132 cat >conftest.$ac_ext <<_ACEOF
26135 cat confdefs.h >>conftest.$ac_ext
26136 cat >>conftest.$ac_ext <<_ACEOF
26137 /* end confdefs.h. */
26139 #undef HAVE_BOOLEAN
26141 #include <jpeglib.h>
26144 typedef boolean ac__type_sizeof_;
26145 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
26146 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
26148 #include <stdlib.h>
26153 FILE *f = fopen ("conftest.val", "w");
26156 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
26158 long int i = longval ();
26159 if (i != ((long int) (sizeof (ac__type_sizeof_))))
26161 fprintf (f, "%ld\n", i);
26165 unsigned long int i = ulongval ();
26166 if (i != ((long int) (sizeof (ac__type_sizeof_))))
26168 fprintf (f, "%lu\n", i);
26170 return ferror (f) || fclose (f) != 0;
26176 rm -f conftest$ac_exeext
26177 if { (ac_try="$ac_link"
26178 case "(($ac_try" in
26179 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26180 *) ac_try_echo
=$ac_try;;
26182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26183 (eval "$ac_link") 2>&5
26185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26186 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26187 { (case "(($ac_try" in
26188 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26189 *) ac_try_echo=$ac_try;;
26191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26192 (eval "$ac_try") 2>&5
26194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26195 (exit $ac_status); }; }; then
26196 ac_cv_sizeof_boolean=`cat conftest.val
`
26198 echo "$as_me: program exited with status $ac_status" >&5
26199 echo "$as_me: failed program was:" >&5
26200 sed 's/^/| /' conftest.$ac_ext >&5
26202 ( exit $ac_status )
26203 if test "$ac_cv_type_boolean" = yes; then
26204 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
26205 See \`config.log
' for more details." >&5
26206 echo "$as_me: error: cannot compute sizeof (boolean)
26207 See \`config.log' for more details.
" >&2;}
26208 { (exit 77); exit 77; }; }
26210 ac_cv_sizeof_boolean=0
26213 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26217 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_boolean" >&5
26218 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
26222 cat >>confdefs.h <<_ACEOF
26223 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
26227 cat >>confdefs.h <<_ACEOF
26228 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
26242 TIFF_PREREQ_LINKS=-lm
26243 if test "$wxUSE_LIBTIFF" != "no
" ; then
26244 cat >>confdefs.h <<\_ACEOF
26245 #define wxUSE_LIBTIFF 1
26249 if test "$wxUSE_LIBTIFF" = "sys
" -o "$wxUSE_LIBTIFF" = "yes" ; then
26250 if test "$wxUSE_LIBJPEG" = "sys
"; then
26251 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
26253 if test "$wxUSE_ZLIB" = "sys
"; then
26254 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
26256 { echo "$as_me:$LINENO: checking
for tiffio.h
" >&5
26257 echo $ECHO_N "checking
for tiffio.h...
$ECHO_C" >&6; }
26258 if test "${ac_cv_header_tiffio_h+set}" = set; then
26259 echo $ECHO_N "(cached
) $ECHO_C" >&6
26261 cat >conftest.$ac_ext <<_ACEOF
26264 cat confdefs.h >>conftest.$ac_ext
26265 cat >>conftest.$ac_ext <<_ACEOF
26266 /* end confdefs.h. */
26270 #include <tiffio.h>
26272 rm -f conftest.$ac_objext
26273 if { (ac_try="$ac_compile"
26274 case "(($ac_try" in
26275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26276 *) ac_try_echo=$ac_try;;
26278 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26279 (eval "$ac_compile") 2>conftest.er1
26281 grep -v '^ *+' conftest.er1 >conftest.err
26283 cat conftest.err >&5
26284 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26285 (exit $ac_status); } && {
26286 test -z "$ac_c_werror_flag" ||
26287 test ! -s conftest.err
26288 } && test -s conftest.$ac_objext; then
26289 ac_cv_header_tiffio_h=yes
26291 echo "$as_me: failed program was
:" >&5
26292 sed 's/^/| /' conftest.$ac_ext >&5
26294 ac_cv_header_tiffio_h=no
26297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26299 { echo "$as_me:$LINENO: result
: $ac_cv_header_tiffio_h" >&5
26300 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
26301 if test $ac_cv_header_tiffio_h = yes; then
26303 { echo "$as_me:$LINENO: checking
for TIFFError
in -ltiff" >&5
26304 echo $ECHO_N "checking
for TIFFError
in -ltiff...
$ECHO_C" >&6; }
26305 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
26306 echo $ECHO_N "(cached
) $ECHO_C" >&6
26308 ac_check_lib_save_LIBS=$LIBS
26309 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
26310 cat >conftest.$ac_ext <<_ACEOF
26313 cat confdefs.h >>conftest.$ac_ext
26314 cat >>conftest.$ac_ext <<_ACEOF
26315 /* end confdefs.h. */
26317 /* Override any GCC internal prototype to avoid an error.
26318 Use char because int might match the return type of a GCC
26319 builtin and then its argument prototype would still apply. */
26327 return TIFFError ();
26332 rm -f conftest.$ac_objext conftest$ac_exeext
26333 if { (ac_try="$ac_link"
26334 case "(($ac_try" in
26335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26336 *) ac_try_echo=$ac_try;;
26338 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26339 (eval "$ac_link") 2>conftest.er1
26341 grep -v '^ *+' conftest.er1 >conftest.err
26343 cat conftest.err >&5
26344 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26345 (exit $ac_status); } && {
26346 test -z "$ac_c_werror_flag" ||
26347 test ! -s conftest.err
26348 } && test -s conftest$ac_exeext &&
26349 $as_test_x conftest$ac_exeext; then
26350 ac_cv_lib_tiff_TIFFError=yes
26352 echo "$as_me: failed program was
:" >&5
26353 sed 's/^/| /' conftest.$ac_ext >&5
26355 ac_cv_lib_tiff_TIFFError=no
26358 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26359 conftest$ac_exeext conftest.$ac_ext
26360 LIBS=$ac_check_lib_save_LIBS
26362 { echo "$as_me:$LINENO: result
: $ac_cv_lib_tiff_TIFFError" >&5
26363 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
26364 if test $ac_cv_lib_tiff_TIFFError = yes; then
26365 TIFF_LINK=" -ltiff"
26373 if test "x
$TIFF_LINK" = "x
" ; then
26374 if test "$wxUSE_LIBTIFF" = "sys
" ; then
26375 { { echo "$as_me:$LINENO: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&5
26376 echo "$as_me: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&2;}
26377 { (exit 1); exit 1; }; }
26379 { echo "$as_me:$LINENO: WARNING
: system tiff library not found
, will use built
-in instead
" >&5
26380 echo "$as_me: WARNING
: system tiff library not found
, will use built
-in instead
" >&2;}
26381 wxUSE_LIBTIFF=builtin
26390 if test "$wxUSE_WCHAR_T" != "yes"; then
26391 if test "$wxUSE_EXPAT" != "no
"; then
26392 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&5
26393 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&2;}
26396 if test "$wxUSE_XML" != "no
"; then
26397 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&5
26398 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&2;}
26403 if test "$wxUSE_EXPAT" != "no
"; then
26405 cat >>confdefs.h <<\_ACEOF
26406 #define wxUSE_EXPAT 1
26409 cat >>confdefs.h <<\_ACEOF
26410 #define wxUSE_XML 1
26414 if test "$wxUSE_EXPAT" = "sys
" -o "$wxUSE_EXPAT" = "yes" ; then
26415 { echo "$as_me:$LINENO: checking
for expat.h
" >&5
26416 echo $ECHO_N "checking
for expat.h...
$ECHO_C" >&6; }
26417 if test "${ac_cv_header_expat_h+set}" = set; then
26418 echo $ECHO_N "(cached
) $ECHO_C" >&6
26420 cat >conftest.$ac_ext <<_ACEOF
26423 cat confdefs.h >>conftest.$ac_ext
26424 cat >>conftest.$ac_ext <<_ACEOF
26425 /* end confdefs.h. */
26430 rm -f conftest.$ac_objext
26431 if { (ac_try="$ac_compile"
26432 case "(($ac_try" in
26433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26434 *) ac_try_echo=$ac_try;;
26436 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26437 (eval "$ac_compile") 2>conftest.er1
26439 grep -v '^ *+' conftest.er1 >conftest.err
26441 cat conftest.err >&5
26442 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26443 (exit $ac_status); } && {
26444 test -z "$ac_c_werror_flag" ||
26445 test ! -s conftest.err
26446 } && test -s conftest.$ac_objext; then
26447 ac_cv_header_expat_h=yes
26449 echo "$as_me: failed program was
:" >&5
26450 sed 's/^/| /' conftest.$ac_ext >&5
26452 ac_cv_header_expat_h=no
26455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26457 { echo "$as_me:$LINENO: result
: $ac_cv_header_expat_h" >&5
26458 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
26459 if test $ac_cv_header_expat_h = yes; then
26464 if test "x
$found_expat_h" = "x1
"; then
26465 { echo "$as_me:$LINENO: checking
if expat.h is valid C
++ header
" >&5
26466 echo $ECHO_N "checking
if expat.h is valid C
++ header...
$ECHO_C" >&6; }
26467 if test "${wx_cv_expat_is_not_broken+set}" = set; then
26468 echo $ECHO_N "(cached
) $ECHO_C" >&6
26472 ac_cpp='$CXXCPP $CPPFLAGS'
26473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26477 cat >conftest.$ac_ext <<_ACEOF
26480 cat confdefs.h >>conftest.$ac_ext
26481 cat >>conftest.$ac_ext <<_ACEOF
26482 /* end confdefs.h. */
26492 rm -f conftest.$ac_objext
26493 if { (ac_try="$ac_compile"
26494 case "(($ac_try" in
26495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26496 *) ac_try_echo=$ac_try;;
26498 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26499 (eval "$ac_compile") 2>conftest.er1
26501 grep -v '^ *+' conftest.er1 >conftest.err
26503 cat conftest.err >&5
26504 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26505 (exit $ac_status); } && {
26506 test -z "$ac_cxx_werror_flag" ||
26507 test ! -s conftest.err
26508 } && test -s conftest.$ac_objext; then
26509 wx_cv_expat_is_not_broken=yes
26511 echo "$as_me: failed program was
:" >&5
26512 sed 's/^/| /' conftest.$ac_ext >&5
26514 wx_cv_expat_is_not_broken=no
26518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26520 ac_cpp='$CPP $CPPFLAGS'
26521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26528 { echo "$as_me:$LINENO: result
: $wx_cv_expat_is_not_broken" >&5
26529 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
26530 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
26531 { echo "$as_me:$LINENO: checking
for XML_ParserCreate
in -lexpat" >&5
26532 echo $ECHO_N "checking
for XML_ParserCreate
in -lexpat...
$ECHO_C" >&6; }
26533 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
26534 echo $ECHO_N "(cached
) $ECHO_C" >&6
26536 ac_check_lib_save_LIBS=$LIBS
26537 LIBS="-lexpat $LIBS"
26538 cat >conftest.$ac_ext <<_ACEOF
26541 cat confdefs.h >>conftest.$ac_ext
26542 cat >>conftest.$ac_ext <<_ACEOF
26543 /* end confdefs.h. */
26545 /* Override any GCC internal prototype to avoid an error.
26546 Use char because int might match the return type of a GCC
26547 builtin and then its argument prototype would still apply. */
26551 char XML_ParserCreate ();
26555 return XML_ParserCreate ();
26560 rm -f conftest.$ac_objext conftest$ac_exeext
26561 if { (ac_try="$ac_link"
26562 case "(($ac_try" in
26563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26564 *) ac_try_echo=$ac_try;;
26566 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26567 (eval "$ac_link") 2>conftest.er1
26569 grep -v '^ *+' conftest.er1 >conftest.err
26571 cat conftest.err >&5
26572 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26573 (exit $ac_status); } && {
26574 test -z "$ac_c_werror_flag" ||
26575 test ! -s conftest.err
26576 } && test -s conftest$ac_exeext &&
26577 $as_test_x conftest$ac_exeext; then
26578 ac_cv_lib_expat_XML_ParserCreate=yes
26580 echo "$as_me: failed program was
:" >&5
26581 sed 's/^/| /' conftest.$ac_ext >&5
26583 ac_cv_lib_expat_XML_ParserCreate=no
26586 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26587 conftest$ac_exeext conftest.$ac_ext
26588 LIBS=$ac_check_lib_save_LIBS
26590 { echo "$as_me:$LINENO: result
: $ac_cv_lib_expat_XML_ParserCreate" >&5
26591 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
26592 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
26593 EXPAT_LINK=" -lexpat"
26598 if test "x
$EXPAT_LINK" = "x
" ; then
26599 if test "$wxUSE_EXPAT" = "sys
" ; then
26600 { { echo "$as_me:$LINENO: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&5
26601 echo "$as_me: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&2;}
26602 { (exit 1); exit 1; }; }
26604 { echo "$as_me:$LINENO: WARNING
: system expat library not found
, will use built
-in instead
" >&5
26605 echo "$as_me: WARNING
: system expat library not found
, will use built
-in instead
" >&2;}
26606 wxUSE_EXPAT=builtin
26612 if test "$wxUSE_EXPAT" = "builtin" ; then
26613 subdirs="$subdirs src
/expat
"
26620 if test "$wxUSE_LIBMSPACK" != "no
"; then
26621 { echo "$as_me:$LINENO: checking
for mspack.h
" >&5
26622 echo $ECHO_N "checking
for mspack.h...
$ECHO_C" >&6; }
26623 if test "${ac_cv_header_mspack_h+set}" = set; then
26624 echo $ECHO_N "(cached
) $ECHO_C" >&6
26626 cat >conftest.$ac_ext <<_ACEOF
26629 cat confdefs.h >>conftest.$ac_ext
26630 cat >>conftest.$ac_ext <<_ACEOF
26631 /* end confdefs.h. */
26634 #include <mspack.h>
26636 rm -f conftest.$ac_objext
26637 if { (ac_try="$ac_compile"
26638 case "(($ac_try" in
26639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26640 *) ac_try_echo=$ac_try;;
26642 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26643 (eval "$ac_compile") 2>conftest.er1
26645 grep -v '^ *+' conftest.er1 >conftest.err
26647 cat conftest.err >&5
26648 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26649 (exit $ac_status); } && {
26650 test -z "$ac_c_werror_flag" ||
26651 test ! -s conftest.err
26652 } && test -s conftest.$ac_objext; then
26653 ac_cv_header_mspack_h=yes
26655 echo "$as_me: failed program was
:" >&5
26656 sed 's/^/| /' conftest.$ac_ext >&5
26658 ac_cv_header_mspack_h=no
26661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26663 { echo "$as_me:$LINENO: result
: $ac_cv_header_mspack_h" >&5
26664 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
26665 if test $ac_cv_header_mspack_h = yes; then
26670 if test "x
$found_mspack_h" = "x1
"; then
26671 { echo "$as_me:$LINENO: checking
for mspack_create_chm_decompressor
in -lmspack" >&5
26672 echo $ECHO_N "checking
for mspack_create_chm_decompressor
in -lmspack...
$ECHO_C" >&6; }
26673 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
26674 echo $ECHO_N "(cached
) $ECHO_C" >&6
26676 ac_check_lib_save_LIBS=$LIBS
26677 LIBS="-lmspack $LIBS"
26678 cat >conftest.$ac_ext <<_ACEOF
26681 cat confdefs.h >>conftest.$ac_ext
26682 cat >>conftest.$ac_ext <<_ACEOF
26683 /* end confdefs.h. */
26685 /* Override any GCC internal prototype to avoid an error.
26686 Use char because int might match the return type of a GCC
26687 builtin and then its argument prototype would still apply. */
26691 char mspack_create_chm_decompressor ();
26695 return mspack_create_chm_decompressor ();
26700 rm -f conftest.$ac_objext conftest$ac_exeext
26701 if { (ac_try="$ac_link"
26702 case "(($ac_try" in
26703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26704 *) ac_try_echo=$ac_try;;
26706 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26707 (eval "$ac_link") 2>conftest.er1
26709 grep -v '^ *+' conftest.er1 >conftest.err
26711 cat conftest.err >&5
26712 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26713 (exit $ac_status); } && {
26714 test -z "$ac_c_werror_flag" ||
26715 test ! -s conftest.err
26716 } && test -s conftest$ac_exeext &&
26717 $as_test_x conftest$ac_exeext; then
26718 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
26720 echo "$as_me: failed program was
:" >&5
26721 sed 's/^/| /' conftest.$ac_ext >&5
26723 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
26726 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26727 conftest$ac_exeext conftest.$ac_ext
26728 LIBS=$ac_check_lib_save_LIBS
26730 { echo "$as_me:$LINENO: result
: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
26731 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
26732 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
26733 MSPACK_LINK=" -lmspack"
26737 if test "x
$MSPACK_LINK" = "x
" ; then
26742 if test "$wxUSE_LIBMSPACK" != "no
"; then
26743 cat >>confdefs.h <<\_ACEOF
26744 #define wxUSE_LIBMSPACK 1
26758 if test "$USE_WIN32" = 1 ; then
26759 { echo "$as_me:$LINENO: checking
for w32api.h
" >&5
26760 echo $ECHO_N "checking
for w32api.h...
$ECHO_C" >&6; }
26761 if test "${ac_cv_header_w32api_h+set}" = set; then
26762 echo $ECHO_N "(cached
) $ECHO_C" >&6
26764 cat >conftest.$ac_ext <<_ACEOF
26767 cat confdefs.h >>conftest.$ac_ext
26768 cat >>conftest.$ac_ext <<_ACEOF
26769 /* end confdefs.h. */
26772 #include <w32api.h>
26774 rm -f conftest.$ac_objext
26775 if { (ac_try="$ac_compile"
26776 case "(($ac_try" in
26777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26778 *) ac_try_echo=$ac_try;;
26780 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26781 (eval "$ac_compile") 2>conftest.er1
26783 grep -v '^ *+' conftest.er1 >conftest.err
26785 cat conftest.err >&5
26786 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26787 (exit $ac_status); } && {
26788 test -z "$ac_c_werror_flag" ||
26789 test ! -s conftest.err
26790 } && test -s conftest.$ac_objext; then
26791 ac_cv_header_w32api_h=yes
26793 echo "$as_me: failed program was
:" >&5
26794 sed 's/^/| /' conftest.$ac_ext >&5
26796 ac_cv_header_w32api_h=no
26799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26801 { echo "$as_me:$LINENO: result
: $ac_cv_header_w32api_h" >&5
26802 echo "${ECHO_T}$ac_cv_header_w32api_h" >&6; }
26805 { echo "$as_me:$LINENO: checking
for windows.h
" >&5
26806 echo $ECHO_N "checking
for windows.h...
$ECHO_C" >&6; }
26807 if test "${ac_cv_header_windows_h+set}" = set; then
26808 echo $ECHO_N "(cached
) $ECHO_C" >&6
26810 cat >conftest.$ac_ext <<_ACEOF
26813 cat confdefs.h >>conftest.$ac_ext
26814 cat >>conftest.$ac_ext <<_ACEOF
26815 /* end confdefs.h. */
26818 #include <windows.h>
26820 rm -f conftest.$ac_objext
26821 if { (ac_try="$ac_compile"
26822 case "(($ac_try" in
26823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26824 *) ac_try_echo=$ac_try;;
26826 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26827 (eval "$ac_compile") 2>conftest.er1
26829 grep -v '^ *+' conftest.er1 >conftest.err
26831 cat conftest.err >&5
26832 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26833 (exit $ac_status); } && {
26834 test -z "$ac_c_werror_flag" ||
26835 test ! -s conftest.err
26836 } && test -s conftest.$ac_objext; then
26837 ac_cv_header_windows_h=yes
26839 echo "$as_me: failed program was
:" >&5
26840 sed 's/^/| /' conftest.$ac_ext >&5
26842 ac_cv_header_windows_h=no
26845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26847 { echo "$as_me:$LINENO: result
: $ac_cv_header_windows_h" >&5
26848 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
26849 if test $ac_cv_header_windows_h = yes; then
26853 { { echo "$as_me:$LINENO: error
: please
set CFLAGS to contain the location of windows.h
" >&5
26854 echo "$as_me: error
: please
set CFLAGS to contain the location of windows.h
" >&2;}
26855 { (exit 1); exit 1; }; }
26861 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
26863 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
26864 LIBS="$LIBS -loleacc"
26869 LIBS="$LIBS -lkernel32 -luser32"
26872 if test "$wxUSE_ODBC" = "sys
" ; then
26875 if test "$wxUSE_ODBC" = "yes" ; then
26876 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
26877 cat >>confdefs.h <<\_ACEOF
26878 #define wxUSE_ODBC 1
26883 RESFLAGS="--include-dir \
$(top_srcdir)/include
--include-dir \
$(top_srcdir)/\
$(program_dir) --define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
26884 RESPROGRAMOBJ="\
$(PROGRAM)_resources.o
"
26886 WXCONFIG_RESFLAGS="--define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
26888 WIN32INSTALL=win32install
26890 { echo "$as_me:$LINENO: checking
for pbt.h
" >&5
26891 echo $ECHO_N "checking
for pbt.h...
$ECHO_C" >&6; }
26892 if test "${ac_cv_header_pbt_h+set}" = set; then
26893 echo $ECHO_N "(cached
) $ECHO_C" >&6
26895 cat >conftest.$ac_ext <<_ACEOF
26898 cat confdefs.h >>conftest.$ac_ext
26899 cat >>conftest.$ac_ext <<_ACEOF
26900 /* end confdefs.h. */
26905 rm -f conftest.$ac_objext
26906 if { (ac_try="$ac_compile"
26907 case "(($ac_try" in
26908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26909 *) ac_try_echo=$ac_try;;
26911 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26912 (eval "$ac_compile") 2>conftest.er1
26914 grep -v '^ *+' conftest.er1 >conftest.err
26916 cat conftest.err >&5
26917 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26918 (exit $ac_status); } && {
26919 test -z "$ac_c_werror_flag" ||
26920 test ! -s conftest.err
26921 } && test -s conftest.$ac_objext; then
26922 ac_cv_header_pbt_h=yes
26924 echo "$as_me: failed program was
:" >&5
26925 sed 's/^/| /' conftest.$ac_ext >&5
26927 ac_cv_header_pbt_h=no
26930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26932 { echo "$as_me:$LINENO: result
: $ac_cv_header_pbt_h" >&5
26933 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
26934 if test $ac_cv_header_pbt_h = yes; then
26937 cat >>confdefs.h <<\_ACEOF
26938 #define NEED_PBT_H 1
26946 if test "$wxUSE_GUI" = "yes"; then
26956 if test "$wxUSE_COCOA" = 1 ; then
26957 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
26958 { echo "$as_me:$LINENO: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&5
26959 echo "$as_me: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&2;}
26960 wxUSE_PRINTING_ARCHITECTURE=no
26962 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
26963 { echo "$as_me:$LINENO: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&5
26964 echo "$as_me: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&2;}
26965 wxUSE_DRAG_AND_DROP=no
26967 if test "$wxUSE_DRAGIMAGE" = "yes"; then
26968 { echo "$as_me:$LINENO: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&5
26969 echo "$as_me: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&2;}
26974 if test "$wxUSE_MSW" = 1 ; then
26980 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows
-mwindows"
26984 if test "$wxUSE_GTK" = 1; then
26985 { echo "$as_me:$LINENO: checking
for GTK
+ version
" >&5
26986 echo $ECHO_N "checking
for GTK
+ version...
$ECHO_C" >&6; }
26988 gtk_version_cached=1
26989 if test "${wx_cv_lib_gtk+set}" = set; then
26990 echo $ECHO_N "(cached
) $ECHO_C" >&6
26993 gtk_version_cached=0
26994 { echo "$as_me:$LINENO: result
: " >&5
26995 echo "${ECHO_T}" >&6; }
26998 if test "$wxUSE_THREADS" = "yes"; then
26999 GTK_MODULES=gthread
27003 if test "x
$wxGTK_VERSION" != "x1
"
27007 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27012 # Check whether --enable-gtktest was given.
27013 if test "${enable_gtktest+set}" = set; then
27014 enableval=$enable_gtktest;
27020 pkg_config_args=gtk+-2.0
27021 for module in . $GTK_MODULES
27025 pkg_config_args="$pkg_config_args gthread
-2.0
"
27032 # Extract the first word of "pkg
-config", so it can be a program name with args.
27033 set dummy pkg-config; ac_word=$2
27034 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
27035 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
27036 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27037 echo $ECHO_N "(cached
) $ECHO_C" >&6
27039 case $PKG_CONFIG in
27041 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27045 for as_dir in $PATH
27048 test -z "$as_dir" && as_dir=.
27049 for ac_exec_ext in '' $ac_executable_extensions; do
27050 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27051 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27052 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
27059 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no
"
27063 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27064 if test -n "$PKG_CONFIG"; then
27065 { echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
27066 echo "${ECHO_T}$PKG_CONFIG" >&6; }
27068 { echo "$as_me:$LINENO: result
: no
" >&5
27069 echo "${ECHO_T}no
" >&6; }
27074 if test x$PKG_CONFIG != xno ; then
27075 if pkg-config --atleast-pkgconfig-version 0.7 ; then
27078 echo "*** pkg
-config too old
; version
0.7 or better required.
"
27086 min_gtk_version=2.0.0
27087 { echo "$as_me:$LINENO: checking
for GTK
+ - version
>= $min_gtk_version" >&5
27088 echo $ECHO_N "checking
for GTK
+ - version
>= $min_gtk_version...
$ECHO_C" >&6; }
27090 if test x$PKG_CONFIG != xno ; then
27091 ## don't try to run the test against uninstalled libtool libs
27092 if $PKG_CONFIG --uninstalled $pkg_config_args; then
27093 echo "Will use uninstalled version of GTK
+ found
in PKG_CONFIG_PATH
"
27097 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
27104 if test x"$no_gtk" = x ; then
27105 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
27106 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
27107 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27108 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27109 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27110 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27111 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27112 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27113 if test "x
$enable_gtktest" = "xyes
" ; then
27114 ac_save_CFLAGS="$CFLAGS"
27115 ac_save_LIBS="$LIBS"
27116 CFLAGS="$CFLAGS $GTK_CFLAGS"
27117 LIBS="$GTK_LIBS $LIBS"
27119 if test "$cross_compiling" = yes; then
27120 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
27122 cat >conftest.$ac_ext <<_ACEOF
27125 cat confdefs.h >>conftest.$ac_ext
27126 cat >>conftest.$ac_ext <<_ACEOF
27127 /* end confdefs.h. */
27129 #include <gtk/gtk.h>
27131 #include <stdlib.h>
27136 int major, minor, micro;
27139 system ("touch conf.gtktest
");
27141 /* HP/UX 9 (%@#!) writes to sscanf strings */
27142 tmp_version = g_strdup("$min_gtk_version");
27143 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
27144 printf("%s
, bad version string
\n", "$min_gtk_version");
27148 if ((gtk_major_version != $gtk_config_major_version) ||
27149 (gtk_minor_version != $gtk_config_minor_version) ||
27150 (gtk_micro_version != $gtk_config_micro_version))
27152 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
27153 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27154 gtk_major_version, gtk_minor_version, gtk_micro_version);
27155 printf ("*** was found
! If pkg
-config was correct
, then it is best
\n");
27156 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
27157 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
27158 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
27159 printf("*** required on your system.
\n");
27160 printf("*** If pkg
-config was wrong
, set the environment variable PKG_CONFIG_PATH
\n");
27161 printf("*** to point to the correct configuration files
\n");
27163 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27164 (gtk_minor_version != GTK_MINOR_VERSION) ||
27165 (gtk_micro_version != GTK_MICRO_VERSION))
27167 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
27168 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27169 printf("*** library
(version
%d.
%d.
%d
)\n",
27170 gtk_major_version, gtk_minor_version, gtk_micro_version);
27174 if ((gtk_major_version > major) ||
27175 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27176 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27182 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
27183 gtk_major_version, gtk_minor_version, gtk_micro_version);
27184 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
27185 major, minor, micro);
27186 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
27188 printf("*** If you have already installed a sufficiently new version
, this error
\n");
27189 printf("*** probably means that the wrong copy of the pkg
-config shell
script is
\n");
27190 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
27191 printf("*** of GTK
+, but you can also
set the PKG_CONFIG environment to point to the
\n");
27192 printf("*** correct copy of pkg
-config.
(In this
case, you will have to
\n");
27193 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
27194 printf("*** so that the correct libraries are found
at run
-time))\n");
27201 rm -f conftest$ac_exeext
27202 if { (ac_try="$ac_link"
27203 case "(($ac_try" in
27204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27205 *) ac_try_echo=$ac_try;;
27207 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27208 (eval "$ac_link") 2>&5
27210 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27211 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27212 { (case "(($ac_try" in
27213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27214 *) ac_try_echo=$ac_try;;
27216 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27217 (eval "$ac_try") 2>&5
27219 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27220 (exit $ac_status); }; }; then
27223 echo "$as_me: program exited with status
$ac_status" >&5
27224 echo "$as_me: failed program was
:" >&5
27225 sed 's/^/| /' conftest.$ac_ext >&5
27227 ( exit $ac_status )
27230 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27234 CFLAGS="$ac_save_CFLAGS"
27235 LIBS="$ac_save_LIBS"
27238 if test "x
$no_gtk" = x ; then
27239 { echo "$as_me:$LINENO: result
: yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&5
27240 echo "${ECHO_T}yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&6; }
27243 { echo "$as_me:$LINENO: result
: no
" >&5
27244 echo "${ECHO_T}no
" >&6; }
27245 if test "$PKG_CONFIG" = "no
" ; then
27246 echo "*** A new enough version of pkg
-config was not found.
"
27247 echo "*** See http
://pkgconfig.sourceforge.net
"
27249 if test -f conf.gtktest ; then
27252 echo "*** Could not run GTK
+ test program
, checking why...
"
27253 ac_save_CFLAGS="$CFLAGS"
27254 ac_save_LIBS="$LIBS"
27255 CFLAGS="$CFLAGS $GTK_CFLAGS"
27256 LIBS="$LIBS $GTK_LIBS"
27257 cat >conftest.$ac_ext <<_ACEOF
27260 cat confdefs.h >>conftest.$ac_ext
27261 cat >>conftest.$ac_ext <<_ACEOF
27262 /* end confdefs.h. */
27264 #include <gtk/gtk.h>
27270 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27275 rm -f conftest.$ac_objext conftest$ac_exeext
27276 if { (ac_try="$ac_link"
27277 case "(($ac_try" in
27278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27279 *) ac_try_echo=$ac_try;;
27281 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27282 (eval "$ac_link") 2>conftest.er1
27284 grep -v '^ *+' conftest.er1 >conftest.err
27286 cat conftest.err >&5
27287 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27288 (exit $ac_status); } && {
27289 test -z "$ac_c_werror_flag" ||
27290 test ! -s conftest.err
27291 } && test -s conftest$ac_exeext &&
27292 $as_test_x conftest$ac_exeext; then
27293 echo "*** The
test program compiled
, but did not run. This usually means
"
27294 echo "*** that the run
-time linker is not finding GTK
+ or finding the wrong
"
27295 echo "*** version of GTK
+. If it is not finding GTK
+, you
'll need to set your"
27296 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27297 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27298 echo "*** is required on your system"
27300 echo "*** If you have an old version installed, it is best to remove it, although"
27301 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27303 echo "$as_me: failed program was:" >&5
27304 sed 's
/^
/| /' conftest.$ac_ext >&5
27306 echo "*** The test program failed to compile or link. See the file config.log for the"
27307 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
27310 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27311 conftest$ac_exeext conftest.$ac_ext
27312 CFLAGS="$ac_save_CFLAGS"
27313 LIBS="$ac_save_LIBS"
27327 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27328 GTK_CFLAGS=`echo $GTK_CFLAGS | sed 's
/-mt//'`
27329 GTK_LIBS=`echo $GTK_LIBS | sed 's
/-mt//'`
27331 if test "$wxUSE_SHARED" != "yes"; then
27332 GTK_LIBS="$GTK_LIBS -lX11"
27337 if test -z "$wx_cv_lib_gtk"; then
27338 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
27340 # Check whether --with-gtk-prefix was given.
27341 if test "${with_gtk_prefix+set}" = set; then
27342 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
27344 gtk_config_prefix=""
27348 # Check whether --with-gtk-exec-prefix was given.
27349 if test "${with_gtk_exec_prefix+set}" = set; then
27350 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
27352 gtk_config_exec_prefix=""
27355 # Check whether --enable-gtktest was given.
27356 if test "${enable_gtktest+set}" = set; then
27357 enableval=$enable_gtktest;
27363 for module in . $GTK_MODULES
27367 gtk_config_args="$gtk_config_args gthread"
27372 if test x$gtk_config_exec_prefix != x ; then
27373 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27374 if test x${GTK_CONFIG+set} != xset ; then
27375 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
27378 if test x$gtk_config_prefix != x ; then
27379 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
27380 if test x${GTK_CONFIG+set} != xset ; then
27381 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
27385 # Extract the first word of "gtk-config", so it can be a program name with args.
27386 set dummy gtk-config; ac_word=$2
27387 { echo "$as_me:$LINENO: checking for $ac_word" >&5
27388 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27389 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27390 echo $ECHO_N "(cached) $ECHO_C" >&6
27392 case $GTK_CONFIG in
27394 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
27397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27398 for as_dir in $PATH
27401 test -z "$as_dir" && as_dir=.
27402 for ac_exec_ext in '' $ac_executable_extensions; do
27403 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27404 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27405 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27412 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
27416 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
27417 if test -n "$GTK_CONFIG"; then
27418 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27419 echo "${ECHO_T}$GTK_CONFIG" >&6; }
27421 { echo "$as_me:$LINENO: result: no" >&5
27422 echo "${ECHO_T}no" >&6; }
27426 min_gtk_version=1.2.7
27427 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27428 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
27430 if test "$GTK_CONFIG" = "no" ; then
27433 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
27434 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
27435 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
27436 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
1/'`
27437 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
27438 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
2/'`
27439 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
27440 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
3/'`
27441 if test "x$enable_gtktest" = "xyes" ; then
27442 ac_save_CFLAGS="$CFLAGS"
27443 ac_save_LIBS="$LIBS"
27444 CFLAGS="$CFLAGS $GTK_CFLAGS"
27445 LIBS="$GTK_LIBS $LIBS"
27447 if test "$cross_compiling" = yes; then
27448 echo $ac_n "cross compiling; assumed OK... $ac_c"
27450 cat >conftest.$ac_ext <<_ACEOF
27453 cat confdefs.h >>conftest.$ac_ext
27454 cat >>conftest.$ac_ext <<_ACEOF
27455 /* end confdefs.h. */
27457 #include <gtk/gtk.h>
27459 #include <stdlib.h>
27464 int major, minor, micro;
27467 system ("touch conf.gtktest");
27469 /* HP/UX 9 (%@#!) writes to sscanf strings */
27470 tmp_version = g_strdup("$min_gtk_version");
27471 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
27472 printf("%s, bad version string\n", "$min_gtk_version");
27476 if ((gtk_major_version != $gtk_config_major_version) ||
27477 (gtk_minor_version != $gtk_config_minor_version) ||
27478 (gtk_micro_version != $gtk_config_micro_version))
27480 printf("\n*** 'gtk
-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27481 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27482 gtk_major_version, gtk_minor_version, gtk_micro_version);
27483 printf ("*** was found! If gtk-config was correct, then it is best\n");
27484 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27485 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27486 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27487 printf("*** required on your system.\n");
27488 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27489 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27490 printf("*** before re-running configure\n");
27492 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27493 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27494 (gtk_minor_version != GTK_MINOR_VERSION) ||
27495 (gtk_micro_version != GTK_MICRO_VERSION))
27497 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27498 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27499 printf("*** library (version %d.%d.%d)\n",
27500 gtk_major_version, gtk_minor_version, gtk_micro_version);
27502 #endif /* defined (GTK_MAJOR_VERSION) ... */
27505 if ((gtk_major_version > major) ||
27506 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27507 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27513 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27514 gtk_major_version, gtk_minor_version, gtk_micro_version);
27515 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27516 major, minor, micro);
27517 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27519 printf("*** If you have already installed a sufficiently new version, this error\n");
27520 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27521 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27522 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27523 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27524 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27525 printf("*** so that the correct libraries are found at run-time))\n");
27532 rm -f conftest$ac_exeext
27533 if { (ac_try="$ac_link"
27534 case "(($ac_try" in
27535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27536 *) ac_try_echo=$ac_try;;
27538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27539 (eval "$ac_link") 2>&5
27541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27542 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
27543 { (case "(($ac_try" in
27544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27545 *) ac_try_echo=$ac_try;;
27547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27548 (eval "$ac_try") 2>&5
27550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27551 (exit $ac_status); }; }; then
27554 echo "$as_me: program exited with status $ac_status" >&5
27555 echo "$as_me: failed program was:" >&5
27556 sed 's
/^
/| /' conftest.$ac_ext >&5
27558 ( exit $ac_status )
27561 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27565 CFLAGS="$ac_save_CFLAGS"
27566 LIBS="$ac_save_LIBS"
27569 if test "x$no_gtk" = x ; then
27570 { echo "$as_me:$LINENO: result: yes" >&5
27571 echo "${ECHO_T}yes" >&6; }
27572 wx_cv_lib_gtk=1.2.7
27574 { echo "$as_me:$LINENO: result: no" >&5
27575 echo "${ECHO_T}no" >&6; }
27576 if test "$GTK_CONFIG" = "no" ; then
27577 echo "*** The gtk-config script installed by GTK could not be found"
27578 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27579 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27580 echo "*** full path to gtk-config."
27582 if test -f conf.gtktest ; then
27585 echo "*** Could not run GTK test program, checking why..."
27586 CFLAGS="$CFLAGS $GTK_CFLAGS"
27587 LIBS="$LIBS $GTK_LIBS"
27588 cat >conftest.$ac_ext <<_ACEOF
27591 cat confdefs.h >>conftest.$ac_ext
27592 cat >>conftest.$ac_ext <<_ACEOF
27593 /* end confdefs.h. */
27595 #include <gtk/gtk.h>
27601 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27606 rm -f conftest.$ac_objext conftest$ac_exeext
27607 if { (ac_try="$ac_link"
27608 case "(($ac_try" in
27609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27610 *) ac_try_echo=$ac_try;;
27612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27613 (eval "$ac_link") 2>conftest.er1
27615 grep -v '^
*+' conftest.er1 >conftest.err
27617 cat conftest.err >&5
27618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27619 (exit $ac_status); } && {
27620 test -z "$ac_c_werror_flag" ||
27621 test ! -s conftest.err
27622 } && test -s conftest$ac_exeext &&
27623 $as_test_x conftest$ac_exeext; then
27624 echo "*** The test program compiled, but did not run. This usually means"
27625 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27626 echo "*** version of GTK. If it is not finding GTK, you'll need to
set your
"
27627 echo "*** LD_LIBRARY_PATH environment variable
, or edit
/etc
/ld.so.conf to point
"
27628 echo "*** to the installed location Also
, make sure you have run ldconfig
if that
"
27629 echo "*** is required on your system
"
27631 echo "*** If you have an old version installed
, it is best to remove it
, although
"
27632 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
"
27634 echo "*** If you have a RedHat
5.0 system
, you should remove the GTK package that
"
27635 echo "*** came with the system with the
command"
27637 echo "*** rpm
--erase --nodeps gtk gtk
-devel"
27639 echo "$as_me: failed program was
:" >&5
27640 sed 's/^/| /' conftest.$ac_ext >&5
27642 echo "*** The
test program failed to compile or link. See the
file config.log
for the
"
27643 echo "*** exact error that occured. This usually means GTK was incorrectly installed
"
27644 echo "*** or that you have moved GTK since it was installed. In the latter
case, you
"
27645 echo "*** may want to edit the gtk
-config script: $GTK_CONFIG"
27648 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27649 conftest$ac_exeext conftest.$ac_ext
27650 CFLAGS="$ac_save_CFLAGS"
27651 LIBS="$ac_save_LIBS"
27663 if test -z "$wx_cv_lib_gtk"; then
27665 # Check whether --with-gtk-prefix was given.
27666 if test "${with_gtk_prefix+set}" = set; then
27667 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
27669 gtk_config_prefix=""
27673 # Check whether --with-gtk-exec-prefix was given.
27674 if test "${with_gtk_exec_prefix+set}" = set; then
27675 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
27677 gtk_config_exec_prefix=""
27680 # Check whether --enable-gtktest was given.
27681 if test "${enable_gtktest+set}" = set; then
27682 enableval=$enable_gtktest;
27688 for module in . $GTK_MODULES
27692 gtk_config_args="$gtk_config_args gthread
"
27697 if test x$gtk_config_exec_prefix != x ; then
27698 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27699 if test x${GTK_CONFIG+set} != xset ; then
27700 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
27703 if test x$gtk_config_prefix != x ; then
27704 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
27705 if test x${GTK_CONFIG+set} != xset ; then
27706 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
27710 # Extract the first word of "gtk
-config", so it can be a program name with args.
27711 set dummy gtk-config; ac_word=$2
27712 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
27713 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
27714 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27715 echo $ECHO_N "(cached
) $ECHO_C" >&6
27717 case $GTK_CONFIG in
27719 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
27722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27723 for as_dir in $PATH
27726 test -z "$as_dir" && as_dir=.
27727 for ac_exec_ext in '' $ac_executable_extensions; do
27728 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27729 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27730 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
27737 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no
"
27741 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
27742 if test -n "$GTK_CONFIG"; then
27743 { echo "$as_me:$LINENO: result
: $GTK_CONFIG" >&5
27744 echo "${ECHO_T}$GTK_CONFIG" >&6; }
27746 { echo "$as_me:$LINENO: result
: no
" >&5
27747 echo "${ECHO_T}no
" >&6; }
27751 min_gtk_version=1.2.3
27752 { echo "$as_me:$LINENO: checking
for GTK
- version
>= $min_gtk_version" >&5
27753 echo $ECHO_N "checking
for GTK
- version
>= $min_gtk_version...
$ECHO_C" >&6; }
27755 if test "$GTK_CONFIG" = "no
" ; then
27758 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
27759 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
27760 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
27761 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27762 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
27763 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27764 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
27765 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27766 if test "x
$enable_gtktest" = "xyes
" ; then
27767 ac_save_CFLAGS="$CFLAGS"
27768 ac_save_LIBS="$LIBS"
27769 CFLAGS="$CFLAGS $GTK_CFLAGS"
27770 LIBS="$GTK_LIBS $LIBS"
27772 if test "$cross_compiling" = yes; then
27773 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
27775 cat >conftest.$ac_ext <<_ACEOF
27778 cat confdefs.h >>conftest.$ac_ext
27779 cat >>conftest.$ac_ext <<_ACEOF
27780 /* end confdefs.h. */
27782 #include <gtk/gtk.h>
27784 #include <stdlib.h>
27789 int major, minor, micro;
27792 system ("touch conf.gtktest
");
27794 /* HP/UX 9 (%@#!) writes to sscanf strings */
27795 tmp_version = g_strdup("$min_gtk_version");
27796 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
27797 printf("%s
, bad version string
\n", "$min_gtk_version");
27801 if ((gtk_major_version != $gtk_config_major_version) ||
27802 (gtk_minor_version != $gtk_config_minor_version) ||
27803 (gtk_micro_version != $gtk_config_micro_version))
27805 printf("\n*** 'gtk-config --version' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
27806 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27807 gtk_major_version, gtk_minor_version, gtk_micro_version);
27808 printf ("*** was found
! If gtk
-config was correct
, then it is best
\n");
27809 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
27810 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
27811 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
27812 printf("*** required on your system.
\n");
27813 printf("*** If gtk
-config was wrong
, set the environment variable GTK_CONFIG
\n");
27814 printf("*** to point to the correct copy of gtk
-config, and remove the
file config.cache
\n");
27815 printf("*** before re
-running configure
\n");
27817 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27818 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27819 (gtk_minor_version != GTK_MINOR_VERSION) ||
27820 (gtk_micro_version != GTK_MICRO_VERSION))
27822 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
27823 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27824 printf("*** library
(version
%d.
%d.
%d
)\n",
27825 gtk_major_version, gtk_minor_version, gtk_micro_version);
27827 #endif /* defined (GTK_MAJOR_VERSION) ... */
27830 if ((gtk_major_version > major) ||
27831 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27832 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27838 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
27839 gtk_major_version, gtk_minor_version, gtk_micro_version);
27840 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
27841 major, minor, micro);
27842 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
27844 printf("*** If you have already installed a sufficiently new version
, this error
\n");
27845 printf("*** probably means that the wrong copy of the gtk
-config shell
script is
\n");
27846 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
27847 printf("*** of GTK
+, but you can also
set the GTK_CONFIG environment to point to the
\n");
27848 printf("*** correct copy of gtk
-config.
(In this
case, you will have to
\n");
27849 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
27850 printf("*** so that the correct libraries are found
at run
-time))\n");
27857 rm -f conftest$ac_exeext
27858 if { (ac_try="$ac_link"
27859 case "(($ac_try" in
27860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27861 *) ac_try_echo=$ac_try;;
27863 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27864 (eval "$ac_link") 2>&5
27866 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27867 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27868 { (case "(($ac_try" in
27869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27870 *) ac_try_echo=$ac_try;;
27872 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27873 (eval "$ac_try") 2>&5
27875 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27876 (exit $ac_status); }; }; then
27879 echo "$as_me: program exited with status
$ac_status" >&5
27880 echo "$as_me: failed program was
:" >&5
27881 sed 's/^/| /' conftest.$ac_ext >&5
27883 ( exit $ac_status )
27886 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27890 CFLAGS="$ac_save_CFLAGS"
27891 LIBS="$ac_save_LIBS"
27894 if test "x
$no_gtk" = x ; then
27895 { echo "$as_me:$LINENO: result
: yes" >&5
27896 echo "${ECHO_T}yes" >&6; }
27897 wx_cv_lib_gtk=1.2.3
27899 { echo "$as_me:$LINENO: result
: no
" >&5
27900 echo "${ECHO_T}no
" >&6; }
27901 if test "$GTK_CONFIG" = "no
" ; then
27902 echo "*** The gtk
-config script installed by GTK could not be found
"
27903 echo "*** If GTK was installed
in PREFIX
, make sure PREFIX
/bin is
in"
27904 echo "*** your path
, or
set the GTK_CONFIG environment variable to the
"
27905 echo "*** full path to gtk
-config.
"
27907 if test -f conf.gtktest ; then
27910 echo "*** Could not run GTK
test program
, checking why...
"
27911 CFLAGS="$CFLAGS $GTK_CFLAGS"
27912 LIBS="$LIBS $GTK_LIBS"
27913 cat >conftest.$ac_ext <<_ACEOF
27916 cat confdefs.h >>conftest.$ac_ext
27917 cat >>conftest.$ac_ext <<_ACEOF
27918 /* end confdefs.h. */
27920 #include <gtk/gtk.h>
27926 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27931 rm -f conftest.$ac_objext conftest$ac_exeext
27932 if { (ac_try="$ac_link"
27933 case "(($ac_try" in
27934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27935 *) ac_try_echo=$ac_try;;
27937 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27938 (eval "$ac_link") 2>conftest.er1
27940 grep -v '^ *+' conftest.er1 >conftest.err
27942 cat conftest.err >&5
27943 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27944 (exit $ac_status); } && {
27945 test -z "$ac_c_werror_flag" ||
27946 test ! -s conftest.err
27947 } && test -s conftest$ac_exeext &&
27948 $as_test_x conftest$ac_exeext; then
27949 echo "*** The
test program compiled
, but did not run. This usually means
"
27950 echo "*** that the run
-time linker is not finding GTK or finding the wrong
"
27951 echo "*** version of GTK. If it is not finding GTK
, you
'll need to set your"
27952 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27953 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27954 echo "*** is required on your system"
27956 echo "*** If you have an old version installed, it is best to remove it, although"
27957 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27959 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27960 echo "*** came with the system with the command"
27962 echo "*** rpm --erase --nodeps gtk gtk-devel"
27964 echo "$as_me: failed program was:" >&5
27965 sed 's
/^
/| /' conftest.$ac_ext >&5
27967 echo "*** The test program failed to compile or link. See the file config.log for the"
27968 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27969 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27970 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27973 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27974 conftest$ac_exeext conftest.$ac_ext
27975 CFLAGS="$ac_save_CFLAGS"
27976 LIBS="$ac_save_LIBS"
27991 if test -z "$wx_cv_lib_gtk"; then
27994 wx_cv_cflags_gtk=$GTK_CFLAGS
27995 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's
/ -l[^
]*cairo
[^
]*//g
'`
28002 if test "$gtk_version_cached" = 1; then
28003 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28004 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
28007 case "$wx_cv_lib_gtk" in
28016 *) { { echo "$as_me:$LINENO: error:
28017 The development files for GTK+ were not found. For GTK+ 2, please
28018 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28019 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28020 and that the version is 1.2.3 or above. Also check that the
28021 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
28022 --libs' are in the LD_LIBRARY_PATH or equivalent.
28024 echo "$as_me: error:
28025 The development files for GTK+ were not found. For GTK+ 2, please
28026 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28027 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28028 and that the version is 1.2.3 or above. Also check that the
28029 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
28030 --libs' are in the LD_LIBRARY_PATH or equivalent.
28032 { (exit 1); exit 1; }; }
28036 if test "$WXGTK20" = 1; then
28037 save_CFLAGS="$CFLAGS"
28039 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
28040 LIBS="$LIBS $wx_cv_libs_gtk"
28042 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
28043 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
28044 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
28045 echo $ECHO_N "(cached) $ECHO_C" >&6
28047 cat >conftest.$ac_ext <<_ACEOF
28050 cat confdefs.h >>conftest.$ac_ext
28051 cat >>conftest.$ac_ext <<_ACEOF
28052 /* end confdefs.h. */
28053 #include <gtk/gtk.h>
28058 #ifndef gtk_icon_size_lookup
28059 (void) gtk_icon_size_lookup;
28066 rm -f conftest.$ac_objext
28067 if { (ac_try="$ac_compile"
28068 case "(($ac_try" in
28069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28070 *) ac_try_echo=$ac_try;;
28072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28073 (eval "$ac_compile") 2>conftest.er1
28075 grep -v '^
*+' conftest.er1 >conftest.err
28077 cat conftest.err >&5
28078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28079 (exit $ac_status); } && {
28080 test -z "$ac_c_werror_flag" ||
28081 test ! -s conftest.err
28082 } && test -s conftest.$ac_objext; then
28083 ac_cv_have_decl_gtk_icon_size_lookup=yes
28085 echo "$as_me: failed program was:" >&5
28086 sed 's
/^
/| /' conftest.$ac_ext >&5
28088 ac_cv_have_decl_gtk_icon_size_lookup=no
28091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28093 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
28094 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
28095 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
28097 cat >>confdefs.h <<_ACEOF
28098 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
28103 cat >>confdefs.h <<_ACEOF
28104 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
28107 cat >>confdefs.h <<\_ACEOF
28108 #define NEED_GTK_ICON_SIZE_LOOKUP 1
28116 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
28117 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
28118 cat >conftest.$ac_ext <<_ACEOF
28121 cat confdefs.h >>conftest.$ac_ext
28122 cat >>conftest.$ac_ext <<_ACEOF
28123 /* end confdefs.h. */
28125 #include <gtk/gtk.h>
28131 #if !GTK_CHECK_VERSION(2,10,0)
28139 rm -f conftest.$ac_objext
28140 if { (ac_try="$ac_compile"
28141 case "(($ac_try" in
28142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28143 *) ac_try_echo=$ac_try;;
28145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28146 (eval "$ac_compile") 2>conftest.er1
28148 grep -v '^
*+' conftest.er1 >conftest.err
28150 cat conftest.err >&5
28151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28152 (exit $ac_status); } && {
28153 test -z "$ac_c_werror_flag" ||
28154 test ! -s conftest.err
28155 } && test -s conftest.$ac_objext; then
28157 cat >>confdefs.h <<\_ACEOF
28158 #define __WXGTK210__ 1
28161 cat >>confdefs.h <<\_ACEOF
28162 #define __WXGTK26__ 1
28165 cat >>confdefs.h <<\_ACEOF
28166 #define __WXGTK24__ 1
28169 { echo "$as_me:$LINENO: result: yes" >&5
28170 echo "${ECHO_T}yes" >&6; }
28174 echo "$as_me: failed program was:" >&5
28175 sed 's
/^
/| /' conftest.$ac_ext >&5
28178 { echo "$as_me:$LINENO: result: no" >&5
28179 echo "${ECHO_T}no" >&6; }
28184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28186 if test "$ac_wxgtk210" = 0; then
28187 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28188 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
28189 cat >conftest.$ac_ext <<_ACEOF
28192 cat confdefs.h >>conftest.$ac_ext
28193 cat >>conftest.$ac_ext <<_ACEOF
28194 /* end confdefs.h. */
28196 #include <gtk/gtk.h>
28202 #if !GTK_CHECK_VERSION(2,6,0)
28210 rm -f conftest.$ac_objext
28211 if { (ac_try="$ac_compile"
28212 case "(($ac_try" in
28213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28214 *) ac_try_echo=$ac_try;;
28216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28217 (eval "$ac_compile") 2>conftest.er1
28219 grep -v '^
*+' conftest.er1 >conftest.err
28221 cat conftest.err >&5
28222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28223 (exit $ac_status); } && {
28224 test -z "$ac_c_werror_flag" ||
28225 test ! -s conftest.err
28226 } && test -s conftest.$ac_objext; then
28228 cat >>confdefs.h <<\_ACEOF
28229 #define __WXGTK26__ 1
28232 cat >>confdefs.h <<\_ACEOF
28233 #define __WXGTK24__ 1
28236 { echo "$as_me:$LINENO: result: yes" >&5
28237 echo "${ECHO_T}yes" >&6; }
28241 echo "$as_me: failed program was:" >&5
28242 sed 's
/^
/| /' conftest.$ac_ext >&5
28245 { echo "$as_me:$LINENO: result: no" >&5
28246 echo "${ECHO_T}no" >&6; }
28251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28254 if test "$ac_wxgtk26" = 0; then
28255 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
28256 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
28257 cat >conftest.$ac_ext <<_ACEOF
28260 cat confdefs.h >>conftest.$ac_ext
28261 cat >>conftest.$ac_ext <<_ACEOF
28262 /* end confdefs.h. */
28264 #include <gtk/gtk.h>
28270 #if !GTK_CHECK_VERSION(2,4,0)
28278 rm -f conftest.$ac_objext
28279 if { (ac_try="$ac_compile"
28280 case "(($ac_try" in
28281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28282 *) ac_try_echo=$ac_try;;
28284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28285 (eval "$ac_compile") 2>conftest.er1
28287 grep -v '^
*+' conftest.er1 >conftest.err
28289 cat conftest.err >&5
28290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28291 (exit $ac_status); } && {
28292 test -z "$ac_c_werror_flag" ||
28293 test ! -s conftest.err
28294 } && test -s conftest.$ac_objext; then
28296 cat >>confdefs.h <<\_ACEOF
28297 #define __WXGTK24__ 1
28300 { echo "$as_me:$LINENO: result: yes" >&5
28301 echo "${ECHO_T}yes" >&6; }
28304 echo "$as_me: failed program was:" >&5
28305 sed 's
/^
/| /' conftest.$ac_ext >&5
28308 { echo "$as_me:$LINENO: result: no" >&5
28309 echo "${ECHO_T}no" >&6; }
28313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28316 CFLAGS="$save_CFLAGS"
28319 if test "$wxUSE_UNICODE" = "yes"; then
28320 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
28321 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
28325 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
28326 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
28327 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
28328 echo $ECHO_N "(cached) $ECHO_C" >&6
28330 ac_check_lib_save_LIBS=$LIBS
28332 cat >conftest.$ac_ext <<_ACEOF
28335 cat confdefs.h >>conftest.$ac_ext
28336 cat >>conftest.$ac_ext <<_ACEOF
28337 /* end confdefs.h. */
28339 /* Override any GCC internal prototype to avoid an error.
28340 Use char because int might match the return type of a GCC
28341 builtin and then its argument prototype would still apply. */
28345 char gdk_im_open ();
28349 return gdk_im_open ();
28354 rm -f conftest.$ac_objext conftest$ac_exeext
28355 if { (ac_try="$ac_link"
28356 case "(($ac_try" in
28357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28358 *) ac_try_echo=$ac_try;;
28360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28361 (eval "$ac_link") 2>conftest.er1
28363 grep -v '^
*+' conftest.er1 >conftest.err
28365 cat conftest.err >&5
28366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28367 (exit $ac_status); } && {
28368 test -z "$ac_c_werror_flag" ||
28369 test ! -s conftest.err
28370 } && test -s conftest$ac_exeext &&
28371 $as_test_x conftest$ac_exeext; then
28372 ac_cv_lib_gdk_gdk_im_open=yes
28374 echo "$as_me: failed program was:" >&5
28375 sed 's
/^
/| /' conftest.$ac_ext >&5
28377 ac_cv_lib_gdk_gdk_im_open=no
28380 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28381 conftest$ac_exeext conftest.$ac_ext
28382 LIBS=$ac_check_lib_save_LIBS
28384 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
28385 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
28386 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
28387 cat >>confdefs.h <<\_ACEOF
28394 if test "$USE_DARWIN" != 1; then
28396 for ac_func in poll
28398 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28399 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28400 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28401 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28402 echo $ECHO_N "(cached) $ECHO_C" >&6
28404 cat >conftest.$ac_ext <<_ACEOF
28407 cat confdefs.h >>conftest.$ac_ext
28408 cat >>conftest.$ac_ext <<_ACEOF
28409 /* end confdefs.h. */
28410 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28411 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28412 #define $ac_func innocuous_$ac_func
28414 /* System header to define __stub macros and hopefully few prototypes,
28415 which can conflict with char $ac_func (); below.
28416 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28417 <limits.h> exists even on freestanding compilers. */
28420 # include <limits.h>
28422 # include <assert.h>
28427 /* Override any GCC internal prototype to avoid an error.
28428 Use char because int might match the return type of a GCC
28429 builtin and then its argument prototype would still apply. */
28434 /* The GNU C library defines this for functions which it implements
28435 to always fail with ENOSYS. Some functions are actually named
28436 something starting with __ and the normal name is an alias. */
28437 #if defined __stub_$ac_func || defined __stub___$ac_func
28444 return $ac_func ();
28449 rm -f conftest.$ac_objext conftest$ac_exeext
28450 if { (ac_try="$ac_link"
28451 case "(($ac_try" in
28452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28453 *) ac_try_echo=$ac_try;;
28455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28456 (eval "$ac_link") 2>conftest.er1
28458 grep -v '^
*+' conftest.er1 >conftest.err
28460 cat conftest.err >&5
28461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28462 (exit $ac_status); } && {
28463 test -z "$ac_c_werror_flag" ||
28464 test ! -s conftest.err
28465 } && test -s conftest$ac_exeext &&
28466 $as_test_x conftest$ac_exeext; then
28467 eval "$as_ac_var=yes"
28469 echo "$as_me: failed program was:" >&5
28470 sed 's
/^
/| /' conftest.$ac_ext >&5
28472 eval "$as_ac_var=no"
28475 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28476 conftest$ac_exeext conftest.$ac_ext
28478 ac_res=`eval echo '${'$as_ac_var'}'`
28479 { echo "$as_me:$LINENO: result: $ac_res" >&5
28480 echo "${ECHO_T}$ac_res" >&6; }
28481 if test `eval echo '${'$as_ac_var'}'` = yes; then
28482 cat >>confdefs.h <<_ACEOF
28483 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28492 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
28493 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
28495 AFMINSTALL=afminstall
28499 if test "$wxUSE_GPE" = "yes"; then
28500 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
28501 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
28504 for ac_dir in $SEARCH_LIB;
28506 for ac_extension in a so sl dylib dll.a; do
28507 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
28508 ac_find_libraries=$ac_dir
28514 if test "$ac_find_libraries" != "" ; then
28516 if test "$ac_find_libraries" = "default location"; then
28519 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
28521 if test $result = 0; then
28524 ac_path_to_link=" -L$ac_find_libraries"
28528 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
28530 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
28531 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
28533 { echo "$as_me:$LINENO: result: not found" >&5
28534 echo "${ECHO_T}not found" >&6; }
28540 if test "$wxUSE_MGL" = 1; then
28541 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
28542 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
28543 if test "x$MGL_ROOT" = x ; then
28544 { echo "$as_me:$LINENO: result: not found" >&5
28545 echo "${ECHO_T}not found" >&6; }
28546 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
28547 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
28548 { (exit 1); exit 1; }; }
28550 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
28551 echo "${ECHO_T}$MGL_ROOT" >&6; }
28554 { echo "$as_me:$LINENO: checking for libmgl location" >&5
28555 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
28558 if test "x$wxUSE_SHARED" = xyes ; then
28559 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
28561 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
28565 mgl_os_candidates="dos32/dj2"
28568 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
28569 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
28570 { (exit 1); exit 1; }; }
28576 for mgl_os_i in $mgl_os_candidates ; do
28577 if test "x$mgl_os" = x ; then
28578 if test "$wxUSE_DEBUG_FLAG" = yes ; then
28579 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
28580 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
28585 if test "x$mgl_lib_type" = x ; then
28586 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
28587 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
28588 mgl_lib_type=release
28595 if test "x$mgl_os" = x ; then
28596 { echo "$as_me:$LINENO: result: not found" >&5
28597 echo "${ECHO_T}not found" >&6; }
28598 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
28599 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
28600 { (exit 1); exit 1; }; }
28602 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
28603 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
28605 wxUSE_UNIVERSAL="yes"
28607 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
28608 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
28610 AFMINSTALL=afminstall
28615 if test "$wxUSE_DFB" = 1; then
28618 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28619 if test -n "$ac_tool_prefix"; then
28620 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28621 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
28622 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28623 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28624 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28625 echo $ECHO_N "(cached) $ECHO_C" >&6
28627 case $PKG_CONFIG in
28629 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28633 for as_dir in $PATH
28636 test -z "$as_dir" && as_dir=.
28637 for ac_exec_ext in '' $ac_executable_extensions; do
28638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28639 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28640 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28650 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28651 if test -n "$PKG_CONFIG"; then
28652 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28653 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28655 { echo "$as_me:$LINENO: result: no" >&5
28656 echo "${ECHO_T}no" >&6; }
28661 if test -z "$ac_cv_path_PKG_CONFIG"; then
28662 ac_pt_PKG_CONFIG=$PKG_CONFIG
28663 # Extract the first word of "pkg-config", so it can be a program name with args.
28664 set dummy pkg-config; ac_word=$2
28665 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28666 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28667 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
28668 echo $ECHO_N "(cached) $ECHO_C" >&6
28670 case $ac_pt_PKG_CONFIG in
28672 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28676 for as_dir in $PATH
28679 test -z "$as_dir" && as_dir=.
28680 for ac_exec_ext in '' $ac_executable_extensions; do
28681 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28682 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28683 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28693 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
28694 if test -n "$ac_pt_PKG_CONFIG"; then
28695 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
28696 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
28698 { echo "$as_me:$LINENO: result: no" >&5
28699 echo "${ECHO_T}no" >&6; }
28702 if test "x$ac_pt_PKG_CONFIG" = x; then
28705 case $cross_compiling:$ac_tool_warned in
28707 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
28708 whose name does not start with the host triplet. If you think this
28709 configuration is useful to you, please write to autoconf@gnu.org." >&5
28710 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
28711 whose name does not start with the host triplet. If you think this
28712 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
28713 ac_tool_warned=yes ;;
28715 PKG_CONFIG=$ac_pt_PKG_CONFIG
28718 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
28722 if test -n "$PKG_CONFIG"; then
28723 _pkg_min_version=0.9.0
28724 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
28725 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
28726 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28727 { echo "$as_me:$LINENO: result: yes" >&5
28728 echo "${ECHO_T}yes" >&6; }
28730 { echo "$as_me:$LINENO: result: no" >&5
28731 echo "${ECHO_T}no" >&6; }
28739 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
28740 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
28742 if test -n "$PKG_CONFIG"; then
28743 if test -n "$DIRECTFB_CFLAGS"; then
28744 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
28746 if test -n "$PKG_CONFIG" && \
28747 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
28748 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
28750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28751 (exit $ac_status); }; then
28752 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
28760 if test -n "$PKG_CONFIG"; then
28761 if test -n "$DIRECTFB_LIBS"; then
28762 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
28764 if test -n "$PKG_CONFIG" && \
28765 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
28766 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
28768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28769 (exit $ac_status); }; then
28770 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
28781 if test $pkg_failed = yes; then
28783 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28784 _pkg_short_errors_supported=yes
28786 _pkg_short_errors_supported=no
28788 if test $_pkg_short_errors_supported = yes; then
28789 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
28791 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
28793 # Put the nasty error message in config.log where it belongs
28794 echo "$DIRECTFB_PKG_ERRORS" >&5
28797 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
28798 echo "$as_me: error: DirectFB not found." >&2;}
28799 { (exit 1); exit 1; }; }
28802 elif test $pkg_failed = untried; then
28804 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
28805 echo "$as_me: error: DirectFB not found." >&2;}
28806 { (exit 1); exit 1; }; }
28810 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
28811 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
28812 { echo "$as_me:$LINENO: result: yes" >&5
28813 echo "${ECHO_T}yes" >&6; }
28815 wxUSE_UNIVERSAL="yes"
28816 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
28817 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
28824 if test "$wxUSE_MICROWIN" = 1; then
28825 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
28826 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
28827 if test "x$MICROWINDOWS" = x ; then
28828 { echo "$as_me:$LINENO: result: not found" >&5
28829 echo "${ECHO_T}not found" >&6; }
28830 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
28831 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
28832 { (exit 1); exit 1; }; }
28834 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
28835 echo "${ECHO_T}$MICROWINDOWS" >&6; }
28838 if test -f $MICROWINDOWS/lib/libmwin.a; then
28839 { echo "$as_me:$LINENO: result: MicroWindows' libraries found.
" >&5
28840 echo "${ECHO_T}MicroWindows
' libraries found." >&6; }
28842 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
28843 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
28844 { (exit 1); exit 1; }; }
28847 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
28848 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
28850 wxUSE_UNIVERSAL="yes"
28852 AFMINSTALL=afminstall
28854 GUIDIST=MICROWIN_DIST
28856 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
28859 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
28860 { echo "$as_me:$LINENO: checking for X" >&5
28861 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
28864 # Check whether --with-x was given.
28865 if test "${with_x+set}" = set; then
28869 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
28870 if test "x$with_x" = xno; then
28871 # The user explicitly disabled X.
28874 case $x_includes,$x_libraries in #(
28875 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
28876 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
28877 { (exit 1); exit 1; }; };; #(
28878 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
28879 echo $ECHO_N "(cached) $ECHO_C" >&6
28881 # One or both of the vars are not set, and there is no cached value.
28882 ac_x_includes=no ac_x_libraries=no
28883 rm -f -r conftest.dir
28884 if mkdir conftest.dir; then
28886 cat >Imakefile <<'_ACEOF'
28888 @echo incroot='${INCROOT}'
28890 @echo usrlibdir='${USRLIBDIR}'
28892 @echo libdir='${LIBDIR}'
28894 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
28895 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
28896 for ac_var in incroot usrlibdir libdir; do
28897 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
28899 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
28900 for ac_extension in a so sl; do
28901 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
28902 test -f "$ac_im_libdir/libX11.$ac_extension"; then
28903 ac_im_usrlibdir=$ac_im_libdir; break
28906 # Screen out bogus values from the imake configuration. They are
28907 # bogus both because they are the default anyway, and because
28908 # using them would break gcc on systems where it needs fixed includes.
28909 case $ac_im_incroot in
28910 /usr/include) ac_x_includes= ;;
28911 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
28913 case $ac_im_usrlibdir in
28914 /usr/lib | /lib) ;;
28915 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
28919 rm -f -r conftest.dir
28922 # Standard set of common directories for X headers.
28923 # Check X11 before X11Rn because it is often a symlink to the current release.
28935 /usr
/local
/X
11/include
28936 /usr
/local
/X
11R
6/include
28937 /usr
/local
/X
11R
5/include
28938 /usr
/local
/X
11R
4/include
28940 /usr
/local
/include
/X11
28941 /usr
/local
/include
/X11R6
28942 /usr
/local
/include
/X11R5
28943 /usr
/local
/include
/X11R4
28947 /usr
/XFree
86/include
/X11
28951 /usr
/unsupported
/include
28952 /usr
/athena
/include
28953 /usr
/local
/x
11r
5/include
28954 /usr
/lpp
/Xamples
/include
28956 /usr
/openwin
/include
28957 /usr
/openwin
/share
/include
'
28959 if test "$ac_x_includes" = no; then
28960 # Guess where to find include files, by looking for Xlib.h.
28961 # First, try using that file with no special directory specified.
28962 cat >conftest.$ac_ext <<_ACEOF
28965 cat confdefs.h >>conftest.$ac_ext
28966 cat >>conftest.$ac_ext <<_ACEOF
28967 /* end confdefs.h. */
28968 #include <X11/Xlib.h>
28970 if { (ac_try="$ac_cpp conftest.$ac_ext"
28971 case "(($ac_try" in
28972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28973 *) ac_try_echo=$ac_try;;
28975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28976 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28978 grep -v '^
*+' conftest.er1 >conftest.err
28980 cat conftest.err >&5
28981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28982 (exit $ac_status); } >/dev/null && {
28983 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28984 test ! -s conftest.err
28986 # We can compile using X headers with no special include directory.
28989 echo "$as_me: failed program was:" >&5
28990 sed 's
/^
/| /' conftest.$ac_ext >&5
28992 for ac_dir in $ac_x_header_dirs; do
28993 if test -r "$ac_dir/X11/Xlib.h"; then
28994 ac_x_includes=$ac_dir
29000 rm -f conftest.err conftest.$ac_ext
29001 fi # $ac_x_includes = no
29003 if test "$ac_x_libraries" = no; then
29004 # Check for the libraries.
29005 # See if we find them without any special options.
29006 # Don't add to
$LIBS permanently.
29009 cat >conftest.
$ac_ext <<_ACEOF
29012 cat confdefs.h
>>conftest.
$ac_ext
29013 cat >>conftest.
$ac_ext <<_ACEOF
29014 /* end confdefs.h. */
29015 #include <X11/Xlib.h>
29024 rm -f conftest.
$ac_objext conftest
$ac_exeext
29025 if { (ac_try
="$ac_link"
29026 case "(($ac_try" in
29027 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29028 *) ac_try_echo=$ac_try;;
29030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29031 (eval "$ac_link") 2>conftest.er1
29033 grep -v '^ *+' conftest.er1 >conftest.err
29035 cat conftest.err >&5
29036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29037 (exit $ac_status); } && {
29038 test -z "$ac_c_werror_flag" ||
29039 test ! -s conftest.err
29040 } && test -s conftest$ac_exeext &&
29041 $as_test_x conftest$ac_exeext; then
29043 # We can link X programs with no special library path.
29046 echo "$as_me: failed program was:" >&5
29047 sed 's/^/| /' conftest.$ac_ext >&5
29050 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s
/include
/lib
/g
`
29052 # Don't even attempt the hair of trying to link an X program!
29053 for ac_extension in a so sl; do
29054 if test -r "$ac_dir/libX11.$ac_extension"; then
29055 ac_x_libraries=$ac_dir
29062 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29063 conftest$ac_exeext conftest.$ac_ext
29064 fi # $ac_x_libraries = no
29066 case $ac_x_includes,$ac_x_libraries in #(
29067 no,* | *,no | *\'*)
29068 # Didn't find X, or a directory has "'" in its name.
29069 ac_cv_have_x="have_x=no";; #(
29071 # Record where we found X for the cache.
29072 ac_cv_have_x="have_x=yes\
29073 ac_x_includes='$ac_x_includes'\
29074 ac_x_libraries='$ac_x_libraries'"
29080 eval "$ac_cv_have_x"
29083 if test "$have_x" != yes; then
29084 { echo "$as_me:$LINENO: result: $have_x" >&5
29085 echo "${ECHO_T}$have_x" >&6; }
29088 # If each of the values was on the command line, it overrides each guess.
29089 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
29090 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
29091 # Update the cache value to reflect the command line values.
29092 ac_cv_have_x="have_x=yes\
29093 ac_x_includes='$x_includes'\
29094 ac_x_libraries='$x_libraries'"
29095 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
29096 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
29099 if test "$no_x" = yes; then
29100 # Not all programs may use this symbol, but it does not hurt to define it.
29102 cat >>confdefs.h <<\_ACEOF
29103 #define X_DISPLAY_MISSING 1
29106 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
29108 if test -n "$x_includes"; then
29109 X_CFLAGS="$X_CFLAGS -I$x_includes"
29112 # It would also be nice to do this for all -L options, not just this one.
29113 if test -n "$x_libraries"; then
29114 X_LIBS="$X_LIBS -L$x_libraries"
29115 # For Solaris; some versions of Sun CC require a space after -R and
29116 # others require no space. Words are not sufficient . . . .
29117 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29118 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
29119 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
29120 ac_xsave_c_werror_flag=$ac_c_werror_flag
29121 ac_c_werror_flag=yes
29122 cat >conftest.$ac_ext <<_ACEOF
29125 cat confdefs.h >>conftest.$ac_ext
29126 cat >>conftest.$ac_ext <<_ACEOF
29127 /* end confdefs.h. */
29137 rm -f conftest.$ac_objext conftest$ac_exeext
29138 if { (ac_try="$ac_link"
29139 case "(($ac_try" in
29140 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29141 *) ac_try_echo
=$ac_try;;
29143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29144 (eval "$ac_link") 2>conftest.er1
29146 grep -v '^ *+' conftest.er1
>conftest.err
29148 cat conftest.err
>&5
29149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29150 (exit $ac_status); } && {
29151 test -z "$ac_c_werror_flag" ||
29152 test ! -s conftest.err
29153 } && test -s conftest
$ac_exeext &&
29154 $as_test_x conftest
$ac_exeext; then
29155 { echo "$as_me:$LINENO: result: no" >&5
29156 echo "${ECHO_T}no" >&6; }
29157 X_LIBS
="$X_LIBS -R$x_libraries"
29159 echo "$as_me: failed program was:" >&5
29160 sed 's/^/| /' conftest.
$ac_ext >&5
29162 LIBS
="$ac_xsave_LIBS -R $x_libraries"
29163 cat >conftest.
$ac_ext <<_ACEOF
29166 cat confdefs.h
>>conftest.
$ac_ext
29167 cat >>conftest.
$ac_ext <<_ACEOF
29168 /* end confdefs.h. */
29178 rm -f conftest.
$ac_objext conftest
$ac_exeext
29179 if { (ac_try
="$ac_link"
29180 case "(($ac_try" in
29181 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29182 *) ac_try_echo=$ac_try;;
29184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29185 (eval "$ac_link") 2>conftest.er1
29187 grep -v '^ *+' conftest.er1 >conftest.err
29189 cat conftest.err >&5
29190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29191 (exit $ac_status); } && {
29192 test -z "$ac_c_werror_flag" ||
29193 test ! -s conftest.err
29194 } && test -s conftest$ac_exeext &&
29195 $as_test_x conftest$ac_exeext; then
29196 { echo "$as_me:$LINENO: result: yes" >&5
29197 echo "${ECHO_T}yes" >&6; }
29198 X_LIBS="$X_LIBS -R $x_libraries"
29200 echo "$as_me: failed program was:" >&5
29201 sed 's/^/| /' conftest.$ac_ext >&5
29203 { echo "$as_me:$LINENO: result: neither works" >&5
29204 echo "${ECHO_T}neither works" >&6; }
29207 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29208 conftest$ac_exeext conftest.$ac_ext
29211 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29212 conftest$ac_exeext conftest.$ac_ext
29213 ac_c_werror_flag=$ac_xsave_c_werror_flag
29214 LIBS=$ac_xsave_LIBS
29217 # Check for system-dependent libraries X programs must link with.
29218 # Do this before checking for the system-independent R6 libraries
29219 # (-lICE), since we may need -lsocket or whatever for X linking.
29221 if test "$ISC" = yes; then
29222 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
29224 # Martyn Johnson says this is needed for Ultrix, if the X
29225 # libraries were built with DECnet support. And Karl Berry says
29226 # the Alpha needs dnet_stub (dnet does not exist).
29227 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
29228 cat >conftest.$ac_ext <<_ACEOF
29231 cat confdefs.h >>conftest.$ac_ext
29232 cat >>conftest.$ac_ext <<_ACEOF
29233 /* end confdefs.h. */
29235 /* Override any GCC internal prototype to avoid an error.
29236 Use char because int might match the return type of a GCC
29237 builtin and then its argument prototype would still apply. */
29241 char XOpenDisplay ();
29245 return XOpenDisplay ();
29250 rm -f conftest.$ac_objext conftest$ac_exeext
29251 if { (ac_try="$ac_link"
29252 case "(($ac_try" in
29253 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29254 *) ac_try_echo
=$ac_try;;
29256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29257 (eval "$ac_link") 2>conftest.er1
29259 grep -v '^ *+' conftest.er1
>conftest.err
29261 cat conftest.err
>&5
29262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29263 (exit $ac_status); } && {
29264 test -z "$ac_c_werror_flag" ||
29265 test ! -s conftest.err
29266 } && test -s conftest
$ac_exeext &&
29267 $as_test_x conftest
$ac_exeext; then
29270 echo "$as_me: failed program was:" >&5
29271 sed 's/^/| /' conftest.
$ac_ext >&5
29273 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29274 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
29275 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
29276 echo $ECHO_N "(cached) $ECHO_C" >&6
29278 ac_check_lib_save_LIBS
=$LIBS
29279 LIBS
="-ldnet $LIBS"
29280 cat >conftest.
$ac_ext <<_ACEOF
29283 cat confdefs.h
>>conftest.
$ac_ext
29284 cat >>conftest.
$ac_ext <<_ACEOF
29285 /* end confdefs.h. */
29287 /* Override any GCC internal prototype to avoid an error.
29288 Use char because int might match the return type of a GCC
29289 builtin and then its argument prototype would still apply. */
29297 return dnet_ntoa ();
29302 rm -f conftest.
$ac_objext conftest
$ac_exeext
29303 if { (ac_try
="$ac_link"
29304 case "(($ac_try" in
29305 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29306 *) ac_try_echo=$ac_try;;
29308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29309 (eval "$ac_link") 2>conftest.er1
29311 grep -v '^ *+' conftest.er1 >conftest.err
29313 cat conftest.err >&5
29314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29315 (exit $ac_status); } && {
29316 test -z "$ac_c_werror_flag" ||
29317 test ! -s conftest.err
29318 } && test -s conftest$ac_exeext &&
29319 $as_test_x conftest$ac_exeext; then
29320 ac_cv_lib_dnet_dnet_ntoa=yes
29322 echo "$as_me: failed program was:" >&5
29323 sed 's/^/| /' conftest.$ac_ext >&5
29325 ac_cv_lib_dnet_dnet_ntoa=no
29328 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29329 conftest$ac_exeext conftest.$ac_ext
29330 LIBS=$ac_check_lib_save_LIBS
29332 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
29333 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
29334 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
29335 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
29338 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
29339 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
29340 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
29341 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
29342 echo $ECHO_N "(cached) $ECHO_C" >&6
29344 ac_check_lib_save_LIBS=$LIBS
29345 LIBS="-ldnet_stub $LIBS"
29346 cat >conftest.$ac_ext <<_ACEOF
29349 cat confdefs.h >>conftest.$ac_ext
29350 cat >>conftest.$ac_ext <<_ACEOF
29351 /* end confdefs.h. */
29353 /* Override any GCC internal prototype to avoid an error.
29354 Use char because int might match the return type of a GCC
29355 builtin and then its argument prototype would still apply. */
29363 return dnet_ntoa ();
29368 rm -f conftest.$ac_objext conftest$ac_exeext
29369 if { (ac_try="$ac_link"
29370 case "(($ac_try" in
29371 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29372 *) ac_try_echo
=$ac_try;;
29374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29375 (eval "$ac_link") 2>conftest.er1
29377 grep -v '^ *+' conftest.er1
>conftest.err
29379 cat conftest.err
>&5
29380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29381 (exit $ac_status); } && {
29382 test -z "$ac_c_werror_flag" ||
29383 test ! -s conftest.err
29384 } && test -s conftest
$ac_exeext &&
29385 $as_test_x conftest
$ac_exeext; then
29386 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
29388 echo "$as_me: failed program was:" >&5
29389 sed 's/^/| /' conftest.
$ac_ext >&5
29391 ac_cv_lib_dnet_stub_dnet_ntoa
=no
29394 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
29395 conftest
$ac_exeext conftest.
$ac_ext
29396 LIBS
=$ac_check_lib_save_LIBS
29398 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
29399 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
29400 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
29401 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
29407 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
29408 conftest
$ac_exeext conftest.
$ac_ext
29409 LIBS
="$ac_xsave_LIBS"
29411 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
29412 # to get the SysV transport functions.
29413 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
29415 # The nsl library prevents programs from opening the X display
29416 # on Irix 5.2, according to T.E. Dickey.
29417 # The functions gethostbyname, getservbyname, and inet_addr are
29418 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
29419 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
29420 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
29421 if test "${ac_cv_func_gethostbyname+set}" = set; then
29422 echo $ECHO_N "(cached) $ECHO_C" >&6
29424 cat >conftest.
$ac_ext <<_ACEOF
29427 cat confdefs.h
>>conftest.
$ac_ext
29428 cat >>conftest.
$ac_ext <<_ACEOF
29429 /* end confdefs.h. */
29430 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
29431 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29432 #define gethostbyname innocuous_gethostbyname
29434 /* System header to define __stub macros and hopefully few prototypes,
29435 which can conflict with char gethostbyname (); below.
29436 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29437 <limits.h> exists even on freestanding compilers. */
29440 # include <limits.h>
29442 # include <assert.h>
29445 #undef gethostbyname
29447 /* Override any GCC internal prototype to avoid an error.
29448 Use char because int might match the return type of a GCC
29449 builtin and then its argument prototype would still apply. */
29453 char gethostbyname ();
29454 /* The GNU C library defines this for functions which it implements
29455 to always fail with ENOSYS. Some functions are actually named
29456 something starting with __ and the normal name is an alias. */
29457 #if defined __stub_gethostbyname || defined __stub___gethostbyname
29464 return gethostbyname ();
29469 rm -f conftest.
$ac_objext conftest
$ac_exeext
29470 if { (ac_try
="$ac_link"
29471 case "(($ac_try" in
29472 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29473 *) ac_try_echo=$ac_try;;
29475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29476 (eval "$ac_link") 2>conftest.er1
29478 grep -v '^ *+' conftest.er1 >conftest.err
29480 cat conftest.err >&5
29481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29482 (exit $ac_status); } && {
29483 test -z "$ac_c_werror_flag" ||
29484 test ! -s conftest.err
29485 } && test -s conftest$ac_exeext &&
29486 $as_test_x conftest$ac_exeext; then
29487 ac_cv_func_gethostbyname=yes
29489 echo "$as_me: failed program was:" >&5
29490 sed 's/^/| /' conftest.$ac_ext >&5
29492 ac_cv_func_gethostbyname=no
29495 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29496 conftest$ac_exeext conftest.$ac_ext
29498 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
29499 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
29501 if test $ac_cv_func_gethostbyname = no; then
29502 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
29503 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
29504 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
29505 echo $ECHO_N "(cached) $ECHO_C" >&6
29507 ac_check_lib_save_LIBS=$LIBS
29509 cat >conftest.$ac_ext <<_ACEOF
29512 cat confdefs.h >>conftest.$ac_ext
29513 cat >>conftest.$ac_ext <<_ACEOF
29514 /* end confdefs.h. */
29516 /* Override any GCC internal prototype to avoid an error.
29517 Use char because int might match the return type of a GCC
29518 builtin and then its argument prototype would still apply. */
29522 char gethostbyname ();
29526 return gethostbyname ();
29531 rm -f conftest.$ac_objext conftest$ac_exeext
29532 if { (ac_try="$ac_link"
29533 case "(($ac_try" in
29534 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29535 *) ac_try_echo
=$ac_try;;
29537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29538 (eval "$ac_link") 2>conftest.er1
29540 grep -v '^ *+' conftest.er1
>conftest.err
29542 cat conftest.err
>&5
29543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29544 (exit $ac_status); } && {
29545 test -z "$ac_c_werror_flag" ||
29546 test ! -s conftest.err
29547 } && test -s conftest
$ac_exeext &&
29548 $as_test_x conftest
$ac_exeext; then
29549 ac_cv_lib_nsl_gethostbyname
=yes
29551 echo "$as_me: failed program was:" >&5
29552 sed 's/^/| /' conftest.
$ac_ext >&5
29554 ac_cv_lib_nsl_gethostbyname
=no
29557 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
29558 conftest
$ac_exeext conftest.
$ac_ext
29559 LIBS
=$ac_check_lib_save_LIBS
29561 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
29562 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
29563 if test $ac_cv_lib_nsl_gethostbyname = yes; then
29564 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
29567 if test $ac_cv_lib_nsl_gethostbyname = no
; then
29568 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
29569 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
29570 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
29571 echo $ECHO_N "(cached) $ECHO_C" >&6
29573 ac_check_lib_save_LIBS
=$LIBS
29575 cat >conftest.
$ac_ext <<_ACEOF
29578 cat confdefs.h
>>conftest.
$ac_ext
29579 cat >>conftest.
$ac_ext <<_ACEOF
29580 /* end confdefs.h. */
29582 /* Override any GCC internal prototype to avoid an error.
29583 Use char because int might match the return type of a GCC
29584 builtin and then its argument prototype would still apply. */
29588 char gethostbyname ();
29592 return gethostbyname ();
29597 rm -f conftest.
$ac_objext conftest
$ac_exeext
29598 if { (ac_try
="$ac_link"
29599 case "(($ac_try" in
29600 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29601 *) ac_try_echo=$ac_try;;
29603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29604 (eval "$ac_link") 2>conftest.er1
29606 grep -v '^ *+' conftest.er1 >conftest.err
29608 cat conftest.err >&5
29609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29610 (exit $ac_status); } && {
29611 test -z "$ac_c_werror_flag" ||
29612 test ! -s conftest.err
29613 } && test -s conftest$ac_exeext &&
29614 $as_test_x conftest$ac_exeext; then
29615 ac_cv_lib_bsd_gethostbyname=yes
29617 echo "$as_me: failed program was:" >&5
29618 sed 's/^/| /' conftest.$ac_ext >&5
29620 ac_cv_lib_bsd_gethostbyname=no
29623 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29624 conftest$ac_exeext conftest.$ac_ext
29625 LIBS=$ac_check_lib_save_LIBS
29627 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
29628 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
29629 if test $ac_cv_lib_bsd_gethostbyname = yes; then
29630 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
29636 # lieder@skyler.mavd.honeywell.com says without -lsocket,
29637 # socket/setsockopt and other routines are undefined under SCO ODT
29638 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
29639 # on later versions), says Simon Leinen: it contains gethostby*
29640 # variants that don't use the name server (or something). -lsocket
29641 # must be given before -lnsl if both are needed. We assume that
29642 # if connect needs -lnsl, so does gethostbyname.
29643 { echo "$as_me:$LINENO: checking for connect" >&5
29644 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
29645 if test "${ac_cv_func_connect+set}" = set; then
29646 echo $ECHO_N "(cached) $ECHO_C" >&6
29648 cat >conftest.$ac_ext <<_ACEOF
29651 cat confdefs.h >>conftest.$ac_ext
29652 cat >>conftest.$ac_ext <<_ACEOF
29653 /* end confdefs.h. */
29654 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
29655 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29656 #define connect innocuous_connect
29658 /* System header to define __stub macros and hopefully few prototypes,
29659 which can conflict with char connect (); below.
29660 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29661 <limits.h> exists even on freestanding compilers. */
29664 # include <limits.h>
29666 # include <assert.h>
29671 /* Override any GCC internal prototype to avoid an error.
29672 Use char because int might match the return type of a GCC
29673 builtin and then its argument prototype would still apply. */
29678 /* The GNU C library defines this for functions which it implements
29679 to always fail with ENOSYS. Some functions are actually named
29680 something starting with __ and the normal name is an alias. */
29681 #if defined __stub_connect || defined __stub___connect
29693 rm -f conftest.$ac_objext conftest$ac_exeext
29694 if { (ac_try="$ac_link"
29695 case "(($ac_try" in
29696 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29697 *) ac_try_echo
=$ac_try;;
29699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29700 (eval "$ac_link") 2>conftest.er1
29702 grep -v '^ *+' conftest.er1
>conftest.err
29704 cat conftest.err
>&5
29705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29706 (exit $ac_status); } && {
29707 test -z "$ac_c_werror_flag" ||
29708 test ! -s conftest.err
29709 } && test -s conftest
$ac_exeext &&
29710 $as_test_x conftest
$ac_exeext; then
29711 ac_cv_func_connect
=yes
29713 echo "$as_me: failed program was:" >&5
29714 sed 's/^/| /' conftest.
$ac_ext >&5
29716 ac_cv_func_connect
=no
29719 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
29720 conftest
$ac_exeext conftest.
$ac_ext
29722 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
29723 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
29725 if test $ac_cv_func_connect = no
; then
29726 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
29727 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
29728 if test "${ac_cv_lib_socket_connect+set}" = set; then
29729 echo $ECHO_N "(cached) $ECHO_C" >&6
29731 ac_check_lib_save_LIBS
=$LIBS
29732 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
29733 cat >conftest.
$ac_ext <<_ACEOF
29736 cat confdefs.h
>>conftest.
$ac_ext
29737 cat >>conftest.
$ac_ext <<_ACEOF
29738 /* end confdefs.h. */
29740 /* Override any GCC internal prototype to avoid an error.
29741 Use char because int might match the return type of a GCC
29742 builtin and then its argument prototype would still apply. */
29755 rm -f conftest.
$ac_objext conftest
$ac_exeext
29756 if { (ac_try
="$ac_link"
29757 case "(($ac_try" in
29758 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29759 *) ac_try_echo=$ac_try;;
29761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29762 (eval "$ac_link") 2>conftest.er1
29764 grep -v '^ *+' conftest.er1 >conftest.err
29766 cat conftest.err >&5
29767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29768 (exit $ac_status); } && {
29769 test -z "$ac_c_werror_flag" ||
29770 test ! -s conftest.err
29771 } && test -s conftest$ac_exeext &&
29772 $as_test_x conftest$ac_exeext; then
29773 ac_cv_lib_socket_connect=yes
29775 echo "$as_me: failed program was:" >&5
29776 sed 's/^/| /' conftest.$ac_ext >&5
29778 ac_cv_lib_socket_connect=no
29781 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29782 conftest$ac_exeext conftest.$ac_ext
29783 LIBS=$ac_check_lib_save_LIBS
29785 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
29786 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
29787 if test $ac_cv_lib_socket_connect = yes; then
29788 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
29793 # Guillermo Gomez says -lposix is necessary on A/UX.
29794 { echo "$as_me:$LINENO: checking for remove" >&5
29795 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
29796 if test "${ac_cv_func_remove+set}" = set; then
29797 echo $ECHO_N "(cached) $ECHO_C" >&6
29799 cat >conftest.$ac_ext <<_ACEOF
29802 cat confdefs.h >>conftest.$ac_ext
29803 cat >>conftest.$ac_ext <<_ACEOF
29804 /* end confdefs.h. */
29805 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
29806 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29807 #define remove innocuous_remove
29809 /* System header to define __stub macros and hopefully few prototypes,
29810 which can conflict with char remove (); below.
29811 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29812 <limits.h> exists even on freestanding compilers. */
29815 # include <limits.h>
29817 # include <assert.h>
29822 /* Override any GCC internal prototype to avoid an error.
29823 Use char because int might match the return type of a GCC
29824 builtin and then its argument prototype would still apply. */
29829 /* The GNU C library defines this for functions which it implements
29830 to always fail with ENOSYS. Some functions are actually named
29831 something starting with __ and the normal name is an alias. */
29832 #if defined __stub_remove || defined __stub___remove
29844 rm -f conftest.$ac_objext conftest$ac_exeext
29845 if { (ac_try="$ac_link"
29846 case "(($ac_try" in
29847 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29848 *) ac_try_echo
=$ac_try;;
29850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29851 (eval "$ac_link") 2>conftest.er1
29853 grep -v '^ *+' conftest.er1
>conftest.err
29855 cat conftest.err
>&5
29856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29857 (exit $ac_status); } && {
29858 test -z "$ac_c_werror_flag" ||
29859 test ! -s conftest.err
29860 } && test -s conftest
$ac_exeext &&
29861 $as_test_x conftest
$ac_exeext; then
29862 ac_cv_func_remove
=yes
29864 echo "$as_me: failed program was:" >&5
29865 sed 's/^/| /' conftest.
$ac_ext >&5
29867 ac_cv_func_remove
=no
29870 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
29871 conftest
$ac_exeext conftest.
$ac_ext
29873 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
29874 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
29876 if test $ac_cv_func_remove = no
; then
29877 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
29878 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
29879 if test "${ac_cv_lib_posix_remove+set}" = set; then
29880 echo $ECHO_N "(cached) $ECHO_C" >&6
29882 ac_check_lib_save_LIBS
=$LIBS
29883 LIBS
="-lposix $LIBS"
29884 cat >conftest.
$ac_ext <<_ACEOF
29887 cat confdefs.h
>>conftest.
$ac_ext
29888 cat >>conftest.
$ac_ext <<_ACEOF
29889 /* end confdefs.h. */
29891 /* Override any GCC internal prototype to avoid an error.
29892 Use char because int might match the return type of a GCC
29893 builtin and then its argument prototype would still apply. */
29906 rm -f conftest.
$ac_objext conftest
$ac_exeext
29907 if { (ac_try
="$ac_link"
29908 case "(($ac_try" in
29909 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29910 *) ac_try_echo=$ac_try;;
29912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29913 (eval "$ac_link") 2>conftest.er1
29915 grep -v '^ *+' conftest.er1 >conftest.err
29917 cat conftest.err >&5
29918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29919 (exit $ac_status); } && {
29920 test -z "$ac_c_werror_flag" ||
29921 test ! -s conftest.err
29922 } && test -s conftest$ac_exeext &&
29923 $as_test_x conftest$ac_exeext; then
29924 ac_cv_lib_posix_remove=yes
29926 echo "$as_me: failed program was:" >&5
29927 sed 's/^/| /' conftest.$ac_ext >&5
29929 ac_cv_lib_posix_remove=no
29932 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29933 conftest$ac_exeext conftest.$ac_ext
29934 LIBS=$ac_check_lib_save_LIBS
29936 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
29937 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
29938 if test $ac_cv_lib_posix_remove = yes; then
29939 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
29944 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
29945 { echo "$as_me:$LINENO: checking for shmat" >&5
29946 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
29947 if test "${ac_cv_func_shmat+set}" = set; then
29948 echo $ECHO_N "(cached) $ECHO_C" >&6
29950 cat >conftest.$ac_ext <<_ACEOF
29953 cat confdefs.h >>conftest.$ac_ext
29954 cat >>conftest.$ac_ext <<_ACEOF
29955 /* end confdefs.h. */
29956 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
29957 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29958 #define shmat innocuous_shmat
29960 /* System header to define __stub macros and hopefully few prototypes,
29961 which can conflict with char shmat (); below.
29962 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29963 <limits.h> exists even on freestanding compilers. */
29966 # include <limits.h>
29968 # include <assert.h>
29973 /* Override any GCC internal prototype to avoid an error.
29974 Use char because int might match the return type of a GCC
29975 builtin and then its argument prototype would still apply. */
29980 /* The GNU C library defines this for functions which it implements
29981 to always fail with ENOSYS. Some functions are actually named
29982 something starting with __ and the normal name is an alias. */
29983 #if defined __stub_shmat || defined __stub___shmat
29995 rm -f conftest.$ac_objext conftest$ac_exeext
29996 if { (ac_try="$ac_link"
29997 case "(($ac_try" in
29998 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29999 *) ac_try_echo
=$ac_try;;
30001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30002 (eval "$ac_link") 2>conftest.er1
30004 grep -v '^ *+' conftest.er1
>conftest.err
30006 cat conftest.err
>&5
30007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30008 (exit $ac_status); } && {
30009 test -z "$ac_c_werror_flag" ||
30010 test ! -s conftest.err
30011 } && test -s conftest
$ac_exeext &&
30012 $as_test_x conftest
$ac_exeext; then
30013 ac_cv_func_shmat
=yes
30015 echo "$as_me: failed program was:" >&5
30016 sed 's/^/| /' conftest.
$ac_ext >&5
30018 ac_cv_func_shmat
=no
30021 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30022 conftest
$ac_exeext conftest.
$ac_ext
30024 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30025 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
30027 if test $ac_cv_func_shmat = no
; then
30028 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30029 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
30030 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30031 echo $ECHO_N "(cached) $ECHO_C" >&6
30033 ac_check_lib_save_LIBS
=$LIBS
30035 cat >conftest.
$ac_ext <<_ACEOF
30038 cat confdefs.h
>>conftest.
$ac_ext
30039 cat >>conftest.
$ac_ext <<_ACEOF
30040 /* end confdefs.h. */
30042 /* Override any GCC internal prototype to avoid an error.
30043 Use char because int might match the return type of a GCC
30044 builtin and then its argument prototype would still apply. */
30057 rm -f conftest.
$ac_objext conftest
$ac_exeext
30058 if { (ac_try
="$ac_link"
30059 case "(($ac_try" in
30060 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30061 *) ac_try_echo=$ac_try;;
30063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30064 (eval "$ac_link") 2>conftest.er1
30066 grep -v '^ *+' conftest.er1 >conftest.err
30068 cat conftest.err >&5
30069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30070 (exit $ac_status); } && {
30071 test -z "$ac_c_werror_flag" ||
30072 test ! -s conftest.err
30073 } && test -s conftest$ac_exeext &&
30074 $as_test_x conftest$ac_exeext; then
30075 ac_cv_lib_ipc_shmat=yes
30077 echo "$as_me: failed program was:" >&5
30078 sed 's/^/| /' conftest.$ac_ext >&5
30080 ac_cv_lib_ipc_shmat=no
30083 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30084 conftest$ac_exeext conftest.$ac_ext
30085 LIBS=$ac_check_lib_save_LIBS
30087 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30088 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
30089 if test $ac_cv_lib_ipc_shmat = yes; then
30090 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
30096 # Check for libraries that X11R6 Xt/Xaw programs need.
30097 ac_save_LDFLAGS=$LDFLAGS
30098 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
30099 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30100 # check for ICE first), but we must link in the order -lSM -lICE or
30101 # we get undefined symbols. So assume we have SM if we have ICE.
30102 # These have to be linked with before -lX11, unlike the other
30103 # libraries we check for below, so use a different variable.
30104 # John Interrante, Karl Berry
30105 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30106 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
30107 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30108 echo $ECHO_N "(cached) $ECHO_C" >&6
30110 ac_check_lib_save_LIBS=$LIBS
30111 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
30112 cat >conftest.$ac_ext <<_ACEOF
30115 cat confdefs.h >>conftest.$ac_ext
30116 cat >>conftest.$ac_ext <<_ACEOF
30117 /* end confdefs.h. */
30119 /* Override any GCC internal prototype to avoid an error.
30120 Use char because int might match the return type of a GCC
30121 builtin and then its argument prototype would still apply. */
30125 char IceConnectionNumber ();
30129 return IceConnectionNumber ();
30134 rm -f conftest.$ac_objext conftest$ac_exeext
30135 if { (ac_try="$ac_link"
30136 case "(($ac_try" in
30137 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30138 *) ac_try_echo
=$ac_try;;
30140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30141 (eval "$ac_link") 2>conftest.er1
30143 grep -v '^ *+' conftest.er1
>conftest.err
30145 cat conftest.err
>&5
30146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30147 (exit $ac_status); } && {
30148 test -z "$ac_c_werror_flag" ||
30149 test ! -s conftest.err
30150 } && test -s conftest
$ac_exeext &&
30151 $as_test_x conftest
$ac_exeext; then
30152 ac_cv_lib_ICE_IceConnectionNumber
=yes
30154 echo "$as_me: failed program was:" >&5
30155 sed 's/^/| /' conftest.
$ac_ext >&5
30157 ac_cv_lib_ICE_IceConnectionNumber
=no
30160 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30161 conftest
$ac_exeext conftest.
$ac_ext
30162 LIBS
=$ac_check_lib_save_LIBS
30164 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30165 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
30166 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
30167 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
30170 LDFLAGS
=$ac_save_LDFLAGS
30175 if test "$no_x" = "yes"; then
30176 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30177 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30178 { (exit 1); exit 1; }; }
30181 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30182 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
30183 AFMINSTALL
=afminstall
30184 COMPILED_X_PROGRAM
=0
30188 if test "$wxUSE_X11" = 1; then
30189 if test "$wxUSE_NANOX" = "yes"; then
30190 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30191 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
30192 if test "x$MICROWIN" = x
; then
30193 { echo "$as_me:$LINENO: result: not found" >&5
30194 echo "${ECHO_T}not found" >&6; }
30195 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30196 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30197 { (exit 1); exit 1; }; }
30199 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
30200 echo "${ECHO_T}$MICROWIN" >&6; }
30201 cat >>confdefs.h
<<\_ACEOF
30202 #define wxUSE_NANOX 1
30208 if test "$wxUSE_UNICODE" = "yes"; then
30211 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30212 if test -n "$ac_tool_prefix"; then
30213 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30214 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
30215 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30216 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30217 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30218 echo $ECHO_N "(cached) $ECHO_C" >&6
30220 case $PKG_CONFIG in
30222 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
30225 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30226 for as_dir
in $PATH
30229 test -z "$as_dir" && as_dir
=.
30230 for ac_exec_ext
in '' $ac_executable_extensions; do
30231 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30232 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
30233 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30243 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
30244 if test -n "$PKG_CONFIG"; then
30245 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30246 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30248 { echo "$as_me:$LINENO: result: no" >&5
30249 echo "${ECHO_T}no" >&6; }
30254 if test -z "$ac_cv_path_PKG_CONFIG"; then
30255 ac_pt_PKG_CONFIG
=$PKG_CONFIG
30256 # Extract the first word of "pkg-config", so it can be a program name with args.
30257 set dummy pkg
-config; ac_word
=$2
30258 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30259 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30260 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30261 echo $ECHO_N "(cached) $ECHO_C" >&6
30263 case $ac_pt_PKG_CONFIG in
30265 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30268 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30269 for as_dir
in $PATH
30272 test -z "$as_dir" && as_dir
=.
30273 for ac_exec_ext
in '' $ac_executable_extensions; do
30274 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30275 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
30276 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30286 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
30287 if test -n "$ac_pt_PKG_CONFIG"; then
30288 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30289 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
30291 { echo "$as_me:$LINENO: result: no" >&5
30292 echo "${ECHO_T}no" >&6; }
30295 if test "x$ac_pt_PKG_CONFIG" = x
; then
30298 case $cross_compiling:$ac_tool_warned in
30300 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30301 whose name does not start with the host triplet. If you think this
30302 configuration is useful to you, please write to autoconf@gnu.org." >&5
30303 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30304 whose name does not start with the host triplet. If you think this
30305 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30306 ac_tool_warned
=yes ;;
30308 PKG_CONFIG
=$ac_pt_PKG_CONFIG
30311 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
30315 if test -n "$PKG_CONFIG"; then
30316 _pkg_min_version
=0.9.0
30317 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30318 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
30319 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30320 { echo "$as_me:$LINENO: result: yes" >&5
30321 echo "${ECHO_T}yes" >&6; }
30323 { echo "$as_me:$LINENO: result: no" >&5
30324 echo "${ECHO_T}no" >&6; }
30332 { echo "$as_me:$LINENO: checking for PANGOX" >&5
30333 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
30335 if test -n "$PKG_CONFIG"; then
30336 if test -n "$PANGOX_CFLAGS"; then
30337 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
30339 if test -n "$PKG_CONFIG" && \
30340 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30341 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30344 (exit $ac_status); }; then
30345 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
30353 if test -n "$PKG_CONFIG"; then
30354 if test -n "$PANGOX_LIBS"; then
30355 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
30357 if test -n "$PKG_CONFIG" && \
30358 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30359 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30362 (exit $ac_status); }; then
30363 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
30374 if test $pkg_failed = yes; then
30376 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30377 _pkg_short_errors_supported
=yes
30379 _pkg_short_errors_supported
=no
30381 if test $_pkg_short_errors_supported = yes; then
30382 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
30384 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
30386 # Put the nasty error message in config.log where it belongs
30387 echo "$PANGOX_PKG_ERRORS" >&5
30390 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30391 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30392 { (exit 1); exit 1; }; }
30395 elif test $pkg_failed = untried
; then
30397 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30398 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30399 { (exit 1); exit 1; }; }
30403 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
30404 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
30405 { echo "$as_me:$LINENO: result: yes" >&5
30406 echo "${ECHO_T}yes" >&6; }
30408 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
30409 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
30410 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
30415 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
30416 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
30418 if test -n "$PKG_CONFIG"; then
30419 if test -n "$PANGOFT2_CFLAGS"; then
30420 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
30422 if test -n "$PKG_CONFIG" && \
30423 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30424 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30427 (exit $ac_status); }; then
30428 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
30436 if test -n "$PKG_CONFIG"; then
30437 if test -n "$PANGOFT2_LIBS"; then
30438 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
30440 if test -n "$PKG_CONFIG" && \
30441 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30442 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30445 (exit $ac_status); }; then
30446 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
30457 if test $pkg_failed = yes; then
30459 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30460 _pkg_short_errors_supported
=yes
30462 _pkg_short_errors_supported
=no
30464 if test $_pkg_short_errors_supported = yes; then
30465 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
30467 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
30469 # Put the nasty error message in config.log where it belongs
30470 echo "$PANGOFT2_PKG_ERRORS" >&5
30473 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30474 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30475 wxUSE_PRINTING_ARCHITECTURE
="no"
30478 elif test $pkg_failed = untried
; then
30480 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30481 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30482 wxUSE_PRINTING_ARCHITECTURE
="no"
30486 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
30487 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
30488 { echo "$as_me:$LINENO: result: yes" >&5
30489 echo "${ECHO_T}yes" >&6; }
30491 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
30492 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
30493 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
30498 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
30499 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
30501 if test -n "$PKG_CONFIG"; then
30502 if test -n "$PANGOXFT_CFLAGS"; then
30503 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
30505 if test -n "$PKG_CONFIG" && \
30506 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30507 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30510 (exit $ac_status); }; then
30511 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
30519 if test -n "$PKG_CONFIG"; then
30520 if test -n "$PANGOXFT_LIBS"; then
30521 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
30523 if test -n "$PKG_CONFIG" && \
30524 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30525 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30528 (exit $ac_status); }; then
30529 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
30540 if test $pkg_failed = yes; then
30542 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30543 _pkg_short_errors_supported
=yes
30545 _pkg_short_errors_supported
=no
30547 if test $_pkg_short_errors_supported = yes; then
30548 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
30550 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
30552 # Put the nasty error message in config.log where it belongs
30553 echo "$PANGOXFT_PKG_ERRORS" >&5
30556 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30557 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30560 elif test $pkg_failed = untried
; then
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;}
30567 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
30568 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
30569 { echo "$as_me:$LINENO: result: yes" >&5
30570 echo "${ECHO_T}yes" >&6; }
30572 cat >>confdefs.h
<<\_ACEOF
30573 #define HAVE_PANGO_XFT 1
30576 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
30577 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
30578 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
30582 LIBS
="$LIBS $PANGOX_LIBS"
30584 for ac_func
in pango_font_family_is_monospace
30586 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30587 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30588 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30589 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30590 echo $ECHO_N "(cached) $ECHO_C" >&6
30592 cat >conftest.
$ac_ext <<_ACEOF
30595 cat confdefs.h
>>conftest.
$ac_ext
30596 cat >>conftest.
$ac_ext <<_ACEOF
30597 /* end confdefs.h. */
30598 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30599 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30600 #define $ac_func innocuous_$ac_func
30602 /* System header to define __stub macros and hopefully few prototypes,
30603 which can conflict with char $ac_func (); below.
30604 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30605 <limits.h> exists even on freestanding compilers. */
30608 # include <limits.h>
30610 # include <assert.h>
30615 /* Override any GCC internal prototype to avoid an error.
30616 Use char because int might match the return type of a GCC
30617 builtin and then its argument prototype would still apply. */
30622 /* The GNU C library defines this for functions which it implements
30623 to always fail with ENOSYS. Some functions are actually named
30624 something starting with __ and the normal name is an alias. */
30625 #if defined __stub_$ac_func || defined __stub___$ac_func
30632 return $ac_func ();
30637 rm -f conftest.
$ac_objext conftest
$ac_exeext
30638 if { (ac_try
="$ac_link"
30639 case "(($ac_try" in
30640 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30641 *) ac_try_echo=$ac_try;;
30643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30644 (eval "$ac_link") 2>conftest.er1
30646 grep -v '^ *+' conftest.er1 >conftest.err
30648 cat conftest.err >&5
30649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30650 (exit $ac_status); } && {
30651 test -z "$ac_c_werror_flag" ||
30652 test ! -s conftest.err
30653 } && test -s conftest$ac_exeext &&
30654 $as_test_x conftest$ac_exeext; then
30655 eval "$as_ac_var=yes"
30657 echo "$as_me: failed program was:" >&5
30658 sed 's/^/| /' conftest.$ac_ext >&5
30660 eval "$as_ac_var=no"
30663 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30664 conftest$ac_exeext conftest.$ac_ext
30666 ac_res=`eval echo '${'$as_ac_var'}'`
30667 { echo "$as_me:$LINENO: result: $ac_res" >&5
30668 echo "${ECHO_T}$ac_res" >&6; }
30669 if test `eval echo '${'$as_ac_var'}'` = yes; then
30670 cat >>confdefs.h <<_ACEOF
30671 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30680 wxUSE_UNIVERSAL="yes"
30682 if test "$wxUSE_NANOX" = "yes"; then
30683 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
30684 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"
30685 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
30687 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
30694 if test "$wxUSE_MOTIF" = 1; then
30695 if test "$wxUSE_UNICODE" = "yes"; then
30696 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
30697 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
30698 { (exit 1); exit 1; }; }
30701 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
30702 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
30705 for ac_dir in $SEARCH_INCLUDE /usr/include;
30707 if test -f "$ac_dir/Xm/Xm.h"; then
30708 ac_find_includes=$ac_dir
30713 if test "$ac_find_includes" != "" ; then
30714 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
30715 echo "${ECHO_T}found in $ac_find_includes" >&6; }
30717 if test "x$ac_find_includes" = "x/usr/include"; then
30718 ac_path_to_include=""
30720 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
30722 if test $result = 0; then
30723 ac_path_to_include=""
30725 ac_path_to_include=" -I$ac_find_includes"
30729 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
30731 save_CFLAGS=$CFLAGS
30732 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30734 cat >conftest.$ac_ext <<_ACEOF
30737 cat confdefs.h >>conftest.$ac_ext
30738 cat >>conftest.$ac_ext <<_ACEOF
30739 /* end confdefs.h. */
30748 version = xmUseVersion;
30754 rm -f conftest.$ac_objext
30755 if { (ac_try="$ac_compile"
30756 case "(($ac_try" in
30757 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30758 *) ac_try_echo
=$ac_try;;
30760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30761 (eval "$ac_compile") 2>conftest.er1
30763 grep -v '^ *+' conftest.er1
>conftest.err
30765 cat conftest.err
>&5
30766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30767 (exit $ac_status); } && {
30768 test -z "$ac_c_werror_flag" ||
30769 test ! -s conftest.err
30770 } && test -s conftest.
$ac_objext; then
30772 { echo "$as_me:$LINENO: result: found in default search path" >&5
30773 echo "${ECHO_T}found in default search path" >&6; }
30774 COMPILED_X_PROGRAM
=1
30777 echo "$as_me: failed program was:" >&5
30778 sed 's/^/| /' conftest.
$ac_ext >&5
30781 { echo "$as_me:$LINENO: result: no" >&5
30782 echo "${ECHO_T}no" >&6; }
30783 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
30784 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
30785 { (exit 1); exit 1; }; }
30790 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30792 CFLAGS
=$save_CFLAGS
30796 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
30797 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
30800 for ac_dir
in $SEARCH_LIB;
30802 for ac_extension
in a so sl dylib dll.a
; do
30803 if test -f "$ac_dir/libXm.$ac_extension"; then
30804 ac_find_libraries
=$ac_dir
30811 if test "x$ac_find_libraries" != "x" ; then
30812 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30813 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
30816 if test "$ac_find_libraries" = "default location"; then
30819 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
30821 if test $result = 0; then
30824 ac_path_to_link
=" -L$ac_find_libraries"
30828 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
30830 save_CFLAGS
=$CFLAGS
30831 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
30833 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
30835 cat >conftest.
$ac_ext <<_ACEOF
30838 cat confdefs.h
>>conftest.
$ac_ext
30839 cat >>conftest.
$ac_ext <<_ACEOF
30840 /* end confdefs.h. */
30849 version = xmUseVersion;
30855 rm -f conftest.
$ac_objext conftest
$ac_exeext
30856 if { (ac_try
="$ac_link"
30857 case "(($ac_try" in
30858 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30859 *) ac_try_echo=$ac_try;;
30861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30862 (eval "$ac_link") 2>conftest.er1
30864 grep -v '^ *+' conftest.er1 >conftest.err
30866 cat conftest.err >&5
30867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30868 (exit $ac_status); } && {
30869 test -z "$ac_c_werror_flag" ||
30870 test ! -s conftest.err
30871 } && test -s conftest$ac_exeext &&
30872 $as_test_x conftest$ac_exeext; then
30874 { echo "$as_me:$LINENO: result: found in default search path" >&5
30875 echo "${ECHO_T}found in default search path" >&6; }
30876 COMPILED_X_PROGRAM=1
30879 echo "$as_me: failed program was:" >&5
30880 sed 's/^/| /' conftest.$ac_ext >&5
30883 { echo "$as_me:$LINENO: result: no" >&5
30884 echo "${ECHO_T}no" >&6; }
30885 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
30886 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
30887 { (exit 1); exit 1; }; }
30892 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30893 conftest$ac_exeext conftest.$ac_ext
30895 CFLAGS=$save_CFLAGS
30899 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
30900 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
30904 for libp in "" " -lXp"; do
30905 if test "$libs_found" = "0"; then
30906 for libsm_ice in "" " -lSM -lICE"; do
30907 if test "$libs_found" = "0"; then
30909 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
30910 save_CFLAGS=$CFLAGS
30911 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30913 cat >conftest.$ac_ext <<_ACEOF
30916 cat confdefs.h >>conftest.$ac_ext
30917 cat >>conftest.$ac_ext <<_ACEOF
30918 /* end confdefs.h. */
30921 #include <Xm/List.h>
30927 XmString string = NULL;
30930 XmListAddItem(w, string, position);
30936 rm -f conftest.$ac_objext conftest$ac_exeext
30937 if { (ac_try="$ac_link"
30938 case "(($ac_try" in
30939 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30940 *) ac_try_echo
=$ac_try;;
30942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30943 (eval "$ac_link") 2>conftest.er1
30945 grep -v '^ *+' conftest.er1
>conftest.err
30947 cat conftest.err
>&5
30948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30949 (exit $ac_status); } && {
30950 test -z "$ac_c_werror_flag" ||
30951 test ! -s conftest.err
30952 } && test -s conftest
$ac_exeext &&
30953 $as_test_x conftest
$ac_exeext; then
30956 libsm_ice_link
="$libsm_ice"
30957 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
30958 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
30962 echo "$as_me: failed program was:" >&5
30963 sed 's/^/| /' conftest.
$ac_ext >&5
30969 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30970 conftest
$ac_exeext conftest.
$ac_ext
30973 CFLAGS
=$save_CFLAGS
30979 if test "$libs_found" = "0"; then
30980 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
30981 echo "${ECHO_T}can't find the right libraries" >&6; }
30982 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
30983 echo "$as_me: error: can't link a simple motif program" >&2;}
30984 { (exit 1); exit 1; }; }
30987 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
30988 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
30989 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
30990 echo $ECHO_N "(cached) $ECHO_C" >&6
30992 ac_check_lib_save_LIBS
=$LIBS
30994 cat >conftest.
$ac_ext <<_ACEOF
30997 cat confdefs.h
>>conftest.
$ac_ext
30998 cat >>conftest.
$ac_ext <<_ACEOF
30999 /* end confdefs.h. */
31001 /* Override any GCC internal prototype to avoid an error.
31002 Use char because int might match the return type of a GCC
31003 builtin and then its argument prototype would still apply. */
31007 char SgCreateList ();
31011 return SgCreateList ();
31016 rm -f conftest.
$ac_objext conftest
$ac_exeext
31017 if { (ac_try
="$ac_link"
31018 case "(($ac_try" in
31019 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31020 *) ac_try_echo=$ac_try;;
31022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31023 (eval "$ac_link") 2>conftest.er1
31025 grep -v '^ *+' conftest.er1 >conftest.err
31027 cat conftest.err >&5
31028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31029 (exit $ac_status); } && {
31030 test -z "$ac_c_werror_flag" ||
31031 test ! -s conftest.err
31032 } && test -s conftest$ac_exeext &&
31033 $as_test_x conftest$ac_exeext; then
31034 ac_cv_lib_Sgm_SgCreateList=yes
31036 echo "$as_me: failed program was:" >&5
31037 sed 's/^/| /' conftest.$ac_ext >&5
31039 ac_cv_lib_Sgm_SgCreateList=no
31042 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31043 conftest$ac_exeext conftest.$ac_ext
31044 LIBS=$ac_check_lib_save_LIBS
31046 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
31047 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
31048 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
31049 libsgm_link=" -lSgm"
31053 save_CFLAGS=$CFLAGS
31054 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31056 { echo "$as_me:$LINENO: checking for Motif 2" >&5
31057 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
31058 if test "${wx_cv_lib_motif2+set}" = set; then
31059 echo $ECHO_N "(cached) $ECHO_C" >&6
31061 cat >conftest.$ac_ext <<_ACEOF
31064 cat confdefs.h >>conftest.$ac_ext
31065 cat >>conftest.$ac_ext <<_ACEOF
31066 /* end confdefs.h. */
31074 #if XmVersion < 2000
31082 rm -f conftest.$ac_objext
31083 if { (ac_try="$ac_compile"
31084 case "(($ac_try" in
31085 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31086 *) ac_try_echo
=$ac_try;;
31088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31089 (eval "$ac_compile") 2>conftest.er1
31091 grep -v '^ *+' conftest.er1
>conftest.err
31093 cat conftest.err
>&5
31094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31095 (exit $ac_status); } && {
31096 test -z "$ac_c_werror_flag" ||
31097 test ! -s conftest.err
31098 } && test -s conftest.
$ac_objext; then
31099 wx_cv_lib_motif2
="yes"
31101 echo "$as_me: failed program was:" >&5
31102 sed 's/^/| /' conftest.
$ac_ext >&5
31104 wx_cv_lib_motif2
="no"
31107 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31109 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
31110 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
31111 if test "$wx_cv_lib_motif2" = "yes"; then
31112 cat >>confdefs.h
<<\_ACEOF
31113 #define __WXMOTIF20__ 1
31117 cat >>confdefs.h
<<\_ACEOF
31118 #define __WXMOTIF20__ 0
31123 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
31124 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
31125 if test "${wx_cv_lib_lesstif+set}" = set; then
31126 echo $ECHO_N "(cached) $ECHO_C" >&6
31128 cat >conftest.
$ac_ext <<_ACEOF
31131 cat confdefs.h
>>conftest.
$ac_ext
31132 cat >>conftest.
$ac_ext <<_ACEOF
31133 /* end confdefs.h. */
31141 #if !defined(LesstifVersion) || LesstifVersion <= 0
31149 rm -f conftest.
$ac_objext
31150 if { (ac_try
="$ac_compile"
31151 case "(($ac_try" in
31152 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31153 *) ac_try_echo=$ac_try;;
31155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31156 (eval "$ac_compile") 2>conftest.er1
31158 grep -v '^ *+' conftest.er1 >conftest.err
31160 cat conftest.err >&5
31161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31162 (exit $ac_status); } && {
31163 test -z "$ac_c_werror_flag" ||
31164 test ! -s conftest.err
31165 } && test -s conftest.$ac_objext; then
31166 wx_cv_lib_lesstif="yes"
31168 echo "$as_me: failed program was:" >&5
31169 sed 's/^/| /' conftest.$ac_ext >&5
31171 wx_cv_lib_lesstif="no"
31174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31177 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31178 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
31179 if test "$wx_cv_lib_lesstif" = "yes"; then
31180 cat >>confdefs.h <<\_ACEOF
31181 #define __WXLESSTIF__ 1
31185 cat >>confdefs.h <<\_ACEOF
31186 #define __WXLESSTIF__ 0
31191 CFLAGS=$save_CFLAGS
31193 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31198 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31199 if test "$wxUSE_LIBXPM" = "sys"; then
31200 { echo "$as_me:$LINENO: checking for Xpm library" >&5
31201 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
31204 for ac_dir in $SEARCH_LIB;
31206 for ac_extension in a so sl dylib dll.a; do
31207 if test -f "$ac_dir/libXpm.$ac_extension"; then
31208 ac_find_libraries=$ac_dir
31214 if test "$ac_find_libraries" != "" ; then
31216 if test "$ac_find_libraries" = "default location"; then
31219 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31221 if test $result = 0; then
31224 ac_path_to_link=" -L$ac_find_libraries"
31228 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31229 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31230 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31232 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31233 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
31234 if test "${wx_cv_x11_xpm_h+set}" = set; then
31235 echo $ECHO_N "(cached) $ECHO_C" >&6
31238 save_CFLAGS=$CFLAGS
31239 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31241 cat >conftest.$ac_ext <<_ACEOF
31244 cat confdefs.h >>conftest.$ac_ext
31245 cat >>conftest.$ac_ext <<_ACEOF
31246 /* end confdefs.h. */
31248 #include <X11/xpm.h>
31255 version = XpmLibraryVersion();
31261 rm -f conftest.$ac_objext
31262 if { (ac_try="$ac_compile"
31263 case "(($ac_try" in
31264 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31265 *) ac_try_echo
=$ac_try;;
31267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31268 (eval "$ac_compile") 2>conftest.er1
31270 grep -v '^ *+' conftest.er1
>conftest.err
31272 cat conftest.err
>&5
31273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31274 (exit $ac_status); } && {
31275 test -z "$ac_c_werror_flag" ||
31276 test ! -s conftest.err
31277 } && test -s conftest.
$ac_objext; then
31278 wx_cv_x11_xpm_h
=yes
31280 echo "$as_me: failed program was:" >&5
31281 sed 's/^/| /' conftest.
$ac_ext >&5
31287 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31289 CFLAGS
=$save_CFLAGS
31293 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
31294 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
31296 if test $wx_cv_x11_xpm_h = "yes"; then
31297 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
31298 cat >>confdefs.h
<<\_ACEOF
31299 #define wxHAVE_LIB_XPM 1
31303 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
31304 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
31310 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
31311 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
31312 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
31313 echo $ECHO_N "(cached) $ECHO_C" >&6
31315 ac_check_lib_save_LIBS
=$LIBS
31316 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
31317 cat >conftest.
$ac_ext <<_ACEOF
31320 cat confdefs.h
>>conftest.
$ac_ext
31321 cat >>conftest.
$ac_ext <<_ACEOF
31322 /* end confdefs.h. */
31324 /* Override any GCC internal prototype to avoid an error.
31325 Use char because int might match the return type of a GCC
31326 builtin and then its argument prototype would still apply. */
31330 char XShapeQueryExtension ();
31334 return XShapeQueryExtension ();
31339 rm -f conftest.
$ac_objext conftest
$ac_exeext
31340 if { (ac_try
="$ac_link"
31341 case "(($ac_try" in
31342 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31343 *) ac_try_echo=$ac_try;;
31345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31346 (eval "$ac_link") 2>conftest.er1
31348 grep -v '^ *+' conftest.er1 >conftest.err
31350 cat conftest.err >&5
31351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31352 (exit $ac_status); } && {
31353 test -z "$ac_c_werror_flag" ||
31354 test ! -s conftest.err
31355 } && test -s conftest$ac_exeext &&
31356 $as_test_x conftest$ac_exeext; then
31357 ac_cv_lib_Xext_XShapeQueryExtension=yes
31359 echo "$as_me: failed program was:" >&5
31360 sed 's/^/| /' conftest.$ac_ext >&5
31362 ac_cv_lib_Xext_XShapeQueryExtension=no
31365 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31366 conftest$ac_exeext conftest.$ac_ext
31367 LIBS=$ac_check_lib_save_LIBS
31369 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
31370 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
31371 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
31373 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
31379 if test "$wxHAVE_XEXT_LIB" = 1; then
31380 save_CFLAGS="$CFLAGS"
31381 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31383 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
31384 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
31385 cat >conftest.$ac_ext <<_ACEOF
31388 cat confdefs.h >>conftest.$ac_ext
31389 cat >>conftest.$ac_ext <<_ACEOF
31390 /* end confdefs.h. */
31392 #include <X11/Xlib.h>
31393 #include <X11/extensions/shape.h>
31399 int dummy1, dummy2;
31400 XShapeQueryExtension((Display*)NULL,
31401 (int*)NULL, (int*)NULL);
31407 rm -f conftest.$ac_objext
31408 if { (ac_try="$ac_compile"
31409 case "(($ac_try" in
31410 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31411 *) ac_try_echo
=$ac_try;;
31413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31414 (eval "$ac_compile") 2>conftest.er1
31416 grep -v '^ *+' conftest.er1
>conftest.err
31418 cat conftest.err
>&5
31419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31420 (exit $ac_status); } && {
31421 test -z "$ac_c_werror_flag" ||
31422 test ! -s conftest.err
31423 } && test -s conftest.
$ac_objext; then
31425 cat >>confdefs.h
<<\_ACEOF
31426 #define HAVE_XSHAPE 1
31429 { echo "$as_me:$LINENO: result: found" >&5
31430 echo "${ECHO_T}found" >&6; }
31433 echo "$as_me: failed program was:" >&5
31434 sed 's/^/| /' conftest.
$ac_ext >&5
31437 { echo "$as_me:$LINENO: result: not found" >&5
31438 echo "${ECHO_T}not found" >&6; }
31442 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31443 CFLAGS
="$save_CFLAGS"
31448 if test "$wxUSE_MAC" = 1; then
31449 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
31450 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
31451 if test "$GCC" = yes; then
31452 { echo "$as_me:$LINENO: result: gcc" >&5
31453 echo "${ECHO_T}gcc" >&6; }
31454 CPPFLAGS_PASCAL
="-fpascal-strings"
31455 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
31456 { echo "$as_me:$LINENO: result: xlc" >&5
31457 echo "${ECHO_T}xlc" >&6; }
31458 CPPFLAGS_PASCAL
="-qmacpstr"
31460 { echo "$as_me:$LINENO: result: none" >&5
31461 echo "${ECHO_T}none" >&6; }
31464 if test "x$wxUSE_UNIX" = "xyes"; then
31465 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
31467 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
31472 WXBASEPORT
="_carbon"
31475 if test "$wxUSE_COCOA" = 1; then
31480 if test "$wxUSE_PM" = 1; then
31483 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
31484 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
31485 if test "${wx_cv_spbcdata+set}" = set; then
31486 echo $ECHO_N "(cached) $ECHO_C" >&6
31489 cat >conftest.
$ac_ext <<_ACEOF
31492 cat confdefs.h
>>conftest.
$ac_ext
31493 cat >>conftest.
$ac_ext <<_ACEOF
31494 /* end confdefs.h. */
31509 rm -f conftest.
$ac_objext
31510 if { (ac_try
="$ac_compile"
31511 case "(($ac_try" in
31512 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31513 *) ac_try_echo=$ac_try;;
31515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31516 (eval "$ac_compile") 2>conftest.er1
31518 grep -v '^ *+' conftest.er1 >conftest.err
31520 cat conftest.err >&5
31521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31522 (exit $ac_status); } && {
31523 test -z "$ac_c_werror_flag" ||
31524 test ! -s conftest.err
31525 } && test -s conftest.$ac_objext; then
31528 echo "$as_me: failed program was:" >&5
31529 sed 's/^/| /' conftest.$ac_ext >&5
31535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31539 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
31540 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
31542 if test $wx_cv_spbcdata = "yes"; then
31543 cat >>confdefs.h <<\_ACEOF
31544 #define HAVE_SPBCDATA 1
31550 if test "$TOOLKIT" = "PM" ; then
31553 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
31556 if test "$wxUSE_UNIVERSAL" = "yes"; then
31557 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
31561 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
31562 DISTDIR="wx\$(TOOLKIT)"
31568 if test "$USE_WIN32" = 1 ; then
31572 GUIDIST="BASE_DIST"
31578 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
31579 if test "$TOOLKIT" = "DFB" ; then
31580 wxUSE_UNICODE_UTF8=yes
31581 elif test "$TOOLKIT" = "GTK" -a "$WXGTK20" = "1" ; then
31582 wxUSE_UNICODE_UTF8=yes
31584 wxUSE_UNICODE_UTF8=no
31589 if test "$wxUSE_GUI" = "yes"; then
31590 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
31591 { echo "$as_me:$LINENO: checking for X11/Xlib.h" >&5
31592 echo $ECHO_N "checking for X11/Xlib.h... $ECHO_C" >&6; }
31593 if test "${ac_cv_header_X11_Xlib_h+set}" = set; then
31594 echo $ECHO_N "(cached) $ECHO_C" >&6
31596 cat >conftest.$ac_ext <<_ACEOF
31599 cat confdefs.h >>conftest.$ac_ext
31600 cat >>conftest.$ac_ext <<_ACEOF
31601 /* end confdefs.h. */
31604 #include <X11/Xlib.h>
31606 rm -f conftest.$ac_objext
31607 if { (ac_try="$ac_compile"
31608 case "(($ac_try" in
31609 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31610 *) ac_try_echo
=$ac_try;;
31612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31613 (eval "$ac_compile") 2>conftest.er1
31615 grep -v '^ *+' conftest.er1
>conftest.err
31617 cat conftest.err
>&5
31618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31619 (exit $ac_status); } && {
31620 test -z "$ac_c_werror_flag" ||
31621 test ! -s conftest.err
31622 } && test -s conftest.
$ac_objext; then
31623 ac_cv_header_X11_Xlib_h
=yes
31625 echo "$as_me: failed program was:" >&5
31626 sed 's/^/| /' conftest.
$ac_ext >&5
31628 ac_cv_header_X11_Xlib_h
=no
31631 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31633 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xlib_h" >&5
31634 echo "${ECHO_T}$ac_cv_header_X11_Xlib_h" >&6; }
31637 { echo "$as_me:$LINENO: checking for X11/XKBlib.h" >&5
31638 echo $ECHO_N "checking for X11/XKBlib.h... $ECHO_C" >&6; }
31639 if test "${ac_cv_header_X11_XKBlib_h+set}" = set; then
31640 echo $ECHO_N "(cached) $ECHO_C" >&6
31642 cat >conftest.
$ac_ext <<_ACEOF
31645 cat confdefs.h
>>conftest.
$ac_ext
31646 cat >>conftest.
$ac_ext <<_ACEOF
31647 /* end confdefs.h. */
31649 #if HAVE_X11_XLIB_H
31650 #include <X11/Xlib.h>
31654 #include <X11/XKBlib.h>
31656 rm -f conftest.
$ac_objext
31657 if { (ac_try
="$ac_compile"
31658 case "(($ac_try" in
31659 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31660 *) ac_try_echo=$ac_try;;
31662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31663 (eval "$ac_compile") 2>conftest.er1
31665 grep -v '^ *+' conftest.er1 >conftest.err
31667 cat conftest.err >&5
31668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31669 (exit $ac_status); } && {
31670 test -z "$ac_c_werror_flag" ||
31671 test ! -s conftest.err
31672 } && test -s conftest.$ac_objext; then
31673 ac_cv_header_X11_XKBlib_h=yes
31675 echo "$as_me: failed program was:" >&5
31676 sed 's/^/| /' conftest.$ac_ext >&5
31678 ac_cv_header_X11_XKBlib_h=no
31681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31683 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_XKBlib_h" >&5
31684 echo "${ECHO_T}$ac_cv_header_X11_XKBlib_h" >&6; }
31695 if test "$TOOLKIT" != "MSW" ; then
31697 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
31699 { echo "$as_me:$LINENO: checking for sql.h" >&5
31700 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
31701 if test "${ac_cv_header_sql_h+set}" = set; then
31702 echo $ECHO_N "(cached) $ECHO_C" >&6
31704 cat >conftest.$ac_ext <<_ACEOF
31707 cat confdefs.h >>conftest.$ac_ext
31708 cat >>conftest.$ac_ext <<_ACEOF
31709 /* end confdefs.h. */
31714 rm -f conftest.$ac_objext
31715 if { (ac_try="$ac_compile"
31716 case "(($ac_try" in
31717 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31718 *) ac_try_echo
=$ac_try;;
31720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31721 (eval "$ac_compile") 2>conftest.er1
31723 grep -v '^ *+' conftest.er1
>conftest.err
31725 cat conftest.err
>&5
31726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31727 (exit $ac_status); } && {
31728 test -z "$ac_c_werror_flag" ||
31729 test ! -s conftest.err
31730 } && test -s conftest.
$ac_objext; then
31731 ac_cv_header_sql_h
=yes
31733 echo "$as_me: failed program was:" >&5
31734 sed 's/^/| /' conftest.
$ac_ext >&5
31736 ac_cv_header_sql_h
=no
31739 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31741 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
31742 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
31743 if test $ac_cv_header_sql_h = yes; then
31748 if test "x$found_sql_h" = "x1" ; then
31749 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
31750 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6; }
31751 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
31752 echo $ECHO_N "(cached) $ECHO_C" >&6
31754 ac_check_lib_save_LIBS
=$LIBS
31755 LIBS
="-liodbc $LIBS"
31756 cat >conftest.
$ac_ext <<_ACEOF
31759 cat confdefs.h
>>conftest.
$ac_ext
31760 cat >>conftest.
$ac_ext <<_ACEOF
31761 /* end confdefs.h. */
31763 /* Override any GCC internal prototype to avoid an error.
31764 Use char because int might match the return type of a GCC
31765 builtin and then its argument prototype would still apply. */
31769 char SQLAllocEnv ();
31773 return SQLAllocEnv ();
31778 rm -f conftest.
$ac_objext conftest
$ac_exeext
31779 if { (ac_try
="$ac_link"
31780 case "(($ac_try" in
31781 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31782 *) ac_try_echo=$ac_try;;
31784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31785 (eval "$ac_link") 2>conftest.er1
31787 grep -v '^ *+' conftest.er1 >conftest.err
31789 cat conftest.err >&5
31790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31791 (exit $ac_status); } && {
31792 test -z "$ac_c_werror_flag" ||
31793 test ! -s conftest.err
31794 } && test -s conftest$ac_exeext &&
31795 $as_test_x conftest$ac_exeext; then
31796 ac_cv_lib_iodbc_SQLAllocEnv=yes
31798 echo "$as_me: failed program was:" >&5
31799 sed 's/^/| /' conftest.$ac_ext >&5
31801 ac_cv_lib_iodbc_SQLAllocEnv=no
31804 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31805 conftest$ac_exeext conftest.$ac_ext
31806 LIBS=$ac_check_lib_save_LIBS
31808 { echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
31809 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6; }
31810 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
31811 ODBC_LINK=" -liodbc"
31814 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
31815 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6; }
31816 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
31817 echo $ECHO_N "(cached) $ECHO_C" >&6
31819 ac_check_lib_save_LIBS=$LIBS
31820 LIBS="-lunixodbc $LIBS"
31821 cat >conftest.$ac_ext <<_ACEOF
31824 cat confdefs.h >>conftest.$ac_ext
31825 cat >>conftest.$ac_ext <<_ACEOF
31826 /* end confdefs.h. */
31828 /* Override any GCC internal prototype to avoid an error.
31829 Use char because int might match the return type of a GCC
31830 builtin and then its argument prototype would still apply. */
31834 char SQLAllocEnv ();
31838 return SQLAllocEnv ();
31843 rm -f conftest.$ac_objext conftest$ac_exeext
31844 if { (ac_try="$ac_link"
31845 case "(($ac_try" in
31846 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31847 *) ac_try_echo
=$ac_try;;
31849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31850 (eval "$ac_link") 2>conftest.er1
31852 grep -v '^ *+' conftest.er1
>conftest.err
31854 cat conftest.err
>&5
31855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31856 (exit $ac_status); } && {
31857 test -z "$ac_c_werror_flag" ||
31858 test ! -s conftest.err
31859 } && test -s conftest
$ac_exeext &&
31860 $as_test_x conftest
$ac_exeext; then
31861 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
31863 echo "$as_me: failed program was:" >&5
31864 sed 's/^/| /' conftest.
$ac_ext >&5
31866 ac_cv_lib_unixodbc_SQLAllocEnv
=no
31869 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31870 conftest
$ac_exeext conftest.
$ac_ext
31871 LIBS
=$ac_check_lib_save_LIBS
31873 { echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
31874 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6; }
31875 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
31876 ODBC_LINK
=" -lunixodbc"
31879 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
31880 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6; }
31881 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
31882 echo $ECHO_N "(cached) $ECHO_C" >&6
31884 ac_check_lib_save_LIBS
=$LIBS
31885 LIBS
="-lodbc $LIBS"
31886 cat >conftest.
$ac_ext <<_ACEOF
31889 cat confdefs.h
>>conftest.
$ac_ext
31890 cat >>conftest.
$ac_ext <<_ACEOF
31891 /* end confdefs.h. */
31893 /* Override any GCC internal prototype to avoid an error.
31894 Use char because int might match the return type of a GCC
31895 builtin and then its argument prototype would still apply. */
31899 char SQLAllocEnv ();
31903 return SQLAllocEnv ();
31908 rm -f conftest.
$ac_objext conftest
$ac_exeext
31909 if { (ac_try
="$ac_link"
31910 case "(($ac_try" in
31911 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31912 *) ac_try_echo=$ac_try;;
31914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31915 (eval "$ac_link") 2>conftest.er1
31917 grep -v '^ *+' conftest.er1 >conftest.err
31919 cat conftest.err >&5
31920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31921 (exit $ac_status); } && {
31922 test -z "$ac_c_werror_flag" ||
31923 test ! -s conftest.err
31924 } && test -s conftest$ac_exeext &&
31925 $as_test_x conftest$ac_exeext; then
31926 ac_cv_lib_odbc_SQLAllocEnv=yes
31928 echo "$as_me: failed program was:" >&5
31929 sed 's/^/| /' conftest.$ac_ext >&5
31931 ac_cv_lib_odbc_SQLAllocEnv=no
31934 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31935 conftest$ac_exeext conftest.$ac_ext
31936 LIBS=$ac_check_lib_save_LIBS
31938 { echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
31939 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6; }
31940 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
31941 ODBC_LINK=" -lodbc"
31951 if test "x$ODBC_LINK" = "x" ; then
31952 if test "$wxUSE_ODBC" = "sys" ; then
31953 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
31954 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
31955 { (exit 1); exit 1; }; }
31957 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
31958 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
31966 if test "$wxUSE_ODBC" = "builtin" ; then
31967 cat >>confdefs.h <<\_ACEOF
31968 #define wxUSE_BUILTIN_IODBC 1
31974 if test "$wxUSE_ODBC" != "no" ; then
31975 cat >>confdefs.h <<\_ACEOF
31976 #define wxUSE_ODBC 1
31979 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
31981 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
31985 if test "$wxUSE_DISPLAY" = "yes"; then
31986 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
31987 { echo "$as_me:$LINENO: checking for Xinerama" >&5
31988 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
31991 for ac_dir in $SEARCH_LIB;
31993 for ac_extension in a so sl dylib dll.a; do
31994 if test -f "$ac_dir/libXinerama.$ac_extension"; then
31995 ac_find_libraries=$ac_dir
32001 if test "$ac_find_libraries" != "" ; then
32003 if test "$ac_find_libraries" = "default location"; then
32006 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32008 if test $result = 0; then
32011 ac_path_to_link=" -L$ac_find_libraries"
32015 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32016 LDFLAGS="$LDFLAGS $ac_path_to_link"
32018 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32019 { echo "$as_me:$LINENO: result: yes" >&5
32020 echo "${ECHO_T}yes" >&6; }
32022 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32023 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32026 for ac_dir in $SEARCH_LIB;
32028 for ac_extension in a so sl dylib dll.a; do
32029 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32030 ac_find_libraries=$ac_dir
32036 if test "$ac_find_libraries" != "" ; then
32037 { echo "$as_me:$LINENO: result: yes" >&5
32038 echo "${ECHO_T}yes" >&6; }
32039 { echo "$as_me:$LINENO: checking for X11/extensions/xf86vmode.h" >&5
32040 echo $ECHO_N "checking for X11/extensions/xf86vmode.h... $ECHO_C" >&6; }
32041 if test "${ac_cv_header_X11_extensions_xf86vmode_h+set}" = set; then
32042 echo $ECHO_N "(cached) $ECHO_C" >&6
32044 cat >conftest.$ac_ext <<_ACEOF
32047 cat confdefs.h >>conftest.$ac_ext
32048 cat >>conftest.$ac_ext <<_ACEOF
32049 /* end confdefs.h. */
32051 #if HAVE_X11_XLIB_H
32052 #include <X11/Xlib.h>
32056 #include <X11/extensions/xf86vmode.h>
32058 rm -f conftest.$ac_objext
32059 if { (ac_try="$ac_compile"
32060 case "(($ac_try" in
32061 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32062 *) ac_try_echo
=$ac_try;;
32064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32065 (eval "$ac_compile") 2>conftest.er1
32067 grep -v '^ *+' conftest.er1
>conftest.err
32069 cat conftest.err
>&5
32070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32071 (exit $ac_status); } && {
32072 test -z "$ac_c_werror_flag" ||
32073 test ! -s conftest.err
32074 } && test -s conftest.
$ac_objext; then
32075 ac_cv_header_X11_extensions_xf86vmode_h
=yes
32077 echo "$as_me: failed program was:" >&5
32078 sed 's/^/| /' conftest.
$ac_ext >&5
32080 ac_cv_header_X11_extensions_xf86vmode_h
=no
32083 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32085 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_xf86vmode_h" >&5
32086 echo "${ECHO_T}$ac_cv_header_X11_extensions_xf86vmode_h" >&6; }
32087 if test $ac_cv_header_X11_extensions_xf86vmode_h = yes; then
32089 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
32095 { echo "$as_me:$LINENO: result: no" >&5
32096 echo "${ECHO_T}no" >&6; }
32100 { echo "$as_me:$LINENO: result: no" >&5
32101 echo "${ECHO_T}no" >&6; }
32102 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32103 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32106 elif test "$wxUSE_MSW" = 1; then
32107 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
32108 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
32109 if test "${ac_cv_header_ddraw_h+set}" = set; then
32110 echo $ECHO_N "(cached) $ECHO_C" >&6
32112 cat >conftest.
$ac_ext <<_ACEOF
32115 cat confdefs.h
>>conftest.
$ac_ext
32116 cat >>conftest.
$ac_ext <<_ACEOF
32117 /* end confdefs.h. */
32118 #include <windows.h>
32122 rm -f conftest.
$ac_objext
32123 if { (ac_try
="$ac_compile"
32124 case "(($ac_try" in
32125 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32126 *) ac_try_echo=$ac_try;;
32128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32129 (eval "$ac_compile") 2>conftest.er1
32131 grep -v '^ *+' conftest.er1 >conftest.err
32133 cat conftest.err >&5
32134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32135 (exit $ac_status); } && {
32136 test -z "$ac_c_werror_flag" ||
32137 test ! -s conftest.err
32138 } && test -s conftest.$ac_objext; then
32139 ac_cv_header_ddraw_h=yes
32141 echo "$as_me: failed program was:" >&5
32142 sed 's/^/| /' conftest.$ac_ext >&5
32144 ac_cv_header_ddraw_h=no
32147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32149 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
32150 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
32156 if test "$wxUSE_DETECT_SM" = "yes"; then
32157 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32158 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
32159 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
32162 for ac_dir in $SEARCH_LIB;
32164 for ac_extension in a so sl dylib dll.a; do
32165 if test -f "$ac_dir/libSM.$ac_extension"; then
32166 ac_find_libraries=$ac_dir
32172 if test "$ac_find_libraries" != "" ; then
32174 if test "$ac_find_libraries" = "default location"; then
32177 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32179 if test $result = 0; then
32182 ac_path_to_link=" -L$ac_find_libraries"
32186 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32187 LDFLAGS="$LDFLAGS $ac_path_to_link"
32189 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
32190 { echo "$as_me:$LINENO: result: yes" >&5
32191 echo "${ECHO_T}yes" >&6; }
32193 { echo "$as_me:$LINENO: result: no" >&5
32194 echo "${ECHO_T}no" >&6; }
32195 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
32196 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
32197 wxUSE_DETECT_SM="no"
32200 wxUSE_DETECT_SM="no"
32207 if test "$wxUSE_OPENGL" = "yes"; then
32208 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
32209 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
32210 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
32212 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
32213 OPENGL_LIBS="-framework OpenGL -framework AGL"
32214 elif test "$wxUSE_MSW" = 1; then
32215 OPENGL_LIBS="-lopengl32 -lglu32"
32217 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
32218 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
32221 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
32223 if test -f "$ac_dir/GL/gl.h"; then
32224 ac_find_includes=$ac_dir
32229 if test "$ac_find_includes" != "" ; then
32230 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32231 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32233 if test "x$ac_find_includes" = "x/usr/include"; then
32234 ac_path_to_include=""
32236 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
32238 if test $result = 0; then
32239 ac_path_to_include=""
32241 ac_path_to_include=" -I$ac_find_includes"
32245 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
32247 { echo "$as_me:$LINENO: result: not found" >&5
32248 echo "${ECHO_T}not found" >&6; }
32251 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32252 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
32253 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32254 echo $ECHO_N "(cached) $ECHO_C" >&6
32256 cat >conftest.$ac_ext <<_ACEOF
32259 cat confdefs.h >>conftest.$ac_ext
32260 cat >>conftest.$ac_ext <<_ACEOF
32261 /* end confdefs.h. */
32266 rm -f conftest.$ac_objext
32267 if { (ac_try="$ac_compile"
32268 case "(($ac_try" in
32269 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32270 *) ac_try_echo
=$ac_try;;
32272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32273 (eval "$ac_compile") 2>conftest.er1
32275 grep -v '^ *+' conftest.er1
>conftest.err
32277 cat conftest.err
>&5
32278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32279 (exit $ac_status); } && {
32280 test -z "$ac_c_werror_flag" ||
32281 test ! -s conftest.err
32282 } && test -s conftest.
$ac_objext; then
32283 ac_cv_header_GL_gl_h
=yes
32285 echo "$as_me: failed program was:" >&5
32286 sed 's/^/| /' conftest.
$ac_ext >&5
32288 ac_cv_header_GL_gl_h
=no
32291 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32293 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32294 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
32295 if test $ac_cv_header_GL_gl_h = yes; then
32297 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32298 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32299 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32300 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32301 echo $ECHO_N "(cached) $ECHO_C" >&6
32303 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32304 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32306 # Is the header compilable?
32307 { echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
32308 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6; }
32309 cat >conftest.
$ac_ext <<_ACEOF
32312 cat confdefs.h
>>conftest.
$ac_ext
32313 cat >>conftest.
$ac_ext <<_ACEOF
32314 /* end confdefs.h. */
32315 $ac_includes_default
32316 #include <GL/glu.h>
32318 rm -f conftest.
$ac_objext
32319 if { (ac_try
="$ac_compile"
32320 case "(($ac_try" in
32321 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32322 *) ac_try_echo=$ac_try;;
32324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32325 (eval "$ac_compile") 2>conftest.er1
32327 grep -v '^ *+' conftest.er1 >conftest.err
32329 cat conftest.err >&5
32330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32331 (exit $ac_status); } && {
32332 test -z "$ac_c_werror_flag" ||
32333 test ! -s conftest.err
32334 } && test -s conftest.$ac_objext; then
32335 ac_header_compiler=yes
32337 echo "$as_me: failed program was:" >&5
32338 sed 's/^/| /' conftest.$ac_ext >&5
32340 ac_header_compiler=no
32343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32344 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32345 echo "${ECHO_T}$ac_header_compiler" >&6; }
32347 # Is the header present?
32348 { echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
32349 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6; }
32350 cat >conftest.$ac_ext <<_ACEOF
32353 cat confdefs.h >>conftest.$ac_ext
32354 cat >>conftest.$ac_ext <<_ACEOF
32355 /* end confdefs.h. */
32356 #include <GL/glu.h>
32358 if { (ac_try="$ac_cpp conftest.$ac_ext"
32359 case "(($ac_try" in
32360 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32361 *) ac_try_echo
=$ac_try;;
32363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32364 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32366 grep -v '^ *+' conftest.er1
>conftest.err
32368 cat conftest.err
>&5
32369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32370 (exit $ac_status); } >/dev
/null
&& {
32371 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32372 test ! -s conftest.err
32374 ac_header_preproc
=yes
32376 echo "$as_me: failed program was:" >&5
32377 sed 's/^/| /' conftest.
$ac_ext >&5
32379 ac_header_preproc
=no
32382 rm -f conftest.err conftest.
$ac_ext
32383 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32384 echo "${ECHO_T}$ac_header_preproc" >&6; }
32386 # So? What about this header?
32387 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32389 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
32390 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32391 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
32392 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
32393 ac_header_preproc
=yes
32396 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
32397 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
32398 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
32399 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
32400 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
32401 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
32402 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
32403 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
32404 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
32405 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
32406 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
32407 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
32409 ## ----------------------------------------- ##
32410 ## Report this to wx-dev@lists.wxwidgets.org ##
32411 ## ----------------------------------------- ##
32413 ) | sed "s/^/$as_me: WARNING: /" >&2
32416 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32417 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32418 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32419 echo $ECHO_N "(cached) $ECHO_C" >&6
32421 ac_cv_header_GL_glu_h
=$ac_header_preproc
32423 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32424 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32427 if test $ac_cv_header_GL_glu_h = yes; then
32431 { echo "$as_me:$LINENO: checking for -lGL" >&5
32432 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
32435 for ac_dir
in $SEARCH_LIB /opt
/graphics
/OpenGL
/lib
;
32437 for ac_extension
in a so sl dylib dll.a
; do
32438 if test -f "$ac_dir/libGL.$ac_extension"; then
32439 ac_find_libraries
=$ac_dir
32445 if test "$ac_find_libraries" != "" ; then
32446 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32447 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32450 if test "$ac_find_libraries" = "default location"; then
32453 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
32455 if test $result = 0; then
32458 ac_path_to_link
=" -L$ac_find_libraries"
32462 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32463 LDFLAGS_GL
="$ac_path_to_link"
32466 { echo "$as_me:$LINENO: checking for -lGLU" >&5
32467 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
32470 for ac_dir
in $SEARCH_LIB;
32472 for ac_extension
in a so sl dylib dll.a
; do
32473 if test -f "$ac_dir/libGLU.$ac_extension"; then
32474 ac_find_libraries
=$ac_dir
32480 if test "$ac_find_libraries" != "" ; then
32482 if test "$ac_find_libraries" = "default location"; then
32485 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
32487 if test $result = 0; then
32490 ac_path_to_link
=" -L$ac_find_libraries"
32494 if test "$ac_path_to_link" != " -L/usr/lib" -a \
32495 "$ac_path_to_link" != "$LDFLAGS_GL"; then
32496 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
32500 OPENGL_LIBS
="-lGL -lGLU"
32501 { echo "$as_me:$LINENO: result: yes" >&5
32502 echo "${ECHO_T}yes" >&6; }
32504 { echo "$as_me:$LINENO: result: no" >&5
32505 echo "${ECHO_T}no" >&6; }
32508 { echo "$as_me:$LINENO: result: no" >&5
32509 echo "${ECHO_T}no" >&6; }
32512 if test "$found_gl" != 1; then
32513 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
32514 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
32517 for ac_dir
in $SEARCH_LIB;
32519 for ac_extension
in a so sl dylib dll.a
; do
32520 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
32521 ac_find_libraries
=$ac_dir
32527 if test "$ac_find_libraries" != "" ; then
32529 if test "$ac_find_libraries" = "default location"; then
32532 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
32534 if test $result = 0; then
32537 ac_path_to_link
=" -L$ac_find_libraries"
32541 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
32542 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
32543 { echo "$as_me:$LINENO: result: yes" >&5
32544 echo "${ECHO_T}yes" >&6; }
32546 { echo "$as_me:$LINENO: result: no" >&5
32547 echo "${ECHO_T}no" >&6; }
32559 if test "x$OPENGL_LIBS" = "x"; then
32560 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
32561 echo "$as_me: error: OpenGL libraries not available" >&2;}
32562 { (exit 1); exit 1; }; }
32566 if test "$wxUSE_OPENGL" = "yes"; then
32568 cat >>confdefs.h
<<\_ACEOF
32569 #define wxUSE_OPENGL 1
32572 cat >>confdefs.h
<<\_ACEOF
32573 #define wxUSE_GLCANVAS 1
32576 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
32581 if test -n "$TOOLKIT" ; then
32582 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
32587 if test "$wxUSE_SHARED" = "yes"; then
32591 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
32592 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
32597 if test "$wxUSE_SHARED" = "yes"; then
32601 *-*-cygwin* | *-*-mingw* )
32602 wx_cv_version_script
=no
32606 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
32607 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
32608 if test "${wx_cv_version_script+set}" = set; then
32609 echo $ECHO_N "(cached) $ECHO_C" >&6
32612 echo "VER_1 { *; };" >conftest.sym
32613 echo "int main() { return 0; }" >conftest.cpp
32616 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32617 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
32618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32619 (eval $ac_try) 2>&5
32621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32622 (exit $ac_status); }; } ; then
32623 if test -s conftest.stderr
; then
32624 wx_cv_version_script
=no
32626 wx_cv_version_script
=yes
32629 wx_cv_version_script
=no
32632 if test $wx_cv_version_script = yes
32634 echo "struct B { virtual ~B() { } }; \
32635 struct D : public B { }; \
32636 void F() { D d; }" > conftest.cpp
32639 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32640 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
32641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32642 (eval $ac_try) 2>&5
32644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32645 (exit $ac_status); }; } &&
32647 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32648 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
32649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32650 (eval $ac_try) 2>&5
32652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32653 (exit $ac_status); }; }
32656 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32657 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
32658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32659 (eval $ac_try) 2>&5
32661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32662 (exit $ac_status); }; }
32664 wx_cv_version_script
=yes
32666 wx_cv_version_script
=no
32671 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
32672 rm -f conftest1.output conftest2.output conftest3.output
32675 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
32676 echo "${ECHO_T}$wx_cv_version_script" >&6; }
32678 if test $wx_cv_version_script = yes ; then
32679 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(wx_top_builddir)/version-script"
32686 *-*-linux* | *-*-gnu* )
32687 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
32688 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
32692 if test "$GCC" = yes ; then
32693 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
32695 saveLdflags
="$LDFLAGS"
32696 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
32697 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
32698 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
32699 cat >conftest.
$ac_ext <<_ACEOF
32702 cat confdefs.h
>>conftest.
$ac_ext
32703 cat >>conftest.
$ac_ext <<_ACEOF
32704 /* end confdefs.h. */
32714 rm -f conftest.
$ac_objext conftest
$ac_exeext
32715 if { (ac_try
="$ac_link"
32716 case "(($ac_try" in
32717 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32718 *) ac_try_echo=$ac_try;;
32720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32721 (eval "$ac_link") 2>conftest.er1
32723 grep -v '^ *+' conftest.er1 >conftest.err
32725 cat conftest.err >&5
32726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32727 (exit $ac_status); } && {
32728 test -z "$ac_c_werror_flag" ||
32729 test ! -s conftest.err
32730 } && test -s conftest$ac_exeext &&
32731 $as_test_x conftest$ac_exeext; then
32733 { echo "$as_me:$LINENO: result: yes" >&5
32734 echo "${ECHO_T}yes" >&6; }
32735 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
32736 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
32739 echo "$as_me: failed program was:" >&5
32740 sed 's/^/| /' conftest.$ac_ext >&5
32743 { echo "$as_me:$LINENO: result: no" >&5
32744 echo "${ECHO_T}no" >&6; }
32745 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
32746 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
32747 LDFLAGS="$saveLdflags -Wl,-R,/"
32748 cat >conftest.$ac_ext <<_ACEOF
32751 cat confdefs.h >>conftest.$ac_ext
32752 cat >>conftest.$ac_ext <<_ACEOF
32753 /* end confdefs.h. */
32763 rm -f conftest.$ac_objext conftest$ac_exeext
32764 if { (ac_try="$ac_link"
32765 case "(($ac_try" in
32766 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32767 *) ac_try_echo
=$ac_try;;
32769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32770 (eval "$ac_link") 2>conftest.er1
32772 grep -v '^ *+' conftest.er1
>conftest.err
32774 cat conftest.err
>&5
32775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32776 (exit $ac_status); } && {
32777 test -z "$ac_c_werror_flag" ||
32778 test ! -s conftest.err
32779 } && test -s conftest
$ac_exeext &&
32780 $as_test_x conftest
$ac_exeext; then
32782 { echo "$as_me:$LINENO: result: yes" >&5
32783 echo "${ECHO_T}yes" >&6; }
32784 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
32785 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
32788 echo "$as_me: failed program was:" >&5
32789 sed 's/^/| /' conftest.
$ac_ext >&5
32792 { echo "$as_me:$LINENO: result: no" >&5
32793 echo "${ECHO_T}no" >&6; }
32797 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32798 conftest
$ac_exeext conftest.
$ac_ext
32802 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32803 conftest
$ac_exeext conftest.
$ac_ext
32804 LDFLAGS
="$saveLdflags"
32806 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
32807 WXCONFIG_RPATH
="-R\$libdir"
32812 install_name_tool
=`which install_name_tool`
32813 if test "$install_name_tool" -a -x "$install_name_tool"; then
32814 SAMPLES_RPATH_POSTLINK
="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
32815 cat <<EOF >change-install-names
32817 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
32818 inst_cmd="install_name_tool "
32819 for i in \${libnames} ; do
32820 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
32824 chmod +x change
-install-names
32828 *-*-cygwin* | *-*-mingw32* )
32829 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
32833 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
32834 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
32839 if test $wxUSE_RPATH = "no"; then
32840 SAMPLES_RPATH_FLAG
=''
32841 SAMPLES_RPATH_POSTLINK
=''
32849 config_linkage_component
="-static"
32856 lib_unicode_suffix
=
32858 if test "$wxUSE_UNICODE" = "yes"; then
32859 lib_unicode_suffix
=u
32860 WX_CHARTYPE
="unicode"
32865 WX_DEBUGTYPE
="release"
32867 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
32869 WX_DEBUGTYPE
="debug"
32873 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
32874 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
32877 if test "$wxUSE_DEBUG_INFO" = "yes"; then
32881 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
32883 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
32885 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
32887 if test "$cross_compiling" = "yes"; then
32888 HOST_SUFFIX
="-$host_alias"
32889 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
32890 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
32893 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32894 if test "${TOOLKIT_DIR}" = "os2"; then
32895 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32897 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32902 if test "$wxUSE_COCOA" = 1; then
32905 ac_cpp
='$CPP $CPPFLAGS'
32906 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32907 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32908 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32912 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
32913 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
32914 cat >conftest.
$ac_ext <<_ACEOF
32917 cat confdefs.h
>>conftest.
$ac_ext
32918 cat >>conftest.
$ac_ext <<_ACEOF
32919 /* end confdefs.h. */
32920 #include <AppKit/NSEvent.h>
32921 #include <CoreFoundation/CoreFoundation.h>
32931 rm -f conftest.
$ac_objext
32932 if { (ac_try
="$ac_compile"
32933 case "(($ac_try" in
32934 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32935 *) ac_try_echo=$ac_try;;
32937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32938 (eval "$ac_compile") 2>conftest.er1
32940 grep -v '^ *+' conftest.er1 >conftest.err
32942 cat conftest.err >&5
32943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32944 (exit $ac_status); } && {
32945 test -z "$ac_c_werror_flag" ||
32946 test ! -s conftest.err
32947 } && test -s conftest.$ac_objext; then
32948 { echo "$as_me:$LINENO: result: no" >&5
32949 echo "${ECHO_T}no" >&6; }
32951 echo "$as_me: failed program was:" >&5
32952 sed 's/^/| /' conftest.$ac_ext >&5
32954 { echo "$as_me:$LINENO: result: yes" >&5
32955 echo "${ECHO_T}yes" >&6; }
32956 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
32957 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
32958 cat >conftest.$ac_ext <<_ACEOF
32961 cat confdefs.h >>conftest.$ac_ext
32962 cat >>conftest.$ac_ext <<_ACEOF
32963 /* end confdefs.h. */
32964 #define __Point__ 1
32965 #include <AppKit/NSEvent.h>
32966 #include <CoreFoundation/CoreFoundation.h>
32976 rm -f conftest.$ac_objext
32977 if { (ac_try="$ac_compile"
32978 case "(($ac_try" in
32979 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32980 *) ac_try_echo
=$ac_try;;
32982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32983 (eval "$ac_compile") 2>conftest.er1
32985 grep -v '^ *+' conftest.er1
>conftest.err
32987 cat conftest.err
>&5
32988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32989 (exit $ac_status); } && {
32990 test -z "$ac_c_werror_flag" ||
32991 test ! -s conftest.err
32992 } && test -s conftest.
$ac_objext; then
32993 { echo "$as_me:$LINENO: result: yes" >&5
32994 echo "${ECHO_T}yes" >&6; }
32995 cat >>confdefs.h
<<\_ACEOF
32996 #define __Point__ 1
33001 echo "$as_me: failed program was:" >&5
33002 sed 's/^/| /' conftest.
$ac_ext >&5
33004 { { echo "$as_me:$LINENO: error: no
33005 See \`config.log' for more details." >&5
33006 echo "$as_me: error: no
33007 See \`config.log' for more details." >&2;}
33008 { (exit 1); exit 1; }; }
33012 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33016 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33018 ac_cpp
='$CPP $CPPFLAGS'
33019 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33020 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33021 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33025 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
33026 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
33027 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
33029 LIBWXMACRES
="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
33031 # Extract the first word of "Rez", so it can be a program name with args.
33032 set dummy Rez
; ac_word
=$2
33033 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33034 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33035 if test "${ac_cv_prog_REZ+set}" = set; then
33036 echo $ECHO_N "(cached) $ECHO_C" >&6
33038 if test -n "$REZ"; then
33039 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
33041 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33042 for as_dir
in $PATH
33045 test -z "$as_dir" && as_dir
=.
33046 for ac_exec_ext
in '' $ac_executable_extensions; do
33047 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33048 ac_cv_prog_REZ
="Rez"
33049 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33056 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
33059 REZ
=$ac_cv_prog_REZ
33060 if test -n "$REZ"; then
33061 { echo "$as_me:$LINENO: result: $REZ" >&5
33062 echo "${ECHO_T}$REZ" >&6; }
33064 { echo "$as_me:$LINENO: result: no" >&5
33065 echo "${ECHO_T}no" >&6; }
33069 # Extract the first word of "DeRez", so it can be a program name with args.
33070 set dummy DeRez
; ac_word
=$2
33071 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33072 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33073 if test "${ac_cv_prog_DEREZ+set}" = set; then
33074 echo $ECHO_N "(cached) $ECHO_C" >&6
33076 if test -n "$DEREZ"; then
33077 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
33079 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33080 for as_dir
in $PATH
33083 test -z "$as_dir" && as_dir
=.
33084 for ac_exec_ext
in '' $ac_executable_extensions; do
33085 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33086 ac_cv_prog_DEREZ
="DeRez"
33087 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33094 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
33097 DEREZ
=$ac_cv_prog_DEREZ
33098 if test -n "$DEREZ"; then
33099 { echo "$as_me:$LINENO: result: $DEREZ" >&5
33100 echo "${ECHO_T}$DEREZ" >&6; }
33102 { echo "$as_me:$LINENO: result: no" >&5
33103 echo "${ECHO_T}no" >&6; }
33107 # Extract the first word of "SetFile", so it can be a program name with args.
33108 set dummy SetFile
; ac_word
=$2
33109 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33110 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33111 if test "${ac_cv_prog_SETFILE+set}" = set; then
33112 echo $ECHO_N "(cached) $ECHO_C" >&6
33114 if test -n "$SETFILE"; then
33115 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
33117 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33118 for as_dir
in $PATH
33121 test -z "$as_dir" && as_dir
=.
33122 for ac_exec_ext
in '' $ac_executable_extensions; do
33123 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33124 ac_cv_prog_SETFILE
="SetFile"
33125 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33132 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
33135 SETFILE
=$ac_cv_prog_SETFILE
33136 if test -n "$SETFILE"; then
33137 { echo "$as_me:$LINENO: result: $SETFILE" >&5
33138 echo "${ECHO_T}$SETFILE" >&6; }
33140 { echo "$as_me:$LINENO: result: no" >&5
33141 echo "${ECHO_T}no" >&6; }
33146 MACSETFILE
="\$(SETFILE)"
33148 if test "$wxUSE_MAC" = 1; then
33149 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
33151 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
33153 POSTLINK_COMMAND
="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
33154 RESCOMP
="echo -n \| $REZ"
33155 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
33161 if test "$wxUSE_PM" = 1; then
33163 WXCONFIG_RESFLAGS
="-ep"
33165 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
33167 POSTLINK_COMMAND
="@true"
33174 { echo "$as_me:$LINENO: checking for mode_t" >&5
33175 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
33176 if test "${ac_cv_type_mode_t+set}" = set; then
33177 echo $ECHO_N "(cached) $ECHO_C" >&6
33179 cat >conftest.
$ac_ext <<_ACEOF
33182 cat confdefs.h
>>conftest.
$ac_ext
33183 cat >>conftest.
$ac_ext <<_ACEOF
33184 /* end confdefs.h. */
33185 $ac_includes_default
33186 typedef mode_t ac__type_new_;
33190 if ((ac__type_new_ *) 0)
33192 if (sizeof (ac__type_new_))
33198 rm -f conftest.
$ac_objext
33199 if { (ac_try
="$ac_compile"
33200 case "(($ac_try" in
33201 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33202 *) ac_try_echo=$ac_try;;
33204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33205 (eval "$ac_compile") 2>conftest.er1
33207 grep -v '^ *+' conftest.er1 >conftest.err
33209 cat conftest.err >&5
33210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33211 (exit $ac_status); } && {
33212 test -z "$ac_c_werror_flag" ||
33213 test ! -s conftest.err
33214 } && test -s conftest.$ac_objext; then
33215 ac_cv_type_mode_t=yes
33217 echo "$as_me: failed program was:" >&5
33218 sed 's/^/| /' conftest.$ac_ext >&5
33220 ac_cv_type_mode_t=no
33223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33225 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33226 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
33227 if test $ac_cv_type_mode_t = yes; then
33231 cat >>confdefs.h <<_ACEOF
33237 { echo "$as_me:$LINENO: checking for off_t" >&5
33238 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
33239 if test "${ac_cv_type_off_t+set}" = set; then
33240 echo $ECHO_N "(cached) $ECHO_C" >&6
33242 cat >conftest.$ac_ext <<_ACEOF
33245 cat confdefs.h >>conftest.$ac_ext
33246 cat >>conftest.$ac_ext <<_ACEOF
33247 /* end confdefs.h. */
33248 $ac_includes_default
33249 typedef off_t ac__type_new_;
33253 if ((ac__type_new_ *) 0)
33255 if (sizeof (ac__type_new_))
33261 rm -f conftest.$ac_objext
33262 if { (ac_try="$ac_compile"
33263 case "(($ac_try" in
33264 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33265 *) ac_try_echo
=$ac_try;;
33267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33268 (eval "$ac_compile") 2>conftest.er1
33270 grep -v '^ *+' conftest.er1
>conftest.err
33272 cat conftest.err
>&5
33273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33274 (exit $ac_status); } && {
33275 test -z "$ac_c_werror_flag" ||
33276 test ! -s conftest.err
33277 } && test -s conftest.
$ac_objext; then
33278 ac_cv_type_off_t
=yes
33280 echo "$as_me: failed program was:" >&5
33281 sed 's/^/| /' conftest.
$ac_ext >&5
33283 ac_cv_type_off_t
=no
33286 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33288 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33289 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
33290 if test $ac_cv_type_off_t = yes; then
33294 cat >>confdefs.h
<<_ACEOF
33295 #define off_t long int
33300 { echo "$as_me:$LINENO: checking for pid_t" >&5
33301 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
33302 if test "${ac_cv_type_pid_t+set}" = set; then
33303 echo $ECHO_N "(cached) $ECHO_C" >&6
33305 cat >conftest.
$ac_ext <<_ACEOF
33308 cat confdefs.h
>>conftest.
$ac_ext
33309 cat >>conftest.
$ac_ext <<_ACEOF
33310 /* end confdefs.h. */
33311 $ac_includes_default
33312 typedef pid_t ac__type_new_;
33316 if ((ac__type_new_ *) 0)
33318 if (sizeof (ac__type_new_))
33324 rm -f conftest.
$ac_objext
33325 if { (ac_try
="$ac_compile"
33326 case "(($ac_try" in
33327 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33328 *) ac_try_echo=$ac_try;;
33330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33331 (eval "$ac_compile") 2>conftest.er1
33333 grep -v '^ *+' conftest.er1 >conftest.err
33335 cat conftest.err >&5
33336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33337 (exit $ac_status); } && {
33338 test -z "$ac_c_werror_flag" ||
33339 test ! -s conftest.err
33340 } && test -s conftest.$ac_objext; then
33341 ac_cv_type_pid_t=yes
33343 echo "$as_me: failed program was:" >&5
33344 sed 's/^/| /' conftest.$ac_ext >&5
33346 ac_cv_type_pid_t=no
33349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33351 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
33352 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
33353 if test $ac_cv_type_pid_t = yes; then
33357 cat >>confdefs.h <<_ACEOF
33363 { echo "$as_me:$LINENO: checking for size_t" >&5
33364 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
33365 if test "${ac_cv_type_size_t+set}" = set; then
33366 echo $ECHO_N "(cached) $ECHO_C" >&6
33368 cat >conftest.$ac_ext <<_ACEOF
33371 cat confdefs.h >>conftest.$ac_ext
33372 cat >>conftest.$ac_ext <<_ACEOF
33373 /* end confdefs.h. */
33374 $ac_includes_default
33375 typedef size_t ac__type_new_;
33379 if ((ac__type_new_ *) 0)
33381 if (sizeof (ac__type_new_))
33387 rm -f conftest.$ac_objext
33388 if { (ac_try="$ac_compile"
33389 case "(($ac_try" in
33390 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33391 *) ac_try_echo
=$ac_try;;
33393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33394 (eval "$ac_compile") 2>conftest.er1
33396 grep -v '^ *+' conftest.er1
>conftest.err
33398 cat conftest.err
>&5
33399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33400 (exit $ac_status); } && {
33401 test -z "$ac_c_werror_flag" ||
33402 test ! -s conftest.err
33403 } && test -s conftest.
$ac_objext; then
33404 ac_cv_type_size_t
=yes
33406 echo "$as_me: failed program was:" >&5
33407 sed 's/^/| /' conftest.
$ac_ext >&5
33409 ac_cv_type_size_t
=no
33412 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33414 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
33415 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
33416 if test $ac_cv_type_size_t = yes; then
33420 cat >>confdefs.h
<<_ACEOF
33421 #define size_t unsigned int
33426 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
33427 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
33428 if test "${ac_cv_type_uid_t+set}" = set; then
33429 echo $ECHO_N "(cached) $ECHO_C" >&6
33431 cat >conftest.
$ac_ext <<_ACEOF
33434 cat confdefs.h
>>conftest.
$ac_ext
33435 cat >>conftest.
$ac_ext <<_ACEOF
33436 /* end confdefs.h. */
33437 #include <sys/types.h>
33440 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
33441 $EGREP "uid_t" >/dev
/null
2>&1; then
33442 ac_cv_type_uid_t
=yes
33444 ac_cv_type_uid_t
=no
33449 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
33450 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
33451 if test $ac_cv_type_uid_t = no
; then
33453 cat >>confdefs.h
<<\_ACEOF
33458 cat >>confdefs.h
<<\_ACEOF
33465 { echo "$as_me:$LINENO: checking for ssize_t" >&5
33466 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
33467 if test "${ac_cv_type_ssize_t+set}" = set; then
33468 echo $ECHO_N "(cached) $ECHO_C" >&6
33470 cat >conftest.
$ac_ext <<_ACEOF
33473 cat confdefs.h
>>conftest.
$ac_ext
33474 cat >>conftest.
$ac_ext <<_ACEOF
33475 /* end confdefs.h. */
33476 $ac_includes_default
33477 typedef ssize_t ac__type_new_;
33481 if ((ac__type_new_ *) 0)
33483 if (sizeof (ac__type_new_))
33489 rm -f conftest.
$ac_objext
33490 if { (ac_try
="$ac_compile"
33491 case "(($ac_try" in
33492 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33493 *) ac_try_echo=$ac_try;;
33495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33496 (eval "$ac_compile") 2>conftest.er1
33498 grep -v '^ *+' conftest.er1 >conftest.err
33500 cat conftest.err >&5
33501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33502 (exit $ac_status); } && {
33503 test -z "$ac_c_werror_flag" ||
33504 test ! -s conftest.err
33505 } && test -s conftest.$ac_objext; then
33506 ac_cv_type_ssize_t=yes
33508 echo "$as_me: failed program was:" >&5
33509 sed 's/^/| /' conftest.$ac_ext >&5
33511 ac_cv_type_ssize_t=no
33514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33516 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
33517 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
33518 if test $ac_cv_type_ssize_t = yes; then
33520 cat >>confdefs.h <<_ACEOF
33521 #define HAVE_SSIZE_T 1
33529 ac_cpp='$CXXCPP $CPPFLAGS'
33530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33533 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
33534 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
33535 if test "${wx_cv_size_t_is_uint+set}" = set; then
33536 echo $ECHO_N "(cached) $ECHO_C" >&6
33539 cat >conftest.$ac_ext <<_ACEOF
33542 cat confdefs.h >>conftest.$ac_ext
33543 cat >>conftest.$ac_ext <<_ACEOF
33544 /* end confdefs.h. */
33545 #include <stddef.h>
33552 struct Foo { void foo(size_t); void foo(unsigned int); };
33560 rm -f conftest.$ac_objext
33561 if { (ac_try="$ac_compile"
33562 case "(($ac_try" in
33563 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33564 *) ac_try_echo
=$ac_try;;
33566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33567 (eval "$ac_compile") 2>conftest.er1
33569 grep -v '^ *+' conftest.er1
>conftest.err
33571 cat conftest.err
>&5
33572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33573 (exit $ac_status); } && {
33574 test -z "$ac_cxx_werror_flag" ||
33575 test ! -s conftest.err
33576 } && test -s conftest.
$ac_objext; then
33577 wx_cv_size_t_is_uint
=no
33579 echo "$as_me: failed program was:" >&5
33580 sed 's/^/| /' conftest.
$ac_ext >&5
33582 wx_cv_size_t_is_uint
=yes
33586 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33590 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
33591 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
33593 if test "$wx_cv_size_t_is_uint" = "yes"; then
33594 cat >>confdefs.h
<<\_ACEOF
33595 #define wxSIZE_T_IS_UINT 1
33599 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
33600 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
33601 if test "${wx_cv_size_t_is_ulong+set}" = set; then
33602 echo $ECHO_N "(cached) $ECHO_C" >&6
33604 cat >conftest.
$ac_ext <<_ACEOF
33607 cat confdefs.h
>>conftest.
$ac_ext
33608 cat >>conftest.
$ac_ext <<_ACEOF
33609 /* end confdefs.h. */
33610 #include <stddef.h>
33617 struct Foo { void foo(size_t); void foo(unsigned long); };
33625 rm -f conftest.
$ac_objext
33626 if { (ac_try
="$ac_compile"
33627 case "(($ac_try" in
33628 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33629 *) ac_try_echo=$ac_try;;
33631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33632 (eval "$ac_compile") 2>conftest.er1
33634 grep -v '^ *+' conftest.er1 >conftest.err
33636 cat conftest.err >&5
33637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33638 (exit $ac_status); } && {
33639 test -z "$ac_cxx_werror_flag" ||
33640 test ! -s conftest.err
33641 } && test -s conftest.$ac_objext; then
33642 wx_cv_size_t_is_ulong=no
33644 echo "$as_me: failed program was:" >&5
33645 sed 's/^/| /' conftest.$ac_ext >&5
33647 wx_cv_size_t_is_ulong=yes
33651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33654 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
33655 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
33657 if test "$wx_cv_size_t_is_ulong" = "yes"; then
33658 cat >>confdefs.h <<\_ACEOF
33659 #define wxSIZE_T_IS_ULONG 1
33666 ac_cpp='$CPP $CPPFLAGS'
33667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33672 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
33673 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
33674 if test "${wx_cv_struct_pw_gecos+set}" = set; then
33675 echo $ECHO_N "(cached) $ECHO_C" >&6
33678 cat >conftest.$ac_ext <<_ACEOF
33681 cat confdefs.h >>conftest.$ac_ext
33682 cat >>conftest.$ac_ext <<_ACEOF
33683 /* end confdefs.h. */
33697 rm -f conftest.$ac_objext
33698 if { (ac_try="$ac_compile"
33699 case "(($ac_try" in
33700 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33701 *) ac_try_echo
=$ac_try;;
33703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33704 (eval "$ac_compile") 2>conftest.er1
33706 grep -v '^ *+' conftest.er1
>conftest.err
33708 cat conftest.err
>&5
33709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33710 (exit $ac_status); } && {
33711 test -z "$ac_c_werror_flag" ||
33712 test ! -s conftest.err
33713 } && test -s conftest.
$ac_objext; then
33715 wx_cv_struct_pw_gecos
=yes
33718 echo "$as_me: failed program was:" >&5
33719 sed 's/^/| /' conftest.
$ac_ext >&5
33722 wx_cv_struct_pw_gecos
=no
33727 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33731 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
33732 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
33734 if test "$wx_cv_struct_pw_gecos" = "yes"; then
33735 cat >>confdefs.h
<<\_ACEOF
33736 #define HAVE_PW_GECOS 1
33742 if test "$wxUSE_WCHAR_T" = "yes"; then
33743 cat >>confdefs.h
<<\_ACEOF
33744 #define wxUSE_WCHAR_T 1
33751 for ac_func
in wcslen
33753 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33754 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33755 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33756 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33757 echo $ECHO_N "(cached) $ECHO_C" >&6
33759 cat >conftest.
$ac_ext <<_ACEOF
33762 cat confdefs.h
>>conftest.
$ac_ext
33763 cat >>conftest.
$ac_ext <<_ACEOF
33764 /* end confdefs.h. */
33765 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33766 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33767 #define $ac_func innocuous_$ac_func
33769 /* System header to define __stub macros and hopefully few prototypes,
33770 which can conflict with char $ac_func (); below.
33771 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33772 <limits.h> exists even on freestanding compilers. */
33775 # include <limits.h>
33777 # include <assert.h>
33782 /* Override any GCC internal prototype to avoid an error.
33783 Use char because int might match the return type of a GCC
33784 builtin and then its argument prototype would still apply. */
33789 /* The GNU C library defines this for functions which it implements
33790 to always fail with ENOSYS. Some functions are actually named
33791 something starting with __ and the normal name is an alias. */
33792 #if defined __stub_$ac_func || defined __stub___$ac_func
33799 return $ac_func ();
33804 rm -f conftest.
$ac_objext conftest
$ac_exeext
33805 if { (ac_try
="$ac_link"
33806 case "(($ac_try" in
33807 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33808 *) ac_try_echo=$ac_try;;
33810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33811 (eval "$ac_link") 2>conftest.er1
33813 grep -v '^ *+' conftest.er1 >conftest.err
33815 cat conftest.err >&5
33816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33817 (exit $ac_status); } && {
33818 test -z "$ac_c_werror_flag" ||
33819 test ! -s conftest.err
33820 } && test -s conftest$ac_exeext &&
33821 $as_test_x conftest$ac_exeext; then
33822 eval "$as_ac_var=yes"
33824 echo "$as_me: failed program was:" >&5
33825 sed 's/^/| /' conftest.$ac_ext >&5
33827 eval "$as_ac_var=no"
33830 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33831 conftest$ac_exeext conftest.$ac_ext
33833 ac_res=`eval echo '${'$as_ac_var'}'`
33834 { echo "$as_me:$LINENO: result: $ac_res" >&5
33835 echo "${ECHO_T}$ac_res" >&6; }
33836 if test `eval echo '${'$as_ac_var'}'` = yes; then
33837 cat >>confdefs.h <<_ACEOF
33838 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33845 if test "$WCSLEN_FOUND" = 0; then
33846 if test "$TOOLKIT" = "MSW"; then
33847 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
33848 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
33849 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
33850 echo $ECHO_N "(cached) $ECHO_C" >&6
33852 ac_check_lib_save_LIBS=$LIBS
33853 LIBS="-lmsvcrt $LIBS"
33854 cat >conftest.$ac_ext <<_ACEOF
33857 cat confdefs.h >>conftest.$ac_ext
33858 cat >>conftest.$ac_ext <<_ACEOF
33859 /* end confdefs.h. */
33861 /* Override any GCC internal prototype to avoid an error.
33862 Use char because int might match the return type of a GCC
33863 builtin and then its argument prototype would still apply. */
33876 rm -f conftest.$ac_objext conftest$ac_exeext
33877 if { (ac_try="$ac_link"
33878 case "(($ac_try" in
33879 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33880 *) ac_try_echo
=$ac_try;;
33882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33883 (eval "$ac_link") 2>conftest.er1
33885 grep -v '^ *+' conftest.er1
>conftest.err
33887 cat conftest.err
>&5
33888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33889 (exit $ac_status); } && {
33890 test -z "$ac_c_werror_flag" ||
33891 test ! -s conftest.err
33892 } && test -s conftest
$ac_exeext &&
33893 $as_test_x conftest
$ac_exeext; then
33894 ac_cv_lib_msvcrt_wcslen
=yes
33896 echo "$as_me: failed program was:" >&5
33897 sed 's/^/| /' conftest.
$ac_ext >&5
33899 ac_cv_lib_msvcrt_wcslen
=no
33902 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33903 conftest
$ac_exeext conftest.
$ac_ext
33904 LIBS
=$ac_check_lib_save_LIBS
33906 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
33907 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
33908 if test $ac_cv_lib_msvcrt_wcslen = yes; then
33913 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
33914 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
33915 if test "${ac_cv_lib_w_wcslen+set}" = set; then
33916 echo $ECHO_N "(cached) $ECHO_C" >&6
33918 ac_check_lib_save_LIBS
=$LIBS
33920 cat >conftest.
$ac_ext <<_ACEOF
33923 cat confdefs.h
>>conftest.
$ac_ext
33924 cat >>conftest.
$ac_ext <<_ACEOF
33925 /* end confdefs.h. */
33927 /* Override any GCC internal prototype to avoid an error.
33928 Use char because int might match the return type of a GCC
33929 builtin and then its argument prototype would still apply. */
33942 rm -f conftest.
$ac_objext conftest
$ac_exeext
33943 if { (ac_try
="$ac_link"
33944 case "(($ac_try" in
33945 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33946 *) ac_try_echo=$ac_try;;
33948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33949 (eval "$ac_link") 2>conftest.er1
33951 grep -v '^ *+' conftest.er1 >conftest.err
33953 cat conftest.err >&5
33954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33955 (exit $ac_status); } && {
33956 test -z "$ac_c_werror_flag" ||
33957 test ! -s conftest.err
33958 } && test -s conftest$ac_exeext &&
33959 $as_test_x conftest$ac_exeext; then
33960 ac_cv_lib_w_wcslen=yes
33962 echo "$as_me: failed program was:" >&5
33963 sed 's/^/| /' conftest.$ac_ext >&5
33965 ac_cv_lib_w_wcslen=no
33968 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33969 conftest$ac_exeext conftest.$ac_ext
33970 LIBS=$ac_check_lib_save_LIBS
33972 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
33973 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
33974 if test $ac_cv_lib_w_wcslen = yes; then
33984 if test "$WCSLEN_FOUND" = 1; then
33985 cat >>confdefs.h <<\_ACEOF
33986 #define HAVE_WCSLEN 1
33991 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
33992 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
33995 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
33996 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
33997 if test "${ac_cv_type_mbstate_t+set}" = set; then
33998 echo $ECHO_N "(cached) $ECHO_C" >&6
34000 cat >conftest.$ac_ext <<_ACEOF
34003 cat confdefs.h >>conftest.$ac_ext
34004 cat >>conftest.$ac_ext <<_ACEOF
34005 /* end confdefs.h. */
34008 typedef mbstate_t ac__type_new_;
34012 if ((ac__type_new_ *) 0)
34014 if (sizeof (ac__type_new_))
34020 rm -f conftest.$ac_objext
34021 if { (ac_try="$ac_compile"
34022 case "(($ac_try" in
34023 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34024 *) ac_try_echo
=$ac_try;;
34026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34027 (eval "$ac_compile") 2>conftest.er1
34029 grep -v '^ *+' conftest.er1
>conftest.err
34031 cat conftest.err
>&5
34032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34033 (exit $ac_status); } && {
34034 test -z "$ac_c_werror_flag" ||
34035 test ! -s conftest.err
34036 } && test -s conftest.
$ac_objext; then
34037 ac_cv_type_mbstate_t
=yes
34039 echo "$as_me: failed program was:" >&5
34040 sed 's/^/| /' conftest.
$ac_ext >&5
34042 ac_cv_type_mbstate_t
=no
34045 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34047 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
34048 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
34049 if test $ac_cv_type_mbstate_t = yes; then
34051 cat >>confdefs.h
<<_ACEOF
34052 #define HAVE_MBSTATE_T 1
34056 for ac_func
in wcsrtombs
34058 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34059 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34060 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34061 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34062 echo $ECHO_N "(cached) $ECHO_C" >&6
34064 cat >conftest.
$ac_ext <<_ACEOF
34067 cat confdefs.h
>>conftest.
$ac_ext
34068 cat >>conftest.
$ac_ext <<_ACEOF
34069 /* end confdefs.h. */
34070 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34071 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34072 #define $ac_func innocuous_$ac_func
34074 /* System header to define __stub macros and hopefully few prototypes,
34075 which can conflict with char $ac_func (); below.
34076 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34077 <limits.h> exists even on freestanding compilers. */
34080 # include <limits.h>
34082 # include <assert.h>
34087 /* Override any GCC internal prototype to avoid an error.
34088 Use char because int might match the return type of a GCC
34089 builtin and then its argument prototype would still apply. */
34094 /* The GNU C library defines this for functions which it implements
34095 to always fail with ENOSYS. Some functions are actually named
34096 something starting with __ and the normal name is an alias. */
34097 #if defined __stub_$ac_func || defined __stub___$ac_func
34104 return $ac_func ();
34109 rm -f conftest.
$ac_objext conftest
$ac_exeext
34110 if { (ac_try
="$ac_link"
34111 case "(($ac_try" in
34112 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34113 *) ac_try_echo=$ac_try;;
34115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34116 (eval "$ac_link") 2>conftest.er1
34118 grep -v '^ *+' conftest.er1 >conftest.err
34120 cat conftest.err >&5
34121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34122 (exit $ac_status); } && {
34123 test -z "$ac_c_werror_flag" ||
34124 test ! -s conftest.err
34125 } && test -s conftest$ac_exeext &&
34126 $as_test_x conftest$ac_exeext; then
34127 eval "$as_ac_var=yes"
34129 echo "$as_me: failed program was:" >&5
34130 sed 's/^/| /' conftest.$ac_ext >&5
34132 eval "$as_ac_var=no"
34135 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34136 conftest$ac_exeext conftest.$ac_ext
34138 ac_res=`eval echo '${'$as_ac_var'}'`
34139 { echo "$as_me:$LINENO: result: $ac_res" >&5
34140 echo "${ECHO_T}$ac_res" >&6; }
34141 if test `eval echo '${'$as_ac_var'}'` = yes; then
34142 cat >>confdefs.h <<_ACEOF
34143 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34152 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
34153 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
34158 for ac_func in snprintf vsnprintf
34160 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34161 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34162 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34163 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34164 echo $ECHO_N "(cached) $ECHO_C" >&6
34166 cat >conftest.$ac_ext <<_ACEOF
34169 cat confdefs.h >>conftest.$ac_ext
34170 cat >>conftest.$ac_ext <<_ACEOF
34171 /* end confdefs.h. */
34172 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34173 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34174 #define $ac_func innocuous_$ac_func
34176 /* System header to define __stub macros and hopefully few prototypes,
34177 which can conflict with char $ac_func (); below.
34178 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34179 <limits.h> exists even on freestanding compilers. */
34182 # include <limits.h>
34184 # include <assert.h>
34189 /* Override any GCC internal prototype to avoid an error.
34190 Use char because int might match the return type of a GCC
34191 builtin and then its argument prototype would still apply. */
34196 /* The GNU C library defines this for functions which it implements
34197 to always fail with ENOSYS. Some functions are actually named
34198 something starting with __ and the normal name is an alias. */
34199 #if defined __stub_$ac_func || defined __stub___$ac_func
34206 return $ac_func ();
34211 rm -f conftest.$ac_objext conftest$ac_exeext
34212 if { (ac_try="$ac_link"
34213 case "(($ac_try" in
34214 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34215 *) ac_try_echo
=$ac_try;;
34217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34218 (eval "$ac_link") 2>conftest.er1
34220 grep -v '^ *+' conftest.er1
>conftest.err
34222 cat conftest.err
>&5
34223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34224 (exit $ac_status); } && {
34225 test -z "$ac_c_werror_flag" ||
34226 test ! -s conftest.err
34227 } && test -s conftest
$ac_exeext &&
34228 $as_test_x conftest
$ac_exeext; then
34229 eval "$as_ac_var=yes"
34231 echo "$as_me: failed program was:" >&5
34232 sed 's/^/| /' conftest.
$ac_ext >&5
34234 eval "$as_ac_var=no"
34237 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34238 conftest
$ac_exeext conftest.
$ac_ext
34240 ac_res
=`eval echo '${'$as_ac_var'}'`
34241 { echo "$as_me:$LINENO: result: $ac_res" >&5
34242 echo "${ECHO_T}$ac_res" >&6; }
34243 if test `eval echo '${'$as_ac_var'}'` = yes; then
34244 cat >>confdefs.h
<<_ACEOF
34245 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34252 if test "$ac_cv_func_vsnprintf" = "yes"; then
34253 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
34254 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
34255 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
34256 echo $ECHO_N "(cached) $ECHO_C" >&6
34259 cat >conftest.
$ac_ext <<_ACEOF
34262 cat confdefs.h
>>conftest.
$ac_ext
34263 cat >>conftest.
$ac_ext <<_ACEOF
34264 /* end confdefs.h. */
34267 #include <stdarg.h>
34269 #if __MSL__ >= 0x6000
34271 using namespace std;
34281 vsnprintf(buf, 10u, "%s", ap);
34287 rm -f conftest.
$ac_objext
34288 if { (ac_try
="$ac_compile"
34289 case "(($ac_try" in
34290 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34291 *) ac_try_echo=$ac_try;;
34293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34294 (eval "$ac_compile") 2>conftest.er1
34296 grep -v '^ *+' conftest.er1 >conftest.err
34298 cat conftest.err >&5
34299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34300 (exit $ac_status); } && {
34301 test -z "$ac_c_werror_flag" ||
34302 test ! -s conftest.err
34303 } && test -s conftest.$ac_objext; then
34304 wx_cv_func_vsnprintf_decl=yes
34306 echo "$as_me: failed program was:" >&5
34307 sed 's/^/| /' conftest.$ac_ext >&5
34309 wx_cv_func_vsnprintf_decl=no
34313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34317 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
34318 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
34320 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
34321 cat >>confdefs.h <<\_ACEOF
34322 #define HAVE_VSNPRINTF_DECL 1
34326 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
34327 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
34328 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
34329 echo $ECHO_N "(cached) $ECHO_C" >&6
34332 cat >conftest.$ac_ext <<_ACEOF
34335 cat confdefs.h >>conftest.$ac_ext
34336 cat >>conftest.$ac_ext <<_ACEOF
34337 /* end confdefs.h. */
34340 #include <stdarg.h>
34342 #if __MSL__ >= 0x6000
34344 using namespace std;
34354 const char *fmt = "%s";
34355 vsnprintf(buf, 10u, fmt, ap);
34361 rm -f conftest.$ac_objext
34362 if { (ac_try="$ac_compile"
34363 case "(($ac_try" in
34364 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34365 *) ac_try_echo
=$ac_try;;
34367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34368 (eval "$ac_compile") 2>conftest.er1
34370 grep -v '^ *+' conftest.er1
>conftest.err
34372 cat conftest.err
>&5
34373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34374 (exit $ac_status); } && {
34375 test -z "$ac_c_werror_flag" ||
34376 test ! -s conftest.err
34377 } && test -s conftest.
$ac_objext; then
34378 wx_cv_func_broken_vsnprintf_decl
=no
34380 echo "$as_me: failed program was:" >&5
34381 sed 's/^/| /' conftest.
$ac_ext >&5
34383 wx_cv_func_broken_vsnprintf_decl
=yes
34387 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34391 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
34392 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
34394 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
34395 cat >>confdefs.h
<<\_ACEOF
34396 #define HAVE_BROKEN_VSNPRINTF_DECL 1
34403 if test "$ac_cv_func_snprintf" = "yes"; then
34404 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
34405 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
34406 if test "${wx_cv_func_snprintf_decl+set}" = set; then
34407 echo $ECHO_N "(cached) $ECHO_C" >&6
34410 cat >conftest.
$ac_ext <<_ACEOF
34413 cat confdefs.h
>>conftest.
$ac_ext
34414 cat >>conftest.
$ac_ext <<_ACEOF
34415 /* end confdefs.h. */
34418 #include <stdarg.h>
34420 #if __MSL__ >= 0x6000
34422 using namespace std;
34431 snprintf(buf, 10u, "%s", "wx");
34437 rm -f conftest.
$ac_objext
34438 if { (ac_try
="$ac_compile"
34439 case "(($ac_try" in
34440 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34441 *) ac_try_echo=$ac_try;;
34443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34444 (eval "$ac_compile") 2>conftest.er1
34446 grep -v '^ *+' conftest.er1 >conftest.err
34448 cat conftest.err >&5
34449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34450 (exit $ac_status); } && {
34451 test -z "$ac_c_werror_flag" ||
34452 test ! -s conftest.err
34453 } && test -s conftest.$ac_objext; then
34454 wx_cv_func_snprintf_decl=yes
34456 echo "$as_me: failed program was:" >&5
34457 sed 's/^/| /' conftest.$ac_ext >&5
34459 wx_cv_func_snprintf_decl=no
34463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34467 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
34468 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
34470 if test "$wx_cv_func_snprintf_decl" = "yes"; then
34471 cat >>confdefs.h <<\_ACEOF
34472 #define HAVE_SNPRINTF_DECL 1
34476 { echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
34477 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6; }
34478 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
34479 echo $ECHO_N "(cached) $ECHO_C" >&6
34482 cat >conftest.$ac_ext <<_ACEOF
34485 cat confdefs.h >>conftest.$ac_ext
34486 cat >>conftest.$ac_ext <<_ACEOF
34487 /* end confdefs.h. */
34490 #include <stdarg.h>
34492 #if __MSL__ >= 0x6000
34494 using namespace std;
34503 const char *fmt = "%s";
34504 snprintf(buf, 10u, fmt, "wx");
34510 rm -f conftest.$ac_objext
34511 if { (ac_try="$ac_compile"
34512 case "(($ac_try" in
34513 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34514 *) ac_try_echo
=$ac_try;;
34516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34517 (eval "$ac_compile") 2>conftest.er1
34519 grep -v '^ *+' conftest.er1
>conftest.err
34521 cat conftest.err
>&5
34522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34523 (exit $ac_status); } && {
34524 test -z "$ac_c_werror_flag" ||
34525 test ! -s conftest.err
34526 } && test -s conftest.
$ac_objext; then
34527 wx_cv_func_broken_snprintf_decl
=no
34529 echo "$as_me: failed program was:" >&5
34530 sed 's/^/| /' conftest.
$ac_ext >&5
34532 wx_cv_func_broken_snprintf_decl
=yes
34536 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34540 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
34541 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6; }
34543 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
34544 cat >>confdefs.h
<<\_ACEOF
34545 #define HAVE_BROKEN_SNPRINTF_DECL 1
34551 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
34553 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
34554 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
34555 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
34556 echo $ECHO_N "(cached) $ECHO_C" >&6
34559 if test "$cross_compiling" = yes; then
34561 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
34562 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
34563 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
34564 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
34565 wx_cv_func_snprintf_pos_params
=no
34569 cat >conftest.
$ac_ext <<_ACEOF
34572 cat confdefs.h
>>conftest.
$ac_ext
34573 cat >>conftest.
$ac_ext <<_ACEOF
34574 /* end confdefs.h. */
34581 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
34582 if (strcmp ("2 3 1", buffer) == 0)
34588 rm -f conftest
$ac_exeext
34589 if { (ac_try
="$ac_link"
34590 case "(($ac_try" in
34591 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34592 *) ac_try_echo=$ac_try;;
34594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34595 (eval "$ac_link") 2>&5
34597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34598 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
34599 { (case "(($ac_try" in
34600 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34601 *) ac_try_echo
=$ac_try;;
34603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34604 (eval "$ac_try") 2>&5
34606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34607 (exit $ac_status); }; }; then
34608 wx_cv_func_snprintf_pos_params
=no
34610 echo "$as_me: program exited with status $ac_status" >&5
34611 echo "$as_me: failed program was:" >&5
34612 sed 's/^/| /' conftest.
$ac_ext >&5
34614 ( exit $ac_status )
34615 wx_cv_func_snprintf_pos_params
=yes
34617 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
34624 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
34625 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
34627 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
34628 cat >>confdefs.h
<<\_ACEOF
34629 #define HAVE_UNIX98_PRINTF 1
34636 if test "$wxUSE_UNICODE" = yes; then
34639 for ac_func
in swprintf
34641 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34642 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34643 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34644 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34645 echo $ECHO_N "(cached) $ECHO_C" >&6
34647 cat >conftest.
$ac_ext <<_ACEOF
34650 cat confdefs.h
>>conftest.
$ac_ext
34651 cat >>conftest.
$ac_ext <<_ACEOF
34652 /* end confdefs.h. */
34653 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34654 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34655 #define $ac_func innocuous_$ac_func
34657 /* System header to define __stub macros and hopefully few prototypes,
34658 which can conflict with char $ac_func (); below.
34659 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34660 <limits.h> exists even on freestanding compilers. */
34663 # include <limits.h>
34665 # include <assert.h>
34670 /* Override any GCC internal prototype to avoid an error.
34671 Use char because int might match the return type of a GCC
34672 builtin and then its argument prototype would still apply. */
34677 /* The GNU C library defines this for functions which it implements
34678 to always fail with ENOSYS. Some functions are actually named
34679 something starting with __ and the normal name is an alias. */
34680 #if defined __stub_$ac_func || defined __stub___$ac_func
34687 return $ac_func ();
34692 rm -f conftest.
$ac_objext conftest
$ac_exeext
34693 if { (ac_try
="$ac_link"
34694 case "(($ac_try" in
34695 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34696 *) ac_try_echo=$ac_try;;
34698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34699 (eval "$ac_link") 2>conftest.er1
34701 grep -v '^ *+' conftest.er1 >conftest.err
34703 cat conftest.err >&5
34704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34705 (exit $ac_status); } && {
34706 test -z "$ac_c_werror_flag" ||
34707 test ! -s conftest.err
34708 } && test -s conftest$ac_exeext &&
34709 $as_test_x conftest$ac_exeext; then
34710 eval "$as_ac_var=yes"
34712 echo "$as_me: failed program was:" >&5
34713 sed 's/^/| /' conftest.$ac_ext >&5
34715 eval "$as_ac_var=no"
34718 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34719 conftest$ac_exeext conftest.$ac_ext
34721 ac_res=`eval echo '${'$as_ac_var'}'`
34722 { echo "$as_me:$LINENO: result: $ac_res" >&5
34723 echo "${ECHO_T}$ac_res" >&6; }
34724 if test `eval echo '${'$as_ac_var'}'` = yes; then
34725 cat >>confdefs.h <<_ACEOF
34726 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34733 if test "$ac_cv_func_swprintf" = "yes"; then
34734 { echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
34735 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6; }
34736 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
34737 echo $ECHO_N "(cached) $ECHO_C" >&6
34740 cat >conftest.$ac_ext <<_ACEOF
34743 cat confdefs.h >>conftest.$ac_ext
34744 cat >>conftest.$ac_ext <<_ACEOF
34745 /* end confdefs.h. */
34748 #include <stdarg.h>
34756 const wchar_t *fmt = L"test";
34757 swprintf(buf, 10u, fmt);
34763 rm -f conftest.$ac_objext
34764 if { (ac_try="$ac_compile"
34765 case "(($ac_try" in
34766 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34767 *) ac_try_echo
=$ac_try;;
34769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34770 (eval "$ac_compile") 2>conftest.er1
34772 grep -v '^ *+' conftest.er1
>conftest.err
34774 cat conftest.err
>&5
34775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34776 (exit $ac_status); } && {
34777 test -z "$ac_c_werror_flag" ||
34778 test ! -s conftest.err
34779 } && test -s conftest.
$ac_objext; then
34780 wx_cv_func_broken_swprintf_decl
=no
34782 echo "$as_me: failed program was:" >&5
34783 sed 's/^/| /' conftest.
$ac_ext >&5
34785 wx_cv_func_broken_swprintf_decl
=yes
34789 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34793 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
34794 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6; }
34796 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
34797 cat >>confdefs.h
<<\_ACEOF
34798 #define HAVE_BROKEN_SWPRINTF_DECL 1
34804 wchar_headers
="#include <stdio.h>
34805 #include <wchar.h>"
34808 { echo "$as_me:$LINENO: checking for widec.h" >&5
34809 echo $ECHO_N "checking for widec.h... $ECHO_C" >&6; }
34810 if test "${ac_cv_header_widec_h+set}" = set; then
34811 echo $ECHO_N "(cached) $ECHO_C" >&6
34813 cat >conftest.
$ac_ext <<_ACEOF
34816 cat confdefs.h
>>conftest.
$ac_ext
34817 cat >>conftest.
$ac_ext <<_ACEOF
34818 /* end confdefs.h. */
34819 $ac_includes_default
34823 rm -f conftest.
$ac_objext
34824 if { (ac_try
="$ac_compile"
34825 case "(($ac_try" in
34826 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34827 *) ac_try_echo=$ac_try;;
34829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34830 (eval "$ac_compile") 2>conftest.er1
34832 grep -v '^ *+' conftest.er1 >conftest.err
34834 cat conftest.err >&5
34835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34836 (exit $ac_status); } && {
34837 test -z "$ac_c_werror_flag" ||
34838 test ! -s conftest.err
34839 } && test -s conftest.$ac_objext; then
34840 ac_cv_header_widec_h=yes
34842 echo "$as_me: failed program was:" >&5
34843 sed 's/^/| /' conftest.$ac_ext >&5
34845 ac_cv_header_widec_h=no
34848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34850 { echo "$as_me:$LINENO: result: $ac_cv_header_widec_h" >&5
34851 echo "${ECHO_T}$ac_cv_header_widec_h" >&6; }
34854 if test "$ac_cv_header_widec_h" = "yes"; then
34855 wchar_headers="$wchar_headers
34856 #include <widec.h>"
34861 for wx_func in wputc wputchar putws fputws wprintf vswprintf
34863 { echo "$as_me:$LINENO: checking for $wx_func" >&5
34864 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
34865 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
34866 echo $ECHO_N "(cached) $ECHO_C" >&6
34869 cat >conftest.$ac_ext <<_ACEOF
34873 cat confdefs.h >>conftest.$ac_ext
34874 cat >>conftest.$ac_ext <<_ACEOF
34875 /* end confdefs.h. */
34878 $ac_includes_default
34894 rm -f conftest.$ac_objext conftest$ac_exeext
34895 if { (ac_try="$ac_link"
34896 case "(($ac_try" in
34897 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34898 *) ac_try_echo
=$ac_try;;
34900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34901 (eval "$ac_link") 2>conftest.er1
34903 grep -v '^ *+' conftest.er1
>conftest.err
34905 cat conftest.err
>&5
34906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34907 (exit $ac_status); } && {
34908 test -z "$ac_c_werror_flag" ||
34909 test ! -s conftest.err
34910 } && test -s conftest
$ac_exeext &&
34911 $as_test_x conftest
$ac_exeext; then
34912 eval wx_cv_func_
$wx_func=yes
34914 echo "$as_me: failed program was:" >&5
34915 sed 's/^/| /' conftest.
$ac_ext >&5
34917 eval wx_cv_func_
$wx_func=no
34920 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34921 conftest
$ac_exeext conftest.
$ac_ext
34924 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
34925 { echo "$as_me:$LINENO: result: $ac_res" >&5
34926 echo "${ECHO_T}$ac_res" >&6; }
34928 if eval test \
$wx_cv_func_$wx_func = yes
34930 cat >>confdefs.h
<<_ACEOF
34931 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
34942 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
34943 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
34944 cat >conftest.
$ac_ext <<_ACEOF
34947 cat confdefs.h
>>conftest.
$ac_ext
34948 cat >>conftest.
$ac_ext <<_ACEOF
34949 /* end confdefs.h. */
34959 rm -f conftest.
$ac_objext
34960 if { (ac_try
="$ac_compile"
34961 case "(($ac_try" in
34962 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34963 *) ac_try_echo=$ac_try;;
34965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34966 (eval "$ac_compile") 2>conftest.er1
34968 grep -v '^ *+' conftest.er1 >conftest.err
34970 cat conftest.err >&5
34971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34972 (exit $ac_status); } && {
34973 test -z "$ac_c_werror_flag" ||
34974 test ! -s conftest.err
34975 } && test -s conftest.$ac_objext; then
34976 { echo "$as_me:$LINENO: result: yes" >&5
34977 echo "${ECHO_T}yes" >&6; }
34978 cat >>confdefs.h <<\_ACEOF
34979 #define HAVE__VSNWPRINTF 1
34983 echo "$as_me: failed program was:" >&5
34984 sed 's/^/| /' conftest.$ac_ext >&5
34986 { echo "$as_me:$LINENO: result: no" >&5
34987 echo "${ECHO_T}no" >&6; }
34990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
34993 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
34995 for wx_func in fnmatch
34997 { echo "$as_me:$LINENO: checking for $wx_func" >&5
34998 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
34999 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35000 echo $ECHO_N "(cached) $ECHO_C" >&6
35003 cat >conftest.$ac_ext <<_ACEOF
35007 cat confdefs.h >>conftest.$ac_ext
35008 cat >>conftest.$ac_ext <<_ACEOF
35009 /* end confdefs.h. */
35011 #include <fnmatch.h>
35012 $ac_includes_default
35028 rm -f conftest.$ac_objext conftest$ac_exeext
35029 if { (ac_try="$ac_link"
35030 case "(($ac_try" in
35031 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35032 *) ac_try_echo
=$ac_try;;
35034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35035 (eval "$ac_link") 2>conftest.er1
35037 grep -v '^ *+' conftest.er1
>conftest.err
35039 cat conftest.err
>&5
35040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35041 (exit $ac_status); } && {
35042 test -z "$ac_c_werror_flag" ||
35043 test ! -s conftest.err
35044 } && test -s conftest
$ac_exeext &&
35045 $as_test_x conftest
$ac_exeext; then
35046 eval wx_cv_func_
$wx_func=yes
35048 echo "$as_me: failed program was:" >&5
35049 sed 's/^/| /' conftest.
$ac_ext >&5
35051 eval wx_cv_func_
$wx_func=no
35054 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35055 conftest
$ac_exeext conftest.
$ac_ext
35058 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
35059 { echo "$as_me:$LINENO: result: $ac_res" >&5
35060 echo "${ECHO_T}$ac_res" >&6; }
35062 if eval test \
$wx_cv_func_$wx_func = yes
35064 cat >>confdefs.h
<<_ACEOF
35065 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35077 if test "$wxUSE_FILE" = "yes"; then
35079 for wx_func
in fsync
35081 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35082 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35083 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35084 echo $ECHO_N "(cached) $ECHO_C" >&6
35087 cat >conftest.
$ac_ext <<_ACEOF
35091 cat confdefs.h
>>conftest.
$ac_ext
35092 cat >>conftest.
$ac_ext <<_ACEOF
35093 /* end confdefs.h. */
35096 $ac_includes_default
35112 rm -f conftest.
$ac_objext conftest
$ac_exeext
35113 if { (ac_try
="$ac_link"
35114 case "(($ac_try" in
35115 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35116 *) ac_try_echo=$ac_try;;
35118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35119 (eval "$ac_link") 2>conftest.er1
35121 grep -v '^ *+' conftest.er1 >conftest.err
35123 cat conftest.err >&5
35124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35125 (exit $ac_status); } && {
35126 test -z "$ac_c_werror_flag" ||
35127 test ! -s conftest.err
35128 } && test -s conftest$ac_exeext &&
35129 $as_test_x conftest$ac_exeext; then
35130 eval wx_cv_func_$wx_func=yes
35132 echo "$as_me: failed program was:" >&5
35133 sed 's/^/| /' conftest.$ac_ext >&5
35135 eval wx_cv_func_$wx_func=no
35138 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35139 conftest$ac_exeext conftest.$ac_ext
35142 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35143 { echo "$as_me:$LINENO: result: $ac_res" >&5
35144 echo "${ECHO_T}$ac_res" >&6; }
35146 if eval test \$wx_cv_func_$wx_func = yes
35148 cat >>confdefs.h <<_ACEOF
35149 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35162 ac_cpp='$CXXCPP $CPPFLAGS'
35163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35168 for wx_func in round
35170 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35171 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35172 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35173 echo $ECHO_N "(cached) $ECHO_C" >&6
35176 cat >conftest.$ac_ext <<_ACEOF
35180 cat confdefs.h >>conftest.$ac_ext
35181 cat >>conftest.$ac_ext <<_ACEOF
35182 /* end confdefs.h. */
35185 $ac_includes_default
35201 rm -f conftest.$ac_objext conftest$ac_exeext
35202 if { (ac_try="$ac_link"
35203 case "(($ac_try" in
35204 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35205 *) ac_try_echo
=$ac_try;;
35207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35208 (eval "$ac_link") 2>conftest.er1
35210 grep -v '^ *+' conftest.er1
>conftest.err
35212 cat conftest.err
>&5
35213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35214 (exit $ac_status); } && {
35215 test -z "$ac_cxx_werror_flag" ||
35216 test ! -s conftest.err
35217 } && test -s conftest
$ac_exeext &&
35218 $as_test_x conftest
$ac_exeext; then
35219 eval wx_cv_func_
$wx_func=yes
35221 echo "$as_me: failed program was:" >&5
35222 sed 's/^/| /' conftest.
$ac_ext >&5
35224 eval wx_cv_func_
$wx_func=no
35227 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35228 conftest
$ac_exeext conftest.
$ac_ext
35231 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
35232 { echo "$as_me:$LINENO: result: $ac_res" >&5
35233 echo "${ECHO_T}$ac_res" >&6; }
35235 if eval test \
$wx_cv_func_$wx_func = yes
35237 cat >>confdefs.h
<<_ACEOF
35238 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35249 ac_cpp
='$CPP $CPPFLAGS'
35250 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35251 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35252 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35255 if test "$TOOLKIT" != "MSW"; then
35261 # Check whether --with-libiconv-prefix was given.
35262 if test "${with_libiconv_prefix+set}" = set; then
35263 withval
=$with_libiconv_prefix;
35264 for dir
in `echo "$withval" | tr : ' '`; do
35265 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
35266 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
35272 { echo "$as_me:$LINENO: checking for iconv" >&5
35273 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
35274 if test "${am_cv_func_iconv+set}" = set; then
35275 echo $ECHO_N "(cached) $ECHO_C" >&6
35278 am_cv_func_iconv
="no, consider installing GNU libiconv"
35280 cat >conftest.
$ac_ext <<_ACEOF
35283 cat confdefs.h
>>conftest.
$ac_ext
35284 cat >>conftest.
$ac_ext <<_ACEOF
35285 /* end confdefs.h. */
35286 #include <stdlib.h>
35291 iconv_t cd = iconv_open("","");
35292 iconv(cd,NULL,NULL,NULL,NULL);
35298 rm -f conftest.
$ac_objext conftest
$ac_exeext
35299 if { (ac_try
="$ac_link"
35300 case "(($ac_try" in
35301 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35302 *) ac_try_echo=$ac_try;;
35304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35305 (eval "$ac_link") 2>conftest.er1
35307 grep -v '^ *+' conftest.er1 >conftest.err
35309 cat conftest.err >&5
35310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35311 (exit $ac_status); } && {
35312 test -z "$ac_c_werror_flag" ||
35313 test ! -s conftest.err
35314 } && test -s conftest$ac_exeext &&
35315 $as_test_x conftest$ac_exeext; then
35316 am_cv_func_iconv=yes
35318 echo "$as_me: failed program was:" >&5
35319 sed 's/^/| /' conftest.$ac_ext >&5
35324 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35325 conftest$ac_exeext conftest.$ac_ext
35326 if test "$am_cv_func_iconv" != yes; then
35327 am_save_LIBS="$LIBS"
35328 LIBS="$LIBS -liconv"
35329 cat >conftest.$ac_ext <<_ACEOF
35332 cat confdefs.h >>conftest.$ac_ext
35333 cat >>conftest.$ac_ext <<_ACEOF
35334 /* end confdefs.h. */
35335 #include <stdlib.h>
35340 iconv_t cd = iconv_open("","");
35341 iconv(cd,NULL,NULL,NULL,NULL);
35347 rm -f conftest.$ac_objext conftest$ac_exeext
35348 if { (ac_try="$ac_link"
35349 case "(($ac_try" in
35350 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35351 *) ac_try_echo
=$ac_try;;
35353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35354 (eval "$ac_link") 2>conftest.er1
35356 grep -v '^ *+' conftest.er1
>conftest.err
35358 cat conftest.err
>&5
35359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35360 (exit $ac_status); } && {
35361 test -z "$ac_c_werror_flag" ||
35362 test ! -s conftest.err
35363 } && test -s conftest
$ac_exeext &&
35364 $as_test_x conftest
$ac_exeext; then
35365 am_cv_lib_iconv
=yes
35366 am_cv_func_iconv
=yes
35368 echo "$as_me: failed program was:" >&5
35369 sed 's/^/| /' conftest.
$ac_ext >&5
35374 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35375 conftest
$ac_exeext conftest.
$ac_ext
35376 LIBS
="$am_save_LIBS"
35380 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
35381 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
35382 if test "$am_cv_func_iconv" = yes; then
35384 cat >>confdefs.h
<<\_ACEOF
35385 #define HAVE_ICONV 1
35388 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
35389 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
35390 if test "${wx_cv_func_iconv_const+set}" = set; then
35391 echo $ECHO_N "(cached) $ECHO_C" >&6
35393 cat >conftest.
$ac_ext <<_ACEOF
35396 cat confdefs.h
>>conftest.
$ac_ext
35397 cat >>conftest.
$ac_ext <<_ACEOF
35398 /* end confdefs.h. */
35400 #include <stdlib.h>
35406 #if defined(__STDC__) || defined(__cplusplus)
35407 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
35420 rm -f conftest.
$ac_objext
35421 if { (ac_try
="$ac_compile"
35422 case "(($ac_try" in
35423 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35424 *) ac_try_echo=$ac_try;;
35426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35427 (eval "$ac_compile") 2>conftest.er1
35429 grep -v '^ *+' conftest.er1 >conftest.err
35431 cat conftest.err >&5
35432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35433 (exit $ac_status); } && {
35434 test -z "$ac_c_werror_flag" ||
35435 test ! -s conftest.err
35436 } && test -s conftest.$ac_objext; then
35437 wx_cv_func_iconv_const="no"
35439 echo "$as_me: failed program was:" >&5
35440 sed 's/^/| /' conftest.$ac_ext >&5
35442 wx_cv_func_iconv_const="yes"
35446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35449 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
35450 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
35453 if test "x$wx_cv_func_iconv_const" = "xyes"; then
35454 iconv_const="const"
35458 cat >>confdefs.h <<_ACEOF
35459 #define ICONV_CONST $iconv_const
35464 if test "$am_cv_lib_iconv" = yes; then
35469 LIBS="$LIBICONV $LIBS"
35471 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35473 for ac_func in sigaction
35475 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35476 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35477 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35478 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35479 echo $ECHO_N "(cached) $ECHO_C" >&6
35481 cat >conftest.$ac_ext <<_ACEOF
35484 cat confdefs.h >>conftest.$ac_ext
35485 cat >>conftest.$ac_ext <<_ACEOF
35486 /* end confdefs.h. */
35487 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35488 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35489 #define $ac_func innocuous_$ac_func
35491 /* System header to define __stub macros and hopefully few prototypes,
35492 which can conflict with char $ac_func (); below.
35493 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35494 <limits.h> exists even on freestanding compilers. */
35497 # include <limits.h>
35499 # include <assert.h>
35504 /* Override any GCC internal prototype to avoid an error.
35505 Use char because int might match the return type of a GCC
35506 builtin and then its argument prototype would still apply. */
35511 /* The GNU C library defines this for functions which it implements
35512 to always fail with ENOSYS. Some functions are actually named
35513 something starting with __ and the normal name is an alias. */
35514 #if defined __stub_$ac_func || defined __stub___$ac_func
35521 return $ac_func ();
35526 rm -f conftest.$ac_objext conftest$ac_exeext
35527 if { (ac_try="$ac_link"
35528 case "(($ac_try" in
35529 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35530 *) ac_try_echo
=$ac_try;;
35532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35533 (eval "$ac_link") 2>conftest.er1
35535 grep -v '^ *+' conftest.er1
>conftest.err
35537 cat conftest.err
>&5
35538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35539 (exit $ac_status); } && {
35540 test -z "$ac_c_werror_flag" ||
35541 test ! -s conftest.err
35542 } && test -s conftest
$ac_exeext &&
35543 $as_test_x conftest
$ac_exeext; then
35544 eval "$as_ac_var=yes"
35546 echo "$as_me: failed program was:" >&5
35547 sed 's/^/| /' conftest.
$ac_ext >&5
35549 eval "$as_ac_var=no"
35552 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35553 conftest
$ac_exeext conftest.
$ac_ext
35555 ac_res
=`eval echo '${'$as_ac_var'}'`
35556 { echo "$as_me:$LINENO: result: $ac_res" >&5
35557 echo "${ECHO_T}$ac_res" >&6; }
35558 if test `eval echo '${'$as_ac_var'}'` = yes; then
35559 cat >>confdefs.h
<<_ACEOF
35560 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35567 if test "$ac_cv_func_sigaction" = "no"; then
35568 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
35569 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
35570 wxUSE_ON_FATAL_EXCEPTION
=no
35573 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35574 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
35575 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
35576 if test "${wx_cv_type_sa_handler+set}" = set; then
35577 echo $ECHO_N "(cached) $ECHO_C" >&6
35581 ac_cpp
='$CXXCPP $CPPFLAGS'
35582 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35583 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35584 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35586 cat >conftest.
$ac_ext <<_ACEOF
35589 cat confdefs.h
>>conftest.
$ac_ext
35590 cat >>conftest.
$ac_ext <<_ACEOF
35591 /* end confdefs.h. */
35592 #include <signal.h>
35597 extern void testSigHandler(int);
35599 struct sigaction sa;
35600 sa.sa_handler = testSigHandler;
35606 rm -f conftest.
$ac_objext
35607 if { (ac_try
="$ac_compile"
35608 case "(($ac_try" in
35609 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35610 *) ac_try_echo=$ac_try;;
35612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35613 (eval "$ac_compile") 2>conftest.er1
35615 grep -v '^ *+' conftest.er1 >conftest.err
35617 cat conftest.err >&5
35618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35619 (exit $ac_status); } && {
35620 test -z "$ac_cxx_werror_flag" ||
35621 test ! -s conftest.err
35622 } && test -s conftest.$ac_objext; then
35624 wx_cv_type_sa_handler=int
35627 echo "$as_me: failed program was:" >&5
35628 sed 's/^/| /' conftest.$ac_ext >&5
35631 wx_cv_type_sa_handler=void
35635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35637 ac_cpp='$CPP $CPPFLAGS'
35638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35644 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
35645 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
35647 cat >>confdefs.h <<_ACEOF
35648 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
35654 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35655 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
35656 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
35657 if test "${wx_cv_func_backtrace+set}" = set; then
35658 echo $ECHO_N "(cached) $ECHO_C" >&6
35662 ac_cpp='$CXXCPP $CPPFLAGS'
35663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35667 cat >conftest.$ac_ext <<_ACEOF
35670 cat confdefs.h >>conftest.$ac_ext
35671 cat >>conftest.$ac_ext <<_ACEOF
35672 /* end confdefs.h. */
35673 #include <execinfo.h>
35681 backtrace(trace, 1);
35682 messages = backtrace_symbols(trace, 1);
35688 rm -f conftest.$ac_objext
35689 if { (ac_try="$ac_compile"
35690 case "(($ac_try" in
35691 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35692 *) ac_try_echo
=$ac_try;;
35694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35695 (eval "$ac_compile") 2>conftest.er1
35697 grep -v '^ *+' conftest.er1
>conftest.err
35699 cat conftest.err
>&5
35700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35701 (exit $ac_status); } && {
35702 test -z "$ac_cxx_werror_flag" ||
35703 test ! -s conftest.err
35704 } && test -s conftest.
$ac_objext; then
35705 wx_cv_func_backtrace
=yes
35707 echo "$as_me: failed program was:" >&5
35708 sed 's/^/| /' conftest.
$ac_ext >&5
35710 wx_cv_func_backtrace
=no
35714 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35716 ac_cpp
='$CPP $CPPFLAGS'
35717 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35718 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35719 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35724 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
35725 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
35728 if test "$wx_cv_func_backtrace" = "no"; then
35729 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
35730 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
35731 wxUSE_STACKWALKER
=no
35733 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
35734 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
35735 if test "${wx_cv_func_cxa_demangle+set}" = set; then
35736 echo $ECHO_N "(cached) $ECHO_C" >&6
35740 ac_cpp
='$CXXCPP $CPPFLAGS'
35741 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35742 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35743 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35745 cat >conftest.
$ac_ext <<_ACEOF
35748 cat confdefs.h
>>conftest.
$ac_ext
35749 cat >>conftest.
$ac_ext <<_ACEOF
35750 /* end confdefs.h. */
35751 #include <cxxabi.h>
35757 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
35763 rm -f conftest.
$ac_objext conftest
$ac_exeext
35764 if { (ac_try
="$ac_link"
35765 case "(($ac_try" in
35766 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35767 *) ac_try_echo=$ac_try;;
35769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35770 (eval "$ac_link") 2>conftest.er1
35772 grep -v '^ *+' conftest.er1 >conftest.err
35774 cat conftest.err >&5
35775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35776 (exit $ac_status); } && {
35777 test -z "$ac_cxx_werror_flag" ||
35778 test ! -s conftest.err
35779 } && test -s conftest$ac_exeext &&
35780 $as_test_x conftest$ac_exeext; then
35781 wx_cv_func_cxa_demangle=yes
35783 echo "$as_me: failed program was:" >&5
35784 sed 's/^/| /' conftest.$ac_ext >&5
35786 wx_cv_func_cxa_demangle=no
35790 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35791 conftest$ac_exeext conftest.$ac_ext
35793 ac_cpp='$CPP $CPPFLAGS'
35794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35801 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
35802 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
35804 if test "$wx_cv_func_cxa_demangle" = "yes"; then
35805 cat >>confdefs.h <<\_ACEOF
35806 #define HAVE_CXA_DEMANGLE 1
35813 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
35814 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
35815 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
35816 wxUSE_STACKWALKER=no
35822 for ac_func in mkstemp mktemp
35824 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35825 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35826 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35827 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35828 echo $ECHO_N "(cached) $ECHO_C" >&6
35830 cat >conftest.$ac_ext <<_ACEOF
35833 cat confdefs.h >>conftest.$ac_ext
35834 cat >>conftest.$ac_ext <<_ACEOF
35835 /* end confdefs.h. */
35836 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35837 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35838 #define $ac_func innocuous_$ac_func
35840 /* System header to define __stub macros and hopefully few prototypes,
35841 which can conflict with char $ac_func (); below.
35842 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35843 <limits.h> exists even on freestanding compilers. */
35846 # include <limits.h>
35848 # include <assert.h>
35853 /* Override any GCC internal prototype to avoid an error.
35854 Use char because int might match the return type of a GCC
35855 builtin and then its argument prototype would still apply. */
35860 /* The GNU C library defines this for functions which it implements
35861 to always fail with ENOSYS. Some functions are actually named
35862 something starting with __ and the normal name is an alias. */
35863 #if defined __stub_$ac_func || defined __stub___$ac_func
35870 return $ac_func ();
35875 rm -f conftest.$ac_objext conftest$ac_exeext
35876 if { (ac_try="$ac_link"
35877 case "(($ac_try" in
35878 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35879 *) ac_try_echo
=$ac_try;;
35881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35882 (eval "$ac_link") 2>conftest.er1
35884 grep -v '^ *+' conftest.er1
>conftest.err
35886 cat conftest.err
>&5
35887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35888 (exit $ac_status); } && {
35889 test -z "$ac_c_werror_flag" ||
35890 test ! -s conftest.err
35891 } && test -s conftest
$ac_exeext &&
35892 $as_test_x conftest
$ac_exeext; then
35893 eval "$as_ac_var=yes"
35895 echo "$as_me: failed program was:" >&5
35896 sed 's/^/| /' conftest.
$ac_ext >&5
35898 eval "$as_ac_var=no"
35901 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35902 conftest
$ac_exeext conftest.
$ac_ext
35904 ac_res
=`eval echo '${'$as_ac_var'}'`
35905 { echo "$as_me:$LINENO: result: $ac_res" >&5
35906 echo "${ECHO_T}$ac_res" >&6; }
35907 if test `eval echo '${'$as_ac_var'}'` = yes; then
35908 cat >>confdefs.h
<<_ACEOF
35909 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35916 { echo "$as_me:$LINENO: checking for statfs" >&5
35917 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
35918 if test "${wx_cv_func_statfs+set}" = set; then
35919 echo $ECHO_N "(cached) $ECHO_C" >&6
35921 cat >conftest.
$ac_ext <<_ACEOF
35924 cat confdefs.h
>>conftest.
$ac_ext
35925 cat >>conftest.
$ac_ext <<_ACEOF
35926 /* end confdefs.h. */
35928 #if defined(__BSD__)
35929 #include <sys/param.h>
35930 #include <sys/mount.h>
35932 #include <sys/vfs.h>
35950 rm -f conftest.
$ac_objext
35951 if { (ac_try
="$ac_compile"
35952 case "(($ac_try" in
35953 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35954 *) ac_try_echo=$ac_try;;
35956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35957 (eval "$ac_compile") 2>conftest.er1
35959 grep -v '^ *+' conftest.er1 >conftest.err
35961 cat conftest.err >&5
35962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35963 (exit $ac_status); } && {
35964 test -z "$ac_c_werror_flag" ||
35965 test ! -s conftest.err
35966 } && test -s conftest.$ac_objext; then
35967 wx_cv_func_statfs=yes
35969 echo "$as_me: failed program was:" >&5
35970 sed 's/^/| /' conftest.$ac_ext >&5
35972 wx_cv_func_statfs=no
35976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35979 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
35980 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
35982 if test "$wx_cv_func_statfs" = "yes"; then
35983 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
35984 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
35985 if test "${wx_cv_func_statfs_decl+set}" = set; then
35986 echo $ECHO_N "(cached) $ECHO_C" >&6
35989 ac_cpp='$CXXCPP $CPPFLAGS'
35990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35994 cat >conftest.$ac_ext <<_ACEOF
35997 cat confdefs.h >>conftest.$ac_ext
35998 cat >>conftest.$ac_ext <<_ACEOF
35999 /* end confdefs.h. */
36001 #if defined(__BSD__)
36002 #include <sys/param.h>
36003 #include <sys/mount.h>
36005 #include <sys/vfs.h>
36019 rm -f conftest.$ac_objext
36020 if { (ac_try="$ac_compile"
36021 case "(($ac_try" in
36022 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36023 *) ac_try_echo
=$ac_try;;
36025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36026 (eval "$ac_compile") 2>conftest.er1
36028 grep -v '^ *+' conftest.er1
>conftest.err
36030 cat conftest.err
>&5
36031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36032 (exit $ac_status); } && {
36033 test -z "$ac_cxx_werror_flag" ||
36034 test ! -s conftest.err
36035 } && test -s conftest.
$ac_objext; then
36036 wx_cv_func_statfs_decl
=yes
36038 echo "$as_me: failed program was:" >&5
36039 sed 's/^/| /' conftest.
$ac_ext >&5
36041 wx_cv_func_statfs_decl
=no
36045 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36047 ac_cpp
='$CPP $CPPFLAGS'
36048 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36049 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36050 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36054 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36055 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36057 if test "$wx_cv_func_statfs_decl" = "yes"; then
36058 cat >>confdefs.h
<<\_ACEOF
36059 #define HAVE_STATFS_DECL 1
36064 wx_cv_type_statvfs_t
="struct statfs"
36065 cat >>confdefs.h
<<\_ACEOF
36066 #define HAVE_STATFS 1
36070 { echo "$as_me:$LINENO: checking for statvfs" >&5
36071 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36072 if test "${wx_cv_func_statvfs+set}" = set; then
36073 echo $ECHO_N "(cached) $ECHO_C" >&6
36075 cat >conftest.
$ac_ext <<_ACEOF
36078 cat confdefs.h
>>conftest.
$ac_ext
36079 cat >>conftest.
$ac_ext <<_ACEOF
36080 /* end confdefs.h. */
36082 #include <stddef.h>
36083 #include <sys/statvfs.h>
36089 statvfs("/", NULL);
36095 rm -f conftest.
$ac_objext
36096 if { (ac_try
="$ac_compile"
36097 case "(($ac_try" in
36098 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36099 *) ac_try_echo=$ac_try;;
36101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36102 (eval "$ac_compile") 2>conftest.er1
36104 grep -v '^ *+' conftest.er1 >conftest.err
36106 cat conftest.err >&5
36107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36108 (exit $ac_status); } && {
36109 test -z "$ac_c_werror_flag" ||
36110 test ! -s conftest.err
36111 } && test -s conftest.$ac_objext; then
36112 wx_cv_func_statvfs=yes
36114 echo "$as_me: failed program was:" >&5
36115 sed 's/^/| /' conftest.$ac_ext >&5
36117 wx_cv_func_statvfs=no
36121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36124 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36125 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
36127 if test "$wx_cv_func_statvfs" = "yes"; then
36128 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36129 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
36130 if test "${wx_cv_type_statvfs_t+set}" = set; then
36131 echo $ECHO_N "(cached) $ECHO_C" >&6
36134 ac_cpp='$CXXCPP $CPPFLAGS'
36135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36139 cat >conftest.$ac_ext <<_ACEOF
36142 cat confdefs.h >>conftest.$ac_ext
36143 cat >>conftest.$ac_ext <<_ACEOF
36144 /* end confdefs.h. */
36146 #include <sys/statvfs.h>
36163 rm -f conftest.$ac_objext
36164 if { (ac_try="$ac_compile"
36165 case "(($ac_try" in
36166 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36167 *) ac_try_echo
=$ac_try;;
36169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36170 (eval "$ac_compile") 2>conftest.er1
36172 grep -v '^ *+' conftest.er1
>conftest.err
36174 cat conftest.err
>&5
36175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36176 (exit $ac_status); } && {
36177 test -z "$ac_cxx_werror_flag" ||
36178 test ! -s conftest.err
36179 } && test -s conftest.
$ac_objext; then
36180 wx_cv_type_statvfs_t
=statvfs_t
36182 echo "$as_me: failed program was:" >&5
36183 sed 's/^/| /' conftest.
$ac_ext >&5
36186 cat >conftest.
$ac_ext <<_ACEOF
36189 cat confdefs.h
>>conftest.
$ac_ext
36190 cat >>conftest.
$ac_ext <<_ACEOF
36191 /* end confdefs.h. */
36193 #include <sys/statvfs.h>
36210 rm -f conftest.
$ac_objext
36211 if { (ac_try
="$ac_compile"
36212 case "(($ac_try" in
36213 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36214 *) ac_try_echo=$ac_try;;
36216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36217 (eval "$ac_compile") 2>conftest.er1
36219 grep -v '^ *+' conftest.er1 >conftest.err
36221 cat conftest.err >&5
36222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36223 (exit $ac_status); } && {
36224 test -z "$ac_cxx_werror_flag" ||
36225 test ! -s conftest.err
36226 } && test -s conftest.$ac_objext; then
36227 wx_cv_type_statvfs_t="struct statvfs"
36229 echo "$as_me: failed program was:" >&5
36230 sed 's/^/| /' conftest.$ac_ext >&5
36232 wx_cv_type_statvfs_t="unknown"
36236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36243 ac_cpp='$CPP $CPPFLAGS'
36244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36250 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
36251 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
36253 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36254 cat >>confdefs.h <<\_ACEOF
36255 #define HAVE_STATVFS 1
36260 wx_cv_type_statvfs_t="unknown"
36264 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36265 cat >>confdefs.h <<_ACEOF
36266 #define WX_STATFS_T $wx_cv_type_statvfs_t
36270 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
36271 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
36274 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36277 for ac_func in fcntl flock
36279 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36280 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36281 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36282 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36283 echo $ECHO_N "(cached) $ECHO_C" >&6
36285 cat >conftest.$ac_ext <<_ACEOF
36288 cat confdefs.h >>conftest.$ac_ext
36289 cat >>conftest.$ac_ext <<_ACEOF
36290 /* end confdefs.h. */
36291 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36292 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36293 #define $ac_func innocuous_$ac_func
36295 /* System header to define __stub macros and hopefully few prototypes,
36296 which can conflict with char $ac_func (); below.
36297 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36298 <limits.h> exists even on freestanding compilers. */
36301 # include <limits.h>
36303 # include <assert.h>
36308 /* Override any GCC internal prototype to avoid an error.
36309 Use char because int might match the return type of a GCC
36310 builtin and then its argument prototype would still apply. */
36315 /* The GNU C library defines this for functions which it implements
36316 to always fail with ENOSYS. Some functions are actually named
36317 something starting with __ and the normal name is an alias. */
36318 #if defined __stub_$ac_func || defined __stub___$ac_func
36325 return $ac_func ();
36330 rm -f conftest.$ac_objext conftest$ac_exeext
36331 if { (ac_try="$ac_link"
36332 case "(($ac_try" in
36333 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36334 *) ac_try_echo
=$ac_try;;
36336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36337 (eval "$ac_link") 2>conftest.er1
36339 grep -v '^ *+' conftest.er1
>conftest.err
36341 cat conftest.err
>&5
36342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36343 (exit $ac_status); } && {
36344 test -z "$ac_c_werror_flag" ||
36345 test ! -s conftest.err
36346 } && test -s conftest
$ac_exeext &&
36347 $as_test_x conftest
$ac_exeext; then
36348 eval "$as_ac_var=yes"
36350 echo "$as_me: failed program was:" >&5
36351 sed 's/^/| /' conftest.
$ac_ext >&5
36353 eval "$as_ac_var=no"
36356 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36357 conftest
$ac_exeext conftest.
$ac_ext
36359 ac_res
=`eval echo '${'$as_ac_var'}'`
36360 { echo "$as_me:$LINENO: result: $ac_res" >&5
36361 echo "${ECHO_T}$ac_res" >&6; }
36362 if test `eval echo '${'$as_ac_var'}'` = yes; then
36363 cat >>confdefs.h
<<_ACEOF
36364 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36371 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
36372 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
36373 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
36374 wxUSE_SNGLINST_CHECKER
=no
36379 for ac_func
in timegm
36381 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36382 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36383 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36384 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36385 echo $ECHO_N "(cached) $ECHO_C" >&6
36387 cat >conftest.
$ac_ext <<_ACEOF
36390 cat confdefs.h
>>conftest.
$ac_ext
36391 cat >>conftest.
$ac_ext <<_ACEOF
36392 /* end confdefs.h. */
36393 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36394 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36395 #define $ac_func innocuous_$ac_func
36397 /* System header to define __stub macros and hopefully few prototypes,
36398 which can conflict with char $ac_func (); below.
36399 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36400 <limits.h> exists even on freestanding compilers. */
36403 # include <limits.h>
36405 # include <assert.h>
36410 /* Override any GCC internal prototype to avoid an error.
36411 Use char because int might match the return type of a GCC
36412 builtin and then its argument prototype would still apply. */
36417 /* The GNU C library defines this for functions which it implements
36418 to always fail with ENOSYS. Some functions are actually named
36419 something starting with __ and the normal name is an alias. */
36420 #if defined __stub_$ac_func || defined __stub___$ac_func
36427 return $ac_func ();
36432 rm -f conftest.
$ac_objext conftest
$ac_exeext
36433 if { (ac_try
="$ac_link"
36434 case "(($ac_try" in
36435 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36436 *) ac_try_echo=$ac_try;;
36438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36439 (eval "$ac_link") 2>conftest.er1
36441 grep -v '^ *+' conftest.er1 >conftest.err
36443 cat conftest.err >&5
36444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36445 (exit $ac_status); } && {
36446 test -z "$ac_c_werror_flag" ||
36447 test ! -s conftest.err
36448 } && test -s conftest$ac_exeext &&
36449 $as_test_x conftest$ac_exeext; then
36450 eval "$as_ac_var=yes"
36452 echo "$as_me: failed program was:" >&5
36453 sed 's/^/| /' conftest.$ac_ext >&5
36455 eval "$as_ac_var=no"
36458 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36459 conftest$ac_exeext conftest.$ac_ext
36461 ac_res=`eval echo '${'$as_ac_var'}'`
36462 { echo "$as_me:$LINENO: result: $ac_res" >&5
36463 echo "${ECHO_T}$ac_res" >&6; }
36464 if test `eval echo '${'$as_ac_var'}'` = yes; then
36465 cat >>confdefs.h <<_ACEOF
36466 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36475 for ac_func in putenv setenv
36477 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36478 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36479 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36480 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36481 echo $ECHO_N "(cached) $ECHO_C" >&6
36483 cat >conftest.$ac_ext <<_ACEOF
36486 cat confdefs.h >>conftest.$ac_ext
36487 cat >>conftest.$ac_ext <<_ACEOF
36488 /* end confdefs.h. */
36489 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36490 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36491 #define $ac_func innocuous_$ac_func
36493 /* System header to define __stub macros and hopefully few prototypes,
36494 which can conflict with char $ac_func (); below.
36495 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36496 <limits.h> exists even on freestanding compilers. */
36499 # include <limits.h>
36501 # include <assert.h>
36506 /* Override any GCC internal prototype to avoid an error.
36507 Use char because int might match the return type of a GCC
36508 builtin and then its argument prototype would still apply. */
36513 /* The GNU C library defines this for functions which it implements
36514 to always fail with ENOSYS. Some functions are actually named
36515 something starting with __ and the normal name is an alias. */
36516 #if defined __stub_$ac_func || defined __stub___$ac_func
36523 return $ac_func ();
36528 rm -f conftest.$ac_objext conftest$ac_exeext
36529 if { (ac_try="$ac_link"
36530 case "(($ac_try" in
36531 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36532 *) ac_try_echo
=$ac_try;;
36534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36535 (eval "$ac_link") 2>conftest.er1
36537 grep -v '^ *+' conftest.er1
>conftest.err
36539 cat conftest.err
>&5
36540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36541 (exit $ac_status); } && {
36542 test -z "$ac_c_werror_flag" ||
36543 test ! -s conftest.err
36544 } && test -s conftest
$ac_exeext &&
36545 $as_test_x conftest
$ac_exeext; then
36546 eval "$as_ac_var=yes"
36548 echo "$as_me: failed program was:" >&5
36549 sed 's/^/| /' conftest.
$ac_ext >&5
36551 eval "$as_ac_var=no"
36554 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36555 conftest
$ac_exeext conftest.
$ac_ext
36557 ac_res
=`eval echo '${'$as_ac_var'}'`
36558 { echo "$as_me:$LINENO: result: $ac_res" >&5
36559 echo "${ECHO_T}$ac_res" >&6; }
36560 if test `eval echo '${'$as_ac_var'}'` = yes; then
36561 cat >>confdefs.h
<<_ACEOF
36562 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36569 HAVE_SOME_SLEEP_FUNC
=0
36570 if test "$USE_BEOS" = 1; then
36571 cat >>confdefs.h
<<\_ACEOF
36572 #define HAVE_SLEEP 1
36575 HAVE_SOME_SLEEP_FUNC
=1
36578 if test "$USE_DARWIN" = 1; then
36579 cat >>confdefs.h
<<\_ACEOF
36580 #define HAVE_USLEEP 1
36583 HAVE_SOME_SLEEP_FUNC
=1
36586 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
36589 for ac_func
in nanosleep
36591 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36592 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36593 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36594 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36595 echo $ECHO_N "(cached) $ECHO_C" >&6
36597 cat >conftest.
$ac_ext <<_ACEOF
36600 cat confdefs.h
>>conftest.
$ac_ext
36601 cat >>conftest.
$ac_ext <<_ACEOF
36602 /* end confdefs.h. */
36603 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36604 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36605 #define $ac_func innocuous_$ac_func
36607 /* System header to define __stub macros and hopefully few prototypes,
36608 which can conflict with char $ac_func (); below.
36609 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36610 <limits.h> exists even on freestanding compilers. */
36613 # include <limits.h>
36615 # include <assert.h>
36620 /* Override any GCC internal prototype to avoid an error.
36621 Use char because int might match the return type of a GCC
36622 builtin and then its argument prototype would still apply. */
36627 /* The GNU C library defines this for functions which it implements
36628 to always fail with ENOSYS. Some functions are actually named
36629 something starting with __ and the normal name is an alias. */
36630 #if defined __stub_$ac_func || defined __stub___$ac_func
36637 return $ac_func ();
36642 rm -f conftest.
$ac_objext conftest
$ac_exeext
36643 if { (ac_try
="$ac_link"
36644 case "(($ac_try" in
36645 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36646 *) ac_try_echo=$ac_try;;
36648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36649 (eval "$ac_link") 2>conftest.er1
36651 grep -v '^ *+' conftest.er1 >conftest.err
36653 cat conftest.err >&5
36654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36655 (exit $ac_status); } && {
36656 test -z "$ac_c_werror_flag" ||
36657 test ! -s conftest.err
36658 } && test -s conftest$ac_exeext &&
36659 $as_test_x conftest$ac_exeext; then
36660 eval "$as_ac_var=yes"
36662 echo "$as_me: failed program was:" >&5
36663 sed 's/^/| /' conftest.$ac_ext >&5
36665 eval "$as_ac_var=no"
36668 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36669 conftest$ac_exeext conftest.$ac_ext
36671 ac_res=`eval echo '${'$as_ac_var'}'`
36672 { echo "$as_me:$LINENO: result: $ac_res" >&5
36673 echo "${ECHO_T}$ac_res" >&6; }
36674 if test `eval echo '${'$as_ac_var'}'` = yes; then
36675 cat >>confdefs.h <<_ACEOF
36676 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36678 cat >>confdefs.h <<\_ACEOF
36679 #define HAVE_NANOSLEEP 1
36684 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
36685 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
36686 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
36687 echo $ECHO_N "(cached) $ECHO_C" >&6
36689 ac_check_lib_save_LIBS=$LIBS
36690 LIBS="-lposix4 $LIBS"
36691 cat >conftest.$ac_ext <<_ACEOF
36694 cat confdefs.h >>conftest.$ac_ext
36695 cat >>conftest.$ac_ext <<_ACEOF
36696 /* end confdefs.h. */
36698 /* Override any GCC internal prototype to avoid an error.
36699 Use char because int might match the return type of a GCC
36700 builtin and then its argument prototype would still apply. */
36708 return nanosleep ();
36713 rm -f conftest.$ac_objext conftest$ac_exeext
36714 if { (ac_try="$ac_link"
36715 case "(($ac_try" in
36716 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36717 *) ac_try_echo
=$ac_try;;
36719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36720 (eval "$ac_link") 2>conftest.er1
36722 grep -v '^ *+' conftest.er1
>conftest.err
36724 cat conftest.err
>&5
36725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36726 (exit $ac_status); } && {
36727 test -z "$ac_c_werror_flag" ||
36728 test ! -s conftest.err
36729 } && test -s conftest
$ac_exeext &&
36730 $as_test_x conftest
$ac_exeext; then
36731 ac_cv_lib_posix4_nanosleep
=yes
36733 echo "$as_me: failed program was:" >&5
36734 sed 's/^/| /' conftest.
$ac_ext >&5
36736 ac_cv_lib_posix4_nanosleep
=no
36739 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36740 conftest
$ac_exeext conftest.
$ac_ext
36741 LIBS
=$ac_check_lib_save_LIBS
36743 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
36744 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
36745 if test $ac_cv_lib_posix4_nanosleep = yes; then
36747 cat >>confdefs.h
<<\_ACEOF
36748 #define HAVE_NANOSLEEP 1
36751 POSIX4_LINK
=" -lposix4"
36756 for wx_func
in usleep
36758 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36759 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36760 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36761 echo $ECHO_N "(cached) $ECHO_C" >&6
36764 cat >conftest.
$ac_ext <<_ACEOF
36768 cat confdefs.h
>>conftest.
$ac_ext
36769 cat >>conftest.
$ac_ext <<_ACEOF
36770 /* end confdefs.h. */
36773 $ac_includes_default
36789 rm -f conftest.
$ac_objext conftest
$ac_exeext
36790 if { (ac_try
="$ac_link"
36791 case "(($ac_try" in
36792 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36793 *) ac_try_echo=$ac_try;;
36795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36796 (eval "$ac_link") 2>conftest.er1
36798 grep -v '^ *+' conftest.er1 >conftest.err
36800 cat conftest.err >&5
36801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36802 (exit $ac_status); } && {
36803 test -z "$ac_c_werror_flag" ||
36804 test ! -s conftest.err
36805 } && test -s conftest$ac_exeext &&
36806 $as_test_x conftest$ac_exeext; then
36807 eval wx_cv_func_$wx_func=yes
36809 echo "$as_me: failed program was:" >&5
36810 sed 's/^/| /' conftest.$ac_ext >&5
36812 eval wx_cv_func_$wx_func=no
36815 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36816 conftest$ac_exeext conftest.$ac_ext
36819 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36820 { echo "$as_me:$LINENO: result: $ac_res" >&5
36821 echo "${ECHO_T}$ac_res" >&6; }
36823 if eval test \$wx_cv_func_$wx_func = yes
36825 cat >>confdefs.h <<_ACEOF
36826 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36832 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
36833 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
36850 for wx_func in uname
36852 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36853 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36854 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36855 echo $ECHO_N "(cached) $ECHO_C" >&6
36858 cat >conftest.$ac_ext <<_ACEOF
36862 cat confdefs.h >>conftest.$ac_ext
36863 cat >>conftest.$ac_ext <<_ACEOF
36864 /* end confdefs.h. */
36866 #include <sys/utsname.h>
36867 $ac_includes_default
36883 rm -f conftest.$ac_objext conftest$ac_exeext
36884 if { (ac_try="$ac_link"
36885 case "(($ac_try" in
36886 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36887 *) ac_try_echo
=$ac_try;;
36889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36890 (eval "$ac_link") 2>conftest.er1
36892 grep -v '^ *+' conftest.er1
>conftest.err
36894 cat conftest.err
>&5
36895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36896 (exit $ac_status); } && {
36897 test -z "$ac_c_werror_flag" ||
36898 test ! -s conftest.err
36899 } && test -s conftest
$ac_exeext &&
36900 $as_test_x conftest
$ac_exeext; then
36901 eval wx_cv_func_
$wx_func=yes
36903 echo "$as_me: failed program was:" >&5
36904 sed 's/^/| /' conftest.
$ac_ext >&5
36906 eval wx_cv_func_
$wx_func=no
36909 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36910 conftest
$ac_exeext conftest.
$ac_ext
36913 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
36914 { echo "$as_me:$LINENO: result: $ac_res" >&5
36915 echo "${ECHO_T}$ac_res" >&6; }
36917 if eval test \
$wx_cv_func_$wx_func = yes
36919 cat >>confdefs.h
<<_ACEOF
36920 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36930 if test "$wx_cv_func_uname" != yes; then
36932 for wx_func
in gethostname
36934 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36935 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36936 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36937 echo $ECHO_N "(cached) $ECHO_C" >&6
36940 cat >conftest.
$ac_ext <<_ACEOF
36944 cat confdefs.h
>>conftest.
$ac_ext
36945 cat >>conftest.
$ac_ext <<_ACEOF
36946 /* end confdefs.h. */
36949 $ac_includes_default
36965 rm -f conftest.
$ac_objext conftest
$ac_exeext
36966 if { (ac_try
="$ac_link"
36967 case "(($ac_try" in
36968 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36969 *) ac_try_echo=$ac_try;;
36971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36972 (eval "$ac_link") 2>conftest.er1
36974 grep -v '^ *+' conftest.er1 >conftest.err
36976 cat conftest.err >&5
36977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36978 (exit $ac_status); } && {
36979 test -z "$ac_c_werror_flag" ||
36980 test ! -s conftest.err
36981 } && test -s conftest$ac_exeext &&
36982 $as_test_x conftest$ac_exeext; then
36983 eval wx_cv_func_$wx_func=yes
36985 echo "$as_me: failed program was:" >&5
36986 sed 's/^/| /' conftest.$ac_ext >&5
36988 eval wx_cv_func_$wx_func=no
36991 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36992 conftest$ac_exeext conftest.$ac_ext
36995 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36996 { echo "$as_me:$LINENO: result: $ac_res" >&5
36997 echo "${ECHO_T}$ac_res" >&6; }
36999 if eval test \$wx_cv_func_$wx_func = yes
37001 cat >>confdefs.h <<_ACEOF
37002 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37015 for wx_func in strtok_r
37017 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37018 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37019 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37020 echo $ECHO_N "(cached) $ECHO_C" >&6
37023 cat >conftest.$ac_ext <<_ACEOF
37027 cat confdefs.h >>conftest.$ac_ext
37028 cat >>conftest.$ac_ext <<_ACEOF
37029 /* end confdefs.h. */
37032 $ac_includes_default
37048 rm -f conftest.$ac_objext conftest$ac_exeext
37049 if { (ac_try="$ac_link"
37050 case "(($ac_try" in
37051 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37052 *) ac_try_echo
=$ac_try;;
37054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37055 (eval "$ac_link") 2>conftest.er1
37057 grep -v '^ *+' conftest.er1
>conftest.err
37059 cat conftest.err
>&5
37060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37061 (exit $ac_status); } && {
37062 test -z "$ac_c_werror_flag" ||
37063 test ! -s conftest.err
37064 } && test -s conftest
$ac_exeext &&
37065 $as_test_x conftest
$ac_exeext; then
37066 eval wx_cv_func_
$wx_func=yes
37068 echo "$as_me: failed program was:" >&5
37069 sed 's/^/| /' conftest.
$ac_ext >&5
37071 eval wx_cv_func_
$wx_func=no
37074 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37075 conftest
$ac_exeext conftest.
$ac_ext
37078 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37079 { echo "$as_me:$LINENO: result: $ac_res" >&5
37080 echo "${ECHO_T}$ac_res" >&6; }
37082 if eval test \
$wx_cv_func_$wx_func = yes
37084 cat >>confdefs.h
<<_ACEOF
37085 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37098 for ac_func
in inet_addr
37100 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37101 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37102 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37103 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37104 echo $ECHO_N "(cached) $ECHO_C" >&6
37106 cat >conftest.
$ac_ext <<_ACEOF
37109 cat confdefs.h
>>conftest.
$ac_ext
37110 cat >>conftest.
$ac_ext <<_ACEOF
37111 /* end confdefs.h. */
37112 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37113 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37114 #define $ac_func innocuous_$ac_func
37116 /* System header to define __stub macros and hopefully few prototypes,
37117 which can conflict with char $ac_func (); below.
37118 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37119 <limits.h> exists even on freestanding compilers. */
37122 # include <limits.h>
37124 # include <assert.h>
37129 /* Override any GCC internal prototype to avoid an error.
37130 Use char because int might match the return type of a GCC
37131 builtin and then its argument prototype would still apply. */
37136 /* The GNU C library defines this for functions which it implements
37137 to always fail with ENOSYS. Some functions are actually named
37138 something starting with __ and the normal name is an alias. */
37139 #if defined __stub_$ac_func || defined __stub___$ac_func
37146 return $ac_func ();
37151 rm -f conftest.
$ac_objext conftest
$ac_exeext
37152 if { (ac_try
="$ac_link"
37153 case "(($ac_try" in
37154 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37155 *) ac_try_echo=$ac_try;;
37157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37158 (eval "$ac_link") 2>conftest.er1
37160 grep -v '^ *+' conftest.er1 >conftest.err
37162 cat conftest.err >&5
37163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37164 (exit $ac_status); } && {
37165 test -z "$ac_c_werror_flag" ||
37166 test ! -s conftest.err
37167 } && test -s conftest$ac_exeext &&
37168 $as_test_x conftest$ac_exeext; then
37169 eval "$as_ac_var=yes"
37171 echo "$as_me: failed program was:" >&5
37172 sed 's/^/| /' conftest.$ac_ext >&5
37174 eval "$as_ac_var=no"
37177 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37178 conftest$ac_exeext conftest.$ac_ext
37180 ac_res=`eval echo '${'$as_ac_var'}'`
37181 { echo "$as_me:$LINENO: result: $ac_res" >&5
37182 echo "${ECHO_T}$ac_res" >&6; }
37183 if test `eval echo '${'$as_ac_var'}'` = yes; then
37184 cat >>confdefs.h <<_ACEOF
37185 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37187 cat >>confdefs.h <<\_ACEOF
37188 #define HAVE_INET_ADDR 1
37193 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
37194 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
37195 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
37196 echo $ECHO_N "(cached) $ECHO_C" >&6
37198 ac_check_lib_save_LIBS=$LIBS
37200 cat >conftest.$ac_ext <<_ACEOF
37203 cat confdefs.h >>conftest.$ac_ext
37204 cat >>conftest.$ac_ext <<_ACEOF
37205 /* end confdefs.h. */
37207 /* Override any GCC internal prototype to avoid an error.
37208 Use char because int might match the return type of a GCC
37209 builtin and then its argument prototype would still apply. */
37217 return inet_addr ();
37222 rm -f conftest.$ac_objext conftest$ac_exeext
37223 if { (ac_try="$ac_link"
37224 case "(($ac_try" in
37225 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37226 *) ac_try_echo
=$ac_try;;
37228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37229 (eval "$ac_link") 2>conftest.er1
37231 grep -v '^ *+' conftest.er1
>conftest.err
37233 cat conftest.err
>&5
37234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37235 (exit $ac_status); } && {
37236 test -z "$ac_c_werror_flag" ||
37237 test ! -s conftest.err
37238 } && test -s conftest
$ac_exeext &&
37239 $as_test_x conftest
$ac_exeext; then
37240 ac_cv_lib_nsl_inet_addr
=yes
37242 echo "$as_me: failed program was:" >&5
37243 sed 's/^/| /' conftest.
$ac_ext >&5
37245 ac_cv_lib_nsl_inet_addr
=no
37248 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37249 conftest
$ac_exeext conftest.
$ac_ext
37250 LIBS
=$ac_check_lib_save_LIBS
37252 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
37253 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
37254 if test $ac_cv_lib_nsl_inet_addr = yes; then
37258 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
37259 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
37260 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
37261 echo $ECHO_N "(cached) $ECHO_C" >&6
37263 ac_check_lib_save_LIBS
=$LIBS
37264 LIBS
="-lresolv $LIBS"
37265 cat >conftest.
$ac_ext <<_ACEOF
37268 cat confdefs.h
>>conftest.
$ac_ext
37269 cat >>conftest.
$ac_ext <<_ACEOF
37270 /* end confdefs.h. */
37272 /* Override any GCC internal prototype to avoid an error.
37273 Use char because int might match the return type of a GCC
37274 builtin and then its argument prototype would still apply. */
37282 return inet_addr ();
37287 rm -f conftest.
$ac_objext conftest
$ac_exeext
37288 if { (ac_try
="$ac_link"
37289 case "(($ac_try" in
37290 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37291 *) ac_try_echo=$ac_try;;
37293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37294 (eval "$ac_link") 2>conftest.er1
37296 grep -v '^ *+' conftest.er1 >conftest.err
37298 cat conftest.err >&5
37299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37300 (exit $ac_status); } && {
37301 test -z "$ac_c_werror_flag" ||
37302 test ! -s conftest.err
37303 } && test -s conftest$ac_exeext &&
37304 $as_test_x conftest$ac_exeext; then
37305 ac_cv_lib_resolv_inet_addr=yes
37307 echo "$as_me: failed program was:" >&5
37308 sed 's/^/| /' conftest.$ac_ext >&5
37310 ac_cv_lib_resolv_inet_addr=no
37313 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37314 conftest$ac_exeext conftest.$ac_ext
37315 LIBS=$ac_check_lib_save_LIBS
37317 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
37318 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
37319 if test $ac_cv_lib_resolv_inet_addr = yes; then
37323 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
37324 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
37325 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
37326 echo $ECHO_N "(cached) $ECHO_C" >&6
37328 ac_check_lib_save_LIBS=$LIBS
37329 LIBS="-lsocket $LIBS"
37330 cat >conftest.$ac_ext <<_ACEOF
37333 cat confdefs.h >>conftest.$ac_ext
37334 cat >>conftest.$ac_ext <<_ACEOF
37335 /* end confdefs.h. */
37337 /* Override any GCC internal prototype to avoid an error.
37338 Use char because int might match the return type of a GCC
37339 builtin and then its argument prototype would still apply. */
37347 return inet_addr ();
37352 rm -f conftest.$ac_objext conftest$ac_exeext
37353 if { (ac_try="$ac_link"
37354 case "(($ac_try" in
37355 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37356 *) ac_try_echo
=$ac_try;;
37358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37359 (eval "$ac_link") 2>conftest.er1
37361 grep -v '^ *+' conftest.er1
>conftest.err
37363 cat conftest.err
>&5
37364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37365 (exit $ac_status); } && {
37366 test -z "$ac_c_werror_flag" ||
37367 test ! -s conftest.err
37368 } && test -s conftest
$ac_exeext &&
37369 $as_test_x conftest
$ac_exeext; then
37370 ac_cv_lib_socket_inet_addr
=yes
37372 echo "$as_me: failed program was:" >&5
37373 sed 's/^/| /' conftest.
$ac_ext >&5
37375 ac_cv_lib_socket_inet_addr
=no
37378 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37379 conftest
$ac_exeext conftest.
$ac_ext
37380 LIBS
=$ac_check_lib_save_LIBS
37382 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
37383 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
37384 if test $ac_cv_lib_socket_inet_addr = yes; then
37404 for ac_func
in inet_aton
37406 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37407 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37408 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37409 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37410 echo $ECHO_N "(cached) $ECHO_C" >&6
37412 cat >conftest.
$ac_ext <<_ACEOF
37415 cat confdefs.h
>>conftest.
$ac_ext
37416 cat >>conftest.
$ac_ext <<_ACEOF
37417 /* end confdefs.h. */
37418 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37419 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37420 #define $ac_func innocuous_$ac_func
37422 /* System header to define __stub macros and hopefully few prototypes,
37423 which can conflict with char $ac_func (); below.
37424 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37425 <limits.h> exists even on freestanding compilers. */
37428 # include <limits.h>
37430 # include <assert.h>
37435 /* Override any GCC internal prototype to avoid an error.
37436 Use char because int might match the return type of a GCC
37437 builtin and then its argument prototype would still apply. */
37442 /* The GNU C library defines this for functions which it implements
37443 to always fail with ENOSYS. Some functions are actually named
37444 something starting with __ and the normal name is an alias. */
37445 #if defined __stub_$ac_func || defined __stub___$ac_func
37452 return $ac_func ();
37457 rm -f conftest.
$ac_objext conftest
$ac_exeext
37458 if { (ac_try
="$ac_link"
37459 case "(($ac_try" in
37460 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37461 *) ac_try_echo=$ac_try;;
37463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37464 (eval "$ac_link") 2>conftest.er1
37466 grep -v '^ *+' conftest.er1 >conftest.err
37468 cat conftest.err >&5
37469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37470 (exit $ac_status); } && {
37471 test -z "$ac_c_werror_flag" ||
37472 test ! -s conftest.err
37473 } && test -s conftest$ac_exeext &&
37474 $as_test_x conftest$ac_exeext; then
37475 eval "$as_ac_var=yes"
37477 echo "$as_me: failed program was:" >&5
37478 sed 's/^/| /' conftest.$ac_ext >&5
37480 eval "$as_ac_var=no"
37483 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37484 conftest$ac_exeext conftest.$ac_ext
37486 ac_res=`eval echo '${'$as_ac_var'}'`
37487 { echo "$as_me:$LINENO: result: $ac_res" >&5
37488 echo "${ECHO_T}$ac_res" >&6; }
37489 if test `eval echo '${'$as_ac_var'}'` = yes; then
37490 cat >>confdefs.h <<_ACEOF
37491 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37493 cat >>confdefs.h <<\_ACEOF
37494 #define HAVE_INET_ATON 1
37499 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
37500 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
37501 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
37502 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
37503 echo $ECHO_N "(cached) $ECHO_C" >&6
37505 ac_check_lib_save_LIBS=$LIBS
37506 LIBS="-l$INET_LINK $LIBS"
37507 cat >conftest.$ac_ext <<_ACEOF
37510 cat confdefs.h >>conftest.$ac_ext
37511 cat >>conftest.$ac_ext <<_ACEOF
37512 /* end confdefs.h. */
37514 /* Override any GCC internal prototype to avoid an error.
37515 Use char because int might match the return type of a GCC
37516 builtin and then its argument prototype would still apply. */
37524 return inet_aton ();
37529 rm -f conftest.$ac_objext conftest$ac_exeext
37530 if { (ac_try="$ac_link"
37531 case "(($ac_try" in
37532 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37533 *) ac_try_echo
=$ac_try;;
37535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37536 (eval "$ac_link") 2>conftest.er1
37538 grep -v '^ *+' conftest.er1
>conftest.err
37540 cat conftest.err
>&5
37541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37542 (exit $ac_status); } && {
37543 test -z "$ac_c_werror_flag" ||
37544 test ! -s conftest.err
37545 } && test -s conftest
$ac_exeext &&
37546 $as_test_x conftest
$ac_exeext; then
37547 eval "$as_ac_Lib=yes"
37549 echo "$as_me: failed program was:" >&5
37550 sed 's/^/| /' conftest.
$ac_ext >&5
37552 eval "$as_ac_Lib=no"
37555 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37556 conftest
$ac_exeext conftest.
$ac_ext
37557 LIBS
=$ac_check_lib_save_LIBS
37559 ac_res
=`eval echo '${'$as_ac_Lib'}'`
37560 { echo "$as_me:$LINENO: result: $ac_res" >&5
37561 echo "${ECHO_T}$ac_res" >&6; }
37562 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
37563 cat >>confdefs.h
<<\_ACEOF
37564 #define HAVE_INET_ATON 1
37574 if test "x$INET_LINK" != "x"; then
37575 cat >>confdefs.h
<<\_ACEOF
37576 #define HAVE_INET_ADDR 1
37579 INET_LINK
=" -l$INET_LINK"
37583 for wx_func
in fdopen
37585 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37586 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37587 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37588 echo $ECHO_N "(cached) $ECHO_C" >&6
37591 cat >conftest.
$ac_ext <<_ACEOF
37595 cat confdefs.h
>>conftest.
$ac_ext
37596 cat >>conftest.
$ac_ext <<_ACEOF
37597 /* end confdefs.h. */
37600 $ac_includes_default
37616 rm -f conftest.
$ac_objext conftest
$ac_exeext
37617 if { (ac_try
="$ac_link"
37618 case "(($ac_try" in
37619 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37620 *) ac_try_echo=$ac_try;;
37622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37623 (eval "$ac_link") 2>conftest.er1
37625 grep -v '^ *+' conftest.er1 >conftest.err
37627 cat conftest.err >&5
37628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37629 (exit $ac_status); } && {
37630 test -z "$ac_c_werror_flag" ||
37631 test ! -s conftest.err
37632 } && test -s conftest$ac_exeext &&
37633 $as_test_x conftest$ac_exeext; then
37634 eval wx_cv_func_$wx_func=yes
37636 echo "$as_me: failed program was:" >&5
37637 sed 's/^/| /' conftest.$ac_ext >&5
37639 eval wx_cv_func_$wx_func=no
37642 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37643 conftest$ac_exeext conftest.$ac_ext
37646 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37647 { echo "$as_me:$LINENO: result: $ac_res" >&5
37648 echo "${ECHO_T}$ac_res" >&6; }
37650 if eval test \$wx_cv_func_$wx_func = yes
37652 cat >>confdefs.h <<_ACEOF
37653 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37668 cat >confcache <<\_ACEOF
37669 # This file is a shell script that caches the results of configure
37670 # tests run on this system so they can be shared between configure
37671 # scripts and configure runs, see configure's option --config-cache.
37672 # It is not useful on other systems. If it contains results you don't
37673 # want to keep, you may remove or edit it.
37675 # config.status only pays attention to the cache file if you give it
37676 # the --recheck option to rerun configure.
37678 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
37679 # loading this file, other *unset* `ac_cv_foo' will be assigned the
37680 # following values.
37684 # The following way of writing the cache mishandles newlines in values,
37685 # but we know of no workaround that is simple, portable, and efficient.
37686 # So, we kill variables containing newlines.
37687 # Ultrix sh set writes to stderr and can't be redirected directly,
37688 # and sets the high bit in the cache file unless we assign to the vars.
37690 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
37691 eval ac_val
=\$
$ac_var
37695 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
37696 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
37699 _
| IFS
| as_nl
) ;; #(
37700 *) $as_unset $ac_var ;;
37706 case $as_nl`(ac_space=' '; set) 2>&1` in #(
37707 *${as_nl}ac_space
=\
*)
37708 # `set' does not quote correctly, so add quotes (double-quote
37709 # substitution turns \\\\ into \\, and sed turns \\ into \).
37712 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
37715 # `set' quotes correctly as required by POSIX, so do not add quotes.
37716 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
37725 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
37727 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
37729 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
37730 if test -w "$cache_file"; then
37731 test "x$cache_file" != "x/dev/null" &&
37732 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
37733 echo "$as_me: updating cache $cache_file" >&6;}
37734 cat confcache
>$cache_file
37736 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
37737 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
37743 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
37749 if test "$wxUSE_THREADS" = "yes" ; then
37750 if test "$USE_BEOS" = 1; then
37751 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
37752 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
37757 if test "$wxUSE_THREADS" = "yes" ; then
37760 THREAD_OPTS
="-pthread"
37762 *-*-solaris2* | *-*-sunos4* )
37763 if test "x$GCC" = "xyes"; then
37764 THREAD_OPTS
="-pthreads $THREAD_OPTS"
37766 THREAD_OPTS
="-mt $THREAD_OPTS"
37770 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
37772 *-*-darwin* | *-*-cygwin* )
37776 THREAD_OPTS
="pthreads"
37779 if test "x$GCC" = "xyes"; then
37780 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
37788 if test "x$GCC" = "xyes"; then
37794 if test "x$GCC" != "xyes"; then
37795 THREAD_OPTS
="-Ethread"
37800 THREAD_OPTS
="$THREAD_OPTS pthread none"
37803 for flag
in $THREAD_OPTS; do
37806 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
37807 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
37811 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
37812 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
37813 THREADS_CFLAGS
="$flag"
37817 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
37818 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
37819 THREADS_LINK
="-l$flag"
37824 save_CFLAGS
="$CFLAGS"
37825 LIBS
="$THREADS_LINK $LIBS"
37826 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
37828 cat >conftest.
$ac_ext <<_ACEOF
37831 cat confdefs.h
>>conftest.
$ac_ext
37832 cat >>conftest.
$ac_ext <<_ACEOF
37833 /* end confdefs.h. */
37834 #include <pthread.h>
37838 pthread_create(0,0,0,0);
37843 rm -f conftest.
$ac_objext conftest
$ac_exeext
37844 if { (ac_try
="$ac_link"
37845 case "(($ac_try" in
37846 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37847 *) ac_try_echo=$ac_try;;
37849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37850 (eval "$ac_link") 2>conftest.er1
37852 grep -v '^ *+' conftest.er1 >conftest.err
37854 cat conftest.err >&5
37855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37856 (exit $ac_status); } && {
37857 test -z "$ac_c_werror_flag" ||
37858 test ! -s conftest.err
37859 } && test -s conftest$ac_exeext &&
37860 $as_test_x conftest$ac_exeext; then
37863 echo "$as_me: failed program was:" >&5
37864 sed 's/^/| /' conftest.$ac_ext >&5
37869 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37870 conftest$ac_exeext conftest.$ac_ext
37873 CFLAGS="$save_CFLAGS"
37875 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
37876 echo "${ECHO_T}$THREADS_OK" >&6; }
37877 if test "x$THREADS_OK" = "xyes"; then
37885 if test "x$THREADS_OK" != "xyes"; then
37887 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
37888 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
37890 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
37891 LIBS="$THREADS_LINK $LIBS"
37893 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
37894 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
37898 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
37899 flag="-D_THREAD_SAFE"
37902 flag="-D_THREAD_SAFE"
37905 flag="-D_REENTRANT"
37906 if test "x$GCC" != "xyes"; then
37907 flag="$flag -D_RWSTD_MULTI_THREAD"
37910 *solaris* | alpha*-osf*)
37911 flag="-D_REENTRANT"
37914 { echo "$as_me:$LINENO: result: ${flag}" >&5
37915 echo "${ECHO_T}${flag}" >&6; }
37916 if test "x$flag" != xno; then
37917 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
37920 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
37924 if test "$wxUSE_THREADS" = "yes" ; then
37926 for ac_func in thr_setconcurrency
37928 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37929 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37930 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37931 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37932 echo $ECHO_N "(cached) $ECHO_C" >&6
37934 cat >conftest.$ac_ext <<_ACEOF
37937 cat confdefs.h >>conftest.$ac_ext
37938 cat >>conftest.$ac_ext <<_ACEOF
37939 /* end confdefs.h. */
37940 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37941 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37942 #define $ac_func innocuous_$ac_func
37944 /* System header to define __stub macros and hopefully few prototypes,
37945 which can conflict with char $ac_func (); below.
37946 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37947 <limits.h> exists even on freestanding compilers. */
37950 # include <limits.h>
37952 # include <assert.h>
37957 /* Override any GCC internal prototype to avoid an error.
37958 Use char because int might match the return type of a GCC
37959 builtin and then its argument prototype would still apply. */
37964 /* The GNU C library defines this for functions which it implements
37965 to always fail with ENOSYS. Some functions are actually named
37966 something starting with __ and the normal name is an alias. */
37967 #if defined __stub_$ac_func || defined __stub___$ac_func
37974 return $ac_func ();
37979 rm -f conftest.$ac_objext conftest$ac_exeext
37980 if { (ac_try="$ac_link"
37981 case "(($ac_try" in
37982 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37983 *) ac_try_echo
=$ac_try;;
37985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37986 (eval "$ac_link") 2>conftest.er1
37988 grep -v '^ *+' conftest.er1
>conftest.err
37990 cat conftest.err
>&5
37991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37992 (exit $ac_status); } && {
37993 test -z "$ac_c_werror_flag" ||
37994 test ! -s conftest.err
37995 } && test -s conftest
$ac_exeext &&
37996 $as_test_x conftest
$ac_exeext; then
37997 eval "$as_ac_var=yes"
37999 echo "$as_me: failed program was:" >&5
38000 sed 's/^/| /' conftest.
$ac_ext >&5
38002 eval "$as_ac_var=no"
38005 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38006 conftest
$ac_exeext conftest.
$ac_ext
38008 ac_res
=`eval echo '${'$as_ac_var'}'`
38009 { echo "$as_me:$LINENO: result: $ac_res" >&5
38010 echo "${ECHO_T}$ac_res" >&6; }
38011 if test `eval echo '${'$as_ac_var'}'` = yes; then
38012 cat >>confdefs.h
<<_ACEOF
38013 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38020 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
38021 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
38022 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
38023 echo $ECHO_N "(cached) $ECHO_C" >&6
38026 cat >conftest.
$ac_ext <<_ACEOF
38029 cat confdefs.h
>>conftest.
$ac_ext
38030 cat >>conftest.
$ac_ext <<_ACEOF
38031 /* end confdefs.h. */
38032 #include <pthread.h>
38033 void ThreadCleanupFunc(void *p);
38040 pthread_cleanup_push(ThreadCleanupFunc, p);
38041 pthread_cleanup_pop(0);
38047 rm -f conftest.
$ac_objext
38048 if { (ac_try
="$ac_compile"
38049 case "(($ac_try" in
38050 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38051 *) ac_try_echo=$ac_try;;
38053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38054 (eval "$ac_compile") 2>conftest.er1
38056 grep -v '^ *+' conftest.er1 >conftest.err
38058 cat conftest.err >&5
38059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38060 (exit $ac_status); } && {
38061 test -z "$ac_c_werror_flag" ||
38062 test ! -s conftest.err
38063 } && test -s conftest.$ac_objext; then
38065 wx_cv_func_pthread_cleanup=yes
38068 echo "$as_me: failed program was:" >&5
38069 sed 's/^/| /' conftest.$ac_ext >&5
38072 wx_cv_func_pthread_cleanup=no
38077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38080 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
38081 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
38082 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
38083 cat >>confdefs.h <<\_ACEOF
38084 #define wxHAVE_PTHREAD_CLEANUP 1
38089 { echo "$as_me:$LINENO: checking for sched.h" >&5
38090 echo $ECHO_N "checking for sched.h... $ECHO_C" >&6; }
38091 if test "${ac_cv_header_sched_h+set}" = set; then
38092 echo $ECHO_N "(cached) $ECHO_C" >&6
38094 cat >conftest.$ac_ext <<_ACEOF
38097 cat confdefs.h >>conftest.$ac_ext
38098 cat >>conftest.$ac_ext <<_ACEOF
38099 /* end confdefs.h. */
38100 $ac_includes_default
38104 rm -f conftest.$ac_objext
38105 if { (ac_try="$ac_compile"
38106 case "(($ac_try" in
38107 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38108 *) ac_try_echo
=$ac_try;;
38110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38111 (eval "$ac_compile") 2>conftest.er1
38113 grep -v '^ *+' conftest.er1
>conftest.err
38115 cat conftest.err
>&5
38116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38117 (exit $ac_status); } && {
38118 test -z "$ac_c_werror_flag" ||
38119 test ! -s conftest.err
38120 } && test -s conftest.
$ac_objext; then
38121 ac_cv_header_sched_h
=yes
38123 echo "$as_me: failed program was:" >&5
38124 sed 's/^/| /' conftest.
$ac_ext >&5
38126 ac_cv_header_sched_h
=no
38129 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38131 { echo "$as_me:$LINENO: result: $ac_cv_header_sched_h" >&5
38132 echo "${ECHO_T}$ac_cv_header_sched_h" >&6; }
38135 if test "$ac_cv_header_sched_h" = "yes"; then
38136 { echo "$as_me:$LINENO: checking for sched_yield" >&5
38137 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
38138 if test "${ac_cv_func_sched_yield+set}" = set; then
38139 echo $ECHO_N "(cached) $ECHO_C" >&6
38141 cat >conftest.
$ac_ext <<_ACEOF
38144 cat confdefs.h
>>conftest.
$ac_ext
38145 cat >>conftest.
$ac_ext <<_ACEOF
38146 /* end confdefs.h. */
38147 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
38148 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38149 #define sched_yield innocuous_sched_yield
38151 /* System header to define __stub macros and hopefully few prototypes,
38152 which can conflict with char sched_yield (); below.
38153 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38154 <limits.h> exists even on freestanding compilers. */
38157 # include <limits.h>
38159 # include <assert.h>
38164 /* Override any GCC internal prototype to avoid an error.
38165 Use char because int might match the return type of a GCC
38166 builtin and then its argument prototype would still apply. */
38170 char sched_yield ();
38171 /* The GNU C library defines this for functions which it implements
38172 to always fail with ENOSYS. Some functions are actually named
38173 something starting with __ and the normal name is an alias. */
38174 #if defined __stub_sched_yield || defined __stub___sched_yield
38181 return sched_yield ();
38186 rm -f conftest.
$ac_objext conftest
$ac_exeext
38187 if { (ac_try
="$ac_link"
38188 case "(($ac_try" in
38189 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38190 *) ac_try_echo=$ac_try;;
38192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38193 (eval "$ac_link") 2>conftest.er1
38195 grep -v '^ *+' conftest.er1 >conftest.err
38197 cat conftest.err >&5
38198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38199 (exit $ac_status); } && {
38200 test -z "$ac_c_werror_flag" ||
38201 test ! -s conftest.err
38202 } && test -s conftest$ac_exeext &&
38203 $as_test_x conftest$ac_exeext; then
38204 ac_cv_func_sched_yield=yes
38206 echo "$as_me: failed program was:" >&5
38207 sed 's/^/| /' conftest.$ac_ext >&5
38209 ac_cv_func_sched_yield=no
38212 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38213 conftest$ac_exeext conftest.$ac_ext
38215 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
38216 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
38217 if test $ac_cv_func_sched_yield = yes; then
38218 cat >>confdefs.h <<\_ACEOF
38219 #define HAVE_SCHED_YIELD 1
38224 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
38225 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
38226 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
38227 echo $ECHO_N "(cached) $ECHO_C" >&6
38229 ac_check_lib_save_LIBS=$LIBS
38230 LIBS="-lposix4 $LIBS"
38231 cat >conftest.$ac_ext <<_ACEOF
38234 cat confdefs.h >>conftest.$ac_ext
38235 cat >>conftest.$ac_ext <<_ACEOF
38236 /* end confdefs.h. */
38238 /* Override any GCC internal prototype to avoid an error.
38239 Use char because int might match the return type of a GCC
38240 builtin and then its argument prototype would still apply. */
38244 char sched_yield ();
38248 return sched_yield ();
38253 rm -f conftest.$ac_objext conftest$ac_exeext
38254 if { (ac_try="$ac_link"
38255 case "(($ac_try" in
38256 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38257 *) ac_try_echo
=$ac_try;;
38259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38260 (eval "$ac_link") 2>conftest.er1
38262 grep -v '^ *+' conftest.er1
>conftest.err
38264 cat conftest.err
>&5
38265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38266 (exit $ac_status); } && {
38267 test -z "$ac_c_werror_flag" ||
38268 test ! -s conftest.err
38269 } && test -s conftest
$ac_exeext &&
38270 $as_test_x conftest
$ac_exeext; then
38271 ac_cv_lib_posix4_sched_yield
=yes
38273 echo "$as_me: failed program was:" >&5
38274 sed 's/^/| /' conftest.
$ac_ext >&5
38276 ac_cv_lib_posix4_sched_yield
=no
38279 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38280 conftest
$ac_exeext conftest.
$ac_ext
38281 LIBS
=$ac_check_lib_save_LIBS
38283 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
38284 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
38285 if test $ac_cv_lib_posix4_sched_yield = yes; then
38286 cat >>confdefs.h
<<\_ACEOF
38287 #define HAVE_SCHED_YIELD 1
38289 POSIX4_LINK
=" -lposix4"
38291 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
38292 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
38303 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
38304 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
38305 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
38306 echo $ECHO_N "(cached) $ECHO_C" >&6
38308 cat >conftest.
$ac_ext <<_ACEOF
38311 cat confdefs.h
>>conftest.
$ac_ext
38312 cat >>conftest.
$ac_ext <<_ACEOF
38313 /* end confdefs.h. */
38314 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
38315 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38316 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
38318 /* System header to define __stub macros and hopefully few prototypes,
38319 which can conflict with char pthread_attr_getschedpolicy (); below.
38320 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38321 <limits.h> exists even on freestanding compilers. */
38324 # include <limits.h>
38326 # include <assert.h>
38329 #undef pthread_attr_getschedpolicy
38331 /* Override any GCC internal prototype to avoid an error.
38332 Use char because int might match the return type of a GCC
38333 builtin and then its argument prototype would still apply. */
38337 char pthread_attr_getschedpolicy ();
38338 /* The GNU C library defines this for functions which it implements
38339 to always fail with ENOSYS. Some functions are actually named
38340 something starting with __ and the normal name is an alias. */
38341 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
38348 return pthread_attr_getschedpolicy ();
38353 rm -f conftest.
$ac_objext conftest
$ac_exeext
38354 if { (ac_try
="$ac_link"
38355 case "(($ac_try" in
38356 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38357 *) ac_try_echo=$ac_try;;
38359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38360 (eval "$ac_link") 2>conftest.er1
38362 grep -v '^ *+' conftest.er1 >conftest.err
38364 cat conftest.err >&5
38365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38366 (exit $ac_status); } && {
38367 test -z "$ac_c_werror_flag" ||
38368 test ! -s conftest.err
38369 } && test -s conftest$ac_exeext &&
38370 $as_test_x conftest$ac_exeext; then
38371 ac_cv_func_pthread_attr_getschedpolicy=yes
38373 echo "$as_me: failed program was:" >&5
38374 sed 's/^/| /' conftest.$ac_ext >&5
38376 ac_cv_func_pthread_attr_getschedpolicy=no
38379 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38380 conftest$ac_exeext conftest.$ac_ext
38382 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
38383 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
38384 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
38385 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
38386 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
38387 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
38388 echo $ECHO_N "(cached) $ECHO_C" >&6
38390 cat >conftest.$ac_ext <<_ACEOF
38393 cat confdefs.h >>conftest.$ac_ext
38394 cat >>conftest.$ac_ext <<_ACEOF
38395 /* end confdefs.h. */
38396 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
38397 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38398 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
38400 /* System header to define __stub macros and hopefully few prototypes,
38401 which can conflict with char pthread_attr_setschedparam (); below.
38402 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38403 <limits.h> exists even on freestanding compilers. */
38406 # include <limits.h>
38408 # include <assert.h>
38411 #undef pthread_attr_setschedparam
38413 /* Override any GCC internal prototype to avoid an error.
38414 Use char because int might match the return type of a GCC
38415 builtin and then its argument prototype would still apply. */
38419 char pthread_attr_setschedparam ();
38420 /* The GNU C library defines this for functions which it implements
38421 to always fail with ENOSYS. Some functions are actually named
38422 something starting with __ and the normal name is an alias. */
38423 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
38430 return pthread_attr_setschedparam ();
38435 rm -f conftest.$ac_objext conftest$ac_exeext
38436 if { (ac_try="$ac_link"
38437 case "(($ac_try" in
38438 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38439 *) ac_try_echo
=$ac_try;;
38441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38442 (eval "$ac_link") 2>conftest.er1
38444 grep -v '^ *+' conftest.er1
>conftest.err
38446 cat conftest.err
>&5
38447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38448 (exit $ac_status); } && {
38449 test -z "$ac_c_werror_flag" ||
38450 test ! -s conftest.err
38451 } && test -s conftest
$ac_exeext &&
38452 $as_test_x conftest
$ac_exeext; then
38453 ac_cv_func_pthread_attr_setschedparam
=yes
38455 echo "$as_me: failed program was:" >&5
38456 sed 's/^/| /' conftest.
$ac_ext >&5
38458 ac_cv_func_pthread_attr_setschedparam
=no
38461 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38462 conftest
$ac_exeext conftest.
$ac_ext
38464 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
38465 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
38466 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
38467 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
38468 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
38469 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
38470 echo $ECHO_N "(cached) $ECHO_C" >&6
38472 cat >conftest.
$ac_ext <<_ACEOF
38475 cat confdefs.h
>>conftest.
$ac_ext
38476 cat >>conftest.
$ac_ext <<_ACEOF
38477 /* end confdefs.h. */
38478 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
38479 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38480 #define sched_get_priority_max innocuous_sched_get_priority_max
38482 /* System header to define __stub macros and hopefully few prototypes,
38483 which can conflict with char sched_get_priority_max (); below.
38484 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38485 <limits.h> exists even on freestanding compilers. */
38488 # include <limits.h>
38490 # include <assert.h>
38493 #undef sched_get_priority_max
38495 /* Override any GCC internal prototype to avoid an error.
38496 Use char because int might match the return type of a GCC
38497 builtin and then its argument prototype would still apply. */
38501 char sched_get_priority_max ();
38502 /* The GNU C library defines this for functions which it implements
38503 to always fail with ENOSYS. Some functions are actually named
38504 something starting with __ and the normal name is an alias. */
38505 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
38512 return sched_get_priority_max ();
38517 rm -f conftest.
$ac_objext conftest
$ac_exeext
38518 if { (ac_try
="$ac_link"
38519 case "(($ac_try" in
38520 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38521 *) ac_try_echo=$ac_try;;
38523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38524 (eval "$ac_link") 2>conftest.er1
38526 grep -v '^ *+' conftest.er1 >conftest.err
38528 cat conftest.err >&5
38529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38530 (exit $ac_status); } && {
38531 test -z "$ac_c_werror_flag" ||
38532 test ! -s conftest.err
38533 } && test -s conftest$ac_exeext &&
38534 $as_test_x conftest$ac_exeext; then
38535 ac_cv_func_sched_get_priority_max=yes
38537 echo "$as_me: failed program was:" >&5
38538 sed 's/^/| /' conftest.$ac_ext >&5
38540 ac_cv_func_sched_get_priority_max=no
38543 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38544 conftest$ac_exeext conftest.$ac_ext
38546 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
38547 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
38548 if test $ac_cv_func_sched_get_priority_max = yes; then
38551 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
38552 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
38553 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
38554 echo $ECHO_N "(cached) $ECHO_C" >&6
38556 ac_check_lib_save_LIBS=$LIBS
38557 LIBS="-lposix4 $LIBS"
38558 cat >conftest.$ac_ext <<_ACEOF
38561 cat confdefs.h >>conftest.$ac_ext
38562 cat >>conftest.$ac_ext <<_ACEOF
38563 /* end confdefs.h. */
38565 /* Override any GCC internal prototype to avoid an error.
38566 Use char because int might match the return type of a GCC
38567 builtin and then its argument prototype would still apply. */
38571 char sched_get_priority_max ();
38575 return sched_get_priority_max ();
38580 rm -f conftest.$ac_objext conftest$ac_exeext
38581 if { (ac_try="$ac_link"
38582 case "(($ac_try" in
38583 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38584 *) ac_try_echo
=$ac_try;;
38586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38587 (eval "$ac_link") 2>conftest.er1
38589 grep -v '^ *+' conftest.er1
>conftest.err
38591 cat conftest.err
>&5
38592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38593 (exit $ac_status); } && {
38594 test -z "$ac_c_werror_flag" ||
38595 test ! -s conftest.err
38596 } && test -s conftest
$ac_exeext &&
38597 $as_test_x conftest
$ac_exeext; then
38598 ac_cv_lib_posix4_sched_get_priority_max
=yes
38600 echo "$as_me: failed program was:" >&5
38601 sed 's/^/| /' conftest.
$ac_ext >&5
38603 ac_cv_lib_posix4_sched_get_priority_max
=no
38606 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38607 conftest
$ac_exeext conftest.
$ac_ext
38608 LIBS
=$ac_check_lib_save_LIBS
38610 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
38611 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
38612 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
38615 POSIX4_LINK
=" -lposix4"
38629 if test "$HAVE_PRIOR_FUNCS" = 1; then
38630 cat >>confdefs.h
<<\_ACEOF
38631 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
38635 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
38636 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
38639 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
38640 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
38641 if test "${ac_cv_func_pthread_cancel+set}" = set; then
38642 echo $ECHO_N "(cached) $ECHO_C" >&6
38644 cat >conftest.
$ac_ext <<_ACEOF
38647 cat confdefs.h
>>conftest.
$ac_ext
38648 cat >>conftest.
$ac_ext <<_ACEOF
38649 /* end confdefs.h. */
38650 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
38651 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38652 #define pthread_cancel innocuous_pthread_cancel
38654 /* System header to define __stub macros and hopefully few prototypes,
38655 which can conflict with char pthread_cancel (); below.
38656 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38657 <limits.h> exists even on freestanding compilers. */
38660 # include <limits.h>
38662 # include <assert.h>
38665 #undef pthread_cancel
38667 /* Override any GCC internal prototype to avoid an error.
38668 Use char because int might match the return type of a GCC
38669 builtin and then its argument prototype would still apply. */
38673 char pthread_cancel ();
38674 /* The GNU C library defines this for functions which it implements
38675 to always fail with ENOSYS. Some functions are actually named
38676 something starting with __ and the normal name is an alias. */
38677 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
38684 return pthread_cancel ();
38689 rm -f conftest.
$ac_objext conftest
$ac_exeext
38690 if { (ac_try
="$ac_link"
38691 case "(($ac_try" in
38692 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38693 *) ac_try_echo=$ac_try;;
38695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38696 (eval "$ac_link") 2>conftest.er1
38698 grep -v '^ *+' conftest.er1 >conftest.err
38700 cat conftest.err >&5
38701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38702 (exit $ac_status); } && {
38703 test -z "$ac_c_werror_flag" ||
38704 test ! -s conftest.err
38705 } && test -s conftest$ac_exeext &&
38706 $as_test_x conftest$ac_exeext; then
38707 ac_cv_func_pthread_cancel=yes
38709 echo "$as_me: failed program was:" >&5
38710 sed 's/^/| /' conftest.$ac_ext >&5
38712 ac_cv_func_pthread_cancel=no
38715 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38716 conftest$ac_exeext conftest.$ac_ext
38718 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
38719 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
38720 if test $ac_cv_func_pthread_cancel = yes; then
38721 cat >>confdefs.h <<\_ACEOF
38722 #define HAVE_PTHREAD_CANCEL 1
38726 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
38727 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
38731 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
38732 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
38733 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
38734 echo $ECHO_N "(cached) $ECHO_C" >&6
38736 cat >conftest.$ac_ext <<_ACEOF
38739 cat confdefs.h >>conftest.$ac_ext
38740 cat >>conftest.$ac_ext <<_ACEOF
38741 /* end confdefs.h. */
38742 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
38743 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38744 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
38746 /* System header to define __stub macros and hopefully few prototypes,
38747 which can conflict with char pthread_mutex_timedlock (); below.
38748 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38749 <limits.h> exists even on freestanding compilers. */
38752 # include <limits.h>
38754 # include <assert.h>
38757 #undef pthread_mutex_timedlock
38759 /* Override any GCC internal prototype to avoid an error.
38760 Use char because int might match the return type of a GCC
38761 builtin and then its argument prototype would still apply. */
38765 char pthread_mutex_timedlock ();
38766 /* The GNU C library defines this for functions which it implements
38767 to always fail with ENOSYS. Some functions are actually named
38768 something starting with __ and the normal name is an alias. */
38769 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
38776 return pthread_mutex_timedlock ();
38781 rm -f conftest.$ac_objext conftest$ac_exeext
38782 if { (ac_try="$ac_link"
38783 case "(($ac_try" in
38784 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38785 *) ac_try_echo
=$ac_try;;
38787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38788 (eval "$ac_link") 2>conftest.er1
38790 grep -v '^ *+' conftest.er1
>conftest.err
38792 cat conftest.err
>&5
38793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38794 (exit $ac_status); } && {
38795 test -z "$ac_c_werror_flag" ||
38796 test ! -s conftest.err
38797 } && test -s conftest
$ac_exeext &&
38798 $as_test_x conftest
$ac_exeext; then
38799 ac_cv_func_pthread_mutex_timedlock
=yes
38801 echo "$as_me: failed program was:" >&5
38802 sed 's/^/| /' conftest.
$ac_ext >&5
38804 ac_cv_func_pthread_mutex_timedlock
=no
38807 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38808 conftest
$ac_exeext conftest.
$ac_ext
38810 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
38811 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
38812 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
38813 cat >>confdefs.h
<<\_ACEOF
38814 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
38818 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
38819 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
38823 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
38824 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
38825 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
38826 echo $ECHO_N "(cached) $ECHO_C" >&6
38828 cat >conftest.
$ac_ext <<_ACEOF
38831 cat confdefs.h
>>conftest.
$ac_ext
38832 cat >>conftest.
$ac_ext <<_ACEOF
38833 /* end confdefs.h. */
38834 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
38835 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38836 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
38838 /* System header to define __stub macros and hopefully few prototypes,
38839 which can conflict with char pthread_attr_setstacksize (); below.
38840 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38841 <limits.h> exists even on freestanding compilers. */
38844 # include <limits.h>
38846 # include <assert.h>
38849 #undef pthread_attr_setstacksize
38851 /* Override any GCC internal prototype to avoid an error.
38852 Use char because int might match the return type of a GCC
38853 builtin and then its argument prototype would still apply. */
38857 char pthread_attr_setstacksize ();
38858 /* The GNU C library defines this for functions which it implements
38859 to always fail with ENOSYS. Some functions are actually named
38860 something starting with __ and the normal name is an alias. */
38861 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
38868 return pthread_attr_setstacksize ();
38873 rm -f conftest.
$ac_objext conftest
$ac_exeext
38874 if { (ac_try
="$ac_link"
38875 case "(($ac_try" in
38876 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38877 *) ac_try_echo=$ac_try;;
38879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38880 (eval "$ac_link") 2>conftest.er1
38882 grep -v '^ *+' conftest.er1 >conftest.err
38884 cat conftest.err >&5
38885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38886 (exit $ac_status); } && {
38887 test -z "$ac_c_werror_flag" ||
38888 test ! -s conftest.err
38889 } && test -s conftest$ac_exeext &&
38890 $as_test_x conftest$ac_exeext; then
38891 ac_cv_func_pthread_attr_setstacksize=yes
38893 echo "$as_me: failed program was:" >&5
38894 sed 's/^/| /' conftest.$ac_ext >&5
38896 ac_cv_func_pthread_attr_setstacksize=no
38899 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38900 conftest$ac_exeext conftest.$ac_ext
38902 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
38903 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
38904 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
38905 cat >>confdefs.h <<\_ACEOF
38906 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
38913 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
38914 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
38915 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
38916 echo $ECHO_N "(cached) $ECHO_C" >&6
38919 cat >conftest.$ac_ext <<_ACEOF
38922 cat confdefs.h >>conftest.$ac_ext
38923 cat >>conftest.$ac_ext <<_ACEOF
38924 /* end confdefs.h. */
38925 #include <pthread.h>
38930 pthread_mutexattr_t attr;
38931 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38937 rm -f conftest.$ac_objext
38938 if { (ac_try="$ac_compile"
38939 case "(($ac_try" in
38940 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38941 *) ac_try_echo
=$ac_try;;
38943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38944 (eval "$ac_compile") 2>conftest.er1
38946 grep -v '^ *+' conftest.er1
>conftest.err
38948 cat conftest.err
>&5
38949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38950 (exit $ac_status); } && {
38951 test -z "$ac_c_werror_flag" ||
38952 test ! -s conftest.err
38953 } && test -s conftest.
$ac_objext; then
38954 wx_cv_type_pthread_mutexattr_t
=yes
38956 echo "$as_me: failed program was:" >&5
38957 sed 's/^/| /' conftest.
$ac_ext >&5
38959 wx_cv_type_pthread_mutexattr_t
=no
38963 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38966 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
38967 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
38969 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
38970 cat >>confdefs.h
<<\_ACEOF
38971 #define HAVE_PTHREAD_MUTEXATTR_T 1
38975 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
38976 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
38977 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
38978 echo $ECHO_N "(cached) $ECHO_C" >&6
38981 cat >conftest.
$ac_ext <<_ACEOF
38984 cat confdefs.h
>>conftest.
$ac_ext
38985 cat >>conftest.
$ac_ext <<_ACEOF
38986 /* end confdefs.h. */
38987 #include <pthread.h>
38992 pthread_mutexattr_t attr;
38993 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38999 rm -f conftest.
$ac_objext
39000 if { (ac_try
="$ac_compile"
39001 case "(($ac_try" in
39002 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39003 *) ac_try_echo=$ac_try;;
39005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39006 (eval "$ac_compile") 2>conftest.er1
39008 grep -v '^ *+' conftest.er1 >conftest.err
39010 cat conftest.err >&5
39011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39012 (exit $ac_status); } && {
39013 test -z "$ac_c_werror_flag" ||
39014 test ! -s conftest.err
39015 } && test -s conftest.$ac_objext; then
39016 wx_cv_func_pthread_mutexattr_settype_decl=yes
39018 echo "$as_me: failed program was:" >&5
39019 sed 's/^/| /' conftest.$ac_ext >&5
39021 wx_cv_func_pthread_mutexattr_settype_decl=no
39025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39028 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
39029 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
39030 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
39031 cat >>confdefs.h <<\_ACEOF
39032 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
39037 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
39038 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
39039 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
39040 echo $ECHO_N "(cached) $ECHO_C" >&6
39043 cat >conftest.$ac_ext <<_ACEOF
39046 cat confdefs.h >>conftest.$ac_ext
39047 cat >>conftest.$ac_ext <<_ACEOF
39048 /* end confdefs.h. */
39049 #include <pthread.h>
39054 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
39060 rm -f conftest.$ac_objext
39061 if { (ac_try="$ac_compile"
39062 case "(($ac_try" in
39063 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39064 *) ac_try_echo
=$ac_try;;
39066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39067 (eval "$ac_compile") 2>conftest.er1
39069 grep -v '^ *+' conftest.er1
>conftest.err
39071 cat conftest.err
>&5
39072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39073 (exit $ac_status); } && {
39074 test -z "$ac_c_werror_flag" ||
39075 test ! -s conftest.err
39076 } && test -s conftest.
$ac_objext; then
39078 wx_cv_type_pthread_rec_mutex_init
=yes
39081 echo "$as_me: failed program was:" >&5
39082 sed 's/^/| /' conftest.
$ac_ext >&5
39085 wx_cv_type_pthread_rec_mutex_init
=no
39090 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39093 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
39094 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
39095 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
39096 cat >>confdefs.h
<<\_ACEOF
39097 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
39101 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
39102 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
39108 if test "$wxUSE_THREADS" = "yes" ; then
39111 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
39112 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
39113 if test "${wx_cv_cflags_mthread+set}" = set; then
39114 echo $ECHO_N "(cached) $ECHO_C" >&6
39117 CFLAGS_OLD
="$CFLAGS"
39118 CFLAGS
="-mthreads $CFLAGS"
39119 cat >conftest.
$ac_ext <<_ACEOF
39122 cat confdefs.h
>>conftest.
$ac_ext
39123 cat >>conftest.
$ac_ext <<_ACEOF
39124 /* end confdefs.h. */
39134 rm -f conftest.
$ac_objext
39135 if { (ac_try
="$ac_compile"
39136 case "(($ac_try" in
39137 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39138 *) ac_try_echo=$ac_try;;
39140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39141 (eval "$ac_compile") 2>conftest.er1
39143 grep -v '^ *+' conftest.er1 >conftest.err
39145 cat conftest.err >&5
39146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39147 (exit $ac_status); } && {
39148 test -z "$ac_c_werror_flag" ||
39149 test ! -s conftest.err
39150 } && test -s conftest.$ac_objext; then
39151 wx_cv_cflags_mthread=yes
39153 echo "$as_me: failed program was:" >&5
39154 sed 's/^/| /' conftest.$ac_ext >&5
39156 wx_cv_cflags_mthread=no
39160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39164 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
39165 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
39167 if test "$wx_cv_cflags_mthread" = "yes"; then
39168 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
39169 LDFLAGS="$LDFLAGS -mthreads"
39171 CFLAGS="$CFLAGS_OLD"
39175 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
39176 LDFLAGS="$LDFLAGS -Zmt"
39182 { echo "$as_me:$LINENO: checking for localtime_r" >&5
39183 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
39184 if test "${ac_cv_func_localtime_r+set}" = set; then
39185 echo $ECHO_N "(cached) $ECHO_C" >&6
39187 cat >conftest.$ac_ext <<_ACEOF
39190 cat confdefs.h >>conftest.$ac_ext
39191 cat >>conftest.$ac_ext <<_ACEOF
39192 /* end confdefs.h. */
39193 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
39194 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39195 #define localtime_r innocuous_localtime_r
39197 /* System header to define __stub macros and hopefully few prototypes,
39198 which can conflict with char localtime_r (); below.
39199 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39200 <limits.h> exists even on freestanding compilers. */
39203 # include <limits.h>
39205 # include <assert.h>
39210 /* Override any GCC internal prototype to avoid an error.
39211 Use char because int might match the return type of a GCC
39212 builtin and then its argument prototype would still apply. */
39216 char localtime_r ();
39217 /* The GNU C library defines this for functions which it implements
39218 to always fail with ENOSYS. Some functions are actually named
39219 something starting with __ and the normal name is an alias. */
39220 #if defined __stub_localtime_r || defined __stub___localtime_r
39227 return localtime_r ();
39232 rm -f conftest.$ac_objext conftest$ac_exeext
39233 if { (ac_try="$ac_link"
39234 case "(($ac_try" in
39235 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39236 *) ac_try_echo
=$ac_try;;
39238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39239 (eval "$ac_link") 2>conftest.er1
39241 grep -v '^ *+' conftest.er1
>conftest.err
39243 cat conftest.err
>&5
39244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39245 (exit $ac_status); } && {
39246 test -z "$ac_c_werror_flag" ||
39247 test ! -s conftest.err
39248 } && test -s conftest
$ac_exeext &&
39249 $as_test_x conftest
$ac_exeext; then
39250 ac_cv_func_localtime_r
=yes
39252 echo "$as_me: failed program was:" >&5
39253 sed 's/^/| /' conftest.
$ac_ext >&5
39255 ac_cv_func_localtime_r
=no
39258 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39259 conftest
$ac_exeext conftest.
$ac_ext
39261 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
39262 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
39263 if test $ac_cv_func_localtime_r = yes; then
39264 cat >>confdefs.h
<<\_ACEOF
39265 #define HAVE_LOCALTIME_R 1
39270 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
39271 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
39272 if test "${ac_cv_func_gmtime_r+set}" = set; then
39273 echo $ECHO_N "(cached) $ECHO_C" >&6
39275 cat >conftest.
$ac_ext <<_ACEOF
39278 cat confdefs.h
>>conftest.
$ac_ext
39279 cat >>conftest.
$ac_ext <<_ACEOF
39280 /* end confdefs.h. */
39281 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
39282 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39283 #define gmtime_r innocuous_gmtime_r
39285 /* System header to define __stub macros and hopefully few prototypes,
39286 which can conflict with char gmtime_r (); below.
39287 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39288 <limits.h> exists even on freestanding compilers. */
39291 # include <limits.h>
39293 # include <assert.h>
39298 /* Override any GCC internal prototype to avoid an error.
39299 Use char because int might match the return type of a GCC
39300 builtin and then its argument prototype would still apply. */
39305 /* The GNU C library defines this for functions which it implements
39306 to always fail with ENOSYS. Some functions are actually named
39307 something starting with __ and the normal name is an alias. */
39308 #if defined __stub_gmtime_r || defined __stub___gmtime_r
39315 return gmtime_r ();
39320 rm -f conftest.
$ac_objext conftest
$ac_exeext
39321 if { (ac_try
="$ac_link"
39322 case "(($ac_try" in
39323 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39324 *) ac_try_echo=$ac_try;;
39326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39327 (eval "$ac_link") 2>conftest.er1
39329 grep -v '^ *+' conftest.er1 >conftest.err
39331 cat conftest.err >&5
39332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39333 (exit $ac_status); } && {
39334 test -z "$ac_c_werror_flag" ||
39335 test ! -s conftest.err
39336 } && test -s conftest$ac_exeext &&
39337 $as_test_x conftest$ac_exeext; then
39338 ac_cv_func_gmtime_r=yes
39340 echo "$as_me: failed program was:" >&5
39341 sed 's/^/| /' conftest.$ac_ext >&5
39343 ac_cv_func_gmtime_r=no
39346 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39347 conftest$ac_exeext conftest.$ac_ext
39349 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
39350 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
39351 if test $ac_cv_func_gmtime_r = yes; then
39352 cat >>confdefs.h <<\_ACEOF
39353 #define HAVE_GMTIME_R 1
39358 { echo "$as_me:$LINENO: checking for readdir_r" >&5
39359 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6; }
39360 if test "${ac_cv_func_readdir_r+set}" = set; then
39361 echo $ECHO_N "(cached) $ECHO_C" >&6
39363 cat >conftest.$ac_ext <<_ACEOF
39366 cat confdefs.h >>conftest.$ac_ext
39367 cat >>conftest.$ac_ext <<_ACEOF
39368 /* end confdefs.h. */
39369 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
39370 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39371 #define readdir_r innocuous_readdir_r
39373 /* System header to define __stub macros and hopefully few prototypes,
39374 which can conflict with char readdir_r (); below.
39375 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39376 <limits.h> exists even on freestanding compilers. */
39379 # include <limits.h>
39381 # include <assert.h>
39386 /* Override any GCC internal prototype to avoid an error.
39387 Use char because int might match the return type of a GCC
39388 builtin and then its argument prototype would still apply. */
39393 /* The GNU C library defines this for functions which it implements
39394 to always fail with ENOSYS. Some functions are actually named
39395 something starting with __ and the normal name is an alias. */
39396 #if defined __stub_readdir_r || defined __stub___readdir_r
39403 return readdir_r ();
39408 rm -f conftest.$ac_objext conftest$ac_exeext
39409 if { (ac_try="$ac_link"
39410 case "(($ac_try" in
39411 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39412 *) ac_try_echo
=$ac_try;;
39414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39415 (eval "$ac_link") 2>conftest.er1
39417 grep -v '^ *+' conftest.er1
>conftest.err
39419 cat conftest.err
>&5
39420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39421 (exit $ac_status); } && {
39422 test -z "$ac_c_werror_flag" ||
39423 test ! -s conftest.err
39424 } && test -s conftest
$ac_exeext &&
39425 $as_test_x conftest
$ac_exeext; then
39426 ac_cv_func_readdir_r
=yes
39428 echo "$as_me: failed program was:" >&5
39429 sed 's/^/| /' conftest.
$ac_ext >&5
39431 ac_cv_func_readdir_r
=no
39434 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39435 conftest
$ac_exeext conftest.
$ac_ext
39437 { echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
39438 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6; }
39439 if test $ac_cv_func_readdir_r = yes; then
39440 cat >>confdefs.h
<<\_ACEOF
39441 #define HAVE_READDIR_R 1
39450 ac_cpp
='$CPP $CPPFLAGS'
39451 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39452 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39453 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39455 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
39456 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
39458 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
39459 echo $ECHO_N "(cached) $ECHO_C" >&6
39463 ################################################################
39465 ac_cv_func_which_gethostbyname_r
=unknown
39468 # ONE ARGUMENT (sanity check)
39471 # This should fail, as there is no variant of gethostbyname_r() that takes
39472 # a single argument. If it actually compiles, then we can assume that
39473 # netdb.h is not declaring the function, and the compiler is thereby
39474 # assuming an implicit prototype. In which case, we're out of luck.
39476 cat >conftest.
$ac_ext <<_ACEOF
39479 cat confdefs.h
>>conftest.
$ac_ext
39480 cat >>conftest.
$ac_ext <<_ACEOF
39481 /* end confdefs.h. */
39487 char *name = "www.gnu.org";
39488 (void)gethostbyname_r(name) /* ; */
39494 rm -f conftest.
$ac_objext
39495 if { (ac_try
="$ac_compile"
39496 case "(($ac_try" in
39497 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39498 *) ac_try_echo=$ac_try;;
39500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39501 (eval "$ac_compile") 2>conftest.er1
39503 grep -v '^ *+' conftest.er1 >conftest.err
39505 cat conftest.err >&5
39506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39507 (exit $ac_status); } && {
39508 test -z "$ac_c_werror_flag" ||
39509 test ! -s conftest.err
39510 } && test -s conftest.$ac_objext; then
39511 ac_cv_func_which_gethostbyname_r=no
39513 echo "$as_me: failed program was:" >&5
39514 sed 's/^/| /' conftest.$ac_ext >&5
39519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39526 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39528 cat >conftest.$ac_ext <<_ACEOF
39531 cat confdefs.h >>conftest.$ac_ext
39532 cat >>conftest.$ac_ext <<_ACEOF
39533 /* end confdefs.h. */
39539 char *name = "www.gnu.org";
39540 struct hostent ret, *retp;
39544 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
39550 rm -f conftest.$ac_objext
39551 if { (ac_try="$ac_compile"
39552 case "(($ac_try" in
39553 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39554 *) ac_try_echo
=$ac_try;;
39556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39557 (eval "$ac_compile") 2>conftest.er1
39559 grep -v '^ *+' conftest.er1
>conftest.err
39561 cat conftest.err
>&5
39562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39563 (exit $ac_status); } && {
39564 test -z "$ac_c_werror_flag" ||
39565 test ! -s conftest.err
39566 } && test -s conftest.
$ac_objext; then
39567 ac_cv_func_which_gethostbyname_r
=six
39569 echo "$as_me: failed program was:" >&5
39570 sed 's/^/| /' conftest.
$ac_ext >&5
39575 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39584 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39586 cat >conftest.
$ac_ext <<_ACEOF
39589 cat confdefs.h
>>conftest.
$ac_ext
39590 cat >>conftest.
$ac_ext <<_ACEOF
39591 /* end confdefs.h. */
39597 char *name = "www.gnu.org";
39598 struct hostent ret;
39602 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
39608 rm -f conftest.
$ac_objext
39609 if { (ac_try
="$ac_compile"
39610 case "(($ac_try" in
39611 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39612 *) ac_try_echo=$ac_try;;
39614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39615 (eval "$ac_compile") 2>conftest.er1
39617 grep -v '^ *+' conftest.er1 >conftest.err
39619 cat conftest.err >&5
39620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39621 (exit $ac_status); } && {
39622 test -z "$ac_c_werror_flag" ||
39623 test ! -s conftest.err
39624 } && test -s conftest.$ac_objext; then
39625 ac_cv_func_which_gethostbyname_r=five
39627 echo "$as_me: failed program was:" >&5
39628 sed 's/^/| /' conftest.$ac_ext >&5
39633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39639 # (e.g. AIX, HP-UX, Tru64)
39642 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39644 cat >conftest.$ac_ext <<_ACEOF
39647 cat confdefs.h >>conftest.$ac_ext
39648 cat >>conftest.$ac_ext <<_ACEOF
39649 /* end confdefs.h. */
39655 char *name = "www.gnu.org";
39656 struct hostent ret;
39657 struct hostent_data data;
39658 (void)gethostbyname_r(name, &ret, &data) /* ; */
39664 rm -f conftest.$ac_objext
39665 if { (ac_try="$ac_compile"
39666 case "(($ac_try" in
39667 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39668 *) ac_try_echo
=$ac_try;;
39670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39671 (eval "$ac_compile") 2>conftest.er1
39673 grep -v '^ *+' conftest.er1
>conftest.err
39675 cat conftest.err
>&5
39676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39677 (exit $ac_status); } && {
39678 test -z "$ac_c_werror_flag" ||
39679 test ! -s conftest.err
39680 } && test -s conftest.
$ac_objext; then
39681 ac_cv_func_which_gethostbyname_r
=three
39683 echo "$as_me: failed program was:" >&5
39684 sed 's/^/| /' conftest.
$ac_ext >&5
39689 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39693 ################################################################
39698 case "$ac_cv_func_which_gethostbyname_r" in
39700 { echo "$as_me:$LINENO: result: three" >&5
39701 echo "${ECHO_T}three" >&6; }
39702 cat >>confdefs.h
<<\_ACEOF
39703 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
39709 { echo "$as_me:$LINENO: result: five" >&5
39710 echo "${ECHO_T}five" >&6; }
39711 cat >>confdefs.h
<<\_ACEOF
39712 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
39718 { echo "$as_me:$LINENO: result: six" >&5
39719 echo "${ECHO_T}six" >&6; }
39720 cat >>confdefs.h
<<\_ACEOF
39721 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
39727 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
39728 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
39732 { echo "$as_me:$LINENO: result: can't tell" >&5
39733 echo "${ECHO_T}can't tell" >&6; }
39737 { { echo "$as_me:$LINENO: error: internal error" >&5
39738 echo "$as_me: error: internal error" >&2;}
39739 { (exit 1); exit 1; }; }
39744 ac_cpp
='$CPP $CPPFLAGS'
39745 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39746 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39747 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39751 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
39752 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
39753 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
39754 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
39755 if test "${ac_cv_func_gethostbyname+set}" = set; then
39756 echo $ECHO_N "(cached) $ECHO_C" >&6
39758 cat >conftest.
$ac_ext <<_ACEOF
39761 cat confdefs.h
>>conftest.
$ac_ext
39762 cat >>conftest.
$ac_ext <<_ACEOF
39763 /* end confdefs.h. */
39764 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
39765 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39766 #define gethostbyname innocuous_gethostbyname
39768 /* System header to define __stub macros and hopefully few prototypes,
39769 which can conflict with char gethostbyname (); below.
39770 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39771 <limits.h> exists even on freestanding compilers. */
39774 # include <limits.h>
39776 # include <assert.h>
39779 #undef gethostbyname
39781 /* Override any GCC internal prototype to avoid an error.
39782 Use char because int might match the return type of a GCC
39783 builtin and then its argument prototype would still apply. */
39787 char gethostbyname ();
39788 /* The GNU C library defines this for functions which it implements
39789 to always fail with ENOSYS. Some functions are actually named
39790 something starting with __ and the normal name is an alias. */
39791 #if defined __stub_gethostbyname || defined __stub___gethostbyname
39798 return gethostbyname ();
39803 rm -f conftest.
$ac_objext conftest
$ac_exeext
39804 if { (ac_try
="$ac_link"
39805 case "(($ac_try" in
39806 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39807 *) ac_try_echo=$ac_try;;
39809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39810 (eval "$ac_link") 2>conftest.er1
39812 grep -v '^ *+' conftest.er1 >conftest.err
39814 cat conftest.err >&5
39815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39816 (exit $ac_status); } && {
39817 test -z "$ac_c_werror_flag" ||
39818 test ! -s conftest.err
39819 } && test -s conftest$ac_exeext &&
39820 $as_test_x conftest$ac_exeext; then
39821 ac_cv_func_gethostbyname=yes
39823 echo "$as_me: failed program was:" >&5
39824 sed 's/^/| /' conftest.$ac_ext >&5
39826 ac_cv_func_gethostbyname=no
39829 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39830 conftest$ac_exeext conftest.$ac_ext
39832 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
39833 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
39834 if test $ac_cv_func_gethostbyname = yes; then
39835 cat >>confdefs.h <<\_ACEOF
39836 #define HAVE_GETHOSTBYNAME 1
39843 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
39844 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
39845 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
39846 echo $ECHO_N "(cached) $ECHO_C" >&6
39850 ac_cpp='$CXXCPP $CPPFLAGS'
39851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39856 cat >conftest.$ac_ext <<_ACEOF
39859 cat confdefs.h >>conftest.$ac_ext
39860 cat >>conftest.$ac_ext <<_ACEOF
39861 /* end confdefs.h. */
39869 struct servent *se, *res;
39872 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
39878 rm -f conftest.$ac_objext
39879 if { (ac_try="$ac_compile"
39880 case "(($ac_try" in
39881 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39882 *) ac_try_echo
=$ac_try;;
39884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39885 (eval "$ac_compile") 2>conftest.er1
39887 grep -v '^ *+' conftest.er1
>conftest.err
39889 cat conftest.err
>&5
39890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39891 (exit $ac_status); } && {
39892 test -z "$ac_cxx_werror_flag" ||
39893 test ! -s conftest.err
39894 } && test -s conftest.
$ac_objext; then
39895 ac_cv_func_which_getservbyname_r
=six
39897 echo "$as_me: failed program was:" >&5
39898 sed 's/^/| /' conftest.
$ac_ext >&5
39901 cat >conftest.
$ac_ext <<_ACEOF
39904 cat confdefs.h
>>conftest.
$ac_ext
39905 cat >>conftest.
$ac_ext <<_ACEOF
39906 /* end confdefs.h. */
39914 struct servent *se;
39917 (void) getservbyname_r(name, proto, se, buffer, buflen)
39923 rm -f conftest.
$ac_objext
39924 if { (ac_try
="$ac_compile"
39925 case "(($ac_try" in
39926 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39927 *) ac_try_echo=$ac_try;;
39929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39930 (eval "$ac_compile") 2>conftest.er1
39932 grep -v '^ *+' conftest.er1 >conftest.err
39934 cat conftest.err >&5
39935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39936 (exit $ac_status); } && {
39937 test -z "$ac_cxx_werror_flag" ||
39938 test ! -s conftest.err
39939 } && test -s conftest.$ac_objext; then
39940 ac_cv_func_which_getservbyname_r=five
39942 echo "$as_me: failed program was:" >&5
39943 sed 's/^/| /' conftest.$ac_ext >&5
39946 cat >conftest.$ac_ext <<_ACEOF
39949 cat confdefs.h >>conftest.$ac_ext
39950 cat >>conftest.$ac_ext <<_ACEOF
39951 /* end confdefs.h. */
39959 struct servent *se;
39960 struct servent_data data;
39961 (void) getservbyname_r(name, proto, se, &data);
39967 rm -f conftest.$ac_objext
39968 if { (ac_try="$ac_compile"
39969 case "(($ac_try" in
39970 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39971 *) ac_try_echo
=$ac_try;;
39973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39974 (eval "$ac_compile") 2>conftest.er1
39976 grep -v '^ *+' conftest.er1
>conftest.err
39978 cat conftest.err
>&5
39979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39980 (exit $ac_status); } && {
39981 test -z "$ac_cxx_werror_flag" ||
39982 test ! -s conftest.err
39983 } && test -s conftest.
$ac_objext; then
39984 ac_cv_func_which_getservbyname_r
=four
39986 echo "$as_me: failed program was:" >&5
39987 sed 's/^/| /' conftest.
$ac_ext >&5
39989 ac_cv_func_which_getservbyname_r
=no
39993 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39998 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40003 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40005 ac_cpp
='$CPP $CPPFLAGS'
40006 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40007 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40008 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40013 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
40014 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
40016 if test $ac_cv_func_which_getservbyname_r = six
; then
40017 cat >>confdefs.h
<<\_ACEOF
40018 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
40021 elif test $ac_cv_func_which_getservbyname_r = five
; then
40022 cat >>confdefs.h
<<\_ACEOF
40023 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
40026 elif test $ac_cv_func_which_getservbyname_r = four
; then
40027 cat >>confdefs.h
<<\_ACEOF
40028 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
40034 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
40035 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
40037 for ac_func
in getservbyname
40039 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40040 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40041 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40042 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40043 echo $ECHO_N "(cached) $ECHO_C" >&6
40045 cat >conftest.
$ac_ext <<_ACEOF
40048 cat confdefs.h
>>conftest.
$ac_ext
40049 cat >>conftest.
$ac_ext <<_ACEOF
40050 /* end confdefs.h. */
40051 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40052 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40053 #define $ac_func innocuous_$ac_func
40055 /* System header to define __stub macros and hopefully few prototypes,
40056 which can conflict with char $ac_func (); below.
40057 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40058 <limits.h> exists even on freestanding compilers. */
40061 # include <limits.h>
40063 # include <assert.h>
40068 /* Override any GCC internal prototype to avoid an error.
40069 Use char because int might match the return type of a GCC
40070 builtin and then its argument prototype would still apply. */
40075 /* The GNU C library defines this for functions which it implements
40076 to always fail with ENOSYS. Some functions are actually named
40077 something starting with __ and the normal name is an alias. */
40078 #if defined __stub_$ac_func || defined __stub___$ac_func
40085 return $ac_func ();
40090 rm -f conftest.
$ac_objext conftest
$ac_exeext
40091 if { (ac_try
="$ac_link"
40092 case "(($ac_try" in
40093 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40094 *) ac_try_echo=$ac_try;;
40096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40097 (eval "$ac_link") 2>conftest.er1
40099 grep -v '^ *+' conftest.er1 >conftest.err
40101 cat conftest.err >&5
40102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40103 (exit $ac_status); } && {
40104 test -z "$ac_c_werror_flag" ||
40105 test ! -s conftest.err
40106 } && test -s conftest$ac_exeext &&
40107 $as_test_x conftest$ac_exeext; then
40108 eval "$as_ac_var=yes"
40110 echo "$as_me: failed program was:" >&5
40111 sed 's/^/| /' conftest.$ac_ext >&5
40113 eval "$as_ac_var=no"
40116 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40117 conftest$ac_exeext conftest.$ac_ext
40119 ac_res=`eval echo '${'$as_ac_var'}'`
40120 { echo "$as_me:$LINENO: result: $ac_res" >&5
40121 echo "${ECHO_T}$ac_res" >&6; }
40122 if test `eval echo '${'$as_ac_var'}'` = yes; then
40123 cat >>confdefs.h <<_ACEOF
40124 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40126 cat >>confdefs.h <<\_ACEOF
40127 #define HAVE_GETSERVBYNAME 1
40135 if test "$wxUSE_THREADS" = "yes"; then
40136 cat >>confdefs.h <<\_ACEOF
40137 #define wxUSE_THREADS 1
40141 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
40143 if test "$wx_cv_func_strtok_r" = "yes"; then
40144 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
40145 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
40146 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
40147 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
40148 { echo "$as_me:$LINENO: result: yes" >&5
40149 echo "${ECHO_T}yes" >&6; }
40151 { echo "$as_me:$LINENO: result: no" >&5
40152 echo "${ECHO_T}no" >&6; }
40157 if test "$WXGTK20" = 1 ; then
40158 cat >>confdefs.h <<_ACEOF
40159 #define __WXGTK20__ $WXGTK20
40165 if test "$WXGTK12" = 1 ; then
40166 cat >>confdefs.h <<_ACEOF
40167 #define __WXGTK12__ $WXGTK12
40172 if test "$WXGTK127" = 1 ; then
40173 cat >>confdefs.h <<_ACEOF
40174 #define __WXGTK127__ $WXGTK127
40179 if test "$WXGPE" = 1 ; then
40180 cat >>confdefs.h <<_ACEOF
40181 #define __WXGPE__ $WXGPE
40187 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
40192 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
40193 wxUSE_DEBUG_INFO=yes
40194 if test "$GCC" = yes; then
40195 DEBUG_CFLAGS="-ggdb"
40199 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
40200 cat >>confdefs.h <<\_ACEOF
40204 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
40206 if test "$wxUSE_GTK" = 1 ; then
40207 if test "x$wxGTK_VERSION" = "x1" ; then
40208 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
40213 if test "$wxUSE_MEM_TRACING" = "yes" ; then
40214 cat >>confdefs.h <<\_ACEOF
40215 #define wxUSE_MEMORY_TRACING 1
40218 cat >>confdefs.h <<\_ACEOF
40219 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
40222 cat >>confdefs.h <<\_ACEOF
40223 #define wxUSE_DEBUG_NEW_ALWAYS 1
40226 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
40229 if test "$wxUSE_DMALLOC" = "yes" ; then
40230 DMALLOC_LIBS="-ldmallocthcxx"
40234 if test "$wxUSE_PROFILE" = "yes" ; then
40235 PROFILE_FLAGS=" -pg"
40238 if test "$GCC" = "yes" ; then
40239 if test "$wxUSE_NO_RTTI" = "yes" ; then
40240 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
40242 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
40243 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
40245 if test "$wxUSE_PERMISSIVE" = "yes" ; then
40246 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
40251 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
40254 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
40260 if test "$wxUSE_OPTIMISE" = "no" ; then
40261 if test "$GCC" = yes ; then
40262 OPTIMISE_CFLAGS="-O0"
40265 if test "$GCC" = yes ; then
40267 *-pc-os2_emx | *-pc-os2-emx )
40268 OPTIMISE_CFLAGS="-O2"
40271 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
40275 OPTIMISE_CFLAGS="-O"
40280 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
40281 cat >>confdefs.h <<\_ACEOF
40282 #define WXWIN_COMPATIBILITY_2_6 1
40286 WXWIN_COMPATIBILITY_2_8="yes"
40289 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
40290 cat >>confdefs.h <<\_ACEOF
40291 #define WXWIN_COMPATIBILITY_2_8 1
40297 if test "$wxUSE_GUI" = "yes"; then
40298 cat >>confdefs.h <<\_ACEOF
40299 #define wxUSE_GUI 1
40306 if test "$wxUSE_UNIX" = "yes"; then
40307 cat >>confdefs.h <<\_ACEOF
40308 #define wxUSE_UNIX 1
40314 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40318 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40319 if test "$USE_DARWIN" = 1; then
40321 elif test "$USE_DOS" = 1; then
40325 for ac_func in dlopen
40327 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40328 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40329 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40330 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40331 echo $ECHO_N "(cached) $ECHO_C" >&6
40333 cat >conftest.$ac_ext <<_ACEOF
40336 cat confdefs.h >>conftest.$ac_ext
40337 cat >>conftest.$ac_ext <<_ACEOF
40338 /* end confdefs.h. */
40339 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40340 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40341 #define $ac_func innocuous_$ac_func
40343 /* System header to define __stub macros and hopefully few prototypes,
40344 which can conflict with char $ac_func (); below.
40345 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40346 <limits.h> exists even on freestanding compilers. */
40349 # include <limits.h>
40351 # include <assert.h>
40356 /* Override any GCC internal prototype to avoid an error.
40357 Use char because int might match the return type of a GCC
40358 builtin and then its argument prototype would still apply. */
40363 /* The GNU C library defines this for functions which it implements
40364 to always fail with ENOSYS. Some functions are actually named
40365 something starting with __ and the normal name is an alias. */
40366 #if defined __stub_$ac_func || defined __stub___$ac_func
40373 return $ac_func ();
40378 rm -f conftest.$ac_objext conftest$ac_exeext
40379 if { (ac_try="$ac_link"
40380 case "(($ac_try" in
40381 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40382 *) ac_try_echo
=$ac_try;;
40384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40385 (eval "$ac_link") 2>conftest.er1
40387 grep -v '^ *+' conftest.er1
>conftest.err
40389 cat conftest.err
>&5
40390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40391 (exit $ac_status); } && {
40392 test -z "$ac_c_werror_flag" ||
40393 test ! -s conftest.err
40394 } && test -s conftest
$ac_exeext &&
40395 $as_test_x conftest
$ac_exeext; then
40396 eval "$as_ac_var=yes"
40398 echo "$as_me: failed program was:" >&5
40399 sed 's/^/| /' conftest.
$ac_ext >&5
40401 eval "$as_ac_var=no"
40404 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40405 conftest
$ac_exeext conftest.
$ac_ext
40407 ac_res
=`eval echo '${'$as_ac_var'}'`
40408 { echo "$as_me:$LINENO: result: $ac_res" >&5
40409 echo "${ECHO_T}$ac_res" >&6; }
40410 if test `eval echo '${'$as_ac_var'}'` = yes; then
40411 cat >>confdefs.h
<<_ACEOF
40412 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40415 cat >>confdefs.h
<<\_ACEOF
40416 #define HAVE_DLOPEN 1
40423 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
40424 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
40425 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
40426 echo $ECHO_N "(cached) $ECHO_C" >&6
40428 ac_check_lib_save_LIBS
=$LIBS
40430 cat >conftest.
$ac_ext <<_ACEOF
40433 cat confdefs.h
>>conftest.
$ac_ext
40434 cat >>conftest.
$ac_ext <<_ACEOF
40435 /* end confdefs.h. */
40437 /* Override any GCC internal prototype to avoid an error.
40438 Use char because int might match the return type of a GCC
40439 builtin and then its argument prototype would still apply. */
40452 rm -f conftest.
$ac_objext conftest
$ac_exeext
40453 if { (ac_try
="$ac_link"
40454 case "(($ac_try" in
40455 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40456 *) ac_try_echo=$ac_try;;
40458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40459 (eval "$ac_link") 2>conftest.er1
40461 grep -v '^ *+' conftest.er1 >conftest.err
40463 cat conftest.err >&5
40464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40465 (exit $ac_status); } && {
40466 test -z "$ac_c_werror_flag" ||
40467 test ! -s conftest.err
40468 } && test -s conftest$ac_exeext &&
40469 $as_test_x conftest$ac_exeext; then
40470 ac_cv_lib_dl_dlopen=yes
40472 echo "$as_me: failed program was:" >&5
40473 sed 's/^/| /' conftest.$ac_ext >&5
40475 ac_cv_lib_dl_dlopen=no
40478 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40479 conftest$ac_exeext conftest.$ac_ext
40480 LIBS=$ac_check_lib_save_LIBS
40482 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
40483 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
40484 if test $ac_cv_lib_dl_dlopen = yes; then
40486 cat >>confdefs.h <<\_ACEOF
40487 #define HAVE_DLOPEN 1
40491 DL_LINK=" -ldl$DL_LINK"
40496 for ac_func in shl_load
40498 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40499 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40500 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40501 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40502 echo $ECHO_N "(cached) $ECHO_C" >&6
40504 cat >conftest.$ac_ext <<_ACEOF
40507 cat confdefs.h >>conftest.$ac_ext
40508 cat >>conftest.$ac_ext <<_ACEOF
40509 /* end confdefs.h. */
40510 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40511 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40512 #define $ac_func innocuous_$ac_func
40514 /* System header to define __stub macros and hopefully few prototypes,
40515 which can conflict with char $ac_func (); below.
40516 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40517 <limits.h> exists even on freestanding compilers. */
40520 # include <limits.h>
40522 # include <assert.h>
40527 /* Override any GCC internal prototype to avoid an error.
40528 Use char because int might match the return type of a GCC
40529 builtin and then its argument prototype would still apply. */
40534 /* The GNU C library defines this for functions which it implements
40535 to always fail with ENOSYS. Some functions are actually named
40536 something starting with __ and the normal name is an alias. */
40537 #if defined __stub_$ac_func || defined __stub___$ac_func
40544 return $ac_func ();
40549 rm -f conftest.$ac_objext conftest$ac_exeext
40550 if { (ac_try="$ac_link"
40551 case "(($ac_try" in
40552 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40553 *) ac_try_echo
=$ac_try;;
40555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40556 (eval "$ac_link") 2>conftest.er1
40558 grep -v '^ *+' conftest.er1
>conftest.err
40560 cat conftest.err
>&5
40561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40562 (exit $ac_status); } && {
40563 test -z "$ac_c_werror_flag" ||
40564 test ! -s conftest.err
40565 } && test -s conftest
$ac_exeext &&
40566 $as_test_x conftest
$ac_exeext; then
40567 eval "$as_ac_var=yes"
40569 echo "$as_me: failed program was:" >&5
40570 sed 's/^/| /' conftest.
$ac_ext >&5
40572 eval "$as_ac_var=no"
40575 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40576 conftest
$ac_exeext conftest.
$ac_ext
40578 ac_res
=`eval echo '${'$as_ac_var'}'`
40579 { echo "$as_me:$LINENO: result: $ac_res" >&5
40580 echo "${ECHO_T}$ac_res" >&6; }
40581 if test `eval echo '${'$as_ac_var'}'` = yes; then
40582 cat >>confdefs.h
<<_ACEOF
40583 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40586 cat >>confdefs.h
<<\_ACEOF
40587 #define HAVE_SHL_LOAD 1
40594 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
40595 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
40596 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
40597 echo $ECHO_N "(cached) $ECHO_C" >&6
40599 ac_check_lib_save_LIBS
=$LIBS
40600 LIBS
="-lshl_load $LIBS"
40601 cat >conftest.
$ac_ext <<_ACEOF
40604 cat confdefs.h
>>conftest.
$ac_ext
40605 cat >>conftest.
$ac_ext <<_ACEOF
40606 /* end confdefs.h. */
40608 /* Override any GCC internal prototype to avoid an error.
40609 Use char because int might match the return type of a GCC
40610 builtin and then its argument prototype would still apply. */
40623 rm -f conftest.
$ac_objext conftest
$ac_exeext
40624 if { (ac_try
="$ac_link"
40625 case "(($ac_try" in
40626 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40627 *) ac_try_echo=$ac_try;;
40629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40630 (eval "$ac_link") 2>conftest.er1
40632 grep -v '^ *+' conftest.er1 >conftest.err
40634 cat conftest.err >&5
40635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40636 (exit $ac_status); } && {
40637 test -z "$ac_c_werror_flag" ||
40638 test ! -s conftest.err
40639 } && test -s conftest$ac_exeext &&
40640 $as_test_x conftest$ac_exeext; then
40641 ac_cv_lib_shl_load_dld=yes
40643 echo "$as_me: failed program was:" >&5
40644 sed 's/^/| /' conftest.$ac_ext >&5
40646 ac_cv_lib_shl_load_dld=no
40649 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40650 conftest$ac_exeext conftest.$ac_ext
40651 LIBS=$ac_check_lib_save_LIBS
40653 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
40654 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
40655 if test $ac_cv_lib_shl_load_dld = yes; then
40658 DL_LINK=" -ldld$DL_LINK"
40674 if test "$HAVE_DL_FUNCS" = 1; then
40676 for ac_func in dlerror
40678 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40679 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40680 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40681 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40682 echo $ECHO_N "(cached) $ECHO_C" >&6
40684 cat >conftest.$ac_ext <<_ACEOF
40687 cat confdefs.h >>conftest.$ac_ext
40688 cat >>conftest.$ac_ext <<_ACEOF
40689 /* end confdefs.h. */
40690 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40691 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40692 #define $ac_func innocuous_$ac_func
40694 /* System header to define __stub macros and hopefully few prototypes,
40695 which can conflict with char $ac_func (); below.
40696 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40697 <limits.h> exists even on freestanding compilers. */
40700 # include <limits.h>
40702 # include <assert.h>
40707 /* Override any GCC internal prototype to avoid an error.
40708 Use char because int might match the return type of a GCC
40709 builtin and then its argument prototype would still apply. */
40714 /* The GNU C library defines this for functions which it implements
40715 to always fail with ENOSYS. Some functions are actually named
40716 something starting with __ and the normal name is an alias. */
40717 #if defined __stub_$ac_func || defined __stub___$ac_func
40724 return $ac_func ();
40729 rm -f conftest.$ac_objext conftest$ac_exeext
40730 if { (ac_try="$ac_link"
40731 case "(($ac_try" in
40732 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40733 *) ac_try_echo
=$ac_try;;
40735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40736 (eval "$ac_link") 2>conftest.er1
40738 grep -v '^ *+' conftest.er1
>conftest.err
40740 cat conftest.err
>&5
40741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40742 (exit $ac_status); } && {
40743 test -z "$ac_c_werror_flag" ||
40744 test ! -s conftest.err
40745 } && test -s conftest
$ac_exeext &&
40746 $as_test_x conftest
$ac_exeext; then
40747 eval "$as_ac_var=yes"
40749 echo "$as_me: failed program was:" >&5
40750 sed 's/^/| /' conftest.
$ac_ext >&5
40752 eval "$as_ac_var=no"
40755 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40756 conftest
$ac_exeext conftest.
$ac_ext
40758 ac_res
=`eval echo '${'$as_ac_var'}'`
40759 { echo "$as_me:$LINENO: result: $ac_res" >&5
40760 echo "${ECHO_T}$ac_res" >&6; }
40761 if test `eval echo '${'$as_ac_var'}'` = yes; then
40762 cat >>confdefs.h
<<_ACEOF
40763 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40765 cat >>confdefs.h
<<\_ACEOF
40766 #define HAVE_DLERROR 1
40771 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
40772 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
40773 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
40774 echo $ECHO_N "(cached) $ECHO_C" >&6
40776 ac_check_lib_save_LIBS
=$LIBS
40778 cat >conftest.
$ac_ext <<_ACEOF
40781 cat confdefs.h
>>conftest.
$ac_ext
40782 cat >>conftest.
$ac_ext <<_ACEOF
40783 /* end confdefs.h. */
40785 /* Override any GCC internal prototype to avoid an error.
40786 Use char because int might match the return type of a GCC
40787 builtin and then its argument prototype would still apply. */
40800 rm -f conftest.
$ac_objext conftest
$ac_exeext
40801 if { (ac_try
="$ac_link"
40802 case "(($ac_try" in
40803 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40804 *) ac_try_echo=$ac_try;;
40806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40807 (eval "$ac_link") 2>conftest.er1
40809 grep -v '^ *+' conftest.er1 >conftest.err
40811 cat conftest.err >&5
40812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40813 (exit $ac_status); } && {
40814 test -z "$ac_c_werror_flag" ||
40815 test ! -s conftest.err
40816 } && test -s conftest$ac_exeext &&
40817 $as_test_x conftest$ac_exeext; then
40818 ac_cv_lib_dl_dlerror=yes
40820 echo "$as_me: failed program was:" >&5
40821 sed 's/^/| /' conftest.$ac_ext >&5
40823 ac_cv_lib_dl_dlerror=no
40826 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40827 conftest$ac_exeext conftest.$ac_ext
40828 LIBS=$ac_check_lib_save_LIBS
40830 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
40831 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
40832 if test $ac_cv_lib_dl_dlerror = yes; then
40833 cat >>confdefs.h <<\_ACEOF
40834 #define HAVE_DLERROR 1
40847 if test "$HAVE_DL_FUNCS" = 0; then
40848 if test "$HAVE_SHL_FUNCS" = 0; then
40849 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
40850 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
40851 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
40852 wxUSE_DYNAMIC_LOADER=no
40853 wxUSE_DYNLIB_CLASS=no
40855 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
40856 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
40863 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
40864 cat >>confdefs.h <<\_ACEOF
40865 #define wxUSE_DYNAMIC_LOADER 1
40869 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40870 cat >>confdefs.h <<\_ACEOF
40871 #define wxUSE_DYNLIB_CLASS 1
40878 if test "$wxUSE_PLUGINS" = "yes" ; then
40879 if test "$wxUSE_SHARED" = "no" ; then
40880 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
40881 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
40884 if test "$wxUSE_MONOLITHIC" = "yes" ; then
40885 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
40886 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
40889 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
40890 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
40891 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
40894 if test "$wxUSE_PLUGINS" = "yes" ; then
40895 cat >>confdefs.h <<\_ACEOF
40896 #define wxUSE_PLUGINS 1
40903 if test "$wxUSE_STL" = "yes"; then
40904 cat >>confdefs.h <<\_ACEOF
40905 #define wxUSE_STL 1
40910 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
40911 cat >>confdefs.h <<\_ACEOF
40912 #define wxUSE_EXTENDED_RTTI 1
40917 if test "$wxUSE_APPLE_IEEE" = "yes"; then
40918 cat >>confdefs.h <<\_ACEOF
40919 #define wxUSE_APPLE_IEEE 1
40924 if test "$wxUSE_TIMER" = "yes"; then
40925 cat >>confdefs.h <<\_ACEOF
40926 #define wxUSE_TIMER 1
40931 if test "$USE_UNIX" = "1" ; then
40932 if test "$wxUSE_MGL" != 1; then
40933 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
40934 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
40935 if test "${ac_cv_header_sys_soundcard+set}" = set; then
40936 echo $ECHO_N "(cached) $ECHO_C" >&6
40939 cat >conftest.$ac_ext <<_ACEOF
40942 cat confdefs.h >>conftest.$ac_ext
40943 cat >>conftest.$ac_ext <<_ACEOF
40944 /* end confdefs.h. */
40946 #include <sys/ioctl.h>
40947 #include <sys/soundcard.h>
40953 ioctl(0, SNDCTL_DSP_SPEED, 0);
40959 rm -f conftest.$ac_objext conftest$ac_exeext
40960 if { (ac_try="$ac_link"
40961 case "(($ac_try" in
40962 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40963 *) ac_try_echo
=$ac_try;;
40965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40966 (eval "$ac_link") 2>conftest.er1
40968 grep -v '^ *+' conftest.er1
>conftest.err
40970 cat conftest.err
>&5
40971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40972 (exit $ac_status); } && {
40973 test -z "$ac_c_werror_flag" ||
40974 test ! -s conftest.err
40975 } && test -s conftest
$ac_exeext &&
40976 $as_test_x conftest
$ac_exeext; then
40977 ac_cv_header_sys_soundcard
=yes
40979 echo "$as_me: failed program was:" >&5
40980 sed 's/^/| /' conftest.
$ac_ext >&5
40984 LIBS
="$saveLibs -lossaudio"
40985 cat >conftest.
$ac_ext <<_ACEOF
40988 cat confdefs.h
>>conftest.
$ac_ext
40989 cat >>conftest.
$ac_ext <<_ACEOF
40990 /* end confdefs.h. */
40992 #include <sys/ioctl.h>
40993 #include <sys/soundcard.h>
40999 ioctl(0, SNDCTL_DSP_SPEED, 0);
41005 rm -f conftest.
$ac_objext conftest
$ac_exeext
41006 if { (ac_try
="$ac_link"
41007 case "(($ac_try" in
41008 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41009 *) ac_try_echo=$ac_try;;
41011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41012 (eval "$ac_link") 2>conftest.er1
41014 grep -v '^ *+' conftest.er1 >conftest.err
41016 cat conftest.err >&5
41017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41018 (exit $ac_status); } && {
41019 test -z "$ac_c_werror_flag" ||
41020 test ! -s conftest.err
41021 } && test -s conftest$ac_exeext &&
41022 $as_test_x conftest$ac_exeext; then
41023 ac_cv_header_sys_soundcard=yes
41025 echo "$as_me: failed program was:" >&5
41026 sed 's/^/| /' conftest.$ac_ext >&5
41030 ac_cv_header_sys_soundcard=no
41035 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41036 conftest$ac_exeext conftest.$ac_ext
41041 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41042 conftest$ac_exeext conftest.$ac_ext
41045 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
41046 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
41049 if test "$ac_cv_header_sys_soundcard" = "yes"; then
41050 cat >>confdefs.h <<\_ACEOF
41051 #define HAVE_SYS_SOUNDCARD_H 1
41058 if test "$wxUSE_SOUND" = "yes"; then
41059 if test "$USE_UNIX" = "1" ; then
41060 if test "$wxUSE_LIBSDL" != "no"; then
41062 # Check whether --with-sdl-prefix was given.
41063 if test "${with_sdl_prefix+set}" = set; then
41064 withval=$with_sdl_prefix; sdl_prefix="$withval"
41070 # Check whether --with-sdl-exec-prefix was given.
41071 if test "${with_sdl_exec_prefix+set}" = set; then
41072 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
41077 # Check whether --enable-sdltest was given.
41078 if test "${enable_sdltest+set}" = set; then
41079 enableval=$enable_sdltest;
41085 if test x$sdl_exec_prefix != x ; then
41086 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
41087 if test x${SDL_CONFIG+set} != xset ; then
41088 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
41091 if test x$sdl_prefix != x ; then
41092 sdl_args="$sdl_args --prefix=$sdl_prefix"
41093 if test x${SDL_CONFIG+set} != xset ; then
41094 SDL_CONFIG=$sdl_prefix/bin/sdl-config
41098 if test "x$prefix" != xNONE; then
41099 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
41101 # Extract the first word of "sdl-config", so it can be a program name with args.
41102 set dummy sdl-config; ac_word=$2
41103 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41104 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41105 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
41106 echo $ECHO_N "(cached) $ECHO_C" >&6
41108 case $SDL_CONFIG in
41110 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
41113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41114 for as_dir in $PATH
41117 test -z "$as_dir" && as_dir=.
41118 for ac_exec_ext in '' $ac_executable_extensions; do
41119 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41120 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41121 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41128 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
41132 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
41133 if test -n "$SDL_CONFIG"; then
41134 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
41135 echo "${ECHO_T}$SDL_CONFIG" >&6; }
41137 { echo "$as_me:$LINENO: result: no" >&5
41138 echo "${ECHO_T}no" >&6; }
41142 min_sdl_version=1.2.0
41143 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
41144 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
41146 if test "$SDL_CONFIG" = "no" ; then
41149 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
41150 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
41152 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
41153 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41154 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
41155 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41156 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
41157 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41158 if test "x$enable_sdltest" = "xyes" ; then
41159 ac_save_CFLAGS="$CFLAGS"
41160 ac_save_CXXFLAGS="$CXXFLAGS"
41161 ac_save_LIBS="$LIBS"
41162 CFLAGS="$CFLAGS $SDL_CFLAGS"
41163 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41164 LIBS="$LIBS $SDL_LIBS"
41166 if test "$cross_compiling" = yes; then
41167 echo $ac_n "cross compiling; assumed OK... $ac_c"
41169 cat >conftest.$ac_ext <<_ACEOF
41172 cat confdefs.h >>conftest.$ac_ext
41173 cat >>conftest.$ac_ext <<_ACEOF
41174 /* end confdefs.h. */
41177 #include <stdlib.h>
41178 #include <string.h>
41182 my_strdup (char *str)
41188 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
41189 strcpy (new_str, str);
41197 int main (int argc, char *argv[])
41199 int major, minor, micro;
41202 /* This hangs on some systems (?)
41203 system ("touch conf.sdltest");
41205 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
41207 /* HP/UX 9 (%@#!) writes to sscanf strings */
41208 tmp_version = my_strdup("$min_sdl_version");
41209 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
41210 printf("%s, bad version string\n", "$min_sdl_version");
41214 if (($sdl_major_version > major) ||
41215 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
41216 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
41222 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
41223 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
41224 printf("*** best to upgrade to the required version.\n");
41225 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
41226 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
41227 printf("*** config.cache before re-running configure\n");
41234 rm -f conftest$ac_exeext
41235 if { (ac_try="$ac_link"
41236 case "(($ac_try" in
41237 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41238 *) ac_try_echo
=$ac_try;;
41240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41241 (eval "$ac_link") 2>&5
41243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41244 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
41245 { (case "(($ac_try" in
41246 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41247 *) ac_try_echo=$ac_try;;
41249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41250 (eval "$ac_try") 2>&5
41252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41253 (exit $ac_status); }; }; then
41256 echo "$as_me: program exited with status $ac_status" >&5
41257 echo "$as_me: failed program was:" >&5
41258 sed 's/^/| /' conftest.$ac_ext >&5
41260 ( exit $ac_status )
41263 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41267 CFLAGS="$ac_save_CFLAGS"
41268 CXXFLAGS="$ac_save_CXXFLAGS"
41269 LIBS="$ac_save_LIBS"
41272 if test "x$no_sdl" = x ; then
41273 { echo "$as_me:$LINENO: result: yes" >&5
41274 echo "${ECHO_T}yes" >&6; }
41276 EXTRALIBS_SDL="$SDL_LIBS"
41277 CFLAGS="$SDL_CFLAGS $CFLAGS"
41278 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
41279 cat >>confdefs.h <<\_ACEOF
41280 #define wxUSE_LIBSDL 1
41285 { echo "$as_me:$LINENO: result: no" >&5
41286 echo "${ECHO_T}no" >&6; }
41287 if test "$SDL_CONFIG" = "no" ; then
41288 echo "*** The sdl-config script installed by SDL could not be found"
41289 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
41290 echo "*** your path, or set the SDL_CONFIG environment variable to the"
41291 echo "*** full path to sdl-config."
41293 if test -f conf.sdltest ; then
41296 echo "*** Could not run SDL test program, checking why..."
41297 CFLAGS="$CFLAGS $SDL_CFLAGS"
41298 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41299 LIBS="$LIBS $SDL_LIBS"
41300 cat >conftest.$ac_ext <<_ACEOF
41303 cat confdefs.h >>conftest.$ac_ext
41304 cat >>conftest.$ac_ext <<_ACEOF
41305 /* end confdefs.h. */
41310 int main(int argc, char *argv[])
41313 #define main K_and_R_C_main
41323 rm -f conftest.$ac_objext conftest$ac_exeext
41324 if { (ac_try="$ac_link"
41325 case "(($ac_try" in
41326 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41327 *) ac_try_echo
=$ac_try;;
41329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41330 (eval "$ac_link") 2>conftest.er1
41332 grep -v '^ *+' conftest.er1
>conftest.err
41334 cat conftest.err
>&5
41335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41336 (exit $ac_status); } && {
41337 test -z "$ac_c_werror_flag" ||
41338 test ! -s conftest.err
41339 } && test -s conftest
$ac_exeext &&
41340 $as_test_x conftest
$ac_exeext; then
41341 echo "*** The test program compiled, but did not run. This usually means"
41342 echo "*** that the run-time linker is not finding SDL or finding the wrong"
41343 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
41344 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
41345 echo "*** to the installed location Also, make sure you have run ldconfig if that"
41346 echo "*** is required on your system"
41348 echo "*** If you have an old version installed, it is best to remove it, although"
41349 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
41351 echo "$as_me: failed program was:" >&5
41352 sed 's/^/| /' conftest.
$ac_ext >&5
41354 echo "*** The test program failed to compile or link. See the file config.log for the"
41355 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
41356 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
41357 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
41360 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41361 conftest
$ac_exeext conftest.
$ac_ext
41362 CFLAGS
="$ac_save_CFLAGS"
41363 CXXFLAGS
="$ac_save_CXXFLAGS"
41364 LIBS
="$ac_save_LIBS"
41375 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
41380 if test "$wxUSE_MGL" = 1; then
41381 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
41382 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
41388 if test "$wxUSE_SOUND" = "yes"; then
41389 cat >>confdefs.h
<<\_ACEOF
41390 #define wxUSE_SOUND 1
41393 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
41396 if test "$WXGTK20" = 1; then
41399 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
41400 if test -n "$ac_tool_prefix"; then
41401 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
41402 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
41403 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41404 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41405 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41406 echo $ECHO_N "(cached) $ECHO_C" >&6
41408 case $PKG_CONFIG in
41410 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
41413 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41414 for as_dir
in $PATH
41417 test -z "$as_dir" && as_dir
=.
41418 for ac_exec_ext
in '' $ac_executable_extensions; do
41419 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41420 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41421 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41431 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
41432 if test -n "$PKG_CONFIG"; then
41433 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41434 echo "${ECHO_T}$PKG_CONFIG" >&6; }
41436 { echo "$as_me:$LINENO: result: no" >&5
41437 echo "${ECHO_T}no" >&6; }
41442 if test -z "$ac_cv_path_PKG_CONFIG"; then
41443 ac_pt_PKG_CONFIG
=$PKG_CONFIG
41444 # Extract the first word of "pkg-config", so it can be a program name with args.
41445 set dummy pkg
-config; ac_word
=$2
41446 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41447 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41448 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
41449 echo $ECHO_N "(cached) $ECHO_C" >&6
41451 case $ac_pt_PKG_CONFIG in
41453 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
41456 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41457 for as_dir
in $PATH
41460 test -z "$as_dir" && as_dir
=.
41461 for ac_exec_ext
in '' $ac_executable_extensions; do
41462 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41463 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41464 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41474 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
41475 if test -n "$ac_pt_PKG_CONFIG"; then
41476 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
41477 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
41479 { echo "$as_me:$LINENO: result: no" >&5
41480 echo "${ECHO_T}no" >&6; }
41483 if test "x$ac_pt_PKG_CONFIG" = x
; then
41486 case $cross_compiling:$ac_tool_warned in
41488 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
41489 whose name does not start with the host triplet. If you think this
41490 configuration is useful to you, please write to autoconf@gnu.org." >&5
41491 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
41492 whose name does not start with the host triplet. If you think this
41493 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
41494 ac_tool_warned
=yes ;;
41496 PKG_CONFIG
=$ac_pt_PKG_CONFIG
41499 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
41503 if test -n "$PKG_CONFIG"; then
41504 _pkg_min_version
=0.9.0
41505 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
41506 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
41507 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
41508 { echo "$as_me:$LINENO: result: yes" >&5
41509 echo "${ECHO_T}yes" >&6; }
41511 { echo "$as_me:$LINENO: result: no" >&5
41512 echo "${ECHO_T}no" >&6; }
41518 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
41519 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
41523 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
41524 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
41526 if test -n "$PKG_CONFIG"; then
41527 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
41528 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
41530 if test -n "$PKG_CONFIG" && \
41531 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
41532 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
41534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41535 (exit $ac_status); }; then
41536 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
41544 if test -n "$PKG_CONFIG"; then
41545 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
41546 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
41548 if test -n "$PKG_CONFIG" && \
41549 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
41550 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
41552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41553 (exit $ac_status); }; then
41554 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
41565 if test $pkg_failed = yes; then
41567 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41568 _pkg_short_errors_supported
=yes
41570 _pkg_short_errors_supported
=no
41572 if test $_pkg_short_errors_supported = yes; then
41573 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
41575 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
41577 # Put the nasty error message in config.log where it belongs
41578 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
41581 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
41582 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
41583 wxUSE_LIBGNOMEPRINT
="no"
41586 elif test $pkg_failed = untried
; then
41588 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
41589 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
41590 wxUSE_LIBGNOMEPRINT
="no"
41594 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
41595 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
41596 { echo "$as_me:$LINENO: result: yes" >&5
41597 echo "${ECHO_T}yes" >&6; }
41599 CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
41600 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
41601 cat >>confdefs.h
<<\_ACEOF
41602 #define wxUSE_LIBGNOMEPRINT 1
41610 if test "$wxUSE_MIMETYPE" = "yes" ; then
41611 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
41615 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
41616 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
41618 if test -n "$PKG_CONFIG"; then
41619 if test -n "$GNOMEVFS_CFLAGS"; then
41620 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
41622 if test -n "$PKG_CONFIG" && \
41623 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
41624 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
41626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41627 (exit $ac_status); }; then
41628 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
41636 if test -n "$PKG_CONFIG"; then
41637 if test -n "$GNOMEVFS_LIBS"; then
41638 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
41640 if test -n "$PKG_CONFIG" && \
41641 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
41642 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
41644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41645 (exit $ac_status); }; then
41646 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
41657 if test $pkg_failed = yes; then
41659 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41660 _pkg_short_errors_supported
=yes
41662 _pkg_short_errors_supported
=no
41664 if test $_pkg_short_errors_supported = yes; then
41665 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41667 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41669 # Put the nasty error message in config.log where it belongs
41670 echo "$GNOMEVFS_PKG_ERRORS" >&5
41673 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
41674 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
41675 wxUSE_LIBGNOMEVFS
="no"
41678 elif test $pkg_failed = untried
; then
41680 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
41681 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
41682 wxUSE_LIBGNOMEVFS
="no"
41686 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
41687 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
41688 { echo "$as_me:$LINENO: result: yes" >&5
41689 echo "${ECHO_T}yes" >&6; }
41691 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
41692 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
41693 cat >>confdefs.h
<<\_ACEOF
41694 #define wxUSE_LIBGNOMEVFS 1
41702 if test "$wxUSE_LIBHILDON" = "yes" ; then
41705 { echo "$as_me:$LINENO: checking for HILDON" >&5
41706 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
41708 if test -n "$PKG_CONFIG"; then
41709 if test -n "$HILDON_CFLAGS"; then
41710 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
41712 if test -n "$PKG_CONFIG" && \
41713 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
41714 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
41716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41717 (exit $ac_status); }; then
41718 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
41726 if test -n "$PKG_CONFIG"; then
41727 if test -n "$HILDON_LIBS"; then
41728 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
41730 if test -n "$PKG_CONFIG" && \
41731 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
41732 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
41734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41735 (exit $ac_status); }; then
41736 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
41747 if test $pkg_failed = yes; then
41749 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41750 _pkg_short_errors_supported
=yes
41752 _pkg_short_errors_supported
=no
41754 if test $_pkg_short_errors_supported = yes; then
41755 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
41757 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
41759 # Put the nasty error message in config.log where it belongs
41760 echo "$HILDON_PKG_ERRORS" >&5
41763 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
41764 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
41765 wxUSE_LIBHILDON
="no"
41768 elif test $pkg_failed = untried
; then
41770 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
41771 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
41772 wxUSE_LIBHILDON
="no"
41776 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
41777 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
41778 { echo "$as_me:$LINENO: result: yes" >&5
41779 echo "${ECHO_T}yes" >&6; }
41781 EXTRALIBS_HILDON
="$HILDON_LIBS"
41782 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
41783 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
41784 cat >>confdefs.h
<<\_ACEOF
41785 #define wxUSE_LIBHILDON 1
41793 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
41794 cat >>confdefs.h
<<\_ACEOF
41795 #define wxUSE_CMDLINE_PARSER 1
41800 if test "$wxUSE_STOPWATCH" = "yes"; then
41801 cat >>confdefs.h
<<\_ACEOF
41802 #define wxUSE_STOPWATCH 1
41807 if test "$wxUSE_DATETIME" = "yes"; then
41808 cat >>confdefs.h
<<\_ACEOF
41809 #define wxUSE_DATETIME 1
41814 if test "$wxUSE_FILE" = "yes"; then
41815 cat >>confdefs.h
<<\_ACEOF
41816 #define wxUSE_FILE 1
41821 if test "$wxUSE_FFILE" = "yes"; then
41822 cat >>confdefs.h
<<\_ACEOF
41823 #define wxUSE_FFILE 1
41828 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
41829 if test "$wxUSE_STREAMS" != yes; then
41830 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
41831 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
41832 wxUSE_ARCHIVE_STREAMS
=no
41834 cat >>confdefs.h
<<\_ACEOF
41835 #define wxUSE_ARCHIVE_STREAMS 1
41841 if test "$wxUSE_ZIPSTREAM" = "yes"; then
41842 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
41843 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
41844 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
41845 elif test "$wxUSE_ZLIB" = "no"; then
41846 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
41847 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
41849 cat >>confdefs.h
<<\_ACEOF
41850 #define wxUSE_ZIPSTREAM 1
41856 if test "$wxUSE_TARSTREAM" = "yes"; then
41857 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
41858 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
41859 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
41861 cat >>confdefs.h
<<\_ACEOF
41862 #define wxUSE_TARSTREAM 1
41868 if test "$wxUSE_FILESYSTEM" = "yes"; then
41869 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
41870 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
41871 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
41872 wxUSE_FILESYSTEM
=no
41874 cat >>confdefs.h
<<\_ACEOF
41875 #define wxUSE_FILESYSTEM 1
41881 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
41882 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
41883 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
41884 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
41886 cat >>confdefs.h
<<\_ACEOF
41887 #define wxUSE_FS_ARCHIVE 1
41893 if test "$wxUSE_FS_ZIP" = "yes"; then
41894 if test "$wxUSE_FS_ARCHIVE" != yes; then
41895 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
41896 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
41898 cat >>confdefs.h
<<\_ACEOF
41899 #define wxUSE_FS_ZIP 1
41905 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41906 if test "$USE_UNIX" != 1; then
41907 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
41908 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
41909 wxUSE_ON_FATAL_EXCEPTION
=no
41911 cat >>confdefs.h
<<\_ACEOF
41912 #define wxUSE_ON_FATAL_EXCEPTION 1
41918 if test "$wxUSE_STACKWALKER" = "yes"; then
41919 cat >>confdefs.h
<<\_ACEOF
41920 #define wxUSE_STACKWALKER 1
41925 if test "$wxUSE_DEBUGREPORT" = "yes"; then
41926 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
41927 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
41928 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
41929 wxUSE_DEBUGREPORT
=no
41931 cat >>confdefs.h
<<\_ACEOF
41932 #define wxUSE_DEBUGREPORT 1
41935 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41936 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
41941 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
41942 cat >>confdefs.h
<<\_ACEOF
41943 #define wxUSE_SNGLINST_CHECKER 1
41948 if test "$wxUSE_BUSYINFO" = "yes"; then
41949 cat >>confdefs.h
<<\_ACEOF
41950 #define wxUSE_BUSYINFO 1
41955 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
41956 cat >>confdefs.h
<<\_ACEOF
41957 #define wxUSE_STD_IOSTREAM 1
41962 if test "$wxUSE_STD_STRING" = "yes"; then
41963 cat >>confdefs.h
<<\_ACEOF
41964 #define wxUSE_STD_STRING 1
41969 if test "$wxUSE_STDPATHS" = "yes"; then
41970 cat >>confdefs.h
<<\_ACEOF
41971 #define wxUSE_STDPATHS 1
41976 if test "$wxUSE_TEXTBUFFER" = "yes"; then
41977 cat >>confdefs.h
<<\_ACEOF
41978 #define wxUSE_TEXTBUFFER 1
41983 if test "$wxUSE_TEXTFILE" = "yes"; then
41984 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
41985 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
41986 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
41988 cat >>confdefs.h
<<\_ACEOF
41989 #define wxUSE_TEXTFILE 1
41995 if test "$wxUSE_CONFIG" = "yes" ; then
41996 if test "$wxUSE_TEXTFILE" != "yes"; then
41997 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
41998 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
42000 cat >>confdefs.h
<<\_ACEOF
42001 #define wxUSE_CONFIG 1
42004 cat >>confdefs.h
<<\_ACEOF
42005 #define wxUSE_CONFIG_NATIVE 1
42008 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
42012 if test "$wxUSE_INTL" = "yes" ; then
42013 if test "$wxUSE_FILE" != "yes"; then
42014 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
42015 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
42017 cat >>confdefs.h
<<\_ACEOF
42018 #define wxUSE_INTL 1
42021 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
42022 GUIDIST
="$GUIDIST INTL_DIST"
42026 if test "$wxUSE_LOG" = "yes"; then
42027 cat >>confdefs.h
<<\_ACEOF
42028 #define wxUSE_LOG 1
42032 if test "$wxUSE_LOGGUI" = "yes"; then
42033 cat >>confdefs.h
<<\_ACEOF
42034 #define wxUSE_LOGGUI 1
42039 if test "$wxUSE_LOGWINDOW" = "yes"; then
42040 cat >>confdefs.h
<<\_ACEOF
42041 #define wxUSE_LOGWINDOW 1
42046 if test "$wxUSE_LOGDIALOG" = "yes"; then
42047 cat >>confdefs.h
<<\_ACEOF
42048 #define wxUSE_LOG_DIALOG 1
42053 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
42056 if test "$wxUSE_LONGLONG" = "yes"; then
42057 cat >>confdefs.h
<<\_ACEOF
42058 #define wxUSE_LONGLONG 1
42063 if test "$wxUSE_GEOMETRY" = "yes"; then
42064 cat >>confdefs.h
<<\_ACEOF
42065 #define wxUSE_GEOMETRY 1
42070 if test "$wxUSE_STREAMS" = "yes" ; then
42071 cat >>confdefs.h
<<\_ACEOF
42072 #define wxUSE_STREAMS 1
42077 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
42078 cat >>confdefs.h
<<\_ACEOF
42079 #define wxUSE_PRINTF_POS_PARAMS 1
42086 if test "$wxUSE_DATETIME" = "yes"; then
42088 for ac_func
in strptime
42090 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42091 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42092 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42093 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42094 echo $ECHO_N "(cached) $ECHO_C" >&6
42096 cat >conftest.
$ac_ext <<_ACEOF
42099 cat confdefs.h
>>conftest.
$ac_ext
42100 cat >>conftest.
$ac_ext <<_ACEOF
42101 /* end confdefs.h. */
42102 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42103 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42104 #define $ac_func innocuous_$ac_func
42106 /* System header to define __stub macros and hopefully few prototypes,
42107 which can conflict with char $ac_func (); below.
42108 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42109 <limits.h> exists even on freestanding compilers. */
42112 # include <limits.h>
42114 # include <assert.h>
42119 /* Override any GCC internal prototype to avoid an error.
42120 Use char because int might match the return type of a GCC
42121 builtin and then its argument prototype would still apply. */
42126 /* The GNU C library defines this for functions which it implements
42127 to always fail with ENOSYS. Some functions are actually named
42128 something starting with __ and the normal name is an alias. */
42129 #if defined __stub_$ac_func || defined __stub___$ac_func
42136 return $ac_func ();
42141 rm -f conftest.
$ac_objext conftest
$ac_exeext
42142 if { (ac_try
="$ac_link"
42143 case "(($ac_try" in
42144 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42145 *) ac_try_echo=$ac_try;;
42147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42148 (eval "$ac_link") 2>conftest.er1
42150 grep -v '^ *+' conftest.er1 >conftest.err
42152 cat conftest.err >&5
42153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42154 (exit $ac_status); } && {
42155 test -z "$ac_c_werror_flag" ||
42156 test ! -s conftest.err
42157 } && test -s conftest$ac_exeext &&
42158 $as_test_x conftest$ac_exeext; then
42159 eval "$as_ac_var=yes"
42161 echo "$as_me: failed program was:" >&5
42162 sed 's/^/| /' conftest.$ac_ext >&5
42164 eval "$as_ac_var=no"
42167 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42168 conftest$ac_exeext conftest.$ac_ext
42170 ac_res=`eval echo '${'$as_ac_var'}'`
42171 { echo "$as_me:$LINENO: result: $ac_res" >&5
42172 echo "${ECHO_T}$ac_res" >&6; }
42173 if test `eval echo '${'$as_ac_var'}'` = yes; then
42174 cat >>confdefs.h <<_ACEOF
42175 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42181 if test "$ac_cv_func_strptime" = "yes"; then
42182 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
42183 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
42184 if test "${wx_cv_func_strptime_decl+set}" = set; then
42185 echo $ECHO_N "(cached) $ECHO_C" >&6
42189 ac_cpp='$CXXCPP $CPPFLAGS'
42190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42194 cat >conftest.$ac_ext <<_ACEOF
42197 cat confdefs.h >>conftest.$ac_ext
42198 cat >>conftest.$ac_ext <<_ACEOF
42199 /* end confdefs.h. */
42208 strptime("foo", "bar", &t);
42214 rm -f conftest.$ac_objext
42215 if { (ac_try="$ac_compile"
42216 case "(($ac_try" in
42217 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42218 *) ac_try_echo
=$ac_try;;
42220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42221 (eval "$ac_compile") 2>conftest.er1
42223 grep -v '^ *+' conftest.er1
>conftest.err
42225 cat conftest.err
>&5
42226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42227 (exit $ac_status); } && {
42228 test -z "$ac_cxx_werror_flag" ||
42229 test ! -s conftest.err
42230 } && test -s conftest.
$ac_objext; then
42231 wx_cv_func_strptime_decl
=yes
42233 echo "$as_me: failed program was:" >&5
42234 sed 's/^/| /' conftest.
$ac_ext >&5
42236 wx_cv_func_strptime_decl
=no
42240 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42242 ac_cpp
='$CPP $CPPFLAGS'
42243 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42244 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42245 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42250 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
42251 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
42253 if test "$wx_cv_func_strptime_decl" = "yes"; then
42254 cat >>confdefs.h
<<\_ACEOF
42255 #define HAVE_STRPTIME_DECL 1
42260 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
42261 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
42262 if test "${wx_cv_var_timezone+set}" = set; then
42263 echo $ECHO_N "(cached) $ECHO_C" >&6
42267 ac_cpp
='$CXXCPP $CPPFLAGS'
42268 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42269 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42270 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
42272 cat >conftest.
$ac_ext <<_ACEOF
42275 cat confdefs.h
>>conftest.
$ac_ext
42276 cat >>conftest.
$ac_ext <<_ACEOF
42277 /* end confdefs.h. */
42292 rm -f conftest.
$ac_objext
42293 if { (ac_try
="$ac_compile"
42294 case "(($ac_try" in
42295 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42296 *) ac_try_echo=$ac_try;;
42298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42299 (eval "$ac_compile") 2>conftest.er1
42301 grep -v '^ *+' conftest.er1 >conftest.err
42303 cat conftest.err >&5
42304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42305 (exit $ac_status); } && {
42306 test -z "$ac_cxx_werror_flag" ||
42307 test ! -s conftest.err
42308 } && test -s conftest.$ac_objext; then
42310 wx_cv_var_timezone=timezone
42313 echo "$as_me: failed program was:" >&5
42314 sed 's/^/| /' conftest.$ac_ext >&5
42317 cat >conftest.$ac_ext <<_ACEOF
42320 cat confdefs.h >>conftest.$ac_ext
42321 cat >>conftest.$ac_ext <<_ACEOF
42322 /* end confdefs.h. */
42337 rm -f conftest.$ac_objext
42338 if { (ac_try="$ac_compile"
42339 case "(($ac_try" in
42340 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42341 *) ac_try_echo
=$ac_try;;
42343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42344 (eval "$ac_compile") 2>conftest.er1
42346 grep -v '^ *+' conftest.er1
>conftest.err
42348 cat conftest.err
>&5
42349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42350 (exit $ac_status); } && {
42351 test -z "$ac_cxx_werror_flag" ||
42352 test ! -s conftest.err
42353 } && test -s conftest.
$ac_objext; then
42355 wx_cv_var_timezone
=_timezone
42358 echo "$as_me: failed program was:" >&5
42359 sed 's/^/| /' conftest.
$ac_ext >&5
42362 cat >conftest.
$ac_ext <<_ACEOF
42365 cat confdefs.h
>>conftest.
$ac_ext
42366 cat >>conftest.
$ac_ext <<_ACEOF
42367 /* end confdefs.h. */
42382 rm -f conftest.
$ac_objext
42383 if { (ac_try
="$ac_compile"
42384 case "(($ac_try" in
42385 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42386 *) ac_try_echo=$ac_try;;
42388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42389 (eval "$ac_compile") 2>conftest.er1
42391 grep -v '^ *+' conftest.er1 >conftest.err
42393 cat conftest.err >&5
42394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42395 (exit $ac_status); } && {
42396 test -z "$ac_cxx_werror_flag" ||
42397 test ! -s conftest.err
42398 } && test -s conftest.$ac_objext; then
42400 wx_cv_var_timezone=__timezone
42403 echo "$as_me: failed program was:" >&5
42404 sed 's/^/| /' conftest.$ac_ext >&5
42407 if test "$USE_DOS" = 0 ; then
42408 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
42409 echo "$as_me: WARNING: no timezone variable" >&2;}
42415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42427 ac_cpp='$CPP $CPPFLAGS'
42428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42435 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
42436 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
42438 if test "x$wx_cv_var_timezone" != x ; then
42439 cat >>confdefs.h <<_ACEOF
42440 #define WX_TIMEZONE $wx_cv_var_timezone
42446 for ac_func in localtime
42448 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42449 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42450 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42451 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42452 echo $ECHO_N "(cached) $ECHO_C" >&6
42454 cat >conftest.$ac_ext <<_ACEOF
42457 cat confdefs.h >>conftest.$ac_ext
42458 cat >>conftest.$ac_ext <<_ACEOF
42459 /* end confdefs.h. */
42460 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42461 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42462 #define $ac_func innocuous_$ac_func
42464 /* System header to define __stub macros and hopefully few prototypes,
42465 which can conflict with char $ac_func (); below.
42466 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42467 <limits.h> exists even on freestanding compilers. */
42470 # include <limits.h>
42472 # include <assert.h>
42477 /* Override any GCC internal prototype to avoid an error.
42478 Use char because int might match the return type of a GCC
42479 builtin and then its argument prototype would still apply. */
42484 /* The GNU C library defines this for functions which it implements
42485 to always fail with ENOSYS. Some functions are actually named
42486 something starting with __ and the normal name is an alias. */
42487 #if defined __stub_$ac_func || defined __stub___$ac_func
42494 return $ac_func ();
42499 rm -f conftest.$ac_objext conftest$ac_exeext
42500 if { (ac_try="$ac_link"
42501 case "(($ac_try" in
42502 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42503 *) ac_try_echo
=$ac_try;;
42505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42506 (eval "$ac_link") 2>conftest.er1
42508 grep -v '^ *+' conftest.er1
>conftest.err
42510 cat conftest.err
>&5
42511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42512 (exit $ac_status); } && {
42513 test -z "$ac_c_werror_flag" ||
42514 test ! -s conftest.err
42515 } && test -s conftest
$ac_exeext &&
42516 $as_test_x conftest
$ac_exeext; then
42517 eval "$as_ac_var=yes"
42519 echo "$as_me: failed program was:" >&5
42520 sed 's/^/| /' conftest.
$ac_ext >&5
42522 eval "$as_ac_var=no"
42525 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42526 conftest
$ac_exeext conftest.
$ac_ext
42528 ac_res
=`eval echo '${'$as_ac_var'}'`
42529 { echo "$as_me:$LINENO: result: $ac_res" >&5
42530 echo "${ECHO_T}$ac_res" >&6; }
42531 if test `eval echo '${'$as_ac_var'}'` = yes; then
42532 cat >>confdefs.h
<<_ACEOF
42533 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42540 if test "$ac_cv_func_localtime" = "yes"; then
42541 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
42542 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
42543 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
42544 echo $ECHO_N "(cached) $ECHO_C" >&6
42547 cat >conftest.
$ac_ext <<_ACEOF
42550 cat confdefs.h
>>conftest.
$ac_ext
42551 cat >>conftest.
$ac_ext <<_ACEOF
42552 /* end confdefs.h. */
42567 rm -f conftest.
$ac_objext
42568 if { (ac_try
="$ac_compile"
42569 case "(($ac_try" in
42570 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42571 *) ac_try_echo=$ac_try;;
42573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42574 (eval "$ac_compile") 2>conftest.er1
42576 grep -v '^ *+' conftest.er1 >conftest.err
42578 cat conftest.err >&5
42579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42580 (exit $ac_status); } && {
42581 test -z "$ac_c_werror_flag" ||
42582 test ! -s conftest.err
42583 } && test -s conftest.$ac_objext; then
42585 wx_cv_struct_tm_has_gmtoff=yes
42588 echo "$as_me: failed program was:" >&5
42589 sed 's/^/| /' conftest.$ac_ext >&5
42591 wx_cv_struct_tm_has_gmtoff=no
42595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42598 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
42599 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
42602 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
42603 cat >>confdefs.h <<\_ACEOF
42604 #define WX_GMTOFF_IN_TM 1
42611 for ac_func in gettimeofday ftime
42613 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42614 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42615 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42616 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42617 echo $ECHO_N "(cached) $ECHO_C" >&6
42619 cat >conftest.$ac_ext <<_ACEOF
42622 cat confdefs.h >>conftest.$ac_ext
42623 cat >>conftest.$ac_ext <<_ACEOF
42624 /* end confdefs.h. */
42625 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42626 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42627 #define $ac_func innocuous_$ac_func
42629 /* System header to define __stub macros and hopefully few prototypes,
42630 which can conflict with char $ac_func (); below.
42631 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42632 <limits.h> exists even on freestanding compilers. */
42635 # include <limits.h>
42637 # include <assert.h>
42642 /* Override any GCC internal prototype to avoid an error.
42643 Use char because int might match the return type of a GCC
42644 builtin and then its argument prototype would still apply. */
42649 /* The GNU C library defines this for functions which it implements
42650 to always fail with ENOSYS. Some functions are actually named
42651 something starting with __ and the normal name is an alias. */
42652 #if defined __stub_$ac_func || defined __stub___$ac_func
42659 return $ac_func ();
42664 rm -f conftest.$ac_objext conftest$ac_exeext
42665 if { (ac_try="$ac_link"
42666 case "(($ac_try" in
42667 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42668 *) ac_try_echo
=$ac_try;;
42670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42671 (eval "$ac_link") 2>conftest.er1
42673 grep -v '^ *+' conftest.er1
>conftest.err
42675 cat conftest.err
>&5
42676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42677 (exit $ac_status); } && {
42678 test -z "$ac_c_werror_flag" ||
42679 test ! -s conftest.err
42680 } && test -s conftest
$ac_exeext &&
42681 $as_test_x conftest
$ac_exeext; then
42682 eval "$as_ac_var=yes"
42684 echo "$as_me: failed program was:" >&5
42685 sed 's/^/| /' conftest.
$ac_ext >&5
42687 eval "$as_ac_var=no"
42690 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42691 conftest
$ac_exeext conftest.
$ac_ext
42693 ac_res
=`eval echo '${'$as_ac_var'}'`
42694 { echo "$as_me:$LINENO: result: $ac_res" >&5
42695 echo "${ECHO_T}$ac_res" >&6; }
42696 if test `eval echo '${'$as_ac_var'}'` = yes; then
42697 cat >>confdefs.h
<<_ACEOF
42698 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42705 if test "$ac_cv_func_gettimeofday" = "yes"; then
42706 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
42707 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
42708 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
42709 echo $ECHO_N "(cached) $ECHO_C" >&6
42712 cat >conftest.
$ac_ext <<_ACEOF
42715 cat confdefs.h
>>conftest.
$ac_ext
42716 cat >>conftest.
$ac_ext <<_ACEOF
42717 /* end confdefs.h. */
42719 #include <sys/time.h>
42720 #include <unistd.h>
42727 gettimeofday(&tv, NULL);
42733 rm -f conftest.
$ac_objext
42734 if { (ac_try
="$ac_compile"
42735 case "(($ac_try" in
42736 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42737 *) ac_try_echo=$ac_try;;
42739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42740 (eval "$ac_compile") 2>conftest.er1
42742 grep -v '^ *+' conftest.er1 >conftest.err
42744 cat conftest.err >&5
42745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42746 (exit $ac_status); } && {
42747 test -z "$ac_c_werror_flag" ||
42748 test ! -s conftest.err
42749 } && test -s conftest.$ac_objext; then
42750 wx_cv_func_gettimeofday_has_2_args=yes
42752 echo "$as_me: failed program was:" >&5
42753 sed 's/^/| /' conftest.$ac_ext >&5
42755 cat >conftest.$ac_ext <<_ACEOF
42758 cat confdefs.h >>conftest.$ac_ext
42759 cat >>conftest.$ac_ext <<_ACEOF
42760 /* end confdefs.h. */
42762 #include <sys/time.h>
42763 #include <unistd.h>
42776 rm -f conftest.$ac_objext
42777 if { (ac_try="$ac_compile"
42778 case "(($ac_try" in
42779 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42780 *) ac_try_echo
=$ac_try;;
42782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42783 (eval "$ac_compile") 2>conftest.er1
42785 grep -v '^ *+' conftest.er1
>conftest.err
42787 cat conftest.err
>&5
42788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42789 (exit $ac_status); } && {
42790 test -z "$ac_c_werror_flag" ||
42791 test ! -s conftest.err
42792 } && test -s conftest.
$ac_objext; then
42793 wx_cv_func_gettimeofday_has_2_args
=no
42795 echo "$as_me: failed program was:" >&5
42796 sed 's/^/| /' conftest.
$ac_ext >&5
42799 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
42800 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
42801 wx_cv_func_gettimeofday_has_2_args
=unknown
42806 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42810 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42813 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
42814 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
42816 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
42817 cat >>confdefs.h
<<\_ACEOF
42818 #define WX_GETTIMEOFDAY_NO_TZ 1
42824 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
42828 if test "$wxUSE_SOCKETS" = "yes"; then
42829 if test "$wxUSE_MGL" = "1"; then
42830 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
42831 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
42836 if test "$wxUSE_SOCKETS" = "yes"; then
42837 if test "$TOOLKIT" != "MSW"; then
42838 { echo "$as_me:$LINENO: checking for socket" >&5
42839 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
42840 if test "${ac_cv_func_socket+set}" = set; then
42841 echo $ECHO_N "(cached) $ECHO_C" >&6
42843 cat >conftest.
$ac_ext <<_ACEOF
42846 cat confdefs.h
>>conftest.
$ac_ext
42847 cat >>conftest.
$ac_ext <<_ACEOF
42848 /* end confdefs.h. */
42849 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
42850 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42851 #define socket innocuous_socket
42853 /* System header to define __stub macros and hopefully few prototypes,
42854 which can conflict with char socket (); below.
42855 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42856 <limits.h> exists even on freestanding compilers. */
42859 # include <limits.h>
42861 # include <assert.h>
42866 /* Override any GCC internal prototype to avoid an error.
42867 Use char because int might match the return type of a GCC
42868 builtin and then its argument prototype would still apply. */
42873 /* The GNU C library defines this for functions which it implements
42874 to always fail with ENOSYS. Some functions are actually named
42875 something starting with __ and the normal name is an alias. */
42876 #if defined __stub_socket || defined __stub___socket
42888 rm -f conftest.
$ac_objext conftest
$ac_exeext
42889 if { (ac_try
="$ac_link"
42890 case "(($ac_try" in
42891 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42892 *) ac_try_echo=$ac_try;;
42894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42895 (eval "$ac_link") 2>conftest.er1
42897 grep -v '^ *+' conftest.er1 >conftest.err
42899 cat conftest.err >&5
42900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42901 (exit $ac_status); } && {
42902 test -z "$ac_c_werror_flag" ||
42903 test ! -s conftest.err
42904 } && test -s conftest$ac_exeext &&
42905 $as_test_x conftest$ac_exeext; then
42906 ac_cv_func_socket=yes
42908 echo "$as_me: failed program was:" >&5
42909 sed 's/^/| /' conftest.$ac_ext >&5
42911 ac_cv_func_socket=no
42914 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42915 conftest$ac_exeext conftest.$ac_ext
42917 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
42918 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
42919 if test $ac_cv_func_socket = yes; then
42923 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
42924 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
42925 if test "${ac_cv_lib_socket_socket+set}" = set; then
42926 echo $ECHO_N "(cached) $ECHO_C" >&6
42928 ac_check_lib_save_LIBS=$LIBS
42929 LIBS="-lsocket $LIBS"
42930 cat >conftest.$ac_ext <<_ACEOF
42933 cat confdefs.h >>conftest.$ac_ext
42934 cat >>conftest.$ac_ext <<_ACEOF
42935 /* end confdefs.h. */
42937 /* Override any GCC internal prototype to avoid an error.
42938 Use char because int might match the return type of a GCC
42939 builtin and then its argument prototype would still apply. */
42952 rm -f conftest.$ac_objext conftest$ac_exeext
42953 if { (ac_try="$ac_link"
42954 case "(($ac_try" in
42955 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42956 *) ac_try_echo
=$ac_try;;
42958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42959 (eval "$ac_link") 2>conftest.er1
42961 grep -v '^ *+' conftest.er1
>conftest.err
42963 cat conftest.err
>&5
42964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42965 (exit $ac_status); } && {
42966 test -z "$ac_c_werror_flag" ||
42967 test ! -s conftest.err
42968 } && test -s conftest
$ac_exeext &&
42969 $as_test_x conftest
$ac_exeext; then
42970 ac_cv_lib_socket_socket
=yes
42972 echo "$as_me: failed program was:" >&5
42973 sed 's/^/| /' conftest.
$ac_ext >&5
42975 ac_cv_lib_socket_socket
=no
42978 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42979 conftest
$ac_exeext conftest.
$ac_ext
42980 LIBS
=$ac_check_lib_save_LIBS
42982 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
42983 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
42984 if test $ac_cv_lib_socket_socket = yes; then
42985 if test "$INET_LINK" != " -lsocket"; then
42986 INET_LINK
="$INET_LINK -lsocket"
42990 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
42991 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
43004 if test "$wxUSE_SOCKETS" = "yes" ; then
43005 if test "$TOOLKIT" != "MSW"; then
43006 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
43007 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
43008 if test "${wx_cv_type_getsockname3+set}" = set; then
43009 echo $ECHO_N "(cached) $ECHO_C" >&6
43013 ac_cpp
='$CXXCPP $CPPFLAGS'
43014 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43015 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43016 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43018 cat >conftest.
$ac_ext <<_ACEOF
43021 cat confdefs.h
>>conftest.
$ac_ext
43022 cat >>conftest.
$ac_ext <<_ACEOF
43023 /* end confdefs.h. */
43025 #include <sys/types.h>
43026 #include <sys/socket.h>
43033 getsockname(0, 0, &len);
43039 rm -f conftest.
$ac_objext
43040 if { (ac_try
="$ac_compile"
43041 case "(($ac_try" in
43042 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43043 *) ac_try_echo=$ac_try;;
43045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43046 (eval "$ac_compile") 2>conftest.er1
43048 grep -v '^ *+' conftest.er1 >conftest.err
43050 cat conftest.err >&5
43051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43052 (exit $ac_status); } && {
43053 test -z "$ac_cxx_werror_flag" ||
43054 test ! -s conftest.err
43055 } && test -s conftest.$ac_objext; then
43056 wx_cv_type_getsockname3=socklen_t
43058 echo "$as_me: failed program was:" >&5
43059 sed 's/^/| /' conftest.$ac_ext >&5
43062 CFLAGS_OLD="$CFLAGS"
43063 if test "$GCC" = yes ; then
43064 CFLAGS="-Werror $CFLAGS"
43067 cat >conftest.$ac_ext <<_ACEOF
43070 cat confdefs.h >>conftest.$ac_ext
43071 cat >>conftest.$ac_ext <<_ACEOF
43072 /* end confdefs.h. */
43074 #include <sys/types.h>
43075 #include <sys/socket.h>
43082 getsockname(0, 0, &len);
43088 rm -f conftest.$ac_objext
43089 if { (ac_try="$ac_compile"
43090 case "(($ac_try" in
43091 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43092 *) ac_try_echo
=$ac_try;;
43094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43095 (eval "$ac_compile") 2>conftest.er1
43097 grep -v '^ *+' conftest.er1
>conftest.err
43099 cat conftest.err
>&5
43100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43101 (exit $ac_status); } && {
43102 test -z "$ac_cxx_werror_flag" ||
43103 test ! -s conftest.err
43104 } && test -s conftest.
$ac_objext; then
43105 wx_cv_type_getsockname3
=size_t
43107 echo "$as_me: failed program was:" >&5
43108 sed 's/^/| /' conftest.
$ac_ext >&5
43110 cat >conftest.
$ac_ext <<_ACEOF
43113 cat confdefs.h
>>conftest.
$ac_ext
43114 cat >>conftest.
$ac_ext <<_ACEOF
43115 /* end confdefs.h. */
43117 #include <sys/types.h>
43118 #include <sys/socket.h>
43125 getsockname(0, 0, &len);
43131 rm -f conftest.
$ac_objext
43132 if { (ac_try
="$ac_compile"
43133 case "(($ac_try" in
43134 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43135 *) ac_try_echo=$ac_try;;
43137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43138 (eval "$ac_compile") 2>conftest.er1
43140 grep -v '^ *+' conftest.er1 >conftest.err
43142 cat conftest.err >&5
43143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43144 (exit $ac_status); } && {
43145 test -z "$ac_cxx_werror_flag" ||
43146 test ! -s conftest.err
43147 } && test -s conftest.$ac_objext; then
43148 wx_cv_type_getsockname3=int
43150 echo "$as_me: failed program was:" >&5
43151 sed 's/^/| /' conftest.$ac_ext >&5
43153 wx_cv_type_getsockname3=unknown
43157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43163 CFLAGS="$CFLAGS_OLD"
43168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43170 ac_cpp='$CPP $CPPFLAGS'
43171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43177 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
43178 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
43180 if test "$wx_cv_type_getsockname3" = "unknown"; then
43182 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43183 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43185 cat >>confdefs.h <<_ACEOF
43186 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
43190 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
43191 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
43192 if test "${wx_cv_type_getsockopt5+set}" = set; then
43193 echo $ECHO_N "(cached) $ECHO_C" >&6
43197 ac_cpp='$CXXCPP $CPPFLAGS'
43198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43202 cat >conftest.$ac_ext <<_ACEOF
43205 cat confdefs.h >>conftest.$ac_ext
43206 cat >>conftest.$ac_ext <<_ACEOF
43207 /* end confdefs.h. */
43209 #include <sys/types.h>
43210 #include <sys/socket.h>
43217 getsockopt(0, 0, 0, 0, &len);
43223 rm -f conftest.$ac_objext
43224 if { (ac_try="$ac_compile"
43225 case "(($ac_try" in
43226 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43227 *) ac_try_echo
=$ac_try;;
43229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43230 (eval "$ac_compile") 2>conftest.er1
43232 grep -v '^ *+' conftest.er1
>conftest.err
43234 cat conftest.err
>&5
43235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43236 (exit $ac_status); } && {
43237 test -z "$ac_cxx_werror_flag" ||
43238 test ! -s conftest.err
43239 } && test -s conftest.
$ac_objext; then
43240 wx_cv_type_getsockopt5
=socklen_t
43242 echo "$as_me: failed program was:" >&5
43243 sed 's/^/| /' conftest.
$ac_ext >&5
43246 cat >conftest.
$ac_ext <<_ACEOF
43249 cat confdefs.h
>>conftest.
$ac_ext
43250 cat >>conftest.
$ac_ext <<_ACEOF
43251 /* end confdefs.h. */
43253 #include <sys/types.h>
43254 #include <sys/socket.h>
43261 getsockopt(0, 0, 0, 0, &len);
43267 rm -f conftest.
$ac_objext
43268 if { (ac_try
="$ac_compile"
43269 case "(($ac_try" in
43270 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43271 *) ac_try_echo=$ac_try;;
43273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43274 (eval "$ac_compile") 2>conftest.er1
43276 grep -v '^ *+' conftest.er1 >conftest.err
43278 cat conftest.err >&5
43279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43280 (exit $ac_status); } && {
43281 test -z "$ac_cxx_werror_flag" ||
43282 test ! -s conftest.err
43283 } && test -s conftest.$ac_objext; then
43284 wx_cv_type_getsockopt5=size_t
43286 echo "$as_me: failed program was:" >&5
43287 sed 's/^/| /' conftest.$ac_ext >&5
43289 cat >conftest.$ac_ext <<_ACEOF
43292 cat confdefs.h >>conftest.$ac_ext
43293 cat >>conftest.$ac_ext <<_ACEOF
43294 /* end confdefs.h. */
43296 #include <sys/types.h>
43297 #include <sys/socket.h>
43304 getsockopt(0, 0, 0, 0, &len);
43310 rm -f conftest.$ac_objext
43311 if { (ac_try="$ac_compile"
43312 case "(($ac_try" in
43313 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43314 *) ac_try_echo
=$ac_try;;
43316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43317 (eval "$ac_compile") 2>conftest.er1
43319 grep -v '^ *+' conftest.er1
>conftest.err
43321 cat conftest.err
>&5
43322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43323 (exit $ac_status); } && {
43324 test -z "$ac_cxx_werror_flag" ||
43325 test ! -s conftest.err
43326 } && test -s conftest.
$ac_objext; then
43327 wx_cv_type_getsockopt5
=int
43329 echo "$as_me: failed program was:" >&5
43330 sed 's/^/| /' conftest.
$ac_ext >&5
43332 wx_cv_type_getsockopt5
=unknown
43336 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43340 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43345 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43347 ac_cpp
='$CPP $CPPFLAGS'
43348 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43349 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43350 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
43354 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
43355 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
43357 if test "$wx_cv_type_getsockopt5" = "unknown"; then
43359 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43360 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43362 cat >>confdefs.h
<<_ACEOF
43363 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
43370 if test "$wxUSE_SOCKETS" = "yes" ; then
43371 cat >>confdefs.h
<<\_ACEOF
43372 #define wxUSE_SOCKETS 1
43375 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
43378 if test "$wxUSE_PROTOCOL" = "yes"; then
43379 if test "$wxUSE_SOCKETS" != "yes"; then
43380 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
43381 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
43386 if test "$wxUSE_PROTOCOL" = "yes"; then
43387 cat >>confdefs.h
<<\_ACEOF
43388 #define wxUSE_PROTOCOL 1
43392 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
43393 cat >>confdefs.h
<<\_ACEOF
43394 #define wxUSE_PROTOCOL_HTTP 1
43398 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
43399 cat >>confdefs.h
<<\_ACEOF
43400 #define wxUSE_PROTOCOL_FTP 1
43404 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
43405 cat >>confdefs.h
<<\_ACEOF
43406 #define wxUSE_PROTOCOL_FILE 1
43411 if test "$wxUSE_FS_INET" = "yes"; then
43412 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
43413 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
43418 if test "$wxUSE_URL" = "yes"; then
43419 if test "$wxUSE_PROTOCOL" != "yes"; then
43420 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
43421 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
43424 if test "$wxUSE_URL" = "yes"; then
43425 cat >>confdefs.h
<<\_ACEOF
43426 #define wxUSE_URL 1
43432 if test "$wxUSE_VARIANT" = "yes"; then
43433 cat >>confdefs.h
<<\_ACEOF
43434 #define wxUSE_VARIANT 1
43439 if test "$wxUSE_FS_INET" = "yes"; then
43440 cat >>confdefs.h
<<\_ACEOF
43441 #define wxUSE_FS_INET 1
43447 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
43450 if test "$TOOLKIT" = "MSW"; then
43453 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
43454 if test "$USE_DARWIN" = 1; then
43455 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
43456 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
43458 ac_cpp
='$CXXCPP $CPPFLAGS'
43459 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43460 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43461 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43463 cat >conftest.
$ac_ext <<_ACEOF
43466 cat confdefs.h
>>conftest.
$ac_ext
43467 cat >>conftest.
$ac_ext <<_ACEOF
43468 /* end confdefs.h. */
43469 #include <IOKit/hid/IOHIDLib.h>
43473 IOHIDQueueInterface *qi = NULL;
43474 IOHIDCallbackFunction cb = NULL;
43475 qi->setEventCallout(NULL, cb, NULL, NULL);
43480 rm -f conftest.
$ac_objext
43481 if { (ac_try
="$ac_compile"
43482 case "(($ac_try" in
43483 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43484 *) ac_try_echo=$ac_try;;
43486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43487 (eval "$ac_compile") 2>conftest.er1
43489 grep -v '^ *+' conftest.er1 >conftest.err
43491 cat conftest.err >&5
43492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43493 (exit $ac_status); } && {
43494 test -z "$ac_cxx_werror_flag" ||
43495 test ! -s conftest.err
43496 } && test -s conftest.$ac_objext; then
43500 echo "$as_me: failed program was:" >&5
43501 sed 's/^/| /' conftest.$ac_ext >&5
43506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43508 ac_cpp='$CPP $CPPFLAGS'
43509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43513 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
43514 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
43518 if test "$wxUSE_MGL" != "1"; then
43519 { echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
43520 echo $ECHO_N "checking for linux/joystick.h... $ECHO_C" >&6; }
43521 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
43522 echo $ECHO_N "(cached) $ECHO_C" >&6
43524 cat >conftest.$ac_ext <<_ACEOF
43527 cat confdefs.h >>conftest.$ac_ext
43528 cat >>conftest.$ac_ext <<_ACEOF
43529 /* end confdefs.h. */
43530 $ac_includes_default
43532 #include <linux/joystick.h>
43534 rm -f conftest.$ac_objext
43535 if { (ac_try="$ac_compile"
43536 case "(($ac_try" in
43537 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43538 *) ac_try_echo
=$ac_try;;
43540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43541 (eval "$ac_compile") 2>conftest.er1
43543 grep -v '^ *+' conftest.er1
>conftest.err
43545 cat conftest.err
>&5
43546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43547 (exit $ac_status); } && {
43548 test -z "$ac_c_werror_flag" ||
43549 test ! -s conftest.err
43550 } && test -s conftest.
$ac_objext; then
43551 ac_cv_header_linux_joystick_h
=yes
43553 echo "$as_me: failed program was:" >&5
43554 sed 's/^/| /' conftest.
$ac_ext >&5
43556 ac_cv_header_linux_joystick_h
=no
43559 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43561 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
43562 echo "${ECHO_T}$ac_cv_header_linux_joystick_h" >&6; }
43563 if test $ac_cv_header_linux_joystick_h = yes; then
43571 if test "$wxUSE_JOYSTICK" = "yes"; then
43572 cat >>confdefs.h
<<\_ACEOF
43573 #define wxUSE_JOYSTICK 1
43576 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
43578 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
43579 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
43585 if test "$wxUSE_FONTMAP" = "yes" ; then
43586 cat >>confdefs.h
<<\_ACEOF
43587 #define wxUSE_FONTMAP 1
43592 if test "$wxUSE_UNICODE" = "yes" ; then
43593 cat >>confdefs.h
<<\_ACEOF
43594 #define wxUSE_UNICODE 1
43598 if test "$USE_WIN32" != 1; then
43599 wxUSE_UNICODE_MSLU
=no
43602 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
43603 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
43604 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
43605 if test "${ac_cv_lib_unicows_main+set}" = set; then
43606 echo $ECHO_N "(cached) $ECHO_C" >&6
43608 ac_check_lib_save_LIBS
=$LIBS
43609 LIBS
="-lunicows $LIBS"
43610 cat >conftest.
$ac_ext <<_ACEOF
43613 cat confdefs.h
>>conftest.
$ac_ext
43614 cat >>conftest.
$ac_ext <<_ACEOF
43615 /* end confdefs.h. */
43626 rm -f conftest.
$ac_objext conftest
$ac_exeext
43627 if { (ac_try
="$ac_link"
43628 case "(($ac_try" in
43629 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43630 *) ac_try_echo=$ac_try;;
43632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43633 (eval "$ac_link") 2>conftest.er1
43635 grep -v '^ *+' conftest.er1 >conftest.err
43637 cat conftest.err >&5
43638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43639 (exit $ac_status); } && {
43640 test -z "$ac_c_werror_flag" ||
43641 test ! -s conftest.err
43642 } && test -s conftest$ac_exeext &&
43643 $as_test_x conftest$ac_exeext; then
43644 ac_cv_lib_unicows_main=yes
43646 echo "$as_me: failed program was:" >&5
43647 sed 's/^/| /' conftest.$ac_ext >&5
43649 ac_cv_lib_unicows_main=no
43652 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43653 conftest$ac_exeext conftest.$ac_ext
43654 LIBS=$ac_check_lib_save_LIBS
43656 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
43657 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
43658 if test $ac_cv_lib_unicows_main = yes; then
43660 cat >>confdefs.h <<\_ACEOF
43661 #define wxUSE_UNICODE_MSLU 1
43667 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43668 Applications will only run on Windows NT/2000/XP!" >&5
43669 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43670 Applications will only run on Windows NT/2000/XP!" >&2;}
43671 wxUSE_UNICODE_MSLU=no
43678 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
43679 cat >>confdefs.h <<\_ACEOF
43680 #define wxUSE_UNICODE_UTF8 1
43684 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
43685 cat >>confdefs.h <<\_ACEOF
43686 #define wxUSE_UTF8_LOCALE_ONLY 1
43692 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
43693 cat >>confdefs.h <<\_ACEOF
43694 #define wxUSE_EXPERIMENTAL_PRINTF 1
43700 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
43701 cat >>confdefs.h <<\_ACEOF
43702 #define wxUSE_POSTSCRIPT 1
43707 cat >>confdefs.h <<\_ACEOF
43708 #define wxUSE_AFM_FOR_POSTSCRIPT 1
43712 cat >>confdefs.h <<\_ACEOF
43713 #define wxUSE_NORMALIZED_PS_FONTS 1
43718 if test "$wxUSE_CONSTRAINTS" = "yes"; then
43719 cat >>confdefs.h <<\_ACEOF
43720 #define wxUSE_CONSTRAINTS 1
43723 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
43726 if test "$wxUSE_MDI" = "yes"; then
43727 cat >>confdefs.h <<\_ACEOF
43728 #define wxUSE_MDI 1
43732 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43733 cat >>confdefs.h <<\_ACEOF
43734 #define wxUSE_MDI_ARCHITECTURE 1
43737 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
43741 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
43742 cat >>confdefs.h <<\_ACEOF
43743 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
43746 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
43747 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43748 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
43752 if test "$wxUSE_HELP" = "yes"; then
43753 cat >>confdefs.h <<\_ACEOF
43754 #define wxUSE_HELP 1
43757 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
43759 if test "$wxUSE_MSW" = 1; then
43760 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
43761 cat >>confdefs.h <<\_ACEOF
43762 #define wxUSE_MS_HTML_HELP 1
43768 if test "$wxUSE_WXHTML_HELP" = "yes"; then
43769 if test "$wxUSE_HTML" = "yes"; then
43770 cat >>confdefs.h <<\_ACEOF
43771 #define wxUSE_WXHTML_HELP 1
43775 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
43776 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
43777 wxUSE_WXHTML_HELP=no
43782 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43783 if test "$wxUSE_CONSTRAINTS" != "yes"; then
43784 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
43785 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
43787 cat >>confdefs.h <<\_ACEOF
43788 #define wxUSE_PRINTING_ARCHITECTURE 1
43792 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
43797 if test "$wxUSE_METAFILE" = "yes"; then
43798 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
43799 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
43800 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
43806 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
43807 -o "$wxUSE_CLIPBOARD" = "yes" \
43808 -o "$wxUSE_OLE" = "yes" \
43809 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
43810 { echo "$as_me:$LINENO: checking for ole2.h" >&5
43811 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
43812 if test "${ac_cv_header_ole2_h+set}" = set; then
43813 echo $ECHO_N "(cached) $ECHO_C" >&6
43815 cat >conftest.$ac_ext <<_ACEOF
43818 cat confdefs.h >>conftest.$ac_ext
43819 cat >>conftest.$ac_ext <<_ACEOF
43820 /* end confdefs.h. */
43825 rm -f conftest.$ac_objext
43826 if { (ac_try="$ac_compile"
43827 case "(($ac_try" in
43828 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43829 *) ac_try_echo
=$ac_try;;
43831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43832 (eval "$ac_compile") 2>conftest.er1
43834 grep -v '^ *+' conftest.er1
>conftest.err
43836 cat conftest.err
>&5
43837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43838 (exit $ac_status); } && {
43839 test -z "$ac_c_werror_flag" ||
43840 test ! -s conftest.err
43841 } && test -s conftest.
$ac_objext; then
43842 ac_cv_header_ole2_h
=yes
43844 echo "$as_me: failed program was:" >&5
43845 sed 's/^/| /' conftest.
$ac_ext >&5
43847 ac_cv_header_ole2_h
=no
43850 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43852 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
43853 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
43857 if test "$ac_cv_header_ole2_h" = "yes" ; then
43858 if test "$GCC" = yes ; then
43859 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
43860 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
43861 cat >conftest.
$ac_ext <<_ACEOF
43864 cat confdefs.h
>>conftest.
$ac_ext
43865 cat >>conftest.
$ac_ext <<_ACEOF
43866 /* end confdefs.h. */
43867 #include <windows.h>
43877 rm -f conftest.
$ac_objext
43878 if { (ac_try
="$ac_compile"
43879 case "(($ac_try" in
43880 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43881 *) ac_try_echo=$ac_try;;
43883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43884 (eval "$ac_compile") 2>conftest.er1
43886 grep -v '^ *+' conftest.er1 >conftest.err
43888 cat conftest.err >&5
43889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43890 (exit $ac_status); } && {
43891 test -z "$ac_c_werror_flag" ||
43892 test ! -s conftest.err
43893 } && test -s conftest.$ac_objext; then
43894 { echo "$as_me:$LINENO: result: no" >&5
43895 echo "${ECHO_T}no" >&6; }
43897 echo "$as_me: failed program was:" >&5
43898 sed 's/^/| /' conftest.$ac_ext >&5
43900 { echo "$as_me:$LINENO: result: yes" >&5
43901 echo "${ECHO_T}yes" >&6; }
43902 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
43905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43906 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
43907 if test "$wxUSE_OLE" = "yes" ; then
43908 cat >>confdefs.h <<\_ACEOF
43909 #define wxUSE_OLE 1
43912 cat >>confdefs.h <<\_ACEOF
43913 #define wxUSE_OLE_AUTOMATION 1
43916 cat >>confdefs.h <<\_ACEOF
43917 #define wxUSE_ACTIVEX 1
43920 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
43924 if test "$wxUSE_DATAOBJ" = "yes" ; then
43925 cat >>confdefs.h <<\_ACEOF
43926 #define wxUSE_DATAOBJ 1
43931 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
43932 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
43935 wxUSE_DRAG_AND_DROP=no
43940 if test "$wxUSE_METAFILE" = "yes"; then
43941 cat >>confdefs.h <<\_ACEOF
43942 #define wxUSE_METAFILE 1
43946 cat >>confdefs.h <<\_ACEOF
43947 #define wxUSE_ENH_METAFILE 1
43953 if test "$wxUSE_IPC" = "yes"; then
43954 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
43955 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
43956 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
43960 if test "$wxUSE_IPC" = "yes"; then
43961 cat >>confdefs.h <<\_ACEOF
43962 #define wxUSE_IPC 1
43965 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
43969 if test "$wxUSE_DATAOBJ" = "yes"; then
43970 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
43971 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
43972 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
43975 cat >>confdefs.h <<\_ACEOF
43976 #define wxUSE_DATAOBJ 1
43981 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
43982 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
43984 wxUSE_DRAG_AND_DROP=no
43987 if test "$wxUSE_CLIPBOARD" = "yes"; then
43988 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
43989 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
43990 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
43994 if test "$wxUSE_CLIPBOARD" = "yes"; then
43995 cat >>confdefs.h <<\_ACEOF
43996 #define wxUSE_CLIPBOARD 1
44002 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
44003 if test "$wxUSE_GTK" = 1; then
44004 if test "$WXGTK12" != 1; then
44005 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
44006 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
44007 wxUSE_DRAG_AND_DROP=no
44011 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
44012 "$wxUSE_DFB" = 1; then
44013 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
44014 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
44015 wxUSE_DRAG_AND_DROP=no
44018 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
44019 cat >>confdefs.h <<\_ACEOF
44020 #define wxUSE_DRAG_AND_DROP 1
44027 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
44028 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
44031 if test "$wxUSE_SPLINES" = "yes" ; then
44032 cat >>confdefs.h <<\_ACEOF
44033 #define wxUSE_SPLINES 1
44038 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
44039 cat >>confdefs.h <<\_ACEOF
44040 #define wxUSE_MOUSEWHEEL 1
44047 if test "$wxUSE_CONTROLS" = "yes"; then
44051 if test "$wxUSE_ACCEL" = "yes"; then
44052 cat >>confdefs.h <<\_ACEOF
44053 #define wxUSE_ACCEL 1
44059 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
44060 cat >>confdefs.h <<\_ACEOF
44061 #define wxUSE_ANIMATIONCTRL 1
44065 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
44068 if test "$wxUSE_BUTTON" = "yes"; then
44069 cat >>confdefs.h <<\_ACEOF
44070 #define wxUSE_BUTTON 1
44076 if test "$wxUSE_BMPBUTTON" = "yes"; then
44077 cat >>confdefs.h <<\_ACEOF
44078 #define wxUSE_BMPBUTTON 1
44084 if test "$wxUSE_CALCTRL" = "yes"; then
44085 cat >>confdefs.h <<\_ACEOF
44086 #define wxUSE_CALENDARCTRL 1
44090 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
44093 if test "$wxUSE_CARET" = "yes"; then
44094 cat >>confdefs.h <<\_ACEOF
44095 #define wxUSE_CARET 1
44099 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
44102 if test "$wxUSE_COLLPANE" = "yes"; then
44103 cat >>confdefs.h <<\_ACEOF
44104 #define wxUSE_COLLPANE 1
44108 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
44111 if test "$wxUSE_COMBOBOX" = "yes"; then
44112 cat >>confdefs.h <<\_ACEOF
44113 #define wxUSE_COMBOBOX 1
44119 if test "$wxUSE_COMBOCTRL" = "yes"; then
44120 cat >>confdefs.h <<\_ACEOF
44121 #define wxUSE_COMBOCTRL 1
44127 if test "$wxUSE_CHOICE" = "yes"; then
44128 cat >>confdefs.h <<\_ACEOF
44129 #define wxUSE_CHOICE 1
44135 if test "$wxUSE_CHOICEBOOK" = "yes"; then
44136 cat >>confdefs.h <<\_ACEOF
44137 #define wxUSE_CHOICEBOOK 1
44143 if test "$wxUSE_CHECKBOX" = "yes"; then
44144 cat >>confdefs.h <<\_ACEOF
44145 #define wxUSE_CHECKBOX 1
44151 if test "$wxUSE_CHECKLST" = "yes"; then
44152 cat >>confdefs.h <<\_ACEOF
44153 #define wxUSE_CHECKLISTBOX 1
44157 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
44160 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
44161 cat >>confdefs.h <<\_ACEOF
44162 #define wxUSE_COLOURPICKERCTRL 1
44168 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
44169 cat >>confdefs.h <<\_ACEOF
44170 #define wxUSE_DATEPICKCTRL 1
44176 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
44177 cat >>confdefs.h <<\_ACEOF
44178 #define wxUSE_DIRPICKERCTRL 1
44184 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
44185 cat >>confdefs.h <<\_ACEOF
44186 #define wxUSE_FILEPICKERCTRL 1
44192 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
44193 cat >>confdefs.h <<\_ACEOF
44194 #define wxUSE_FONTPICKERCTRL 1
44200 if test "$wxUSE_DISPLAY" = "yes"; then
44201 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
44202 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
44203 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
44206 cat >>confdefs.h <<\_ACEOF
44207 #define wxUSE_DISPLAY 1
44210 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
44214 if test "$wxUSE_DETECT_SM" = "yes"; then
44215 cat >>confdefs.h <<\_ACEOF
44216 #define wxUSE_DETECT_SM 1
44221 if test "$wxUSE_GAUGE" = "yes"; then
44222 cat >>confdefs.h <<\_ACEOF
44223 #define wxUSE_GAUGE 1
44229 if test "$wxUSE_GRID" = "yes"; then
44230 cat >>confdefs.h <<\_ACEOF
44231 #define wxUSE_GRID 1
44235 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
44238 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
44239 cat >>confdefs.h <<\_ACEOF
44240 #define wxUSE_HYPERLINKCTRL 1
44246 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
44247 cat >>confdefs.h <<\_ACEOF
44248 #define wxUSE_BITMAPCOMBOBOX 1
44254 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
44255 cat >>confdefs.h <<\_ACEOF
44256 #define wxUSE_DATAVIEWCTRL 1
44260 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
44263 if test "$wxUSE_IMAGLIST" = "yes"; then
44264 cat >>confdefs.h <<\_ACEOF
44265 #define wxUSE_IMAGLIST 1
44270 if test "$wxUSE_LISTBOOK" = "yes"; then
44271 cat >>confdefs.h <<\_ACEOF
44272 #define wxUSE_LISTBOOK 1
44278 if test "$wxUSE_LISTBOX" = "yes"; then
44279 cat >>confdefs.h <<\_ACEOF
44280 #define wxUSE_LISTBOX 1
44284 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
44287 if test "$wxUSE_LISTCTRL" = "yes"; then
44288 if test "$wxUSE_IMAGLIST" = "yes"; then
44289 cat >>confdefs.h <<\_ACEOF
44290 #define wxUSE_LISTCTRL 1
44294 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
44296 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
44297 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
44301 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
44302 cat >>confdefs.h <<\_ACEOF
44303 #define wxUSE_EDITABLELISTBOX 1
44307 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
44310 if test "$wxUSE_NOTEBOOK" = "yes"; then
44311 cat >>confdefs.h <<\_ACEOF
44312 #define wxUSE_NOTEBOOK 1
44316 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
44319 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
44320 cat >>confdefs.h <<\_ACEOF
44321 #define wxUSE_ODCOMBOBOX 1
44325 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
44329 if test "$wxUSE_RADIOBOX" = "yes"; then
44330 cat >>confdefs.h <<\_ACEOF
44331 #define wxUSE_RADIOBOX 1
44337 if test "$wxUSE_RADIOBTN" = "yes"; then
44338 cat >>confdefs.h <<\_ACEOF
44339 #define wxUSE_RADIOBTN 1
44345 if test "$wxUSE_SASH" = "yes"; then
44346 cat >>confdefs.h <<\_ACEOF
44347 #define wxUSE_SASH 1
44350 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
44353 if test "$wxUSE_SCROLLBAR" = "yes"; then
44354 cat >>confdefs.h <<\_ACEOF
44355 #define wxUSE_SCROLLBAR 1
44359 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
44362 if test "$wxUSE_SEARCHCTRL" = "yes"; then
44363 cat >>confdefs.h <<\_ACEOF
44364 #define wxUSE_SEARCHCTRL 1
44370 if test "$wxUSE_SLIDER" = "yes"; then
44371 cat >>confdefs.h <<\_ACEOF
44372 #define wxUSE_SLIDER 1
44378 if test "$wxUSE_SPINBTN" = "yes"; then
44379 cat >>confdefs.h <<\_ACEOF
44380 #define wxUSE_SPINBTN 1
44386 if test "$wxUSE_SPINCTRL" = "yes"; then
44387 cat >>confdefs.h <<\_ACEOF
44388 #define wxUSE_SPINCTRL 1
44394 if test "$wxUSE_SPLITTER" = "yes"; then
44395 cat >>confdefs.h <<\_ACEOF
44396 #define wxUSE_SPLITTER 1
44399 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
44402 if test "$wxUSE_STATBMP" = "yes"; then
44403 cat >>confdefs.h <<\_ACEOF
44404 #define wxUSE_STATBMP 1
44410 if test "$wxUSE_STATBOX" = "yes"; then
44411 cat >>confdefs.h <<\_ACEOF
44412 #define wxUSE_STATBOX 1
44418 if test "$wxUSE_STATTEXT" = "yes"; then
44419 cat >>confdefs.h <<\_ACEOF
44420 #define wxUSE_STATTEXT 1
44426 if test "$wxUSE_STATLINE" = "yes"; then
44427 cat >>confdefs.h <<\_ACEOF
44428 #define wxUSE_STATLINE 1
44434 if test "$wxUSE_STATUSBAR" = "yes"; then
44435 cat >>confdefs.h <<\_ACEOF
44436 #define wxUSE_NATIVE_STATUSBAR 1
44439 cat >>confdefs.h <<\_ACEOF
44440 #define wxUSE_STATUSBAR 1
44445 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
44448 if test "$wxUSE_TAB_DIALOG" = "yes"; then
44449 cat >>confdefs.h <<\_ACEOF
44450 #define wxUSE_TAB_DIALOG 1
44455 if test "$wxUSE_TEXTCTRL" = "yes"; then
44456 cat >>confdefs.h <<\_ACEOF
44457 #define wxUSE_TEXTCTRL 1
44461 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
44464 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44465 if test "$wxUSE_COCOA" = 1 ; then
44466 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
44467 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
44471 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44472 cat >>confdefs.h <<\_ACEOF
44473 #define wxUSE_TOGGLEBTN 1
44480 if test "$wxUSE_TOOLBAR" = "yes"; then
44481 cat >>confdefs.h <<\_ACEOF
44482 #define wxUSE_TOOLBAR 1
44487 if test "$wxUSE_UNIVERSAL" = "yes"; then
44488 wxUSE_TOOLBAR_NATIVE="no"
44490 wxUSE_TOOLBAR_NATIVE="yes"
44491 cat >>confdefs.h <<\_ACEOF
44492 #define wxUSE_TOOLBAR_NATIVE 1
44497 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
44500 if test "$wxUSE_TOOLTIPS" = "yes"; then
44501 if test "$wxUSE_MOTIF" = 1; then
44502 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
44503 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
44505 if test "$wxUSE_UNIVERSAL" = "yes"; then
44506 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
44507 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
44509 cat >>confdefs.h <<\_ACEOF
44510 #define wxUSE_TOOLTIPS 1
44517 if test "$wxUSE_TREEBOOK" = "yes"; then
44518 cat >>confdefs.h <<\_ACEOF
44519 #define wxUSE_TREEBOOK 1
44525 if test "$wxUSE_TOOLBOOK" = "yes"; then
44526 cat >>confdefs.h <<\_ACEOF
44527 #define wxUSE_TOOLBOOK 1
44533 if test "$wxUSE_TREECTRL" = "yes"; then
44534 if test "$wxUSE_IMAGLIST" = "yes"; then
44535 cat >>confdefs.h <<\_ACEOF
44536 #define wxUSE_TREECTRL 1
44540 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
44542 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
44543 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
44547 if test "$wxUSE_POPUPWIN" = "yes"; then
44548 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
44549 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
44550 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
44552 if test "$wxUSE_PM" = 1; then
44553 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
44554 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
44556 cat >>confdefs.h <<\_ACEOF
44557 #define wxUSE_POPUPWIN 1
44560 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
44567 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
44568 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
44569 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
44570 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
44572 cat >>confdefs.h <<\_ACEOF
44573 #define wxUSE_DIALUP_MANAGER 1
44576 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
44580 if test "$wxUSE_TIPWINDOW" = "yes"; then
44581 if test "$wxUSE_PM" = 1; then
44582 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
44583 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
44585 cat >>confdefs.h <<\_ACEOF
44586 #define wxUSE_TIPWINDOW 1
44592 if test "$USES_CONTROLS" = 1; then
44593 cat >>confdefs.h <<\_ACEOF
44594 #define wxUSE_CONTROLS 1
44600 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
44601 cat >>confdefs.h <<\_ACEOF
44602 #define wxUSE_ACCESSIBILITY 1
44605 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
44608 if test "$wxUSE_DC_CACHEING" = "yes"; then
44609 cat >>confdefs.h <<\_ACEOF
44610 #define wxUSE_DC_CACHEING 1
44615 if test "$wxUSE_DRAGIMAGE" = "yes"; then
44616 cat >>confdefs.h <<\_ACEOF
44617 #define wxUSE_DRAGIMAGE 1
44620 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
44623 if test "$wxUSE_EXCEPTIONS" = "yes"; then
44624 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
44625 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
44626 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
44628 cat >>confdefs.h <<\_ACEOF
44629 #define wxUSE_EXCEPTIONS 1
44632 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
44637 if test "$wxUSE_HTML" = "yes"; then
44638 cat >>confdefs.h <<\_ACEOF
44639 #define wxUSE_HTML 1
44643 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
44644 if test "$wxUSE_MAC" = 1; then
44645 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
44648 if test "$wxUSE_WEBKIT" = "yes"; then
44649 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
44650 old_CPPFLAGS="$CPPFLAGS"
44651 CPPFLAGS="-x objective-c++ $CPPFLAGS"
44652 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
44653 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
44654 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
44655 echo $ECHO_N "(cached) $ECHO_C" >&6
44657 cat >conftest.$ac_ext <<_ACEOF
44660 cat confdefs.h >>conftest.$ac_ext
44661 cat >>conftest.$ac_ext <<_ACEOF
44662 /* end confdefs.h. */
44664 #include <Carbon/Carbon.h>
44665 #include <WebKit/WebKit.h>
44668 #include <WebKit/HIWebView.h>
44670 rm -f conftest.$ac_objext
44671 if { (ac_try="$ac_compile"
44672 case "(($ac_try" in
44673 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44674 *) ac_try_echo
=$ac_try;;
44676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44677 (eval "$ac_compile") 2>conftest.er1
44679 grep -v '^ *+' conftest.er1
>conftest.err
44681 cat conftest.err
>&5
44682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44683 (exit $ac_status); } && {
44684 test -z "$ac_c_werror_flag" ||
44685 test ! -s conftest.err
44686 } && test -s conftest.
$ac_objext; then
44687 ac_cv_header_WebKit_HIWebView_h
=yes
44689 echo "$as_me: failed program was:" >&5
44690 sed 's/^/| /' conftest.
$ac_ext >&5
44692 ac_cv_header_WebKit_HIWebView_h
=no
44695 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44697 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
44698 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
44699 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
44701 cat >>confdefs.h
<<\_ACEOF
44702 #define wxUSE_WEBKIT 1
44705 WEBKIT_LINK
="-framework WebKit"
44709 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
44710 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
44716 CPPFLAGS
="$old_CPPFLAGS"
44717 elif test "$wxUSE_COCOA" = 1; then
44718 cat >>confdefs.h
<<\_ACEOF
44719 #define wxUSE_WEBKIT 1
44728 if test "$wxUSE_XRC" = "yes"; then
44729 if test "$wxUSE_XML" != "yes"; then
44730 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
44731 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
44734 cat >>confdefs.h
<<\_ACEOF
44735 #define wxUSE_XRC 1
44739 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
44744 if test "$wxUSE_AUI" = "yes"; then
44745 cat >>confdefs.h
<<\_ACEOF
44746 #define wxUSE_AUI 1
44750 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS aui"
44754 if test "$wxUSE_STC" = "yes"; then
44755 cat >>confdefs.h
<<\_ACEOF
44756 #define wxUSE_STC 1
44760 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS stc"
44763 if test "$wxUSE_MENUS" = "yes"; then
44764 cat >>confdefs.h
<<\_ACEOF
44765 #define wxUSE_MENUS 1
44768 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
44771 if test "$wxUSE_METAFILE" = "yes"; then
44772 cat >>confdefs.h
<<\_ACEOF
44773 #define wxUSE_METAFILE 1
44778 if test "$wxUSE_MIMETYPE" = "yes"; then
44779 cat >>confdefs.h
<<\_ACEOF
44780 #define wxUSE_MIMETYPE 1
44785 if test "$wxUSE_MINIFRAME" = "yes"; then
44786 cat >>confdefs.h
<<\_ACEOF
44787 #define wxUSE_MINIFRAME 1
44790 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
44793 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
44794 cat >>confdefs.h
<<\_ACEOF
44795 #define wxUSE_SYSTEM_OPTIONS 1
44798 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
44799 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
44800 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
44805 if test "$wxUSE_VALIDATORS" = "yes"; then
44806 cat >>confdefs.h
<<\_ACEOF
44807 #define wxUSE_VALIDATORS 1
44810 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
44813 if test "$wxUSE_PALETTE" = "yes" ; then
44814 if test "$wxUSE_DFB" = 1; then
44815 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
44816 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
44819 cat >>confdefs.h
<<\_ACEOF
44820 #define wxUSE_PALETTE 1
44826 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
44827 LIBS
=" -lunicows $LIBS"
44831 if test "$wxUSE_RICHTEXT" = "yes"; then
44832 cat >>confdefs.h
<<\_ACEOF
44833 #define wxUSE_RICHTEXT 1
44837 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS richtext"
44841 if test "$wxUSE_IMAGE" = "yes" ; then
44842 cat >>confdefs.h
<<\_ACEOF
44843 #define wxUSE_IMAGE 1
44847 if test "$wxUSE_GIF" = "yes" ; then
44848 cat >>confdefs.h
<<\_ACEOF
44849 #define wxUSE_GIF 1
44854 if test "$wxUSE_PCX" = "yes" ; then
44855 cat >>confdefs.h
<<\_ACEOF
44856 #define wxUSE_PCX 1
44861 if test "$wxUSE_TGA" = "yes" ; then
44862 cat >>confdefs.h
<<\_ACEOF
44863 #define wxUSE_TGA 1
44868 if test "$wxUSE_IFF" = "yes" ; then
44869 cat >>confdefs.h
<<\_ACEOF
44870 #define wxUSE_IFF 1
44875 if test "$wxUSE_PNM" = "yes" ; then
44876 cat >>confdefs.h
<<\_ACEOF
44877 #define wxUSE_PNM 1
44882 if test "$wxUSE_XPM" = "yes" ; then
44883 cat >>confdefs.h
<<\_ACEOF
44884 #define wxUSE_XPM 1
44889 if test "$wxUSE_ICO_CUR" = "yes" ; then
44890 cat >>confdefs.h
<<\_ACEOF
44891 #define wxUSE_ICO_CUR 1
44898 if test "$wxUSE_ABOUTDLG" = "yes"; then
44899 cat >>confdefs.h
<<\_ACEOF
44900 #define wxUSE_ABOUTDLG 1
44905 if test "$wxUSE_CHOICEDLG" = "yes"; then
44906 cat >>confdefs.h
<<\_ACEOF
44907 #define wxUSE_CHOICEDLG 1
44912 if test "$wxUSE_COLOURDLG" = "yes"; then
44913 cat >>confdefs.h
<<\_ACEOF
44914 #define wxUSE_COLOURDLG 1
44919 if test "$wxUSE_FILEDLG" = "yes"; then
44920 cat >>confdefs.h
<<\_ACEOF
44921 #define wxUSE_FILEDLG 1
44926 if test "$wxUSE_FINDREPLDLG" = "yes"; then
44927 cat >>confdefs.h
<<\_ACEOF
44928 #define wxUSE_FINDREPLDLG 1
44933 if test "$wxUSE_FONTDLG" = "yes"; then
44934 cat >>confdefs.h
<<\_ACEOF
44935 #define wxUSE_FONTDLG 1
44940 if test "$wxUSE_DIRDLG" = "yes"; then
44941 if test "$wxUSE_TREECTRL" != "yes"; then
44942 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
44943 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
44945 cat >>confdefs.h
<<\_ACEOF
44946 #define wxUSE_DIRDLG 1
44952 if test "$wxUSE_MSGDLG" = "yes"; then
44953 cat >>confdefs.h
<<\_ACEOF
44954 #define wxUSE_MSGDLG 1
44959 if test "$wxUSE_NUMBERDLG" = "yes"; then
44960 cat >>confdefs.h
<<\_ACEOF
44961 #define wxUSE_NUMBERDLG 1
44966 if test "$wxUSE_PROGRESSDLG" = "yes"; then
44967 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44968 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
44969 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
44971 cat >>confdefs.h
<<\_ACEOF
44972 #define wxUSE_PROGRESSDLG 1
44978 if test "$wxUSE_SPLASH" = "yes"; then
44979 cat >>confdefs.h
<<\_ACEOF
44980 #define wxUSE_SPLASH 1
44983 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
44986 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
44987 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44988 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
44989 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
44991 cat >>confdefs.h
<<\_ACEOF
44992 #define wxUSE_STARTUP_TIPS 1
44998 if test "$wxUSE_TEXTDLG" = "yes"; then
44999 cat >>confdefs.h
<<\_ACEOF
45000 #define wxUSE_TEXTDLG 1
45005 if test "$wxUSE_WIZARDDLG" = "yes"; then
45006 cat >>confdefs.h
<<\_ACEOF
45007 #define wxUSE_WIZARDDLG 1
45010 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
45014 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
45015 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
45016 cat >>confdefs.h
<<\_ACEOF
45017 #define wxUSE_GRAPHICS_CONTEXT 1
45020 elif test "$wxUSE_GTK" != 1; then
45021 cat >>confdefs.h
<<\_ACEOF
45022 #define wxUSE_GRAPHICS_CONTEXT 1
45028 { echo "$as_me:$LINENO: checking for CAIRO" >&5
45029 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
45031 if test -n "$PKG_CONFIG"; then
45032 if test -n "$CAIRO_CFLAGS"; then
45033 pkg_cv_CAIRO_CFLAGS
="$CAIRO_CFLAGS"
45035 if test -n "$PKG_CONFIG" && \
45036 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
45037 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
45039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45040 (exit $ac_status); }; then
45041 pkg_cv_CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
45049 if test -n "$PKG_CONFIG"; then
45050 if test -n "$CAIRO_LIBS"; then
45051 pkg_cv_CAIRO_LIBS
="$CAIRO_LIBS"
45053 if test -n "$PKG_CONFIG" && \
45054 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
45055 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
45057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45058 (exit $ac_status); }; then
45059 pkg_cv_CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
45070 if test $pkg_failed = yes; then
45072 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45073 _pkg_short_errors_supported
=yes
45075 _pkg_short_errors_supported
=no
45077 if test $_pkg_short_errors_supported = yes; then
45078 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
45080 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
45082 # Put the nasty error message in config.log where it belongs
45083 echo "$CAIRO_PKG_ERRORS" >&5
45085 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
45086 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
45088 elif test $pkg_failed = untried
; then
45089 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
45090 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
45093 CAIRO_CFLAGS
=$pkg_cv_CAIRO_CFLAGS
45094 CAIRO_LIBS
=$pkg_cv_CAIRO_LIBS
45095 { echo "$as_me:$LINENO: result: yes" >&5
45096 echo "${ECHO_T}yes" >&6; }
45097 cat >>confdefs.h
<<\_ACEOF
45098 #define wxUSE_GRAPHICS_CONTEXT 1
45108 if test "$wxUSE_MEDIACTRL" = "yes"; then
45111 if test "$wxUSE_GTK" = 1; then
45112 wxUSE_GSTREAMER
="no"
45114 GST_VERSION_MAJOR
=0
45115 GST_VERSION_MINOR
=10
45116 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
45118 if test "$wxUSE_GSTREAMER8" = "no"; then
45121 { echo "$as_me:$LINENO: checking for GST" >&5
45122 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
45124 if test -n "$PKG_CONFIG"; then
45125 if test -n "$GST_CFLAGS"; then
45126 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
45128 if test -n "$PKG_CONFIG" && \
45129 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
45130 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
45132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45133 (exit $ac_status); }; then
45134 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
45142 if test -n "$PKG_CONFIG"; then
45143 if test -n "$GST_LIBS"; then
45144 pkg_cv_GST_LIBS
="$GST_LIBS"
45146 if test -n "$PKG_CONFIG" && \
45147 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
45148 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
45150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45151 (exit $ac_status); }; then
45152 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
45163 if test $pkg_failed = yes; then
45165 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45166 _pkg_short_errors_supported
=yes
45168 _pkg_short_errors_supported
=no
45170 if test $_pkg_short_errors_supported = yes; then
45171 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
45173 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
45175 # Put the nasty error message in config.log where it belongs
45176 echo "$GST_PKG_ERRORS" >&5
45179 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
45180 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
45181 GST_VERSION_MINOR
=8
45184 elif test $pkg_failed = untried
; then
45186 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
45187 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
45188 GST_VERSION_MINOR
=8
45192 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
45193 GST_LIBS
=$pkg_cv_GST_LIBS
45194 { echo "$as_me:$LINENO: result: yes" >&5
45195 echo "${ECHO_T}yes" >&6; }
45197 wxUSE_GSTREAMER
="yes"
45198 GST_LIBS
="$GST_LIBS -lgstinterfaces-$GST_VERSION"
45202 GST_VERSION_MINOR
=8
45205 if test $GST_VERSION_MINOR = "8"; then
45206 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
45209 { echo "$as_me:$LINENO: checking for GST" >&5
45210 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
45212 if test -n "$PKG_CONFIG"; then
45213 if test -n "$GST_CFLAGS"; then
45214 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
45216 if test -n "$PKG_CONFIG" && \
45217 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
45218 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
45220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45221 (exit $ac_status); }; then
45222 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
45230 if test -n "$PKG_CONFIG"; then
45231 if test -n "$GST_LIBS"; then
45232 pkg_cv_GST_LIBS
="$GST_LIBS"
45234 if test -n "$PKG_CONFIG" && \
45235 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
45236 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
45238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45239 (exit $ac_status); }; then
45240 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
45251 if test $pkg_failed = yes; then
45253 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45254 _pkg_short_errors_supported
=yes
45256 _pkg_short_errors_supported
=no
45258 if test $_pkg_short_errors_supported = yes; then
45259 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45261 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45263 # Put the nasty error message in config.log where it belongs
45264 echo "$GST_PKG_ERRORS" >&5
45267 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
45268 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
45270 elif test $pkg_failed = untried
; then
45272 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
45273 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
45276 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
45277 GST_LIBS
=$pkg_cv_GST_LIBS
45278 { echo "$as_me:$LINENO: result: yes" >&5
45279 echo "${ECHO_T}yes" >&6; }
45280 wxUSE_GSTREAMER
="yes"
45285 if test "$wxUSE_GSTREAMER" = "yes"; then
45288 if "$GCC" = yes; then
45289 GST_CFLAGS
=`echo $GST_CFLAGS | sed 's/-mt//'`
45290 GST_LIBS
=`echo $GST_LIBS | sed 's/-mt//'`
45294 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
45295 LIBS
="$GST_LIBS $LIBS"
45297 cat >>confdefs.h
<<\_ACEOF
45298 #define wxUSE_GSTREAMER 1
45306 if test $USE_MEDIA = 1; then
45307 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
45308 cat >>confdefs.h
<<\_ACEOF
45309 #define wxUSE_MEDIACTRL 1
45316 if test "$cross_compiling" = "yes"; then
45319 OSINFO
=`uname -s -r -m`
45320 OSINFO
="\"$OSINFO\""
45323 cat >>confdefs.h
<<_ACEOF
45324 #define WXWIN_OS_DESCRIPTION $OSINFO
45329 if test "x$prefix" != "xNONE"; then
45332 wxPREFIX
=$ac_default_prefix
45335 cat >>confdefs.h
<<_ACEOF
45336 #define wxINSTALL_PREFIX "$wxPREFIX"
45342 CORE_BASE_LIBS
="net base"
45343 CORE_GUI_LIBS
="adv core"
45345 if test "$wxUSE_XML" = "yes" ; then
45346 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
45348 if test "$wxUSE_ODBC" != "no" ; then
45349 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
45350 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
45352 if test "$wxUSE_HTML" = "yes" ; then
45353 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
45355 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45356 CORE_GUI_LIBS
="qa $CORE_GUI_LIBS"
45358 if test "$wxUSE_XRC" = "yes" ; then
45359 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
45361 if test "$wxUSE_AUI" = "yes" ; then
45362 CORE_GUI_LIBS
="aui $CORE_GUI_LIBS"
45364 if test "$wxUSE_STC" = "yes" ; then
45365 CORE_GUI_LIBS
="stc $CORE_GUI_LIBS"
45368 if test "$wxUSE_GUI" != "yes"; then
45377 if test "$wxUSE_MAC" = 1 ; then
45378 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
45379 if test "$USE_DARWIN" = 1; then
45380 LDFLAGS
="$LDFLAGS -framework QuickTime"
45382 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
45385 if test "$USE_DARWIN" = 1; then
45386 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
45388 LDFLAGS
="$LDFLAGS -lCarbonLib"
45391 if test "$wxUSE_COCOA" = 1 ; then
45392 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
45393 if test "$wxUSE_MEDIACTRL" = "yes"; then
45394 LDFLAGS
="$LDFLAGS -framework QuickTime"
45397 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
45398 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
45401 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
45403 if test "$wxUSE_GUI" = "yes"; then
45406 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
45407 dynamic erase event exec font image minimal mobile \
45408 mobile/wxedit mobile/styles propsize render \
45409 rotate shaped svg taborder vscroll widgets"
45411 if test "$wxUSE_MONOLITHIC" != "yes"; then
45412 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
45414 if test "$TOOLKIT" = "MSW"; then
45415 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
45416 if test "$wxUSE_UNIVERSAL" != "yes"; then
45417 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
45420 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
45421 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
45424 SAMPLES_SUBDIRS
="console"
45428 if test "x$INTELCC" = "xyes" ; then
45429 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684"
45430 elif test "$GCC" = yes ; then
45431 CWARNINGS
="-Wall -Wundef"
45434 if test "x$INTELCXX" = "xyes" ; then
45435 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419"
45436 elif test "$GXX" = yes ; then
45437 CXXWARNINGS
="-Wall -Wundef -Wno-ctor-dtor-privacy"
45441 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
45442 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
45445 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
45446 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
45447 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
45450 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
45451 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
45452 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
45454 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
45457 if test "x$MWCC" = "xyes"; then
45459 CC
="$CC -cwd source -I-"
45460 CXX
="$CXX -cwd source -I-"
45465 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
45466 EXTRALIBS_XML
="$EXPAT_LINK"
45467 EXTRALIBS_HTML
="$MSPACK_LINK"
45468 EXTRALIBS_ODBC
="$ODBC_LINK"
45469 EXTRALIBS_STC
="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
45470 if test "$wxUSE_GUI" = "yes"; then
45471 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
45473 if test "$wxUSE_OPENGL" = "yes"; then
45474 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
45477 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
45479 WXCONFIG_LIBS
="$LIBS"
45481 if test "$wxUSE_REGEX" = "builtin" ; then
45482 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
45484 if test "$wxUSE_EXPAT" = "builtin" ; then
45485 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
45487 if test "$wxUSE_ODBC" = "builtin" ; then
45488 wxconfig_3rdparty
="odbc $wxconfig_3rdparty"
45490 if test "$wxUSE_LIBTIFF" = "builtin" ; then
45491 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
45493 if test "$wxUSE_LIBJPEG" = "builtin" ; then
45494 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
45496 if test "$wxUSE_LIBPNG" = "builtin" ; then
45497 wxconfig_3rdparty
="png $wxconfig_3rdparty"
45499 if test "$wxUSE_ZLIB" = "builtin" ; then
45500 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
45503 for i
in $wxconfig_3rdparty ; do
45504 WXCONFIG_LIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
45508 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
45511 case "$wxUNIV_THEMES" in
45513 cat >>confdefs.h
<<\_ACEOF
45514 #define wxUSE_ALL_THEMES 1
45520 for t
in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
45521 cat >>confdefs.h
<<_ACEOF
45522 #define wxUSE_THEME_$t 1
45539 if test $wxUSE_MONOLITHIC = "yes" ; then
45545 if test $wxUSE_PLUGINS = "yes" ; then
45551 if test $wxUSE_ODBC != "no" ; then
45557 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45563 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
45594 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
45605 TOOLKIT_DESC
="GTK+"
45606 if test "$WXGTK20" = 1; then
45607 TOOLKIT_DESC
="$TOOLKIT_DESC 2"
45608 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
45609 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomeprint";
45611 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
45612 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomevfs"
45614 if test "$wxUSE_LIBHILDON" = "yes"; then
45615 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
45618 if test "$TOOLKIT_EXTRA" != ""; then
45619 TOOLKIT_DESC
="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
45625 TOOLKIT_DESC
=$TOOLKIT_LOWERCASE
45629 TOOLKIT_DESC
="base only"
45633 if test "$wxUSE_WINE" = "yes"; then
45634 BAKEFILE_FORCE_PLATFORM
=win32
45637 if test "$wxUSE_MAC" = 1 ; then
45638 if test "x$wxUSE_UNIVERSAL_BINARY" != xno
; then
45639 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes
; then
45640 OSX_UNIV_OPTS
="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
45642 OSX_UNIV_OPTS
=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
45644 OSX_UNIV_OPTS
="$OSX_UNIV_OPTS -arch ppc -arch i386"
45645 CXXFLAGS
="$OSX_UNIV_OPTS $CXXFLAGS"
45646 CFLAGS
="$OSX_UNIV_OPTS $CFLAGS"
45647 LDFLAGS
="$OSX_UNIV_OPTS $LDFLAGS"
45650 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
45651 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
45654 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
45656 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
45657 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
45658 if test "${wx_cv_gcc_pch_bug+set}" = set; then
45659 echo $ECHO_N "(cached) $ECHO_C" >&6
45662 echo '#include <stdio.h>
45663 const wchar_t test_var[] = L"awidetest";' > conftest.h
45665 echo '#include "conftest.h"
45668 printf("%ls", test_var);
45672 wx_cv_gcc_pch_bug
="pch not supported"
45674 if $CXX conftest.h
>/dev
/null
2>&1
45678 if $CXX -o conftest
$PROGRAM_EXT conftest.cpp
>/dev
/null
2>&1
45680 if tr -dc '[a-z]' < conftest
$PROGRAM_EXT |
45681 grep awidetest
>/dev
/null
45683 wx_cv_gcc_pch_bug
=no
45685 wx_cv_gcc_pch_bug
=yes
45690 rm -f conftest.h conftest.gch conftest.cpp conftest
$PROGRAM_EXT
45693 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
45694 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
45696 if test "$wx_cv_gcc_pch_bug" = yes; then
45704 if test "x$BAKEFILE_HOST" = "x"; then
45705 if test "x${host}" = "x" ; then
45706 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
45707 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
45708 { (exit 1); exit 1; }; }
45711 BAKEFILE_HOST
="${host}"
45714 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
45716 if test -n "$ac_tool_prefix"; then
45717 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
45718 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
45719 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45720 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45721 if test "${ac_cv_prog_RANLIB+set}" = set; then
45722 echo $ECHO_N "(cached) $ECHO_C" >&6
45724 if test -n "$RANLIB"; then
45725 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
45727 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45728 for as_dir
in $PATH
45731 test -z "$as_dir" && as_dir
=.
45732 for ac_exec_ext
in '' $ac_executable_extensions; do
45733 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45734 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
45735 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45744 RANLIB
=$ac_cv_prog_RANLIB
45745 if test -n "$RANLIB"; then
45746 { echo "$as_me:$LINENO: result: $RANLIB" >&5
45747 echo "${ECHO_T}$RANLIB" >&6; }
45749 { echo "$as_me:$LINENO: result: no" >&5
45750 echo "${ECHO_T}no" >&6; }
45755 if test -z "$ac_cv_prog_RANLIB"; then
45756 ac_ct_RANLIB
=$RANLIB
45757 # Extract the first word of "ranlib", so it can be a program name with args.
45758 set dummy ranlib
; ac_word
=$2
45759 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45760 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45761 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
45762 echo $ECHO_N "(cached) $ECHO_C" >&6
45764 if test -n "$ac_ct_RANLIB"; then
45765 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
45767 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45768 for as_dir
in $PATH
45771 test -z "$as_dir" && as_dir
=.
45772 for ac_exec_ext
in '' $ac_executable_extensions; do
45773 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45774 ac_cv_prog_ac_ct_RANLIB
="ranlib"
45775 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45784 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
45785 if test -n "$ac_ct_RANLIB"; then
45786 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
45787 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
45789 { echo "$as_me:$LINENO: result: no" >&5
45790 echo "${ECHO_T}no" >&6; }
45793 if test "x$ac_ct_RANLIB" = x
; then
45796 case $cross_compiling:$ac_tool_warned in
45798 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
45799 whose name does not start with the host triplet. If you think this
45800 configuration is useful to you, please write to autoconf@gnu.org." >&5
45801 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
45802 whose name does not start with the host triplet. If you think this
45803 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
45804 ac_tool_warned
=yes ;;
45806 RANLIB
=$ac_ct_RANLIB
45809 RANLIB
="$ac_cv_prog_RANLIB"
45812 # Find a good install program. We prefer a C program (faster),
45813 # so one script is as good as another. But avoid the broken or
45814 # incompatible versions:
45815 # SysV /etc/install, /usr/sbin/install
45816 # SunOS /usr/etc/install
45817 # IRIX /sbin/install
45819 # AmigaOS /C/install, which installs bootblocks on floppy discs
45820 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
45821 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
45822 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
45823 # OS/2's system install, which has a completely different semantic
45824 # ./install, which can be erroneously created by make from ./install.sh.
45825 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
45826 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
45827 if test -z "$INSTALL"; then
45828 if test "${ac_cv_path_install+set}" = set; then
45829 echo $ECHO_N "(cached) $ECHO_C" >&6
45831 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45832 for as_dir
in $PATH
45835 test -z "$as_dir" && as_dir
=.
45836 # Account for people who put trailing slashes in PATH elements.
45838 .
/ | .
// | /cC
/* | \
45839 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
45840 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
45843 # OSF1 and SCO ODT 3.0 have their own names for install.
45844 # Don't use installbsd from OSF since it installs stuff as root
45846 for ac_prog
in ginstall scoinst
install; do
45847 for ac_exec_ext
in '' $ac_executable_extensions; do
45848 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
45849 if test $ac_prog = install &&
45850 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
45851 # AIX install. It has an incompatible calling convention.
45853 elif test $ac_prog = install &&
45854 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
45855 # program-specific install script used by HP pwplus--don't use.
45858 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
45871 if test "${ac_cv_path_install+set}" = set; then
45872 INSTALL
=$ac_cv_path_install
45874 # As a last resort, use the slow shell script. Don't cache a
45875 # value for INSTALL within a source directory, because that will
45876 # break other packages using the cache if that directory is
45877 # removed, or if the value is a relative name.
45878 INSTALL
=$ac_install_sh
45881 { echo "$as_me:$LINENO: result: $INSTALL" >&5
45882 echo "${ECHO_T}$INSTALL" >&6; }
45884 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
45885 # It thinks the first close brace ends the variable substitution.
45886 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
45888 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
45890 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
45892 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
45893 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
45895 if test "$LN_S" = "ln -s"; then
45896 { echo "$as_me:$LINENO: result: yes" >&5
45897 echo "${ECHO_T}yes" >&6; }
45899 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
45900 echo "${ECHO_T}no, using $LN_S" >&6; }
45904 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
45905 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
45906 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
45907 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
45908 echo $ECHO_N "(cached) $ECHO_C" >&6
45910 cat >conftest.
make <<\_ACEOF
45913 @
echo '@@@%%%=$(MAKE)=@@@%%%'
45915 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
45916 case `${MAKE-make} -f conftest.make 2>/dev/null` in
45917 *@@@
%%%=?
*=@@@
%%%*)
45918 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
45920 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
45922 rm -f conftest.
make
45924 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
45925 { echo "$as_me:$LINENO: result: yes" >&5
45926 echo "${ECHO_T}yes" >&6; }
45929 { echo "$as_me:$LINENO: result: no" >&5
45930 echo "${ECHO_T}no" >&6; }
45931 SET_MAKE
="MAKE=${MAKE-make}"
45936 if test "x$SUNCXX" = "xyes"; then
45938 AROPTIONS
="-xar -o"
45940 elif test "x$SGICC" = "xyes"; then
45945 if test -n "$ac_tool_prefix"; then
45946 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
45947 set dummy
${ac_tool_prefix}ar; ac_word
=$2
45948 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45949 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45950 if test "${ac_cv_prog_AR+set}" = set; then
45951 echo $ECHO_N "(cached) $ECHO_C" >&6
45953 if test -n "$AR"; then
45954 ac_cv_prog_AR
="$AR" # Let the user override the test.
45956 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45957 for as_dir
in $PATH
45960 test -z "$as_dir" && as_dir
=.
45961 for ac_exec_ext
in '' $ac_executable_extensions; do
45962 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45963 ac_cv_prog_AR
="${ac_tool_prefix}ar"
45964 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45974 if test -n "$AR"; then
45975 { echo "$as_me:$LINENO: result: $AR" >&5
45976 echo "${ECHO_T}$AR" >&6; }
45978 { echo "$as_me:$LINENO: result: no" >&5
45979 echo "${ECHO_T}no" >&6; }
45984 if test -z "$ac_cv_prog_AR"; then
45986 # Extract the first word of "ar", so it can be a program name with args.
45987 set dummy
ar; ac_word
=$2
45988 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45989 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45990 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
45991 echo $ECHO_N "(cached) $ECHO_C" >&6
45993 if test -n "$ac_ct_AR"; then
45994 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
45996 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45997 for as_dir
in $PATH
46000 test -z "$as_dir" && as_dir
=.
46001 for ac_exec_ext
in '' $ac_executable_extensions; do
46002 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46003 ac_cv_prog_ac_ct_AR
="ar"
46004 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46013 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
46014 if test -n "$ac_ct_AR"; then
46015 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
46016 echo "${ECHO_T}$ac_ct_AR" >&6; }
46018 { echo "$as_me:$LINENO: result: no" >&5
46019 echo "${ECHO_T}no" >&6; }
46022 if test "x$ac_ct_AR" = x
; then
46025 case $cross_compiling:$ac_tool_warned in
46027 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46028 whose name does not start with the host triplet. If you think this
46029 configuration is useful to you, please write to autoconf@gnu.org." >&5
46030 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46031 whose name does not start with the host triplet. If you think this
46032 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46033 ac_tool_warned
=yes ;;
46038 AR
="$ac_cv_prog_AR"
46045 if test -n "$ac_tool_prefix"; then
46046 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
46047 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
46048 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46049 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46050 if test "${ac_cv_prog_STRIP+set}" = set; then
46051 echo $ECHO_N "(cached) $ECHO_C" >&6
46053 if test -n "$STRIP"; then
46054 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
46056 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46057 for as_dir
in $PATH
46060 test -z "$as_dir" && as_dir
=.
46061 for ac_exec_ext
in '' $ac_executable_extensions; do
46062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46063 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
46064 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46073 STRIP
=$ac_cv_prog_STRIP
46074 if test -n "$STRIP"; then
46075 { echo "$as_me:$LINENO: result: $STRIP" >&5
46076 echo "${ECHO_T}$STRIP" >&6; }
46078 { echo "$as_me:$LINENO: result: no" >&5
46079 echo "${ECHO_T}no" >&6; }
46084 if test -z "$ac_cv_prog_STRIP"; then
46086 # Extract the first word of "strip", so it can be a program name with args.
46087 set dummy strip
; ac_word
=$2
46088 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46089 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46090 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
46091 echo $ECHO_N "(cached) $ECHO_C" >&6
46093 if test -n "$ac_ct_STRIP"; then
46094 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
46096 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46097 for as_dir
in $PATH
46100 test -z "$as_dir" && as_dir
=.
46101 for ac_exec_ext
in '' $ac_executable_extensions; do
46102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46103 ac_cv_prog_ac_ct_STRIP
="strip"
46104 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46113 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
46114 if test -n "$ac_ct_STRIP"; then
46115 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
46116 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
46118 { echo "$as_me:$LINENO: result: no" >&5
46119 echo "${ECHO_T}no" >&6; }
46122 if test "x$ac_ct_STRIP" = x
; then
46125 case $cross_compiling:$ac_tool_warned in
46127 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46128 whose name does not start with the host triplet. If you think this
46129 configuration is useful to you, please write to autoconf@gnu.org." >&5
46130 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46131 whose name does not start with the host triplet. If you think this
46132 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46133 ac_tool_warned
=yes ;;
46138 STRIP
="$ac_cv_prog_STRIP"
46141 if test -n "$ac_tool_prefix"; then
46142 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
46143 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
46144 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46146 if test "${ac_cv_prog_NM+set}" = set; then
46147 echo $ECHO_N "(cached) $ECHO_C" >&6
46149 if test -n "$NM"; then
46150 ac_cv_prog_NM
="$NM" # Let the user override the test.
46152 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46153 for as_dir
in $PATH
46156 test -z "$as_dir" && as_dir
=.
46157 for ac_exec_ext
in '' $ac_executable_extensions; do
46158 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46159 ac_cv_prog_NM
="${ac_tool_prefix}nm"
46160 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46170 if test -n "$NM"; then
46171 { echo "$as_me:$LINENO: result: $NM" >&5
46172 echo "${ECHO_T}$NM" >&6; }
46174 { echo "$as_me:$LINENO: result: no" >&5
46175 echo "${ECHO_T}no" >&6; }
46180 if test -z "$ac_cv_prog_NM"; then
46182 # Extract the first word of "nm", so it can be a program name with args.
46183 set dummy nm
; ac_word
=$2
46184 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46185 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46186 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
46187 echo $ECHO_N "(cached) $ECHO_C" >&6
46189 if test -n "$ac_ct_NM"; then
46190 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
46192 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46193 for as_dir
in $PATH
46196 test -z "$as_dir" && as_dir
=.
46197 for ac_exec_ext
in '' $ac_executable_extensions; do
46198 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46199 ac_cv_prog_ac_ct_NM
="nm"
46200 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46209 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
46210 if test -n "$ac_ct_NM"; then
46211 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
46212 echo "${ECHO_T}$ac_ct_NM" >&6; }
46214 { echo "$as_me:$LINENO: result: no" >&5
46215 echo "${ECHO_T}no" >&6; }
46218 if test "x$ac_ct_NM" = x
; then
46221 case $cross_compiling:$ac_tool_warned in
46223 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46224 whose name does not start with the host triplet. If you think this
46225 configuration is useful to you, please write to autoconf@gnu.org." >&5
46226 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46227 whose name does not start with the host triplet. If you think this
46228 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46229 ac_tool_warned
=yes ;;
46234 NM
="$ac_cv_prog_NM"
46238 case ${BAKEFILE_HOST} in
46240 INSTALL_DIR
="mkdir -p"
46243 INSTALL_DIR
='$(INSTALL) -d'
46249 case ${BAKEFILE_HOST} in
46250 *-*-cygwin* | *-*-mingw32* )
46251 LDFLAGS_GUI
="-mwindows"
46257 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
46258 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
46259 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
46260 echo $ECHO_N "(cached) $ECHO_C" >&6
46263 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
46264 egrep -s GNU
> /dev
/null
); then
46265 bakefile_cv_prog_makeisgnu
="yes"
46267 bakefile_cv_prog_makeisgnu
="no"
46271 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
46272 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
46274 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
46291 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
46292 case "${BAKEFILE_HOST}" in
46299 *-pc-os2_emx | *-pc-os2-emx )
46309 powerpc
-apple-macos* )
46318 case "$BAKEFILE_FORCE_PLATFORM" in
46353 # Check whether --enable-omf was given.
46354 if test "${enable_omf+set}" = set; then
46355 enableval
=$enable_omf; bk_os2_use_omf
="$enableval"
46359 case "${BAKEFILE_HOST}" in
46361 if test "x$GCC" = "xyes"; then
46362 CFLAGS
="$CFLAGS -fno-common"
46363 CXXFLAGS
="$CXXFLAGS -fno-common"
46365 if test "x$XLCC" = "xyes"; then
46366 CFLAGS
="$CFLAGS -qnocommon"
46367 CXXFLAGS
="$CXXFLAGS -qnocommon"
46371 *-pc-os2_emx | *-pc-os2-emx )
46372 if test "x$bk_os2_use_omf" = "xyes" ; then
46375 LDFLAGS
="-Zomf $LDFLAGS"
46376 CFLAGS
="-Zomf $CFLAGS"
46377 CXXFLAGS
="-Zomf $CXXFLAGS"
46385 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
46391 SO_SUFFIX_MODULE
="so"
46396 DLLPREFIX_MODULE
=""
46400 case "${BAKEFILE_HOST}" in
46403 SO_SUFFIX_MODULE
="sl"
46407 SO_SUFFIX_MODULE
="a"
46411 SO_SUFFIX_MODULE
="dll"
46412 DLLIMP_SUFFIX
="dll.a"
46419 SO_SUFFIX_MODULE
="dll"
46420 DLLIMP_SUFFIX
="dll.a"
46430 *-pc-os2_emx | *-pc-os2-emx )
46432 SO_SUFFIX_MODULE
="dll"
46433 DLLIMP_SUFFIX
=$OS2_LIBEXT
46437 LIBEXT
=".$OS2_LIBEXT"
46442 SO_SUFFIX_MODULE
="bundle"
46446 if test "x$DLLIMP_SUFFIX" = "x" ; then
46447 DLLIMP_SUFFIX
="$SO_SUFFIX"
46462 if test "x$GCC" = "xyes"; then
46466 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
46467 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
46470 case "${BAKEFILE_HOST}" in
46472 if test "x$GCC" != "xyes"; then
46473 LDFLAGS
="$LDFLAGS -L/usr/lib"
46475 SHARED_LD_CC
="${CC} -b -o"
46476 SHARED_LD_CXX
="${CXX} -b -o"
46482 if test "x$GCC" != "xyes"; then
46483 { echo "$as_me:$LINENO: checking for Intel compiler" >&5
46484 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6; }
46485 if test "${bakefile_cv_prog_icc+set}" = set; then
46486 echo $ECHO_N "(cached) $ECHO_C" >&6
46489 cat >conftest.
$ac_ext <<_ACEOF
46492 cat confdefs.h
>>conftest.
$ac_ext
46493 cat >>conftest.
$ac_ext <<_ACEOF
46494 /* end confdefs.h. */
46500 #ifndef __INTEL_COMPILER
46508 rm -f conftest.
$ac_objext
46509 if { (ac_try
="$ac_compile"
46510 case "(($ac_try" in
46511 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46512 *) ac_try_echo=$ac_try;;
46514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46515 (eval "$ac_compile") 2>conftest.er1
46517 grep -v '^ *+' conftest.er1 >conftest.err
46519 cat conftest.err >&5
46520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46521 (exit $ac_status); } && {
46522 test -z "$ac_c_werror_flag" ||
46523 test ! -s conftest.err
46524 } && test -s conftest.$ac_objext; then
46525 bakefile_cv_prog_icc=yes
46527 echo "$as_me: failed program was:" >&5
46528 sed 's/^/| /' conftest.$ac_ext >&5
46530 bakefile_cv_prog_icc=no
46534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46537 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
46538 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6; }
46539 if test "$bakefile_cv_prog_icc" = "yes"; then
46546 if test "x$GCC" != xyes ; then
46547 SHARED_LD_CC="${CC} -G -o"
46548 SHARED_LD_CXX="${CXX} -G -o"
46556 cat <<EOF >shared-ld-sh
46558 #-----------------------------------------------------------------------------
46559 #-- Name: distrib/mac/shared-ld-sh
46560 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
46561 #-- Author: Gilles Depeyrot
46562 #-- Copyright: (c) 2002 Gilles Depeyrot
46563 #-- Licence: any use permitted
46564 #-----------------------------------------------------------------------------
46569 linking_flag="-dynamiclib"
46570 ldargs="-r -keep_private_externs -nostdlib"
46572 while test ${D}# -gt 0; do
46579 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
46580 # collect these options and values
46581 args="${D}{args} ${D}1 ${D}2"
46586 # collect these load args
46587 ldargs="${D}{ldargs} ${D}1"
46590 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
46591 # collect these options
46592 args="${D}{args} ${D}1"
46595 -dynamiclib|-bundle)
46596 linking_flag="${D}1"
46600 echo "shared-ld: unhandled option '${D}1'"
46604 *.o | *.a | *.dylib)
46605 # collect object files
46606 objects="${D}{objects} ${D}1"
46610 echo "shared-ld: unhandled argument '${D}1'"
46621 # Link one module containing all the others
46623 if test ${D}{verbose} = 1; then
46624 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
46626 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
46630 # Link the shared library from the single module created, but only if the
46631 # previous command didn't fail:
46633 if test ${D}{status} = 0; then
46634 if test ${D}{verbose} = 1; then
46635 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
46637 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
46642 # Remove intermediate module
46644 rm -f master.${D}${D}.o
46649 chmod +x shared-ld-sh
46651 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
46652 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
46655 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
46656 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
46657 if test "${bakefile_cv_gcc31+set}" = set; then
46658 echo $ECHO_N "(cached) $ECHO_C" >&6
46661 cat >conftest.$ac_ext <<_ACEOF
46664 cat confdefs.h >>conftest.$ac_ext
46665 cat >>conftest.$ac_ext <<_ACEOF
46666 /* end confdefs.h. */
46672 #if (__GNUC__ < 3) || \
46673 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
46681 rm -f conftest.$ac_objext
46682 if { (ac_try="$ac_compile"
46683 case "(($ac_try" in
46684 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46685 *) ac_try_echo
=$ac_try;;
46687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46688 (eval "$ac_compile") 2>conftest.er1
46690 grep -v '^ *+' conftest.er1
>conftest.err
46692 cat conftest.err
>&5
46693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46694 (exit $ac_status); } && {
46695 test -z "$ac_c_werror_flag" ||
46696 test ! -s conftest.err
46697 } && test -s conftest.
$ac_objext; then
46699 bakefile_cv_gcc31
=yes
46702 echo "$as_me: failed program was:" >&5
46703 sed 's/^/| /' conftest.
$ac_ext >&5
46706 bakefile_cv_gcc31
=no
46711 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46714 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
46715 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
46716 if test "$bakefile_cv_gcc31" = "no"; then
46717 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
46718 SHARED_LD_CXX
="$SHARED_LD_CC"
46720 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
46721 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
46724 if test "x$GCC" == "xyes"; then
46725 PIC_FLAG
="-dynamic -fPIC"
46727 if test "x$XLCC" = "xyes"; then
46728 PIC_FLAG
="-dynamic -DPIC"
46733 if test "x$GCC" = "xyes"; then
46736 case "${BAKEFILE_HOST}" in
46738 LD_EXPFULL
="-Wl,-bexpfull"
46742 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
46743 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
46745 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
46746 set dummy makeC
++SharedLib
; ac_word
=$2
46747 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46748 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46749 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
46750 echo $ECHO_N "(cached) $ECHO_C" >&6
46752 if test -n "$AIX_CXX_LD"; then
46753 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
46755 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46756 for as_dir
in $PATH
46759 test -z "$as_dir" && as_dir
=.
46760 for ac_exec_ext
in '' $ac_executable_extensions; do
46761 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46762 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
46763 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46770 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
46773 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
46774 if test -n "$AIX_CXX_LD"; then
46775 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
46776 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
46778 { echo "$as_me:$LINENO: result: no" >&5
46779 echo "${ECHO_T}no" >&6; }
46783 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
46784 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
46789 SHARED_LD_CC
="${LD} -nostart -o"
46790 SHARED_LD_CXX
="${LD} -nostart -o"
46794 if test "x$GCC" != "xyes"; then
46799 *-*-cygwin* | *-*-mingw32* )
46801 SHARED_LD_CC
="\$(CC) -shared -o"
46802 SHARED_LD_CXX
="\$(CXX) -shared -o"
46806 *-pc-os2_emx | *-pc-os2-emx )
46807 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46808 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46812 cat <<EOF >dllar.sh
46815 # dllar - a tool to build both a .dll and an .a file
46816 # from a set of object (.o) files for EMX/OS2.
46818 # Written by Andrew Zabolotny, bit@freya.etu.ru
46819 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
46821 # This script will accept a set of files on the command line.
46822 # All the public symbols from the .o files will be exported into
46823 # a .DEF file, then linker will be run (through gcc) against them to
46824 # build a shared library consisting of all given .o files. All libraries
46825 # (.a) will be first decompressed into component .o files then act as
46826 # described above. You can optionally give a description (-d "description")
46827 # which will be put into .DLL. To see the list of accepted options (as well
46828 # as command-line format) simply run this program without options. The .DLL
46829 # is built to be imported by name (there is no guarantee that new versions
46830 # of the library you build will have same ordinals for same symbols).
46832 # dllar is free software; you can redistribute it and/or modify
46833 # it under the terms of the GNU General Public License as published by
46834 # the Free Software Foundation; either version 2, or (at your option)
46835 # any later version.
46837 # dllar is distributed in the hope that it will be useful,
46838 # but WITHOUT ANY WARRANTY; without even the implied warranty of
46839 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
46840 # GNU General Public License for more details.
46842 # You should have received a copy of the GNU General Public License
46843 # along with dllar; see the file COPYING. If not, write to the Free
46844 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
46847 # To successfuly run this program you will need:
46848 # - Current drive should have LFN support (HPFS, ext2, network, etc)
46849 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
46851 # (used to build the .dll)
46853 # (used to create .def file from .o files)
46855 # (used to create .a file from .def file)
46856 # - GNU text utilites (cat, sort, uniq)
46857 # used to process emxexp output
46858 # - GNU file utilities (mv, rm)
46860 # - lxlite (optional, see flag below)
46861 # (used for general .dll cleanup)
46868 # basnam, variant of basename, which does _not_ remove the path, _iff_
46869 # second argument (suffix to remove) is given
46873 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
46876 echo ${D}1 | sed 's/'${D}2'${D}//'
46879 echo "error in basnam ${D}*"
46885 # Cleanup temporary files and output
46888 for i in ${D}inputFiles ; do
46891 rm -rf \`basnam ${D}i !\`
46898 # Kill result in case of failure as there is just to many stupid make/nmake
46899 # things out there which doesn't do this.
46900 if [ ${D}# -eq 0 ]; then
46901 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
46905 # Print usage and exit script with rc=1.
46907 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
46908 echo ' [-name-mangler-script script.sh]'
46909 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
46910 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
46911 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
46912 echo ' [*.o] [*.a]'
46913 echo '*> "output_file" should have no extension.'
46914 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
46915 echo ' The import library name is derived from this and is set to "name".a,'
46916 echo ' unless overridden by -import'
46917 echo '*> "importlib_name" should have no extension.'
46918 echo ' If it has the .o, or .a extension, it is automatically removed.'
46919 echo ' This name is used as the import library name and may be longer and'
46920 echo ' more descriptive than the DLL name which has to follow the old '
46921 echo ' 8.3 convention of FAT.'
46922 echo '*> "script.sh may be given to override the output_file name by a'
46923 echo ' different name. It is mainly useful if the regular make process'
46924 echo ' of some package does not take into account OS/2 restriction of'
46925 echo ' DLL name lengths. It takes the importlib name as input and is'
46926 echo ' supposed to procude a shorter name as output. The script should'
46927 echo ' expect to get importlib_name without extension and should produce'
46928 echo ' a (max.) 8 letter name without extension.'
46929 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
46930 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
46931 echo ' These flags will be put at the start of GCC command line.'
46932 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
46933 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
46934 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
46935 echo ' If the last character of a symbol is "*", all symbols beginning'
46936 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
46937 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
46938 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
46939 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
46940 echo ' C runtime DLLs.'
46941 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
46942 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
46943 echo ' unchanged to GCC at the end of command line.'
46944 echo '*> If you create a DLL from a library and you do not specify -o,'
46945 echo ' the basename for DLL and import library will be set to library name,'
46946 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
46947 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
46948 echo ' library will be renamed into gcc_s.a.'
46951 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
46952 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
46957 # Execute a command.
46958 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
46959 # @Uses Whatever CleanUp() uses.
46965 if [ ${D}rcCmd -ne 0 ]; then
46966 echo "command failed, exit code="${D}rcCmd
46981 CFLAGS="-s -Zcrtdll"
46983 EXPORT_BY_ORDINALS=0
46988 case ${D}curDirS in
46992 curDirS=${D}{curDirS}"/"
46995 # Parse commandline
46998 while [ ${D}1 ]; do
47001 EXPORT_BY_ORDINALS=1;
47011 -name-mangler-script)
47032 exclude_symbols=${D}{exclude_symbols}${D}1" "
47036 library_flags=${D}{library_flags}${D}1" "
47055 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47058 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
47059 if [ ${D}omfLinking -eq 1 ]; then
47060 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
47062 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
47067 if [ ${D}libsToLink -ne 0 ]; then
47068 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47070 for file in ${D}1 ; do
47071 if [ -f ${D}file ]; then
47072 inputFiles="${D}{inputFiles} ${D}file"
47076 if [ ${D}found -eq 0 ]; then
47077 echo "ERROR: No file(s) found: "${D}1
47084 done # iterate cmdline words
47087 if [ -z "${D}inputFiles" ]; then
47088 echo "dllar: no input files"
47092 # Now extract all .o files from .a files
47094 for file in ${D}inputFiles ; do
47105 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
47110 dirname=\`basnam ${D}file ${D}suffix\`"_%"
47112 if [ ${D}? -ne 0 ]; then
47113 echo "Failed to create subdirectory ./${D}dirname"
47117 # Append '!' to indicate archive
47118 newInputFiles="${D}newInputFiles ${D}{dirname}!"
47119 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
47122 for subfile in ${D}dirname/*.o* ; do
47123 if [ -f ${D}subfile ]; then
47125 if [ -s ${D}subfile ]; then
47126 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
47127 newInputFiles="${D}newInputFiles ${D}subfile"
47131 if [ ${D}found -eq 0 ]; then
47132 echo "WARNING: there are no files in archive \\'${D}file\\'"
47136 newInputFiles="${D}{newInputFiles} ${D}file"
47140 inputFiles="${D}newInputFiles"
47142 # Output filename(s).
47144 if [ -z ${D}outFile ]; then
47146 set outFile ${D}inputFiles; outFile=${D}2
47149 # If it is an archive, remove the '!' and the '_%' suffixes
47150 case ${D}outFile in
47152 outFile=\`basnam ${D}outFile _%!\`
47157 case ${D}outFile in
47159 outFile=\`basnam ${D}outFile .dll\`
47162 outFile=\`basnam ${D}outFile .DLL\`
47165 outFile=\`basnam ${D}outFile .o\`
47168 outFile=\`basnam ${D}outFile .obj\`
47171 outFile=\`basnam ${D}outFile .a\`
47174 outFile=\`basnam ${D}outFile .lib\`
47179 case ${D}outimpFile in
47181 outimpFile=\`basnam ${D}outimpFile .a\`
47184 outimpFile=\`basnam ${D}outimpFile .lib\`
47189 if [ -z ${D}outimpFile ]; then
47190 outimpFile=${D}outFile
47192 defFile="${D}{outFile}.def"
47193 arcFile="${D}{outimpFile}.a"
47194 arcFile2="${D}{outimpFile}.lib"
47196 #create ${D}dllFile as something matching 8.3 restrictions,
47197 if [ -z ${D}renameScript ] ; then
47198 dllFile="${D}outFile"
47200 dllFile=\`${D}renameScript ${D}outimpFile\`
47203 if [ ${D}do_backup -ne 0 ] ; then
47204 if [ -f ${D}arcFile ] ; then
47205 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
47207 if [ -f ${D}arcFile2 ] ; then
47208 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
47212 # Extract public symbols from all the object files.
47213 tmpdefFile=${D}{defFile}_%
47214 rm -f ${D}tmpdefFile
47215 for file in ${D}inputFiles ; do
47220 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
47225 # Create the def file.
47227 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
47228 dllFile="${D}{dllFile}.dll"
47229 if [ ! -z ${D}description ]; then
47230 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
47232 echo "EXPORTS" >> ${D}defFile
47234 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
47235 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
47237 # Checks if the export is ok or not.
47238 for word in ${D}exclude_symbols; do
47239 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
47240 mv ${D}{tmpdefFile}% ${D}tmpdefFile
47244 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47245 sed "=" < ${D}tmpdefFile | \\
47249 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
47251 ' > ${D}{tmpdefFile}%
47252 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
47254 rm -f ${D}{tmpdefFile}%
47256 cat ${D}tmpdefFile >> ${D}defFile
47257 rm -f ${D}tmpdefFile
47259 # Do linking, create implib, and apply lxlite.
47261 for file in ${D}inputFiles ; do
47266 gccCmdl="${D}gccCmdl ${D}file"
47270 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
47271 touch "${D}{outFile}.dll"
47273 doCommand "emximp -o ${D}arcFile ${D}defFile"
47274 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
47276 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47279 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
47281 doCommand "emxomf -s -l ${D}arcFile"
47291 powerpc
-apple-macos* | \
47292 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
47302 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
47303 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
47304 { (exit 1); exit 1; }; }
47307 if test "x$PIC_FLAG" != "x" ; then
47308 PIC_FLAG
="$PIC_FLAG -DPIC"
47311 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
47312 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
47314 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
47315 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
47334 case "${BAKEFILE_HOST}" in
47335 *-*-linux* | *-*-freebsd* | *-*-k*bsd
*-gnu )
47336 SONAME_FLAG
="-Wl,-soname,"
47370 # Check whether --enable-dependency-tracking was given.
47371 if test "${enable_dependency_tracking+set}" = set; then
47372 enableval
=$enable_dependency_tracking; bk_use_trackdeps
="$enableval"
47376 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
47377 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
47380 if test "x$bk_use_trackdeps" = "xno" ; then
47382 { echo "$as_me:$LINENO: result: disabled" >&5
47383 echo "${ECHO_T}disabled" >&6; }
47387 if test "x$GCC" = "xyes"; then
47389 case "${BAKEFILE_HOST}" in
47391 DEPSFLAG
="-no-cpp-precomp -MMD"
47397 { echo "$as_me:$LINENO: result: gcc" >&5
47398 echo "${ECHO_T}gcc" >&6; }
47399 elif test "x$MWCC" = "xyes"; then
47402 { echo "$as_me:$LINENO: result: mwcc" >&5
47403 echo "${ECHO_T}mwcc" >&6; }
47404 elif test "x$SUNCC" = "xyes"; then
47407 { echo "$as_me:$LINENO: result: Sun cc" >&5
47408 echo "${ECHO_T}Sun cc" >&6; }
47409 elif test "x$SGICC" = "xyes"; then
47412 { echo "$as_me:$LINENO: result: SGI cc" >&5
47413 echo "${ECHO_T}SGI cc" >&6; }
47414 elif test "x$HPCC" = "xyes"; then
47417 { echo "$as_me:$LINENO: result: HP cc" >&5
47418 echo "${ECHO_T}HP cc" >&6; }
47419 elif test "x$COMPAQCC" = "xyes"; then
47422 { echo "$as_me:$LINENO: result: Compaq cc" >&5
47423 echo "${ECHO_T}Compaq cc" >&6; }
47426 { echo "$as_me:$LINENO: result: none" >&5
47427 echo "${ECHO_T}none" >&6; }
47430 if test $DEPS_TRACKING = 1 ; then
47436 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47437 # script. It is used to track C/C++ files dependencies in portable way.
47439 # Permission is given to use this file in any way.
47441 DEPSMODE=${DEPSMODE}
47443 DEPSFLAG="${DEPSFLAG}"
47445 mkdir -p ${D}DEPSDIR
47447 if test ${D}DEPSMODE = gcc ; then
47448 ${D}* ${D}{DEPSFLAG}
47450 if test ${D}{status} != 0 ; then
47453 # move created file to the location we want it in:
47454 while test ${D}# -gt 0; do
47468 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
47469 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
47470 if test -f ${D}depfile ; then
47471 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47474 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
47475 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
47476 if test ! -f ${D}depfile ; then
47477 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
47478 depfile="${D}objfile.d"
47480 if test -f ${D}depfile ; then
47481 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47486 elif test ${D}DEPSMODE = mwcc ; then
47487 ${D}* || exit ${D}?
47488 # Run mwcc again with -MM and redirect into the dep file we want
47489 # NOTE: We can't use shift here because we need ${D}* to be valid
47491 for arg in ${D}* ; do
47492 if test "${D}prevarg" = "-o"; then
47505 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
47507 elif test ${D}DEPSMODE = unixcc; then
47508 ${D}* || exit ${D}?
47509 # Run compiler again with deps flag and redirect into the dep file.
47510 # It doesn't work if the '-o FILE' option is used, but without it the
47511 # dependency file will contain the wrong name for the object. So it is
47512 # removed from the command line, and the dep file is fixed with sed.
47514 while test ${D}# -gt 0; do
47521 eval arg${D}#=\\${D}1
47522 cmd="${D}cmd \\${D}arg${D}#"
47527 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
47536 BK_DEPS
="`pwd`/bk-deps"
47544 case ${BAKEFILE_HOST} in
47545 *-*-cygwin* | *-*-mingw32* )
47546 if test -n "$ac_tool_prefix"; then
47547 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
47548 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
47549 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47550 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47551 if test "${ac_cv_prog_WINDRES+set}" = set; then
47552 echo $ECHO_N "(cached) $ECHO_C" >&6
47554 if test -n "$WINDRES"; then
47555 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
47557 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47558 for as_dir
in $PATH
47561 test -z "$as_dir" && as_dir
=.
47562 for ac_exec_ext
in '' $ac_executable_extensions; do
47563 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47564 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
47565 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47574 WINDRES
=$ac_cv_prog_WINDRES
47575 if test -n "$WINDRES"; then
47576 { echo "$as_me:$LINENO: result: $WINDRES" >&5
47577 echo "${ECHO_T}$WINDRES" >&6; }
47579 { echo "$as_me:$LINENO: result: no" >&5
47580 echo "${ECHO_T}no" >&6; }
47585 if test -z "$ac_cv_prog_WINDRES"; then
47586 ac_ct_WINDRES
=$WINDRES
47587 # Extract the first word of "windres", so it can be a program name with args.
47588 set dummy windres
; ac_word
=$2
47589 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47590 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47591 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
47592 echo $ECHO_N "(cached) $ECHO_C" >&6
47594 if test -n "$ac_ct_WINDRES"; then
47595 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
47597 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47598 for as_dir
in $PATH
47601 test -z "$as_dir" && as_dir
=.
47602 for ac_exec_ext
in '' $ac_executable_extensions; do
47603 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47604 ac_cv_prog_ac_ct_WINDRES
="windres"
47605 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47614 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
47615 if test -n "$ac_ct_WINDRES"; then
47616 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
47617 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
47619 { echo "$as_me:$LINENO: result: no" >&5
47620 echo "${ECHO_T}no" >&6; }
47623 if test "x$ac_ct_WINDRES" = x
; then
47626 case $cross_compiling:$ac_tool_warned in
47628 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47629 whose name does not start with the host triplet. If you think this
47630 configuration is useful to you, please write to autoconf@gnu.org." >&5
47631 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47632 whose name does not start with the host triplet. If you think this
47633 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47634 ac_tool_warned
=yes ;;
47636 WINDRES
=$ac_ct_WINDRES
47639 WINDRES
="$ac_cv_prog_WINDRES"
47644 *-*-darwin* | powerpc
-apple-macos* )
47645 # Extract the first word of "Rez", so it can be a program name with args.
47646 set dummy Rez
; ac_word
=$2
47647 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47648 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47649 if test "${ac_cv_prog_REZ+set}" = set; then
47650 echo $ECHO_N "(cached) $ECHO_C" >&6
47652 if test -n "$REZ"; then
47653 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
47655 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47656 for as_dir
in $PATH
47659 test -z "$as_dir" && as_dir
=.
47660 for ac_exec_ext
in '' $ac_executable_extensions; do
47661 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47662 ac_cv_prog_REZ
="Rez"
47663 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47670 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
47673 REZ
=$ac_cv_prog_REZ
47674 if test -n "$REZ"; then
47675 { echo "$as_me:$LINENO: result: $REZ" >&5
47676 echo "${ECHO_T}$REZ" >&6; }
47678 { echo "$as_me:$LINENO: result: no" >&5
47679 echo "${ECHO_T}no" >&6; }
47683 # Extract the first word of "SetFile", so it can be a program name with args.
47684 set dummy SetFile
; ac_word
=$2
47685 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47686 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47687 if test "${ac_cv_prog_SETFILE+set}" = set; then
47688 echo $ECHO_N "(cached) $ECHO_C" >&6
47690 if test -n "$SETFILE"; then
47691 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
47693 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47694 for as_dir
in $PATH
47697 test -z "$as_dir" && as_dir
=.
47698 for ac_exec_ext
in '' $ac_executable_extensions; do
47699 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47700 ac_cv_prog_SETFILE
="SetFile"
47701 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47708 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
47711 SETFILE
=$ac_cv_prog_SETFILE
47712 if test -n "$SETFILE"; then
47713 { echo "$as_me:$LINENO: result: $SETFILE" >&5
47714 echo "${ECHO_T}$SETFILE" >&6; }
47716 { echo "$as_me:$LINENO: result: no" >&5
47717 echo "${ECHO_T}no" >&6; }
47729 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.2"
47732 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.2"
47736 # Check whether --enable-precomp-headers was given.
47737 if test "${enable_precomp_headers+set}" = set; then
47738 enableval
=$enable_precomp_headers; bk_use_pch
="$enableval"
47747 case ${BAKEFILE_HOST} in
47753 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
47754 if test "x$GCC" = "xyes"; then
47755 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
47756 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
47757 cat >conftest.
$ac_ext <<_ACEOF
47760 cat confdefs.h
>>conftest.
$ac_ext
47761 cat >>conftest.
$ac_ext <<_ACEOF
47762 /* end confdefs.h. */
47768 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
47769 There is no PCH support
47772 There is no PCH support
47774 #if (__GNUC__ == 3) && \
47775 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
47776 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
47777 ( defined(__INTEL_COMPILER) )
47778 There is no PCH support
47785 rm -f conftest.
$ac_objext
47786 if { (ac_try
="$ac_compile"
47787 case "(($ac_try" in
47788 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47789 *) ac_try_echo=$ac_try;;
47791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47792 (eval "$ac_compile") 2>conftest.er1
47794 grep -v '^ *+' conftest.er1 >conftest.err
47796 cat conftest.err >&5
47797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47798 (exit $ac_status); } && {
47799 test -z "$ac_c_werror_flag" ||
47800 test ! -s conftest.err
47801 } && test -s conftest.$ac_objext; then
47803 { echo "$as_me:$LINENO: result: yes" >&5
47804 echo "${ECHO_T}yes" >&6; }
47808 echo "$as_me: failed program was:" >&5
47809 sed 's/^/| /' conftest.$ac_ext >&5
47812 cat >conftest.$ac_ext <<_ACEOF
47815 cat confdefs.h >>conftest.$ac_ext
47816 cat >>conftest.$ac_ext <<_ACEOF
47817 /* end confdefs.h. */
47823 #if !defined(__INTEL_COMPILER) || \
47824 (__INTEL_COMPILER < 800)
47825 There is no PCH support
47832 rm -f conftest.$ac_objext
47833 if { (ac_try="$ac_compile"
47834 case "(($ac_try" in
47835 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47836 *) ac_try_echo
=$ac_try;;
47838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47839 (eval "$ac_compile") 2>conftest.er1
47841 grep -v '^ *+' conftest.er1
>conftest.err
47843 cat conftest.err
>&5
47844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47845 (exit $ac_status); } && {
47846 test -z "$ac_c_werror_flag" ||
47847 test ! -s conftest.err
47848 } && test -s conftest.
$ac_objext; then
47850 { echo "$as_me:$LINENO: result: yes" >&5
47851 echo "${ECHO_T}yes" >&6; }
47855 echo "$as_me: failed program was:" >&5
47856 sed 's/^/| /' conftest.
$ac_ext >&5
47859 { echo "$as_me:$LINENO: result: no" >&5
47860 echo "${ECHO_T}no" >&6; }
47864 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47868 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47869 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
47873 cat <<EOF >bk-make-pch
47876 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47877 # script. It is used to generated precompiled headers.
47879 # Permission is given to use this file in any way.
47889 while test ${D}{#} -gt 0; do
47893 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
47894 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
47895 headerfile="${D}{incdir}/${D}{header}"
47898 -use-pch|-use_pch )
47903 if test ${D}add_to_cmdline = 1 ; then
47904 compiler="${D}{compiler} ${D}{1}"
47909 if test "x${D}{headerfile}" = "x" ; then
47910 echo "error: can't find header ${D}{header} in include paths" >&2
47912 if test -f ${D}{outfile} ; then
47913 rm -f ${D}{outfile}
47915 mkdir -p \`dirname ${D}{outfile}\`
47917 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
47919 if test "x${GCC_PCH}" = "x1" ; then
47920 # can do this because gcc is >= 3.4:
47921 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
47922 elif test "x${ICC_PCH}" = "x1" ; then
47923 filename=pch_gen-${D}${D}
47924 file=${D}{filename}.c
47925 dfile=${D}{filename}.d
47926 cat > ${D}file <<EOT
47927 #include "${D}header"
47929 # using -MF icc complains about differing command lines in creation/use
47930 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
47931 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
47932 rm -f ${D}file ${D}dfile ${D}{filename}.o
47938 chmod +x bk
-make-pch
47939 BK_MAKE_PCH
="`pwd`/bk-make-pch"
47948 COND_BUILD_DEBUG
="#"
47949 if test "x$BUILD" = "xdebug" ; then
47950 COND_BUILD_DEBUG
=""
47953 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
47954 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
47955 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
47958 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
47959 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
47960 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
47963 COND_BUILD_DEBUG_UNICODE_0
="#"
47964 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
47965 COND_BUILD_DEBUG_UNICODE_0
=""
47968 COND_BUILD_DEBUG_UNICODE_1
="#"
47969 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
47970 COND_BUILD_DEBUG_UNICODE_1
=""
47973 COND_BUILD_RELEASE
="#"
47974 if test "x$BUILD" = "xrelease" ; then
47975 COND_BUILD_RELEASE
=""
47978 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
47979 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
47980 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
47983 COND_BUILD_RELEASE_UNICODE_0
="#"
47984 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
47985 COND_BUILD_RELEASE_UNICODE_0
=""
47988 COND_BUILD_RELEASE_UNICODE_1
="#"
47989 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
47990 COND_BUILD_RELEASE_UNICODE_1
=""
47993 COND_DEBUG_FLAG_1
="#"
47994 if test "x$DEBUG_FLAG" = "x1" ; then
47995 COND_DEBUG_FLAG_1
=""
47998 COND_DEBUG_INFO_0
="#"
47999 if test "x$DEBUG_INFO" = "x0" ; then
48000 COND_DEBUG_INFO_0
=""
48003 COND_DEBUG_INFO_1
="#"
48004 if test "x$DEBUG_INFO" = "x1" ; then
48005 COND_DEBUG_INFO_1
=""
48008 COND_DEPS_TRACKING_0
="#"
48009 if test "x$DEPS_TRACKING" = "x0" ; then
48010 COND_DEPS_TRACKING_0
=""
48013 COND_DEPS_TRACKING_1
="#"
48014 if test "x$DEPS_TRACKING" = "x1" ; then
48015 COND_DEPS_TRACKING_1
=""
48019 if test "x$GCC_PCH" = "x1" ; then
48024 if test "x$ICC_PCH" = "x1" ; then
48028 COND_MONOLITHIC_0
="#"
48029 if test "x$MONOLITHIC" = "x0" ; then
48030 COND_MONOLITHIC_0
=""
48033 COND_MONOLITHIC_0_SHARED_0
="#"
48034 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
48035 COND_MONOLITHIC_0_SHARED_0
=""
48038 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
48039 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
48040 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
48043 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
48044 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
48045 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
48048 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
48049 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48050 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
48053 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
48054 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48055 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
48058 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
48059 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48060 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
48063 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
48064 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48065 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
48068 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
48069 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
48070 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
48073 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
48074 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48075 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
48078 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
="#"
48079 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
48080 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
=""
48083 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
48084 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48085 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
48088 COND_MONOLITHIC_0_SHARED_1
="#"
48089 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
48090 COND_MONOLITHIC_0_SHARED_1
=""
48093 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
48094 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
48095 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
48098 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
48099 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
48100 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
48103 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
48104 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48105 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
48108 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
48109 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48110 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
48113 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
48114 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48115 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
48118 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
48119 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48120 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
48123 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
48124 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
48125 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
48128 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
48129 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
48130 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
48133 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
="#"
48134 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
48135 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
=""
48138 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
48139 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48140 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
48143 COND_MONOLITHIC_0_USE_AUI_1
="#"
48144 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
48145 COND_MONOLITHIC_0_USE_AUI_1
=""
48148 COND_MONOLITHIC_0_USE_GUI_1
="#"
48149 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
48150 COND_MONOLITHIC_0_USE_GUI_1
=""
48153 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
="#"
48154 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48155 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
=""
48158 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1
="#"
48159 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48160 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1
=""
48163 COND_MONOLITHIC_0_USE_HTML_1
="#"
48164 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
48165 COND_MONOLITHIC_0_USE_HTML_1
=""
48168 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
48169 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
48170 COND_MONOLITHIC_0_USE_MEDIA_1
=""
48173 COND_MONOLITHIC_0_USE_ODBC_1
="#"
48174 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
48175 COND_MONOLITHIC_0_USE_ODBC_1
=""
48178 COND_MONOLITHIC_0_USE_QA_1
="#"
48179 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
48180 COND_MONOLITHIC_0_USE_QA_1
=""
48183 COND_MONOLITHIC_0_USE_RICHTEXT_1
="#"
48184 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48185 COND_MONOLITHIC_0_USE_RICHTEXT_1
=""
48188 COND_MONOLITHIC_0_USE_STC_1
="#"
48189 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
48190 COND_MONOLITHIC_0_USE_STC_1
=""
48193 COND_MONOLITHIC_0_USE_XRC_1
="#"
48194 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
48195 COND_MONOLITHIC_0_USE_XRC_1
=""
48198 COND_MONOLITHIC_1
="#"
48199 if test "x$MONOLITHIC" = "x1" ; then
48200 COND_MONOLITHIC_1
=""
48203 COND_MONOLITHIC_1_SHARED_0
="#"
48204 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
48205 COND_MONOLITHIC_1_SHARED_0
=""
48208 COND_MONOLITHIC_1_SHARED_1
="#"
48209 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
48210 COND_MONOLITHIC_1_SHARED_1
=""
48213 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
48214 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
48215 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
48218 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
48219 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
48220 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
48223 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
48224 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48225 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
48228 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
48229 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48230 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
48233 COND_PLATFORM_MACOSX_1
="#"
48234 if test "x$PLATFORM_MACOSX" = "x1" ; then
48235 COND_PLATFORM_MACOSX_1
=""
48238 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
48239 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
48240 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
48243 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
48244 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
48245 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
48248 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
48249 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
48250 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
48253 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
48254 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
48255 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
48258 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
48259 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48260 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
48263 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
48264 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
48265 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
48268 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
48269 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
48270 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
48273 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
48274 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
48275 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
48278 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
48279 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48280 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
48283 COND_PLATFORM_MACOS_1
="#"
48284 if test "x$PLATFORM_MACOS" = "x1" ; then
48285 COND_PLATFORM_MACOS_1
=""
48288 COND_PLATFORM_MAC_1
="#"
48289 if test "x$PLATFORM_MAC" = "x1" ; then
48290 COND_PLATFORM_MAC_1
=""
48293 COND_PLATFORM_MSDOS_0
="#"
48294 if test "x$PLATFORM_MSDOS" = "x0" ; then
48295 COND_PLATFORM_MSDOS_0
=""
48298 COND_PLATFORM_MSDOS_1
="#"
48299 if test "x$PLATFORM_MSDOS" = "x1" ; then
48300 COND_PLATFORM_MSDOS_1
=""
48303 COND_PLATFORM_OS2_1
="#"
48304 if test "x$PLATFORM_OS2" = "x1" ; then
48305 COND_PLATFORM_OS2_1
=""
48308 COND_PLATFORM_UNIX_0
="#"
48309 if test "x$PLATFORM_UNIX" = "x0" ; then
48310 COND_PLATFORM_UNIX_0
=""
48313 COND_PLATFORM_UNIX_1
="#"
48314 if test "x$PLATFORM_UNIX" = "x1" ; then
48315 COND_PLATFORM_UNIX_1
=""
48318 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
="#"
48319 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
48320 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
=""
48323 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
="#"
48324 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
48325 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
=""
48328 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
48329 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
48330 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
48333 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
48334 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
48335 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
48338 COND_PLATFORM_WIN32_0
="#"
48339 if test "x$PLATFORM_WIN32" = "x0" ; then
48340 COND_PLATFORM_WIN32_0
=""
48343 COND_PLATFORM_WIN32_1
="#"
48344 if test "x$PLATFORM_WIN32" = "x1" ; then
48345 COND_PLATFORM_WIN32_1
=""
48349 if test "x$SHARED" = "x0" ; then
48353 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
48354 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
48355 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
48358 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
48359 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48360 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
48363 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
48364 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
48365 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
48368 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
48369 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48370 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
48373 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
48374 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48375 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
48378 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
48379 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48380 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
48383 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
48384 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48385 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
48388 COND_SHARED_0_USE_STC_1
="#"
48389 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
48390 COND_SHARED_0_USE_STC_1
=""
48393 COND_SHARED_0_USE_XRC_1
="#"
48394 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48395 COND_SHARED_0_USE_XRC_1
=""
48398 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
48399 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
48400 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
48403 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
48404 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
48405 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
48408 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
48409 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
48410 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
48413 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
48414 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
48415 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
48419 if test "x$SHARED" = "x1" ; then
48423 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
48424 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48425 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
48428 COND_SHARED_1_USE_XRC_1
="#"
48429 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48430 COND_SHARED_1_USE_XRC_1
=""
48434 if test "x$TOOLKIT" = "x" ; then
48438 COND_TOOLKIT_COCOA
="#"
48439 if test "x$TOOLKIT" = "xCOCOA" ; then
48440 COND_TOOLKIT_COCOA
=""
48443 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
48444 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
48445 COND_TOOLKIT_COCOA_USE_GUI_1
=""
48448 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
48449 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48450 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
48453 COND_TOOLKIT_DFB
="#"
48454 if test "x$TOOLKIT" = "xDFB" ; then
48455 COND_TOOLKIT_DFB
=""
48458 COND_TOOLKIT_DFB_USE_GUI_1
="#"
48459 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
48460 COND_TOOLKIT_DFB_USE_GUI_1
=""
48463 COND_TOOLKIT_GTK
="#"
48464 if test "x$TOOLKIT" = "xGTK" ; then
48465 COND_TOOLKIT_GTK
=""
48468 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
48469 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
48470 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
48473 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
48474 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
48475 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
48478 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
48479 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
48480 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
48483 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
48484 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48485 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
48488 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
48489 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
48490 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
48493 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
48494 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48495 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
48498 COND_TOOLKIT_GTK_USE_GUI_1
="#"
48499 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
48500 COND_TOOLKIT_GTK_USE_GUI_1
=""
48503 COND_TOOLKIT_MAC
="#"
48504 if test "x$TOOLKIT" = "xMAC" ; then
48505 COND_TOOLKIT_MAC
=""
48508 COND_TOOLKIT_MAC_USE_GUI_1
="#"
48509 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48510 COND_TOOLKIT_MAC_USE_GUI_1
=""
48513 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
48514 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48515 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
48518 COND_TOOLKIT_MGL
="#"
48519 if test "x$TOOLKIT" = "xMGL" ; then
48520 COND_TOOLKIT_MGL
=""
48523 COND_TOOLKIT_MGL_USE_GUI_1
="#"
48524 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
48525 COND_TOOLKIT_MGL_USE_GUI_1
=""
48528 COND_TOOLKIT_MOTIF
="#"
48529 if test "x$TOOLKIT" = "xMOTIF" ; then
48530 COND_TOOLKIT_MOTIF
=""
48533 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
48534 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
48535 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
48538 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
48539 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48540 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
48543 COND_TOOLKIT_MSW
="#"
48544 if test "x$TOOLKIT" = "xMSW" ; then
48545 COND_TOOLKIT_MSW
=""
48548 COND_TOOLKIT_MSW_USE_GUI_1
="#"
48549 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
48550 COND_TOOLKIT_MSW_USE_GUI_1
=""
48553 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
48554 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48555 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
48558 COND_TOOLKIT_MSW_WXUNIV_0
="#"
48559 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48560 COND_TOOLKIT_MSW_WXUNIV_0
=""
48563 COND_TOOLKIT_PM
="#"
48564 if test "x$TOOLKIT" = "xPM" ; then
48568 COND_TOOLKIT_PM_USE_GUI_1
="#"
48569 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
48570 COND_TOOLKIT_PM_USE_GUI_1
=""
48573 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
48574 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48575 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
48578 COND_TOOLKIT_WINCE
="#"
48579 if test "x$TOOLKIT" = "xWINCE" ; then
48580 COND_TOOLKIT_WINCE
=""
48583 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
48584 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
48585 COND_TOOLKIT_WINCE_USE_GUI_1
=""
48588 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
48589 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48590 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
48593 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
48594 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
48595 COND_TOOLKIT_WINCE_WXUNIV_0
=""
48598 COND_TOOLKIT_X11
="#"
48599 if test "x$TOOLKIT" = "xX11" ; then
48600 COND_TOOLKIT_X11
=""
48603 COND_TOOLKIT_X11_USE_GUI_1
="#"
48604 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
48605 COND_TOOLKIT_X11_USE_GUI_1
=""
48609 if test "x$UNICODE" = "x1" ; then
48613 COND_USE_EXCEPTIONS_0
="#"
48614 if test "x$USE_EXCEPTIONS" = "x0" ; then
48615 COND_USE_EXCEPTIONS_0
=""
48618 COND_USE_EXCEPTIONS_1
="#"
48619 if test "x$USE_EXCEPTIONS" = "x1" ; then
48620 COND_USE_EXCEPTIONS_1
=""
48624 if test "x$USE_GUI" = "x0" ; then
48629 if test "x$USE_GUI" = "x1" ; then
48633 COND_USE_GUI_1_USE_OPENGL_1
="#"
48634 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48635 COND_USE_GUI_1_USE_OPENGL_1
=""
48638 COND_USE_GUI_1_WXUNIV_0
="#"
48639 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48640 COND_USE_GUI_1_WXUNIV_0
=""
48643 COND_USE_GUI_1_WXUNIV_1
="#"
48644 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
48645 COND_USE_GUI_1_WXUNIV_1
=""
48648 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
48649 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48650 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
48653 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
48654 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48655 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
48658 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
48659 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48660 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
48663 COND_USE_ODBC_1
="#"
48664 if test "x$USE_ODBC" = "x1" ; then
48668 COND_USE_OPENGL_1
="#"
48669 if test "x$USE_OPENGL" = "x1" ; then
48670 COND_USE_OPENGL_1
=""
48674 if test "x$USE_PCH" = "x1" ; then
48678 COND_USE_PLUGINS_0
="#"
48679 if test "x$USE_PLUGINS" = "x0" ; then
48680 COND_USE_PLUGINS_0
=""
48683 COND_USE_RTTI_0
="#"
48684 if test "x$USE_RTTI" = "x0" ; then
48688 COND_USE_RTTI_1
="#"
48689 if test "x$USE_RTTI" = "x1" ; then
48693 COND_USE_SOSYMLINKS_1
="#"
48694 if test "x$USE_SOSYMLINKS" = "x1" ; then
48695 COND_USE_SOSYMLINKS_1
=""
48698 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
48699 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48700 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
48703 COND_USE_SOVERLINUX_1
="#"
48704 if test "x$USE_SOVERLINUX" = "x1" ; then
48705 COND_USE_SOVERLINUX_1
=""
48708 COND_USE_SOVERSION_0
="#"
48709 if test "x$USE_SOVERSION" = "x0" ; then
48710 COND_USE_SOVERSION_0
=""
48713 COND_USE_SOVERSOLARIS_1
="#"
48714 if test "x$USE_SOVERSOLARIS" = "x1" ; then
48715 COND_USE_SOVERSOLARIS_1
=""
48719 if test "x$USE_STC" = "x1" ; then
48723 COND_USE_THREADS_0
="#"
48724 if test "x$USE_THREADS" = "x0" ; then
48725 COND_USE_THREADS_0
=""
48728 COND_USE_THREADS_1
="#"
48729 if test "x$USE_THREADS" = "x1" ; then
48730 COND_USE_THREADS_1
=""
48734 if test "x$USE_XRC" = "x1" ; then
48738 COND_WINDOWS_IMPLIB_1
="#"
48739 if test "x$WINDOWS_IMPLIB" = "x1" ; then
48740 COND_WINDOWS_IMPLIB_1
=""
48743 COND_WITH_PLUGIN_SDL_1
="#"
48744 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
48745 COND_WITH_PLUGIN_SDL_1
=""
48749 if test "x$WXUNIV" = "x0" ; then
48754 if test "x$WXUNIV" = "x1" ; then
48758 COND_WXUSE_EXPAT_BUILTIN
="#"
48759 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
48760 COND_WXUSE_EXPAT_BUILTIN
=""
48763 COND_WXUSE_LIBJPEG_BUILTIN
="#"
48764 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48765 COND_WXUSE_LIBJPEG_BUILTIN
=""
48768 COND_WXUSE_LIBPNG_BUILTIN
="#"
48769 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48770 COND_WXUSE_LIBPNG_BUILTIN
=""
48773 COND_WXUSE_LIBTIFF_BUILTIN
="#"
48774 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48775 COND_WXUSE_LIBTIFF_BUILTIN
=""
48778 COND_WXUSE_ODBC_BUILTIN
="#"
48779 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
48780 COND_WXUSE_ODBC_BUILTIN
=""
48783 COND_WXUSE_REGEX_BUILTIN
="#"
48784 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
48785 COND_WXUSE_REGEX_BUILTIN
=""
48788 COND_WXUSE_ZLIB_BUILTIN
="#"
48789 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
48790 COND_WXUSE_ZLIB_BUILTIN
=""
48795 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
48796 { { 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
48797 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;}
48798 { (exit 1); exit 1; }; }
48801 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
48802 { { 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
48803 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;}
48804 { (exit 1); exit 1; }; }
48808 if test $GCC_PCH = 1
48810 if test "$wx_cv_gcc_pch_bug" = yes; then
48811 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
48812 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
48813 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
48814 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
48815 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
48816 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
48819 CPPFLAGS
="-DWX_PRECOMP $CPPFLAGS"
48823 if test "$wxUSE_MAC" = 1 ; then
48824 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
48825 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
48831 if test "$wxUSE_SHARED" = "yes"; then
48833 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
48834 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
48837 *-pc-os2_emx | *-pc-os2-emx )
48838 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48839 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48840 cp -p ${srcdir}/src
/os
2/dllnames.sh .
48841 cp -p ${srcdir}/src
/os
2/dllar.sh .
48846 EXE_LINKER
="$CXX -o"
48849 if test "$wxUSE_OMF" = "yes"; then
48851 *-pc-os2_emx | *-pc-os2-emx )
48852 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
48853 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
48854 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
48859 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
48861 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
48923 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
48924 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
48925 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
48926 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
48927 echo $ECHO_N "(cached) $ECHO_C" >&6
48929 cat >conftest.
make <<\_ACEOF
48932 @
echo '@@@%%%=$(MAKE)=@@@%%%'
48934 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
48935 case `${MAKE-make} -f conftest.make 2>/dev/null` in
48936 *@@@
%%%=?
*=@@@
%%%*)
48937 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
48939 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
48941 rm -f conftest.
make
48943 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
48944 { echo "$as_me:$LINENO: result: yes" >&5
48945 echo "${ECHO_T}yes" >&6; }
48948 { echo "$as_me:$LINENO: result: no" >&5
48949 echo "${ECHO_T}no" >&6; }
48950 SET_MAKE
="MAKE=${MAKE-make}"
48955 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
48958 if test "$USE_WIN32" = 1; then
48959 ac_config_commands
="$ac_config_commands
48965 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
48968 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
48971 if test "$wx_cv_version_script" = "yes"; then
48972 ac_config_files
="$ac_config_files version-script"
48975 ac_config_files
="$ac_config_files Makefile"
48978 ac_config_commands
="$ac_config_commands wx-config"
48982 if test "$wxWITH_SUBDIRS" != "no"; then
48983 if test "$wxUSE_GUI" = "yes"; then
48984 SUBDIRS
="samples demos utils"
48985 else SUBDIRS
="samples utils"
48990 # Check whether --with-cppunit-prefix was given.
48991 if test "${with_cppunit_prefix+set}" = set; then
48992 withval
=$with_cppunit_prefix; cppunit_config_prefix
="$withval"
48994 cppunit_config_prefix
=""
48998 # Check whether --with-cppunit-exec-prefix was given.
48999 if test "${with_cppunit_exec_prefix+set}" = set; then
49000 withval
=$with_cppunit_exec_prefix; cppunit_config_exec_prefix
="$withval"
49002 cppunit_config_exec_prefix
=""
49006 if test x
$cppunit_config_exec_prefix != x
; then
49007 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
49008 if test x
${CPPUNIT_CONFIG+set} != xset
; then
49009 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
49012 if test x
$cppunit_config_prefix != x
; then
49013 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
49014 if test x
${CPPUNIT_CONFIG+set} != xset
; then
49015 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
49019 # Extract the first word of "cppunit-config", so it can be a program name with args.
49020 set dummy cppunit
-config; ac_word
=$2
49021 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49022 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49023 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
49024 echo $ECHO_N "(cached) $ECHO_C" >&6
49026 case $CPPUNIT_CONFIG in
49028 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
49031 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49032 for as_dir
in $PATH
49035 test -z "$as_dir" && as_dir
=.
49036 for ac_exec_ext
in '' $ac_executable_extensions; do
49037 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49038 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
49039 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49046 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
49050 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
49051 if test -n "$CPPUNIT_CONFIG"; then
49052 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
49053 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
49055 { echo "$as_me:$LINENO: result: no" >&5
49056 echo "${ECHO_T}no" >&6; }
49060 cppunit_version_min
=1.8.0
49062 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
49063 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
49065 if test "$CPPUNIT_CONFIG" = "no" ; then
49066 { echo "$as_me:$LINENO: result: no" >&5
49067 echo "${ECHO_T}no" >&6; }
49070 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
49071 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
49072 cppunit_version
=`$CPPUNIT_CONFIG --version`
49074 cppunit_major_version
=`echo $cppunit_version | \
49075 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49076 cppunit_minor_version
=`echo $cppunit_version | \
49077 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49078 cppunit_micro_version
=`echo $cppunit_version | \
49079 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49081 cppunit_major_min
=`echo $cppunit_version_min | \
49082 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49083 cppunit_minor_min
=`echo $cppunit_version_min | \
49084 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49085 cppunit_micro_min
=`echo $cppunit_version_min | \
49086 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49088 cppunit_version_proper
=`expr \
49089 $cppunit_major_version \> $cppunit_major_min \| \
49090 $cppunit_major_version \= $cppunit_major_min \& \
49091 $cppunit_minor_version \> $cppunit_minor_min \| \
49092 $cppunit_major_version \= $cppunit_major_min \& \
49093 $cppunit_minor_version \= $cppunit_minor_min \& \
49094 $cppunit_micro_version \>= $cppunit_micro_min `
49096 if test "$cppunit_version_proper" = "1" ; then
49097 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
49098 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
49100 { echo "$as_me:$LINENO: result: no" >&5
49101 echo "${ECHO_T}no" >&6; }
49106 if test "x$no_cppunit" = x
; then
49107 SUBDIRS
="$SUBDIRS tests"
49118 for subdir
in `echo $SUBDIRS`; do
49119 if test -d ${srcdir}/${subdir} ; then
49120 if test "$wxUSE_GUI" = "yes"; then
49121 if test ${subdir} = "samples"; then
49122 makefiles
="samples/Makefile.in $makefiles"
49123 for sample
in `echo $SAMPLES_SUBDIRS`; do
49124 if test -d $srcdir/samples
/$sample; then
49125 makefiles
="samples/$sample/Makefile.in $makefiles"
49129 disabled_var
=DISABLED_
`echo $subdir | tr [a-z] [A-Z]`;
49130 eval "disabled=\$$disabled_var"
49131 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
49132 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
49134 else if test ${subdir} = "samples"; then
49135 makefiles
="samples/Makefile.in samples/console/Makefile.in"
49136 elif test ${subdir} = "utils"; then
49138 for util
in HelpGen tex2rtf
; do
49139 if test -d $srcdir/utils
/$util ; then
49140 makefiles
="utils/$util/Makefile.in \
49141 utils/$util/src/Makefile.in \
49145 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
49149 for mkin
in $makefiles ; do
49150 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
49151 ac_config_files
="$ac_config_files $mk"
49157 cat >confcache
<<\_ACEOF
49158 # This file is a shell script that caches the results of configure
49159 # tests run on this system so they can be shared between configure
49160 # scripts and configure runs, see configure's option --config-cache.
49161 # It is not useful on other systems. If it contains results you don't
49162 # want to keep, you may remove or edit it.
49164 # config.status only pays attention to the cache file if you give it
49165 # the --recheck option to rerun configure.
49167 # `ac_cv_env_foo' variables (set or unset) will be overridden when
49168 # loading this file, other *unset* `ac_cv_foo' will be assigned the
49169 # following values.
49173 # The following way of writing the cache mishandles newlines in values,
49174 # but we know of no workaround that is simple, portable, and efficient.
49175 # So, we kill variables containing newlines.
49176 # Ultrix sh set writes to stderr and can't be redirected directly,
49177 # and sets the high bit in the cache file unless we assign to the vars.
49179 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
49180 eval ac_val
=\$
$ac_var
49184 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
49185 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
49188 _
| IFS
| as_nl
) ;; #(
49189 *) $as_unset $ac_var ;;
49195 case $as_nl`(ac_space=' '; set) 2>&1` in #(
49196 *${as_nl}ac_space
=\
*)
49197 # `set' does not quote correctly, so add quotes (double-quote
49198 # substitution turns \\\\ into \\, and sed turns \\ into \).
49201 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
49204 # `set' quotes correctly as required by POSIX, so do not add quotes.
49205 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
49214 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
49216 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
49218 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
49219 if test -w "$cache_file"; then
49220 test "x$cache_file" != "x/dev/null" &&
49221 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
49222 echo "$as_me: updating cache $cache_file" >&6;}
49223 cat confcache
>$cache_file
49225 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
49226 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
49231 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
49232 # Let make expand exec_prefix.
49233 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
49235 DEFS
=-DHAVE_CONFIG_H
49239 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
49240 # 1. Remove the extension, and $U if already installed.
49241 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
49242 ac_i
=`echo "$ac_i" | sed "$ac_script"`
49243 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
49244 # will be set to the directory where LIBOBJS objects are built.
49245 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
49246 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
49248 LIBOBJS
=$ac_libobjs
49250 LTLIBOBJS
=$ac_ltlibobjs
49254 : ${CONFIG_STATUS=./config.status}
49255 ac_clean_files_save
=$ac_clean_files
49256 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
49257 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
49258 echo "$as_me: creating $CONFIG_STATUS" >&6;}
49259 cat >$CONFIG_STATUS <<_ACEOF
49261 # Generated by $as_me.
49262 # Run this file to recreate the current configuration.
49263 # Compiler output produced by configure, useful for debugging
49264 # configure, is in config.log if it exists.
49267 ac_cs_recheck=false
49269 SHELL=\${CONFIG_SHELL-$SHELL}
49272 cat >>$CONFIG_STATUS <<\_ACEOF
49273 ## --------------------- ##
49274 ## M4sh Initialization. ##
49275 ## --------------------- ##
49277 # Be more Bourne compatible
49278 DUALCASE
=1; export DUALCASE
# for MKS sh
49279 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
49282 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
49283 # is contrary to our usage. Disable this feature.
49284 alias -g '${1+"$@"}'='"$@"'
49285 setopt NO_GLOB_SUBST
49287 case `(set -o) 2>/dev/null` in
49288 *posix
*) set -o posix
;;
49297 # Avoid depending upon Character Ranges.
49298 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
49299 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
49300 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
49301 as_cr_digits
='0123456789'
49302 as_cr_alnum
=$as_cr_Letters$as_cr_digits
49304 # The user is always right.
49305 if test "${PATH_SEPARATOR+set}" != set; then
49306 echo "#! /bin/sh" >conf$$.sh
49307 echo "exit 0" >>conf$$.sh
49309 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
49317 # Support unset when possible.
49318 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
49326 # We need space, tab and new line, in precisely that order. Quoting is
49327 # there to prevent editors from complaining about space-tab.
49328 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
49329 # splitting by setting IFS to empty value.)
49334 # Find who we are. Look in the path if we contain no directory separator.
49336 *[\\/]* ) as_myself
=$0 ;;
49337 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49338 for as_dir
in $PATH
49341 test -z "$as_dir" && as_dir
=.
49342 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
49348 # We did not find ourselves, most probably we were run as `sh COMMAND'
49349 # in which case we are not to be found in the path.
49350 if test "x$as_myself" = x
; then
49353 if test ! -f "$as_myself"; then
49354 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
49355 { (exit 1); exit 1; }
49358 # Work around bugs in pre-3.0 UWIN ksh.
49359 for as_var
in ENV MAIL MAILPATH
49360 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
49368 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
49369 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
49370 LC_TELEPHONE LC_TIME
49372 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
49373 eval $as_var=C
; export $as_var
49375 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
49379 # Required to use basename.
49380 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
49381 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
49387 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
49388 as_basename
=basename
49394 # Name of the executable.
49395 as_me
=`$as_basename -- "$0" ||
49396 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
49397 X"$0" : 'X\(//\)$' \| \
49398 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
49400 sed '/^.*\/\([^/][^/]*\)\/*$/{
49419 as_lineno_1
=$LINENO
49420 as_lineno_2
=$LINENO
49421 test "x$as_lineno_1" != "x$as_lineno_2" &&
49422 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
49424 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
49425 # uniformly replaced by the line number. The first 'sed' inserts a
49426 # line-number line after each line using $LINENO; the second 'sed'
49427 # does the real work. The second script uses 'N' to pair each
49428 # line-number line with the line containing $LINENO, and appends
49429 # trailing '-' during substitution so that $LINENO is not a special
49430 # case at line end.
49431 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
49432 # scripts with optimization help from Paolo Bonzini. Blame Lee
49433 # E. McMahon (1931-1989) for sed's syntax. :-)
49445 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
49448 ' >$as_me.lineno
&&
49449 chmod +x
"$as_me.lineno" ||
49450 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
49451 { (exit 1); exit 1; }; }
49453 # Don't try to exec as it changes $[0], causing all sort of problems
49454 # (the dirname of $[0] is not the place where we might find the
49455 # original and so on. Autoconf is especially sensitive to this).
49456 .
"./$as_me.lineno"
49457 # Exit status is that of the last command.
49462 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
49468 ECHO_C
= ECHO_N
= ECHO_T
=
49469 case `echo -n x` in
49471 case `echo 'x\c'` in
49472 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
49479 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
49480 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
49486 rm -f conf$$ conf$$.exe conf$$.
file
49487 if test -d conf$$.dir
; then
49488 rm -f conf$$.dir
/conf$$.
file
49494 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
49496 # ... but there are two gotchas:
49497 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
49498 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
49499 # In both cases, we have to default to `cp -p'.
49500 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
49502 elif ln conf$$.
file conf$$
2>/dev
/null
; then
49507 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
49508 rmdir conf$$.dir
2>/dev
/null
49510 if mkdir -p .
2>/dev
/null
; then
49513 test -d .
/-p && rmdir .
/-p
49517 if test -x / >/dev
/null
2>&1; then
49518 as_test_x
='test -x'
49520 if ls -dL / >/dev
/null
2>&1; then
49527 if test -d "$1"; then
49533 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
49534 ???[sx]*):;;*)false;;esac;fi
49538 as_executable_p
=$as_test_x
49540 # Sed expression to map a string onto a valid CPP name.
49541 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
49543 # Sed expression to map a string onto a valid variable name.
49544 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
49549 # Save the log message, to keep $[0] and so on meaningful, and to
49550 # report actual input values of CONFIG_FILES etc. instead of their
49551 # values after options handling.
49553 This file was extended by wxWidgets $as_me 2.9.0, which was
49554 generated by GNU Autoconf 2.61. Invocation command line was
49556 CONFIG_FILES = $CONFIG_FILES
49557 CONFIG_HEADERS = $CONFIG_HEADERS
49558 CONFIG_LINKS = $CONFIG_LINKS
49559 CONFIG_COMMANDS = $CONFIG_COMMANDS
49562 on `(hostname || uname -n) 2>/dev/null | sed 1q`
49567 cat >>$CONFIG_STATUS <<_ACEOF
49568 # Files that config.status was made for.
49569 config_files="$ac_config_files"
49570 config_headers="$ac_config_headers"
49571 config_commands="$ac_config_commands"
49575 cat >>$CONFIG_STATUS <<\_ACEOF
49577 \`$as_me' instantiates files from templates according to the
49578 current configuration.
49580 Usage: $0 [OPTIONS] [FILE]...
49582 -h, --help print this help, then exit
49583 -V, --version print version number and configuration settings, then exit
49584 -q, --quiet do not print progress messages
49585 -d, --debug don't remove temporary files
49586 --recheck update $as_me by reconfiguring in the same conditions
49587 --file=FILE[:TEMPLATE]
49588 instantiate the configuration file FILE
49589 --header=FILE[:TEMPLATE]
49590 instantiate the configuration header FILE
49592 Configuration files:
49595 Configuration headers:
49598 Configuration commands:
49601 Report bugs to <bug-autoconf@gnu.org>."
49604 cat >>$CONFIG_STATUS <<_ACEOF
49606 wxWidgets config.status 2.9.0
49607 configured by $0, generated by GNU Autoconf 2.61,
49608 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
49610 Copyright (C) 2006 Free Software Foundation, Inc.
49611 This config.status script is free software; the Free Software Foundation
49612 gives unlimited permission to copy, distribute and modify it."
49619 cat >>$CONFIG_STATUS <<\_ACEOF
49620 # If no file are specified by the user, then we need to provide default
49621 # value. By we need to know if files were specified by the user.
49627 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
49628 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
49639 # Handling of the options.
49640 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
49642 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
49643 echo "$ac_cs_version"; exit ;;
49644 --debug | --debu | --deb | --de | --d | -d )
49646 --file | --fil | --fi | --f )
49648 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
49649 ac_need_defaults
=false
;;
49650 --header | --heade | --head | --hea )
49652 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
49653 ac_need_defaults
=false
;;
49655 # Conflict between --help and --header
49656 { echo "$as_me: error: ambiguous option: $1
49657 Try \`$0 --help' for more information." >&2
49658 { (exit 1); exit 1; }; };;
49659 --help | --hel | -h )
49660 echo "$ac_cs_usage"; exit ;;
49661 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
49662 | -silent | --silent | --silen | --sile | --sil | --si | --s)
49665 # This is an error.
49666 -*) { echo "$as_me: error: unrecognized option: $1
49667 Try \`$0 --help' for more information." >&2
49668 { (exit 1); exit 1; }; } ;;
49670 *) ac_config_targets
="$ac_config_targets $1"
49671 ac_need_defaults
=false
;;
49677 ac_configure_extra_args
=
49679 if $ac_cs_silent; then
49681 ac_configure_extra_args
="$ac_configure_extra_args --silent"
49685 cat >>$CONFIG_STATUS <<_ACEOF
49686 if \$ac_cs_recheck; then
49687 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
49688 CONFIG_SHELL=$SHELL
49689 export CONFIG_SHELL
49690 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
49694 cat >>$CONFIG_STATUS <<\_ACEOF
49698 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
49699 ## Running $as_me. ##
49705 cat >>$CONFIG_STATUS <<_ACEOF
49711 infile="$srcdir/include/wx/msw/genrcdefs.h"
49712 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
49715 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49716 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49717 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49723 cat >>$CONFIG_STATUS <<\_ACEOF
49725 # Handling of arguments.
49726 for ac_config_target
in $ac_config_targets
49728 case $ac_config_target in
49729 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
49730 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
49731 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
49732 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
49733 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
49734 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
49735 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
49736 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
49738 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
49739 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
49740 { (exit 1); exit 1; }; };;
49745 # If the user did not use the arguments to specify the items to instantiate,
49746 # then the envvar interface is used. Set only those that are not.
49747 # We use the long form for the default assignment because of an extremely
49748 # bizarre bug on SunOS 4.1.3.
49749 if $ac_need_defaults; then
49750 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
49751 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
49752 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
49755 # Have a temporary directory for convenience. Make it in the build tree
49756 # simply because there is no reason against having it here, and in addition,
49757 # creating and moving files from /tmp can sometimes cause problems.
49758 # Hook for its removal unless debugging.
49759 # Note that there is a small window in which the directory will not be cleaned:
49760 # after its creation but before its name has been assigned to `$tmp'.
49764 trap 'exit_status=$?
49765 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
49767 trap '{ (exit 1); exit 1; }' 1 2 13 15
49769 # Create a (secure) tmp directory for tmp files.
49772 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
49773 test -n "$tmp" && test -d "$tmp"
49776 tmp
=.
/conf$$
-$RANDOM
49777 (umask 077 && mkdir "$tmp")
49780 echo "$me: cannot create a temporary directory in ." >&2
49781 { (exit 1); exit 1; }
49785 # Set up the sed scripts for CONFIG_FILES section.
49788 # No need to generate the scripts if there are no CONFIG_FILES.
49789 # This happens for instance when ./config.status config.h
49790 if test -n "$CONFIG_FILES"; then
49797 for ac_last_try
in false false false false false
:; do
49798 cat >conf$
$subs.
sed <<_ACEOF
49799 SHELL!$SHELL$ac_delim
49800 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
49801 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
49802 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
49803 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
49804 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
49805 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
49806 exec_prefix!$exec_prefix$ac_delim
49807 prefix!$prefix$ac_delim
49808 program_transform_name!$program_transform_name$ac_delim
49809 bindir!$bindir$ac_delim
49810 sbindir!$sbindir$ac_delim
49811 libexecdir!$libexecdir$ac_delim
49812 datarootdir!$datarootdir$ac_delim
49813 datadir!$datadir$ac_delim
49814 sysconfdir!$sysconfdir$ac_delim
49815 sharedstatedir!$sharedstatedir$ac_delim
49816 localstatedir!$localstatedir$ac_delim
49817 includedir!$includedir$ac_delim
49818 oldincludedir!$oldincludedir$ac_delim
49819 docdir!$docdir$ac_delim
49820 infodir!$infodir$ac_delim
49821 htmldir!$htmldir$ac_delim
49822 dvidir!$dvidir$ac_delim
49823 pdfdir!$pdfdir$ac_delim
49824 psdir!$psdir$ac_delim
49825 libdir!$libdir$ac_delim
49826 localedir!$localedir$ac_delim
49827 mandir!$mandir$ac_delim
49828 DEFS!$DEFS$ac_delim
49829 ECHO_C!$ECHO_C$ac_delim
49830 ECHO_N!$ECHO_N$ac_delim
49831 ECHO_T!$ECHO_T$ac_delim
49832 LIBS!$LIBS$ac_delim
49833 build_alias!$build_alias$ac_delim
49834 host_alias!$host_alias$ac_delim
49835 target_alias!$target_alias$ac_delim
49836 build!$build$ac_delim
49837 build_cpu!$build_cpu$ac_delim
49838 build_vendor!$build_vendor$ac_delim
49839 build_os!$build_os$ac_delim
49840 host!$host$ac_delim
49841 host_cpu!$host_cpu$ac_delim
49842 host_vendor!$host_vendor$ac_delim
49843 host_os!$host_os$ac_delim
49844 target!$target$ac_delim
49845 target_cpu!$target_cpu$ac_delim
49846 target_vendor!$target_vendor$ac_delim
49847 target_os!$target_os$ac_delim
49848 wx_top_builddir!$wx_top_builddir$ac_delim
49850 CFLAGS!$CFLAGS$ac_delim
49851 LDFLAGS!$LDFLAGS$ac_delim
49852 CPPFLAGS!$CPPFLAGS$ac_delim
49853 ac_ct_CC!$ac_ct_CC$ac_delim
49854 EXEEXT!$EXEEXT$ac_delim
49855 OBJEXT!$OBJEXT$ac_delim
49857 GREP!$GREP$ac_delim
49858 EGREP!$EGREP$ac_delim
49860 CXXFLAGS!$CXXFLAGS$ac_delim
49861 ac_ct_CXX!$ac_ct_CXX$ac_delim
49862 RANLIB!$RANLIB$ac_delim
49864 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
49865 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
49866 INSTALL_DATA!$INSTALL_DATA$ac_delim
49867 STRIP!$STRIP$ac_delim
49868 WINDRES!$WINDRES$ac_delim
49869 DLLTOOL!$DLLTOOL$ac_delim
49870 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
49871 LN_S!$LN_S$ac_delim
49872 subdirs!$subdirs$ac_delim
49873 PKG_CONFIG!$PKG_CONFIG$ac_delim
49874 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
49875 GTK_LIBS!$GTK_LIBS$ac_delim
49876 GTK_CONFIG!$GTK_CONFIG$ac_delim
49877 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
49878 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
49879 XMKMF!$XMKMF$ac_delim
49880 X_CFLAGS!$X_CFLAGS$ac_delim
49881 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
49882 X_LIBS!$X_LIBS$ac_delim
49883 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
49884 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
49885 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
49886 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
49887 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
49888 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
49889 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
49891 DEREZ!$DEREZ$ac_delim
49892 SETFILE!$SETFILE$ac_delim
49893 LIBICONV!$LIBICONV$ac_delim
49894 SDL_CONFIG!$SDL_CONFIG$ac_delim
49895 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
49898 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
49900 elif $ac_last_try; then
49901 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
49902 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
49903 { (exit 1); exit 1; }; }
49905 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
49909 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
49910 if test -n "$ac_eof"; then
49911 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
49912 ac_eof
=`expr $ac_eof + 1`
49915 cat >>$CONFIG_STATUS <<_ACEOF
49916 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
49917 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
49920 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
49921 s/^/s,@/; s/!/@,|#_!!_#|/
49924 s/'"$ac_delim"'$/,g/; t
49926 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
49927 ' >>$CONFIG_STATUS <conf$
$subs.
sed
49928 rm -f conf$
$subs.
sed
49929 cat >>$CONFIG_STATUS <<_ACEOF
49935 for ac_last_try
in false false false false false
:; do
49936 cat >conf$
$subs.
sed <<_ACEOF
49937 SDL_LIBS!$SDL_LIBS$ac_delim
49938 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
49939 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
49940 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
49941 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
49942 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
49943 HILDON_LIBS!$HILDON_LIBS$ac_delim
49944 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
49945 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
49946 GST_CFLAGS!$GST_CFLAGS$ac_delim
49947 GST_LIBS!$GST_LIBS$ac_delim
49948 CORE_BASE_LIBS!$CORE_BASE_LIBS$ac_delim
49949 CORE_GUI_LIBS!$CORE_GUI_LIBS$ac_delim
49950 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
49951 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
49952 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
49953 wxUSE_ODBC!$wxUSE_ODBC$ac_delim
49954 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
49955 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
49956 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
49957 VENDOR!$VENDOR$ac_delim
49958 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
49959 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
49960 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
49961 WXUNIV!$WXUNIV$ac_delim
49962 MONOLITHIC!$MONOLITHIC$ac_delim
49963 USE_PLUGINS!$USE_PLUGINS$ac_delim
49964 CXXWARNINGS!$CXXWARNINGS$ac_delim
49965 EXTRALIBS!$EXTRALIBS$ac_delim
49966 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
49967 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
49968 EXTRALIBS_ODBC!$EXTRALIBS_ODBC$ac_delim
49969 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
49970 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
49971 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
49972 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
49973 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
49974 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
49975 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
49976 UNICODE!$UNICODE$ac_delim
49977 BUILD!$BUILD$ac_delim
49978 DEBUG_INFO!$DEBUG_INFO$ac_delim
49979 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
49980 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
49981 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
49982 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
49983 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
49984 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
49985 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
49986 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
49987 SET_MAKE!$SET_MAKE$ac_delim
49988 MAKE_SET!$MAKE_SET$ac_delim
49989 AROPTIONS!$AROPTIONS$ac_delim
49991 INSTALL_DIR!$INSTALL_DIR$ac_delim
49992 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
49993 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
49994 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
49995 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
49996 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
49997 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
49998 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
49999 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
50000 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
50001 SO_SUFFIX!$SO_SUFFIX$ac_delim
50002 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
50003 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
50004 LIBPREFIX!$LIBPREFIX$ac_delim
50005 LIBEXT!$LIBEXT$ac_delim
50006 DLLPREFIX!$DLLPREFIX$ac_delim
50007 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
50008 dlldir!$dlldir$ac_delim
50009 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
50010 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
50011 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
50012 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
50013 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
50014 PIC_FLAG!$PIC_FLAG$ac_delim
50015 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
50016 USE_SOVERSION!$USE_SOVERSION$ac_delim
50017 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
50018 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
50019 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
50020 USE_MACVERSION!$USE_MACVERSION$ac_delim
50021 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
50022 SONAME_FLAG!$SONAME_FLAG$ac_delim
50023 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
50024 BK_DEPS!$BK_DEPS$ac_delim
50025 GCC_PCH!$GCC_PCH$ac_delim
50026 ICC_PCH!$ICC_PCH$ac_delim
50027 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
50028 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
50029 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
50030 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
50031 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
50032 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
50033 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
50036 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50038 elif $ac_last_try; then
50039 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50040 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50041 { (exit 1); exit 1; }; }
50043 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
50047 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50048 if test -n "$ac_eof"; then
50049 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
50050 ac_eof
=`expr $ac_eof + 1`
50053 cat >>$CONFIG_STATUS <<_ACEOF
50054 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
50055 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50058 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50059 s/^/s,@/; s/!/@,|#_!!_#|/
50062 s/'"$ac_delim"'$/,g/; t
50064 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50065 ' >>$CONFIG_STATUS <conf$
$subs.
sed
50066 rm -f conf$
$subs.
sed
50067 cat >>$CONFIG_STATUS <<_ACEOF
50073 for ac_last_try
in false false false false false
:; do
50074 cat >conf$
$subs.
sed <<_ACEOF
50075 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
50076 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
50077 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
50078 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
50079 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
50080 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
50081 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
50082 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
50083 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
50084 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
50085 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
50086 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
50087 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
50088 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
50089 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
50090 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
50091 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1$ac_delim
50092 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
50093 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1$ac_delim
50094 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
50095 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
50096 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
50097 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
50098 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
50099 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
50100 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
50101 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
50102 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1$ac_delim
50103 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
50104 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1$ac_delim
50105 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
50106 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
50107 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
50108 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
50109 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
50110 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
50111 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1$ac_delim
50112 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
50113 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
50114 COND_MONOLITHIC_0_USE_ODBC_1!$COND_MONOLITHIC_0_USE_ODBC_1$ac_delim
50115 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
50116 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
50117 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
50118 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
50119 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
50120 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
50121 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
50122 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
50123 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
50124 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
50125 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
50126 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
50127 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
50128 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
50129 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
50130 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
50131 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
50132 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
50133 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
50134 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
50135 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
50136 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
50137 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
50138 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
50139 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
50140 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
50141 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
50142 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
50143 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
50144 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
50145 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
50146 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
50147 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
50148 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
50149 COND_SHARED_0!$COND_SHARED_0$ac_delim
50150 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
50151 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
50152 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
50153 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
50154 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
50155 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
50156 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
50157 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
50158 COND_SHARED_0_USE_XRC_1!$COND_SHARED_0_USE_XRC_1$ac_delim
50159 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
50160 COND_SHARED_0_WXUSE_ODBC_BUILTIN!$COND_SHARED_0_WXUSE_ODBC_BUILTIN$ac_delim
50161 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
50162 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
50163 COND_SHARED_1!$COND_SHARED_1$ac_delim
50164 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
50165 COND_SHARED_1_USE_XRC_1!$COND_SHARED_1_USE_XRC_1$ac_delim
50166 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
50167 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
50168 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
50169 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
50170 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
50171 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
50174 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50176 elif $ac_last_try; then
50177 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50178 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50179 { (exit 1); exit 1; }; }
50181 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
50185 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50186 if test -n "$ac_eof"; then
50187 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
50188 ac_eof
=`expr $ac_eof + 1`
50191 cat >>$CONFIG_STATUS <<_ACEOF
50192 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
50193 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50196 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50197 s/^/s,@/; s/!/@,|#_!!_#|/
50200 s/'"$ac_delim"'$/,g/; t
50202 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50203 ' >>$CONFIG_STATUS <conf$
$subs.
sed
50204 rm -f conf$
$subs.
sed
50205 cat >>$CONFIG_STATUS <<_ACEOF
50211 for ac_last_try
in false false false false false
:; do
50212 cat >conf$
$subs.
sed <<_ACEOF
50213 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
50214 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
50215 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
50216 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
50217 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
50218 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
50219 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
50220 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
50221 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
50222 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
50223 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
50224 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
50225 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
50226 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
50227 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
50228 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
50229 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
50230 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
50231 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
50232 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
50233 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
50234 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
50235 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
50236 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
50237 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
50238 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
50239 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
50240 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
50241 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
50242 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
50243 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
50244 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
50245 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
50246 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
50247 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
50248 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
50249 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
50250 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
50251 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
50252 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
50253 COND_USE_ODBC_1!$COND_USE_ODBC_1$ac_delim
50254 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
50255 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
50256 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
50257 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
50258 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
50259 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
50260 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
50261 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
50262 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
50263 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
50264 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
50265 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
50266 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
50267 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
50268 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
50269 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
50270 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
50271 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
50272 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
50273 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
50274 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
50275 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
50276 COND_WXUSE_ODBC_BUILTIN!$COND_WXUSE_ODBC_BUILTIN$ac_delim
50277 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
50278 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
50279 SHARED!$SHARED$ac_delim
50280 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
50281 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
50282 USE_GUI!$USE_GUI$ac_delim
50283 AFMINSTALL!$AFMINSTALL$ac_delim
50284 WIN32INSTALL!$WIN32INSTALL$ac_delim
50285 TOOLKIT!$TOOLKIT$ac_delim
50286 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
50287 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
50288 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
50289 cross_compiling!$cross_compiling$ac_delim
50290 WIDGET_SET!$WIDGET_SET$ac_delim
50291 WX_RELEASE!$WX_RELEASE$ac_delim
50292 WX_VERSION!$WX_VERSION$ac_delim
50293 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
50294 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
50295 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
50296 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
50297 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
50298 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
50299 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
50300 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
50301 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
50302 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
50303 EXE_LINKER!$EXE_LINKER$ac_delim
50304 GUIDIST!$GUIDIST$ac_delim
50305 DISTDIR!$DISTDIR$ac_delim
50306 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
50307 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
50308 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
50309 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
50312 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50314 elif $ac_last_try; then
50315 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50316 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50317 { (exit 1); exit 1; }; }
50319 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
50323 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50324 if test -n "$ac_eof"; then
50325 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
50326 ac_eof
=`expr $ac_eof + 1`
50329 cat >>$CONFIG_STATUS <<_ACEOF
50330 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
50331 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50334 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50335 s/^/s,@/; s/!/@,|#_!!_#|/
50338 s/'"$ac_delim"'$/,g/; t
50340 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50341 ' >>$CONFIG_STATUS <conf$
$subs.
sed
50342 rm -f conf$
$subs.
sed
50343 cat >>$CONFIG_STATUS <<_ACEOF
50349 for ac_last_try
in false false false false false
:; do
50350 cat >conf$
$subs.
sed <<_ACEOF
50351 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
50352 RESCOMP!$RESCOMP$ac_delim
50353 RESFLAGS!$RESFLAGS$ac_delim
50354 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
50355 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
50356 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
50357 LIBWXMACRES!$LIBWXMACRES$ac_delim
50358 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
50359 MACSETFILE!$MACSETFILE$ac_delim
50361 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
50362 LIBOBJS!$LIBOBJS$ac_delim
50363 LTLIBOBJS!$LTLIBOBJS$ac_delim
50366 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 13; then
50368 elif $ac_last_try; then
50369 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50370 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50371 { (exit 1); exit 1; }; }
50373 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
50377 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50378 if test -n "$ac_eof"; then
50379 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
50380 ac_eof
=`expr $ac_eof + 1`
50383 cat >>$CONFIG_STATUS <<_ACEOF
50384 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
50385 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
50388 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50389 s/^/s,@/; s/!/@,|#_!!_#|/
50392 s/'"$ac_delim"'$/,g/; t
50394 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50395 ' >>$CONFIG_STATUS <conf$
$subs.
sed
50396 rm -f conf$
$subs.
sed
50397 cat >>$CONFIG_STATUS <<_ACEOF
50404 # VPATH may cause trouble with some makes, so we remove $(srcdir),
50405 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
50406 # trailing colons and then remove the whole line if VPATH becomes empty
50407 # (actually we leave an empty line to preserve line numbers).
50408 if test "x$srcdir" = x.
; then
50409 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
50410 s/:*\$(srcdir):*/:/
50411 s/:*\${srcdir}:*/:/
50413 s/^\([^=]*=[ ]*\):*/\1/
50419 cat >>$CONFIG_STATUS <<\_ACEOF
50420 fi # test -n "$CONFIG_FILES"
50423 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
50426 :[FHLC
]) ac_mode
=$ac_tag; continue;;
50428 case $ac_mode$ac_tag in
50430 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
50431 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
50432 { (exit 1); exit 1; }; };;
50433 :[FH
]-) ac_tag
=-:-;;
50434 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
50451 -) ac_f
="$tmp/stdin";;
50452 *) # Look for the file first in the build tree, then in the source tree
50453 # (if the path is not absolute). The absolute path cannot be DOS-style,
50454 # because $ac_f cannot contain `:'.
50458 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
50460 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
50461 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
50462 { (exit 1); exit 1; }; };;
50464 ac_file_inputs
="$ac_file_inputs $ac_f"
50467 # Let's still pretend it is `configure' which instantiates (i.e., don't
50468 # use $as_me), people would be surprised to read:
50469 # /* config.h. Generated by config.status. */
50470 configure_input
="Generated from "`IFS=:
50471 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
50472 if test x
"$ac_file" != x
-; then
50473 configure_input
="$ac_file. $configure_input"
50474 { echo "$as_me:$LINENO: creating $ac_file" >&5
50475 echo "$as_me: creating $ac_file" >&6;}
50479 *:-:* | *:-) cat >"$tmp/stdin";;
50484 ac_dir
=`$as_dirname -- "$ac_file" ||
50485 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50486 X"$ac_file" : 'X\(//\)[^/]' \| \
50487 X"$ac_file" : 'X\(//\)$' \| \
50488 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
50490 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
50494 /^X\(\/\/\)[^/].*/{
50509 -*) as_dir
=.
/$as_dir;;
50511 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
50515 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
50516 *) as_qdir
=$as_dir;;
50518 as_dirs
="'$as_qdir' $as_dirs"
50519 as_dir
=`$as_dirname -- "$as_dir" ||
50520 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50521 X"$as_dir" : 'X\(//\)[^/]' \| \
50522 X"$as_dir" : 'X\(//\)$' \| \
50523 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
50525 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
50529 /^X\(\/\/\)[^/].*/{
50542 test -d "$as_dir" && break
50544 test -z "$as_dirs" || eval "mkdir $as_dirs"
50545 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
50546 echo "$as_me: error: cannot create directory $as_dir" >&2;}
50547 { (exit 1); exit 1; }; }; }
50551 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
50553 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50554 # A ".." for each directory in $ac_dir_suffix.
50555 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
50556 case $ac_top_builddir_sub in
50557 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
50558 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
50561 ac_abs_top_builddir
=$ac_pwd
50562 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
50563 # for backward compatibility:
50564 ac_top_builddir
=$ac_top_build_prefix
50567 .
) # We are building in place.
50569 ac_top_srcdir
=$ac_top_builddir_sub
50570 ac_abs_top_srcdir
=$ac_pwd ;;
50571 [\\/]* | ?
:[\\/]* ) # Absolute name.
50572 ac_srcdir
=$srcdir$ac_dir_suffix;
50573 ac_top_srcdir
=$srcdir
50574 ac_abs_top_srcdir
=$srcdir ;;
50575 *) # Relative name.
50576 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
50577 ac_top_srcdir
=$ac_top_build_prefix$srcdir
50578 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
50580 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
50590 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
50591 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
50595 cat >>$CONFIG_STATUS <<\_ACEOF
50596 # If the template does not know about datarootdir, expand it.
50597 # FIXME: This hack should be removed a few years after 2.60.
50598 ac_datarootdir_hack
=; ac_datarootdir_seen
=
50600 case `sed -n '/datarootdir/ {
50609 ' $ac_file_inputs` in
50610 *datarootdir
*) ac_datarootdir_seen
=yes;;
50611 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
50612 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
50613 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
50615 cat >>$CONFIG_STATUS <<_ACEOF
50616 ac_datarootdir_hack='
50617 s&@datadir@&$datadir&g
50618 s&@docdir@&$docdir&g
50619 s&@infodir@&$infodir&g
50620 s&@localedir@&$localedir&g
50621 s&@mandir@&$mandir&g
50622 s&\\\${datarootdir}&$datarootdir&g' ;;
50626 # Neutralize VPATH when `$srcdir' = `.'.
50627 # Shell code in configure.ac might set extrasub.
50628 # FIXME: do we really want to maintain this feature?
50629 cat >>$CONFIG_STATUS <<_ACEOF
50633 cat >>$CONFIG_STATUS <<\_ACEOF
50635 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
50636 s
&@configure_input@
&$configure_input&;t t
50637 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
50638 s
&@srcdir@
&$ac_srcdir&;t t
50639 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
50640 s
&@top_srcdir@
&$ac_top_srcdir&;t t
50641 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
50642 s
&@builddir@
&$ac_builddir&;t t
50643 s
&@abs_builddir@
&$ac_abs_builddir&;t t
50644 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
50645 s
&@INSTALL@
&$ac_INSTALL&;t t
50646 $ac_datarootdir_hack
50647 " $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
50649 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
50650 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
50651 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
50652 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
50653 which seems to be undefined. Please make sure it is defined." >&5
50654 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
50655 which seems to be undefined. Please make sure it is defined." >&2;}
50659 -) cat "$tmp/out"; rm -f "$tmp/out";;
50660 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
50669 # Transform confdefs.h into a sed script `conftest.defines', that
50670 # substitutes the proper values into config.h.in to produce config.h.
50671 rm -f conftest.defines conftest.
tail
50672 # First, append a space to every undef/define line, to ease matching.
50673 echo 's/$/ /' >conftest.defines
50674 # Then, protect against being on the right side of a sed subst, or in
50675 # an unquoted here document, in config.status. If some macros were
50676 # called several times there might be several #defines for the same
50677 # symbol, which is useless. But do not sort them, since the last
50678 # AC_DEFINE must be honored.
50679 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
50680 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
50681 # NAME is the cpp macro being defined, VALUE is the value it is being given.
50682 # PARAMS is the parameter list in the macro definition--in most cases, it's
50683 # just an empty string.
50684 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
50685 ac_dB
='\\)[ (].*,\\1define\\2'
50693 s/^[ ]*#[ ]*define[ ][ ]*//
50698 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
50699 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
50700 ' >>conftest.defines
50702 # Remove the space that was appended to ease matching.
50703 # Then replace #undef with comments. This is necessary, for
50704 # example, in the case of _POSIX_SOURCE, which is predefined and required
50705 # on some systems where configure will not decide to define it.
50706 # (The regexp can be short, since the line contains either #define or #undef.)
50708 s,^[ #]*u.*,/* & */,' >>conftest.defines
50710 # Break up conftest.defines:
50711 ac_max_sed_lines
=50
50713 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
50714 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
50715 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
50717 ac_in
='$ac_file_inputs'
50718 ac_out
='"$tmp/out1"'
50719 ac_nxt
='"$tmp/out2"'
50723 # Write a here document:
50724 cat >>$CONFIG_STATUS <<_ACEOF
50725 # First, check the format of the line:
50726 cat >"\$tmp/defines.sed" <<\\CEOF
50727 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
50728 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
50732 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
50734 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
50735 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
50736 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
50737 grep . conftest.
tail >/dev
/null
|| break
50738 rm -f conftest.defines
50739 mv conftest.
tail conftest.defines
50741 rm -f conftest.defines conftest.
tail
50743 echo "ac_result=$ac_in" >>$CONFIG_STATUS
50744 cat >>$CONFIG_STATUS <<\_ACEOF
50745 if test x
"$ac_file" != x
-; then
50746 echo "/* $configure_input */" >"$tmp/config.h"
50747 cat "$ac_result" >>"$tmp/config.h"
50748 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
50749 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
50750 echo "$as_me: $ac_file is unchanged" >&6;}
50753 mv "$tmp/config.h" $ac_file
50756 echo "/* $configure_input */"
50762 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
50763 echo "$as_me: executing $ac_file commands" >&6;}
50768 case $ac_file$ac_mode in
50770 mkdir -p $outdir &&
50771 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
50773 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
50774 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
50775 "wx-config":C
) rm -f wx
-config
50776 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
50783 { (exit 0); exit 0; }
50785 chmod +x
$CONFIG_STATUS
50786 ac_clean_files
=$ac_clean_files_save
50789 # configure is writing to config.log, and then calls config.status.
50790 # config.status does its own redirection, appending to config.log.
50791 # Unfortunately, on DOS this fails, as config.log is still kept open
50792 # by configure, so config.status won't be able to write to it; its
50793 # output is simply discarded. So we exec the FD to /dev/null,
50794 # effectively closing config.log, so it can be properly (re)opened and
50795 # appended to by config.status. When coming back to configure, we
50796 # need to make the FD available again.
50797 if test "$no_create" != yes; then
50799 ac_config_status_args
=
50800 test "$silent" = yes &&
50801 ac_config_status_args
="$ac_config_status_args --quiet"
50803 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
50805 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
50806 # would make configure fail if this is the last instruction.
50807 $ac_cs_success || { (exit 1); exit 1; }
50811 # CONFIG_SUBDIRS section.
50813 if test "$no_recursion" != yes; then
50815 # Remove --cache-file and --srcdir arguments so they do not pile up.
50816 ac_sub_configure_args
=
50818 eval "set x $ac_configure_args"
50822 if test -n "$ac_prev"; then
50827 -cache-file | --cache-file | --cache-fil | --cache-fi \
50828 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
50829 ac_prev
=cache_file
;;
50830 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
50831 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
50834 --config-cache | -C)
50836 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
50838 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
50840 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
50842 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
50846 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
50848 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
50852 # Always prepend --prefix to ensure using the same prefix
50853 # in subdir configurations.
50854 ac_arg
="--prefix=$prefix"
50856 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
50858 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
50861 if test "$silent" = yes; then
50862 ac_sub_configure_args
="--silent $ac_sub_configure_args"
50866 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
50868 # Do not complain, so a configure script can configure whichever
50869 # parts of a large source tree are present.
50870 test -d "$srcdir/$ac_dir" || continue
50872 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
50873 echo "$as_me:$LINENO: $ac_msg" >&5
50877 -*) as_dir
=.
/$as_dir;;
50879 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
50883 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
50884 *) as_qdir
=$as_dir;;
50886 as_dirs
="'$as_qdir' $as_dirs"
50887 as_dir
=`$as_dirname -- "$as_dir" ||
50888 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50889 X"$as_dir" : 'X\(//\)[^/]' \| \
50890 X"$as_dir" : 'X\(//\)$' \| \
50891 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
50893 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
50897 /^X\(\/\/\)[^/].*/{
50910 test -d "$as_dir" && break
50912 test -z "$as_dirs" || eval "mkdir $as_dirs"
50913 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
50914 echo "$as_me: error: cannot create directory $as_dir" >&2;}
50915 { (exit 1); exit 1; }; }; }
50919 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
50921 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50922 # A ".." for each directory in $ac_dir_suffix.
50923 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
50924 case $ac_top_builddir_sub in
50925 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
50926 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
50929 ac_abs_top_builddir
=$ac_pwd
50930 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
50931 # for backward compatibility:
50932 ac_top_builddir
=$ac_top_build_prefix
50935 .
) # We are building in place.
50937 ac_top_srcdir
=$ac_top_builddir_sub
50938 ac_abs_top_srcdir
=$ac_pwd ;;
50939 [\\/]* | ?
:[\\/]* ) # Absolute name.
50940 ac_srcdir
=$srcdir$ac_dir_suffix;
50941 ac_top_srcdir
=$srcdir
50942 ac_abs_top_srcdir
=$srcdir ;;
50943 *) # Relative name.
50944 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
50945 ac_top_srcdir
=$ac_top_build_prefix$srcdir
50946 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
50948 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
50953 # Check for guested configure; otherwise get Cygnus style configure.
50954 if test -f "$ac_srcdir/configure.gnu"; then
50955 ac_sub_configure
=$ac_srcdir/configure.gnu
50956 elif test -f "$ac_srcdir/configure"; then
50957 ac_sub_configure
=$ac_srcdir/configure
50958 elif test -f "$ac_srcdir/configure.in"; then
50959 # This should be Cygnus configure.
50960 ac_sub_configure
=$ac_aux_dir/configure
50962 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
50963 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
50967 # The recursion is here.
50968 if test -n "$ac_sub_configure"; then
50969 # Make the cache file name correct relative to the subdirectory.
50970 case $cache_file in
50971 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
50972 *) # Relative name.
50973 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
50976 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
50977 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
50978 # The eval makes quoting arguments work.
50979 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
50980 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
50981 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
50982 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
50983 { (exit 1); exit 1; }; }
50992 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
50994 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
50995 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
50997 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
50998 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
50999 echo -n " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}"
51000 if test "$wxUSE_UNICODE" = "yes"; then
51001 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
51002 echo " (using UTF-8)"
51004 echo " (using wchar_t)"
51010 echo " What level of wxWidgets compatibility should be enabled?"
51011 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
51012 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
51014 echo " Which libraries should wxWidgets use?"
51015 echo " jpeg ${wxUSE_LIBJPEG-none}"
51016 echo " png ${wxUSE_LIBPNG-none}"
51017 echo " regex ${wxUSE_REGEX}"
51018 echo " tiff ${wxUSE_LIBTIFF-none}"
51019 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
51020 echo " xpm ${wxUSE_LIBXPM-none}"
51022 echo " zlib ${wxUSE_ZLIB}"
51023 echo " odbc ${wxUSE_ODBC}"
51024 echo " expat ${wxUSE_EXPAT}"
51025 echo " libmspack ${wxUSE_LIBMSPACK}"
51026 echo " sdl ${wxUSE_LIBSDL}"